body,.sidebar,.topbar { background:var(--wash); }
.sidebar { padding-top:4px; }
.brand { min-height:72px; display:grid; grid-template-columns:32px 1fr; column-gap:10px; row-gap:1px; align-content:center; align-items:center; justify-content:start; padding:0 14px 0 19px; color:var(--ink); }
.brand::before { content:"DI"; grid-row:1/3; display:grid; place-items:center; border-radius:9px; width:32px; height:32px; background:#213e68; color:#fff; font:600 14px Inter,sans-serif; letter-spacing:-1px; }
.brand-wordmark { font-size:14px; font-weight:600; letter-spacing:-.035em; }
.brand small { color:var(--muted); font-size:11px; }
.nav { padding:14px 11px; }
.nav-item { color:var(--muted); font-size:13px; min-height:40px; border-radius:24px; padding-inline:16px; font-weight:480; }
.nav-item .icon,.nav-item[aria-current="page"] .icon { color:inherit; }
.nav-item[aria-current="page"] { background:var(--accent-fill); color:var(--accent-ink); box-shadow:none; font-weight:600; }
.nav-item:hover,.nav-item:focus-visible { background:var(--surface-hover); color:var(--accent-ink); }
.nav-heading { margin:30px 16px 8px; text-transform:none; letter-spacing:0; font-size:12px; font-weight:600; color:var(--muted); }
.project-dot,.project-nav:nth-of-type(n) .project-dot { background:var(--project-dot); width:8px; height:8px; border-radius:50%; margin-left:5px; }
.sidebar-profile { border-color:var(--line); }
.sidebar-profile strong,.sidebar-profile small { color:var(--muted); }
.sidebar a:focus-visible,.entry .btn:focus-visible { outline-color:var(--focus); }
.avatar-you { background:var(--good-soft); color:var(--good); }
.topbar { height:68px; border:0; padding:0 24px 0 18px; justify-content:flex-start; }
.global-search { order:-1; width:min(600px,65%); max-width:none; min-height:46px; padding:0 18px; border-radius:30px; background:var(--search-surface); border:0; font-size:14px; color:var(--muted); }
.global-search:hover { background:var(--surface-hover); }
.global-search kbd { background:transparent; color:var(--muted); }
.topbar-left { margin-left:auto; }
.breadcrumbs { font-size:12px; }
#main { min-height:calc(100dvh - 81px); margin:0 14px 13px 0; background:var(--surface); border-radius:20px; }
.content { padding:28px clamp(18px,2.6vw,42px) 54px; }
h1,h2,h3,.desk-titlebar h1,.page-heading h1,.explorer-mast h1,.desk-section-head h2,.workspace-dialog-header h2,.folder-toolbar h2,.section-label {
  font-family:Inter,Arial,sans-serif; color:var(--ink); font-weight:500; letter-spacing:-.032em;
}
.desk-titlebar h1,.page-heading h1,.explorer-mast h1 { font-size:clamp(27px,2.6vw,38px); line-height:1.15; }
.desk-titlebar { border:0; padding-bottom:6px; }
.desk-titlebar > div:first-child { align-items:baseline; gap:10px 14px; }
.desk-section-head h2,.section-label,.task-section h2,.plan-toolbar h2,.milestones h2,.plan-overview h2,.search-tasks h2 { font:500 19px/1.4 Inter,sans-serif; letter-spacing:-.025em; margin:0; }
.desk-section-head { margin-bottom:10px; }
.desk-date,.follow-evidence,.follow-source,.plan-empty { color:var(--muted); }
.btn,.workspace-actions .btn,.desk-titlebar .btn { border-radius:22px; font-size:13px; font-weight:550; min-height:36px; padding-inline:14px; }
.btn-primary,.desk-titlebar .my-work-new,.desk-search-submit { background:var(--accent); border-color:var(--accent); color:var(--on-accent); }
.btn-primary:hover,.desk-titlebar .my-work-new:hover,.desk-search-submit:hover { background:var(--accent-hover); border-color:var(--accent-hover); }
.btn-secondary,.desk-titlebar .my-work-secondary { color:var(--accent-ink); background:var(--surface); border-color:var(--control-line); }
.btn-secondary:hover { background:var(--accent-tint); }
.desk-link,.desk-create,.project-back,.folder-link-copy,.review-action,.queue-undo { color:var(--accent-ink); }
.work-desk { grid-template-columns:minmax(0,2.3fr) minmax(195px,1fr); gap:clamp(20px,3vw,50px); margin-top:22px; }
.home-main { min-width:0; }
.home-assignments { margin-bottom:28px; }
#assigned-work { border-block:1px solid var(--line); }
.desk-shelf { padding-top:3px; }
#home-projects .jacket-grid { border:0; border-radius:0; }
#home-projects .jacket-grid .project-jacket,.jacket-grid .project-jacket { border:0; background:var(--surface-soft); border-radius:9px; padding:9px 12px; min-height:44px; box-shadow:none; }
#home-projects .jacket-grid { gap:5px; }
#home-projects .project-jacket:nth-child(n) .project-icon,.jacket-grid .project-jacket:nth-child(n) .project-icon,.folder-shape { background:transparent; color:var(--muted); }
.recents-list,.desk-shelf .status-panel { border:0; background:var(--surface-soft); border-radius:10px; }
#follow-ups { border:1px solid var(--line); border-radius:14px; box-shadow:none; background:var(--surface); overflow:hidden; }
.queue-toolbar,.queue-track,.queue-stepper { background:var(--wash); }
.queue-filter,.queue-focus-toggle,.queue-step { border-radius:18px; font-weight:520; }
.queue-filter[aria-pressed=true],.queue-focus-toggle[aria-pressed=true] { background:var(--accent-fill); color:var(--accent-ink); border-color:var(--accent-line); }
.queue-track { border-color:var(--line); }
.queue-segment[aria-pressed=true] { background:var(--accent-tint); box-shadow:none; }
.queue-list .queue-lead,.queue-list .follow-row { background:var(--surface); color:var(--ink); padding:16px 18px; min-height:0; }
.queue-list .queue-lead { background:var(--accent-tint); gap:8px; }
.queue-lead::before,.queue-lead .lead-signal { display:none; }
.queue-lead .follow-copy { padding:0; }
.queue-lead .follow-title,.follow-title { font:550 15px/1.4 Inter,sans-serif; letter-spacing:-.015em; color:var(--ink); }
.queue-lead .follow-title { font-size:19px; }
.queue-lead .follow-source,.queue-lead .follow-evidence { color:var(--muted); }
.queue-lead .follow-source a,.queue-lead .review-action,.follow-source a { color:var(--accent-ink); }
.queue-lead[data-state] .follow-state { color:var(--accent-ink); }
.queue-lead .queue-row-actions .btn-secondary,.queue-row-actions .btn-secondary { background:var(--surface); color:var(--accent-ink); border:1px solid var(--control-line); border-radius:20px; font-weight:550; }
.queue-lead .queue-row-actions .btn-secondary:hover { background:var(--accent-fill); }
.queue-row-actions { gap:4px; }
.track-action { color:var(--accent-ink); background:transparent; border:0; min-height:32px; font-weight:550; }
.queue-lead :focus-visible { outline-color:var(--focus); }
.review-action,.queue-lead .review-action { color:var(--muted); }
.project-tabs { display:flex; gap:25px; border-bottom:1px solid var(--line); margin-bottom:20px; }
.project-tabs a,.library-tabs a { padding:11px 4px; color:var(--muted); font-size:14px; font-weight:500; }
.project-tabs a[aria-current],.library-tabs a[aria-current] { box-shadow:inset 0 -3px var(--accent); color:var(--accent); }
.library-tabs { border:0; gap:10px; }
.library-tabs a { font-size:12px; background:var(--surface-soft); border-radius:10px; padding:8px 12px; }
.library-tabs a[aria-current] { box-shadow:inset 0 0 0 1px var(--accent-line); background:var(--accent-fill); }
.plan-overview { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:15px; padding:17px 21px; background:var(--accent-tint); border-radius:14px; margin-bottom:23px; }
.plan-overview p { margin:5px 0; color:var(--ink); overflow-wrap:anywhere; }
.plan-overview small,.portfolio-row small,.task-row small { font-size:12px; color:var(--muted); }
.plan-overview progress { accent-color:var(--accent); width:min(140px,100%); height:6px; }
.plan-toolbar { display:flex; align-items:center; justify-content:space-between; gap:9px 14px; flex-wrap:wrap; margin:13px 0 8px; }
.plan-toolbar h3,.file-choices h3 { margin:0; font:550 16px Inter,sans-serif; }
.view-switch { display:inline-flex; border:1px solid var(--control-line); border-radius:22px; overflow:hidden; }
.view-switch .btn { border:0; border-radius:0; background:var(--surface); min-height:32px; }
.view-switch .btn[aria-pressed=true] { background:var(--accent-fill); color:var(--accent-ink); }
.view-switch :focus-visible { outline-offset:-3px; }
.task-row,.portfolio-row { display:flex; align-items:center; gap:12px; min-height:54px; padding:8px 10px; border-bottom:1px solid var(--line); color:var(--ink); }
.task-row:hover,.portfolio-row:hover,.linked-file:hover { background:var(--surface-hover); }
.task-copy,.portfolio-row > span:nth-child(2) { display:grid; gap:3px; flex:1; min-width:0; overflow-wrap:anywhere; }
.task-row strong,.portfolio-row strong { font-size:14px; font-weight:550; }
.task-symbol { display:grid; place-items:center; color:var(--muted); }
.task-symbol.done { color:var(--good); } .task-symbol.review { color:var(--attention); }
.task-date,.portfolio-summary { color:var(--muted); font-size:12px; }
.plan-empty { margin:0; padding:12px 8px; font-size:13px; line-height:1.5; }
.milestones,.task-section { margin:20px 0; }
.task-board { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.board-lane { padding:12px; background:var(--surface-soft); border-radius:12px; min-width:0; }
.board-lane h3 { font:550 14px Inter,sans-serif; margin-bottom:10px; }
.board-lane h3 small { font-size:12px; margin-left:3px; color:var(--muted); }
.board-lane .task-row { border-radius:8px; border:1px solid var(--line); background:var(--surface); align-items:flex-start; flex-wrap:wrap; margin-bottom:6px; }
.board-lane .task-symbol .icon { font-size:16px; }
.task-properties { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:9px 24px; font-size:14px; }
.task-properties dt,.form-context,.task-type { color:var(--muted); }
.task-properties dd { margin:0; overflow-wrap:anywhere; }
.task-type { font-size:12px; margin:12px 0 3px; }
.task-section,.task-personal,#file-work { border-top:1px solid var(--line); padding-top:10px; }
.task-personal,.file-choices,.task-sources { display:flex; gap:8px; flex-wrap:wrap; }
.task-modal-body { padding:0 20px 20px; }
.task-modal-body .workspace-form { padding:0; }
.form-context { font-size:13px; line-height:1.5; }
.task-modal-body > .workspace-actions,.file-choices,.task-modal-body > .workspace-field { margin-top:14px; }
.dependency-picks { border:1px solid var(--line); border-radius:8px; padding:8px 12px; display:grid; gap:5px; max-height:145px; overflow:auto; }
.dependency-picks label { display:flex; gap:8px; align-items:center; min-height:27px; }
.linked-file { display:block; padding:10px 12px; border:0; background:var(--accent-tint); color:var(--accent-ink); border-radius:8px; font:inherit; margin:4px 0; overflow-wrap:anywhere; max-width:100%; }
.linked-file:disabled { opacity:1; color:var(--muted); }
.work-dialog,.file-dialog { border:0; border-radius:20px; box-shadow:0 8px 35px #26354932; }
.entry { background:var(--wash); color:var(--ink); }
.entry-shell { background:var(--surface); border:0; border-radius:24px; }
.entry h1 { font:500 clamp(36px,6vw,60px)/1.1 Inter,sans-serif; color:var(--ink); }
.entry .btn { border-color:var(--accent); background:var(--accent); color:var(--on-accent); }
.entry .btn:hover { background:var(--accent-hover); }
@media (max-width:1050px) {
  .work-desk { grid-template-columns:minmax(0,1.75fr) minmax(175px,.8fr); gap:19px; }
  .task-board { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:720px) {
  .topbar { height:59px; gap:11px; justify-content:flex-start; padding:0 12px; }
  .topbar-left { margin:0; order:-2; } .breadcrumbs { display:none; }
  .global-search { width:auto; flex:1; max-width:none; min-height:42px; }
  .global-search-label { display:inline; }
  #main { margin:0; border-radius:16px 16px 0 0; min-height:calc(100dvh - 59px); }
  .content { padding:20px 15px 40px; }
  .work-desk { display:flex; flex-direction:column; align-items:stretch; }
  .desk-shelf { display:grid; grid-template-columns:1fr; }
  .sidebar-close { color:var(--muted); }
  .btn,.track-action,.view-switch .btn { min-height:40px; }
  .queue-lead .follow-copy { padding:0; }
  .queue-list .queue-lead,.queue-list .follow-row { padding:12px; }
  .queue-list .queue-row-actions { display:flex; align-items:center; justify-content:flex-start; flex-wrap:wrap; }
  .desk-titlebar { gap:11px; }
  .task-modal-body { padding:0 14px 16px; }
  .task-board { grid-template-columns:1fr; }
  .portfolio-summary { display:none; }
  .desk-mail,.home-assignments,.desk-shelf { min-width:0; }
}
.project-start { display:flex; flex-wrap:wrap; gap:10px 22px; margin:0; border:1px solid var(--line); border-radius:10px; padding:10px 12px; }
.project-start legend,.dependency-picks legend { font-size:12px; font-weight:600; }
.context-editor { margin:14px 0; padding:12px; background:var(--surface-soft); border-radius:10px; }
.workspace-field textarea,.draft-task > input { font:inherit; padding:10px; width:100%; border:1px solid var(--control-line); border-radius:8px; color:var(--ink); background:var(--surface); }
.workspace-field textarea { resize:vertical; }
.source-query { margin-top:10px; }
.source-query .btn { margin-top:7px; }
.source-choice { display:block; width:100%; min-height:38px; border:0; border-bottom:1px solid var(--line); background:var(--surface); text-align:left; padding:7px 10px; }
.source-choice:hover { background:var(--surface-hover); }
.source-matches { max-height:190px; overflow:auto; }
.source-matches:not(:empty) { margin-top:8px; }
.picked-sources { padding:0; list-style:none; }
.picked-sources li { display:flex; justify-content:space-between; gap:12px; align-items:center; padding:6px; border-bottom:1px solid var(--line); }
.picked-sources span,.source-note,.draft-task small { overflow-wrap:anywhere; }
.source-note { white-space:pre-wrap; color:var(--muted); padding:9px 12px; border-left:2px solid var(--accent-line); margin:6px 0; }
.project-context { margin-bottom:22px; }
.draft-task { display:grid; gap:5px; margin:12px 0; }
.draft-task label,.draft-task small { font-size:12px; color:var(--muted); }
.plan-calendar { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); border:1px solid var(--line); }
.plan-calendar > * { min-width:0; padding:6px; border:1px solid var(--line); font-size:12px; }
.plan-calendar b { text-align:center; font-weight:550; }
.calendar-day { min-height:74px; }
.calendar-day a { display:block; margin-top:3px; padding:3px; border-radius:4px; background:var(--accent-fill); overflow-wrap:anywhere; color:var(--accent-ink); }
.time-group,.timeline-date h3 { margin:16px 0 6px; font-size:14px; }
.timeline-date { border-left:2px solid var(--accent-line); padding-left:12px; margin-left:4px; }
.view-switch { flex-wrap:wrap; max-width:100%; }
@media(max-width:540px) { .view-switch .btn { padding-inline:8px; }.calendar-day { min-height:48px; }.plan-calendar > * { padding:3px; font-size:10px; } }
.context-backlinks:not(:empty) { border-top:1px solid var(--line); padding:12px 0; }
.context-backlinks h3 { font-size:16px; margin-bottom:8px; }
.context-backlinks .workspace-link { display:block; margin:4px 0; }
@font-face { font-family:Workspace Symbols; src:url(assets/work-symbols.woff2) format("woff2"); font-display:block; }
.task-symbol .icon,#nav-inbox .icon { font-family:Workspace Symbols; }
.task-symbol { width:22px; height:22px; flex:0 0 22px; }
.board-lane .task-row { display:grid; grid-template-columns:18px minmax(0,1fr); gap:6px; }
.board-lane .task-date { grid-column:2; }
.workspace-actions .btn-primary,.workspace-form-actions .btn-primary { background:var(--accent); color:var(--on-accent); border-color:var(--accent); }
.workspace-actions .btn-primary:hover,.workspace-form-actions .btn-primary:hover { background:var(--accent-hover); }
@media(max-width:720px){.topbar .global-search {justify-content:flex-start;} .topbar .global-search .global-search-label {display:inline!important;}}
.plan-canvas { display:grid; grid-template-columns:minmax(0,1fr) minmax(195px,23%); align-items:start; gap:24px; }
.plan-work,.plan-support { min-width:0; }
.plan-work .plan-toolbar,.plan-support .plan-toolbar { margin-top:0; }
.plan-support { padding-left:16px; border-left:1px solid var(--line); }
.plan-support .workspace-actions { gap:6px; }
.plan-support .workspace-actions .btn { font-size:12px; min-height:30px; padding-inline:9px; }
.plan-support .task-row { padding-inline:0; }
.plan-support .task-date { display:none; }
body .btn.btn-primary:not(.my-work-new):not(.entry .btn) { background:var(--accent); border-color:var(--accent); }
body .btn.btn-primary:not(.my-work-new):not(.entry .btn):hover { background:var(--accent-hover); }
.brand small::before { display:none; }
.manage-context { margin:0 0 12px; padding:9px 0; border-bottom:1px solid var(--line); }
.manage-context .btn { margin:7px 4px 0 0; }
@media(max-width:1150px){.plan-canvas{grid-template-columns:1fr;}.plan-support{border:0;border-top:1px solid var(--line);padding:15px 0 0;}}
@media(max-width:720px){.topbar .global-search .global-search-label{position:static;clip-path:none;overflow:visible;width:auto;height:auto;}}
.file-task-review { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.file-task-review .task-row { flex:1 1 160px; }
.time-scroll { overflow:auto; max-width:100%; border:1px solid var(--line); border-radius:10px; }
.time-chart { width:100%; min-width:450px; border-collapse:collapse; table-layout:fixed; }
.time-chart th,.time-chart td { padding:8px 5px; font-size:12px; border:1px solid var(--line); text-align:left; }
.time-chart thead th { background:var(--surface-soft); font-weight:550; }
.time-chart th:first-child { width:32%; }
.time-chart tbody th { font-weight:500; overflow-wrap:anywhere; }
.timeline-bar { display:block; min-height:12px; border-radius:10px; background:var(--accent-bar); }
.timeline-milestone { background:var(--accent-mark); height:11px; width:11px; transform:rotate(45deg); border-radius:2px; }
.board-card { margin-bottom:7px; border:1px solid var(--line); background:var(--surface); border-radius:9px; padding-bottom:5px; }
.board-card:hover,.board-card:focus-within { border-color:var(--accent-line); }
.board-lane .board-card .task-row { border:0; margin:0; }
.board-move { margin-left:7px; border:0; padding:3px; color:var(--muted); background:var(--surface); max-width:calc(100% - 14px); font:500 11px Inter,sans-serif; }
