/* WCTK / SCR editorial application edition. Presentation only.
   Loaded by the shared menu and independent workspace entry points.
   Geometry, visibility, status colours, chart data and form behaviour stay owned
   by the existing application. This file may be removed to restore its theme. */
:root {
  --ed-ink:#20201e; --ed-muted:#64645f; --ed-line:#d8d8d2;
  --ed-paper:#fff; --ed-warm:#f3f2ed; --ed-black:#0a0a0a;
  --ed-font:"Helvetica Neue",Helvetica,Arial,sans-serif;
}
body {
  --text:#20201e; --muted:#64645f; --line:#d8d8d2; --strong:#b9b9b1;
  --ink:#20201e; --paper:#fff; --mint:#286c57; --green:#286c57;
  --cyan:#31677c; --gold:#88621d; --danger:#a33b32;
  --wctk-dark:#fff; --wctk-dark-2:#f3f2ed; --wctk-panel:#fff;
  --wctk-line:#d8d8d2; --wctk-line-soft:#e5e5df;
  --wctk-text:#20201e; --wctk-muted:#64645f; --wctk-mint:#286c57;
  --wctk-blue:#31677c; --wctk-paper:#fff; --wctk-paper-2:#f3f2ed;
  --wctk-ink:#20201e; --wctk-ink-muted:#64645f; --wctk-paper-line:#d8d8d2;
  --projects-bg:#fff; --projects-panel:#fff; --projects-line:#e5e5df;
  --projects-line-strong:#d8d8d2; --projects-text:#20201e; --projects-muted:#64645f;
  --projects-mint:#286c57; --projects-gold:#e5d5a6; --projects-cyan:#31677c;
  --overview-bg:#fff; --overview-surface:#fff; --overview-surface-strong:#f3f2ed;
  --overview-line:#e5e5df; --overview-line-strong:#d8d8d2;
  --overview-copy:#20201e; --overview-muted:#64645f; --overview-mint:#286c57;
  --overview-gold:#88621d; --overview-cyan:#31677c;
  --control-bg:#fff; --control-panel:#fff; --control-line:#d8d8d2;
  --control-text:#20201e; --control-muted:#64645f; --control-mint:#286c57; --control-gold:#88621d;
  color:var(--ed-ink)!important; background:#fff!important;
  font-family:var(--ed-font)!important; -webkit-font-smoothing:antialiased;
  font-size:15px; line-height:1.5;
}
body::before,body.workspace-v3 main::before,body.workspace-v3 .app-frame::before {display:none!important}
body :is(h1,h2,h3,h4,button,input,select,textarea,.count,.metric strong,.control-filter strong) {font-family:var(--ed-font)!important; text-shadow:none!important}
body :is(h1,.hero h1,.control-hero h1,.ct-heading h1) {font-size:clamp(34px,3.6vw,64px)!important;font-weight:300!important;line-height:1.12!important;letter-spacing:-.025em!important}
body h2 {font-weight:400!important;line-height:1.25;letter-spacing:-.015em!important}
body h3 {font-weight:400!important;line-height:1.3}
body :is(.eyebrow,.ct-eyebrow,.field-label,.workspace-tip-label,.task-status-number,.subnav-label) {font-size:12px!important;font-weight:500!important;letter-spacing:.035em!important}
body :is(.hero-copy,.section-copy) {font-size:16px!important;line-height:1.65!important}
body :is(.metric strong,.workspace-stat strong,.count) {font-weight:400!important;letter-spacing:-.02em!important}
body :is(.metric span,.workspace-stat span,.field-label,.finance-row,.position-line>span,.position-footnote) {font-size:12px!important;font-weight:400!important;letter-spacing:0!important}
body :is(input,select,textarea) {border-radius:2px!important;border-color:#aaa9a1!important;background:#fff!important;color:var(--ed-ink)!important;box-shadow:none!important;font-weight:400!important}
body :is(input[type=checkbox],input[type=radio]) {accent-color:#20201e}
body :is(input,select,textarea):disabled {background:#eeeee8!important;color:#6a6a63!important}
body :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible {outline:2px solid #32728c!important;outline-offset:3px!important}
body :is(.action-btn,.button,.open-project,.client-message-button,.contact-picker-button) {border:1px solid #b9b9b1!important;border-radius:2px!important;background:#fff!important;color:#20201e!important;box-shadow:none!important;font-weight:500!important;letter-spacing:0!important;min-height:44px;text-decoration:none}
body :is(.action-btn.primary,.button.primary,.open-project,.client-message-button) {border-color:#20201e!important;background:#20201e!important;color:#fff!important}
body :is(.action-btn,.button,.open-project,.client-message-button,.contact-picker-button):hover:not(:disabled) {background:#e9e8e2!important;color:#20201e!important;border-color:#20201e!important}
body :is(button,input,a)[disabled] {cursor:not-allowed}
/* Black masthead; the fixed header dimensions remain those of the app. */
body .topbar {background:#0a0a0a!important;color:#fff!important;border-color:#333!important;box-shadow:none!important;backdrop-filter:none!important}
body .topbar::before {display:none!important}
body .topbar :is(.brand-title strong,.topbar-user strong,.brand strong) {color:#fff!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important}
body .topbar :is(.brand-title span,.topbar-user) {color:#c7c7c0!important}
body .topbar .brand-mark {color:#fff!important;border-color:#888!important;border-radius:0!important;background:transparent!important;font-weight:400!important;box-shadow:none!important}
body .topbar :is(.nav-btn,input[type=submit]) {color:#d3d3cf!important;background:transparent!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;box-shadow:none!important;font:400 15px var(--ed-font)!important}
body .topbar :is(.nav-btn.is-active,.formBtn1_UP) {background:#222!important;color:#fff!important;border-bottom-color:#fff!important}
body .topbar :is(.nav-btn,input[type=submit]):hover {background:#292929!important;color:#fff!important}
body .menu-status-light {box-shadow:none!important}
/* Workspace rail separates the masthead from the white work area. */
body .workspace-menu-wrap {background:#f3f2ed!important;color:#20201e!important;box-shadow:none!important;backdrop-filter:none!important;border-color:#d8d8d2!important}
body .workspace-menu-wrap .subnav-label {color:#64645f!important}
body .workspace-menu-wrap :is(.nav-btn,a,button,input[type=submit]) {background:transparent!important;color:#53534d!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;box-shadow:none!important;font:400 14px var(--ed-font)!important}
body .workspace-menu-wrap :is(.nav-btn.is-active,.formBtn1_UP) {color:#20201e!important;background:#e7e6de!important;border-bottom-color:#20201e!important}
body .workspace-menu-wrap :is(.nav-btn,a,button,input[type=submit]):hover {background:#e7e6de!important;color:#20201e!important}
/* Editorial headings and records, with consistent neutral rules. */
body :is(.hero,.control-hero,.ct-heading) {color:#20201e!important;background:transparent!important;box-shadow:none!important;border-color:#d8d8d2!important;border-radius:0!important}
body :is(.hero,.control-hero,.ct-heading) :is(h1,h2,.metric strong,.workspace-stat strong) {color:#20201e!important}
body :is(.hero,.control-hero,.ct-heading) :is(p,.eyebrow,.metric span,.workspace-stat span) {color:#64645f!important}
body :is(.panel,.project,.project-card,.project-card-head,.project-head,.project-tasks,.project-description,.project-media-fallback,.control-project,.task-register,.register-head,.control-summary,.control-filter,.filters,.filter,.comms-shell,.comms-head,.identity,.portal-health,.metric,.workspace-stats,.workspace-stat,.workspace-utility,.readout,.quote-card,.quote-card-head,.scope-item,.hero-card,.document-register,.file-stage,.viewer-surface,.chart-stage,.chart-panel,.message-queue,.message-list,.message-item,.compose-card,.text-block,.task-message-queue,.task-message-compose,.task-message-item,.task-message-list,.quote-message-compose,.quote-message-list,.document-library,.document-library-head,.task-work-surface,.quote-work-surface) {
  background:#fff!important;color:#20201e!important;border-color:#d8d8d2!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;
}
body :is(.project-description,.field-value,.project-title p,.project-name p,.control-project p,.control-project span,.project-head .finance-row,.project-head .position-line>span,.project-head .position-dates,.project-head .position-footnote,.message-meta,.message-foot,.message-empty,.task-message-meta,.task-message-foot,.kv span,.label,.control-project .eyebrow) {color:#64645f!important}
body :is(.project-title h2,.project-name h2,.field-value strong,.control-project strong,.project-head .finance-row strong,.project-head .position-line>strong,.project-head .position-heading span,.project-head .variance strong,.workspace-stat strong,.workspace-utility strong,.readout,.task-link,.kv strong,.value) {color:#20201e!important}
body :is(.project-title::before,.project-name::before) {color:#64645f!important;letter-spacing:.035em!important;font-size:11px!important;font-weight:500!important}
body :is(.project-card-head,.project-head,.panel-head,.register-head,.comms-head,.document-library-head,.control-head) {background:#f3f2ed!important;border-color:#d8d8d2!important;color:#20201e!important}
body :is(.panel-title,.panel-head h2,.register-head h2,.control-head h1) {color:#20201e!important}
body :is(.hero-metrics,.metric-row,.control-summary,.project-fields,.field,.finance,.project-position,.variance-row) {border-color:#d8d8d2!important}
body :is(.filters,.overview-mode-tabs,.tab-strip) {box-shadow:none!important;border-color:#d8d8d2!important}
body :is(.filter,.control-filter,.overview-mode-tab) {background:#fff!important;color:#64645f!important;border-color:#d8d8d2!important;border-radius:0!important;box-shadow:none!important;font-weight:400!important}
body :is(.filter.active,.control-filter.is-active,.overview-mode-tab.active) {background:#f3f2ed!important;color:#20201e!important;box-shadow:inset 0 -3px #20201e!important}
body :is(.filter,.control-filter,.overview-mode-tab):hover {background:#f3f2ed!important}
body :is(.project-tasks,.document-register) {overflow-x:auto}
body :is(.task-table th,.document-register th,.register-columns) {background:#f3f2ed!important;color:#64645f!important;font-size:12px!important;font-weight:500!important;letter-spacing:0!important;border-color:#d8d8d2!important}
body :is(.task-table td,.document-register td,.task-control-row) {color:#20201e!important;border-color:#e2e2dc!important;font-size:13px!important}
body :is(.task-table tbody tr,.task-control-row):hover {background:#f6f5f1!important}
body :is(.task-control-row .task-name,.task-control-row .task-title,.control-filter strong) {color:#20201e!important}
body :is(.finance-bar,.progress-track,.position-track,.progress-line) {background-color:#e9e8e2!important;box-shadow:none!important}
body .position-track::after {box-shadow:none!important}
/* Task/quote/contract command band. White work begins beneath this band. */
body.workspace-v3 :is(.task-command-zone .hero,.quote-command-zone .hero,.hero.expanded-brief-hero,.hero.quote-brief-hero) {
  --wctk-text:#fff;--wctk-muted:#ccc;--wctk-mint:#d8d8cf;
  background:#0a0a0a!important;color:#fff!important;border-color:#0a0a0a!important;
}
body.workspace-v3 :is(.task-command-zone .hero,.quote-command-zone .hero,.hero.expanded-brief-hero,.hero.quote-brief-hero) :is(h1,h2,p,.eyebrow,.workspace-stat,.workspace-stat span,.workspace-stat strong,.hero-copy,.workspace-tip-label,.workspace-utility,.workspace-utility strong,.workspace-utility p) {color:#eee!important}
body.workspace-v3 :is(.task-command-zone .hero,.quote-command-zone .hero,.hero.expanded-brief-hero,.hero.quote-brief-hero) :is(.workspace-stats,.workspace-stat,.workspace-utility) {background:transparent!important;border-color:#444!important;box-shadow:none!important}
body .task-status-engine {background:#151515!important;color:#fff!important;border-color:#444!important;box-shadow:none!important}
body .task-status-heading {background:#151515!important;border-color:#444!important}
body .task-status-heading :is(h2,p,span) {color:#ddd!important;font-weight:400!important}
body .task-status-heading h2::before {font-weight:400!important;letter-spacing:0!important}
body .task-status-phase {color:#ccc!important;border-color:#444!important;background:transparent!important}
body .task-status-phase.is-current {color:#fff!important;background:#333!important;box-shadow:inset 0 -3px #fff!important}
body .task-status-phase.is-complete {background:#202823!important;color:#e0eee4!important}
body .task-status-phase.is-upcoming {opacity:1!important;color:#aaa!important}
body .task-status-phase :is(.task-status-number,.task-status-state) {color:inherit!important;letter-spacing:0!important;font-size:11px!important;font-weight:400!important}
body .task-status-phase strong {font-weight:500!important;font-size:13px!important}
body :is(.task-workflow-nav,.quote-workflow-nav,.contract-workflow-nav) {background:#f3f2ed!important;border-color:#d8d8d2!important;box-shadow:none!important}
body :is(.task-workflow-tab,.quote-workflow-tab,.contract-workflow-tab) {color:#64645f!important;background:transparent!important;border-color:#d8d8d2!important;box-shadow:none!important;font-weight:400!important}
body :is(.task-workflow-tab,.quote-workflow-tab,.contract-workflow-tab):is(.is-active,:hover) {color:#20201e!important;background:#e8e7e0!important;box-shadow:inset 0 -3px #20201e!important}
body :is(.task-workflow-count,.quote-workflow-count,.contract-workflow-count) {color:#20201e!important;background:#fff!important;border-color:#b9b9b1!important}
body :is(.task-work-surface,.quote-work-surface)::after {background:#f3f2ed!important}
body :is(.panel label,.compose-field label,.form-grid label,.task-message-compose label,.quote-message-compose label,.client-message-form label) {color:#64645f!important;font-size:12px!important;font-weight:500!important;letter-spacing:0!important}
/* Control Tower: no grid, quieter date strip, unchanged row/interaction geometry. */
body.ct-page :is(.ct-toolbar,#ct-help) {background:#f3f2ed!important;color:#20201e!important;border-color:#d8d8d2!important;border-radius:0!important;box-shadow:none!important}
body.ct-page .ct-toolbar :is(label,button,a,.ct-dependency-switch) {color:#20201e!important}
body.ct-page .ct-toolbar :is(input,select,button,.ct-control-link,.ct-dependency-switch) {background:#fff!important;border-color:#aaa9a1!important;border-radius:2px!important;box-shadow:none!important}
body.ct-page :is(#ct-notice,#ct-dependency-status,#ct-help h2,.ct-heading p) {color:#64645f!important}
body.ct-page #ct-warning {color:#875b16!important}
body.ct-page #ct-scroll {background:#fff!important;border-color:#d4d4d0!important}
body.ct-page :is(.ct-axis,.ct-axis-label,.ct-axis-time) {background:#f1f1ec!important;color:#55554f!important;border-color:#d4d4d0!important}
body.ct-page :is(.ct-label,.ct-lane,.ct-task .ct-label,.ct-task .ct-lane) {background:#fff!important;border-color:#deded7!important;color:#20201e!important}
body.ct-page :is(.ct-row,.ct-row.ct-task) {border-color:#deded7!important}
body.ct-page .ct-task .ct-label {background:#f8f7f3!important}
body.ct-page .ct-label button {color:#20201e!important;font-weight:400!important}
body.ct-page :is(.ct-name small,.ct-undated) {color:#64645f!important}
body.ct-page .ct-task .ct-name {font-weight:500!important}
body.ct-page .ct-section {background:#222!important;color:#fff!important;font-weight:400!important;letter-spacing:.02em!important}
body.ct-page .ct-task .ct-name .ct-division-label {background:#eeeee7!important;color:#64645f!important;border-left-color:#88887e!important;font-weight:400!important}
body.ct-page .ct-bar {height:24px;top:21px;border:1px solid #0002;border-radius:3px;box-shadow:0 1px 2px #00000012}
body.ct-page .ct-kind-milestone .ct-bar {height:14px;top:25px}
body.ct-page .ct-kind-signoff .ct-bar {height:18px;top:23px}
body.ct-page .ct-bar:hover {filter:brightness(.94)}
body.ct-page .ct-today {border-left-color:#76766c!important;color:#53534d!important}
body.ct-page .ct-axis-time .ct-today {background:#f1f1ec!important}
body.ct-page .ct-dependency-path {stroke:#65746b}
body.ct-page .ct-dependency-path.is-conflict {stroke:#b54335}
body.ct-page .ct-dependency-path:is(:hover,:focus) {stroke:#28647e}
body.ct-page :is(.ct-task.overdue,.ct-child.action-late) .ct-name small {color:#a33b32!important}
body.ct-page #ct-modal {background:#fff!important;color:#20201e!important;border-color:#aaa9a1!important;border-radius:2px!important}
body.ct-page #ct-modal header {background:#0a0a0a!important;color:#fff!important;border-color:#333!important}
body.ct-page #ct-modal header :is(h2,button) {color:#fff!important;background:transparent!important;border-color:#777!important;font-weight:400!important}
body.ct-page #ct-modal-status {color:#64645f!important}
/* Budget keeps category colours and monetary geometry; surfaces become neutral. */
body.project-budget-v3 .wctk-budget {--b-bg:#fff;--b-line:#d8d8d2;--b-strong:#b9b9b1;--b-muted:#64645f;--b-text:#20201e;--b-mint:#286c57;--b-gold:#88621d;font-family:var(--ed-font)!important}
body.project-budget-v3 :is(.wctk-budget__surface,.wctk-budget__main) {background:#fff!important;color:#20201e!important;box-shadow:none!important}
body.project-budget-v3 :is(.wctk-budget__sidebar,.wctk-budget__header,.wctk-budget__footer) {background:#f3f2ed!important;color:#20201e!important;border-color:#d8d8d2!important}
body.project-budget-v3 .wctk-budget__view {border-radius:0!important;background:transparent!important;color:#64645f!important}
body.project-budget-v3 .wctk-budget__view.is-active {background:#e6e5dd!important;border-color:#b9b9b1!important;color:#20201e!important}
body.project-budget-v3 .wctk-budget__title {font:300 28px/1.25 var(--ed-font)!important}
body.project-budget-v3 :is(.wctk-budget__lane,.wctk-budget__expense-lane) {background-image:none!important}
body.project-budget-v3 :is(.wctk-budget__lane,.wctk-budget__expense-label):hover {background-color:#f3f2ed!important}
body.project-budget-v3 .budget-project-reference {color:#64645f!important;border-color:#d8d8d2!important}
body.project-budget-v3 .budget-project-reference strong {color:#20201e!important;font-weight:400!important}
/* Independent client/supplier and document views. */
body :is(.control-head,.library-tabs,.directory-meta,.document-register,.document-library,.scope-grid,.meta-strip,.milestone-review-card,.milestone-planner,.message-thread,.message-compose,.client-message-form,.client-message-log,.phase-report-frame,.site-report-top,.phase-story,.document,.pulse,.finance,.modal-toolbar) {background:#fff!important;color:#20201e!important;border-color:#d8d8d2!important;box-shadow:none!important;border-radius:0!important}
body :is(.library-tabs,.meta-strip,.milestone-head,.site-report-top,.pulse) {background:#f3f2ed!important}
body :is(.directory-meta,.document-name,.document a,.section h2,.phase-story h3,.site-report-copy h3,.control-head h1,.portal-section-title,.scope-item .value) {color:#20201e!important}
body :is(.gantt,.gantt-head,.gantt-row,.task-label,.timeline) {border-color:#d8d8d2!important}
body .timeline {background-image:none!important}
body .gantt-head {background:#f3f2ed!important;color:#64645f!important}
body .gantt .bar {border-radius:3px;height:24px;box-shadow:0 1px 2px #00000012}
body .portal-head {color:#fff!important}
body .portal-head :is(h1,p,.eyebrow) {color:#fff!important}
body .portal-head h1 {max-width:1000px;font-size:clamp(40px,5vw,80px)!important}
body :is(dialog#phase,.preview-note) {background:#fff!important;color:#20201e!important;border-color:#d8d8d2!important;border-radius:2px!important}
body .modal-toolbar button {color:#20201e!important;border-color:#aaa9a1!important}
body .client-message-tabs a {color:#20201e!important}
body :is(.message-meta,.task-message-meta,.client-message-meta) {font-size:12px!important;font-weight:400!important}
body :is(.message-item p,.task-message-item p,.client-message-item p) {line-height:1.6!important}
body .document-register :is(th,td) {padding:14px 16px}
/* Feedback retains meaning on the lighter surface. */
body :is(.empty,.empty-state,.empty-context,.message-empty,.task-message-empty) {background:#f7f6f2!important;color:#64645f!important;border-color:#d8d8d2!important;box-shadow:none!important;border-radius:0!important}
body :is(.save-notice,.notice,.client-message-saved) {background:#edf4ed!important;color:#28563d!important;border-color:#aec4ae!important;box-shadow:none!important;border-radius:2px!important}
body :is(.error,.error-state,.client-message-error) {background:#fff1ed!important;color:#923829!important;border-color:#d2aaa0!important;box-shadow:none!important;border-radius:2px!important}
@media(max-width:1120px) {
  /* Shared header becomes two fixed rows; account text uses the brand row. */
  body .topbar .topbar-inner {grid-template-columns:1fr auto!important;gap:0 16px!important;min-height:112px!important;width:calc(100% - 32px)!important}
  body .topbar .brand {grid-column:1;grid-row:1;min-height:56px}
  body .topbar .topbar-user {grid-column:2;grid-row:1}
  body .topbar .main-nav {grid-column:1/-1;grid-row:2;min-height:56px;overflow-x:auto;grid-template-columns:repeat(5,minmax(100px,1fr))!important}
  body .topbar .nav-btn {min-height:56px!important}
  body {--wctk-topbar-height:112px;--wctk-subnav-height:58px}
  body .workspace-menu-wrap {top:112px!important}
  body .workspace-menu-inner {grid-template-columns:minmax(0,1fr)!important;gap:0!important;min-height:58px!important;width:calc(100% - 24px)!important}
  body .workspace-menu-wrap .subnav-label {display:none!important}
  body .workspace-menu-wrap .project-subnav {overflow-x:auto!important}
  body .app-frame {padding-top:112px!important}
  body.workspace-v3 .app-frame {padding-top:calc(var(--wctk-topbar-height) + var(--wctk-subnav-height))!important}
  body.task-control-page main {padding-top:210px!important}
  body .app {padding-top:112px!important}
}
@media(max-width:680px) {
  body :is(h1,.hero h1,.control-hero h1,.ct-heading h1) {font-size:34px!important}
  body .topbar .brand-title span {display:none}
  body .topbar .topbar-user {font-size:10px!important}
  body .topbar .topbar-user strong {font-size:11px!important}
  body :is(.task-command-zone .hero,.quote-command-zone .hero,.hero.expanded-brief-hero,.hero.quote-brief-hero) {padding:26px 20px!important}
  body .task-status-phases {grid-template-columns:repeat(8,minmax(126px,1fr))!important;overflow-x:auto}
  body :is(.task-workflow-nav,.quote-workflow-nav,.contract-workflow-nav) {overflow-x:auto}
  body :is(.task-workflow-tab,.quote-workflow-tab,.contract-workflow-tab) {padding:12px 8px!important;line-height:1.3!important;font-size:13px!important}
}
@media(prefers-reduced-motion:reduce) {
  body *,body *::before,body *::after {scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
@media print {
  body {background:#fff!important;color:#000!important}
  body :is(.topbar,.workspace-menu-wrap) {position:static!important}
  body :is(.app-frame,.app),body.task-control-page main {padding-top:0!important}
}
/* Verified component refinements. */
body .topbar .topbar-user {display:grid;gap:2px}
body .project-list::before {background:#f7f6f2!important}
body :is(.project-title::before,.project-name::before) {color:#64645f!important}
body.workspace-v3 :is(.hero.expanded-brief-hero,.hero.quote-brief-hero) {padding:36px 40px!important}
body.workspace-v3 .hero .task-hero-progress,
body.workspace-v3 .hero .task-hero-progress :is(.panel-head,.chart-stage) {background:transparent!important;color:#eee!important;border-color:#444!important}
body.workspace-v3 .hero .task-hero-progress :is(h2,p,span,strong,.progress-label,.progress-value) {color:#ddd!important}
body.workspace-v3 .hero .task-hero-progress .progress-line {background:transparent!important}
body.workspace-v3 .hero .task-hero-progress .progress-track {background:#383833!important}
body.workspace-v3 .hero .task-hero-progress .panel-head h2 {font:400 17px/1.3 var(--ed-font)!important;letter-spacing:0!important}
body.workspace-v3 .hero .task-hero-progress .panel-head {padding-bottom:18px!important}
body.workspace-v3 .hero .task-hero-progress .progress-label {font-weight:400!important;font-size:13px!important}
body .ct-heading {padding-bottom:24px}
body.ct-page .ct-toolbar label {font-weight:400!important;letter-spacing:0!important;text-transform:none!important}
body .portal-nav a {background:transparent!important;color:#ccc!important;border-color:#333!important;box-shadow:none!important;font-weight:400!important}
body .portal-nav a.active {background:#252525!important;color:#fff!important;box-shadow:inset 0 -3px #fff!important}
body :is(.portal-section-head,.form-grid,.detail-grid,.card-grid,.milestone-review-list,.milestone-review-meta) {background:#f3f2ed!important;border-color:#d8d8d2!important}
body :is(.field,.kv,.scope-item,.milestone-review-item,.milestone-cell) {border-radius:0!important;box-shadow:none!important}
body :is(.wctk-system-modal-shell,.wctk-system-modal-frame) {background:#fff!important;border-color:#aaa9a1!important;border-radius:2px!important;backdrop-filter:none!important}
body .wctk-system-modal-head {background:#0a0a0a!important;color:#fff!important}
body .wctk-system-modal-title {font:400 14px var(--ed-font)!important;letter-spacing:0!important;text-transform:none!important}
body .wctk-system-modal-close {background:transparent!important;color:#fff!important;border-color:#888!important;border-radius:2px!important}
body .wctk-system-modal-backdrop {backdrop-filter:none!important;background:#0009!important}
body.document-control-v2 :is(.document-row,.document-name,.document-name strong,.document-state,.control-head p,.library-tabs a,.library-tabs span),
body.document-library-v2 :is(.file,.name strong,.summary,.summary strong),
body.document-upload-v2 :is(form,p,label) {color:#20201e!important;background-image:none!important;border-color:#d8d8d2!important;border-radius:0!important}
body.document-control-v2 :is(p,small,.directory-meta span),body.document-library-v2 :is(.name span,.summary-meta) {color:#64645f!important}
body.document-control-v2 .library-tabs .is-active {background:#e8e7e0!important;box-shadow:inset 0 -3px #20201e!important}
body.document-control-v2 .document-row {background:#fff!important}
body.document-control-v2 .document-name>span,body.document-library-v2 .icon {background:#f3f2ed!important;color:#64645f!important;border-color:#d8d8d2!important;border-radius:0!important}
body.document-control-v2 .status.is-inactive {color:#9b3f35!important;background:#fff1ed!important;border-color:#d2aaa0!important}
body.document-control-v2 :is(button,.preview),body.document-library-v2 :is(.open,.manage),body.document-upload-v2 button {color:#20201e!important;background:#fff!important;border:1px solid #aaa9a1!important;border-radius:2px!important;min-height:44px;font-weight:500!important}
body.document-control-v2 h1,body.document-upload-v2 h1 {text-transform:none!important;font-size:clamp(28px,3vw,42px)!important}
body.project-site-updates-v3 :is(.publisher,.task-list,.task-hero,.request-head,.field-inbox-head,.compose-head,.field-report-card,.request-grid>div) {background:#fff!important;border-color:#d8d8d2!important;border-radius:0!important;box-shadow:none!important}
body.project-site-updates-v3 .task-list {background:#f3f2ed!important}
body.project-site-updates-v3 .task-list .task :is(strong,span) {color:#20201e!important;font-weight:400!important}
body.project-site-updates-v3 .task-list .task {color:#20201e!important;background:transparent!important;border-color:#d8d8d2!important;border-radius:0!important}
body.project-site-updates-v3 .task-list .task.active {background:#e8e7e0!important;box-shadow:inset 3px 0 #20201e!important}
body.task-control-page :is(.task-identity strong,.task-identity a,.task-workflow-state strong,.task-schedule strong) {color:#20201e!important}
body.task-control-page :is(.task-identity span,.task-identity small,.task-workflow-state span,.task-schedule span,.control-eyebrow) {color:#64645f!important;font-weight:400!important}
body.task-control-page .task-state-form button {background:#20201e!important;color:#fff!important;border-color:#20201e!important;border-radius:2px!important;font-weight:500!important}
body:has(.login-panel) .workspace {padding-top:64px}
body:has(.login-panel) main {background-image:linear-gradient(90deg,rgba(0,0,0,.83),rgba(0,0,0,.32) 60%,transparent),url("../../images/scr-wctk-login.png")!important}
body .login-panel {background:#fff!important;color:#20201e!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important}
body .login-panel button {background:#20201e!important;color:#fff!important;border-color:#20201e!important;border-radius:2px!important;font-weight:500!important}
body:has(.login-panel) .workspace :is(.eyebrow,.powered) {color:#eee!important}
body .workspace-name {color:#ccc!important}
@media(max-width:1120px) {
 body .topbar:not(:has(.main-nav)) .topbar-inner {display:flex!important;min-height:78px!important}
 body .topbar:not(:has(.main-nav)) .brand {min-height:0}
 body.document-control-v2 .document-row {grid-template-columns:minmax(0,1fr) auto}
 body.document-control-v2 .document-row form {grid-column:1/-1}
 body.document-control-v2 .control-head {flex-wrap:wrap}
}
@media(max-width:680px) {
 body.workspace-v3 :is(.hero.expanded-brief-hero,.hero.quote-brief-hero) {padding:26px 20px!important;grid-template-columns:minmax(0,1fr)!important;gap:28px!important}
 body.workspace-v3 .hero :is(.expanded-brief-aside,.quote-brief-aside) {grid-column:1!important;grid-row:auto!important;padding:0!important;border-left:0!important;min-width:0!important}
 body.document-control-v2 .library-tabs {grid-template-columns:1fr}
 body.document-control-v2 .control-head {display:block}
 body.document-control-v2 .counts {margin-top:24px;justify-content:start;text-align:left}
 body.document-control-v2 .document-row {grid-template-columns:minmax(0,1fr)}
 body.document-control-v2 .document-row form {grid-template-columns:minmax(0,1fr)}
 body.document-control-v2 .document-name strong {white-space:normal;overflow-wrap:anywhere}
 body .login-panel {padding:24px!important}
}
body :is(.task-message-notice,.current-award-pill,.reply-context,.status-pill) {color:#28563d!important;background:#edf4ed!important;border-color:#aec4ae!important;box-shadow:none!important;font-weight:500!important}
body .document-library-head :is(strong,h3,span),body .viewer-surface p {color:#20201e!important}
body .project-title::before,body .project-name::before {color:#64645f!important;font-size:11px!important;font-weight:500!important;letter-spacing:.035em!important}
body .task-work-surface .form-grid .field,
body .quote-work-surface .card-grid .kv,
body #contract-detail .field {background:#fff!important;border-color:#d8d8d2!important;border-radius:0!important;box-shadow:none!important}
body main>a,body main>form .cancel {color:#31677c!important}
body main>form small,body .page :is(.eyebrow,.comment,.text) {color:#64645f!important}
body .page .text {border-color:#d8d8d2!important}
body :is(.inbox-count,.badge) {color:#28563d!important;background:#edf4ed!important;border-color:#aec4ae!important;box-shadow:none!important;font-weight:500!important}
body.project-progress-v3 :is(.progress-panel,.progress-panel-head,.task-row,.task-summary) {background:#fff!important;color:#20201e!important;border-color:#d8d8d2!important;border-radius:0!important;box-shadow:none!important}
body.project-progress-v3 .progress-panel-head {background:#f3f2ed!important}
body.project-progress-v3 :is(.task-name,.task-meta span,.bar-label,.bar-value,.forecast-note,.workspace-utility small) {color:#64645f!important}
body.project-progress-v3 .track {background:#e8e7e0!important;border-radius:3px!important}
body :is(.rich-text,.text-block) h1 {font-size:26px!important;line-height:1.3!important}
body :is(.rich-text,.text-block) h2 {font-size:22px!important;line-height:1.3!important}
body [data-viewer-empty] {color:#64645f!important}
@media(max-width:1000px) {
 body.project-site-updates-v3 :is(.hero,.workspace-hero-aside,.publisher,.request-grid,.recipient-row) {grid-template-columns:minmax(0,1fr)!important;min-width:0!important}
 body.project-site-updates-v3 .task-list {position:static;max-height:300px}
 body .milestone-review-card {grid-template-columns:minmax(0,1fr)!important;min-width:0!important}
 body .milestone-review-meta {grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0!important}
}
@media(max-width:680px) {
 body .hero {grid-template-columns:minmax(0,1fr)!important;min-width:0!important}
 body .hero>* {min-width:0!important}
 body .hero-metrics {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important}
 body .hero-metrics .metric {min-width:0!important;padding:16px 10px!important}
 body .overview-mode-tabs {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body .overview-mode-tab {min-width:0!important;padding:12px!important}
 body.project-site-updates-v3 .workspace-stats {grid-template-columns:minmax(0,1fr)!important}
 body.project-site-updates-v3 .request-actions {flex-direction:column;align-items:stretch}
 body.project-site-updates-v3 .request-actions .response-frame {flex:auto;width:100%;min-width:0}
}
@media(max-width:680px) {
 body .milestone-revision-form {grid-template-columns:minmax(0,1fr)!important;min-width:0!important;width:100%;max-width:100%}
 body .milestone-revision-form>* {grid-column:1!important;min-width:0!important;max-width:100%}
 body .milestone-revision-form .submit-row {flex-direction:column;align-items:stretch;min-width:0!important}
 body .milestone-revision-form .response-frame {width:100%!important;min-width:0!important;max-width:100%!important;flex:auto!important}
}


/* December 2 refinements: full-width command bands.
   A clipped shadow paints the gutters without widening the page or moving content. */
body.workspace-v3 :is(.task-command-zone .hero,.quote-command-zone .hero,.hero.expanded-brief-hero,.hero.quote-brief-hero) {
  background:#0a0a0a!important;
  box-shadow:0 0 0 100vmax #0a0a0a!important;
  clip-path:inset(0 -100vmax);
  border-color:transparent!important;
}
body.workspace-v3:is(.task-detail-flow-v2,.quote-input-v1,.contract-workspace-v3) main {padding-top:32px!important}
body :is(.ct-heading h1,.control-hero h1,.project-add-task-v3 h1) {overflow-wrap:anywhere}
body .ct-heading {gap:24px;flex-wrap:wrap}
@media(max-width:700px){
  body.workspace-v3:is(.task-detail-flow-v2,.quote-input-v1,.contract-workspace-v3) main {padding-top:24px!important}
}

/* December 4: complete the editorial treatment in secondary screens. */
body:has(.login-panel) .workspace {padding-top:clamp(110px,34svh,440px)!important;padding-bottom:64px}
body:has(.login-panel) .workspace h1 {color:#fff!important}
body:has(.login-panel) .workspace-name {color:#ccc!important}
body:has(.directory) .workspace,body:has(.directory) .directory {background:#fff!important}
body:has(.directory) :is(.toolbar,.form-head,.editor) {background:#f3f2ed!important;color:#20201e!important}
body:has(.directory) .directory-row {background:#fff!important;border-bottom:1px solid #d8d8d2!important;gap:16px}
body:has(.directory) .directory-row>span {min-width:0;overflow-wrap:anywhere}
body:has(.directory) .directory-row :is(small,.tags) {color:#55564f!important}
body:has(.directory) .directory-row :is(.division,.div-code,.division-code,.division-badge,.badge),body:has(.directory) .directory-row>span:first-child {color:#20201e!important;background:#f3f2ed!important;white-space:normal!important;line-height:1.5}
body:has(.directory) .directory-row>span:first-child {padding:10px;border-left:3px solid #92938b}
body:has(.directory) :is(.copy,.edit,.save) {background:#20201e!important;color:#fff!important;border:1px solid #20201e!important;border-radius:2px!important}
body .project-fields,body .project-fields .field {background:#f3f2ed!important}
body .project-fields .field-value {color:#20201e!important;font-size:16px!important;overflow-wrap:anywhere}
body .project-fields .field-label {color:#55564f!important}
body #task-document-viewer .viewer-toolbar {background:#20201e!important;color:#fff!important;border-bottom:1px solid #555;gap:12px}
body #task-document-viewer .viewer-toolbar :is(strong,span) {color:#fff!important}
body #task-document-viewer .viewer-toolbar :is(button,a) {background:#fff!important;color:#20201e!important;border:1px solid #b9b9b1!important;border-radius:2px!important;min-height:36px;padding:6px 12px}
body #task-document-viewer .viewer-surface {background:#eeeee8!important}
body #task-document-viewer [data-viewer-empty] {color:#55564f!important}
body .client-project-photo {display:block;width:100%;aspect-ratio:16/9;object-fit:cover;margin:18px 0 10px;border:1px solid #d8d8d2}
body .client-project-photo-empty {display:grid;place-items:center;aspect-ratio:16/9;margin:18px 0 10px;background:#f3f2ed;color:#64645f;border:1px solid #d8d8d2;font-size:14px}
body.system-editorial .app.is-modal,body.system-editorial :is(.workspace,.help-grid,.list,.editor,.resource,.request-card,.help-feed) {background:#fff!important;color:#20201e!important;border-color:#d8d8d2!important}
body.system-editorial :is(.list-head,.editor-head,.type,.status-pill,.tab) {background:#f3f2ed!important;color:#20201e!important;border-color:#d8d8d2!important;border-radius:0!important}
body.system-editorial .tab.is-active {background:#20201e!important;color:#fff!important}
body.system-editorial :is(.hint,.resource p,.request-card p,.hero p,label) {color:#55564f!important}
body.system-editorial :is(.status-pill.is-green b,.badge.green) {color:#286c57!important}
body.system-editorial :is(.status-pill.is-gold b,.badge.gold) {color:#88621d!important}
body.system-editorial .latest-answer {background:#edf4ef!important;color:#244d3e!important}
body.system-editorial :is(.resource,.request-card) {border-bottom:1px solid #d8d8d2!important}
@media(max-width:700px){body:has(.login-panel) .workspace{padding-top:100px!important}body.system-editorial .resource{grid-template-columns:46px minmax(0,1fr);gap:12px}body.system-editorial .commands{grid-column:2;flex-wrap:wrap}}
