@import url("./workspace-reference-v444.css?v=444");
/* v441: approved cool-neutral surfaces and blue selections.
   Presentation only. Explicit module selectors preserve status semantics,
   navigation geometry, compact table controls, print layouts and dark mode. */
@layer nx-action-theme, nx-interface-polish;
@layer nx-interface-polish {
  :where(:root, :host) {
    --nx-polish-canvas:#f4f6f9; --nx-polish-surface:#fff;
    --nx-polish-ink:#202c3b; --nx-polish-muted:#637286;
    --nx-polish-line:#dfe6ee; --nx-polish-tint:#e5edf5;
    --nx-polish-blue:#315c87; --nx-polish-radius:9px;
  }
  @media screen {
    /* Shared workspace tokens. Explicit dark-theme palettes remain in charge. */
    html:not([data-theme="dark"]):has(body.nx-unified-workspace) {
      --bg:var(--nx-polish-canvas)!important; --surface:#fff!important;
      --surface-2:#f8fafc!important; --surface-sunk:#edf1f5!important;
      --ink:var(--nx-polish-ink)!important; --ink-2:#45576c!important;
      --muted:var(--nx-polish-muted)!important;
      --line:var(--nx-polish-line)!important; --line-2:#e8edf3!important;
      --brand:#315c87!important; --brand-hover:#234f7b!important;
      --tint:var(--nx-polish-tint)!important;
    }
    html:not([data-theme="dark"]) body.nx-unified-workspace,
    html:not([data-theme="dark"]) body.nx-unified-workspace :is(#view,#scroll),
    .nx-estimating, #nx-itb, #pmhub-root, #pmhub-root .pmh-page,
    #pmhub-root .pmh-main { background:var(--nx-polish-canvas)!important; }
    body.nx-unified-workspace :is(.sx-ss-rail,.nx-shared-brand),
    .nx-estimating .rail { background-color:#202c3b!important; }
    body.nx-unified-workspace .sx-ss-rail :is(a.nav,button.nav)[aria-current="page"],
    body.nx-unified-workspace .sx-ss-rail a.nav.on,
    .nx-estimating .nav-item.selected {
      background:#344b63!important;color:#fff!important;
      box-shadow:inset 3px 0 #9ab6cf!important;
    }
    .nx-estimating .nav-item.selected::before { background:#9ab6cf!important; }
    html:not([data-theme="dark"]) body.nx-unified-workspace .sx-sy-top {
      background:#fff!important;border-bottom-color:var(--nx-polish-line)!important;
    }
    #nx-itb, #it-dialog {
      --it-line:var(--nx-polish-line)!important;--it-muted:var(--nx-polish-muted)!important;
      --it-orange:var(--nx-polish-blue)!important;color:var(--nx-polish-ink)!important;
    }
    #pmhub-root, #pmh-dialog {
      --pm-bg:var(--nx-polish-canvas)!important;--pm-surface:#fff!important;
      --pm-ink:var(--nx-polish-ink)!important;--pm-muted:var(--nx-polish-muted)!important;
      --pm-line:var(--nx-polish-line)!important;--pm-brand:var(--nx-polish-blue)!important;
      --pm-accent:var(--nx-polish-blue)!important;--pm-tint:var(--nx-polish-tint)!important;
    }
    .nx-estimating {
      --ink:var(--nx-polish-ink)!important;--muted:var(--nx-polish-muted)!important;
      --line:var(--nx-polish-line)!important;--canvas:var(--nx-polish-canvas)!important;
      --nav:#202c3b!important;
    }
    :is(#nx-itb,#pmhub-root,#it-dialog,#pmh-dialog,.nx-estimating) :is(h1,h2,h3) {
      color:var(--nx-polish-ink)!important;
    }
    #pmhub-root #pmh-subtitle {color:var(--nx-polish-muted)!important;}
    :is(#nx-itb .it-panel,#nx-itb .it-metric,#pmhub-root .pmg-card,
        .nx-estimating .panel,.nx-estimating .stat,.nx-estimating .resume) {
      border-color:var(--nx-polish-line)!important;
      border-radius:12px!important;background:#fff!important;
      box-shadow:0 2px 5px rgb(32 44 59 / 3%)!important;
    }
    #nx-itb .it-record-head,.nx-estimating th {background:#f8fafc!important;color:#637286!important;}
    #nx-itb .it-filters {background:#f4f6f9!important;border-radius:8px!important;}
    #nx-itb .it-filters .it-btn[aria-pressed="true"] {
      background:#e5edf5!important;color:#234f7b!important;box-shadow:none!important;
    }
    #nx-itb :is(.it-switch,.it-detail-tabs) .it-btn[aria-pressed="true"],
    .nx-estimating :is(.tabs button.active,.step.active) {
      border-bottom-color:#315c87!important;color:#234f7b!important;
    }
    #nx-itb .it-active-filter {background:#e5edf5!important;color:#315c87!important;}
    #nx-itb :is(.it-link,.it-next) {color:#315c87!important;}
    #nx-itb .it-record:hover {background:#f6f9fc!important;box-shadow:inset 3px 0 #315c87!important;}
    #nx-itb .it-metric:hover {background:#f8fafc!important;border-color:#b7c8d8!important;}
    #nx-itb .it-metric[aria-pressed="true"] {border-color:#315c87!important;box-shadow:inset 0 0 0 1px #315c87!important;}
    :is(#nxe-mount,.nx-estimating) .resume {border-left-color:#315c87!important;}
    :is(#nxe-mount,.nx-estimating) .resume:hover {border-left-color:#315c87!important;}

    /* Secondary action buttons only: never resize tabs, metric tiles, record
       rows, icon-only controls, inline links or destructive actions. */
    :is(#nx-itb .it-heading,#nx-itb .it-panel-heading,#it-dialog .it-dialog-actions) .it-btn:not(.it-primary):not(.it-link),
    .nx-estimating :is(.heading,.panel-head,.dialog-actions) .btn:not(.primary):not(.navy):not(.danger),
    #pmhub-root .pmg-card>header button:not(.pmh-primary):not(.danger) {
      border-radius:9px!important;min-height:36px!important;
      border-color:#d3dce5!important;background:#fff!important;color:#45576c!important;
      padding:8px 12px!important;box-shadow:0 1px 2px rgb(32 44 59 / 2%)!important;
    }
    :is(#nx-itb,#it-dialog,#pmhub-root,#pmh-dialog,.nx-estimating) input:is([type="checkbox"],[type="radio"]) {accent-color:#315c87!important;}
    :is(#nx-itb,#it-dialog,#pmhub-root,#pmh-dialog,.nx-estimating) :is(input,select,textarea):focus-visible {
      outline:3px solid #759abf!important;outline-offset:2px!important;
    }
    #nx-itb .it-search:focus-within {outline:2px solid #759abf!important;outline-offset:2px!important;}
    #pmhub-root :is(button,a):focus-visible,#pmh-dialog :is(button,a):focus-visible {outline:3px solid #759abf!important;outline-offset:3px!important;}

    /* CRM register roots are isolated light surfaces. Keep their data-specific
       row/status colors, compact inputs and column geometry intact. */
    :host {background:var(--nx-polish-canvas)!important;color:var(--nx-polish-ink)!important;}
    :host .board {border-color:var(--nx-polish-line)!important;border-radius:12px!important;box-shadow:0 2px 5px rgb(32 44 59 / 3%)!important;}
    :host .board-heading h2 {color:var(--nx-polish-ink)!important;}
    :host .toolbar .outline {border-color:#d3dce5!important;border-radius:9px!important;color:#45576c!important;}
    :host :is(.heading,.page-head) h1 {color:var(--nx-polish-ink)!important;}
  }
}
@layer nx-interface-polish {
 @media screen {
  #pmhub-root :is(.pmg-stages button[aria-current="step"],.pmg-tools button[aria-current="page"],.pmg-section-nav button[aria-current="page"],.pmg-filters button.selected),
  #pmhub-root #pmh-project-filters button[aria-pressed="true"] {
    color:#234f7b!important;border-bottom-color:#315c87!important;
  }
  #pmhub-root .pmg-stages button[aria-current="step"] span {
    background:#315c87!important;color:#fff!important;border-color:#315c87!important;
  }
  #pmhub-root .pmg-table .pmg-subrow.selected {background:#e5edf5!important;}
  #pmhub-root .pmg-table .pmg-subrow.selected td:first-child {box-shadow:inset 3px 0 #315c87!important;}
  #pmhub-root .pmg-detail {background:#f4f6f9!important;}
  #pmhub-root .pmg-table th {background:#f8fafc!important;}
 }
}
@layer nx-interface-polish {
 @media screen {
  .authcard .stay-row input:checked + .stay-box {background:#315c87!important;border-color:#315c87!important;}
  .authcard :is(input,select,textarea):focus-visible {outline:3px solid #759abf!important;outline-offset:2px!important;}
 }
}
/* v442: Workspace Home owns its own tokens, buttons and selected markers. */
@layer nx-interface-polish {
 @media screen {
  #app.wh-home{--wh-ink:#202c3b!important;--wh-muted:#637286!important;--wh-border:#dfe6ee!important;--wh-bg:#f4f6f9!important;--wh-orange:#315c87!important;}
  #wh-sidebar .wh-nav-button.selected{background:#344b63!important;color:#fff!important;}
  #wh-sidebar .wh-nav-button.selected::before,
  #app .sx-ss-rail a[aria-current="page"]::before{background:#9ab6cf!important;}
  #wh-sidebar .wh-sidebar-bottom i{background:#9ab6cf!important;}
  #wh-home .wh-tabs button[aria-pressed="true"]{border-bottom-color:#315c87!important;color:#234f7b!important;}
  #wh-home :is(.wh-panel,.wh-metric){border-color:#dfe6ee!important;border-radius:12px!important;box-shadow:0 2px 5px #202c3b08!important;}
  #wh-home .wh-metric>.wh-icon.calendar{background:#e5edf5!important;color:#315c87!important;}
 }
}
