
    :root {
      color-scheme: light;
      --ink: #17211d;
      --muted: #5f6b64;
      --line: #c4cec6;
      --surface: #fff;
      --canvas: #eef1ee;
      --green: #256b4b;
      --green-dark: #1d573c;
      --green-light: #eaf4ee;
      --nav-active-icon-cutout: #e3eee6;
      --amber: #9a6616;
      --amber-light: #fff4df;
      --blue: #4168a3;
      --blue-light: #edf2fb;
      --red: #b44e48;
      --red-light: #fbefed;
      --shadow: 0 16px 48px rgb(25 44 34 / 12%);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-synthesis: none;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
    }
    :root[data-theme="dark"] {
      color-scheme: dark;
      --ink: #eceef1;
      --muted: #afb5be;
      --line: #4a515a;
      --surface: #1b1e24;
      --canvas: #111318;
      --green: #6f9fe8;
      --green-dark: #a8c7fa;
      --green-light: #273142;
      --nav-active-icon-cutout: #273142;
      --amber: #efc36c;
      --amber-light: #40351f;
      --blue: #8aafe8;
      --blue-light: #26344a;
      --red: #ee8a80;
      --red-light: #422b29;
      --shadow: 0 16px 48px rgb(0 0 0 / 45%);
      --time-color-lightness: 65%;
    }

    * { box-sizing: border-box; }
    html { scrollbar-gutter: stable; overflow-x: clip; }
    body { margin: 0; min-height: 100vh; background: var(--canvas); color: var(--ink); transition: background-color .24s ease; }
    body.hot-project-active { background: var(--canvas); }
    button, input, select, textarea { font: inherit; }
    button { cursor: pointer; font-size: 13px; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

    .app { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100vh; }
    .sidebar { position: sticky; top: 0; display: flex; align-self: start; height: 100vh; height: 100dvh; min-height: 0; flex-direction: column; gap: clamp(12px, 3vh, 28px); padding: clamp(12px, 2.5vh, 22px) 14px; border-right: 1px solid var(--line); background: #fbfcfa; }
    .sidebar-nav { display: flex; flex-direction: column; gap: clamp(5px, 1.3vh, 10px); }
    .sidebar-more-nav { display: contents; }
    .sidebar-more-trigger { display: none; }
    .sidebar-more-menu { display: contents; }
    .sidebar-nav-section { display: grid; gap: clamp(5px, 1.3vh, 10px); }
    .sidebar-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 12px 9px 2px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
    .sidebar-footer a { color: inherit; text-decoration: none; }
    .sidebar-footer a:hover { color: var(--green-dark); }
    .sidebar-footer a:focus-visible { border-radius: 2px; outline: 2px solid #9bc9aa; outline-offset: 3px; }
    .alpha-guide { position: relative; margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
    .alpha-guide summary { color: var(--ink); font-size: 13px; font-weight: 680; cursor: pointer; }
    .alpha-guide-content { max-width: 900px; padding: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
    .alpha-guide-content ol { display: grid; gap: 4px; margin: 0; padding-left: 20px; }
    .alpha-guide-content strong { color: var(--ink); }
    .alpha-guide-content p { margin: 10px 0 0; }
    .onboarding-intro { margin-top: 0 !important; }
    .onboarding-actions { display: flex; flex-wrap: wrap; gap: 8px; }
    .onboarding-actions .secondary-button { min-height: 34px; }
    .alpha-guide-hide { position: absolute; top: 11px; right: 14px; padding: 3px 5px; border: 0; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
    .alpha-guide-hide:hover { color: var(--green-dark); text-decoration: underline; }
    .sync-recovery-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 20px 0; padding: 11px 14px; border: 1px solid #e6c68d; border-radius: 9px; background: #fff8e9; color: #76531b; font-size: 13px; }
    .multiple-tab-warning { margin: 12px 20px 0; padding: 10px 14px; border: 1px solid #b8c9ec; border-radius: 9px; background: #f0f5ff; color: #334b78; font-size: 13px; }
    .multiple-tab-warning[hidden] { display: none; }
    .sync-recovery-banner[hidden] { display: none; }
    .sync-recovery-banner button { flex: 0 0 auto; }
    .nav-item { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border: 0; border-radius: 8px; background: transparent; color: #55625a; font-size: 13px; font-weight: 600; text-align: left; }
    .sidebar-more-menu .relay-menu-item { display: none; }
    .nav-item[hidden] { display: none; }
    .nav-item svg, .nav-item span { transform: translateY(0); transition: transform .16s ease-out; }
    .nav-item svg { transform-origin: center; }
    .nav-item:hover svg { transform: translateY(-2px) scale(1.05); }
    .nav-item:hover span, .nav-item:focus-visible span { transform: translateY(-2px); }
    .nav-item:focus-visible svg { transform: translateY(-2px) scale(1.05); }
    .nav-item:hover { background: #eef3ee; color: var(--ink); }
    .nav-item.active { background: #e3eee6; color: var(--green-dark); }
    .nav-item.active svg { fill: currentColor; }
    .nav-item.active svg path { fill: none; }
    .nav-item.active[data-view="feedback"] svg path { fill: currentColor; }
    .nav-item.active[data-view="time"] svg path,
    .nav-item.active[data-view="tables"] svg path,
    .nav-item.active[data-view="billing"] svg path { stroke: var(--nav-active-icon-cutout); }
    .nav-item:focus-visible { outline: 3px solid #9bc9aa; outline-offset: 2px; }
    @media (max-height: 700px) and (min-width: 821px) {
      .sidebar { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
      .nav-item { padding-top: 6px; padding-bottom: 6px; }
      .sidebar-footer { padding-top: 6px; }
    }
    @media (max-height: 480px) and (min-width: 821px) {
      .sidebar { gap: 6px; padding-top: 6px; padding-bottom: 6px; }
      .nav-item { padding-top: 4px; padding-bottom: 4px; }
      .sidebar-footer { padding-top: 4px; }
    }
    .brand { display: flex; align-items: center; padding: 0 9px; }
    a.brand { color: inherit; text-decoration: none; }
    a.brand:focus-visible { border-radius: 8px; outline: 3px solid #9bc9aa; outline-offset: 4px; }
    .brand-name { font-size: 20px; font-weight: 600; letter-spacing: -.45px; }
    .brand-name span { color: var(--green); }

    .main { width: 100%; max-width: 1440px; min-width: 0; margin: 0 auto; padding: 0 48px 60px; }
    .main:has(.team-list-view:not([hidden])) { display: flex; min-height: 100vh; min-height: 100dvh; flex-direction: column; }
    .main:has(.team-list-view:not([hidden])) .content { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; }
    .main.proofing-active { display: flex; height: 100vh; height: 100dvh; flex-direction: column; overflow: hidden; padding-bottom: 0; }
    .topbar { position: sticky; top: 0; z-index: 40; display: flex; height: 72px; flex: 0 0 auto; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--canvas); }
    .topbar.is-stuck, .personal-overview-section-heading.is-stuck { box-shadow: 0 6px 12px -10px rgb(0 0 0 / 48%); }
    .main.proofing-active .topbar { flex: 0 0 auto; }
    .topbar-actions { display: flex; align-items: center; gap: 10px; }
    .topbar-actions > button svg { width: 17px; height: 17px; stroke-width: 1.8; }
    .theme-toggle { display: inline-grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); }
    :root:not([data-theme="dark"]) .theme-toggle { border: 0; background: transparent; }
    :root[data-theme="dark"] .theme-toggle { border: 0; background: transparent; }
    .theme-toggle .theme-icon-sun { display: none; }
    :root[data-theme="dark"] .theme-toggle .theme-icon-moon { display: none; }
    :root[data-theme="dark"] .theme-toggle .theme-icon-sun { display: block; }
    :root:not([data-theme="dark"]) .theme-toggle:hover { border: 1px solid var(--line); background: #fff; color: var(--green-dark); }
    :root[data-theme="dark"] .theme-toggle:hover { border: 1px solid var(--line); background: #292d34; color: var(--green-dark); }
    .theme-toggle:focus-visible { outline: 3px solid #9bc9aa; outline-offset: 2px; }
    .notification-button { position: relative; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); }
    .notification-button:hover { border-color: var(--line); background: #fff; color: var(--green-dark); }
    .notification-button:focus-visible { outline: 3px solid #9bc9aa; outline-offset: 2px; }
    .notification-count { position: absolute; top: -4px; right: -4px; box-sizing: border-box; display: inline-grid; min-width: 18px; width: max-content; height: 18px; place-items: center; padding: 0 3px; border: 2px solid var(--canvas); border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; text-align: center; white-space: nowrap; }
    .notification-count[hidden] { display: none; }
    .breadcrumb { color: var(--muted); font-size: 13px; }
    .breadcrumb strong { color: #39443e; font-weight: 700; }
    .user { display: flex; align-items: center; gap: 10px; }
    .user-avatar { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: #e7eee8; color: var(--green-dark); font-size: 13px; font-weight: 700; }
    .user-name { font-size: 13px; font-weight: 620; }
    .profile-button { padding: 5px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); }
    .profile-button:hover { background: #f0f4f0; }
    .permission-preview-control { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
    .permission-preview-control select { min-height: 36px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); font-size: 13px; }
    .permission-preview-control[hidden], .permission-preview-banner[hidden] { display: none; }
    .permission-preview-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 0; padding: 9px 12px; border: 1px solid #e5c780; border-radius: 7px; background: #fff8e8; color: #70531a; font-size: 13px; }
    .permission-preview-banner button { padding: 3px 7px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 650; text-decoration: underline; }
    .profile-button:focus-visible { outline: 3px solid #9bc9aa; outline-offset: 2px; }

    .content { width: 100%; }
    .main.proofing-active .content { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; }
    .page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 39px 0 27px; }
    .page-heading-actions { display: flex; align-items: center; gap: 8px; }
    .page-heading-actions:has(> .page-action:not([hidden])) { display: flex; }
    .page-heading-actions:not(:has(> .page-action:not([hidden]))) { display: none; }
    .page-heading[hidden]{ display: none; }
    .relay-page-heading .eyebrow { color: var(--green); }
    body:has(.relay-page-heading) .workspace-tables-view { margin-top: 0; }
    .project-visible-count { color: var(--muted); font-weight: 500; }
    .eyebrow { margin-bottom: 8px; color: var(--green); font-size: 13px; font-weight: 750; letter-spacing: 1.4px; text-transform: uppercase; }
    h1 { margin: 0; font-size: clamp(25px, 3vw, 32px); font-weight: 690; letter-spacing: -1.2px; }
    .subtitle { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
    .primary-button {
      display: inline-flex;
      min-height: 40px;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 0 15px;
      border: 0;
      border-radius: 8px;
      background: var(--green);
      color: #fff;
      font-size: 13px;
      font-weight: 650;
      text-decoration: none;
      box-shadow: 0 2px 4px rgb(31 92 62 / 13%);
      transition: background .15s, transform .15s;
    }
    .primary-button:hover { transform: translateY(-1px); background: var(--green-dark); }
    .outline-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--green-dark); font-size: 13px; font-weight: 650; text-decoration: none; transition: background .15s, border-color .15s; }
    .outline-button[hidden] { display: none; }
    .outline-button:hover { border-color: #cbd9ce; background: #f8faf8; }
    .primary-button:focus-visible, .outline-button:focus-visible, .icon-button:focus-visible, .filter-control:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #9bc9aa; outline-offset: 2px; }

    .stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; margin-bottom: 24px; }
    #personalOverviewView { display: grid; gap: 40px; color: var(--ink); }
    #personalOverviewView[hidden] { display: none; }
    .personal-overview-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
    .personal-overview-stat { min-height:78px; padding:13px 15px; border:1px solid #e0e8e2; border-radius:13px; background:#fff; display:flex; flex-direction:column; gap:5px; }
    .personal-overview-stat small { display:flex; align-items:center; gap:9px; color:var(--muted); font-size:12px; }
    .personal-overview-stat strong { display:flex; align-items:center; gap:9px; color:var(--ink); font-size:22px; line-height:1.1; }
    .personal-overview-stat > span { color:var(--muted); font-size:10px; }
    .overview-mini-bars { display:flex; gap:3px; }
    .overview-mini-bars b { width:8px; height:4px; border-radius:3px; background:#2c7251; }
    .overview-mini-bars b:nth-child(4) { background:#c78a29; }.overview-mini-bars b:nth-child(5) { background:#c45243; }
    .personal-overview-section-heading { position:sticky; top:72px; z-index:30; display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 10px; padding:8px 0; background:var(--canvas); }
    .personal-overview-member-filter { display:flex; min-width:0; flex:0 0 auto; flex-wrap:wrap; align-items:center; gap:7px; }
    .personal-overview-member-filter > select { height:34px; padding:0 28px 0 10px; border:0; border-radius:7px; background:#fff; color:var(--ink); font-size:13px; }
    .personal-overview-section-heading h2,.personal-overview-panel h2 { margin:0; font-size:14px; }
    .personal-overview-controls { display:flex; min-width:0; flex:1; flex-direction:column; align-items:stretch; gap:6px; }
    .personal-overview-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:7px; }
    .personal-overview-gantt-scale-row { display:flex; min-height:31px; align-items:center; justify-content:flex-start; }
    .personal-overview-gantt-scale-row[hidden] { display:none; }
    .personal-overview-gantt-scale-row label { display:flex; align-items:center; gap:6px; color:var(--ink); font-size:12px; }
    .personal-overview-toolbar-divider { width:1px; height:22px; flex:0 0 1px; margin:0 5px; background:var(--line); }
    .personal-overview-toolbar-divider[hidden] { display:none; }
    .personal-overview-toolbar select,.personal-overview-active-filter,.personal-overview-layout-toggle { height:31px; padding:0 9px; border:0; border-radius:7px; background:#fff; color:var(--ink); font-size:12px; }
    .personal-overview-active-filter { box-sizing:border-box; display:inline-flex; width:31px; min-width:31px; max-width:31px; height:31px; flex:0 0 31px; align-items:center; justify-content:center; margin:0; padding:0; cursor:pointer; }.personal-overview-active-filter svg { width:15px; height:15px; flex:0 0 15px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }.personal-overview-active-filter[aria-pressed="true"] { color:var(--ink); background:#edf5ef; font-weight:700; }
    .personal-overview-layout-toggle { display:flex; padding:2px; }.personal-overview-layout-toggle button { border:0; border-radius:5px; padding:0 8px; color:var(--ink); background:transparent; font-size:12px; cursor:pointer; }
    .personal-overview-layout-toggle button[aria-pressed="true"] { color:var(--ink); background:#edf5ef; font-weight:700; }
    .personal-overview-sort { display:flex; align-items:center; gap:4px; color:var(--ink); font-size:12px; }
    .personal-overview-job-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
    .personal-overview-job-card { min-width:0; padding:13px; border:1px solid #e0e8e2; border-radius:13px; background:#fff; display:flex; flex-direction:column; gap:9px; }
    .personal-overview-job-top,.personal-overview-job-footer,.personal-overview-progress-copy { display:flex; align-items:center; justify-content:space-between; gap:8px; }
    .personal-overview-job-number { color:var(--muted); font-size:9px; letter-spacing:.15px; }
    .overview-health { padding:4px 7px; border-radius:12px; background:#eaf3ed; color:#246340; font-size:9px; white-space:nowrap; }.overview-health.at-risk { background:#fbf1dc; color:#99630f; }.overview-health.blocked { background:#fae9e6; color:#b44739; }
    .personal-overview-job-name { padding:0; border:0; background:transparent; color:#28362f; font-size:12px; font-weight:700; line-height:1.35; text-align:left; cursor:pointer; }.personal-overview-job-name:hover { color:#246540; text-decoration:underline; }
    .personal-overview-job-description { min-height:27px; margin:0; color:var(--muted); font-size:10px; line-height:1.4; }
    .personal-overview-progress-copy { margin-top:auto; color:#5e6c63; font-size:9px; }.personal-overview-progress-copy span:last-child { white-space:nowrap; }
    .personal-overview-progress-rail,.overview-workload-rail { height:4px; overflow:hidden; border-radius:4px; background:#e9eeea; }.personal-overview-progress-rail span,.overview-workload-rail span { display:block; height:100%; border-radius:inherit; background:#286b49; }
    .personal-overview-job-footer { padding-top:2px; }.personal-overview-owner,.overview-workload-person > div:first-child { display:flex; align-items:center; gap:7px; min-width:0; }.personal-overview-owner i,.overview-workload-person i { display:grid; width:22px; height:22px; flex:0 0 22px; place-items:center; border-radius:50%; background:#e8f1eb; color:#416c52; font-size:9px; font-style:normal; font-weight:700; }
    .personal-overview-owner { gap:0; }
    .personal-overview-owner b,.overview-workload-person b { display:block; color:#344239; font-size:9px; }.personal-overview-owner small,.overview-workload-person small { display:block; margin-top:2px; color:var(--muted); font-size:8px; }
    .personal-overview-due { color:var(--muted); font-size:9px; white-space:nowrap; }
    .personal-overview-job-grid.is-list { display:block; }.personal-overview-job-grid.is-list .personal-overview-job-card { display:grid; grid-template-columns:minmax(140px,1fr) 2fr 1fr 1fr; align-items:center; gap:12px; border-radius:0; border-width:0 0 1px; padding:11px 8px; }.personal-overview-job-grid.is-list .personal-overview-job-top { grid-column:1; }.personal-overview-job-grid.is-list .personal-overview-job-name { grid-column:2; grid-row:1; }.personal-overview-job-grid.is-list .personal-overview-job-description { display:none; }.personal-overview-job-grid.is-list .personal-overview-progress-copy { grid-column:3; }.personal-overview-job-grid.is-list .personal-overview-progress-rail { display:none; }
    .personal-overview-pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 2px 2px; color:var(--muted); font-size:13px; }
    .personal-overview-pagination[hidden] { display:none; }
    .personal-overview-pagination > div { display:flex; gap:7px; }
    .personal-overview-pagination .outline-button { min-height:32px; padding:0 10px; font-size:12px; }
    .personal-overview-pagination .outline-button:disabled { cursor:default; opacity:.48; }
    .personal-overview-insights { display:grid; grid-template-columns:minmax(0,2fr) minmax(190px,.78fr) minmax(190px,.78fr); gap:10px; }
    .personal-overview-panel { min-width:0; padding:13px; border:1px solid #e0e8e2; border-radius:13px; background:#fff; }.personal-overview-panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; margin-bottom:10px; }.personal-overview-panel-heading p { margin:4px 0 0; color:var(--muted); font-size:9px; }.personal-overview-text-action { border:0; background:transparent; color:#286746; font-size:9px; cursor:pointer; }
    .overview-week-days { display:grid; grid-template-columns:repeat(7,1fr); border-bottom:1px solid #e7ece8; }.overview-week-days div { display:flex; flex-direction:column; gap:5px; padding:3px 5px 8px; border-right:1px solid #eff2ef; }.overview-week-days small { color:var(--muted); font-size:8px; }.overview-week-days b { color:#536158; font-size:10px; }.overview-week-events { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; padding-top:8px; }.overview-week-events button { min-width:0; padding:6px 7px; border:0; border-left:3px solid #528b69; border-radius:3px; background:#f3f7f4; text-align:left; cursor:pointer; }.overview-week-events button b,.overview-week-events button small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.overview-week-events button b { font-size:9px; }.overview-week-events button small { margin-top:3px; color:var(--muted); font-size:8px; }.overview-no-events { margin:10px 0 0; color:var(--muted); font-size:10px; }
    .overview-my-tasks-heading { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:5px 10px; margin-top:14px; padding-top:11px; border-top:1px solid #e7ece8; }
    .overview-my-tasks-heading h3 { margin:0; font-size:14px; font-weight:700; }
    .overview-my-tasks-heading > span { color:var(--muted); font-size:13px; }
    .overview-my-task-list { display:grid; }
    .overview-my-task { display:flex; width:100%; min-width:0; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; border:0; border-bottom:1px solid #edf0ed; background:transparent; color:inherit; text-align:left; cursor:pointer; }
    .overview-my-task > span { display:grid; min-width:0; gap:3px; }
    .overview-my-task b,.overview-my-task small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .overview-my-task b { font-size:14px; }
    .overview-my-task small,.overview-my-task time { color:var(--muted); font-size:13px; }
    .overview-my-task time { flex:none; }
    .personal-overview-attention-count { min-width:17px; padding:3px 6px; border-radius:6px; background:#fbf0dc; color:#98610f; text-align:center; font-size:9px; }.overview-attention-item { display:flex; width:100%; align-items:center; gap:7px; padding:8px 0; border:0; border-bottom:1px solid #edf0ed; background:transparent; text-align:left; cursor:pointer; }.overview-attention-item > i { width:6px; height:6px; flex:0 0 6px; align-self:flex-start; margin-top:5px; border-radius:50%; background:#b77a19; }.overview-attention-item span { min-width:0; flex:1; }.overview-attention-item b,.overview-attention-item small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.overview-attention-item b { font-size:9px; }.overview-attention-item small { margin-top:3px; color:var(--muted); font-size:8px; }.overview-attention-item em { color:#34724e; font-size:8px; font-style:normal; white-space:nowrap; }
    .overview-workload-person { padding:7px 0; }.overview-workload-person > div:first-child { gap:6px; }.overview-workload-person span { min-width:0; flex:1; }.overview-workload-person em { color:var(--muted); font-size:8px; font-style:normal; }.overview-workload-rail { margin:6px 0 0; height:3px; }
    .overview-workload-profile-link { display:block; width:fit-content; max-width:100%; padding:0; border:0; background:transparent; color:inherit; text-align:left; }
    .overview-workload-profile-link:hover b { color:var(--green-dark); text-decoration:underline; text-underline-offset:2px; }
    .overview-workload-profile-link:focus-visible { border-radius:3px; outline:2px solid #9bc9aa; outline-offset:2px; }
    .lifecycle-completion-toggle, .lifecycle-completion-indicator { display:inline-grid; place-items:center; width:32px; height:32px; padding:0; border:1px solid transparent; border-radius:50%; background:transparent; color:var(--muted); font-size:22px; line-height:1; }
    .lifecycle-completion-toggle { cursor:pointer; }
    .lifecycle-completion-toggle:hover, .lifecycle-completion-toggle:focus-visible { border-color:#cedbd1; background:#f3f7f4; color:#286b49; outline:0; }
    .lifecycle-completion-toggle.is-complete, .lifecycle-completion-indicator.is-complete { border-color:#a9cfb3; background:#e9f4ec; color:#286b49; font-weight:700; }
    @media (max-width: 900px) { .personal-overview-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }.personal-overview-insights { grid-template-columns:1fr 1fr; }.personal-overview-week { grid-column:1/-1; } }
    @media (max-width: 620px) { .personal-overview-section-heading { align-items:flex-start; flex-direction:column; }.personal-overview-controls,.personal-overview-toolbar { width:100%; }.personal-overview-toolbar { justify-content:flex-start; }.personal-overview-gantt-scale-row { justify-content:flex-start; }.personal-overview-toolbar-divider { display:none; }.personal-overview-toolbar select { max-width:120px; }.personal-overview-job-grid { grid-template-columns:1fr; }.personal-overview-insights { grid-template-columns:1fr; }.personal-overview-week { grid-column:auto; }.personal-overview-job-grid.is-list .personal-overview-job-card { grid-template-columns:1fr 1fr; }.personal-overview-job-grid.is-list .personal-overview-job-name { grid-column:1/-1; grid-row:2; } }
    .personal-overview-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .personal-overview-stat { display: flex; min-width: 0; align-items: center; gap: 13px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
    .personal-overview-stat small, .personal-overview-stat strong { display: block; }
    .personal-overview-stat small { color: var(--muted); font-size: 12px; }
    .personal-overview-stat strong { margin-top: 3px; color: var(--ink); font-size: 21px; line-height: 1.1; }
    .personal-overview-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
    .personal-overview-section-heading h2 { margin: 0; color: var(--ink); font-size: 18px; }
    .personal-overview-section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
    .personal-overview-job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
    .personal-overview-job-card { display: flex; min-width: 0; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
    .personal-overview-job-card.is-working { border-color: #9bc9aa; box-shadow: inset 3px 0 var(--green); }
    .personal-overview-job-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .personal-overview-job-number { color: var(--muted); font-size: 11px; font-weight: 650; }
    .personal-overview-job-top .status { padding: 4px 8px; border-radius: 999px; font-size: 11px; }
    .personal-overview-job-name { display: block; width: fit-content; max-width: 100%; margin: 14px 0 4px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; text-align: left; cursor: pointer; }
    .personal-overview-job-name:hover { color: var(--green-dark); text-decoration: underline; }
    .personal-overview-job-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
    .personal-overview-empty { padding: 30px 18px; border: 1px dashed var(--line); border-radius: 13px; background: var(--surface); text-align: center; }
    .personal-overview-empty .empty-copy { margin-bottom: 0; }
    @media (max-width: 900px) { .personal-overview-job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (max-width: 640px) { .personal-overview-summary { grid-template-columns: 1fr; gap: 9px; } .personal-overview-job-grid { grid-template-columns: 1fr; } }
    .stat-card { padding: 17px 18px; border: 0; border-radius: 10px; background: var(--surface); }
    .stat-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 550; }
    .stat-value { margin-top: 12px; font-size: 25px; font-weight: 690; letter-spacing: -.8px; }
    .project-summary-icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 10px; }
    .project-summary-icon svg { width: 18px; height: 18px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
    .projects-icon { background: #e7f1eb; color: #39785a; }
    .routing-icon { background: #eaf2fa; color: #397cb2; }
    .development-icon { background: #f0eafb; color: #8059c6; }
    .review-icon { background: #eaf0ff; color: #536fc1; }
    .hold-icon { background: #fff2df; color: #9a6616; }

    .project-panel { overflow: hidden; border: 0; border-radius: 11px; background: var(--surface); }
    .panel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
    .panel-title { font-size: 13px; font-weight: 680; }
    .panel-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
    .panel-tools-divider { width: 1px; height: 24px; flex: 0 0 1px; margin: 0 7px; background: var(--line); }
    .project-view-toolbar-actions { display: inline-flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: 8px; }
    .project-view-toolbar-actions .outline-button, .project-bulk-actions .outline-button { min-height: 34px; padding: 0 11px; font-size: 13px; }
    .project-view-toolbar-actions .outline-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .project-view-toolbar-actions .outline-button { width: 34px; padding: 0; }
    .refresh-projects-button.is-refreshing svg { animation: refresh-projects-spin .8s linear infinite; }
    @keyframes refresh-projects-spin { to { transform: rotate(360deg); } }
    .project-refresh-toast { position:fixed; z-index:1200; right:24px; bottom:24px; max-width:min(360px,calc(100vw - 32px)); padding:12px 16px; border:1px solid #c9d8ce; border-radius:9px; background:#fff; box-shadow:0 8px 28px rgba(20,35,26,.16); color:#30483a; font-size:13px; font-weight:600; pointer-events:none; }
    .project-refresh-toast[hidden] { display:none; }
    .project-refresh-toast.is-error { border-color:#e1c5c2; color:#9f3f37; }
    .project-bulk-actions { display: inline-flex; align-items: center; gap: 7px; }
    .project-filter-dropdown { display: inline-flex; min-width: 0; }
    .project-filter-dropdown-icon { width: 100%; height: 100%; }
    .project-filter-dropdown select[hidden] { display: none; }
    .project-filter-menu { position: relative; flex: 0 0 auto; }
    .project-filter-menu > summary { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 10px; border: 0; border-radius: 7px; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 13px; white-space: nowrap; list-style: none; }
    .project-filter-menu > summary::-webkit-details-marker { display: none; }
    .project-filter-dropdown-icon .project-filter-menu, .project-filter-dropdown-icon .project-filter-menu > summary { width: 100%; height: 100%; }
    .project-filter-dropdown-icon .project-filter-menu > summary { min-height: 0; justify-content: center; padding: 0; border: 0; border-radius: 0; background: transparent; }
    .project-filter-dropdown-icon .project-filter-menu > summary::after { display: none; }
    .project-filter-dropdown-icon .project-filter-menu > summary:hover, .project-filter-dropdown-icon .project-filter-menu[open] > summary { border: 0; background: var(--green-light); color: var(--green-dark); }
    .project-filter-menu > summary::after { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ""; transform: rotate(45deg) translateY(-2px); }
    .project-filter-menu > summary:hover, .project-filter-menu[open] > summary { border-color: #b8c9bd; background: var(--green-light); color: var(--green-dark); }
    .project-filter-menu > summary:focus-visible, .project-filter-popover button:focus-visible { outline: 3px solid #9bc9aa; outline-offset: 2px; }
    .project-filter-popover { position: fixed; z-index: 1000; display: grid; min-width: 160px; max-width: min(240px, calc(100vw - 16px)); max-height: min(320px, calc(100vh - 16px)); overflow: auto; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 8px 24px rgb(25 44 34 / 13%); }
    .project-filter-menu:not([open]) > .project-filter-popover { display: none; }
    .project-filter-popover button { min-height: 33px; padding: 0 9px; border: 0; border-radius: 5px; background: transparent; color: var(--ink); cursor: pointer; font-size: 13px; text-align: left; }
    .project-filter-popover button:hover, .project-filter-popover button[aria-checked="true"] { background: var(--surface-muted, #f3f6f3); color: var(--green-dark); }
    .bulk-status-menu { position: relative; flex: 0 0 auto; }
    .bulk-status-menu > summary { display: flex; min-height: 34px; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 10px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 13px; white-space: nowrap; list-style: none; }
    .bulk-status-menu > summary::-webkit-details-marker { display: none; }
    .bulk-status-menu > summary::after { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ""; transform: rotate(45deg) translateY(-2px); }
    .bulk-status-menu > summary:hover, .bulk-status-menu[open] > summary { border-color: #b8c9bd; background: var(--green-light); color: var(--green-dark); }
    .bulk-status-menu > summary:focus-visible, .bulk-status-popover button:focus-visible { outline: 3px solid #9bc9aa; outline-offset: 2px; }
    .bulk-status-popover { position: fixed; z-index: 1000; display: grid; min-width: 180px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 8px 24px rgb(25 44 34 / 13%); }
    .bulk-status-menu:not([open]) > .bulk-status-popover { display: none; }
    .bulk-status-popover button { min-height: 33px; padding: 0 9px; border: 0; border-radius: 5px; background: transparent; color: var(--ink); cursor: pointer; font-size: 13px; text-align: left; }
    .bulk-status-popover button:hover { background: var(--surface-muted, #f3f6f3); color: var(--green-dark); }
    .project-view-toolbar-actions { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
    .project-bulk-actions[hidden] { display: none; }
    .projects-view table th:first-child, .projects-view table td:first-child { width: 52px; padding-right: 8px; padding-left: 8px; text-align: center; }
    .project-row-select { display: inline-grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 1px solid var(--green); border-radius: 50%; background: transparent; color: var(--green); cursor: pointer; font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 700; }
    .project-row-select:hover { background: var(--green-light); color: var(--green-dark); }
    .project-row-select[aria-pressed="true"] { background: var(--green); color: #fff; }
    .project-row-select:focus-visible { outline: 3px solid #9bc9aa; outline-offset: 1px; }
    .project-row-select-all { border: 0; border-radius: 0; background: transparent; color: var(--green-dark); font-size: 13px; font-weight: 700; }
    .project-row-select-all:hover, .project-row-select-all[aria-pressed="true"] { background: transparent; color: var(--green-dark); }
    .project-search-combo { display: flex; width: 300px; min-width: 230px; height: 34px; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
    .project-search-combo:focus-within { border-color: var(--green-dark); outline: 3px solid var(--green-dark); outline-offset: 2px; }
    .project-search-combo .search-wrap { min-width: 0; flex: 1 1 auto; }
    .project-search-combo .search { width: 100%; height: 32px; border: 0; border-radius: 0; background: transparent; }
    .project-search-combo .search:focus-visible { outline: 0; }
    .saved-views-control { position: relative; display: flex; width: 42px; min-width: 42px; height: 32px; flex: 0 0 42px; align-items: center; justify-content: center; border-left: 1px solid var(--line); color: var(--muted); }
    .saved-views-icon { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
    .project-search-combo .saved-views-control select { position: absolute; inset: 0; width: 100%; min-width: 0; height: 100%; padding: 0; appearance: none; opacity: 0; cursor: pointer; }
    .project-search-combo select:focus-visible { outline: 0; }
    .search-saved-delete { display: inline-grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--muted); }
    .search-saved-delete:hover { background: var(--red-light); color: var(--red); }
    .search-saved-delete:focus-visible { outline: 2px solid #9bc9aa; outline-offset: -2px; }
    .search-saved-delete[hidden] { display: none; }
    .search-saved-delete svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
    .search-wrap { position: relative; }
    .search-icon { position: absolute; top: 50%; left: 10px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
    .search {
      width: 214px;
      height: 34px;
      padding: 0 10px 0 32px;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: #fff;
      color: var(--ink);
      font-size: 13px;
    }
    .search::placeholder { color: var(--muted); opacity: 1; }
    .filter-control { height: 34px; padding: 0 28px 0 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #56615b; font-size: 13px; }
    .filter-control option, .saved-views-control select option { max-width: 180px; font-size: 13px; }
    .table-scroll { overflow-x: auto; }
    table { width: 100%; border-collapse: collapse; text-align: left; }
    thead { background: #fafbfa; }
    .sort-button { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; }
    .sort-button:hover, th[aria-sort="ascending"] .sort-button, th[aria-sort="descending"] .sort-button { color: var(--green-dark); }
    .sort-button:focus-visible { outline: 3px solid #9bc9aa; outline-offset: 3px; border-radius: 3px; }
    .sort-indicator { font-size: 13px; }
    th { height: 39px; padding: 0 17px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; white-space: nowrap; }
    td { height: 60px; padding: 0 17px; border-top: 1px solid #eef0ee; color: #56615b; font-size: 13px; white-space: nowrap; }
    .projects-view table td { border-top-color: #d5dad7; }
    .project-task-cell { white-space: normal; }
    .project-task-cell strong, .project-task-cell small { display: block; }
    .project-task-link { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
    .project-task-link:hover strong { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
    .project-task-link:focus-visible { border-radius: 2px; outline: 2px solid #9bc9aa; outline-offset: 3px; }
    .project-task-cell strong { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 13px; font-weight: 600; }
    .project-task-cell strong svg { width: 13px; height: 13px; flex: 0 0 13px; color: var(--muted); }
    .project-task-cell small { margin-top: 3px; color: var(--muted); font-size: 12px; }
    tbody tr { transition: background-color .12s; }
    tbody tr > td { transition: background-color .22s ease, box-shadow .22s ease; }
    tbody tr[data-project-row] { cursor: pointer; }
    tbody tr[data-project-row]:focus-visible { outline: 2px solid #9bc9aa; outline-offset: -2px; }
    tbody tr:hover { background: #fcfdfc; }
    tbody tr.project-row-working > td { background: #f1f7f2; }
    tbody tr.project-row-working > td:first-child { box-shadow: inset 3px 0 var(--green); }
    .active-work-indicator { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; color: var(--green-dark); vertical-align: middle; }
    .active-work-avatar { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #fff; border-radius: 50%; background: #dcebe0; color: #31583e; font-size: 13px; font-weight: 750; }
    .active-work-more { font-size: 13px; font-weight: 700; }
    .project-name-button { max-width: 320px; overflow: visible; padding: 0; border: 0; background: transparent; color: #27332c; font-size: 13px; font-weight: 650; text-align: left; text-overflow: clip; white-space: normal; }
    .project-name-button:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
    .route-proof-button { display: inline-grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: #59675e; cursor: pointer; }
    .route-proof-button svg { width: 16px; height: 16px; }
    .route-proof-button:hover { border-color: #b6c9bc; background: #f3f7f3; color: var(--green-dark); }
    .route-proof-button.has-active-comments { border-color: #78a887; background: #edf6ef; color: #287344; }
    .route-proof-button.has-active-comments:hover { border-color: #4e8b60; background: #e2f0e5; }
    .route-proof-button.is-ready { border-color: #74a984; background: #e9f5ec; color: #237542; }
    .route-proof-button.is-ready:hover { border-color: #3f8757; background: #dcefe1; }
    .workflow-flow-icon { color: var(--green-dark); }
    .workflow-flow-icon svg { width: 48px; height: 48px; }
    .project-name-line { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
    .project-stage-ready-icon { display:inline-flex; flex:0 0 auto; align-items:center; color:#2d7a4c; }
    .project-stage-ready-icon svg { display:block; width:16px; height:16px; }
    .project-pinned-icon { width: 17px; height: 17px; flex: 0 0 17px; color: #8a6412; vertical-align: middle; }
    .project-access-lock-icon { width: 20px; height: 20px; flex: 0 0 20px; color: #c62828; vertical-align: middle; }
    .project-shared-indicator { display: inline-flex; width: 15px; height: 15px; flex: 0 0 15px; align-items: center; color: var(--green-dark); vertical-align: middle; }
    .project-shared-indicator svg { display: block; width: 15px; height: 15px; }
    .hot-job-flame { display: inline-flex; width: 14px; height: 16px; flex: 0 0 14px; align-items: center; color: #df493d; vertical-align: middle; transition: color .22s ease; }
    .hot-job-flame[hidden] { display: none; }
    .hot-job-flame svg { display: block; width: 14px; height: 16px; transition: fill .22s ease; }
    .hot-job-flame svg,
    .project-hot-toggle-button.is-hot svg { transform-origin: 50% 85%; animation: hot-flame-flicker 1.1s ease-in-out infinite alternate; }
    @keyframes hot-flame-flicker {
      0% { transform: rotate(-5deg) scale(.96); }
      100% { transform: rotate(5deg) scale(1.04); }
    }
    :root.motion-disabled .hot-job-flame svg,
    :root.motion-disabled .project-hot-toggle-button.is-hot svg { animation: none; }
    .project-hot-toggle-button { display: inline-grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #9b756f; transition: color .22s ease, background-color .22s ease, border-color .22s ease; }
    .project-hot-toggle-button svg { width: 19px; height: 20px; transition: fill .22s ease; }
    .project-hot-toggle-button.is-hot svg { fill: currentColor; stroke: none; }
    .project-hot-toggle-button:hover { border-color: #ecc9c4; background: #fff7f5; color: #b9453b; }
    .project-hot-toggle-button.is-hot { border-color: #e7b4ae; background: #fcecea; color: #c33c31; }
    #detailsHotIndicator { width: 28px; height: 28px; flex-basis: 28px; justify-content: center; border: 1px solid #e7b4ae; border-radius: 6px; background: #fcecea; }
    .project-hot-toggle-button[hidden] { display: none; }
    tbody tr.project-row-hot > td { background: #fff8f6; }
    tbody tr.project-row-hot.project-row-working > td { background: #fff4f1; }
    tbody tr.project-row-hot > td:first-child { box-shadow: inset 3px 0 #e46a5f; }
    .billing-type-badge { display: inline-flex; align-items: center; padding: 3px 7px; border: 1px solid #cfe4d5; border-radius: 999px; background: #edf6ef; color: #286443; font-size: 13px; font-weight: 650; white-space: nowrap; }
    .billing-type-badge.non-billable { border-color: #dce1e6; background: #f1f3f5; color: #5e6874; }
    .owner-cell { display: flex; align-items: center; gap: 8px; }
    .owner-avatar { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #31583e; color: #fff; font-size: 13px; font-weight: 700; }
    .status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 20px; font-size: 13px; font-weight: 620; }
    .status::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }
    #detailsStatus::before { display: none; }
    #detailsStatus { padding: 6px 12px; font-size: 13px; }
    .status.planning { background: #f8edf2; color: #a34e72; }
    .status.in-progress { border: 1px solid #b9d8c4; background: #deeee3; color: #185a39; }
    .status.in-development { background: #f1edfb; color: #7156a4; }
    .status.routing { background: #eaf2f8; color: #346b8d; }
    .status.in-review { background: #fde7f3; color: #9d174d; }
    .status.on-hold { background: var(--amber-light); color: var(--amber); }
    .status.completed { background: #eff1ef; color: var(--muted); }
    .status.hot { background: #fff0e8; color: #ba4c1c; }
    .status-select { min-height: 29px; max-width: 150px; padding: 4px 8px; border: 1px solid currentColor; background-color: #fff; cursor: pointer; text-align: center; }
    .status-select option { text-align: center; }
    .status-select.planning { background-color: #f8edf2; }
    .status-select.in-progress { border-color: #256b4b; background-color: #eaf4ee; color: #256b4b; }
    .status-select.in-development { background-color: #f1edfb; }
    .status-select.routing { background-color: #eaf2f8; }
    .status-select.in-review { background-color: #fde7f3; color: #9d174d; }
    .status-select.on-hold { background-color: var(--amber-light); }
    .status-select.completed { background-color: #eff1ef; }
    .status-select:focus-visible { outline: 3px solid #9bc9aa; outline-offset: 2px; }
    .priority { display: flex; align-items: center; gap: 5px; color: #68736d; font-size: 13px; }
    .row-actions { display: flex; justify-content: flex-end; gap: 4px; }
    .work-button { min-height: 28px; padding: 0 9px; border: 1px solid #b8d2c1; border-radius: 6px; background: #e6f1e9; color: #185a39; font-size: 13px; font-weight: 650; }
    .work-button[hidden] { display: none; }
    .work-button:hover { border-color: #8fb99d; background: #d8eadd; }
    .work-button.active { border-color: var(--blue); background: var(--blue); color: #fff; }
    .work-button.active:hover { border-color: #345584; background: #345584; }
    .detail-work-button { position: relative; display: inline-flex; box-sizing: border-box; width: 120px; min-width: 120px; min-height: 40px; align-items: center; justify-content: center; padding: 0 10px; font-size: 13px; transition: background .15s, transform .15s; }
    .detail-work-button:hover { transform: translateY(-1px); }
    .detail-work-label-group { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
    .detail-work-clock-icon { width: 16px; height: 16px; flex: 0 0 16px; }
    #currentMemberWorkLabel { text-align: center; }
    .detail-work-timer { font: inherit; font-size: 10px; font-variant-numeric: tabular-nums; }
    #currentMemberWorkTimer { position: absolute; right: 10px; }
    #currentMemberWorkTimer[hidden] { display: inline-block; width: 7ch; visibility: hidden; }
    .icon-button { display: grid; width: 29px; height: 29px; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--muted); }
    .icon-button:hover { background: #f0f3f0; color: var(--green-dark); }
    .icon-button.delete:hover { background: var(--red-light); color: var(--red); }
    .empty-state { padding: 56px 20px 60px; text-align: center; }
    .empty-icon { display: grid; width: 42px; height: 42px; margin: 0 auto 13px; place-items: center; border-radius: 12px; background: var(--green-light); color: var(--green); }
    .empty-title { font-size: 14px; font-weight: 680; }
    .empty-copy { margin: 7px auto 16px; color: var(--muted); font-size: 13px; }
    .table-footer { display: flex; justify-content: space-between; padding: 12px 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
    dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; overflow: auto; border: 1px solid #e7ebe7; border-radius: 13px; background: #fff; box-shadow: var(--shadow); color: var(--ink); }
    #shareJobDialog { overflow: visible; }
    #profileDialog[open] { position: fixed; z-index: 2147483000; display: flex; width: min(360px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); margin: 0; flex-direction: column; overflow: auto; border-radius: 11px; }
    #profileForm { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; }
    #profileForm .dialog-header, #profileForm .dialog-footer { flex: 0 0 auto; }
    #profileForm .profile-sign-out-row { flex: 0 0 auto; padding: 12px 23px 16px; border-top: 1px solid var(--line); }
    #profileForm .form-body { min-height: 0; flex: 1 1 auto; overflow: visible; }
    #proofNotificationsDialog[open] { position: fixed; z-index: 2147483000; display: flex; width: min(360px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); margin: 0; flex-direction: column; overflow: auto; border-radius: 11px; background: var(--surface); }
    #proofNotificationsDialog .dialog-header { flex: 0 0 auto; }
    #proofNotificationsDialog .dialog-footer { flex: 0 0 auto; padding: 10px 15px; }
    #proofNotificationsDialog .proof-notification-list { min-height: 0; flex: 1 1 auto; overflow-y: auto; }
    dialog::backdrop { background: rgb(22 32 26 / 36%); backdrop-filter: blur(2px); }
    .push-confirm-dialog { width: min(420px, calc(100% - 32px)); overflow: hidden; }
    .push-confirm-heading { align-items: center; }
    .push-confirm-title-wrap { display: flex; align-items: center; gap: 12px; }
    .push-confirm-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 11px; background: var(--green-light); color: var(--green); }
    .push-confirm-body { display: grid; gap: 17px; padding: 20px 23px; }
    .push-confirm-copy { margin: 0; color: #647169; font-size: 13px; line-height: 1.55; }
    .push-confirm-summary { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fafbfa; }
    .push-confirm-summary > div { min-width: 0; }
    .push-confirm-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 13px; font-weight: 750; letter-spacing: .7px; text-transform: uppercase; }
    .push-confirm-value { display: block; overflow: hidden; color: #354139; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
    .push-confirm-arrow { color: var(--muted); font-size: 15px; }
    .push-confirm-dialog .dialog-footer { justify-content: flex-end; }
    .push-confirm-dialog .primary-button { min-height: 36px; font-size: 13px; }
    .app-message-dialog { width: min(420px, calc(100% - 32px)); overflow: hidden; }
    .app-message-copy { margin: 0; color: #647169; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
    .app-message-dialog:has(.type-delete-confirm) .app-message-copy { font-size: 13px; }
    .app-message-dialog.large-copy .app-message-copy { font-size: 14px; }
    .app-message-dialog .dialog-footer { justify-content: flex-end; }
    .app-message-dialog .primary-button { min-height: 36px; font-size: 13px; }
    .app-message-dialog.large-copy .primary-button,
    .app-message-dialog.large-copy .secondary-button { font-size: 14px; }
    .app-message-dialog .primary-button.destructive { background: #b3483f; }
    .app-message-dialog .primary-button.destructive:hover { background: #963a32; }
    .app-message-dialog .secondary-button[hidden] { display: none; }
    .dialog-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 21px 23px 17px; border-bottom: 1px solid var(--line); }
    .dialog-title { margin: 0; font-size: 17px; font-weight: 680; letter-spacing: -.4px; }
    .dialog-title { color: var(--ink); }
    .notification-dialog-title { display: flex; align-items: center; gap: 8px; }
    .notification-dialog-title svg { flex: 0 0 auto; color: var(--green); }
    .dialog-subtitle { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
    .close-button { display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--muted); }
    .close-button:hover { background: #f2f4f2; }
    .form-body { display: grid; gap: 14px; padding: 19px 23px; }
    .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    #newProjectPage { width: 100%; max-width: 920px; margin-inline: auto; }
    .new-project-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 39px 0 27px; }
    .new-project-form { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
    .new-project-form .dialog-header { display: none; }
    .new-project-form .form-body { gap: 24px; padding: 28px; }
    .project-form-section { display: grid; gap: 16px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
    .project-form-section:last-child { padding-bottom: 0; border-bottom: 0; }
    .project-form-section-title { display: flex; min-height: 28px; align-items: center; gap: 8px; margin: 0; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: -.15px; }
    #projectTeamHeading { width: 100%; }
    #projectTeamHeading .project-team-add-button { flex: 0 0 28px; margin-left: auto; }
    .project-form-section-icon { width: 17px; height: 17px; flex: 0 0 17px; color: var(--green); }
    .project-form-section .field-row { gap: 16px; }
    .project-custom-links-field { display: grid; gap: 16px; }
    .project-custom-links-heading { display: flex; align-items: center; justify-content: space-between; }
    .project-custom-links-heading .field-label { margin: 0; }
    .project-custom-links-list { display: grid; gap: 8px; }
    .project-custom-link-row { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(180px, 2fr) auto; gap: 8px; align-items: center; }
    #addProjectCustomLinkButton { margin-top: 8px; }
    .project-custom-link-row .secondary-button { min-height: 36px; }
    @media (max-width: 560px) { .project-custom-link-row { grid-template-columns: minmax(0, 1fr) auto; } .project-custom-link-row input[type="url"] { grid-column: 1; } .project-custom-link-row .secondary-button { grid-column: 2; grid-row: 1 / span 2; } }
    .field label, .field-label { display: block; margin-bottom: 6px; color: #55615a; font-size: 13px; font-weight: 650; }
    .field.type-delete-confirm label { margin-bottom: 16px; }
    .field input, .field select, .field textarea { width: 100%; min-height: 36px; padding: 8px 10px; border: 1px solid #e3e8e3; border-radius: 7px; background: #fff; color: var(--ink); font-size: 13px; }
    .field input[type="file"] { min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; appearance: auto; }
    .field label.cover-image-field-label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
    .cover-image-field-label svg { width: 16px; height: 16px; color: var(--green); }
    #customTeamCoverInput:focus-visible + .cover-image-field-label { outline: 3px solid #9bc9aa; outline-offset: 2px; }
    #projectBrandImageInput:focus-visible + .cover-image-field-label { outline: 3px solid #9bc9aa; outline-offset: 2px; }
    #projectBrandDarkImageInput:focus-visible + .cover-image-field-label { outline: 3px solid #9bc9aa; outline-offset: 2px; }
    .project-brand-logo-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .project-brand-logos-field > .field-hint { margin-top: 10px; }
    .project-brand-logo-option { display: grid; min-width: 0; align-content: start; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--canvas); }
    .project-brand-logo-option-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 650; }
    .project-brand-logo-option-title span { color: var(--muted); font-size: 12px; font-weight: 500; }
    .project-brand-logo-option-upload { display: flex; min-width: 0; align-items: center; gap: 8px; }
    .project-brand-logo-option .cover-image-field-label { min-height: 32px; flex: 0 0 auto; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 600; }
    .project-brand-logo-option .cover-image-field-label:hover { border-color: var(--green); }
    .project-brand-logo-option .cover-image-field-label svg { width: 15px; height: 15px; }
    .project-brand-logo-option .cover-image-filename { min-width: 0; flex: 1 1 auto; font-size: 12px; }
    .project-brand-logo-option .secondary-button { min-height: 30px; flex: 0 0 auto; padding: 4px 7px; font-size: 12px; }
    .project-brand-image-preview { display: block; width: auto; max-width: 100%; max-height: 72px; margin: 0; object-fit: contain; object-position: left center; }
    .project-brand-image-preview-light { box-sizing: border-box; padding: 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
    .project-brand-image-preview-dark { padding: 6px; border: 1px solid #3b4048; border-radius: 6px; background: #111318; }
    @media (max-width: 620px) { .project-brand-logo-options { grid-template-columns: 1fr; } }
    .project-brand-image-preview[hidden] { display: none; }
    .cover-image-filename { display: inline-block; max-width: 260px; overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; }
    .field textarea { min-height: 67px; resize: vertical; }
    @media (min-width: 621px) { #projectVersionInput { min-height: 67px; } }
    .field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
    .field-hint { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
    .share-duration-field { display: grid; gap: 8px; }
    .share-member-picker { position: relative; }
    .share-member-results { position: fixed; z-index: 2147483000; display: grid; max-height: 190px; overflow-y: auto; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.14); }
    .share-member-results[hidden] { display: none; }
    .share-member-option { width: 100%; padding: 8px 10px; border: 0; border-radius: 5px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
    .share-member-option:hover, .share-member-option:focus-visible { background: #eef3ef; outline: none; }
    .share-member-empty { padding: 8px 10px; color: var(--muted); font-size: 13px; }
    .share-duration-toggle { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; cursor: pointer; }
    .share-duration-toggle input { width: 15px !important; min-height: 15px !important; margin: 0; padding: 0 !important; accent-color: var(--green); }
    #shareJobDurationOptions[hidden] { display: none; }
    #projectDeleteProofButton { margin-top: 12px; border-color: #b3483f; background: #b3483f; color: #fff; }
    #projectDeleteProofButton:hover { border-color: #963a32; background: #963a32; }
    .profile-permission-level { min-height: 38px; display: flex; align-items: center; padding: 0 11px; border: 1px solid var(--line); border-radius: 7px; background: #f7f8f7; color: #526057; font-size: 13px; }
    .profile-role-field { padding-bottom: 0; border-bottom: 0; }
    #profileForm .field input:disabled, #profileForm .field select:disabled { border-color: #e2e7e3; background: #f5f7f6; color: #68746d; opacity: 1; cursor: default; }
    #profileForm .field select:disabled { appearance: none; background-image: none; }
    .team-editor { display: grid; gap: 8px; }
    .team-editor-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .65fr) minmax(100px, .55fr) minmax(76px, .25fr); gap: 7px; align-items: center; }
    .team-editor-row input, .team-editor-row select { width: 100%; min-height: 36px; padding: 8px 10px; border: 1px solid #e3e8e3; border-radius: 7px; background: #fff; color: var(--ink); font-size: 13px; }
    .team-remove-button { width: 100%; min-height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #68736d; font-size: 13px; }
    .project-form-section .project-remove-button { min-height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #68736d; font-size: 13px; font-weight: 600; }
    .team-department { display: inline-block; margin-left: 5px; padding: 3px 6px; border-radius: 5px; background: #f0f3f0; color: var(--muted); font-size: 13px; font-weight: 600; }
    .dialog-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 13px 23px 18px; border-top: 1px solid var(--line); background:#f3f6f4; }
    .secondary-button { min-height: 36px; padding: 0 13px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #55615a; font-size: 13px; font-weight: 600; }
    .secondary-button:hover { background: #f8faf8; }
    :is(.primary-button, .outline-button, .secondary-button, .icon-button):not(:disabled) { transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease; }
    :is(.primary-button, .outline-button, .secondary-button, .icon-button):not(:disabled):active { transform: translateY(1px); }
    .dialog-footer .primary-button { min-height: 36px; font-size: 13px; }
    .primary-button[hidden] { display: none; }
    .detail-body { display: grid; gap: 18px; padding: 21px 23px; }
    .lifecycle-panel { display: block; padding: 0 !important; }
    .lifecycle-toolbar-actions { display:flex; align-items:center; gap:10px; }
    .lifecycle-view-toggle { display:flex; padding:2px; border:1px solid var(--line); border-radius:8px; background:#f7f9f7; }
    .lifecycle-view-toggle button { min-height:30px; padding:0 10px; border:0; border-radius:6px; background:transparent; color:#68736d; font:inherit; font-size:12px; cursor:pointer; }
    .lifecycle-view-toggle button[aria-pressed="true"] { background:#fff; color:var(--green-dark); font-weight:650; box-shadow:0 1px 3px rgba(25,40,30,.12); }
    .lifecycle-gantt-scroll { overflow-x:auto; margin-bottom:22px; border:1px solid #dce6df; border-radius:10px; background:var(--surface); box-shadow:0 1px 2px rgba(24,45,34,.04); }
    .lifecycle-gantt { min-width:calc(430px + var(--lifecycle-gantt-weeks) * 68px); }
    .lifecycle-gantt-head,.lifecycle-gantt-row { display:grid; grid-template-columns:250px minmax(0,1fr) 100px; }
    .lifecycle-gantt-head { background:#eaf1ec; color:#4d6256; font-size:13px; font-weight:650; }
    .lifecycle-gantt-head > span { position:sticky; left:0; z-index:3; padding:10px 14px; background:inherit; }
    .lifecycle-gantt-head > div { display:grid; grid-column:2; grid-template-columns:repeat(var(--lifecycle-gantt-weeks),minmax(0,1fr)); }
    .lifecycle-gantt-head > div span { padding:10px 4px; border-left:1px solid var(--line); white-space:nowrap; text-align:center; }
    .lifecycle-gantt-row { min-height:56px; border-top:1px solid #dfe8e2; background:var(--surface); }
    .lifecycle-gantt-task { position:sticky; left:0; z-index:1; display:flex; min-width:0; flex-direction:column; justify-content:center; gap:3px; padding:7px 14px; background:var(--surface); }
    .lifecycle-gantt-task b { overflow:hidden; color:#354139; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
    .lifecycle-gantt-task small { overflow:hidden; color:var(--muted); font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
    .lifecycle-gantt-track { position:relative; align-self:stretch; background-color:#f7faf8; background-image:linear-gradient(to right,transparent calc(100% - 1px),#dfe8e2 calc(100% - 1px)); background-size:calc(100% / var(--lifecycle-gantt-weeks)) 100%; }
    .lifecycle-gantt-bar { position:absolute; top:50%; display:flex; align-items:center; height:28px; min-width:24px; box-sizing:border-box; padding:0 8px; transform:translateY(-50%); overflow:hidden; border-radius:8px; background:var(--lifecycle-task-color); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--lifecycle-task-color),#000 18%); color:#fff; font-size:13px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
    .lifecycle-gantt-bar.is-complete { filter:saturate(1.2) brightness(.9); }
    .lifecycle-gantt-progress { display:flex; align-items:center; padding:0 10px; color:var(--muted); font-size:13px; }
    .lifecycle-gantt-progress.is-complete { color:#2e704b; font-weight:650; }
    :root[data-theme="dark"] .lifecycle-gantt-scroll { border-color:#3b414b; background:var(--surface); box-shadow:0 1px 3px rgba(0,0,0,.2); }
    :root[data-theme="dark"] .lifecycle-gantt-head { border-color:var(--line); background:#292e36; color:#d8dce3; }
    :root[data-theme="dark"] .lifecycle-gantt-row { border-color:#3b414b; background:var(--surface); }
    :root[data-theme="dark"] .lifecycle-gantt-task { background:var(--surface); }
    :root[data-theme="dark"] .lifecycle-gantt-task b,
    :root[data-theme="dark"] .lifecycle-gantt-progress { color:var(--ink); }
    :root[data-theme="dark"] .lifecycle-gantt-task small { color:var(--muted); }
    :root[data-theme="dark"] .lifecycle-gantt-track { background-color:#20242b; background-image:linear-gradient(to right,transparent calc(100% - 1px),#3b414b calc(100% - 1px)); }
    @media (max-width:640px) {
      .lifecycle-gantt { min-width:calc(220px + var(--lifecycle-gantt-weeks) * 54px); }
      .lifecycle-gantt-head,.lifecycle-gantt-row { grid-template-columns:130px minmax(0,1fr) 80px; }
      .lifecycle-gantt-task { padding-right:7px; padding-left:9px; }
      .lifecycle-gantt-task b,.lifecycle-gantt-task small { max-width:100%; }
      .lifecycle-gantt-progress { padding:0 5px; font-size:13px; }
    }
    .page-action svg { width: 19px; height: 19px; }
    #addProjectButton { justify-content: flex-start; }
    .lifecycle-add-button { flex: 0 0 auto; width: 36px; height: 36px; min-width: 36px; min-height: 36px; aspect-ratio: 1; padding: 0; border-radius: 50%; display: inline-grid; place-items: center; font-size: 26px; line-height: 1; }
    .lifecycle-table-wrap { overflow-x: auto; }
    .lifecycle-table { min-width: 920px; }
    .lifecycle-table .lifecycle-cell-number { width: 42px; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; }
    .lifecycle-table th { padding: 9px 18px; background: #f7f9f7; border-bottom: 1px solid var(--line); color: #68736d; font-size: 13px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
    .lifecycle-table td { padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
    .lifecycle-table tbody tr:last-child td { border-bottom: 0; }
    .lifecycle-table tbody tr:hover { background: #fafcfb; }
    .lifecycle-table tbody tr[data-editable] { cursor: pointer; }
    .lifecycle-table tr.flash { animation: lifecycleFlash 1.4s ease; }
    .lifecycle-cell-task-inner { display: flex; gap: 10px; align-items: center; }
    .lifecycle-cell-description { min-width: 0; }
    .lifecycle-description-input { width: 100%; min-height: 62px; padding: 7px 9px; border: 1px solid #cbd9ce; border-radius: 7px; color: var(--ink); font: inherit; font-size: 13px; line-height: 1.5; resize: vertical; }
    .lifecycle-table tbody tr[data-editable] .lifecycle-cell-description { cursor: text; }
    .lifecycle-cell-description .lifecycle-task-notes { margin-top: 0; }
    .lifecycle-cell-duration { color: #526057; font-size: 13px; white-space: nowrap; }
    .lifecycle-cell-dates { color: #526057; font-size: 13px; white-space: nowrap; }
    .lifecycle-inline-add-row { background: #f6faf7; }
    .lifecycle-inline-add-row td { padding: 8px; }
    .lifecycle-inline-add-row input:not([type="checkbox"]),.lifecycle-inline-add-row textarea { box-sizing: border-box; width: 100%; height: 38px; min-height: 38px; min-width: 110px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; line-height: 22px; }
    .lifecycle-inline-add-row textarea { resize: none; }
    .lifecycle-cell-dependencies { width: auto; min-width: 0; max-width: none; }
    .lifecycle-dependency-picker { display: block; width: 164px; max-width: 100%; }
    .lifecycle-dependency-picker summary { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; min-height: 38px; justify-content: flex-start; }
    .lifecycle-dependency-label { display: block; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .lifecycle-dependency-picker summary::after { margin-left: auto; }
    .lifecycle-dependency-picker[data-empty] summary { color: var(--muted); cursor: default; }
    .lifecycle-dependency-picker[data-empty] summary::after { display: none; }
    .lifecycle-entry-table .lifecycle-cell-dependencies { width: 180px; min-width: 180px; max-width: 180px; }
    .lifecycle-entry-table .lifecycle-dependency-picker { width: 164px; }
    .lifecycle-inline-actions { display: flex; align-items: center; gap: 6px; }
    .lifecycle-inline-actions .primary-button,.lifecycle-inline-actions .outline-button { min-height: 32px; padding: 0 9px; font-size: 12px; }
    .lifecycle-cell-actions { width: 1%; white-space: nowrap; }
    .lifecycle-unassigned { color: var(--muted); font-size: 13px; }
    .lifecycle-task-marker { flex: none; width: 10px; height: 10px; border-radius: 3px; }
    .lifecycle-task-title { margin-top: 0; color: #354139; font-size: 13px; font-weight: 680; overflow-wrap: anywhere; }
    .lifecycle-task-notes { margin-top: 4px; color: #68736d; font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
    .lifecycle-task-assignees { display: flex; flex-wrap: wrap; gap: 6px; }
    .lifecycle-task-assignee { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px 3px 3px; border-radius: 12px; background: #f0f4f1; color: #526057; font-size: 13px; font-weight: 600; }
    .lifecycle-task-assignee .owner-avatar { width: 19px; height: 19px; font-size: 13px; }
    .lifecycle-task-actions { display: flex; gap: 12px; }
    .lifecycle-task-actions button { padding: 0; border: 0; background: transparent; color: var(--green-dark); font-size: 13px; font-weight: 620; }
    .lifecycle-table tbody td { box-sizing: border-box; height: 60px; }
    .lifecycle-table .lifecycle-cell-task-inner { min-width: 0; }
    .lifecycle-table .lifecycle-task-title,.lifecycle-table .lifecycle-task-notes { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
    .lifecycle-table .lifecycle-task-notes { white-space: normal; }
    .lifecycle-table .lifecycle-task-assignees { max-height: 38px; overflow: hidden; }
    .lifecycle-task-actions button.delete { color: var(--red); }
    .lifecycle-empty { padding: 32px 20px; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }
    #lifecycleTaskDialog { width: min(920px, calc(100% - 32px)); }
    .lifecycle-calendar { margin-bottom: 18px; border: 0; border-radius: 0; overflow: hidden; background: #fff; }
    .lifecycle-cal-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line); }
    .lifecycle-cal-title { font-size: 13px; font-weight: 680; }
    .lifecycle-cal-nav { display: flex; gap: 4px; }
    .lifecycle-cal-nav button { min-width: 28px; height: 26px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #526057; font-size: 13px; cursor: pointer; }
    .lifecycle-cal-nav button:hover, .lifecycle-cal-nav button:focus-visible { background: #f2f6f3; }
    .lifecycle-cal-weekdays, .lifecycle-cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
    .lifecycle-cal-weekdays div { padding: 6px 8px; background: #f7f9f7; border-bottom: 1px solid var(--line); color: #68736d; font-size: 13px; font-weight: 650; text-transform: uppercase; }
    .lifecycle-cal-week { grid-auto-rows: 20px; grid-template-rows: 22px; min-height: 64px; padding-bottom: 6px; border-bottom: 1px solid var(--line); row-gap: 2px; }
    .lifecycle-cal-week:last-child { border-bottom: 0; }
    .lifecycle-cal-day { border-left: 1px solid var(--line); padding: 4px 6px; color: #526057; font-size: 13px; }
    .lifecycle-cal-day:first-child { border-left: 0; }
    .lifecycle-cal-day.outside { background: #fafbfa; color: var(--muted); }
    .lifecycle-cal-day.today span { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin: -2px 0 0 -3px; border-radius: 9px; background: var(--green); color: #fff; font-weight: 650; }
    .lifecycle-cal-bar { z-index: 1; border: 0; text-align: left; cursor: pointer; font-family: inherit; margin: 0 3px; padding: 0 7px; overflow: hidden; border-radius: 0; background: var(--lifecycle-task-color); color: #fff; font-size: 13px; font-weight: 600; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
    .lifecycle-cal-bar:hover, .lifecycle-cal-bar:focus-visible { filter: brightness(1.12); outline: 2px solid var(--ink); outline-offset: 1px; }
    @keyframes lifecycleFlash { 0%, 60% { background: #eef6f1; } 100% { background: transparent; } }
    .lifecycle-cal-bar.continues-before { margin-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
    .lifecycle-cal-bar.continues-after { margin-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
    .lifecycle-entry-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
    .lifecycle-entry-table { width: 100%; min-width: 720px; border-collapse: collapse; }
    .lifecycle-entry-table th { padding: 8px 10px; background: #f7f9f7; border-bottom: 1px solid var(--line); color: #68736d; font-size: 13px; font-weight: 650; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
    .lifecycle-entry-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
    .lifecycle-entry-table tr:last-child td { border-bottom: 0; }
    .lifecycle-entry-table input, .lifecycle-entry-table select, .lifecycle-entry-table textarea { width: 100%; min-width: 0; }
    .lifecycle-entry-table textarea { min-height: 62px; resize: vertical; }
    .lifecycle-inline-add-row .lifecycle-assign summary { box-sizing: border-box; height: 38px; min-height: 38px; }
    .lifecycle-assign summary { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 13px; cursor: pointer; list-style: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .lifecycle-assign summary::-webkit-details-marker { display: none; }
    .lifecycle-assign summary::after { content: ""; flex: none; width: 6px; height: 6px; border-right: 1.5px solid #68736d; border-bottom: 1.5px solid #68736d; transform: rotate(45deg) translateY(-2px); }
    .lifecycle-assign summary:focus-visible, .lifecycle-assign[open] summary { border-color: var(--green); outline: 0; }
    .lifecycle-assign-menu { position: fixed; z-index: 20; display: grid; max-height: 40vh; padding: 4px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
    .lifecycle-assign-menu label { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; font-size: 13px; cursor: pointer; }
    .lifecycle-assign-menu label:hover { background: #f2f6f3; }
    .lifecycle-assign-hint { padding: 6px 8px 4px; color: var(--muted); font-size: 13px; }
    .lifecycle-assign-menu input { width: auto; margin: 0; }
    .lifecycle-assign-empty { padding: 7px 8px; color: var(--muted); font-size: 13px; }
    .lifecycle-entry-num { width: 28px; padding-top: 14px !important; color: var(--muted); font-size: 13px; }
    .lifecycle-entry-table .col-step { width: 24%; } .lifecycle-entry-table .col-date { width: 20%; }
    .lifecycle-date-range { display: grid; gap: 6px; }
    .lifecycle-date-range label { display: grid; gap: 2px; color: #68736d; font-size: 13px; }
    .lifecycle-date-range label span { color: var(--muted); } .lifecycle-entry-table .col-who { width: 25%; } .lifecycle-entry-table .col-act { width: 36px; }
    .lifecycle-task-entry-remove { display: grid; place-items: center; width: 26px; height: 26px; margin-top: 4px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--red); cursor: pointer; }
    .lifecycle-task-entry-remove:hover, .lifecycle-task-entry-remove:focus-visible { background: #f8ecea; }
    .lifecycle-remove-task { margin-right: auto; border-color: #e6c9c6; color: var(--red); }
    .lifecycle-remove-task:hover { background: #f8ecea; }
    .lifecycle-add-entry { justify-self: start; }
    .detail-label { margin-bottom: 7px; color: var(--muted); font-size: 13px; font-weight: 750; letter-spacing: .8px; text-transform: uppercase; }
    .version-name-label { display: flex; align-items: center; gap: 5px; }
    .version-name-tooltip { display: inline-grid; width: 14px; height: 14px; place-items: center; color: var(--muted); cursor: help; }
    .version-name-tooltip svg { width: 13px; height: 13px; }
    .version-name-tooltip:focus-visible { border-radius: 50%; outline: 2px solid #9bc9aa; outline-offset: 2px; }
    .detail-description { color: #435047; font-size: 13px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
    .project-notes-list { display: grid; gap: 10px; max-width: 760px; margin-bottom: 20px; }
    .project-note-post { position: relative; padding: 12px 42px 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfb; }
    .project-note-post.pinned { border-color: #a9c8b2; background: #f7faf7; }
    .project-note-pin-button { position: absolute; top: 9px; right: 10px; display: grid; width: 26px; height: 26px; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); }
    .project-note-pin-button:hover, .project-note-pin-button[aria-pressed="true"] { border-color: #c7dbcB; background: #edf5ef; color: var(--green-dark); }
    .project-note-pin-button svg { width: 15px; height: 15px; }
    .project-note-post-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; margin-bottom: 6px; color: var(--muted); font-size: 13px; }
    .project-note-post-author { color: #354139; font-size: 13px; font-weight: 680; }
    .project-note-post-copy { margin: 0; color: #435047; font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
    .project-note-post-copy p { margin: 0; }
    .project-note-post-copy p + p { margin-top: 6px; }
    #overviewPinnedNote { display: flex; }
    .overview-pinned-note { width: 100%; padding: 10px 12px; border: 1px solid #a9c8b2; border-radius: 0; background: #f7faf7; }
    .overview-pinned-note-empty { border-color: var(--line); background: var(--surface); }
    .overview-pinned-note-heading { display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin-bottom: 5px; }
    .overview-pinned-note-heading .detail-label { margin: 0; }
    .overview-pinned-note-icon { width: 14px; height: 14px; flex: 0 0 14px; color: var(--green-dark); }
    .overview-notes-link { margin-left: auto; }
    .overview-notes-link { min-height: auto; padding: 2px 0; border: 0; color: var(--green-dark); font-size: 13px; }
    :root[data-theme="dark"] .overview-pinned-note { border-color: #45624c; background: #202a22; }
    :root[data-theme="dark"] .overview-pinned-note-empty { border-color: var(--line); background: var(--surface); }
    .project-note-post-copy ul, .project-note-post-copy ol { margin: 5px 0 0; padding-left: 20px; }
    .project-note-post-actions { display: flex; gap: 10px; margin-top: 8px; }
    .project-note-post-action { padding: 0; border: 0; background: transparent; color: var(--green-dark); font-size: 13px; font-weight: 650; }
    .project-note-post-action.delete { color: var(--red); }
    .project-notes-form { display: grid; align-content: start; align-self: start; gap: 8px; max-width: 760px; }
    .project-notes-formatting { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
    .project-notes-formatting button, .project-notes-formatting select { min-height: 28px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #435047; font-size: 13px; font-weight: 650; }
    .project-notes-formatting select[data-note-list-format] { width: 48px; min-height: 26px; padding: 2px 5px; font-size: 13px; }
    .project-notes-formatting button:hover, .project-notes-formatting select:hover { border-color: #a9c8b2; background: #f7faf7; }
    .project-notes-formatting button:disabled, .project-notes-formatting select:disabled { cursor: not-allowed; opacity: .5; }
    .project-notes-formatting-separator { width: 1px; margin: 3px 2px; background: var(--line); }
    .project-notes-editor { width: 100%; min-height: 88px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; overflow-y: auto; }
    .project-notes-editor:focus { border-color: #91b99c; outline: 2px solid #dcebe0; }
    .project-notes-editor:empty::before { color: var(--muted); content: attr(data-placeholder); pointer-events: none; }
    .project-notes-mention-wrap { position: relative; }
    .project-note-mention { padding: 1px 3px; border-radius: 4px; background: #e8f2ea; color: #28613c; font-weight: 650; }
    .project-notes-editor p { margin: 0; }
    .project-notes-editor ul, .project-notes-editor ol { margin: 4px 0; padding-left: 22px; }
    .project-notes-actions { display: flex; align-items: center; gap: 10px; }
    .project-notes-save-state { color: var(--muted); font-size: 13px; }
    .detail-value { color: #435047; font-size: 13px; overflow-wrap: anywhere; }
    .copy-job-number { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: var(--green-dark); font: inherit; text-align: left; }
    .copy-job-number:hover { text-decoration: underline; text-underline-offset: 2px; }
    .copy-job-number:focus-visible { border-radius: 2px; outline: 2px solid #9bc9aa; outline-offset: 2px; }
    .copy-job-number-status { margin-left: 7px; color: #68736d; font-size: 13px; }
    .work-log-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
    .work-log-pagination { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
    .work-log-pagination button { display: grid; width: 26px; height: 26px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--ink); font-size: 14px; line-height: 1; }
    .work-log-pagination button:hover:not(:disabled) { border-color: #b8cbbb; background: #f2f7f3; }
    .work-log-pagination button:focus-visible { outline: 2px solid #9bc9aa; outline-offset: 2px; }
    .work-log-pagination button:disabled { cursor: not-allowed; opacity: .45; }
    #projectTimePanel.detail-body { display: block; min-height: 0; padding: 24px 30px 30px; }
    #projectTimePanel.detail-body[hidden] { display: none; }
    .project-time-page { display: grid; gap: 24px; min-width: 0; }
    .project-time-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
    .project-time-page-heading h2 { margin: 0; color: #243b34; font-size: 21px; font-weight: 680; letter-spacing: -.02em; }
    .project-time-page-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
    .project-time-overview-pill { display: inline-flex; min-height: 32px; align-items: center; gap: 7px; padding: 0 12px; border: 0; border-radius: 999px; background: #fff; color: #596b60; font-size: 12px; white-space: nowrap; }
    .project-time-overview-pill svg { width: 16px; height: 16px; color: #286b49; }
    .project-time-overview-grid { display: grid; grid-template-columns: minmax(190px, 25%) minmax(0, 1fr); gap: 17px; align-items: stretch; }
    .project-time-total-card { display: flex; min-height: 245px; flex-direction: column; padding: 20px; border: 0; border-radius: 14px; background:#f3f6f4; }
    .project-time-total-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #286b49; font-size: 13px; font-weight: 650; }
    .project-time-total-heading { display: inline-flex; min-width: 0; align-items: center; gap: 7px; }
    .project-time-total-clock { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; border:0; border-radius:0; background:transparent; color:#286b49; }
    .project-time-total-clock svg { width: 21px; height: 21px; }
    .project-time-total-toggle { display: inline-flex; flex: 0 0 auto; gap: 2px; padding: 3px; border-radius: 8px; background: #e7eee9; }
    .project-time-total-toggle button { min-height: 26px; padding: 0 9px; border: 0; border-radius: 6px; background: transparent; color: #596b60; font-size: 11px; font-weight: 600; cursor: pointer; }
    .project-time-total-toggle button[aria-pressed="true"] { background: #fff; color: #286b49; box-shadow: 0 1px 2px #1c30270d; }
    .project-time-total-reading { display: flex; flex: 1; flex-direction: column; justify-content: center; }
    .project-time-total-value { display: flex; align-items: baseline; gap: 8px; margin: 0; color: #1c3027; font-size: clamp(42px, 5vw, 56px); font-weight: 400; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
    .project-time-total-unit { color: #286b49; font-size: 16px; font-weight: 500; letter-spacing: 0; }
    .project-time-total-caption { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
    .project-time-total-footer { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 12px; border-top: 1px solid #d3e1d7; color: var(--muted); font-size: 12px; }
    .project-time-total-footer svg { width: 15px; height: 15px; flex: 0 0 15px; color: #286b49; }
    .project-time-active-note { margin: 7px 0 0; color: #286b49; font-size: 12px; }
    .project-time-active-note .work-button { min-height: 25px; padding: 0 7px; font-size: 12px; }
    .project-time-overview-grid .week-time-chart { min-height: 245px; padding: 19px 20px 14px; border: 0; border-radius: 14px; background:#f3f6f4; }
    .project-time-overview-grid .week-time-chart-heading { align-items: flex-start; margin-bottom: 12px; }
    .project-time-overview-grid .week-time-chart-copy { justify-items: start; text-align: left; }
    .week-time-chart-copy { display: grid; gap: 3px; }
    .project-time-overview-grid .week-time-chart-title { color: #30443b; font-size: 13px; }
    .project-time-overview-grid .week-time-chart-range { margin: 0; color: var(--muted); font-size: 12px; }
    .project-time-overview-grid .week-time-chart-total { color: #286b49; font-size: 22px; line-height: 1.1; }
    .project-time-overview-grid .week-time-chart-bars { position: relative; grid-template-columns: 34px repeat(5, minmax(0, 1fr)); gap: 12px; min-height: 160px; align-items: stretch; }
    .project-time-overview-grid .week-time-chart-bars::before { position: absolute; z-index: 0; top: 0; right: 0; left: 34px; height: 126px; border-bottom: 1px solid #e7eee9; background: repeating-linear-gradient(to bottom, #e7eee9 0 1px, transparent 1px 42px); content: ""; pointer-events: none; }
    .project-time-overview-grid .week-time-chart-axis { position: relative; z-index: 1; display: grid; grid-template-rows: 126px auto; gap: 6px; min-width: 0; justify-items: end; }
    .project-time-overview-grid .week-time-chart-axis-track { width: 100%; height: 126px; color: var(--muted); font-size: 12px; }
    .project-time-overview-grid .week-time-chart-scale-label { right: 6px; }
    .project-time-overview-grid .week-time-chart-scale-label.upper-middle,
    .project-time-overview-grid .week-time-chart-scale-label.lower-middle { transform: translateY(-50%); }
    .project-time-overview-grid .week-time-chart-day { position: relative; z-index: 1; display: grid; grid-template-rows: 126px auto; gap: 6px; min-width: 0; justify-items: center; }
    .project-time-overview-grid .week-time-chart-plot { position: relative; width: 100%; height: 126px; }
    .project-time-overview-grid .week-time-chart-value { position: absolute; bottom: calc(var(--week-bar-height, 0%) + 5px); left: 50%; z-index: 2; color: #286b49; font-size: 12px; font-weight: 650; transform: translateX(-50%); }
    .project-time-overview-grid .week-time-chart-track { position: absolute; right: 0; bottom: 0; left: 0; display: flex; width: min(100%, 34px); height: 126px; justify-content: center; margin: auto; overflow: visible; border-radius: 0; background:#e4e9e5; }
    .project-time-overview-grid .week-time-chart-bar { width: 100%; border-radius: 5px 5px 0 0; background: #256b4b; }
    .project-time-overview-grid .week-time-chart-label { color: #596b60; font-size: 12px; }
    .project-time-overview-grid .week-time-chart-empty { padding: 4px 0 0; font-size: 12px; }
    .time-work-log-card { overflow: hidden; border: 0; border-radius: 14px; background:#f3f6f4; }
    .work-log-heading { min-height: 51px; margin: 0; padding: 0 20px; border-bottom: 1px solid #e4ebe6; }
    .work-log-title-wrap { display: flex; align-items: center; gap: 9px; }
    .work-log-title-wrap h3 { margin: 0; color: #30443b; font-size: 15px; font-weight: 680; }
    .work-log-count { padding: 3px 8px; border-radius: 999px; background: #eaf2ed; color: #426e59; font-size: 12px; font-weight: 600; }
    .time-work-log-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
    .time-work-log-table th { height: 32px; padding: 0 20px; border-bottom: 1px solid #e4ebe6; background: #f8faf9; color: var(--muted); font-size: 12px; font-weight: 500; text-align: left; text-transform: uppercase; }
    .time-work-log-table th:first-child, .time-work-log-table td:first-child { width: 48%; }
    .time-work-log-table th:nth-child(2), .time-work-log-table td:nth-child(2) { width: 22%; }
    .time-work-log-table th:nth-child(3), .time-work-log-table td:nth-child(3) { width: 15%; }
    .time-work-log-table td { height: 48px; padding: 0 20px; border-bottom: 1px solid #edf1ee; color: #435047; font-size: 13px; }
    .time-work-log-table tbody tr:last-child td { border-bottom: 0; }
    .work-log-member { display: inline-flex; min-width: 0; align-items: center; gap: 10px; }
    .work-log-avatar { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border-radius: 50%; background: #eaf2ed; color: #426e59; font-size: 12px; font-weight: 650; }
    .work-log-member > span:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
    .work-log-active { padding: 2px 6px; border-radius: 999px; background: #eaf2ed; color: #286b49; font-size: 12px; }
    .work-log-empty { padding: 24px 20px; color: var(--muted); font-size: 13px; }
    .work-log-footer { display: flex; min-height: 51px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; border-top: 1px solid #e4ebe6; color: var(--muted); font-size: 12px; }
    .work-log-pagination { gap: 8px; }
    .work-log-pagination button { width: 32px; height: 32px; border-radius: 7px; font-size: 19px; }
    .work-log-pagination button:last-child:not(:disabled) { border-color: #256b4b; background: #256b4b; color: #fff; }
    .work-log-pagination button:hover:not(:disabled) { border-color: #b8cbbb; background: #f2f7f3; }
    .work-log-pagination button:last-child:hover:not(:disabled) { background: #1d573c; color: #fff; }
    @media (max-width: 760px) { #projectTimePanel.detail-body { padding: 18px 16px 22px; } .project-time-page { gap: 18px; } .project-time-overview-grid { grid-template-columns: minmax(0, 1fr); } .project-time-total-card { min-height: 210px; } }
    @media (max-width: 520px) { .project-time-page-heading { align-items: flex-start; } .project-time-page-heading h2 { font-size: 19px; } .project-time-overview-pill { min-height: 30px; padding: 0 8px; font-size: 12px; } .project-time-total-card { min-height: 200px; } .project-time-overview-grid .week-time-chart { padding: 17px 12px 12px; } .project-time-overview-grid .week-time-chart-bars { grid-template-columns: 32px repeat(5, minmax(34px, 1fr)); gap: 6px; } .project-time-overview-grid .week-time-chart-bars::before { left: 31px; } .time-work-log-table th, .time-work-log-table td { padding-right: 10px; padding-left: 10px; } .time-work-log-table th:first-child, .time-work-log-table td:first-child { width: 44%; } .time-work-log-table th:nth-child(2), .time-work-log-table td:nth-child(2) { width: 24%; } .time-work-log-table th:nth-child(3), .time-work-log-table td:nth-child(3) { width: 16%; } .work-log-heading, .work-log-footer { padding-right: 12px; padding-left: 12px; } }
    .week-time-chart { padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
    .week-time-chart-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: 17px; }
    .week-time-chart-title { color: #354139; font-size: 13px; font-weight: 680; }
    .week-time-chart-range { margin-left: 7px; color: var(--muted); font-size: 13px; font-weight: 500; }
    .week-time-chart-total { color: var(--green-dark); font-size: 13px; font-weight: 680; font-variant-numeric: tabular-nums; }
    .week-time-chart-bars { display: grid; grid-template-columns: 28px repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end; min-height: 128px; }
    .week-time-chart-axis { display: grid; grid-template-rows: 16px 78px auto; gap: 6px; justify-items: end; min-width: 0; }
    .week-time-chart-axis-track { position: relative; width: 100%; height: 78px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
    .week-time-chart-scale-label { position: absolute; right: 0; white-space: nowrap; }
    .week-time-chart-scale-label.top { transform: translateY(0); }
    .week-time-chart-scale-label.middle { transform: translateY(-50%); }
    .week-time-chart-scale-label.bottom { transform: translateY(-100%); }
    .week-time-chart-day { display: grid; grid-template-rows: 16px 78px auto; gap: 6px; justify-items: center; min-width: 0; }
    .week-time-chart-value { color: #68736d; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
    .week-time-chart-track { display: flex; width: min(100%, 40px); height: 78px; align-items: flex-end; overflow: hidden; border-radius: 6px 6px 3px 3px; background: #f1f4f1; }
    .week-time-chart-bar { width: 100%; min-height: 0; border-radius: 0; background: #5b9671; transition: height .2s ease; }
    .week-time-chart-bar.has-time { min-height: 3px; }
    .week-time-chart-label { color: var(--muted); font-size: 13px; }
    .week-time-chart-empty { padding: 18px 0 4px; color: var(--muted); font-size: 13px; text-align: center; }
    .week-time-chart-empty[hidden] { display: none; }
    .project-time-chart { width: 100%; min-width: 0; padding: 17px 18px; }
    .project-time-chart-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: 17px; }
    .project-time-chart-title { color: #354139; font-size: 13px; font-weight: 680; }
    .project-time-chart-total { color: var(--green-dark); font-size: 13px; font-weight: 680; font-variant-numeric: tabular-nums; }
    .project-time-chart-scroll { overflow-x: auto; }
    .project-time-chart-bars { display: grid; grid-template-columns: 36px repeat(var(--day-count), 72px); gap: 24px; align-items: end; min-width: max-content; }
    .project-time-chart-bars { position: relative; }
    .project-time-chart-bars::before { content: ""; position: absolute; z-index: 0; left: 35px; right: 0; top: 26px; height: 121px; box-sizing: border-box; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 40px); pointer-events: none; }
    .project-time-chart-axis { align-self: start; }
    .project-time-chart-axis-track .week-time-chart-scale-label { right: 8px; }
    .project-time-chart-axis { display: grid; grid-template-rows: 20px 120px auto; gap: 6px; justify-items: end; min-width: 0; }
    .project-time-chart-axis-track { position: relative; width: 100%; height: 120px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
    .project-time-chart-day { position: relative; z-index: 1; display: grid; grid-template-rows: 20px 120px auto; gap: 6px; justify-items: center; min-width: 0; }
    .project-time-chart-value { color: #68736d; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
    .project-time-chart-track { display: flex; width: min(100%, 32px); height: 120px; align-items: flex-end; overflow: visible; background: transparent; }
    .project-time-chart-bar { display: flex; flex-direction: column-reverse; width: 100%; min-height: 0; overflow: hidden; border-radius: 7px 7px 0 0; transition: height .2s ease; }
    .project-time-chart-segment { flex: none; width: 100%; }
    .project-time-chart-bar.has-time { min-height: 3px; }
    .project-time-chart-day-label { max-width: none; overflow: visible; color: var(--muted); font-size: 13px; text-overflow: clip; white-space: nowrap; }
    .project-time-chart-day:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 2px; }
    .project-time-tooltip { position: fixed; z-index: 1000; min-width: 180px; max-width: 280px; padding: 9px 11px; border: 1px solid #d9dfda; border-radius: 8px; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.14); color: #354139; font-size: 13px; pointer-events: none; }
    .project-time-tooltip[hidden] { display: none; }
    .project-time-tooltip strong { display: block; margin-bottom: 6px; font-size: 13px; }
    .project-time-tooltip-row { display: flex; justify-content: space-between; gap: 14px; padding: 2px 0; font-variant-numeric: tabular-nums; }
    .project-time-tooltip-row span:first-child { min-width: 0; overflow-wrap: anywhere; }
    .project-time-tooltip-name { display: flex; align-items: baseline; gap: 6px; }
    .project-time-tooltip-swatch { flex: none; width: 8px; height: 8px; border-radius: 50%; }
    .project-time-tooltip-total { margin-top: 4px; padding-top: 5px; border-top: 1px solid #e5e9e5; font-weight: 680; }
    .status-note-hover-tooltip { position: fixed; z-index: 1001; width: max-content; max-width: min(340px, calc(100vw - 24px)); padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 6px 20px rgba(0,0,0,.14); color: var(--ink); font-size: 13px; pointer-events: none; }
    .status-note-hover-tooltip[hidden] { display: none; }
    .status-note-hover-tooltip strong { display: block; margin-bottom: 5px; }
    .status-note-hover-copy { overflow-wrap: anywhere; line-height: 1.45; }
    .status-note-hover-meta { margin-top: 5px; color: var(--muted); font-size: 12px; }
    .project-time-job-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid #e5e9e5; list-style: none; }
    .project-time-job-list li { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; color: #354139; font-size: 13px; font-variant-numeric: tabular-nums; }
    .project-time-chart-empty { padding: 48px 20px; color: var(--muted); font-size: 13px; text-align: center; }
    .project-time-chart-empty strong { display: block; margin-bottom: 6px; color: #354139; font-size: 13px; }
    .team-work-member { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #536059; font-size: 13px; }
    .attach-files-rows { display: grid; gap: 10px; }
    .attach-files-rows .field { margin: 0; }
    .attach-files-size { color: var(--muted); font-size: 13px; font-weight: 400; }
    .project-file-upload { padding: 0; border: 0; background: none; display: inline-grid; width: 26px; height: 26px; place-items: center; border-radius: 6px; color: #354139; cursor: pointer; }
    .project-file-upload:hover { background: #eef1ee; color: var(--green-dark); }
    .project-file-upload[hidden] { display: none; }
    .project-file-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
    .project-file-item { display: flex; gap: 12px; align-items: flex-start; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #354139; }
    .project-file-main { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 6px 16px; align-items: center; min-width: 0; }
    .project-file-name { max-width: 100%; min-width: 0; flex: 0 1 auto; overflow: hidden; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
    .project-file-meta { flex: none; white-space: nowrap; color: var(--muted); font-size: 13px; }
    .project-file-actions { display: flex; flex: none; gap: 6px; }
    .project-file-remove { display: inline-grid; flex: none; width: 26px; height: 26px; margin-left: auto; padding: 0; place-items: center; border: 0; border-radius: 6px; background: none; color: #354139; cursor: pointer; }
    .project-file-remove:hover { background: #eef1ee; color: #b42318; }
    .project-file-actions .outline-button { min-height: 28px; padding: 0 10px; font-size: 13px; }
    .work-access-overview-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 18px; padding: 11px 14px; border: 1px solid #e8cc82; border-radius: 9px; background: #fff7df; color: #604914; }
    .work-access-overview-banner[hidden] { display: none; }
    .work-access-overview-copy { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; font-size: 13px; }
    .work-access-overview-copy svg { width: 18px; height: 18px; color: #946b1b; }
    .work-access-overview-copy strong { font-weight: 720; }
    .work-access-overview-items { display: flex; min-width: 0; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
    .work-access-overview-item { display: inline-flex; min-height: 30px; align-items: center; gap: 7px; padding: 4px 9px; border: 0; border-radius: 6px; background: transparent; color: #604914; font: inherit; font-size: 13px; cursor: pointer; }
    .work-access-overview-item:hover { background: rgb(255 255 255 / 38%); }
    .work-access-overview-item > span:not(.work-access-overview-review) { color: #78653c; }
    .work-access-overview-review { padding: 0; border: 0; background: transparent; color: #246b49; font: inherit; font-weight: 700; cursor: pointer; }
    .work-access-overview-review:hover { text-decoration: underline; text-underline-offset: 2px; }
    .work-access-overview-review:focus-visible { border-radius: 2px; outline: 2px solid currentColor; outline-offset: 2px; }
    .work-access-overview-item:focus-visible { outline: 3px solid #d5b75f; outline-offset: 2px; }
    .work-access-requester-profile { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
    .work-access-requester-profile:hover { text-decoration: underline; text-underline-offset: 2px; }
    .work-access-requester-profile:focus-visible { border-radius: 2px; outline: 2px solid currentColor; outline-offset: 2px; }
    .project-work-access-banner .work-access-overview-items { flex: 1 1 420px; justify-content: flex-start; }
    .project-work-access-banner .work-access-overview-item { width: 100%; justify-content: space-between; cursor: default; }
    .project-work-access-banner .work-access-request-actions { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; }
    .project-work-access-banner .work-access-request-actions .outline-button,
    .project-work-access-banner .work-access-request-actions .primary-button { min-height: 30px; padding: 0 10px; font-size: 13px; }
    .work-access-request { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
    .work-access-request > div:first-child { display: grid; gap: 4px; }
    .work-access-request strong { color: var(--ink); font-size: 13px; }
    .work-access-request span { color: var(--muted); font-size: 13px; }
    .work-access-request-actions { display: flex; gap: 6px; }
    .work-access-request-actions .outline-button, .work-access-request-actions .primary-button { min-height: 30px; padding: 0 10px; font-size: 13px; }
    @media (max-width: 760px) {
      .work-access-overview-banner { align-items: flex-start; flex-direction: column; }
      .work-access-overview-items { justify-content: flex-start; }
    }
    .team-list-view[hidden] { display: none; }
    .team-list-view:not([hidden]) { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; }
    .workspace-tables-view[hidden] { display: none; }
    .workspace-tables-view { overflow: hidden; margin-top: 24px; }
    .workspace-table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .workspace-table-shares { display: grid; gap: 8px; }
    .workspace-table-share-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font-size: 13px; }
    .workspace-table-share-row select { min-height: 30px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); }
    .workspace-table-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
    .workspace-table-title-wrap { min-width: 0; flex: 1 1 auto; }
    .workspace-table-title { width: min(100%, 420px); min-height: 40px; padding: 4px 8px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 17px; font-weight: 750; }
    #workspaceTableName { font-weight: 700 !important; }
    .workspace-table-title:hover, .workspace-table-title:focus { border-color: var(--line); background: var(--surface); }
    .workspace-table-title[readonly] { cursor: default; }
    .workspace-table-actions { display: flex; width: auto; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 8px; margin-left: 0; }
    .workspace-table-actions .outline-button { min-height: 40px; border-radius: 8px; background: var(--surface); color: var(--green-dark); }
    .workspace-table-actions .outline-button:hover { border-color: var(--green); background: var(--canvas); }
    .workspace-table-actions .outline-button:disabled, .workspace-table-actions .outline-button:hover:disabled { opacity: .45; cursor: not-allowed; }
    .workspace-table-action-button { display: inline-grid; width: 40px; height: 40px; place-items: center; padding: 0; font: inherit; cursor: pointer; }
    .workspace-table-color-controls { box-sizing: border-box; display: flex; width: 100%; min-height: 66px; min-width: 0; flex: 0 0 100%; flex-wrap: nowrap; align-items: center; gap: 8px; overflow-x: auto; padding: 10px 16px; border: 0; border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 13px; }
    .workspace-table-color-controls[hidden] { display: none; }
    .workspace-table-toolbar-spacer { min-width: 18px; flex: 1 0 18px; }
    .workspace-table-history-controls { position: relative; display: inline-flex; min-height: 38px; flex: 0 0 auto; align-items: center; gap: 6px; margin-left: 8px; padding: 0 12px; border: 0; }
    .workspace-table-history-controls { border-left: 0 !important; box-shadow: none !important; }
    .workspace-table-history-controls::before, .workspace-table-color-selection::after, #workspaceTableColorControls > .workspace-table-actions::before, #workspaceTableMergeButton::before { box-sizing: border-box; position: absolute; top: 50%; width: 1px; height: 20px; transform: translateY(-50%); background: var(--line); content: ""; }
    .workspace-table-history-controls::before { left: 0; }
    .workspace-table-color-selection { position: relative; border-right: 0; }
    .workspace-table-color-selection::after { right: 0; }
    .workspace-table-history-controls .workspace-table-action-button { width: 34px; height: 34px; min-height: 34px; flex: 0 0 34px; padding: 0; border-radius: 7px; }
    .workspace-table-history-controls .workspace-table-action-button svg { width: 18px; height: 18px; }
    #workspaceTableColorControls > .workspace-table-actions { position: relative; width: auto; flex: 0 0 auto; justify-content: flex-end; gap: 8px; margin-left: 0; padding-left: 16px; border-left: 0; }
    #workspaceTableColorControls > .workspace-table-actions::before { left: 0; }
    #workspaceTableColorControls > .workspace-table-actions .workspace-table-action-button { width: 34px; height: 34px; min-height: 34px; flex: 0 0 34px; padding: 0; border-color: var(--line); border-radius: 7px; }
    #workspaceTableColorControls > .workspace-table-actions .workspace-table-action-button svg { width: 18px; height: 18px; }
    .workspace-table-color-selection { box-sizing: border-box; min-width: 0; flex: 0 0 230px; overflow: hidden; padding-right: 14px; border-right: 0; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
    .workspace-table-font-controls { position: relative; z-index: 1; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 4px; }
    .workspace-table-font-controls select { width: 54px; height: 34px; -webkit-appearance: none; appearance: none; padding: 2px 20px 2px 8px; border: 1px solid var(--line); border-radius: 7px; background-color: var(--surface); background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 9px) 14px, calc(100% - 5px) 14px; background-size: 4px 4px; background-repeat: no-repeat; background-clip: padding-box; box-shadow: none; color: var(--ink); font: inherit; font-size: 13px; }
    .workspace-table-font-controls select::-ms-expand { display: none; }
    .workspace-table-font-controls #workspaceTableFontFamily { width: 108px; }
    .workspace-table-font-button { display: inline-grid; width: 30px; height: 34px; flex: 0 0 30px; place-items: center; padding: 4px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; }
    #workspaceTableMergeButton { position: relative; width: 36px; height: 34px; flex-basis: 36px; border: 0; background: transparent; }
    #workspaceTableMergeButton::before { left: -5px; }
    #workspaceTableMergeButton svg { display: none; }
    #workspaceTableMergeButton::after { width: 18px; height: 18px; background: url("assets/Merge%20cells.svg") center / contain no-repeat; content: ""; }
    .workspace-table-font-button svg { width: 20px; height: 20px; overflow: visible; fill: currentColor; stroke: currentColor; stroke-width: .65; }
    .workspace-table-link-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
    .workspace-table-font-button[aria-pressed="true"] { border-color: var(--line); background: var(--green-light); color: var(--green-dark); }
    .workspace-table-font-button:hover:not(:disabled) { background: var(--canvas); }
    .workspace-table-font-color svg path { stroke: var(--workspace-table-font-color, #202822); stroke-width: 3; }
    .workspace-table-font-button:disabled { opacity: .5; cursor: not-allowed; }
    .workspace-table-font-controls select:disabled { opacity: 1; background-image: none; color: var(--muted); cursor: not-allowed; }
    .workspace-table-color-scope, .workspace-table-color-picker { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
    .workspace-table-toolbar-icon { width: 16px; height: 16px; flex: 0 0 16px; color: var(--muted); }
    .workspace-table-color-scope select { min-width: 94px; min-height: 34px; padding: 3px 24px 3px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; }
    .workspace-table-color-picker { position: relative; gap: 0; }
    .workspace-table-color-picker .workspace-table-color-apply { position: relative; border-radius: 6px 0 0 6px; }
    .workspace-table-color-picker .workspace-table-color-apply::after { position: absolute; inset: 3px; border-radius: 3px; background: var(--workspace-table-active-color, #dcefe2); content: ""; }
    .workspace-table-color-picker .workspace-table-color-apply:disabled::after { display: none; }
    .workspace-table-color-picker .workspace-table-color-dropdown { width: 26px; height: 34px; flex: 0 0 26px; margin-left: -1px; border-radius: 0 7px 7px 0; }
    .workspace-table-color-popover { position: fixed; z-index: 1000; width: 260px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 12px 32px rgb(23 33 29 / 18%); color: var(--ink); }
    .workspace-table-color-popover[hidden] { display: none; }
    .workspace-table-color-palette { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; }
    .workspace-table-color-swatch { display: grid; width: 21px; height: 21px; place-items: center; padding: 0; border: 1px solid rgb(23 33 29 / 16%); border-radius: 6px; background: var(--swatch); cursor: pointer; }
    .workspace-table-color-swatch:hover, .workspace-table-color-swatch:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
    .workspace-table-color-swatch[aria-pressed="true"]::after { width: 6px; height: 10px; transform: rotate(45deg) translate(-1px, -1px); border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ""; }
    .workspace-table-custom-color { display: flex; align-items: center; gap: 7px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 12px; }
    .workspace-table-custom-color label { color: var(--muted); }
    .workspace-table-custom-color input { width: 92px; min-width: 0; height: 30px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--canvas); color: var(--ink); font: inherit; font-size: 12px; }
    .workspace-table-custom-color button { height: 30px; margin-left: auto; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--green); color: #fff; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
    .workspace-table-custom-color button:disabled { opacity: .5; cursor: not-allowed; }
    .workspace-table-color-input-hidden { position: absolute; top: 0; left: 0; width: 1px; min-width: 0; height: 1px; min-height: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); padding: 0; border: 0; opacity: 0; pointer-events: none; }
    .workspace-table-color-picker:focus-within .workspace-table-color-icon-button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
    .workspace-table-color-icon-button { display: inline-grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); cursor: pointer; }
    .workspace-table-color-icon-button:hover:not(:disabled) { border-color: var(--green); color: var(--green-dark); }
    .workspace-table-delete-selection:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
    .workspace-table-color-controls :disabled { opacity: .5; cursor: not-allowed; }
    .workspace-table-color-controls select:disabled { opacity: 1; color: var(--muted); }
    .workspace-table-sheetbar { display: flex; min-height: 42px; align-items: flex-end; gap: 7px; padding: 5px 12px 0; border-top: 0; background: var(--surface); }
    :root:not([data-theme="dark"]) .workspace-table-sheetbar { background: #e5e7e9; }
    .workspace-table-tabs { display: flex; min-width: 0; align-items: flex-end; gap: 2px; overflow-x: auto; }
    .workspace-table-tab { position: relative; min-width: 76px; max-width: 190px; height: 34px; overflow: hidden; padding: 0 16px; border: 1px solid transparent; border-bottom: 0; border-radius: 7px 7px 0 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
    .workspace-table-tab:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--ink); }
    .workspace-table-tab.active { border-color: var(--green); background: var(--green); color: #fff; font-weight: 700; }
    .workspace-table-sheet-action { display: inline-grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; margin-bottom: 1px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); }
    .workspace-table-sheet-action:hover:not(:disabled) { background: var(--surface); color: var(--green-dark); }
    .workspace-table-sheet-action:disabled { opacity: .4; cursor: not-allowed; }
    .workspace-table-sheet-action.workspace-table-delete:hover:not(:disabled) { color: var(--red); }
    .workspace-table-sheet-spacer { flex: 1 1 auto; }
    @media (max-width: 700px) { .workspace-table-toolbar { align-items: flex-start; flex-direction: column; } .workspace-table-actions { width: 100%; flex-wrap: wrap; margin-left: 0; } .workspace-table-sheetbar { padding-right: 8px; padding-left: 8px; } .workspace-table-tab { min-width: 65px; padding: 0 10px; } }
    @media (max-width: 700px) { .workspace-table-color-controls { min-height: 58px; flex: 0 0 100%; gap: 6px; padding: 8px 10px; }.workspace-table-color-selection { flex: 0 0 180px; } }
    .workspace-table { width: 100%; min-width: 720px; table-layout: fixed; border-collapse: separate; border-spacing: 0; background: var(--surface); }
    .workspace-table thead { background: var(--surface); }
    .workspace-table th { box-sizing: border-box; height: 34px; padding: 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 650; line-height: normal; text-align: left; vertical-align: middle; }
    .workspace-table .workspace-table-letter-row th { height: 28px; border-color: var(--line); background: #e5e7e9; color: #26302c; text-align: center; }
    .workspace-table th:not(:last-child), .workspace-table td:not(:last-child) { border-right: 1px solid var(--line); }
    .workspace-table .workspace-table-letter-row th:not(:last-child) { border-right-color: var(--line); }
    .workspace-table .workspace-table-select-all-cell { position: relative; background: #e5e7e9; }
    .workspace-table .workspace-table-select-all-cell::after { position: absolute; top: 3px; right: 3px; width: 0; height: 0; border-top: 17px solid #8a9097; border-left: 17px solid transparent; content: ""; }
    .workspace-table-select-all { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
    .workspace-table-select-all:focus-visible { outline: 2px solid #217346; outline-offset: -2px; }
    .workspace-table th:first-child, .workspace-table td:first-child { width: 42px; text-align: center; }
    .workspace-table th:last-child, .workspace-table td:last-child { width: 38px; padding: 0; text-align: center; }
    .workspace-table td { height: 28px; padding: 0; border-top: 1px solid var(--line); }
    .workspace-table td.is-selected { --relay-selection-color: #217346; position: relative; z-index: 1; background-image: linear-gradient(rgb(37 107 75 / 12%), rgb(37 107 75 / 12%)); }
    .workspace-table td.is-selected::after { position: absolute; z-index: 2; inset: 0; background: linear-gradient(var(--relay-selection-top, transparent), var(--relay-selection-top, transparent)) top / 100% 2px no-repeat, linear-gradient(var(--relay-selection-right, transparent), var(--relay-selection-right, transparent)) right / 2px 100% no-repeat, linear-gradient(var(--relay-selection-bottom, transparent), var(--relay-selection-bottom, transparent)) bottom / 100% 2px no-repeat, linear-gradient(var(--relay-selection-left, transparent), var(--relay-selection-left, transparent)) left / 2px 100% no-repeat; content: ""; pointer-events: none; }
    .workspace-table td.selection-edge-top { --relay-selection-top: var(--relay-selection-color); }
    .workspace-table td.selection-edge-right { --relay-selection-right: var(--relay-selection-color); }
    .workspace-table td.selection-edge-bottom { --relay-selection-bottom: var(--relay-selection-color); }
    .workspace-table td.selection-edge-left { --relay-selection-left: var(--relay-selection-color); }
    .workspace-table td.is-selected .workspace-table-cell:focus { border-color: transparent; outline: none; }
    .workspace-table td.selection-fill-handle::before { position: absolute; z-index: 3; right: -4px; bottom: -4px; width: 6px; height: 6px; border: 1px solid var(--surface); background: #217346; content: ""; }
    .workspace-table-cell-wrap { position: relative; width: 100%; min-height: 27px; }
    .workspace-table-letter { display: block; width: 100%; height: 26px; padding: 0; border: 0; background: transparent; color: inherit; font-family: inherit; font-size: 12px; font-weight: 650; line-height: 26px; cursor: pointer; }
    .workspace-table-letter:hover { background: #d5d9dc; color: #17211d; }
    .workspace-table-letter:focus-visible, .workspace-table-row-select:focus-visible { outline: 2px solid #527bd0; outline-offset: -2px; }
    .workspace-table-cell { width: 100%; height: 27px; padding: 0 7px; border: 1px solid transparent; border-radius: 0; background: transparent; color: var(--relay-cell-ink,var(--ink)); font-size: 12px; }
    .workspace-table-cell.has-link { width: calc(100% - 25px); color: #28689b; text-decoration: underline; text-underline-offset: 2px; }
    :root[data-theme="dark"] .workspace-table-cell.has-link { color: #8fc4f0; }
    .workspace-table-cell-link { position: absolute; top: 0; left: 7px; display: inline-flex; max-width: calc(100% - 14px); height: 27px; align-items: center; gap: 5px; overflow: hidden; border-radius: 3px; background: transparent; color: #28689b; opacity: 0; pointer-events: none; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
    .workspace-table-cell-link span { overflow: hidden; text-overflow: ellipsis; }
    .workspace-table-cell-link svg { width: 14px; height: 14px; flex: 0 0 14px; }
    .workspace-table-cell-wrap:hover .workspace-table-cell-link, .workspace-table-cell-link:focus-visible { opacity: 1; pointer-events: auto; }
    .workspace-table-cell-wrap:has(.workspace-table-cell-link:hover, .workspace-table-cell-link:focus-visible) .workspace-table-cell.has-link { color: transparent; }
    .workspace-table-cell-link:hover { color: var(--green-dark); }
    .workspace-table-cell-readonly-link { display: inline-block; max-width: 100%; overflow: hidden; padding: 4px 7px; color: #28689b; text-overflow: ellipsis; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
    :root[data-theme="dark"] .workspace-table-cell-link, :root[data-theme="dark"] .workspace-table-cell-readonly-link { color: #8fc4f0; }
    .workspace-table-cell:hover { background: transparent; }
    .workspace-table-cell:focus { position: relative; z-index: 1; border-color: #217346; outline: 1px solid #217346; background: transparent; }
    .workspace-table-checkbox-cell { text-align: center; }
    .workspace-table-checkbox { width: 15px; height: 15px; accent-color: #527bd0; }
    .workspace-table-row-number { background: #e5e7e9; color: #26302c; font-size: 12px; font-variant-numeric: tabular-nums; }
    .workspace-table-row-select { width: 100%; height: 27px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
    .workspace-table-row-number.is-selected, .workspace-table thead th.is-selected { --relay-selection-color: #217346; position: relative; z-index: 1; background-color: rgb(37 107 75 / 12%); }
    .workspace-table-row-number.is-selected::after, .workspace-table thead th.is-selected::after { position: absolute; z-index: 2; inset: 0; background: linear-gradient(var(--relay-selection-top, transparent), var(--relay-selection-top, transparent)) top / 100% 2px no-repeat, linear-gradient(var(--relay-selection-right, transparent), var(--relay-selection-right, transparent)) right / 2px 100% no-repeat, linear-gradient(var(--relay-selection-bottom, transparent), var(--relay-selection-bottom, transparent)) bottom / 100% 2px no-repeat, linear-gradient(var(--relay-selection-left, transparent), var(--relay-selection-left, transparent)) left / 2px 100% no-repeat; content: ""; pointer-events: none; }
    .workspace-table-row-number.selection-edge-top, .workspace-table thead th.selection-edge-top { --relay-selection-top: var(--relay-selection-color); }
    .workspace-table-row-number.selection-edge-right, .workspace-table thead th.selection-edge-right { --relay-selection-right: var(--relay-selection-color); }
    .workspace-table-row-number.selection-edge-bottom, .workspace-table thead th.selection-edge-bottom { --relay-selection-bottom: var(--relay-selection-color); }
    .workspace-table-row-number.selection-edge-left, .workspace-table thead th.selection-edge-left { --relay-selection-left: var(--relay-selection-color); }
    :root[data-theme="dark"] .workspace-table td.is-selected { --relay-selection-color: #69b88b; background-image: linear-gradient(rgb(105 184 139 / 14%), rgb(105 184 139 / 14%)); }
    :root[data-theme="dark"] .workspace-table td.selection-fill-handle::before { background: #69b88b; }
    :root[data-theme="dark"] .workspace-table-cell:focus { border-color: #69b88b; outline-color: #69b88b; }
    :root[data-theme="dark"] .workspace-table-row-number.is-selected,
    :root[data-theme="dark"] .workspace-table thead th.is-selected { --relay-selection-color: #69b88b; background-color: rgb(105 184 139 / 14%); }
    .workspace-table-remove { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font-size: 16px; }
    .workspace-table-remove:hover { background: var(--red-light); color: var(--red); }
    .workspace-table [data-workspace-remove-row] { opacity: 0; }
    .workspace-table tbody tr:hover [data-workspace-remove-row],
    .workspace-table [data-workspace-remove-row]:focus-visible { opacity: 1; }
    .workspace-table-empty { padding: 26px; color: var(--muted); font-size: 13px; text-align: center; }
    .workspace-table-edge-wrap { position: relative; margin-top: 0; padding-top: 0; }
    .workspace-table-edge-wrap .table-scroll { border-radius: 0; }
    .workspace-table-edge-add { position: absolute; z-index: 2; display: inline-grid; width: 24px; height: 24px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--muted); font-size: 17px; line-height: 1; opacity: 0; cursor: pointer; }
    .workspace-table-edge-wrap:hover .workspace-table-edge-add,
    .workspace-table-edge-add:focus-visible { opacity: 1; }
    .workspace-table-edge-add-row { bottom: -12px; left: 10px; }
    .workspace-table-edge-add-column { top: 10px; right: 4px; }
    .billing-overview-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px; }
    .feedback-view[hidden] { display: none; }
    .feedback-form-wrap { width: min(100%, 760px); }
    .feedback-form { display: grid; gap: 18px; padding: 22px 18px; }
    .feedback-form .field { display: grid; gap: 7px; color: #55615a; font-size: 13px; font-weight: 650; }
    .feedback-form .field input, .feedback-form .field select, .feedback-form .field textarea { color: var(--ink); font-weight: 400; }
    .feedback-form .field textarea { min-height: 150px; line-height: 1.5; }
    .feedback-form .primary-button { justify-self: start; }
    .feedback-message { min-height: 18px; margin: 0; color: var(--green-dark); font-size: 13px; }
    .feedback-message:empty { display: none; }
    .feedback-message.error { color: var(--red); }
    .feedback-form button:disabled { cursor: wait; opacity: .65; }
    .feedback-form .feedback-privacy-note { margin: -8px 0 0; max-width: 650px; }
    .feedback-bug-context[hidden] { display: none; }
    .feedback-inbox { border-top: 1px solid var(--line); }
    .feedback-inbox > .panel-toolbar { border-bottom:0; }
    .feedback-inbox[hidden] { display: none; }
    .feedback-inbox-list { display: grid; gap: 10px; padding: 16px 18px 20px; }
    .feedback-inbox-status { margin: 0; color: var(--muted); font-size: 13px; }
    .feedback-inbox-status.error { color: var(--red); }
    .feedback-entry { padding: 15px; border: 0; border-radius: 9px; background: var(--canvas); }
    :root[data-theme="dark"] .feedback-entry { background:#242932; }
    .feedback-entry-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .feedback-entry-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .feedback-entry-heading time, .feedback-entry-author { color: var(--muted); font-size: 12px; }
    .feedback-type-badge { padding: 4px 8px; border-radius: 999px; background: #eaf3ec; color: var(--green-dark); font-size: 11px; font-weight: 700; }
    .feedback-type-badge.feature { border:0; background:transparent; }
    .feedback-type-badge.bug { background: #fbefed; color: #a4473f; }
    .feedback-entry h3 { margin: 12px 0 6px; color: var(--ink); font-size: 14px; }
    .feedback-entry-details { margin: 0 0 12px; color: var(--ink); font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
    .billing-setup-card { display: flex; align-items: flex-start; gap: 14px; min-width: 0; margin: 0; padding: 18px; border: 0; border-radius: 10px; background: var(--surface); }
    :root[data-theme="dark"] .billing-setup-card { background: #242932; }
    .billing-backup-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; min-width: 0; min-height: 132px; margin: 20px 0; padding: 18px; border-radius: 10px; background: var(--canvas); }
    .billing-backup-info > div { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 0 20px; }
    .billing-backup-info > div:first-child { padding-left: 0; }
    .billing-backup-info > div + div { border-left: 1px solid var(--line); }
    .billing-backup-info h3 { margin: 0 0 18px; font-size: 18px; }
    .billing-backup-info p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
    :root[data-theme="dark"] .billing-backup-info { background: #242932; }
    @media (max-width: 700px) {
      .billing-backup-info { grid-template-columns: 1fr; }
      .billing-backup-info > div, .billing-backup-info > div:first-child { padding: 14px 0; }
      .billing-backup-info > div + div { border-top: 1px solid var(--line); border-left: 0; }
      .billing-backup-info h3 { margin-bottom: 8px; }
    }
    .billing-organization-settings { display: grid; min-width: 0; gap: 12px; margin: 0; padding: 18px; border: 0; border-radius: 10px; background: var(--canvas); }
    :root[data-theme="dark"] .billing-organization-settings { background:#242932; }
    .billing-organization-controls { display: flex; gap: 10px; }
    .billing-organization-controls input { min-height: 36px; flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #e3e8e3; border-radius: 7px; background: #fff; color: var(--ink); font-size: 13px; }
    #billingOrganizationName:disabled { border-color: #e2e7e3; background: #f5f7f6; color: #68746d; opacity: 1; cursor: default; }
    .billing-organization-id input:read-only { border-color: #e2e7e3; background: #f5f7f6; color: #68746d; cursor: text; }
    .billing-organization-id .field-hint { margin: 0; }
    .billing-organization-settings > .field-hint { margin: 0; }
    .billing-seat-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 20px 16px; }
    :root:not([data-theme="dark"]) .billing-seat-stats .stat-card { background:var(--canvas); }
    .billing-seat-controls { display: flex; gap: 8px; margin-top: 10px; }
    .billing-seat-controls .outline-button { display: grid; width: 32px; min-height: 30px; padding: 0; place-items: center; font-size: 18px; }
    .billing-seat-controls button:disabled { cursor: not-allowed; opacity: .45; }
    #billingSeatNote { margin: 0 20px 20px; }
    .billing-setup-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; color: var(--green); }
    .billing-setup-card h2 { margin: 2px 0 5px; font-size: 14px; }
    .billing-setup-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
    .team-tab-panel[hidden] { display: none; }
    .team-main-tabs { display: flex; gap: 4px; padding: 0 18px; overflow-x: auto; border-bottom: 1px solid var(--line); }
    .team-main-tabs button { flex: 0 0 auto; }
    .team-main-tabs button { padding: 9px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 13px; font-weight: 650; cursor: pointer; }
    .team-main-tabs [data-organization-view] svg { width: 15px; height: 15px; margin-right: 6px; vertical-align: -3px; }
    .team-main-tabs button[aria-pressed="true"], .team-main-tabs button[aria-selected="true"] { border-bottom-color: var(--green); color: var(--green-dark); }
    .workspace-admin-tool-panel { padding: 20px; }
    #organizationBackupsPanel { min-width: 0; }
    #organizationBackupsPanel > .billing-overview-cards { min-width: 0; margin-right: 0; margin-left: 0; }
    #organizationBackupsPanel > .billing-overview-cards > * { min-width: 0; }
    #organizationBackupsPanel > .field-hint { max-width: 100%; overflow-wrap: anywhere; white-space: normal; line-height: 1.5; }
    .workspace-admin-tool-panel > .panel-toolbar { padding: 0 0 16px; }
    .workspace-admin-tool-panel .panel-title { margin: 0; }
    .workspace-admin-rows { display: grid; gap: 10px; }
    .workspace-admin-toolbar-actions { display: flex; flex: 0 0 auto; gap: 8px; }
    .workspace-admin-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
    .workspace-admin-row-main { display: grid; min-width: 0; gap: 3px; }
    .workspace-admin-row-main strong { overflow: hidden; color: var(--ink); font-size: 13px; text-overflow: ellipsis; }
    .workspace-admin-row-main small { color: var(--muted); font-size: 12px; }
    .workspace-admin-row-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
    .workspace-admin-health-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 12px; }
    .workspace-admin-health-card { padding: 16px; border: 0; border-radius: 10px; background: var(--canvas); }
    :root[data-theme="dark"] .workspace-admin-health-card { background:#242932; }
    .workspace-admin-health-card span { display: block; color: var(--muted); font-size: 12px; }
    .workspace-admin-health-card strong { display: block; margin-top: 8px; color: var(--ink); font-size: 24px; font-variant-numeric: tabular-nums; }
    .workspace-admin-health-card .workspace-admin-health-latest { font-size: 14px; line-height: 1.45; }
    .organization-data-export { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
    .organization-data-export .panel-title { margin: 0; }
    .organization-data-export > .field-hint { width: 100%; max-width: none; margin: 7px 0 14px; line-height: 1.55; }
    .organization-data-export #organizationDataExportMessage { margin-bottom: 0; }
    @media (max-width: 520px) { .workspace-admin-row { align-items: flex-start; flex-direction: column; } }
    .team-people-panel[hidden] { display: none; }
    .team-people-panel:not([hidden]) { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; }
    .team-directory-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; }
    .team-directory-toolbar .field-hint { margin: 0; }
    .workspace-join-requests { padding: 16px 18px; border-bottom: 1px solid var(--line); }
    .workspace-join-requests[hidden] { display: none; }
    .workspace-join-requests h2 { margin: 0; color: var(--ink); font-size: 16px; }
    #workspaceJoinRequestsPanel > .team-panel-toolbar { padding-right: 0; padding-left: 0; }
    #workspaceJoinRequestsContent > .field-hint { margin-left: 0; }
    .workspace-join-request-list { display: grid; gap: 8px; }
    .workspace-join-request { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; background: var(--canvas); border-radius: 8px; }
    .workspace-join-request > div:first-child { display: grid; gap: 3px; min-width: 0; }
    .workspace-join-request > div:first-child span, .workspace-join-request > div:first-child small { color: var(--muted); font-size: 13px; }
    .workspace-join-request-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
    .organization-job-access-requests { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
    .organization-job-access-requests .team-panel-toolbar { padding: 0 0 12px; }
    .organization-job-access-requests .field-hint { margin: 4px 0 0; }
    .team-directory-filters { display: flex; gap: 8px; flex-wrap: wrap; }
    .team-directory-filters input, .team-directory-filters select { min-height: 32px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #354139; font: inherit; font-size: 13px; }
    .team-people-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; }
    .team-people-table th, .team-people-table td { padding: 10px 12px; border-bottom: 1px solid #eef0ee; color: #354139; text-align: left; white-space: nowrap; }
    .team-people-table thead th { background: #fafbfa; color: #68736d; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
    .team-people-table tbody td:nth-child(n+3) { font-variant-numeric: tabular-nums; }
    .team-directory-person { display: flex; align-items: center; gap: 8px; }
    .team-directory-admin-actions-cell { width: 1%; }
    .team-directory-admin-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
    .team-directory-admin-actions > button { flex: 0 0 auto; white-space: nowrap; }
    .team-directory-admin-actions .team-directory-edit-button { border: 0; }
    .team-directory-person small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 500; }
    .team-directory-work-status { color: var(--muted); font-size: 13px; }
    .team-directory-work-status.is-working { color: var(--green-dark); font-weight: 650; }
    #teamPeopleTable { min-height: 0; flex: 1 1 auto; overflow: auto; }
    .team-member-profile[hidden] { display: none; }
    .team-member-profile { padding: 16px 18px 22px; }
    .team-profile-back { margin: 0 0 16px; padding: 0; border: 0; background: transparent; color: var(--green-dark); font-size: 13px; font-weight: 650; cursor: pointer; }
    .team-profile-header { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
    .team-profile-header > .owner-avatar { width: 48px; height: 48px; font-size: 15px; }
    .team-profile-header h2 { margin: 0; font-size: 18px; }
    .team-profile-header p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
    .profile-capacity-field { position: relative; display: flex; align-items: center; }
    .profile-capacity-field select { flex: 1; padding-left: 28px; }
    .profile-capacity-field .work-capacity-indicator { position: absolute; left: 11px; pointer-events: none; }
    .work-capacity-indicator { display: inline-block; width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; background: #d1d5db; vertical-align: middle; }
    .work-capacity-light { background: #eab308; }
    .work-capacity-medium { background: #22a447; }
    .work-capacity-heavy { background: #dc3545; }
    .team-profile-header .outline-button { margin-left: auto; }
    .team-profile-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 14px; }
    .team-profile-stats > div { display: grid; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
    .team-profile-stats span { color: var(--muted); font-size: 13px; }
    .team-profile-stats strong { color: var(--ink); font-size: 14px; }
    .team-profile-jobs { margin-top: 22px; }
    .team-profile-jobs h3 { margin: 0 0 9px; font-size: 15px; }
    .team-profile-project-link { padding: 0; border: 0; background: transparent; color: var(--green-dark); font: inherit; font-weight: 650; text-align: left; cursor: pointer; }
    .team-profile-project-link:hover, .team-profile-project-link:focus-visible { text-decoration: underline; }
    .team-directory-profile-link { padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 650; text-align: left; cursor: pointer; }
    .team-directory-profile-link:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
    @media (max-width: 600px) {
      .team-profile-header { align-items: flex-start; flex-wrap: wrap; }
      .team-profile-header .outline-button { margin-left: 0; }
    }
    .team-panel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
    .team-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; padding: 0 18px 18px; }
    #customTeamGrid > .project-notes-empty { grid-column: 1 / -1; width: 100%; margin: 0; }
    .custom-team-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
    .custom-team-card:hover { border-color: #a9b9ac; }
    .custom-team-card:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
    .custom-team-cover { display: grid; height: 112px; place-items: center; overflow: hidden; background: linear-gradient(135deg, #e8efe9, #f6f7f3 48%, #dce8df); color: var(--muted); }
    .custom-team-cover img { width: 100%; height: 100%; object-fit: cover; }
    .custom-team-cover svg { width: 29px; height: 29px; opacity: .7; }
    .custom-team-card-body { padding: 12px; }
    .custom-team-card-title { margin: 0; color: #354139; font-size: 13px; font-weight: 680; }
    .custom-team-card-members { min-height: 18px; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }
    .custom-team-card-actions { display: flex; gap: 12px; margin-top: 10px; }
    .custom-team-list-view[hidden], .custom-team-detail-view[hidden] { display: none; }
    .custom-team-detail-view { padding: 16px 18px 20px; }
    .custom-team-detail-panel[hidden] { display: none; }
    .custom-team-detail-back { margin-bottom: 12px; padding: 0; border: 0; background: transparent; color: var(--green-dark); font-size: 13px; font-weight: 650; cursor: pointer; }
    .custom-team-detail-hero { position: relative; display: flex; min-height: 190px; align-items: flex-end; overflow: hidden; padding: 18px; border-radius: 10px; background: linear-gradient(135deg, #e8efe9, #f6f7f3 48%, #dce8df); }
    .custom-team-detail-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .custom-team-detail-hero.has-cover::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgb(15 28 19 / 70%)); content: ""; }
    .custom-team-detail-hero-copy { position: relative; z-index: 1; color: #fff; }
    .custom-team-detail-hero:not(.has-cover) .custom-team-detail-hero-copy { color: #354139; }
    .custom-team-detail-hero-copy h2 { margin: 0; font-size: 22px; text-shadow: 0 1px 5px rgb(0 0 0 / 35%); }
    .custom-team-detail-hero:not(.has-cover) .custom-team-detail-hero-copy h2 { text-shadow: none; }
    .custom-team-detail-hero-copy p { margin: 4px 0 0; font-size: 13px; text-shadow: 0 1px 4px rgb(0 0 0 / 45%); }
    .custom-team-detail-hero:not(.has-cover) .custom-team-detail-hero-copy p { text-shadow: none; }
    .custom-team-detail-hero .outline-button { position: absolute; z-index: 2; top: 12px; right: 12px; background: rgb(255 255 255 / 92%); }
    .custom-team-members-heading { margin: 18px 0 9px; color: #354139; font-size: 13px; font-weight: 680; }
    .custom-team-members-table { width: 100%; max-width: 100%; border-collapse: collapse; }
    .custom-team-members-table th, .custom-team-members-table td { padding: 10px 12px; border-bottom: 1px solid #eef0ee; color: #354139; font-size: 13px; text-align: left; }
    .custom-team-members-table thead th { background: #fafbfa; color: #68736d; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
    .custom-team-members-table th:last-child, .custom-team-members-table td:last-child { width: 1%; white-space: nowrap; text-align: left; font-variant-numeric: tabular-nums; }
    .team-member-picker { display: grid; max-height: 220px; gap: 2px; overflow-y: auto; padding: 5px; border: 0; border-radius: 0; }
    .team-member-picker[hidden] { display: none; }
    .team-member-search-heading { display: flex; align-items: baseline; gap: 10px; }
    .team-member-search-heading label { margin-bottom: 6px; }
    .team-member-option { display: flex; align-items: center; column-gap: 0 !important; padding: 6px; border-radius: 5px; color: #46534b; font-size: 13px; }
    .team-member-option > span { line-height: 14px; }
    .team-member-option input[data-custom-team-member] { display: inline-grid; width: 14px; height: 14px; min-height: 14px; flex: 0 0 14px; place-items: center; align-self: center; margin: 0 16px 0 0 !important; padding: 0; appearance: none; border: 0; border-radius: 0; background: #e7ece8; cursor: pointer; }
    .team-member-option input[data-custom-team-member]:checked { background: var(--green); }
    .team-member-option input[data-custom-team-member]:checked::after { width: 4px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; content: ""; transform: rotate(45deg) translateY(-1px); }
    .team-member-option input[data-custom-team-member]:focus-visible { outline: 2px solid #9bc9aa; outline-offset: 2px; }
    .team-member-option:hover { background: #f5f8f5; }
    .team-member-search { margin-bottom: 8px; }
    .team-selected-members { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
    .team-selected-members:empty { display: none; }
    .team-selected-member { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 14px; background: #eef5ef; color: #355b40; font-size: 13px; }
    .team-selected-member button { display: inline-grid; width: 15px; height: 15px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 13px; line-height: 1; }
    .team-member-search-prompt { color: #b42318; font-size: 13px; }
    .team-cover-preview { width: 100%; max-height: 150px; border-radius: 7px; object-fit: cover; }
    .team-cover-preview[hidden] { display: none; }
    .budget-chart { padding: 14px 16px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
    .budget-chart-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 13px; }
    .budget-chart-title { color: #354139; font-size: 13px; font-weight: 680; }
    .budget-chart-svg { display: block; width: 100%; height: auto; }
    .budget-chart-grid { stroke: #eef0ee; stroke-width: 1; }
    .budget-chart-zero { stroke: #b3483f; stroke-dasharray: 4 3; stroke-width: 1; }
    .budget-chart-axis { fill: #89928d; font-size: 10px; }
    .budget-chart-area { fill: var(--green-light); opacity: .7; }
    .budget-chart-line { stroke: var(--green); stroke-width: 2; stroke-linejoin: round; }
    .budget-chart-line.over, .budget-chart-dot.over { stroke: #b3483f; }
    .budget-chart-dot { fill: #fff; stroke: var(--green); stroke-width: 2; }
    .budget-chart-empty { padding: 4px 0 6px; color: var(--muted); font-size: 13px; }
    .projected-hours-card { margin-top: 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
    .projected-hours-table th { height: 39px; padding: 0 17px; background: #fafbfa; border-bottom: 1px solid var(--line); text-align: left; }
    .projected-hours-table td { height: 52px; padding: 0 17px; border-top: 1px solid #eef0ee; }
    .projected-hours-table tbody tr:first-child td { border-top: 0; }
    .projected-hours-table .projected-hours-department { width: 210px; }
    .projected-hours-table .projected-hours-department select { width: 100%; }
    .projected-hours-table .projected-hours-cell { width: 170px; }
    .projected-hours-table .projected-hours-action { width: 1%; text-align: right; }
    .projected-hours-table tfoot th, .projected-hours-table tfoot td { height: 44px; border-top: 1px solid var(--line); border-bottom: 0; background: #fafbfa; color: #354139; font-size: 13px; }
    .projected-hours-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .projected-hours-edit-button { min-height: 30px; padding: 0 14px; font-size: 13px; }
    .department-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 13px; font-weight: 650; }
    .department-select { font-weight: 650; }
    .projected-hours-table .projected-hours-rate { width: 150px; }
    .projected-hours-table .rate-input, .projected-hours-table .rate-value { display: none; }
    .projected-hours-table .rate-input { width: 110px; }
    .projected-hours-table .rate-mask { color: var(--muted); letter-spacing: 2px; }
    .projected-hours-table.rates-visible .rate-input { display: inline-block; }
    .projected-hours-table.rates-visible .rate-value { display: inline; }
    .projected-hours-table.rates-visible .rate-mask { display: none; }
    .projected-hours-add-row { background: #fcfdfc; }
    .projected-hours-add-row input[name="memberName"] { width: 100%; }
    .projected-hours-input, .projected-hours-add-row input { min-height: 34px; padding: 6px 9px; border: 1px solid #e3e8e3; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; }
    .projected-hours-input { width: 110px; }
    .projected-hours-add-row .primary-button { min-height: 34px; padding: 0 16px; font-size: 13px; }
    /* Budget and allocation page */
    #projectBudgetPanel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 32px 30px; background: #f3f6f4; }
    #projectBudgetPanel[hidden] { display: none; }
    #projectBudgetPanel > .budget-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
    #projectBudgetPanel > .budget-page-heading { grid-column: 1 / -1; }
    .budget-page-heading h2 { margin: 0; color: #243b34; font-size: 21px; font-weight: 680; letter-spacing: -.025em; }
    .budget-page-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
    .budget-currency { padding: 6px 9px; border: 1px solid #e1e8e3; border-radius: 6px; background: #fff; color: var(--muted); font-size: 11px; }
    .budget-currency strong { color: #34463e; }
    #projectBudgetPanel .budget-summary-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; padding: 8px; border: 0; border-radius: 14px; background: white; }
    .budget-summary-card { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 5px; padding: 15px 20px; border-right: 1px solid #e5ebe7; }
    .budget-summary-card > span { color: var(--muted); font-size: 12px; }
    .budget-summary-card > strong { color: #243c34; font-size: 27px; font-weight: 680; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
    .budget-summary-card > small { color: var(--muted); font-size: 11px; }
    .budget-summary-remaining { margin-left: 12px; border: 0; border-radius: 10px; background: #eff6f1; }
    .budget-summary-remaining > span, .budget-summary-remaining > strong { color: #265c48; }
    #projectBudgetPanel .budget-chart { padding: 16px 20px; border: 0; border-radius: 14px; }
    .budget-chart-heading { align-items: center; margin-bottom: 10px; }
    .budget-chart-title { color: #30443b; font-size: 14px; }
    .budget-chart-date { color: var(--muted); font-size: 13px; }
    .budget-chart-date-icon { display: inline-block; font-size: 16px; vertical-align: -1px; }
    .budget-chart-content { display: grid; grid-template-columns: minmax(0, 1fr) 205px; align-items: center; gap: 20px; }
    .budget-chart-svg { min-width: 0; }
    .budget-chart-note { padding: 14px; border-radius: 10px; background: #f7f9f8; color: var(--muted); font-size: 13px; }
    .budget-chart-note strong { color: #315e4b; font-size: 13px; }
    .budget-chart-note-icon { display: inline-block; font-size: 15px; vertical-align: -1px; }
    .budget-chart-note p { margin: 9px 0; line-height: 1.45; }
    .budget-chart-note small { color: var(--muted); font-size: 13px; }
    #projectBudgetPanel .projected-hours { padding: 16px 20px 0; border: 0; border-radius: 14px; background: #fff; }
    .projected-hours-title { color: #30443b; font-size: 15px; font-weight: 680; }
    .projected-hours-count { display: inline-block; margin-left: 6px; padding: 3px 8px; border-radius: 15px; background: #f2f6f3; color: var(--muted); font-size: 10px; font-weight: 500; vertical-align: middle; }
    .projected-hours-subtitle { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
    .projected-hours-actions { display: flex; align-items: center; gap: 8px; }
    .projected-hours-actions .primary-button { min-height: 34px; padding: 0 13px; }
    #projectBudgetPanel .projected-hours-card { margin-top: 14px; border: 0; border-radius: 0; }
    #projectBudgetPanel .projected-hours-table th { height: 34px; padding: 0 10px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 600; }
    #projectBudgetPanel .projected-hours-table td { height: 47px; padding: 0 10px; font-size: 12px; }
    #projectBudgetPanel .projected-hours-table tfoot th, #projectBudgetPanel .projected-hours-table tfoot td { background: #fff; }
    #projectBudgetPanel .department-badge { padding: 4px 9px; border-radius: 5px; background: #eff6f1 !important; color: #426e59 !important; font-size: 13px; font-weight: 500; }
    #projectBudgetPanel .projected-hours > [data-projected-hours-form] { display: none; }
    @media (max-width: 700px) { #projectBudgetPanel { padding: 18px 14px; } #projectBudgetPanel .budget-summary-cards { grid-template-columns: 1fr; } .budget-summary-card { border-right: 0; border-bottom: 1px solid #e5ebe7; } .budget-summary-remaining { margin: 5px 0 0; } .budget-chart-content { grid-template-columns: 1fr; } .budget-chart-note { display: none; } }
    /* Workflow task view */
    #projectLifecyclePanel { padding: 24px 30px 30px !important; background: #f3f6f4; }
    .lifecycle-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
    .lifecycle-page-heading h2 { margin: 0; color: #17211d; font-size: 20px; font-weight: 680; }
    .lifecycle-page-heading p { margin: 5px 0 0; color: #5f6b64; font-size: 13px; }
    .lifecycle-toolbar-actions { gap: 10px; }
    .lifecycle-view-toggle { display:flex; align-items:center; gap:2px; padding:3px; border:1px solid var(--line); border-radius:8px; background:var(--surface); }
    .lifecycle-view-toggle button { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:32px; padding:0 12px; border:0; border-radius:6px; background:transparent; color:var(--muted); font-size:13px; font-weight:600; line-height:1; text-align:center; white-space:nowrap; cursor:pointer; transition:background-color .15s ease, color .15s ease; }
    .lifecycle-view-toggle button:hover { background:var(--green-light); color:var(--green-dark); }
    .lifecycle-view-icon { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; font-size: 24px; line-height: 1; }
    .lifecycle-view-toggle button[aria-pressed="true"] { background:var(--green-light); color:var(--green-dark); font-weight:650; box-shadow:none; }
    #projectLifecyclePanel .lifecycle-add-button { display: inline-flex; width: auto; min-width: 100px; height: 40px; min-height: 40px; align-items: center; justify-content: center; padding: 0 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--green-dark); box-shadow: none; font-size: 13px; white-space: nowrap; }
    #projectLifecyclePanel .lifecycle-add-button:hover { border-color: #cbd9ce; background: #f8faf8; color: var(--green-dark); }
    .lifecycle-add-button > span { display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 7px; line-height: 1; }
    .lifecycle-add-icon { display: inline-flex; width: 16px; height: 20px; align-items: center; justify-content: center; font-size: 20px; font-weight: 400; line-height: 1; }
    .lifecycle-calendar { margin: 0 0 22px; border-color: #dce5df; border-radius: 12px; }
    .lifecycle-cal-header { min-height: 56px; padding: 9px 18px; }
    .lifecycle-cal-month { display: flex; align-items: center; gap: 10px; }
    .lifecycle-cal-month > span { display: grid; width: auto; height: auto; place-items: center; border-radius: 0; background: transparent; color: #317354; font-size: 27px; line-height: 1; }
    .lifecycle-cal-title { color: #2e4239; font-size: 20px; }
    .lifecycle-cal-nav { flex-direction: row; gap: 6px; }
    .lifecycle-cal-nav button { min-width: 34px; height: 34px; padding: 0 7px; border-color: #e1e9e3; border-radius: 6px; color: #50645a; font-size: 18px; white-space: nowrap; }
    .lifecycle-cal-nav button[data-lifecycle-cal-step] { font-size: 24px; line-height: 1; }
    .lifecycle-cal-nav button[data-lifecycle-cal-today] { min-width: 52px; margin-right: 2px; padding: 0 10px; font-size: 12px; }
    .lifecycle-cal-weekdays div { padding: 8px 10px; border-left: 1px solid #e9efeb; background: #f8faf9; color: #62736b; font-size: 12px; font-weight: 550; }
    .lifecycle-cal-weekdays div:first-child { border-left: 0; }
    .lifecycle-cal-week { grid-template-rows: 24px repeat(var(--lifecycle-calendar-lanes, 1), minmax(28px, 1fr)); min-height: 82px; padding-bottom: 7px; row-gap: 2px; }
    .lifecycle-cal-day { padding: 8px 10px; border-left: 0; color: #62756b; font-size: 12px; }
    .lifecycle-cal-day:not(:first-child) { border-left: 1px solid var(--line); }
    .lifecycle-cal-day[title] { cursor: pointer; }
    .lifecycle-cal-day.outside { background: transparent; color: #5f6b64; }
    .lifecycle-cal-day.today span { position: relative; z-index: 2; width: 24px; min-width: 24px; height: 24px; margin: -3px 0 0 -3px; border-radius: 50%; font-size: 12px; }
    .lifecycle-cal-bar { height: 28px; align-self: center; margin: 0 3px; padding: 0 7px; border-left: 5px solid color-mix(in srgb,var(--lifecycle-task-color),#000 20%); border-radius: 0; background: color-mix(in srgb,var(--lifecycle-task-color),white 88%); color: #17211d; font-size: 12px; font-weight: 550; line-height: 28px; }
    .lifecycle-cal-bar:hover,.lifecycle-cal-bar:focus-visible { filter: brightness(.97); outline-color: var(--lifecycle-task-color); }
    .lifecycle-tasks-card { overflow: hidden; border: 0; border-radius: 12px; background: var(--canvas); }
    .lifecycle-tasks-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px 11px; }
    .lifecycle-tasks-heading h3 { display: flex; align-items: center; gap: 8px; margin: 0; color: #30443b; font-size: 16px; }
    .lifecycle-tasks-heading h3 span { padding: 3px 8px; border-radius: 12px; background: #f1f5f2; color: #58665f; font-size: 14px; font-weight: 600; }
    .lifecycle-tasks-heading small { color: #5f6b64; font-size: 11px; }
    .lifecycle-table-wrap { padding: 0 16px; }
    .lifecycle-table { width: 100%; min-width: 1200px; table-layout: fixed; }
    .lifecycle-table .lifecycle-col-number { width: 4%; }
    .lifecycle-table .lifecycle-col-task { width: 15%; }
    .lifecycle-table .lifecycle-col-description { width: 16%; }
    .lifecycle-table .lifecycle-col-dependencies { width: 14%; }
    .lifecycle-table .lifecycle-col-duration { width: 7%; }
    .lifecycle-table .lifecycle-col-start,.lifecycle-table .lifecycle-col-end { width: 10%; }
    .lifecycle-table .lifecycle-col-assigned { width: 10%; }
    .lifecycle-table .lifecycle-col-done { width: 5%; }
    .lifecycle-table .lifecycle-col-actions { width: 9%; }
    .lifecycle-table .lifecycle-cell-actions { padding-right: 12px; }
    .lifecycle-table th { padding: 9px 8px; background: #fff; color: #5f6b64; font-size: 13px; font-weight: 550; letter-spacing: .02em; }
    .lifecycle-table td { padding: 12px 8px; border-color: #edf1ee; color: #42534a; font-size: 13px; }
    .lifecycle-table .lifecycle-cell-number { width: 25px; font-size: 13px; font-weight: 450; }
    .lifecycle-task-marker { width: 4px; height: 15px; border-radius: 2px; }
    .lifecycle-cell-task-inner { gap: 7px; }
    .lifecycle-task-title { color: #30443b; font-size: 13px; font-weight: 650; }
    .lifecycle-task-notes,.lifecycle-cell-duration,.lifecycle-cell-dates { color: #5f6b64; font-size: 13px; }
    .lifecycle-task-assignees { display: block; }
    .lifecycle-task-assignee { padding: 0; border-radius: 0; background: transparent; color: #405349; font-size: 13px; font-weight: 500; white-space: nowrap; }
    .lifecycle-completion-toggle,.lifecycle-completion-indicator { width: 28px; height: 28px; border-color: transparent; background: #eef5f0; color: #286b49; font-size: 18px; }
    .lifecycle-completion-toggle.is-complete,.lifecycle-completion-indicator.is-complete { border-color: #256b4b; background: #256b4b; color: #fff; }
    .lifecycle-task-actions { gap: 10px; }
    .lifecycle-task-actions button { font-size: 13px; font-weight: 500; }
    @media (max-width: 700px) { #projectLifecyclePanel { padding: 18px 14px !important; } .lifecycle-page-heading { align-items: flex-start; } .lifecycle-toolbar-actions { gap: 5px; } .lifecycle-add-button { min-width: 34px; padding: 0 8px; } }
    .detail-footer { justify-content: space-between; }
    .project-time-view { width: 100%; }
    .project-time-week-view { width: 100%; margin-top: 16px; padding: 18px; }
    .project-time-week-view[hidden] { display: none; }
    .project-time-week-table { width: 100%; min-width: 1120px; table-layout: fixed; border-collapse: collapse; font-size: 13px; }
    .project-time-week-table th:nth-child(1), .project-time-week-table td:nth-child(1) { width: 96px; }
    .project-time-week-table th:nth-child(2), .project-time-week-table td:nth-child(2) { width: 100px; }
    .project-time-week-table th:nth-child(3), .project-time-week-table td:nth-child(3) { width: 205px; }
    .project-time-week-table th:nth-child(4), .project-time-week-table td:nth-child(4) { width: 100px; }
    .project-time-week-table th:nth-child(n+5), .project-time-week-table td:nth-child(n+5) { width: 76px; }
    .project-time-week-table th, .project-time-week-table td { padding: 9px 12px; border-bottom: 1px solid #eef0ee; color: #354139; text-align: left; }
    .project-time-week-table thead th { background: #fafbfa; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
    .project-time-week-table thead th span { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; }
    .project-time-chart-heading:has(.project-time-week-actions) { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
    .project-time-week-table tbody th { position: relative; }
    .project-time-week-remove { position: absolute; top: 50%; right: 6px; display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 5px; background: var(--surface); color: #b42318; opacity: 0; pointer-events: none; transform: translateY(-50%); cursor: pointer; transition: opacity .12s ease, background-color .12s ease; }
    .project-time-week-custom-name { display: inline-flex; min-width: 0; max-width: calc(100% - 34px); align-items: baseline; gap: 6px; overflow: hidden; vertical-align: middle; }
    .project-time-week-custom-name .project-time-week-custom-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .project-time-week-table tbody th > .project-time-tooltip-name { display: flex; min-width: 0; max-width: 100%; align-items: baseline; gap: 6px; overflow: hidden; white-space: nowrap; }
    .project-time-week-table tbody th:has(> .project-time-week-remove) > .project-time-tooltip-name { max-width: calc(100% - 34px); }
    .project-time-week-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .project-time-week-table tbody tr:hover .project-time-week-remove,
    .project-time-week-table tbody tr:focus-within .project-time-week-remove,
    .project-time-week-remove:focus-visible { opacity: 1; pointer-events: auto; }
    .project-time-week-remove:hover { background: #fdecea; }
    .project-time-week-remove:focus-visible, .project-time-week-export-menu button:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 2px; }
    .project-time-week-actions { display: inline-flex; gap: 8px; flex-wrap: wrap; }
    .project-time-week-navigation { display: inline-flex; align-items: center; gap: 5px; }
    .project-time-week-picker { position: relative; display: inline-flex; }
    .project-time-week-range-button { white-space: nowrap; }
    .project-time-week-date-input { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
    .project-time-week-export { position: relative; }
    .project-time-week-export summary { list-style: none; display: inline-flex; align-items: center; }
    .project-time-week-export summary::-webkit-details-marker { display: none; }
    .project-time-week-export-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 5; display: grid; min-width: 160px; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
    .project-time-week-export-menu button { padding: 7px 10px; border: 0; border-radius: 5px; background: none; color: #354139; font-size: 13px; text-align: left; cursor: pointer; }
    .project-time-week-export-menu button:hover { background: #eef2ee; }
    .project-time-week-table tfoot td.project-time-week-under { color: #c62828; }
    .project-time-week-meta-input { box-sizing: border-box; width: 100%; min-width: 76px; height: 32px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; }
    .project-time-week-draft-name { min-width: 140px; }
    body.auth-locked > *:not(.auth-screen) { display: none !important; }
    .auth-screen { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; background: var(--canvas); overflow: auto; }
    .auth-card { display: grid; gap: 14px; width: min(100%, 380px); padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.06); }
    .auth-brand { color: var(--green-dark); font-size: 20px; font-weight: 750; }
    .auth-card h1 { margin: 0; font-size: 20px; }
    .auth-sub { margin: -6px 0 2px; color: #68736d; font-size: 13px; }
    .auth-confirmation-card .auth-sub, .auth-confirmation-email { margin: 0; }
    .auth-confirmation-email { color: var(--ink); font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
    .auth-card label { display: grid; gap: 5px; color: #354139; font-size: 13px; font-weight: 600; }
    .auth-password-requirements { display: grid; gap: 3px; margin: 0; padding: 0; color: #68736d; font-size: 12px; font-weight: 400; list-style: none; }
    .auth-password-requirements li { display: flex; align-items: center; gap: 6px; }
    .auth-password-requirements li::before { width: 12px; color: currentColor; content: "○"; text-align: center; }
    .auth-password-requirements li.is-valid { color: var(--green-dark); }
    .auth-password-requirements li.is-valid::before { content: "✓"; font-weight: 700; }
    .auth-card input[type="text"], .auth-card input[type="password"], .auth-card input[type="email"], .auth-card select { min-height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; }
    .workspace-mfa-setup { display: grid; justify-items: start; gap: 12px; }
    .workspace-mfa-setup[hidden] { display: none; }
    .workspace-mfa-qr { width: min(100%, 220px); padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
    .workspace-mfa-secret-wrap { display: grid; gap: 5px; color: var(--muted); font-size: 12px; }
    .workspace-mfa-secret { max-width: 100%; padding: 8px 10px; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 7px; background: var(--canvas); color: var(--ink); font-size: 13px; }
    .workspace-mfa-form { display: grid; gap: 12px; }
    .workspace-mfa-form[hidden] { display: none; }
    .auth-error { min-height: 16px; color: #c62828; font-size: 13px; }
    .auth-submit { width: 100%; }
    .profile-password-entry { justify-self: start; }
    #profileForm:not(.password-view):not(.preferences-view):not(.view-as-view) .form-body { padding-bottom: 0; }
    .profile-view-as-section { display: grid; gap: 8px; padding: 0; border: 0; }
    .profile-view-as-section[hidden] { display: none; }
    .profile-view-as-section h3 { margin: 0; color: var(--ink); font-size: 16px; }
    .profile-preferences-section { display: grid; gap: 12px; }
    .profile-preferences-section[hidden] { display: none; }
    .profile-preferences-section h3 { margin: 0; color: #55615a; font-size: 13px; font-weight: 700; }
    .profile-hover-preference { padding: 0; border: 0; border-radius: 0; background: transparent; }
    .profile-hover-preference label { display: flex; align-items: center; gap: 9px; margin: 0; font-weight: 550; cursor: pointer; }
    .profile-hover-preference input { flex: 0 0 16px; width: 16px; min-height: 16px; height: 16px; margin: 0; padding: 0; accent-color: var(--green); }
    .profile-hover-preference input:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
    .profile-password-section { display: grid; gap: 10px; padding-top: 14px; }
    .profile-password-section[hidden] { display: none; }
    .profile-password-section h3 { margin: 0; color: var(--ink); font-size: 16px; }
    .profile-password-message { min-height: 0; margin: 0; color: var(--muted); font-size: 13px; }
    .profile-password-message:empty { display: none; }
    .profile-password-section button { justify-self: start; margin-top: 8px; }
    .profile-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 4px; margin-left: auto; }
    .profile-header-action { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
    .profile-header-action:hover { background: #f2f4f2; color: var(--green-dark); }
    .profile-header-action:focus-visible { outline: 2px solid #9bc9aa; outline-offset: 2px; }
    .profile-header-action[hidden] { display: none; }
    .profile-save-icon, #profileForm.editing .profile-edit-icon { display: none; }
    #profileForm.editing .profile-save-icon { display: block; }
    .profile-password-entry { display: inline-flex; width: calc(100% + 46px); min-height: 56px; box-sizing: border-box; align-items: center; gap: 8px; margin: 0 0 0 -23px; padding: 0 23px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--muted); text-align: left; cursor: pointer; transition: color .15s; }
    #profilePreferencesEntry { margin-top: -14px; }
    #profilePasswordEntry { margin-top: -14px; }
    .profile-password-entry:hover { border-top-color: var(--line); background: transparent; color: var(--ink); }
    #profileForm.password-view .form-body > :not(#profilePasswordSection):not(#profileInnerBackButton) { display: none; }
    #profileForm.password-view #profilePasswordSection { display: grid; }
    #profileForm.preferences-view .form-body > :not(#profilePreferencesSection):not(#profileInnerBackButton) { display: none; }
    #profileForm.preferences-view #profilePreferencesSection { display: grid; }
    #profileForm.view-as-view .form-body > :not(#permissionPreviewControl) { display: none; }
    #profileForm.view-as-view #permissionPreviewControl { display: grid; }
    #profileForm.password-view #editProfileDialogButton,
    #profileForm.view-as-view #editProfileDialogButton,
    #profileForm.preferences-view #editProfileDialogButton { display: none; }
    .auth-switch { border: 0; background: none; color: var(--green-dark); font-size: 13px; font-weight: 600; cursor: pointer; }
    .auth-switch:empty { display: none; }
    .sign-out-button { display: inline-flex; min-height: 32px; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: color .15s; }
    .sign-out-button:hover { border-color: transparent; background: transparent; color: var(--red); }
    .sign-out-button[hidden] { display: none; }
    .risk-badges { display: inline-flex; gap: 4px; flex-wrap: wrap; margin-left: 8px; vertical-align: middle; }
    .board-card .risk-badges { margin-left: 0; }
    .risk-badge { display: inline-block; padding: 2px 7px; border-radius: 10px; font-size: 13px; font-weight: 650; white-space: nowrap; }
    .risk-badge.overdue, .risk-badge.budget { background: #fdecea; color: #c62828; }
    .risk-badge.soon { background: #fff4e0; color: #9a6400; }
    .risk-badge.budget-watch { background:#fff4e0; color:#9a6400; }
    .risk-badge.task-overdue { background:#fdecea; color:#c62828; }
    .layout-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
    .layout-toggle button { min-height: 32px; padding: 0 12px; border: 0; background: #fff; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; }
    .layout-toggle button[aria-pressed="true"] { background: var(--green-dark); color: #fff; }
    .board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; padding: 14px; overflow-x: auto; align-items: start; }
    .board-column { display: grid; gap: 8px; align-content: start; min-height: 140px; padding: 10px; border-radius: 10px; background: #edf0ed; transition: background-color .22s ease; }
    .board-column.drag-over { outline: 2px dashed var(--green-dark); outline-offset: -2px; }
    .board-column-title { display: flex; justify-content: space-between; color: #354139; font-size: 13px; font-weight: 700; }
    .board-column-title span { color: inherit; font-weight: inherit; }
    .board-card { display: grid; gap: 6px; padding: 10px; border: 0; border-radius: 8px; background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: background-color .22s ease; }
    .board-card.is-being-worked { border-color: #a9c8b2; background: #f4f9f5; box-shadow: inset 3px 0 var(--green); }
    .board-card .active-work-indicator { margin: 0; }
    .board-card[draggable="true"] { cursor: grab; }
    .board-card.dragging { opacity: .45; }
    .board-card:hover { background: #f8faf8; }
    .board-card-job { color: var(--muted); font-size: 13px; }
    .board-card-name { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 650; }
    .board-card-name .project-pinned-icon { color: #8a6412; }
    .board-card.is-hot { border-color: #efd2cd; background: #fff9f7; }
    .board-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; color: #68736d; font-size: 13px; }
    .board-card .billing-type-badge { justify-self: start; }
    .board-empty { padding: 14px 6px; color: var(--muted); font-size: 13px; text-align: center; }
    .workload-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; }
    .workload-capacity { display: inline-flex; align-items: center; gap: 8px; color: #354139; font-size: 13px; font-weight: 600; }
    .workload-capacity input { width: 64px; min-height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; font: inherit; }
    .workload-table td, .workload-table th { text-align: right; font-variant-numeric: tabular-nums; }
    .workload-table td:first-child, .workload-table th:first-child { text-align: left; }
    .workload-cell { font-weight: 600; }
    .workload-cell.warn { background: #fff4e0; color: #9a6400; }
    .workload-cell.over { background: #fdecea; color: #c62828; }
    .workload-note { padding: 12px 16px 16px; color: var(--muted); font-size: 13px; }
    .project-time-week-add { cursor: pointer; font-weight: 600; }
    .project-time-week-add { min-height: 30px; max-width: 220px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #354139; font-size: 13px; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
    .project-time-week-add:hover { background: #f0f5f1; border-color: #9db7a4; color: #1f5b3b; }
    .project-time-week-add:focus-visible, .project-time-week-export summary:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 2px; }
    .project-time-week-add-entry { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
    .project-time-week-input { width: 56px; padding: 4px 6px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #354139; font: inherit; text-align: right; font-variant-numeric: tabular-nums; }
    .project-time-week-input:hover { border-color: #d5dbd6; }
    .project-time-week-input:focus { border-color: var(--green-dark); background: #fff; outline: none; }
    .project-time-week-input::placeholder { color: var(--muted); opacity: 1; }
    .project-time-week-jobnumber { white-space: nowrap; }
    .project-time-week-table tbody th { font-weight: 600; }
    .project-time-week-table .project-time-week-hours { text-align: right; font-variant-numeric: tabular-nums; }
    .project-time-week-table .project-time-week-total, .project-time-week-table tfoot th, .project-time-week-table tfoot td { font-weight: 700; }
    .project-time-week-table tfoot th, .project-time-week-table tfoot td { border-top: 1px solid var(--line); border-bottom: 0; background: #fafbfa; }
    .projects-view[hidden], .project-time-view[hidden], .page-action[hidden] { display: none; }
    .team-list-view[hidden] { display: none; }
    .project-detail-screen[hidden] { display: none; }
    .project-detail-screen { padding-bottom: 24px; }
    .main.proofing-active .project-detail-screen { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; padding-bottom: 0; }
    .detail-back-button { display: inline-flex; align-items: center; gap: 7px; margin: 16px 0 22px; padding: 5px 0; border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 620; }
    .main.proofing-active .detail-back-button { flex: 0 0 auto; }
    .detail-back-button[hidden], .project-detail-heading[hidden] { display: none; }
    .detail-back-button:hover { color: var(--green-dark); }
    .project-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 19px; }
    .project-detail-title-group { min-width: 0; }
    .project-detail-title-group { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
    .project-detail-title-group h2 { margin: 0; }
    .project-detail-active-workers { display: inline-flex; align-items: center; }
    #projectActiveWorkIndicators { box-sizing: border-box; width: 32px; height: 32px; flex: 0 0 32px; }
    #projectActiveWorkIndicators[hidden] { display: inline-flex; visibility: hidden; }
    .project-detail-active-workers .active-work-indicator { margin-left: 0; }
    .project-detail-active-workers .active-work-avatar { width: 32px; height: 32px; font-size: 13px; }
    .project-detail-heading h2 { margin: 0; color: #253129; font-size: 22px; font-weight: 690; letter-spacing: -.65px; overflow-wrap: anywhere; }
    .project-detail-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
    .project-detail-actions .primary-button, .project-detail-actions .route-link-menu summary { font-size: 13px; }
    .project-detail-heading.is-hot .project-detail-actions > .primary-button { background: #a52d26; color: #fff; box-shadow: 0 2px 4px rgb(124 35 29 / 20%); transition: background .22s ease, color .22s ease, transform .15s; }
    .project-detail-heading.is-hot .project-detail-actions > .primary-button:hover { background: #84251f; }
    .project-detail-heading.is-hot .project-detail-actions > .outline-button,
    .project-detail-heading.is-hot .project-detail-actions > .detail-work-button,
    .project-detail-heading.is-hot .project-detail-actions > .route-link-menu summary,
    .project-detail-heading.is-hot .project-detail-actions > .project-menu summary { border-color: #e5aaa4; background: #fff1ef; color: #812820; transition: background-color .22s ease, border-color .22s ease, color .22s ease; }
    .project-detail-heading.is-hot .project-detail-actions > .outline-button:hover,
    .project-detail-heading.is-hot .project-detail-actions > .detail-work-button:hover,
    .project-detail-heading.is-hot .project-detail-actions > .route-link-menu summary:hover,
    .project-detail-heading.is-hot .project-detail-actions > .project-menu summary:hover,
    .project-detail-heading.is-hot .project-detail-actions > .project-menu[open] summary { border-color: #d98179; background: #fce2df; color: #71221c; }
    .project-detail-heading.is-hot .project-detail-actions :is(.primary-button, .outline-button, .detail-work-button, .route-link-menu summary, .project-menu summary):focus-visible { outline: 3px solid #d84a40; outline-offset: 2px; }
    .route-link-menu { position: relative; display: inline-flex; align-items: stretch; margin-left: -8px; }
    .route-link-menu[hidden] { display: none; }
    .route-link-menu summary { display: inline-flex; width: 26px; min-height: 40px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 0 8px 8px 0; background: #fff; color: var(--green-dark); cursor: pointer; font-size: 13px; font-weight: 650; list-style: none; }
    #openProjectLink:not([hidden]):has(+ #directServerLink[hidden] + .route-link-menu:not([hidden])), #directServerLink:not([hidden]):has(+ .route-link-menu:not([hidden])) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
    #openProjectLink:not([hidden]) + #directServerLink[hidden] + .route-link-menu:not([hidden]) { margin-left: -8px; }
    .route-link-menu summary::-webkit-details-marker { display: none; }
    .route-link-menu summary::marker { content: none; }
    .route-link-menu summary:hover, .route-link-menu[open] summary { border-color: #cbd9ce; background: #f8faf8; }
    .route-link-menu summary:focus-visible, .route-link-menu-item:focus-visible { outline: 3px solid #9bc9aa; outline-offset: 2px; }
    .route-link-menu-popover { position: absolute; z-index: 3; top: calc(100% + 6px); right: 0; display: grid; min-width: 160px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgb(25 44 34 / 13%); }
    .route-link-menu-item { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 9px; border-radius: 5px; color: #46534b; font-size: 13px; text-decoration: none; }
    .route-link-menu-custom-links { display: contents; }
    .route-link-menu-item[hidden] { display: none; }
    .route-link-menu-item:hover { background: #f3f6f3; }
    .project-menu { position: relative; }
    .project-menu summary { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #647169; cursor: pointer; list-style: none; }
    .projects-view .project-menu > summary { border-color: transparent; background: transparent; color: var(--green-dark); }
    .projects-view .project-menu > summary:hover,.projects-view .project-menu[open] > summary { border-color: transparent; background: var(--green-light); color: var(--green-dark); }
    .project-menu summary::-webkit-details-marker { display: none; }
    .project-menu summary:hover, .project-menu[open] summary { background: #f5f8f5; color: var(--green-dark); }
    .project-menu summary:focus-visible, .project-menu-item:focus-visible { outline: 3px solid #9bc9aa; outline-offset: 2px; }
    .project-menu-popover { position: fixed; z-index: 1000; display: grid; min-width: 190px; max-width: calc(100vw - 16px); padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgb(25 44 34 / 13%); }
    .project-menu:not([open]) > .project-menu-popover { display: none; }
    .project-menu[open]:not(#projectActionsMenu) .project-menu-popover { visibility: hidden; }
    #projectActionsMenu .project-menu-popover { position: absolute; top: calc(100% + 6px); right: 0; left: auto; max-height: calc(100vh - 16px); overflow-y: auto; }
    .project-menu-item { display: flex; width: 100%; min-height: 34px; align-items: center; gap: 9px; padding: 0 9px; border: 0; border-radius: 5px; background: transparent; color: #46534b; font-size: 13px; text-align: left; }
    .project-menu-item svg { width: 15px; height: 15px; flex: 0 0 auto; }
    .project-menu-item:hover { background: #f3f6f3; }
    .project-menu-item.delete { color: var(--red); }
    .project-menu-item.delete:hover { background: var(--red-light); }
    .project-menu-item:disabled { cursor: not-allowed; opacity: .58; }
    .project-menu-item:disabled:hover { background: transparent; }
    .project-detail-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
    .project-detail-navigation { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
    .project-detail-tabs { display: flex; gap: 12px; min-width: 0; padding: 0 16px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
    .project-detail-tabs::-webkit-scrollbar { display: none; }
    .project-detail-tab { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 11px; border: 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 620; white-space: nowrap; }
    .project-detail-tab[hidden] { display: none; }
    .project-detail-tab > svg { width: 15px; height: 15px; flex: 0 0 15px; }
    .project-detail-tab:hover, .project-detail-tab[aria-selected="true"] { color: var(--green-dark); }
    .project-detail-tab[aria-selected="true"]::after { position: absolute; right: 8px; bottom: -1px; left: 8px; height: 2px; border-radius: 2px; background: var(--green); content: ""; }
    .project-detail-panel.is-hot .project-detail-navigation { border-bottom-color: #e7c8c4; }
    .project-detail-panel.is-hot .project-detail-tab:hover,
    .project-detail-panel.is-hot .project-detail-tab[aria-selected="true"] { color: #c43c32; }
    .project-detail-panel.is-hot .project-detail-tab[aria-selected="true"]::after { background: #d84a40; }
    .project-workflow { max-width: 900px; padding: 18px; }
    .workflow-proof-select { display: grid; max-width: 420px; gap: 5px; margin-bottom: 14px; color: #56615b; font-size: 13px; font-weight: 650; }
    .workflow-proof-select select { min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font: inherit; }
    .workflow-proof-thumbnail { display: block; width: 80px; height: 80px; flex: 0 0 80px; object-fit: contain; border: 1px solid #e3e8e4; border-radius: 5px; background: #fff; }
    .workflow-proof-thumbnail-fallback { display: grid; place-items: center; color: #69766d; font-size: 13px; font-weight: 700; }
    .workflow-route { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
    .workflow-route-step { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding-bottom: 14px; }
    .workflow-route-step:not(:last-child)::before { position: absolute; top: 32px; bottom: 0; left: 16px; width: 2px; background: #dfe7e1; content: ""; }
    .workflow-route-avatar { position: relative; z-index: 1; display: grid; width: 32px; height: 32px; align-self: start; justify-self: center; place-items: center; box-sizing: border-box; padding: 0; border: 1px solid #d8e3da; border-radius: 50%; background: #f2f6f3; color: #52665a; font-size: 13px; font-weight: 700; line-height: 1; text-align: center; }
    .workflow-route-step.is-pushed .workflow-route-avatar { border-color: #d8e3da; background: #f2f6f3; color: #52665a; }
    .workflow-route-avatar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
    .workflow-route-card { display: grid; gap: 8px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
    .workflow-stage-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .workflow-route-stage-label { display: block; margin: 0; color: #56615b; font-size: 12px; font-weight: 700; }
    .workflow-route-step.is-current .workflow-route-card { border-color: #a9c8b2; background: #f6faf7; }
    .workflow-route-person { color: #354139; font-size: 13px; font-weight: 680; }
    .workflow-route-status { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
    .workflow-route-status.is-approved { color: #287344; }
    .workflow-route-status.is-changes { color: #a45b18; }
    .workflow-stage-members { display: grid; }
    .workflow-stage-member { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding-top: 8px; border-top: 1px solid var(--line); }
    .workflow-stage-member-info { display: flex; min-width: 0; align-items: center; gap: 8px; }
    .workflow-member-avatar { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border: 1px solid #d8e3da; border-radius: 50%; background: #f2f6f3; color: #52665a; font-size: 12px; font-weight: 700; }
    .workflow-stage-member-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto; }
    .workflow-optional-control { display: inline-flex; align-items: center; gap: 5px; color: #6b766f; font-size: 12px; cursor: pointer; }
    .workflow-optional-control input { width: 14px; height: 14px; margin: 0; accent-color: var(--green-dark); }
    .workflow-optional-badge { padding: 3px 6px; border-radius: 4px; background: #f0f2f1; color: #657169; font-size: 12px; }
    .workflow-route-actions { display: flex; flex-wrap: wrap; gap: 6px; }
    .workflow-stage-controls { display: flex; gap: 4px; margin-left: auto; }
    .workflow-stage-controls button { display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: #536158; font-size: 15px; cursor: pointer; }
    .workflow-stage-controls button:hover:not(:disabled) { border-color: #b7d1be; background: #f1f7f2; color: var(--green-dark); }
    .workflow-stage-controls button:disabled { opacity: .4; cursor: default; }
    .workflow-route-actions button { min-height: 30px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #435047; font-size: 13px; font-weight: 650; cursor: pointer; }
    .workflow-route-actions button:first-child { border-color: #b8d0be; background: #f4f9f5; color: #31583e; }
    .workflow-empty { padding: 16px 0; color: var(--muted); font-size: 13px; }
    .workflow-empty p { margin: 5px 0 12px; }
    .proof-workspace-link { margin-right: 16px; color: var(--green-dark); }
    .proof-workspace-link:hover { text-decoration: underline; text-underline-offset: 3px; }
    .proof-panel { display: block; }
    .main.proofing-active .proof-panel { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; }
    .project-detail-panel .proof-panel[hidden] { display: none; }
    .proofs-workspace[hidden] { display: none; }
    .proofs-workspace { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
    .main.proofing-active .proofs-workspace { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; }
    .proof-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
    .proof-toolbar .filter-control { width: auto; min-width: 0; max-width: min(260px, 100%); }
    .proof-toolbar .secondary-button { min-height: 34px; }
    .proof-toolbar > label.secondary-button, .proof-toolbar > button.secondary-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; white-space: nowrap; }
    .proof-toolbar .secondary-button[hidden] { display: none; }
    .proof-approval-actions { display: flex; min-width: 0; flex: 0 0 auto; justify-content: center; gap: 6px; margin-inline: auto; }
    .proof-approval-actions[hidden] { display: none; }
    .proof-approval-button { min-height: 34px; padding: 0 10px; border: 1px solid #b8d0be; border-radius: 7px; background: #f4f9f5; color: #31583e; font-size: 13px; font-weight: 650; cursor: pointer; white-space: nowrap; }
    .proof-approval-button:hover:not(:disabled) { border-color: #7da88a; background: #e5f1e8; }
    .proof-approval-button.needs-changes:hover:not(:disabled) { border-color: #7da88a; background: #e5f1e8; }
    .proof-approval-button[aria-pressed="true"] { border-color: #438455; background: #dcecdf; box-shadow: inset 0 0 0 1px currentColor; }
    .proof-approval-button.needs-changes[aria-pressed="true"] { border-color: #b4782d; background: #f3e4c9; color: #70420f; }
    .proof-approval-button:active:not(:disabled) { transform: translateY(1px); }
    .proof-approval-button:disabled { cursor: not-allowed; opacity: .5; }
    .proof-tool-button { display: grid; width: 36px; height: 34px; place-items: center; padding: 0; }
    .proof-canvas-controls { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 5px; border-right: 1px solid var(--line); background: #f8faf8; }
    #proofCanvasControls[hidden] { display: none; }
    #proofCanvasControls[hidden] + .proof-stage { grid-column: 1 / 3; }
    .proof-canvas-tool-separator { width: 24px; height: 1px; margin: 2px 0; background: #dfe5e0; }
    .proof-tool-button[aria-pressed="true"] { border-color: #b9d2c0; background: #eef6f0; color: var(--green-dark); }
    .proof-tool-button:focus-visible { outline: 3px solid #9bc9aa; outline-offset: 2px; }
    .proof-tool-button:disabled { cursor: not-allowed; opacity: .5; }
    .proof-upload-icon { display:block; width:17px; height:17px; }
    .proof-canvas-shell { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(240px, 310px); min-height: 420px; }
    .main.proofing-active .proof-canvas-shell { min-height: 0; flex: 1 1 auto; grid-template-rows: minmax(0, 1fr); }
    .proof-stage { display: grid; min-width: 0; min-height: 420px; place-items: center; padding: 22px; overflow: auto; background: #f0f2f0; }
    .main.proofing-active .proof-stage { min-height: 0; }
    .proof-viewer { position: relative; width: max-content; max-width: 100%; line-height: 0; box-shadow: 0 5px 22px rgb(24 39 30 / 16%); }
    .proof-viewer img, .proof-viewer canvas { display: block; max-width: 100%; height: auto; background: #fff; }
    .proof-overlay { position: absolute; inset: 0; overflow: hidden; }
    .proof-overlay[data-mode="pin"] { cursor: crosshair; }
    .proof-overlay[data-mode="draw"], .proof-overlay[data-mode="line"] { cursor: crosshair; touch-action: none; }
    .proof-overlay svg { display: block; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
    .proof-marker { position: absolute; z-index: 1; display: grid; width: 28px; height: 28px; place-items: center; padding: 0; transform: translate(-50%, -50%); border: 2px solid #fff; border-radius: 50%; background: #b3483f; color: #fff; font-size: 13px; font-weight: 700; line-height: 24px; cursor: pointer; }
    .proof-marker.resolved { background: #748078; }
    .proof-marker.selected { z-index: 2; transform: translate(-50%, -50%) scale(1.15); border-color: #fff; background: #d29132; box-shadow: 0 0 0 3px rgb(210 145 50 / 30%); }
    .proof-markup-number { position: absolute; z-index: 1; display: grid; width: 21px; height: 21px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #b3483f; box-shadow: 0 1px 4px rgb(24 39 30 / 28%); color: #fff; font: 700 13px/1 Inter, ui-sans-serif, system-ui, sans-serif; transform: translate(-50%, -50%); }
    .proof-markup-number.selected { z-index: 2; background: #d29132; box-shadow: 0 0 0 3px rgb(210 145 50 / 30%); }
    .proof-stroke { fill: none; stroke: #d3463d; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
    .proof-stroke.selected { stroke: #d29132; stroke-width: 10; }
    .proof-stroke-thin { stroke-width: 4; }
    .proof-stroke-thin.selected { stroke-width: 5; }
    .proof-annotations-panel { position: relative; display: flex; min-height: 0; max-height: 680px; flex-direction: column; border-left: 1px solid var(--line); background: #fff; }
    .main.proofing-active .proof-annotations-panel { height: 100%; max-height: none; overscroll-behavior: contain; }
    .proof-annotations-heading { display: flex; min-height: 42px; flex: 0 0 auto; align-items: center; justify-content: flex-start; gap: 6px; padding: 6px 14px 0; color: #354139; font-size: 13px; font-weight: 680; }
    .proof-annotations-heading > span { display: inline-flex; align-items: center; gap: 4px; }
    .proof-comment-filter-toggle { width: 30px; height: 30px; color: #657169; }
    .proof-comment-filter-toggle[aria-expanded="true"] { background: #eef6f0; color: var(--green-dark); }
    .proof-comment-filters { position: absolute; z-index: 5; top: 42px; right: 10px; display: grid; width: min(260px, calc(100% - 20px)); max-height: calc(100% - 52px); gap: 8px; padding: 10px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgb(25 44 34 / 16%); }
    .proof-comment-filters[hidden] { display: none; }
    .proof-comment-filters .filter-control { width: 100%; min-width: 0; max-width: 100%; }
    .proof-comment-composer { display: grid; flex: 0 0 auto; gap: 4px; max-height: min(55vh, 390px); margin: 6px 14px 0; padding: 8px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
    .proof-comment-composer[hidden] { display: none; }
    .proof-comment-composer-label, .proof-comment-composer > .field-label { display: block; margin: 0; color: #55615a; font-size: 12px; font-weight: 650; }
    .proof-comment-composer textarea { width: 100%; min-height: 48px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; resize: vertical; }
    .proof-comment-tag-picker > summary { display: inline-flex; width: 30px; min-width: 30px; height: 30px; flex: 0 0 30px; align-items: center; justify-content: center; padding: 0; border-color: var(--line); border-radius: 6px; background: var(--surface); color: var(--muted); }
    .proof-comment-tag-picker > summary:hover,
    .proof-comment-tag-picker[open] > summary,
    .proof-comment-tag-picker.has-selection > summary { border-color: var(--line); background: var(--green-light); color: var(--green-dark); }
    .proof-comment-tag-picker .proof-tag-picker-check { margin-left: auto; }
    .proof-comment-composer .field-hint { margin: 0; }
    .proof-comment-composer-attachments { display: grid; justify-items: start; gap: 4px; }
    .proof-comment-composer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding-top: 1px; }
    .proof-comment-composer-actions .proof-attachment-icon { flex: 0 0 30px; width: 30px; height: 30px; margin: 0 !important; }
    .proof-comment-composer-actions .proof-comment-tag-picker { margin: 0 auto 0 0; }
    .proof-comment-composer-actions button { min-height: 28px; padding: 0 9px; font-size: 12px; }
    .proof-comment-composer-actions .proof-comment-send { display: inline-grid; width: 30px; min-width: 30px; height: 28px; place-items: center; padding: 0; }
    .proof-annotations { display: grid; min-height: 0; flex: 1 1 auto; align-content: start; gap: 10px; padding: 12px 14px 14px; overflow: auto; }
    .proof-approval-summary { margin: 0 14px 2px; color: var(--muted); font-size: 13px; line-height: 1.45; }
    .proof-approval-summary[hidden] { display: none; }
    .proof-comment { position: relative; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #f8f9f8; }
    .proof-comment[data-proof-select-annotation] { cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
    .proof-comment[data-proof-select-annotation]:hover { border-color: #cbd9ce; }
    .proof-comment.active { border-color: #b7d1be; background: #f1f7f2; }
    .proof-comment:focus-visible { outline: 2px solid #9bc9aa; outline-offset: 2px; }
    .proof-comment.resolved { background: #f4f5f4; opacity: .75; }
    .proof-comment.resolved.active { background: #eff5f0; opacity: .9; }
    .proof-comment-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 8px; }
    .proof-comment-heading.has-comment-controls { padding-right: 50px; }
    .proof-comment-heading strong { color: #354139; font-size: 13px; }
    .proof-comment-number { display: inline-flex; align-items: center; margin-left: 5px; padding: 2px 5px; border-radius: 8px; background: #eef3ef; color: var(--muted); font-size: 13px; font-weight: 650; vertical-align: 1px; }
    .proof-comment-heading time { color: var(--muted); font-size: 13px; }
    .proof-comment-location { margin-top: 4px; color: var(--green-dark); font-size: 13px; font-weight: 650; }
    .proof-comment-body { margin: 7px 0 0; color: #56615b; font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
    .proof-comment > .proof-comment-body { padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
    .proof-comment-attachments { display: grid; gap: 4px; margin-top: 8px; }
    .proof-attachment-icon { display: inline-grid !important; width: 34px; height: 34px; place-items: center; margin: 6px 0 0 !important; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--muted); cursor: pointer; }
    .proof-attachment-icon:hover { border-color: #b6c9bc; background: #f8faf8; color: var(--green-dark); }
    .proof-comment-composer:has(#proofCommentAttachmentInput:focus-visible) .proof-attachment-icon { outline: 3px solid #9bc9aa; outline-offset: 2px; }
    .proof-comment-attachment { display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: 5px; padding: 4px 7px; border: 1px solid #d9e4db; border-radius: 5px; background: #f6faf7; color: var(--green-dark); font-size: 13px; text-align: left; overflow-wrap: anywhere; }
    .proof-comment-attachment:hover { border-color: #b7d1be; background: #eef6f0; }
    .proof-comment-mention { display: inline-block; margin: 0 1px; vertical-align: baseline; white-space: normal; }
    .proof-comment-actions { display: flex; gap: 10px; margin-top: 8px; }
    .proof-comment-actions button { padding: 0; border: 0; background: transparent; color: var(--green-dark); font-size: 13px; font-weight: 620; }
    .proof-comment-delete { position: absolute; top: 6px; right: 6px; display: grid; width: 23px; height: 23px; place-items: center; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--red); font-size: 17px; line-height: 1; cursor: pointer; }
    .proof-comment-delete:hover { background: #faeeee; }
    .proof-comment-edit-icon { position: absolute; top: 6px; right: 32px; display: grid; width: 23px; height: 23px; place-items: center; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--green-dark); cursor: pointer; }
    .proof-comment-edit-icon:hover { background: #e8f0ea; }
    .proof-comment-edit-icon svg { width: 13px; height: 13px; }
    .proof-comment-toggle { display: inline-grid; width: 20px; height: 20px; place-items: center; padding: 0; border: 1px solid #cbd9ce !important; border-radius: 50%; font-size: 13px !important; line-height: 1; transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease; }
    .proof-comment-toggle:hover, .proof-comment-toggle:focus-visible { border-color: #91b39a !important; background: #e8f0ea; color: #355d43; box-shadow: 0 0 0 2px rgb(145 179 154 / 22%); }
    .proof-comment-toggle[aria-pressed="true"] { border-color: #16a34a !important; background: #16a34a; color: #fff; }
    .proof-comment-edit-form { display: grid; gap: 7px; margin-top: 8px; }
    .proof-comment-edit-form textarea { min-height: 72px; padding: 7px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 13px; line-height: 1.45; resize: vertical; }
    .proof-comment-edit-actions { display: flex; align-items: center; gap: 7px; }
    .proof-comment-edit-actions .proof-comment-tag-picker { margin-right: auto; }
    .proof-comment-edit-actions button { min-height: 28px; padding: 0 9px; border: 0; border-radius: 6px; background: #e8f0ea; color: #466152; font-size: 13px; font-weight: 620; }
    .proof-comment-edit-actions button[type="button"] { background: transparent; color: #68736d; }
    .proof-replies { display: grid; gap: 7px; margin: 9px 0 0 9px; padding-left: 9px; border-left: 2px solid #e9eeea; }
    .proof-reply { color: #68736d; font-size: 13px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
    .proof-reply strong { color: #435047; }
    .proof-reply-form { display: flex; gap: 6px; margin-top: 9px; }
    .proof-reply-form input { min-width: 0; min-height: 31px; flex: 1; padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
    .proof-reply-attachment-button { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--green-dark); cursor: pointer; }
    .proof-reply-attachment-button:hover { border-color: #b6c9bc; background: #f3f7f3; }
    .proof-reply-attachment-button:focus-within { outline: 2px solid #9bc9aa; outline-offset: 2px; }
    .proof-reply-attachment-button svg { width: 15px; height: 15px; }
    .proof-reply-attachment-input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
    .proof-reply-form button { padding: 0 8px; border: 0; border-radius: 6px; background: #e8f0ea; color: #466152; font-size: 13px; font-weight: 620; }
    .proof-reply-form button:hover { background: #dce9df; }
    .proof-mention-input-wrap { position: relative; min-width: 0; flex: 1 1 100%; }
    .proof-mention-input-wrap textarea, .proof-mention-input-wrap input { width: 100%; }
    .proof-mention-suggestions { position: absolute; z-index: 10; right: 0; bottom: calc(100% + 4px); left: 0; display: grid; max-height: 180px; overflow: auto; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 6px 18px rgb(25 44 34 / 12%); }
    .workspace-table-cell-wrap .proof-mention-suggestions { position: fixed; z-index: 1000; right: auto; bottom: auto; left: 0; width: max-content; }
    .proof-mention-suggestions[hidden] { display: none; }
    .proof-mention-option { display: flex; min-height: 32px; align-items: center; padding: 0 8px; border: 0; border-radius: 5px; background: transparent; color: #46534b; font-size: 13px; text-align: left; }
    .proof-mention-option:hover, .proof-mention-option[aria-selected="true"] { background: #eef6f0; color: var(--green-dark); }
    .proof-mention-option small { margin-left: auto; padding-left: 12px; color: var(--muted); font-size: 11px; }
    .proof-comment-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
    .proof-comment-tag { padding: 3px 7px; border-radius: 10px; background: #eef3ef; color: #52645a; font-size: 13px; font-weight: 650; }
    .proof-notification-list { display: grid; gap: 0; padding: 10px 20px; border: 0; outline: 0; }
    .proof-notification-tabs { display: flex; gap: 4px; padding: 8px 20px 0; border-bottom: 1px solid var(--line); }
    .proof-notification-tabs button { padding: 7px 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 13px; font-weight: 650; }
    .proof-notification-tabs button[aria-pressed="true"] { border-bottom-color: var(--green); color: var(--green-dark); }
    .proof-notification-row { display: grid; gap: 5px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
    .proof-notification-row:last-child { border-bottom: 0; }
    .proof-notification-item { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 10px; width: 100%; padding: 0; border: 0; background: transparent; color: #536057; text-align: left; }
    .proof-notification-copy { display: grid; min-width: 0; gap: 4px; text-align: left; }
    .proof-notification-type-icon { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 9px; background: #eef3ef; color: #5c7162; }
    .proof-notification-type-icon svg { width: 15px; height: 15px; }
    .proof-notification-type-icon.is-review { background: #eaf4ec; color: #34724b; }
    .proof-notification-type-icon.is-tag { background: #eef3ef; color: #58745f; }
    .proof-notification-type-icon.is-mention { background: #f1edfb; color: #7156a4; }
    .proof-notification-type-icon.is-hot { background: #fff0e8; color: #ba4c1c; }
    .proof-notification-type-icon.is-hours { background: #eaf2f8; color: #346b8d; }
    .proof-notification-type-icon.is-note { background: #edf1fb; color: #526b9c; }
    .proof-notification-type-icon.is-access { background: #fff5df; color: #91631c; }
    .proof-notification-actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; margin-left: 40px; }
    .proof-notification-actions time { color: var(--muted); font-size: 13px; line-height: 1.4; }
    .proof-notification-mark-read, .proof-notification-clear { min-height: 22px; padding: 0; border: 0; background: transparent; color: var(--green-dark); font-size: 13px; font-weight: 650; white-space: nowrap; }
    .proof-notification-mark-read:hover, .proof-notification-clear:hover { color: var(--green); text-decoration: underline; }
    .proof-notification-footer { justify-content: space-between; }
    .proof-notification-item:hover strong { text-decoration: underline; }
    .proof-notification-item strong { color: #354139; font-size: 13px; }
    .proof-notification-item span, .proof-notification-item time { font-size: 13px; line-height: 1.45; }
    .proof-notification-empty { margin: 0; padding: 25px 10px; color: var(--muted); font-size: 13px; text-align: center; }
    .proof-empty { grid-column: 1 / -1; display: grid; min-height: 300px; place-content: center; padding: 30px; color: var(--muted); text-align: center; }
    .proof-empty strong { color: #354139; font-size: 14px; }
    .proof-empty p { max-width: 420px; margin: 7px 0 14px; font-size: 13px; line-height: 1.5; }
    .proof-empty .secondary-button { justify-self: center; }
    .proof-status { min-height: 32px; padding: 8px 18px 12px; color: var(--muted); font-size: 13px; }
    .proof-toolbar input[type="file"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
    .proof-toolbar label[for="proofFileInput"] { cursor: pointer; }
    .proof-toolbar label[for="proofFileInput"][aria-disabled="true"] { opacity: .5; pointer-events: none; }
    @media (max-width: 700px) {
      .proof-canvas-shell { grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: minmax(240px, auto) auto; }
      .proof-stage { min-height: 240px; padding: 12px; }
      #proofCanvasControls[hidden] + .proof-stage { grid-column: 1 / -1; }
      .proof-annotations-panel { grid-column: 1 / -1; }
      .proof-annotations-panel { max-height: 360px; border-top: 1px solid var(--line); border-left: 0; }
      .main.proofing-active .proof-toolbar { flex: 0 0 auto; flex-wrap: nowrap; overflow-x: auto; padding: 8px 10px; }
      .main.proofing-active .proof-toolbar .filter-control { flex: 0 0 auto; }
      .main.proofing-active .proof-canvas-shell { grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: minmax(120px, 34%) minmax(0, 1fr); }
      .main.proofing-active .proof-stage { min-height: 0; }
      .main.proofing-active .proof-annotations-panel { height: auto; max-height: none; border-top: 1px solid var(--line); border-left: 0; }
      .proof-annotations-heading { min-height: 38px; padding: 4px 12px 0; }
      .proof-comment-filters { top: 38px; right: 8px; width: min(260px, calc(100% - 16px)); max-height: calc(100% - 46px); }
      .proof-annotations { padding: 10px 12px 12px; }
      .proof-toolbar { gap: 7px; padding: 12px; }
      .proof-toolbar .filter-control { flex: 1 1 140px; }
    }
    .project-detail-panel .detail-body { min-height: 400px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 20px 24px; }
    .project-detail-panel #projectWorkflowPanel.detail-body { padding-top: 0; }
    #projectOverviewPanel { grid-template-columns: minmax(0, 1fr); }
    .overview-details-grid { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(240px, 0.85fr); gap: 20px 24px; }
    .overview-details-grid > #overviewPinnedNote { grid-column: 3; grid-row: 1 / span 4; align-items: flex-start; }
    .overview-details-grid > .detail-wide { grid-column: 1 / -1; }
    .overview-details-grid > section { min-width: 0; }
    .deployment-links { margin: 0; padding: 0; }
    .deployment-link-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
    .deployment-link-row { display: grid; min-width: 0; gap: 5px; }
    .deployment-link-row a { overflow-wrap: anywhere; color: var(--green-dark); font-size: 13px; }
    .deployment-link-empty { color: var(--muted); font-size: 13px; }
    .overview-layout { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1fr); align-items: stretch; gap: 22px 24px; }
    .overview-main, .overview-sidebar { display: grid; grid-column: auto; min-width: 0; align-content: start; gap: 20px; }
    .overview-sidebar { align-self: stretch; grid-template-rows: max-content minmax(max-content, 1fr); }
    .overview-details-grid { grid-template-columns: minmax(0, 1fr); }
    .overview-details-grid > .overview-card, .overview-details-grid > #overviewPinnedNote { grid-column: 1; }
    .overview-card { min-width: 0; padding: 20px 22px; border: 1px solid #c4cec6; border-radius: 16px; background: var(--surface); }
    .overview-card.overview-content-card,.overview-card.overview-eta,.overview-card.overview-job-details,.overview-card.overview-team { border:0; background:var(--canvas); }
    .overview-content-card { padding: 22px 24px; }
    .overview-content-card > .overview-content-section { min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
    .overview-content-card > .overview-content-section + .overview-content-section { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
    .overview-card-heading { display: flex; align-items: center; gap: 10px; min-height: 24px; margin-bottom: 16px; }
    .overview-card-heading > svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--green-dark); }
    .overview-card-heading h3, .overview-job-details > h3 { margin: 0; color: var(--ink); font-size: 15px; font-weight: 700; }
    .overview-card-heading .project-file-upload{ margin-left: auto; }
    .overview-description .detail-description { color: var(--muted); font-size: 14px; line-height: 1.6; }
    .overview-description .overview-card-heading { margin-bottom: 14px; padding-bottom: 0; border-bottom: 0; }
    .overview-description-logo { display: block; width: auto; max-width: min(100%, 144px); max-height: 58px; margin: 0 0 20px; object-fit: contain; object-position: left center; }
    .overview-eta .overview-card-heading { gap: 11px; margin-bottom: 7px; }
    .overview-eta-editor-slot { display:flex; flex:0 0 auto; align-items:center; }
    .overview-eta-expand-button { margin:0; }
    .overview-eta .overview-card-heading > svg { box-sizing: border-box; width: 34px; height: 34px; flex-basis: 34px; padding: 8px; border:0; border-radius:0; background:transparent; color:var(--green-dark); }
    .overview-eta-date { margin-left: auto; padding: 0; border: 0; border-radius: 0; background:transparent; color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
    .overview-eta-help,.overview-eta-empty,.overview-eta-loading { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
    .overview-eta-list { display: grid; min-width: 0; height: 360px; margin-top: 15px; overflow: hidden; }
    .overview-eta-calendar { display: flex; box-sizing: border-box; max-width: 100%; height: 100%; min-height: 0; flex-direction: column; overflow: hidden; border: 0; border-radius: 11px; background: var(--surface); box-shadow: none; }
    .overview-eta-shared-list { display: grid; gap: 0; padding: 0 14px; }
    .overview-eta-shared-item { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 13px; }
    .overview-eta-shared-item strong { overflow: hidden; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
    .overview-eta-shared-item span { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
    .overview-eta-timeline-scroll { min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain; scrollbar-color: var(--line) transparent; }
    .overview-eta-calendar-grid { display: grid; grid-template-columns: 60px minmax(140px, 1fr); grid-template-rows: var(--eta-day-height); min-width: max(100%, 200px); }
    .overview-eta-calendar-corner,.overview-eta-member-heading { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; padding: 0 10px; border-bottom: 1px solid var(--line); background: var(--canvas); color: var(--muted); font-size: 11px; font-weight: 650; }
    .overview-eta-calendar-corner { left: 0; z-index: 3; }
    .overview-eta-member-heading { overflow: hidden; border-left: 1px solid var(--line); color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
    .overview-eta-time-axis { position: relative; height: var(--eta-day-height); border-right: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--eta-hour-height) - 1px), var(--line) calc(var(--eta-hour-height) - 1px), var(--line) var(--eta-hour-height)); }
    .overview-eta-time-axis span { position: absolute; z-index: 1; right: 5px; padding: 2px 3px; border-radius: 3px; background: var(--surface); color: var(--ink); font-size: 10px; font-weight: 550; line-height: 1; transform: translateY(-50%); }
    :root:not([data-theme="dark"]) .overview-eta-time-axis span { color: #46544b; }
    .overview-eta-time-axis span:first-child { transform: none; }
    .overview-eta-time-axis span:last-child { transform: translateY(-100%); }
    .overview-eta-member-lane { position: relative; height: var(--eta-day-height); overflow: hidden; border-left: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--eta-hour-height) - 1px), var(--line) calc(var(--eta-hour-height) - 1px), var(--line) var(--eta-hour-height)); }
    .overview-eta-event { position: absolute; z-index: 1; display: flex; min-height: 0; flex-direction: column; gap: 4px; overflow: hidden; padding: 7px 9px; border: 1px solid color-mix(in srgb, var(--green) 28%, var(--line)); border-radius: 8px; background: var(--green-light); color: var(--ink); font-size: 11px; line-height: 1.35; box-shadow: 0 2px 5px rgb(23 36 27 / 10%); }
    .overview-eta-event.is-projected { border-style: dashed; background: var(--canvas); }
    .overview-eta-event strong { overflow: hidden; font-weight: 650; text-overflow: ellipsis; }
    .overview-eta-event span { opacity: .82; }
    .overview-eta-lane-empty { position: absolute; top: 14px; left: 8px; color: var(--muted); font-size: 11px; }
    .overview-eta-editor { position: relative; z-index: 4; }
    .overview-eta-editor[open] { z-index: 6; }
    .overview-eta-editor > summary { display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--green-dark); cursor: pointer; list-style: none; transition: none; }
    .overview-eta-editor > summary::-webkit-details-marker { display: none; }
    .overview-eta-editor > summary::after { content: none; }
    .overview-eta-editor > summary svg { width: 18px; height: 18px; }
    .overview-eta-editor > summary:hover { background: transparent; }
    .overview-eta-edit-list { position: absolute; top: calc(100% + 6px); right: 0; z-index: 5; display: grid; box-sizing: border-box; width: 400px; max-width: min(400px, calc(100vw - 48px)); gap: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 12px 32px rgb(0 0 0 / 22%); }
    .overview-eta-entry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 14px 12px; padding: 0; border: 0; }
    .overview-eta-entry > strong { flex: 1 1 180px; min-width: 140px; align-self: center; color: var(--ink); font-size: 13px; }
    .overview-eta-entry label { display: grid; min-width: 0; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 500; }
    .overview-eta-entry label[hidden] { display: none !important; }
    .overview-eta-entry .overview-eta-shift-toggle { display: grid; align-content: end; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 500; }
    .overview-eta-shift-control { display: flex; box-sizing: border-box; min-width: 0; height: 46px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas); color: var(--ink); }
    .overview-eta-shift-control > span { color: var(--muted); font-size: 13px; }
    .overview-eta-shift-toggle input { appearance: none; position: relative; width: 44px; height: 26px; flex: 0 0 44px; margin: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--line); cursor: pointer; transition: background .15s, border-color .15s; }
    .overview-eta-shift-toggle input::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 18%); content: ""; transition: transform .15s; }
    .overview-eta-shift-toggle input:checked { border-color: var(--green); background: var(--green); }
    .overview-eta-shift-toggle input:checked::after { transform: translateX(18px); }
    .overview-eta-shift-toggle input:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
    .overview-eta-shift-toggle input:disabled { opacity: .55; }
    .overview-eta-input-wrap { position: relative; display: flex; min-width: 0; align-items: center; }
    .overview-eta-input-wrap input,.overview-eta-entry input[type="time"] { box-sizing: border-box; width: 100%; min-width: 0; height: 46px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas); color: var(--ink); font: inherit; font-size: 14px; color-scheme: light; }
    .overview-eta-input-wrap .overview-eta-unit { position: absolute; right: 34px; color: var(--muted); font-size: 13px; pointer-events: none; }
    .overview-eta-time-divider { grid-column: 1 / -1; height: 1px; margin: 1px 0 0; background: var(--line); }
    .overview-eta-time-divider[hidden] { display: none; }
    .overview-eta-entry button { min-height: 34px; padding: 0 12px; }
    .overview-eta-save-status { color: var(--muted); font-size: 12px; }
    .overview-eta-calendar > .overview-eta-empty { padding: 12px 14px 14px; }
    .overview-eta-expand-button { display: inline-grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--green-dark); cursor: pointer; }
    .overview-eta-expand-button:hover { background: var(--green-light); }
    .overview-eta-expand-button svg { width: 15px; height: 15px; }
    .project-eta-week-dialog[open] { display: flex; width: min(1160px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: min(90vh, 880px); flex-direction: column; overflow: hidden; background: var(--surface); }
    .project-eta-week-dialog .dialog-header { flex: 0 0 auto; align-items: center; }
    .project-eta-week-toolbar { display: flex; min-height: 56px; flex: 0 0 auto; align-items: center; gap: 8px; padding: 10px 18px; border-bottom: 1px solid var(--line); }
    .project-eta-week-toolbar button { display: inline-flex; min-height: 32px; align-items: center; gap: 5px; padding: 0 10px; }
    .project-eta-week-toolbar button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .project-eta-week-toolbar strong { margin: 0 auto; color: var(--ink); font-size: 16px; font-weight: 650; }
    .project-eta-week-content { min-height: 0; flex: 1 1 auto; overflow: auto; padding: 14px 18px 18px; }
    .project-eta-week-grid { display: grid; width: max(100%, 1050px); margin-bottom: 16px; grid-template-columns: 54px repeat(7, minmax(135px, 1fr)); grid-template-rows: 42px 960px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
    .project-eta-week-corner, .project-eta-week-day-heading { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); background: var(--canvas); color: var(--muted); font-size: 13px; font-weight: 650; }
    .project-eta-week-corner { left: 0; z-index: 4; }
    .project-eta-week-day-heading { justify-content: space-between; gap: 3px; padding: 0 7px; border-left: 1px solid var(--line); font-size: 12px; }
    .project-eta-week-day-heading.today { color: var(--green-dark); }
    .project-eta-week-axis { position: relative; height: 960px; border-right: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 39px, var(--line) 39px, var(--line) 40px); }
    .project-eta-week-axis::after, .project-eta-week-day::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--surface); content: ""; pointer-events: none; }
    .project-eta-week-axis span { position: absolute; right: 4px; padding: 1px 2px; background: var(--surface); color: var(--muted); font-size: 12px; line-height: 1; transform: translateY(-50%); }
    .project-eta-week-axis span:first-child { transform: none; }
    .project-eta-week-axis span:last-child { transform: translateY(calc(-100% - 4px)); }
    .project-eta-week-day { position: relative; height: 960px; overflow: hidden; border-left: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 39px, var(--line) 39px, var(--line) 40px); }
    .project-eta-week-day.is-editable { cursor: crosshair; }
    .project-eta-week-day.is-editable:hover { background-color: color-mix(in srgb, var(--green-light) 22%, var(--surface)); }
    .project-eta-week-day.is-editable:focus-visible { z-index: 2; outline: 2px solid var(--green); outline-offset: -2px; }
    .project-eta-week-event { position: absolute; z-index: 1; display: flex; min-width: 0; flex-direction: column; gap: 3px; overflow: hidden; padding: 6px 7px; border: 1px solid color-mix(in srgb, var(--green) 35%, var(--line)); border-radius: 6px; background: var(--green-light); color: var(--ink); font-size: 12px; line-height: 1.35; }
    .project-eta-week-event strong, .project-eta-week-event span { overflow: hidden; text-overflow: ellipsis; }
    .project-eta-week-event strong { font-size: 12px; font-weight: 680; }
    .project-eta-week-event span { opacity: .8; }
    .project-eta-week-event.is-continuation { border-style: dashed; opacity: .85; }
    .project-eta-week-event.is-active { border-color: var(--green); border-width: 2px; }
    .project-eta-week-empty { margin: 0; padding: 14px; color: var(--muted); font-size: 14px; }
    .project-eta-week-editor { display: grid; grid-template-columns: minmax(150px, 1.2fr) repeat(2, minmax(120px, .8fr)) auto auto minmax(100px, 1fr); align-items: end; gap: 10px; margin-bottom: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--canvas); }
    .project-eta-week-editor[hidden] { display: none; }
    .project-eta-week-editor > strong { align-self: center; color: var(--ink); font-size: 15px; }
    .project-eta-week-editor label { display: grid; gap: 5px; color: var(--muted); font-size: 13px; }
    .project-eta-week-editor input { box-sizing: border-box; width: 100%; min-width: 0; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); font: inherit; color-scheme: light; }
    :root[data-theme="dark"] .project-eta-week-editor input { color-scheme: dark; }
    .project-eta-week-editor button { min-height: 34px; padding: 0 10px; white-space: nowrap; }
    .project-eta-week-save-status { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
    :root[data-theme="dark"] .project-eta-week-event { background: #263b30; color: #e1f1e6; }
    @media (max-width: 760px) { .project-eta-week-editor { grid-template-columns: repeat(2, minmax(0, 1fr)); } .project-eta-week-editor > strong, .project-eta-week-save-status { grid-column: 1 / -1; } }
    @media (max-width: 560px) { .project-eta-week-toolbar { gap: 5px; padding: 8px 10px; } .project-eta-week-toolbar button { padding: 0 7px; font-size: 12px; } .project-eta-week-content { padding: 10px; } }
    :root[data-theme="dark"] .overview-eta-input-wrap input,:root[data-theme="dark"] .overview-eta-entry input[type="time"] { color-scheme: dark; }
    :root[data-theme="dark"] .overview-eta-event { background: #263b30; color: #e1f1e6; }
    @media (max-width: 560px) { .overview-eta-entry > strong { flex-basis: 100%; } .overview-eta-date { padding: 5px 8px; font-size: 10px; } }
    .deployment-links { margin: 0; padding: 0; }
    .deployment-links .overview-card-heading { margin-bottom: 16px; }
    .deployment-links .overview-card-heading, .overview-attachments .overview-card-heading { margin-bottom: 8px; padding-bottom: 0; border-bottom: 0; }
    .deployment-links .deployment-link-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .deployment-links .deployment-link-row { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 7px 10px; align-content: start; align-items: center; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
    .deployment-links .deployment-link-icon { display: grid; width: 26px; height: 26px; grid-row: 1; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--green-dark); font-size: 16px; }
    .deployment-links .deployment-link-empty { grid-row: 1; grid-column: 2; padding: 0; color: var(--muted); font-size: 13px; }
    .deployment-links .deployment-link-row a { grid-row: 1; grid-column: 2; max-width: 100%; padding: 0; color: var(--green-dark); font-size: 13px; overflow-wrap: anywhere; }
    @media (max-width: 640px) { .deployment-links .deployment-link-list { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
    .overview-attachments .project-files { min-height: 0; padding: 0; border-radius: 0; background: transparent; }
    .overview-attachments .project-file-list { gap: 0; }
    .overview-attachments .project-file-item { align-items: center; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); }
    .overview-attachments .project-file-item:last-child { border-bottom: 0; }
    .overview-attachments .project-file-main { gap: 4px 10px; }
    .overview-attachments .project-file-meta { color: var(--muted); font-size: 12px; }
    .overview-attachments .project-file-remove { color: var(--muted); }
    .overview-attachments .project-files-empty { min-height: 42px; gap: 10px; }
    .overview-attachments .project-files-empty-icon { width: 30px; height: 30px; flex-basis: 30px; border: 0; border-radius: 7px; background: var(--green-light); color: var(--green-dark); }
    .overview-attachments .project-files-empty-icon svg { width: 16px; height: 16px; }
    .project-files-empty { display: flex; min-height: 58px; align-items: center; gap: 16px; color: var(--muted); font-size: 13px; }
    .project-files-empty-icon { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border: 1px solid #c4cec6; border-radius: 11px; background: var(--surface); color: #a1ada5; }
    .project-files-empty-icon svg { width: 21px; height: 21px; }
    .overview-attachments .project-file-upload { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--green-dark); cursor: pointer; }
    .overview-job-details { padding: 22px 24px; }
    .overview-job-details > h3 { margin-bottom: 16px; }
    .overview-meta-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 37px; color: var(--muted); font-size: 13px; }
    .overview-meta-row > span:nth-child(2) { font-weight: 550; }
    .overview-meta-icon { color: inherit; font-size: 16px; font-weight: 700; text-align: center; }
    .overview-meta-icon svg { display: block; width: 16px; height: 16px; margin: 0 auto; }
    .overview-meta-row > strong { max-width: 160px; color: var(--ink); font-size: 13px; font-weight: 550; text-align: right; overflow-wrap: anywhere; }
    .overview-meta-row .copy-job-number { color: var(--green-dark); }
    .overview-meta-divider { height: 1px; margin: 10px 0 12px; background: var(--line); }
    .overview-version { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
    .overview-version .detail-label { margin-bottom: 5px; font-size: 11px; }
    .overview-version .detail-value { font-size: 13px; }
    .overview-team .overview-card-heading { justify-content: space-between; margin-bottom: 16px; }
    .overview-team-count { display: grid; min-width: 25px; height: 25px; padding: 0 6px; place-items: center; border-radius: 8px; background: #dce8df; color: #23362b; font-size: 12px; font-weight: 750; }
    .overview-team-heading-title { display: flex; align-items: center; gap: 8px; }
    .overview-team-add-button { display: grid; width: 28px; height: 28px; padding: 0; place-items: center; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--green-dark); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
    .overview-team-add-button svg { width: 20px; height: 20px; }
    .overview-team-add-button:hover { border-color: transparent; background: #256b4b; color: #fff; }
    .overview-team-add-button:focus-visible { outline: 2px solid #9bc9aa; outline-offset: 2px; }
    .add-project-team-members-list { display: grid; max-height: min(45vh, 360px); gap: 2px; overflow-y: auto; }
    .add-project-team-member-group-label { padding: 8px 8px 4px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
    .add-project-team-member-empty { margin: 10px 8px; color: var(--muted); font-size: 13px; }
    .field .add-project-team-member-option { display: flex; align-items: center; gap: 10px; margin: 0; padding: 5px 8px; border-radius: 7px; color: var(--ink); cursor: pointer; }
    .add-project-team-member-option:hover { background: var(--surface-soft, #f7f9f7); }
    .field .add-project-team-member-option input { width: 16px; min-width: 16px; min-height: 16px; flex: 0 0 16px; margin: 0; padding: 0; border: 0; accent-color: var(--green-dark); }
    .overview-team-list { display: grid; gap: 12px; }
    .overview-team-member { display: flex; align-items: center; gap: 12px; min-width: 0; }
    .overview-team-member .owner-avatar { width: 32px; height: 32px; flex: 0 0 32px; font-size: 11px; }
    .overview-team-member > span:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
    .overview-team-member strong { color: var(--ink); font-size: 13px; font-weight: 600; }
    .overview-team-profile-link { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: inherit; text-align: left; cursor: pointer; }
    .overview-team-profile-link:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
    .overview-team-profile-link:focus-visible { border-radius: 2px; outline: 2px solid #9bc9aa; outline-offset: 2px; }
    .overview-team-member small { width: fit-content; padding: 3px 6px; border-radius: 4px; background: #e0e5e1; color: #46534a; font-size: 11px; }
    #overviewPinnedNote { display: block; }
    #overviewPinnedNote .overview-pinned-note { padding: 0; border: 0; background: transparent; }
    :root[data-theme="dark"] .overview-card { border-color: #4a515a; background: var(--surface); }
    :root[data-theme="dark"] .overview-card.overview-content-card,
    :root[data-theme="dark"] .overview-card.overview-eta,
    :root[data-theme="dark"] .overview-card.overview-job-details,
    :root[data-theme="dark"] .overview-card.overview-team { background:#242932; }
    :root[data-theme="dark"] .overview-job-details .overview-meta-row > span:nth-child(2) { color:#fff; }
    :root[data-theme="dark"] .deployment-links .deployment-link-row,
    :root[data-theme="dark"] .overview-attachments .project-files { background: transparent; }
    :root[data-theme="dark"] .overview-team-count { background:#34383f; color:#d1d5db; }
    :root[data-theme="dark"] .overview-team-member small { background: var(--surface-raised, #202720); }
    :root[data-theme="dark"] .overview-team-member small { background: #303640; color: #e0e5ec; }
    :root[data-theme="dark"] .project-files-empty-icon { border-color: #4a515a; }
    @media (max-width: 640px) { .overview-layout { grid-template-columns: minmax(0, 1fr); } .overview-sidebar { align-self: start; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: max-content; } }
    @media (max-width: 430px) { .overview-sidebar { grid-template-columns: minmax(0, 1fr); } .overview-card { padding: 17px; } .deployment-links .deployment-link-list { grid-template-columns: minmax(0, 1fr); } }
    .project-detail-panel .detail-body[hidden] { display: none; }
    .project-detail-panel .detail-body > .detail-wide{ grid-column: 1 / -1; }
    .project-detail-panel .detail-body > section { min-width: 0; }
    .project-detail-panel .detail-footer { border-top: 0; }
    .project-detail-footer-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
    .project-detail-panel #projectActivityPanel:not([hidden]) { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); min-height: 400px; padding: 24px 30px 30px; }
    .work-summary-view { position: relative; width: 100%; margin-top: 16px; padding: 22px; overflow: visible; }
    .work-summary-page { display: grid; gap: 18px; max-width: 1120px; margin: 0 auto; }
    .work-summary-heading { padding-bottom: 16px; }
    .work-summary-heading h2 { margin: 5px 0 0; color: var(--ink); font-size: 23px; font-weight: 680; letter-spacing: -.02em; }
    .work-summary-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
    .work-summary-layout { display: grid; grid-template-columns: minmax(0, 1fr) 32px; align-items: stretch; gap: 24px; }
    .work-summary-main { display: grid; min-width: 0; gap: 18px; }
    .work-summary-job-nav { position: sticky; z-index: 30; top: 88px; align-self: start; display: grid; box-sizing: border-box; width: 32px; max-height: calc(100vh - 104px); gap: 4px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(5px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
    .work-summary-job-nav.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); }
    .work-summary-job-nav a { display: grid; box-sizing: border-box; width: 32px; height: 28px; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: 0 1px 4px rgb(0 0 0 / 8%); transition: border-color .16s ease, background-color .16s ease, color .16s ease; }
    .work-summary-job-nav a:hover { border-color: #1d573c; background: #1d573c; color: #fff; }
    .work-summary-job-nav a:hover > span { color: #fff; }
    .work-summary-job-nav a.is-active { border-color: #1d573c; background: #1d573c; color: #fff; }
    .work-summary-job-nav a.is-active > span { color: #fff; }
    :root[data-theme="dark"] .work-summary-job-nav a.is-active { border-color: #4168a3; background: #4168a3; color: #fff; }
    :root[data-theme="dark"] .work-summary-job-nav a.is-active > span { color: #fff; }
    :root[data-theme="dark"] .work-summary-job-nav a.is-active:hover { border-color: #345584; background: #345584; }
    @media (prefers-reduced-motion: reduce) { .work-summary-job-nav, .work-summary-job-nav a { transition: none; } }
    .work-summary-job-nav a:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 2px; }
    .work-summary-job-nav a > span { color: var(--green-dark); font-size: 11px; font-weight: 700; }
    .work-summary-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .work-summary-metrics article { display: grid; gap: 5px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas); }
    .work-summary-metrics article span { color: var(--muted); font-size: 12px; font-weight: 650; }
    .work-summary-metrics article strong { color: var(--ink); font-size: 21px; font-weight: 620; font-variant-numeric: tabular-nums; }
    :root:not([data-theme="dark"]) .work-summary-metrics article { background: #1d573c; }
    :root:not([data-theme="dark"]) .work-summary-metrics article span,
    :root:not([data-theme="dark"]) .work-summary-metrics article strong { color: #fff; }
    .work-summary-jobs { display: grid; gap: 16px; }
    .work-summary-job-card { overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); scroll-margin-top: 88px; }
    html { scroll-behavior: smooth; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
    .work-summary-job-card .project-summary-page { max-width: none; margin: 0; gap: 0; }
    .work-summary-custom { display: grid; gap: 0; padding: 15px 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas); }
    .work-summary-custom h3 { margin: 0 0 8px; color: var(--ink); font-size: 14px; }
    .work-summary-custom article { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
    .work-summary-custom article div { display: grid; gap: 4px; }
    .work-summary-custom article strong { color: var(--ink); font-size: 13px; }
    .work-summary-custom article span { color: var(--muted); font-size: 12px; }
    .work-summary-empty { display: grid; gap: 5px; padding: 26px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas); text-align: center; }
    .work-summary-empty strong { color: var(--ink); font-size: 14px; }
    .work-summary-empty span { color: var(--muted); font-size: 13px; }
    :root:not([data-theme="dark"]) .work-summary-metrics article,
    :root:not([data-theme="dark"]) .work-summary-custom,
    :root:not([data-theme="dark"]) .work-summary-empty { background: #f3f6f4; }
    @media (max-width: 700px) { .work-summary-view { padding: 16px; } .work-summary-layout { grid-template-columns: 1fr; gap: 6px; } .work-summary-job-nav { display: none; } .work-summary-metrics { grid-template-columns: 1fr; } }
    .activity-dashboard { display: grid; width: 100%; max-width: none; gap: 20px; }
    .project-summary-page { display: grid; gap: 0; max-width: 1120px; margin: 0 auto; }
    .project-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 23px 30px 18px; }
    .project-summary-heading h2 { margin: 14px 0 0; color: var(--ink); font-size: 27px; font-weight: 720; letter-spacing: -.03em; }
    .project-summary-title-link { color: inherit; text-decoration: none; }
    .project-summary-title-link:hover { color: var(--green-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
    .project-summary-title-link:focus-visible { border-radius: 2px; outline: 2px solid var(--green-dark); outline-offset: 3px; }
    .project-summary-heading p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
    .project-summary-eyebrow { display: flex; align-items: center; gap: 8px; color: var(--green-dark); font-size: 12px; font-weight: 650; }
    .project-summary-eyebrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .project-summary-status { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--green-light); border-radius: 999px; background: var(--green-light); color: var(--green-dark); font-size: 13px; font-weight: 650; }
    .project-summary-status svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .project-summary-status.is-routing,.project-summary-status.is-in-review,.project-summary-status.is-on-hold { border-color: #f1d3a6; background: var(--amber-light); color: var(--amber); }
    .project-summary-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 17px 30px 20px; }
    .project-summary-facts > div { grid-template-columns: 20px minmax(0, 1fr); align-items: center; column-gap: 8px; row-gap: 2px; padding: 0; border: 0; border-radius: 0; background: transparent; }
    .project-summary-facts > div > svg { grid-row: 1 / span 2; align-self: start; margin-top: 2px; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
    .project-summary-facts span { grid-column: 2; }
    .project-summary-facts strong { grid-column: 2; font-size: 14px; }
    .project-summary-content { display: grid; gap: 20px; padding: 24px 30px 30px; background: var(--canvas); }
    :root:not([data-theme="dark"]) .work-summary-view .project-summary-content { background: #f3f6f4; }
    .project-summary-facts > div,.project-summary-metrics > article { display: grid; min-width: 0; gap: 5px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas); }
    .project-summary-facts span,.project-summary-metrics article span { color: var(--muted); font-size: 12px; }
    .project-summary-facts strong { overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
    .project-summary-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .project-summary-metrics > article { display: flex; min-height: 102px; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
    .project-summary-metrics > article > div { display: grid; gap: 5px; }
    .project-summary-metrics article strong { color: var(--ink); font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
    .project-summary-metrics article > i { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: var(--green-light); color: var(--green-dark); }
    .project-summary-metrics article > i svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .project-summary-metrics > article.is-time { border-color: var(--green-dark); background: var(--green-dark); }
    :root[data-theme="dark"] #workSummaryView .project-summary-metrics > article.is-time { border-color: #252e3d; background: #252e3d; }
    .project-summary-metrics > article.is-time span,.project-summary-metrics > article.is-time strong { color: #fff; }
    .project-summary-metrics > article.is-time > i { background: rgb(255 255 255 / 12%); color: #fff; }
    .project-summary-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 16px 18px; }
    .project-summary-section { min-width: 0; padding: 0 19px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
    .project-summary-section > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; margin: 0 -19px 4px; padding: 0 19px; border-bottom: 1px solid var(--line); }
    .project-summary-section > header h3 { margin: 0; color: var(--ink); font-size: 14px; font-weight: 680; }
    .project-summary-section > header > span { display: grid; min-width: 23px; height: 23px; place-items: center; padding: 0 6px; border-radius: 999px; background: var(--canvas); color: var(--muted); font-size: 11px; font-weight: 650; }
    .project-summary-session-list,.project-summary-updates,.project-summary-next-steps { display: grid; }
    .project-summary-session-list article { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; justify-content: initial; gap: 11px; padding: 12px 0; border-top: 1px solid var(--line); }
    .project-summary-session-list article:first-child { border-top: 0; }
    .project-summary-avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--green-light); color: var(--green-dark); font-size: 11px; font-style: normal; font-weight: 650; }
    .project-summary-session-list article > div,.project-summary-next-steps li > div { display: grid; min-width: 0; gap: 4px; }
    .project-summary-session-list article strong,.project-summary-next-steps strong { color: var(--ink); font-size: 13px; font-weight: 620; }
    .project-summary-session-list article span,.project-summary-next-steps span { color: var(--muted); font-size: 12px; }
    .project-summary-session-list article > strong { flex: 0 0 auto; font-variant-numeric: tabular-nums; }
    .project-summary-updates article { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
    .project-summary-updates article:first-child { border-top: 0; }
    .project-summary-update-dot { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--green); }
    .project-summary-update-dot.is-status { background: #c58a2b; }
    .project-summary-update-dot.is-task { background: #657eae; }
    .project-summary-update-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; background: var(--green-light); color: var(--green-dark); font-size: 17px; font-style: normal; font-weight: 650; }
    .project-summary-update-icon.is-status { background: var(--amber-light); color: var(--amber); }
    .project-summary-update-icon.is-task { background: var(--blue-light); color: var(--blue); }
    .project-summary-updates article strong { color: var(--ink); font-size: 13px; font-weight: 620; }
    .project-summary-updates article p { margin: 4px 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
    .project-summary-updates article time { color: var(--muted); font-size: 11px; }
    .project-summary-next-steps { gap: 0; margin: 0; padding: 0; list-style: none; }
    .project-summary-next-steps li { padding: 10px 0; border-top: 1px solid var(--line); }
    .project-summary-section.is-next-steps { grid-column: 1 / -1; display: grid; width: 100%; min-height: 80px; box-sizing: border-box; grid-template-columns: minmax(0, 1fr); align-items: center; padding: 0 19px; background: var(--surface); }
    .project-summary-section.is-next-steps > header { min-height: 80px; justify-content: initial; margin: 0 -19px; border-bottom: 0; }
    .project-summary-next-icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--green-light); color: var(--green-dark); font-size: 17px; font-style: normal; font-weight: 700; }
    .project-summary-section.is-next-steps > header > div { flex: 1; }
    .project-summary-section.is-next-steps > header > div { display: flex; align-items: center; gap: 9px; }
    .project-summary-section.is-next-steps > header h3 { margin: 0; }
    .project-summary-section.is-next-steps > header p { margin: 0; color: var(--muted); font-size: 12px; }
    .project-summary-empty { margin: 0; padding: 11px 0 2px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
    :root:not([data-theme="dark"]) .work-summary-job-card,
    :root:not([data-theme="dark"]) .work-summary-job-card .project-summary-heading,
    :root:not([data-theme="dark"]) .work-summary-job-card .project-summary-facts,
    :root:not([data-theme="dark"]) .work-summary-job-card .project-summary-facts > div,
    :root:not([data-theme="dark"]) .work-summary-job-card .project-summary-content,
    :root:not([data-theme="dark"]) .work-summary-job-card .project-summary-metrics > article:not(.is-time),
    :root:not([data-theme="dark"]) .work-summary-job-card .project-summary-section,
    :root:not([data-theme="dark"]) .work-summary-job-card .project-summary-section > header > span { background: #f3f6f4; }
    :root:not([data-theme="dark"]) .work-summary-job-card .project-summary-facts > div { border: 0; background: #fff; }
    :root:not([data-theme="dark"]) .work-summary-job-card .project-summary-metrics > article:not(.is-time) { border: 0; background: #fff; }
    :root:not([data-theme="dark"]) .work-summary-job-card .project-summary-section:not(.is-next-steps) { border: 0; background: #fff; }
    :root:not([data-theme="dark"]) .work-summary-job-card .project-summary-section.is-next-steps { border: 0; background: #fff; }
    :root[data-theme="dark"] #workSummaryView .project-summary-section.is-next-steps { background: var(--surface); }
    :root[data-theme="dark"] #workSummaryView .work-summary-job-card { background: var(--canvas); }
    :root[data-theme="dark"] #workSummaryView .project-summary-metrics article > i,
    :root[data-theme="dark"] #workSummaryView .project-summary-avatar,
    :root[data-theme="dark"] #workSummaryView .project-summary-update-icon,
    :root[data-theme="dark"] #workSummaryView .project-summary-next-icon { background: #252e3d; }
    :root:not([data-theme="dark"]) #workSummaryView .work-summary-metrics article { background: #1d573c; }
    :root:not([data-theme="dark"]) #workSummaryView .work-summary-metrics article span,
    :root:not([data-theme="dark"]) #workSummaryView .work-summary-metrics article strong { color: #fff; }
    :root[data-theme="dark"] #workSummaryView .work-summary-metrics article { background: #252e3d; }
    #workSummaryView .work-summary-metrics article,
    #workSummaryView .work-summary-job-card,
    #workSummaryView .work-summary-custom,
    #workSummaryView .work-summary-empty,
    #workSummaryView .project-summary-facts > div,
    #workSummaryView .project-summary-metrics > article,
    #workSummaryView .project-summary-section { border: 0; }
    @media (max-width: 700px) { .work-summary-job-card .project-summary-heading { align-items: flex-start; padding: 20px 18px 16px; } .work-summary-job-card .project-summary-heading h2 { font-size: 22px; } .work-summary-job-card .project-summary-status { padding: 6px 8px; font-size: 11px; } .work-summary-job-card .project-summary-facts { gap: 14px; padding: 15px 18px 18px; } .work-summary-job-card .project-summary-content { gap: 14px; padding: 16px 14px 18px; } .project-summary-facts,.project-summary-metrics { grid-template-columns: 1fr; } .project-summary-sections { grid-template-columns: 1fr; } .project-summary-section.is-next-steps { grid-column: auto; } }
    .activity-highlight { display: flex; width: min(320px, 100%); min-height: 64px; box-sizing: border-box; align-items: flex-start; gap: 12px; padding: 11px 14px; border: 0; border-radius: 11px; background:#f3f6f4; }
    :root:not([data-theme="dark"]) :is(.activity-highlight,.activity-card) { --muted:#56635c; }
    .activity-highlight-icon,.activity-section-icon,.activity-event-icon { display: grid; flex: 0 0 auto; place-items: center; border-radius: 8px; background: var(--canvas); color: var(--muted); }
    .activity-highlight-icon { width: 32px; height: 32px; }
    .activity-highlight-icon svg,.activity-section-icon svg,.activity-event-icon svg,.activity-status-transition svg,.activity-note-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
    .activity-highlight-copy { display: grid; min-width: 0; gap: 2px; }
    .activity-highlight-copy strong { color: var(--ink); font-size: 13px; font-weight: 650; }
    .activity-highlight-copy > span,.activity-highlight-copy small { overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
    .activity-highlight-copy > span { color: var(--ink); }
    .activity-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; gap: 18px; }
    .activity-card { min-width: 0; padding: 18px 20px; border: 0; border-radius: 12px; background:#f3f6f4; }
    .activity-section-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
    .activity-section-icon { width: 27px; height: 27px; }
    .activity-section-heading > span:last-child { display: grid; gap: 2px; }
    .activity-section-heading strong { color: var(--ink); font-size: 15px; font-weight: 680; }
    .activity-section-heading small { color: var(--muted); font-size: 13px; }
    .activity-feed { display: grid; }
    .activity-feed-item { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 9px; padding: 11px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
    .activity-feed-item:last-child { border-bottom: 0; }
    .activity-event-icon { width: 23px; height: 23px; background: var(--blue-light); color: var(--blue); }
    .activity-event-icon.is-status { background: color-mix(in srgb, var(--green) 18%, var(--surface)); color: var(--green); }
    .activity-event-icon.is-work { background: color-mix(in srgb, var(--amber) 18%, var(--surface)); color: var(--amber); }
    .activity-event-copy { display: grid; min-width: 0; align-content: start; gap: 3px; }
    .activity-feed-title { color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
    .activity-feed-meta { color: var(--muted); font-size: 13px; }
    .activity-feed-notes { margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
    .activity-status-callout { display: flex; align-items: flex-start; gap: 6px; margin-top: 4px; padding: 7px 9px; border-radius: 6px; background: var(--canvas); color: var(--muted); font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
    .activity-note-icon { flex: 0 0 auto; color: var(--blue); }
    .activity-note-icon svg { width: 12px; height: 12px; }
    .activity-status-list { display: grid; gap: 0; }
    .activity-status-item { display: grid; gap: 8px; padding: 12px 11px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: 0; background: transparent; }
    .activity-status-item:last-child { border-bottom: 0; }
    .activity-status-transition { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; }
    .activity-status-transition svg { flex: 0 0 auto; color: var(--green); }
    .activity-status-transition b { color: var(--green); font-weight: 650; }
    .activity-status-item p { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
    .activity-status-meta { display: flex; min-width: 0; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
    .activity-status-avatar { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 50%; background: var(--canvas); color: var(--muted); font-size: 13px; letter-spacing: -0.35px; }
    .activity-status-meta > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .activity-empty { padding: 18px 2px; color: var(--muted); font-size: 14px; }
    :root[data-theme="dark"] .activity-card,:root[data-theme="dark"] .activity-highlight { border:0; background:#242932; }
    :root[data-theme="dark"] .activity-status-callout { background: var(--blue-light); color: var(--blue); }
    @media (max-width: 760px) { .activity-columns { grid-template-columns: minmax(0, 1fr); } .project-detail-panel #projectActivityPanel:not([hidden]) { padding: 18px 16px 22px; } }

    @media (max-width: 950px) {
      .main { padding-right: 26px; padding-left: 26px; }
      .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      th, td { padding-right: 12px; padding-left: 12px; }
    }
    @media (max-width: 700px) {
      @media (max-width: 480px) {
        .team-editor-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
      }
      .main { padding: 0 17px 36px; }
      .topbar { height: 54px; }
      .personal-overview-section-heading { top:54px; }
      .page-heading { align-items: flex-start; padding-top: 28px; }
      .new-project-heading { align-items: flex-start; flex-direction: column; padding-top: 28px; }
      .page-heading .primary-button { min-height: 36px; padding: 0 10px; font-size: 13px; white-space: nowrap; }
      .user-name { display: none; }
      .stats { gap: 9px; }
      .billing-overview-cards { grid-template-columns: 1fr; }
      .stat-card { padding: 13px; }
      .stat-value { margin-top: 8px; font-size: 21px; }
      .panel-toolbar { align-items: flex-start; flex-direction: column; }
      .project-view-toolbar-actions{ width: 100%; }
      .project-view-toolbar-actions { justify-content: flex-end; }
      .workspace-table-toolbar { align-items: flex-start; flex-direction: column; }
      .workspace-table-actions { width: 100%; justify-content: flex-end; }
      .panel-tools { width: 100%; flex-wrap: wrap; }
      .panel-tools-divider { display: none; }
      .project-search-combo { width: 100%; min-width: 0; }
      .project-search-combo .search-wrap { flex: 1 1 auto; }
      .search-wrap { min-width: 0; flex: 1 1 100%; }
      .search { width: 100%; }
      .filter-control { min-width: 0; max-width: 145px; flex: 1 1 0; }
      .table-scroll { margin-right: -1px; }
    }
    @media (max-width: 430px) {
      .main { padding-right: 12px; padding-left: 12px; }
      .page-heading { flex-wrap: wrap; gap: 10px; }
      .subtitle { max-width: 220px; line-height: 1.5; }
      .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .field-row { grid-template-columns: 1fr; }
      .form-body { gap: 12px; }
      .project-detail-heading { flex-wrap: wrap; }
      .project-detail-actions { justify-content: flex-start; }
      .project-detail-panel .detail-body { grid-template-columns: minmax(0, 1fr); }
      .overview-details-grid { grid-template-columns: minmax(0, 1fr); }
      .overview-details-grid > #overviewPinnedNote { grid-column: 1; grid-row: auto; }
      .deployment-link-list { grid-template-columns: minmax(0, 1fr); }
    }
    @media (max-width: 399px) {
      .breadcrumb { display: none; }
      .topbar-actions { width: 100%; justify-content: space-between; gap: 0; }
      .topbar-actions > button:not([hidden]) { min-width: 0; flex: 1 1 0; justify-content: center; padding-right: 0; padding-left: 0; }
    }
    @media (min-width: 1200px) {
      .brand-name { font-size: 20px; }
      .breadcrumb, .user-name { font-size: 13px; }
      h1 { font-size: clamp(30px, 3vw, 36px); }
      .subtitle { font-size: 14px; }
      .eyebrow { font-size: 13px; }
      .primary-button { font-size: 13px; }
      .stat-label { font-size: 13px; }
      .stat-value { font-size: 27px; }
      .panel-title { font-size: 14px; }
      .search, .filter-control { font-size: 13px; }
      th { font-size: 13px; }
      td { font-size: 13px; }
      .project-name-button { font-size: 13px; }
      .status,
    .priority{ font-size: 13px; }
      .owner-avatar { font-size: 13px; }
      .table-footer { font-size: 13px; }
      .dialog-title { font-size: 18px; }
      .dialog-subtitle { font-size: 13px; }
      .field label, .field-label { font-size: 13px; }
      .field input, .field select, .field textarea { font-size: 13px; }
      .field-hint { font-size: 13px; }
      .detail-description, .detail-value { font-size: 13px; }
      .detail-label { font-size: 13px; }
      .project-detail-heading h2 { font-size: 25px; }
      .detail-back-button { font-size: 13px; }
    }
    .breadcrumb,
    .breadcrumb span,
    .stat-label,
    .sort-button,
    .field-hint,
    .detail-back-button,
    .detail-back-button span,
    .project-detail-tab,
    .detail-label,
    .week-time-chart-scale-label,
    .week-time-chart-range,
    .week-time-chart-label,
    .week-time-chart-empty,
    .project-time-chart-day-label,
    .project-time-chart-value,
    .activity-highlight-note,
    .activity-feed-meta,
    .activity-feed-notes,
    .lifecycle-empty,
    .budget-chart-empty,
    th,
    .project-time-chart-axis-track{ color: var(--muted); }
    .project-detail-tab.active,
    .project-detail-tab[aria-selected="true"]{ color: var(--green-dark); }
    .owner-avatar { background: #31583e; color: #fff; }

    :root[data-theme="dark"] body { background: var(--canvas); color: var(--ink); }
    :root[data-theme="dark"] .sidebar,
    :root[data-theme="dark"] .project-panel,
    :root[data-theme="dark"] .stat-card,
    :root[data-theme="dark"] .project-detail-panel,
    :root[data-theme="dark"] .proofs-workspace,
    :root[data-theme="dark"] .proof-annotations-panel,
    :root[data-theme="dark"] .custom-team-card,
    :root[data-theme="dark"] .budget-chart,
    :root[data-theme="dark"] .projected-hours-card,
    :root[data-theme="dark"] .auth-card,
    :root[data-theme="dark"] .board-card,
    :root[data-theme="dark"] .workflow-route-card,
    :root[data-theme="dark"] .proof-comment,
    :root[data-theme="dark"] .proof-comment-composer,
    :root[data-theme="dark"] .proof-comment-filters,
    :root[data-theme="dark"] .proof-tag-picker-menu,
    :root[data-theme="dark"] .proof-mention-suggestions,
    :root[data-theme="dark"] .proof-notification-item,
    :root[data-theme="dark"] .route-link-menu-popover,
    :root[data-theme="dark"] .project-menu-popover,
    :root[data-theme="dark"] .project-time-week-export-menu,
    :root[data-theme="dark"] .share-member-results,
    :root[data-theme="dark"] .push-confirm-summary,
    :root[data-theme="dark"] .app-message-dialog,
    :root[data-theme="dark"] .push-confirm-dialog,
    :root[data-theme="dark"] dialog{ background-color: var(--surface); border-color: var(--line); color: var(--ink); }
    :root[data-theme="dark"] .sidebar { background-color: #15181d; }
    :root[data-theme="dark"] .sync-recovery-banner { border-color: #66532d; background: #322a1c; color: #f0d9a8; }
    :root[data-theme="dark"] .multiple-tab-warning { border-color: #3b527b; background: #1e293d; color: #c5d5f7; }
    :root[data-theme="dark"] .board-column { background-color: #252932; }
    :root[data-theme="dark"] .share-member-option:hover,
    :root[data-theme="dark"] .share-member-option:focus-visible { background: #252d3a; color: var(--ink); }
    :root[data-theme="dark"] .field .add-project-team-member-option:hover,
    :root[data-theme="dark"] .field .add-project-team-member-option:focus-within { background: #29313b; color: #f1f4f8; }
    :root[data-theme="dark"] .field .add-project-team-member-option input { accent-color: #8ac99a; }
    :root[data-theme="dark"] .topbar,
    :root[data-theme="dark"] .panel-toolbar,
    :root[data-theme="dark"] .dialog-header,
    :root[data-theme="dark"] .dialog-footer,
    :root[data-theme="dark"] .project-detail-tabs,
    :root[data-theme="dark"] .proof-annotations-heading,
    :root[data-theme="dark"] .table-footer{ border-color: var(--line); }
    :root[data-theme="dark"] .dialog-footer { background:var(--surface); }
    :root[data-theme="dark"] .workspace-mfa-qr { border-color: var(--line); }
    :root[data-theme="dark"] .auth-card label { color: #d7ded9; }
    :root[data-theme="dark"] .auth-card input[type="text"],
    :root[data-theme="dark"] .auth-card input[type="password"],
    :root[data-theme="dark"] .auth-card input[type="email"],
    :root[data-theme="dark"] .auth-card select { border-color: #56616b; background: #20252c; color: #f1f4f2; }
    :root[data-theme="dark"] .breadcrumb strong,
    :root[data-theme="dark"] h1,
    :root[data-theme="dark"] h2,
    :root[data-theme="dark"] h3,
    :root[data-theme="dark"] .panel-title,
    :root[data-theme="dark"] .project-name-button,
    :root[data-theme="dark"] .route-proof-button,
    :root[data-theme="dark"] .project-detail-heading h2,
    :root[data-theme="dark"] .custom-team-card-title,
    :root[data-theme="dark"] .custom-team-members-heading,
    :root[data-theme="dark"] .proof-comment-heading strong,
    :root[data-theme="dark"] .proof-notification-item strong,
    :root[data-theme="dark"] .board-column-title,
    :root[data-theme="dark"] .workflow-route-person,
    :root[data-theme="dark"] .budget-chart-title,
    :root[data-theme="dark"] .workload-capacity,
    :root[data-theme="dark"] .push-confirm-value{ color: var(--ink); }
    :root[data-theme="dark"] .route-proof-button.has-active-comments { border-color: #536a91; background: #273142; color: #a9c7fb; }
    :root[data-theme="dark"] .route-proof-button.is-ready { border-color: #438c5d; background: #20392a; color: #8ed6a1; }
    :root[data-theme="dark"] .route-proof-button.is-ready:hover { border-color: #5da977; background: #294a35; color: #b4ebc1; }
    :root[data-theme="dark"] .projects-view .route-proof-button:not(.is-ready):hover { border-color:#789be0; background:#273142; color:#d9e5fb; }
    :root[data-theme="dark"] .projects-view .project-name-button:hover { color:#c9dcff; }
    :root[data-theme="dark"] .project-stage-ready-icon { color:#8ed6a1; }
    :root[data-theme="dark"] tbody tr.project-row-hot > td { background: #302321; }
    :root[data-theme="dark"] tbody tr.project-row-hot.project-row-working > td { background: #382624; }
    :root[data-theme="dark"] tbody tr.project-row-working > td { background: #202938; }
    :root[data-theme="dark"] tbody tr.project-row-working > td:first-child { box-shadow: inset 3px 0 #83aaf4; }
    :root[data-theme="dark"] .board-card.is-hot { border-color: #64403c; background: #28201f; }
    :root[data-theme="dark"] .project-hot-toggle-button { border-color: transparent; background: transparent; color: #ff9a91; }
    :root[data-theme="dark"] .project-hot-toggle-button.is-hot,
    :root[data-theme="dark"] #detailsHotIndicator { border-color: #64403c; background: #3a2522; color: #ff766c; }
    :root[data-theme="dark"] body.hot-project-active { background: var(--canvas); }
    :root[data-theme="dark"] .project-detail-panel.is-hot .project-detail-navigation { border-bottom-color: #68413d; }
    :root[data-theme="dark"] .project-detail-panel.is-hot .project-detail-tab:hover,
    :root[data-theme="dark"] .project-detail-panel.is-hot .project-detail-tab[aria-selected="true"] { color: #ff8c82; }
    :root[data-theme="dark"] .project-detail-panel.is-hot .project-detail-tab[aria-selected="true"]::after { background: #f07167; }
    :root[data-theme="dark"] .project-detail-heading.is-hot .project-detail-actions > .primary-button { border: 1px solid #e36b62; background: #a52d26; color: #fff; }
    :root[data-theme="dark"] .project-detail-heading.is-hot .project-detail-actions > .primary-button:hover { background: #bd3a32; }
    :root[data-theme="dark"] .project-detail-heading.is-hot .project-detail-actions > .outline-button,
    :root[data-theme="dark"] .project-detail-heading.is-hot .project-detail-actions > .detail-work-button,
    :root[data-theme="dark"] .project-detail-heading.is-hot .project-detail-actions > .route-link-menu summary,
    :root[data-theme="dark"] .project-detail-heading.is-hot .project-detail-actions > .project-menu summary { border-color: #75443f; background: #382321; color: #ffb0a8; }
    :root[data-theme="dark"] .project-detail-heading.is-hot .project-detail-actions > .outline-button:hover,
    :root[data-theme="dark"] .project-detail-heading.is-hot .project-detail-actions > .detail-work-button:hover,
    :root[data-theme="dark"] .project-detail-heading.is-hot .project-detail-actions > .route-link-menu summary:hover,
    :root[data-theme="dark"] .project-detail-heading.is-hot .project-detail-actions > .project-menu summary:hover,
    :root[data-theme="dark"] .project-detail-heading.is-hot .project-detail-actions > .project-menu[open] summary { border-color: #a85850; background: #4a2926; color: #ffd0cb; }
    :root[data-theme="dark"] .project-detail-heading.is-hot .project-detail-actions :is(.primary-button, .outline-button, .detail-work-button, .route-link-menu summary, .project-menu summary):focus-visible { outline-color: #ff8c82; }
    :root[data-theme="dark"] .subtitle,
    :root[data-theme="dark"] .breadcrumb,
    :root[data-theme="dark"] .breadcrumb span,
    :root[data-theme="dark"] .field-hint,
    :root[data-theme="dark"] .dialog-subtitle,
    :root[data-theme="dark"] .push-confirm-copy,
    :root[data-theme="dark"] .app-message-copy,
    :root[data-theme="dark"] .detail-label,
    :root[data-theme="dark"] .detail-back-button,
    :root[data-theme="dark"] .workload-note,
    :root[data-theme="dark"] .activity-feed-meta,
    :root[data-theme="dark"] .activity-feed-notes,
    :root[data-theme="dark"] .board-card-meta,
    :root[data-theme="dark"] .proof-comment-heading time,
    :root[data-theme="dark"] .proof-reply,
    :root[data-theme="dark"] .auth-sub{ color: var(--muted); }
    :root[data-theme="dark"] .board-card-job,
    :root[data-theme="dark"] .board-card-meta { color: #c3c8d0; }
    :root[data-theme="dark"] .auth-password-requirements { color: var(--muted); }
    :root[data-theme="dark"] .detail-description,
    :root[data-theme="dark"] .detail-value,
    :root[data-theme="dark"] .project-note-post-author,
    :root[data-theme="dark"] .project-note-post-copy,
    :root[data-theme="dark"] .project-time-job-list li,
    :root[data-theme="dark"] .team-work-member,
    :root[data-theme="dark"] .project-file-item,
    :root[data-theme="dark"] .team-member-option,
    :root[data-theme="dark"] .proof-comment-body,
    :root[data-theme="dark"] .proof-reply strong,
    :root[data-theme="dark"] .project-time-tooltip,
    :root[data-theme="dark"] .project-time-chart-empty strong,
    :root[data-theme="dark"] .field label,
    :root[data-theme="dark"] .field-label,
    :root[data-theme="dark"] .lifecycle-task-title,
    :root[data-theme="dark"] .lifecycle-cell-duration,
    :root[data-theme="dark"] .lifecycle-cell-dates,
    :root[data-theme="dark"] .lifecycle-cal-day,
    :root[data-theme="dark"] .lifecycle-date-range label,
    :root[data-theme="dark"] .project-time-chart-title,
    :root[data-theme="dark"] .week-time-chart-title,
    :root[data-theme="dark"] .project-time-week-table tbody th,
    :root[data-theme="dark"] .project-time-week-table tbody td{ color: var(--ink); }
    :root[data-theme="dark"] .lifecycle-view-toggle { border-color:#3b474f; background:#252e35; }
    :root[data-theme="dark"] .lifecycle-view-toggle button { color:var(--ink); }
    :root[data-theme="dark"] .lifecycle-view-toggle button:hover,
    :root[data-theme="dark"] .lifecycle-view-toggle button[aria-pressed="true"] { background:var(--blue-light); color:var(--blue); box-shadow:none; }
    :root[data-theme="dark"] .lifecycle-assign summary { border-color:#505866; background:#242932; color:#e4e8ee; }
    :root[data-theme="dark"] .lifecycle-assign summary::after { border-color:#c0c8d3; }
    :root[data-theme="dark"] .lifecycle-dependency-picker[data-empty] summary { color:#aeb8c6; }
    :root[data-theme="dark"] .lifecycle-assign-menu { border-color:#505866; background:#22262f; color:#e4e8ee; }
    :root[data-theme="dark"] .lifecycle-assign-menu label { color:#e4e8ee; }
    :root[data-theme="dark"] .lifecycle-assign-menu label:hover { background:#303846; }
    :root[data-theme="dark"] .lifecycle-assign-hint,
    :root[data-theme="dark"] .lifecycle-assign-empty { color:#aeb8c6; }
    :root[data-theme="dark"] .proof-annotations-heading { color:#e1e5eb; }
    :root[data-theme="dark"] .proof-comment-filter-toggle { border-color:#555e6a; color:#c2cbd8; }
    :root[data-theme="dark"] .proof-comment-filter-toggle[aria-expanded="true"] { border-color:#789be0; background:#273142; color:#d5e2fa; }
    :root[data-theme="dark"] .proof-attachment-icon { border-color:var(--line); background:var(--surface); color:var(--muted); }
    :root[data-theme="dark"] .proof-attachment-icon:hover { border-color:#6b7280; background:#273142; color:#c7d9fa; }
    :root[data-theme="dark"] .team-member-option input[data-custom-team-member] { background: #414650; }
    :root[data-theme="dark"] .project-file-meta,
    :root[data-theme="dark"] .team-member-search-prompt,
    :root[data-theme="dark"] .project-time-chart-value,
    :root[data-theme="dark"] .project-time-chart-day-label,
    :root[data-theme="dark"] .week-time-chart-value,
    :root[data-theme="dark"] .week-time-chart-label,
    :root[data-theme="dark"] .week-time-chart-empty,
    :root[data-theme="dark"] .week-time-chart-scale-label,
    :root[data-theme="dark"] .week-time-chart-range,
    :root[data-theme="dark"] .lifecycle-task-notes,
    :root[data-theme="dark"] .lifecycle-unassigned,
    :root[data-theme="dark"] .lifecycle-assign-empty,
    :root[data-theme="dark"] .lifecycle-entry-num,
    :root[data-theme="dark"] .lifecycle-date-range label span,
    :root[data-theme="dark"] .copy-job-number-status,
    :root[data-theme="dark"] .rate-mask,
    :root[data-theme="dark"] .proof-comment-number,
    :root[data-theme="dark"] .push-confirm-label,
    :root[data-theme="dark"] .push-confirm-arrow{ color: var(--muted); }
    :root[data-theme="dark"] .team-member-search-prompt { color: #ff8a80; }
    :root[data-theme="dark"] .feedback-form .field { color: #c6cad2; }
    :root[data-theme="dark"] .project-time-tooltip,
    :root[data-theme="dark"] .project-file-item,
    :root[data-theme="dark"] .project-notes-formatting button,
    :root[data-theme="dark"] .project-notes-formatting select,
    :root[data-theme="dark"] .project-notes-editor,
    :root[data-theme="dark"] .profile-permission-level,
    :root[data-theme="dark"] .team-remove-button{ background: var(--surface); border-color: #6b7280; color: var(--ink); }
    :root[data-theme="dark"] .project-detail-tab,
    :root[data-theme="dark"] .priority,
    :root[data-theme="dark"] .stat-label,
    :root[data-theme="dark"] .close-button,
    :root[data-theme="dark"] .profile-header-action,
    :root[data-theme="dark"] .project-time-chart-axis-track,
    :root[data-theme="dark"] .week-time-chart-axis-track{ color: var(--muted); }
    :root[data-theme="dark"] .project-detail-tab[aria-selected="true"]{ color: var(--green-dark); }
    :root[data-theme="dark"] .proof-empty strong,
    :root[data-theme="dark"] .custom-team-detail-hero:not(.has-cover) .custom-team-detail-hero-copy { color: var(--ink); }
    :root[data-theme="dark"] .auth-error{ color: #ffaaa2; }
    :root[data-theme="dark"] .workflow-route-status.is-approved { color: #a8dfb6; }
    :root[data-theme="dark"] .workflow-route-status.is-changes { color: #f4cb7f; }
    :root[data-theme="dark"] .workflow-route-avatar,
    :root[data-theme="dark"] .workflow-member-avatar { border-color: #414852; background: #292e35; color: #d1d8e0; }
    :root[data-theme="dark"] .workflow-route-stage-label { color: #c5ccd4; }
    :root[data-theme="dark"] .workflow-optional-control { color: #b6bec8; }
    :root[data-theme="dark"] .workflow-optional-badge { background: #292e35; color: #c5ccd4; }
    :root[data-theme="dark"] .week-time-chart-track { background: #292e36; }
    :root[data-theme="dark"] #projectTimePanel .project-time-overview-grid .week-time-chart { border-color:#3b414b; background:#22262d; }
    :root[data-theme="dark"] .week-time-chart,
    :root[data-theme="dark"] .budget-chart { background: #171a20; }
    :root[data-theme="dark"] #projectTimePanel .project-time-page-heading h2,
    :root[data-theme="dark"] #projectTimePanel .project-time-total-value,
    :root[data-theme="dark"] #projectTimePanel .work-log-title-wrap h3 { color:#e4e9e6; }
    :root[data-theme="dark"] #projectTimePanel .project-time-page-heading p,
    :root[data-theme="dark"] #projectTimePanel .project-time-total-caption,
    :root[data-theme="dark"] #projectTimePanel .work-log-footer,
    :root[data-theme="dark"] #projectTimePanel .work-log-empty { color:#b4beb8; }
    :root[data-theme="dark"] #projectTimePanel .project-time-overview-pill { background:#242932; color:#d6ded9; }
    :root[data-theme="dark"] #projectTimePanel .time-work-log-card { border-color:#343a43; background:#242932; color:#d6dbe3; }
    :root[data-theme="dark"] #projectTimePanel .project-time-total-card { border-color:#3b414b; background:#242932; }
    :root[data-theme="dark"] #projectTimePanel .project-time-overview-grid .week-time-chart { background:#242932; }
    :root[data-theme="dark"] #projectTimePanel .project-time-total-label,
    :root[data-theme="dark"] #projectTimePanel .project-time-total-unit,
    :root[data-theme="dark"] #projectTimePanel .project-time-active-note { color:#c4cde0; }
    :root[data-theme="dark"] #projectTimePanel .work-log-avatar,
    :root[data-theme="dark"] #projectTimePanel .work-log-count { background:#303641; color:#c4cde0; }
    :root[data-theme="dark"] #projectTimePanel .project-time-total-clock { background:transparent; color:#c4cde0; }
    :root[data-theme="dark"] #projectTimePanel .project-time-total-toggle { background:#303641; }
    :root[data-theme="dark"] #projectTimePanel .project-time-total-toggle button { color:#b4bdca; }
    :root[data-theme="dark"] #projectTimePanel .project-time-total-toggle button[aria-pressed="true"] { background:#414852; color:#e0e6e2; }
    :root[data-theme="dark"] #projectTimePanel .work-log-active { background:#303b33; color:#c1d9c8; }
    :root[data-theme="dark"] #projectTimePanel .project-time-total-footer,
    :root[data-theme="dark"] #projectTimePanel .project-time-overview-pill svg,
    :root[data-theme="dark"] #projectTimePanel .project-time-total-footer svg { color:#c4cde0; }
    :root[data-theme="dark"] #projectTimePanel .project-time-total-footer,
    :root[data-theme="dark"] #projectTimePanel .work-log-heading,
    :root[data-theme="dark"] #projectTimePanel .work-log-footer { border-color:#343a43; }
    :root[data-theme="dark"] #projectTimePanel .week-time-chart-bars::before { border-color:#3b414b; background:repeating-linear-gradient(to bottom,#3b414b 0 1px,transparent 1px 42px); }
    :root[data-theme="dark"] #projectTimePanel .week-time-chart-bar { background:#667fa8; }
    :root[data-theme="dark"] #projectTimePanel .week-time-chart-total { color:#c4cde0; }
    :root[data-theme="dark"] #projectTimePanel .week-time-chart-label { color:#c1c8d2; }
    :root[data-theme="dark"] #projectTimePanel .time-work-log-table th,
    :root[data-theme="dark"] #projectTimePanel .time-work-log-table td { border-color:#343a43; }
    :root[data-theme="dark"] #projectTimePanel .time-work-log-table th { background:#252a32; color:#b4bdca; }
    :root[data-theme="dark"] #projectTimePanel .time-work-log-table td { color:#e0e6e2; }
    :root[data-theme="dark"] .budget-chart-grid { stroke: #363a43; }
    :root[data-theme="dark"] .budget-chart-zero { stroke: #ff8a80; }
    :root[data-theme="dark"] .budget-chart-axis { fill: #afb5be; }
    :root[data-theme="dark"] .budget-chart-dot { fill: #171a20; }
    :root[data-theme="dark"] .project-note-post.pinned{ background: #292d2b; }
    :root[data-theme="dark"] #profileForm .field input:disabled,
    :root[data-theme="dark"] #profileForm .field select:disabled { border-color: #484f4a; background: #292d2b; color: #aeb8b1; }
    :root[data-theme="dark"] #billingOrganizationName:disabled { border-color: #484f4a; background: #292d2b; color: #aeb8b1; }
    :root[data-theme="dark"] .permission-preview-banner { border-color: #806b39; background: #3b3320; color: #f0d38f; }
    :root[data-theme="dark"] .project-notes-editor:focus { outline-color: #405b48; }
    :root[data-theme="dark"] .proof-comment { background: #1d2025; }
    :root[data-theme="dark"] .proof-comment > .proof-comment-body { background: #252930; }
    :root[data-theme="dark"] .proof-comment.resolved { background: #1a1d22; opacity: 1; }
    :root[data-theme="dark"] .proof-comment.resolved.active { background: #292d2b; }
    :root[data-theme="dark"] .team-department,
    :root[data-theme="dark"] .lifecycle-task-assignee{ background: #2c3036; color: #d1d8e0; }
    :root[data-theme="dark"] .billing-type-badge { border-color: #355d45; background: #20372a; color: #b8e0c4; }
    :root[data-theme="dark"] .billing-type-badge.non-billable { border-color: #424852; background: #292d34; color: #c5cad2; }
    :root[data-theme="dark"] .risk-badge.overdue,
    :root[data-theme="dark"] .risk-badge.budget,
    :root[data-theme="dark"] .risk-badge.task-overdue { background: #422b29; color: #ffc0b8; }
    :root[data-theme="dark"] .risk-badge.soon { background: #40351f; color: #f5d489; }
    :root[data-theme="dark"] .risk-badge.budget-watch { background:#40351f; color:#f5d489; }
    :root[data-theme="dark"] .nav-item { color: #b5c0b8; }
    :root[data-theme="dark"] .nav-item:hover,
    :root[data-theme="dark"] .nav-item.active { background: #292d2b; color: #b4e1c1; }
    :root[data-theme="dark"] .profile-button,
    :root[data-theme="dark"] .icon-button { color: #aab7ae; }
    :root[data-theme="dark"] .notification-button:hover,
    :root[data-theme="dark"] .profile-button:hover,
    :root[data-theme="dark"] .icon-button:hover { background: #2a352e; color: var(--green-dark); }
    :root[data-theme="dark"] .user-avatar { background:#34383f; color:#d1d5db; }
    :root[data-theme="dark"] .active-work-avatar { background: #303d34; color: #c0d2c6; }
    :root[data-theme="dark"] .owner-avatar { background:#34383f; color:#d1d5db; }
    :root[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
    :root[data-theme="dark"] select,
    :root[data-theme="dark"] textarea,
    :root[data-theme="dark"] .search,
    :root[data-theme="dark"] .filter-control,
    :root[data-theme="dark"] .workflow-proof-select select,
    :root[data-theme="dark"] .project-time-week-add,
    :root[data-theme="dark"] .projected-hours-input,
    :root[data-theme="dark"] .projected-hours-add-row input { background-color: #13161b; border-color: #484c55; color: var(--ink); }
    :root[data-theme="dark"] :is(input, select, textarea):autofill,
    :root[data-theme="dark"] :is(input, select, textarea):-webkit-autofill,
    :root[data-theme="dark"] :is(input, select, textarea):-webkit-autofill:hover,
    :root[data-theme="dark"] :is(input, select, textarea):-webkit-autofill:focus,
    :root[data-theme="dark"] :is(input, select, textarea):-webkit-autofill:active { background-color: #13161b !important; color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; box-shadow: 0 0 0 1000px #13161b inset !important; caret-color: var(--ink); }
    :root[data-theme="dark"] .project-search-combo { border-color: #484c55; background: #13161b; }
    :root[data-theme="dark"] .project-search-combo:focus-within { border-color: #484c55; background: #13161b; outline: 1px solid #9bc9aa; outline-offset: 1px; }
    :root[data-theme="dark"] .project-search-combo .search,
    :root[data-theme="dark"] .project-search-combo select { border-color: transparent; background-color: transparent; color: var(--ink); }
    :root[data-theme="dark"] input.workspace-table-title:not([type="checkbox"]):not([type="radio"]),
    :root[data-theme="dark"] input.workspace-table-title:not([type="checkbox"]):not([type="radio"]):hover,
    :root[data-theme="dark"] input.workspace-table-title:not([type="checkbox"]):not([type="radio"]):focus { border-color: transparent; background-color: transparent; }
    :root[data-theme="dark"] .workspace-table-color-controls { background: #232730; }
    :root[data-theme="dark"] .saved-views-control { border-left-color: #484c55; color: #a0a6b0; }
    :root[data-theme="dark"] .workspace-table-cell { background-color: transparent; color: var(--relay-cell-ink,var(--ink)); }
    :root[data-theme="dark"] .workspace-table .workspace-table-letter-row th,
    :root[data-theme="dark"] .workspace-table-row-number { border-color: var(--line); background: #3a3e44; color: #eceef1; }
    :root[data-theme="dark"] .workspace-table .workspace-table-select-all-cell { background: #3a3e44; }
    :root[data-theme="dark"] .workspace-table-letter:hover { background: #4a5058; color: #fff; }
    :root[data-theme="dark"] .workspace-table-color-scope select,
    :root[data-theme="dark"] .workspace-table-font-controls select,
    :root[data-theme="dark"] .workspace-table-color-icon-button{ border-color: var(--line); background-color: var(--surface); color: var(--ink); }
    :root[data-theme="dark"] input::placeholder,
    :root[data-theme="dark"] textarea::placeholder,
    :root[data-theme="dark"] .project-time-week-input::placeholder { color: #abb1bb; }
    :root[data-theme="dark"] .field input[type="file"] { background: transparent; border: 0; }
    :root[data-theme="dark"] thead,
    :root[data-theme="dark"] .projected-hours-table tfoot th,
    :root[data-theme="dark"] .projected-hours-table tfoot td,
    :root[data-theme="dark"] .project-time-week-table tfoot th,
    :root[data-theme="dark"] .project-time-week-table tfoot td { background: #292d34; }
    :root[data-theme="dark"] th,
    :root[data-theme="dark"] td,
    :root[data-theme="dark"] .project-time-week-table th,
    :root[data-theme="dark"] .project-time-week-table td,
    :root[data-theme="dark"] .custom-team-members-table th,
    :root[data-theme="dark"] .custom-team-members-table td,
    :root[data-theme="dark"] .projected-hours-table th,
    :root[data-theme="dark"] .projected-hours-table td { border-color: var(--line); color: var(--ink); }
    :root[data-theme="dark"] th,
    :root[data-theme="dark"] .project-time-week-table thead th,
    :root[data-theme="dark"] .custom-team-members-table thead th,
    :root[data-theme="dark"] .projected-hours-table thead th { background: #292d34; color: #c6cad2; }
    :root[data-theme="dark"] .custom-team-members-table thead .sort-button { color: #c6cad2; }
    :root[data-theme="dark"] .team-people-table tbody th { background: transparent; }
    :root[data-theme="dark"] .project-time-week-table tbody th { background: #1b1e24; }
    :root[data-theme="dark"] .custom-team-members-table tbody th { background: var(--surface); }
    :root[data-theme="dark"] .projects-view .sort-button:hover,
    :root[data-theme="dark"] .projects-view th[aria-sort="ascending"] .sort-button,
    :root[data-theme="dark"] .projects-view th[aria-sort="descending"] .sort-button { color: #c6cad2; }
    :root[data-theme="dark"] .projected-hours-add-row { background: #171a20; }
    :root[data-theme="dark"] .project-time-week-input:focus { background: var(--surface); }
    :root[data-theme="dark"] .project-time-week-export-menu button,
    :root[data-theme="dark"] .project-menu-item,
    :root[data-theme="dark"] .route-link-menu-item,
    :root[data-theme="dark"] .proof-mention-option { color: var(--ink); }
    :root[data-theme="dark"] .feedback-type-badge { background: #294333; color: #bfe5ca; }
    :root[data-theme="dark"] .feedback-type-badge.bug { background: #482b2a; color: #ffc2b9; }
    :root[data-theme="dark"] .department-badge { background: #263d40 !important; border-color: #5bc4ca !important; color: #a9e5e8 !important; }
    :root[data-theme="dark"] .project-time-week-export-menu button:hover,
    :root[data-theme="dark"] .project-menu-item:hover,
    :root[data-theme="dark"] .route-link-menu-item:hover,
    :root[data-theme="dark"] .proof-mention-option:hover,
    :root[data-theme="dark"] .proof-mention-option[aria-selected="true"] { background: #2a302c; color: #c2e3cb; }
    :root[data-theme="dark"] .project-filter-popover button:hover,
    :root[data-theme="dark"] .project-filter-popover button[aria-checked="true"] { background:#273142; color:#d9e5fb; }
    :root[data-theme="dark"] .layout-toggle button,
    :root[data-theme="dark"] .route-link-menu summary,
    :root[data-theme="dark"] .project-menu summary,
    :root[data-theme="dark"] .proof-reply-attachment-button,
    :root[data-theme="dark"] .workflow-route-actions button,
    :root[data-theme="dark"] .workflow-stage-controls button,
    :root[data-theme="dark"] .outline-button,
    :root[data-theme="dark"] .secondary-button,
    :root[data-theme="dark"] .team-remove-button,
    :root[data-theme="dark"] .work-button,
    :root[data-theme="dark"] .project-time-week-add { background: var(--surface); border-color: #6b7280; color: var(--ink); }
    :root[data-theme="dark"] .projects-view .project-menu > summary { border-color: transparent; background: transparent; color: var(--green-dark); }
    :root[data-theme="dark"] .projects-view .project-menu > summary:hover,
    :root[data-theme="dark"] .projects-view .project-menu[open] > summary { border-color: transparent; background: var(--green-light); color: var(--green-dark); }
    :root[data-theme="dark"] .primary-button { background: #4168a3; color: #fff; }
    :root[data-theme="dark"] .primary-button:hover { background: #345584; }
    :root[data-theme="dark"] #projectLifecyclePanel .lifecycle-add-button { border-color: #6b7280; background: var(--surface); color: var(--ink); }
    :root[data-theme="dark"] #projectLifecyclePanel .lifecycle-add-button:hover { border-color: #789be0; background: #273142; color: #e3edff; }
    :root[data-theme="dark"] .outline-button:hover,
    :root[data-theme="dark"] .secondary-button:hover,
    :root[data-theme="dark"] .workflow-stage-controls button:hover:not(:disabled),
    :root[data-theme="dark"] .work-button:hover,
    :root[data-theme="dark"] .project-time-week-add:hover { background: #273142; border-color: #789be0; color: #e3edff; }
    :root[data-theme="dark"] .profile-password-entry:hover { border-top-color: var(--line); background: transparent; color: #a9dcb5; }
    :root[data-theme="dark"] .sign-out-button:hover { border-color: transparent; background: transparent; color: #ff8a80; }
    :root[data-theme="dark"] .project-time-week-remove:hover { background: #3a292b; color: #ffb4ad; }
    :root[data-theme="dark"] .project-time-week-add:focus-visible,
    :root[data-theme="dark"] .project-time-week-remove:focus-visible,
    :root[data-theme="dark"] .project-time-week-export summary:focus-visible,
    :root[data-theme="dark"] .project-time-week-export-menu button:focus-visible { outline-color: #9dbcf2; }
    :root[data-theme="dark"] .layout-toggle button[aria-pressed="true"] { background: #345584; color: #fff; }
    :root[data-theme="dark"] .work-button.active { border-color: #4168a3; background: #4168a3; color: #fff; }
    :root[data-theme="dark"] .work-button.active:hover { border-color: #345584; background: #345584; }
    :root[data-theme="dark"] .proof-stage { background: #0d0f13; }
    :root[data-theme="dark"] .proof-canvas-controls { background: #1a1d23; }
    :root[data-theme="dark"] .proof-comment.active,
    :root[data-theme="dark"] .workflow-route-step.is-current .workflow-route-card,
    :root[data-theme="dark"] .board-card.is-being-worked { background: #292d2b; }
    :root[data-theme="dark"] .proof-comment-number,
    :root[data-theme="dark"] .proof-comment-tag,
    :root[data-theme="dark"] .team-selected-member { background: #2c3036; color: #d1d8e0; }
    :root[data-theme="dark"] .proof-comment-attachment,
    :root[data-theme="dark"] .proof-reply-form button,
    :root[data-theme="dark"] .proof-comment-edit-actions button { background: #292d2b; color: #c1e2ca; }
    :root[data-theme="dark"] .activity-highlight { background-color: #191e25; color: var(--ink); }
    :root[data-theme="dark"] .project-time-week-export-menu { background-color: #252f28; color: var(--ink); }
    :root[data-theme="dark"] .activity-highlight .detail-label { font-size:13px; letter-spacing:.5px; }
    :root[data-theme="dark"] .project-time-week-table tbody tr:hover,
    :root[data-theme="dark"] tbody tr:hover { background: #252830; }
    :root[data-theme="dark"] .table-footer { color: var(--muted); }
    :root[data-theme="dark"] .project-time-week-table tbody tr:hover td,
    :root[data-theme="dark"] tbody tr:hover td { background: transparent; }
    :root[data-theme="dark"] .project-time-week-table tbody tr:hover th { background: transparent; }
    :root[data-theme="dark"] dialog::backdrop { background: rgb(0 0 0 / 68%); }
    :root[data-theme="dark"] :focus-visible { outline-color: #83aaf4; }
    :root[data-theme="dark"] .status.planning,
    :root[data-theme="dark"] .status-select.planning { background: #402c3b; background-color: #402c3b; color: #f3c7e4; }
    :root[data-theme="dark"] .status.in-progress,
    :root[data-theme="dark"] .status-select.in-progress { background: #253a58; background-color: #253a58; color: #c5dcff; }
    :root[data-theme="dark"] .status.in-development,
    :root[data-theme="dark"] .status-select.in-development { background: #352b50; background-color: #352b50; color: #d7c9ff; }
    :root[data-theme="dark"] .status.routing,
    :root[data-theme="dark"] .status-select.routing { background: #203c48; background-color: #203c48; color: #beeaf4; }
    :root[data-theme="dark"] .status.in-review,
    :root[data-theme="dark"] .status-select.in-review { background: #521b3f; background-color: #521b3f; color: #ffd2eb; }
    :root[data-theme="dark"] .status.on-hold,
    :root[data-theme="dark"] .status-select.on-hold { background: #463619; background-color: #463619; color: #ffde9a; }
    :root[data-theme="dark"] .status.completed,
    :root[data-theme="dark"] .status-select.completed { background: #30343a; background-color: #30343a; color: #d7dbe2; }
    :root[data-theme="dark"] .status.hot,
    :root[data-theme="dark"] .status-select.hot { background: #4a2e27; background-color: #4a2e27; color: #ffc4a6; }
    :root[data-theme="dark"] .nav-item:hover,
    :root[data-theme="dark"] .nav-item.active { background: #273142; color: #fff; }
    :root[data-theme="dark"] .nav-item { color: #fff; }
    :root[data-theme="dark"] .activity-feed-title { color: #fff; }
    :root[data-theme="dark"] .work-log-pagination button:hover:not(:disabled) { border-color: #64766a; background: #2a302c; }
    :root[data-theme="dark"] .projects-view thead th,
    :root[data-theme="dark"] .projects-view thead .sort-button,
    :root[data-theme="dark"] .projects-view th[aria-sort="ascending"] .sort-button,
    :root[data-theme="dark"] .projects-view th[aria-sort="descending"] .sort-button,
    :root[data-theme="dark"] .projects-view .sort-button:hover { color: #fff; }
    :root[data-theme="dark"] .team-work-member { color: #fff; }
    :root[data-theme="dark"] .active-work-avatar { background: #293448; color: #c7d9fa; }
    :root[data-theme="dark"] .notification-button:hover,
    :root[data-theme="dark"] .profile-button:hover,
    :root[data-theme="dark"] .icon-button:hover { background: #292d34; color: var(--green-dark); }
    :root[data-theme="dark"] .proof-tool-button[aria-pressed="true"] { border-color: #789be0; background: #273142; color: var(--green-dark); }
    :root[data-theme="dark"] .proof-comment-toggle,
    :root[data-theme="dark"] .proof-comment-toggle:hover,
    :root[data-theme="dark"] .proof-comment-toggle:focus-visible { border-color: #789be0 !important; background: #273142; color: #c7d9fa; }
    :root[data-theme="dark"] .proof-comment-toggle[aria-pressed="true"] { border-color: #22c55e !important; background: #22c55e; color: #102216; }
    :root[data-theme="dark"] .project-note-post.pinned,
    :root[data-theme="dark"] .board-card.is-being-worked,
    :root[data-theme="dark"] .workflow-route-step.is-current .workflow-route-card,
    :root[data-theme="dark"] .proof-notification-item.unread { border-color: #789be0; }
    :root[data-theme="dark"] .project-note-post.pinned,
    :root[data-theme="dark"] .board-card.is-being-worked,
    :root[data-theme="dark"] .workflow-route-step.is-current .workflow-route-card,
    :root[data-theme="dark"] .proof-notification-item.unread { background: #202938; }
    :root[data-theme="dark"] .workflow-route-actions button:first-child { border-color: #789be0; background: #273142; color: #c7d9fa; }
    :root[data-theme="dark"] .proof-comment-attachment,
    :root[data-theme="dark"] .proof-reply-form button,
    :root[data-theme="dark"] .proof-comment-edit-actions button,
    :root[data-theme="dark"] .team-selected-member,
    :root[data-theme="dark"] .proof-mention-option[aria-selected="true"] { color: #c7d9fa; }
    :root[data-theme="dark"] .proof-mention-option:hover,
    :root[data-theme="dark"] .proof-mention-option[aria-selected="true"] { background: #273142; }
    :root[data-theme="dark"] .project-notes-editor:focus { border-color: #789be0; outline-color: #344b72; }
    :root[data-theme="dark"] .proof-comment-attachment:hover,
    :root[data-theme="dark"] .proof-reply-attachment-button:hover,
    :root[data-theme="dark"] .activity-feed-marker { background: #83aaf4; }
    :root[data-theme="dark"] .lifecycle-calendar { background: #242932; border: 0; }
    :root[data-theme="dark"] .lifecycle-cal-header { background: #1b1e24; border-color: var(--line); }
    :root[data-theme="dark"] .lifecycle-cal-title { color: var(--ink); }
    :root[data-theme="dark"] .lifecycle-cal-nav button { background: #232730; border-color: #555b66; color: var(--ink); }
    :root[data-theme="dark"] .lifecycle-cal-nav button:hover,
    :root[data-theme="dark"] .lifecycle-cal-nav button:focus-visible { background: #303641; border-color: #7b8492; }
    :root[data-theme="dark"] .lifecycle-cal-weekdays div { background: #22262e; border-color: var(--line); color: #c1c6cf; }
    :root[data-theme="dark"] .lifecycle-cal-week { border-color: var(--line); }
    :root[data-theme="dark"] .lifecycle-cal-day { border-color: var(--line); color: var(--ink); }
    :root[data-theme="dark"] .lifecycle-cal-day.outside { background: #1d2026; color: #858c98; }
    :root[data-theme="dark"] .lifecycle-cal-day.today span { background: #4168a3; color: #fff; }
    :root[data-theme="dark"] .lifecycle-cal-bar:hover,
    :root[data-theme="dark"] .lifecycle-cal-bar:focus-visible { outline-color: #e6e9ef; }
    :root[data-theme="dark"] .lifecycle-cal-bar { background: #263142 !important; }
    :root[data-theme="dark"] #projectLifecyclePanel { background: #111318; }
    :root[data-theme="dark"] .lifecycle-page-heading h2 { color: var(--ink); }
    :root[data-theme="dark"] .lifecycle-page-heading p,
    :root[data-theme="dark"] .lifecycle-tasks-heading small{ color: var(--muted); }
    :root[data-theme="dark"] .lifecycle-cal-month > span { background: transparent; color: #c7d9fa; }
    :root[data-theme="dark"] .lifecycle-cal-bar { color: #f0f2f4; }
    :root[data-theme="dark"] .lifecycle-tasks-card { border-color: var(--line); background: #242932; }
    :root[data-theme="dark"] .lifecycle-tasks-heading h3,
    :root[data-theme="dark"] .lifecycle-table td,
    :root[data-theme="dark"] .lifecycle-task-assignee { color: var(--ink); }
    :root[data-theme="dark"] .lifecycle-tasks-heading h3 span { background: #29303a; color: var(--muted); }
    :root[data-theme="dark"] .lifecycle-table th { background: #1b1e24; border-color: var(--line); color: #c1c6cf; }
    :root[data-theme="dark"] .lifecycle-table td { border-color: #343a43; }
    :root[data-theme="dark"] .lifecycle-table tbody tr:hover { background: #222833; }
    :root[data-theme="dark"] .lifecycle-table tbody tr.lifecycle-inline-add-row,
    :root[data-theme="dark"] .lifecycle-table tbody tr.lifecycle-inline-add-row:hover,
    :root[data-theme="dark"] .lifecycle-table tbody tr.lifecycle-inline-add-row > td { background:#20242b; color:#e1e5eb; }
    :root[data-theme="dark"] .lifecycle-inline-add-row .lifecycle-cell-number { color:#c1c6cf; }
    :root[data-theme="dark"] .lifecycle-inline-add-row input:not([type="checkbox"]),
    :root[data-theme="dark"] .lifecycle-inline-add-row textarea { border-color:#505866; background:#171a20; color:#e4e8ee; color-scheme:dark; }
    :root[data-theme="dark"] .lifecycle-inline-add-row input::placeholder,
    :root[data-theme="dark"] .lifecycle-inline-add-row textarea::placeholder { color:#aeb8c6; opacity:1; }
    :root[data-theme="dark"] .lifecycle-completion-toggle,
    :root[data-theme="dark"] .lifecycle-completion-indicator { background: #26382e; color: #9bd7af; }
    :root[data-theme="dark"] .lifecycle-completion-toggle.is-complete,
    :root[data-theme="dark"] .lifecycle-completion-indicator.is-complete { border-color: #327a54; background: #327a54; color: #fff; }
    :root[data-theme="dark"] .lifecycle-cal-day.outside { background: transparent; color: #afb5be; }
    :root[data-theme="dark"] .project-note-post { background: #1b1e24; border: 1px solid #414650; }
    :root[data-theme="dark"] .project-note-post.pinned { background: #202a22; border-color: #55765d; }
    :root[data-theme="dark"] .project-note-post-meta { color: var(--muted); }
    :root[data-theme="dark"] .project-note-post-author,
    :root[data-theme="dark"] .project-note-post-copy { color: var(--ink); }
    :root[data-theme="dark"] .project-note-pin-button { color: #aab3bf; }
    :root[data-theme="dark"] .project-note-pin-button:hover,
    :root[data-theme="dark"] .project-note-pin-button[aria-pressed="true"] { border-color: #55765d; background: #293a2d; color: #b4e1c1; }
    :root[data-theme="dark"] .project-note-post-action { color: #b4e1c1; }
    :root[data-theme="dark"] .project-note-post-action.delete { color: #ff9b92; }
    :root[data-theme="dark"] .overview-pinned-note { background: #202a22; border-color: #55765d; }
    :root[data-theme="dark"] .overview-pinned-note-empty { background: var(--surface); border-color: var(--line); }
    :root[data-theme="dark"] .overview-pinned-note-icon { color: #b4e1c1; }
    :root[data-theme="dark"] .overview-notes-link { color: #b4e1c1; }
    :root[data-theme="dark"] .project-notes-formatting button,
    :root[data-theme="dark"] .project-notes-formatting select { background: #232730; border-color: #555b66; color: var(--ink); }
    :root[data-theme="dark"] .project-notes-formatting button:hover,
    :root[data-theme="dark"] .project-notes-formatting select:hover { background: #293a2d; border-color: #55765d; }
    :root[data-theme="dark"] .project-notes-editor { background: #13161b; border-color: #555b66; color: var(--ink); }
    :root[data-theme="dark"] .project-notes-editor:empty::before { color: #aab1bb; }
    :root[data-theme="dark"] .project-note-mention { background: #294432; color: #c1e6cb; }
    :root[data-theme="dark"] .project-notes-save-state { color: var(--muted); }
    :root[data-theme="dark"] .nav-item:hover,
    :root[data-theme="dark"] .nav-item.active { background: #273142; color: #c7d9fa; }
    :root[data-theme="dark"] .workflow-route-status.is-approved { color: #a9c7fb; }
    :root[data-theme="dark"] .proof-mention-option:hover,
    :root[data-theme="dark"] .proof-mention-option[aria-selected="true"] { background: #273142; color: #c7d9fa; }
    :root[data-theme="dark"] .proof-comment-attachment,
    :root[data-theme="dark"] .proof-reply-form button,
    :root[data-theme="dark"] .proof-comment-edit-actions button { background: #273142; color: #c7d9fa; }
    :root[data-theme="dark"] .proof-tool-button[aria-pressed="true"] { border-color: #789be0; background: #273142; color: #c7d9fa; }
    :root[data-theme="dark"] .proof-approval-button { border-color: #536a91; background: #273142; color: #c7d9fa; }
    :root[data-theme="dark"] .proof-approval-button:hover:not(:disabled) { border-color: #789be0; background: #344968; }
    :root[data-theme="dark"] .proof-approval-button.needs-changes:hover:not(:disabled) { border-color: #789be0; background: #344968; }
    :root[data-theme="dark"] .proof-approval-button[aria-pressed="true"] { border-color: #789be0; background: #344968; color: #d5e2fa; }
    :root[data-theme="dark"] .proof-approval-button.needs-changes[aria-pressed="true"] { border-color: #b98b50; background: #493a28; color: #f4cb7f; }
    :root[data-theme="dark"] .work-access-overview-banner { border-color: #715b2b; background: #332b1d; color: #f1d48a; }
    :root[data-theme="dark"] .work-access-overview-copy svg { color: #f1d48a; }
    :root[data-theme="dark"] .work-access-overview-item { border: 0; background: transparent; color: #f3e3b6; }
    :root[data-theme="dark"] .work-access-overview-item:hover { background: rgb(255 255 255 / 6%); }
    :root[data-theme="dark"] .work-access-overview-item > span:not(.work-access-overview-review) { color: #d2c394; }
    :root[data-theme="dark"] .work-access-overview-review { color: #a8dfb6; }
    :root[data-theme="dark"] .project-note-pin-button:hover,
    :root[data-theme="dark"] .project-note-pin-button[aria-pressed="true"] { border-color: #536a91; background: #273142; color: #c7d9fa; }
    :root[data-theme="dark"] .project-note-post-action,
    :root[data-theme="dark"] .overview-pinned-note-icon,
    :root[data-theme="dark"] .overview-notes-link { color: #c7d9fa; }
    :root[data-theme="dark"] .project-note-post.pinned,
    :root[data-theme="dark"] .overview-pinned-note { border-color: #536a91; background: #202938; }
    :root[data-theme="dark"] .project-note-mention { background: #273142; color: #c7d9fa; }
    :root[data-theme="dark"] .proof-notification-row { border-bottom-color: var(--line); }
    :root[data-theme="dark"] .proof-notification-item { border: 0; background: transparent; }
    :root[data-theme="dark"] .proof-notification-item.unread { padding: 0; border-radius: 0; background: transparent; color: #f1f4f8; }
    :root[data-theme="dark"] .proof-notification-item.unread strong { color: #f1f4f8; }
    :root[data-theme="dark"] .proof-notification-item.unread .proof-notification-copy > span { color: #e0e6ef; }
    :root[data-theme="dark"] .proof-notification-type-icon { background: #303a43; color: #d0d8e1; }
    :root[data-theme="dark"] .proof-notification-type-icon.is-review { background: #233a30; color: #a8dfb6; }
    :root[data-theme="dark"] .proof-notification-type-icon.is-tag { background: #2b3932; color: #b4d6bd; }
    :root[data-theme="dark"] .proof-notification-type-icon.is-mention { background: #352b50; color: #d7c9ff; }
    :root[data-theme="dark"] .proof-notification-type-icon.is-hot { background: #693728; color: #ffe0c9; }
    :root[data-theme="dark"] .proof-notification-type-icon.is-hours { background: #203c48; color: #beeaf4; }
    :root[data-theme="dark"] .proof-notification-type-icon.is-note { background: #273142; color: #c7d9fa; }
    :root[data-theme="dark"] .proof-notification-type-icon.is-access { background: #463619; color: #ffde9a; }
    :root[data-theme="dark"] .proof-notification-mark-read,
    :root[data-theme="dark"] .proof-notification-clear { border: 0; background: transparent; color: #c7d9fa; }
    :root[data-theme="dark"] .proof-notification-mark-read:hover,
    :root[data-theme="dark"] .proof-notification-clear:hover { background: transparent; color: #fff; }
    .activity-feed-item { padding: 9px 0; }
    .activity-feed-title { font-size: 14px; }
    @media (max-width: 820px) {
      .app { display: block; }
      .sidebar-footer { display: none; }
      .sidebar { position: sticky; z-index: 20; top: 0; height: auto; flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: hidden; }
      .sidebar .brand { flex: 0 0 auto; }
      .sidebar-nav { min-width: 0; flex: 1 1 auto; flex-direction: row; justify-content: flex-end; gap: 3px; }
      .sidebar-nav .nav-item { min-width: 0; flex: 1 1 0; justify-content: center; padding-right: 5px; padding-left: 5px; }
      .sidebar-nav-section { display: contents; }
      .nav-item { white-space: nowrap; }
    }
    @media (min-width: 600.01px) and (max-width: 820px) {
      .sidebar-nav .nav-item { justify-content: center; gap: 0; }
      .sidebar-nav .nav-item svg { flex: 0 0 17px; }
      .sidebar-nav .nav-item > span { font-size: 0; }
    }
    @media (max-width: 600px) {
      body { padding-bottom: calc(66px + env(safe-area-inset-bottom) + 100dvh - 100svh); }
      .sidebar { position: fixed; top: auto; right: 0; bottom: max(0px, calc(100dvh - 100svh)); left: 0; height: calc(62px + env(safe-area-inset-bottom)); justify-content: center; padding: 5px 10px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); border-bottom: 0; background: var(--surface); box-shadow: 0 -5px 18px rgb(25 44 34 / 8%); overflow: visible; }
      .sidebar .brand { display: none; }
      .sidebar-nav { display: flex; width: auto; min-width: 0; flex: 4 1 0%; gap: 2px; }
      .nav-item { min-width: 0; min-height: 48px; flex: 1 1 0 !important; flex-direction: column; justify-content: center; gap: 3px; padding: 4px 1px; border-radius: 9px; font-size: 13px; }
      .nav-item svg { width: 19px; height: 19px; }
      .sidebar-more-nav { position: relative; align-self: stretch; display: flex; min-width: 0; flex: 1 1 0%; align-items: center; }
      .sidebar-more-trigger { display: flex; width: 100%; min-width: 0; min-height: 48px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 1px; border: 0; border-radius: 8px; background: transparent; color: #55625a; font: inherit; cursor: pointer; }
      .sidebar-more-trigger:hover, .sidebar-more-nav.is-open > .sidebar-more-trigger { background: #e3eee6; color: var(--green-dark); }
      .sidebar-more-trigger span { font-size: 11px; font-weight: 600; }
      .sidebar-more-menu { position: absolute; z-index: 30; top: auto; right: 0; bottom: calc(100% + 8px); display: none; min-width: 160px; gap: 3px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 8px 24px rgb(20 35 27 / 16%); }
      .sidebar-more-nav.is-open .sidebar-more-menu { display: grid; }
      .sidebar-more-menu .nav-item { min-height: 40px; flex: none; flex-direction: row; justify-content: flex-start; gap: 9px; padding: 8px 10px; font-size: 13px; text-align: left; }
      .relay-nav-section { display: none; }
      .sidebar-more-menu .relay-menu-item { display: flex; }
      .main { padding-right: 16px; padding-left: 16px; }
      .main.proofing-active { height: calc(100dvh - 66px - env(safe-area-inset-bottom)); }
    }

    :root[data-theme="dark"] .project-pinned-icon,
    :root[data-theme="dark"] .board-card-name .project-pinned-icon { color: #c49a3a; }

    @media (min-width: 1600px) and (max-width: 1999px) {
      .app { zoom: 1.08; min-height: calc(100vh / 1.08); }
      .sidebar { height: calc(100vh / 1.08); height: calc(100dvh / 1.08); }
      .main { max-width: 1640px; padding-right: clamp(48px, 3vw, 72px); padding-left: clamp(48px, 3vw, 72px); }
      body > .project-menu-popover .project-menu-item { font-size: 13px; }
    }
    @media (min-width: 2000px) {
      .app { zoom: 1.14; min-height: calc(100vh / 1.14); }
      .sidebar { height: calc(100vh / 1.14); height: calc(100dvh / 1.14); }
      .main { max-width: 1840px; padding-right: clamp(56px, 3vw, 88px); padding-left: clamp(56px, 3vw, 88px); }
      body > .project-menu-popover .project-menu-item { font-size: 13.68px; }
    }

    /* Overview dashboard refinements */
    .personal-overview-summary { grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
    .personal-overview-stat { min-height:78px; align-items:flex-start; padding:13px 15px; border-radius:13px; gap:5px; }
    .personal-overview-stat small { color:var(--muted); font-size:10px; }
    .personal-overview-stat strong { display:flex; align-items:center; gap:9px; margin:0; font-size:22px; }
    .personal-overview-stat > span { color:var(--muted); font-size:10px; }
    .personal-overview-section-heading { margin-bottom:10px; }.personal-overview-section-heading h2,.personal-overview-panel h2 { font-size:14px; }
    .personal-overview-job-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
    .personal-overview-job-card { gap:9px; padding:13px; border-radius:13px; }
    .personal-overview-job-name { display:block; width:auto; margin:0; font-size:12px; }
    .personal-overview-job-footer { margin-top:0; padding-top:2px; border-top:0; }
    .personal-overview-job-grid.is-list { display:block; }.personal-overview-job-grid.is-list .personal-overview-job-card { display:grid; grid-template-columns:minmax(140px,1fr) 2fr 1fr 1fr; gap:12px; padding:11px 8px; border-radius:0; border-width:0 0 1px; }
    .personal-overview-job-grid.is-gantt { display:block; }
    .overview-gantt-scroll { overflow-x:auto; border:1px solid #e2e9e3; border-radius:11px; background:#fff; }
    .overview-gantt { width:100%; min-width:980px; min-height:400px; --project-col:320px; }
    .overview-gantt-head,.overview-gantt-row { display:grid; grid-template-columns:var(--project-col) minmax(0,1fr); column-gap:16px; }
    .overview-gantt-head { position:sticky; top:0; z-index:2; min-height:42px; background:#f1f5f2; border-bottom:1px solid #e2e9e3; color:var(--muted); font-size:12px; font-weight:650; }
    .overview-gantt-project-heading { position:sticky; left:0; z-index:3; padding:12px; background:inherit; }
    .overview-gantt-weeks { display:grid; grid-template-columns:repeat(var(--gantt-weeks),1fr); }
    .overview-gantt-weeks span { padding:12px 5px; border-left:1px solid #edf1ed; text-align:center; white-space:nowrap; }
    .overview-gantt-row { min-height:60px; border-bottom:1px solid #edf1ed; }
    .overview-gantt-row:last-child { border-bottom:0; }
    .overview-gantt-project { position:sticky; left:0; z-index:1; display:flex; min-width:0; flex-direction:column; justify-content:center; gap:4px; padding:7px 12px; border:0; background:var(--surface); color:#34453a; text-align:left; cursor:pointer; }
    .overview-gantt-project:hover b { color:#2e704b; }
    .overview-gantt-project b { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
    .overview-gantt-project small { color:var(--muted); font-size:12px; }
    .overview-gantt-track { position:relative; background-image:linear-gradient(to right,transparent calc(100% - 1px),#edf1ed calc(100% - 1px)); background-size:calc(100% / var(--gantt-weeks)) 100%; }
    .overview-gantt-bar { position:absolute; top:50%; height:18px; min-width:6px; transform:translateY(-50%); border-radius:8px; background:var(--gantt-job-color); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--gantt-job-color),#000 18%); }
    .overview-gantt-bar.is-complete { filter:saturate(.55) brightness(1.15); }
    .overview-gantt-unscheduled { position:absolute; top:50%; left:8px; transform:translateY(-50%); padding:4px 8px; border-radius:999px; background:#edf2ee; color:var(--muted); font-size:12px; }
    @media (max-width:640px) {
      .overview-gantt { --project-col:200px; }
    }
    .personal-overview-insights { grid-template-columns:minmax(0,2fr) minmax(190px,.78fr) minmax(190px,.78fr); gap:10px; }
    .overview-week-events { grid-template-columns:repeat(7,minmax(0,1fr)); grid-auto-rows:minmax(32px,auto); gap:3px; min-height:65px; }
    .overview-week-events button { align-self:stretch; min-height:32px; padding:5px 7px; border-left-width:3px; border-radius:0; }
    :root[data-theme="dark"] .personal-overview-stat,
    :root[data-theme="dark"] .personal-overview-panel,
    :root[data-theme="dark"] .overview-gantt-scroll,
    :root[data-theme="dark"] .personal-overview-job-card { border-color:#38434b; background:#1d242a; color:#e1e8e3; }
    :root[data-theme="dark"] .personal-overview-list-row { border-color:var(--line); background:var(--surface); color:var(--ink); }
    :root[data-theme="dark"] .personal-overview-list-header { color:var(--muted); }
    :root[data-theme="dark"] .overview-list-project small { color:var(--muted); }
    :root[data-theme="dark"] .overview-list-progress b { color:var(--ink); }
    :root[data-theme="dark"] .overview-list-owner > i { background:#2d3d33; color:#b7e3c1; }
    :root[data-theme="dark"] .overview-gantt-head { border-bottom-color:#38434b; background:#252e35; color:#bdc9c1; }
    :root[data-theme="dark"] .overview-gantt-weeks span { border-left-color:#343f46; }
    :root[data-theme="dark"] .overview-gantt-row { border-bottom-color:#343f46; }
    :root[data-theme="dark"] .overview-gantt-project { color:#e1e8e3; }
    :root[data-theme="dark"] .overview-gantt-project:hover b { color:#a8dfb6; }
    :root[data-theme="dark"] .overview-gantt-unscheduled { background:var(--blue-light); color:var(--blue); }
    :root[data-theme="dark"] .overview-gantt-project small,
    :root[data-theme="dark"] .personal-overview-stat small,
    :root[data-theme="dark"] .personal-overview-stat > span { color:#a2afa7; }
    :root[data-theme="dark"] .overview-gantt-track { background-image:linear-gradient(to right,transparent calc(100% - 1px),#343f46 calc(100% - 1px)); }
    :root[data-theme="dark"] .personal-overview-toolbar select,
    :root[data-theme="dark"] .personal-overview-member-filter > select,
    :root[data-theme="dark"] .personal-overview-sort select { border-color:#3b474f; background-color:#252e35; color:var(--ink); }
    :root[data-theme="dark"] .personal-overview-sort { color:var(--ink); }
    :root[data-theme="dark"] .personal-overview-layout-toggle { border-color:#3b474f; background:#252e35; }
    :root[data-theme="dark"] .personal-overview-layout-toggle button { color:var(--ink); }
    :root[data-theme="dark"] .personal-overview-layout-toggle button[aria-pressed="true"] { background:var(--blue-light); color:var(--blue); box-shadow:none; }
    :root[data-theme="dark"] .personal-overview-active-filter { border-color:#3b474f; background:#252e35; color:var(--ink); }
    :root[data-theme="dark"] .personal-overview-active-filter[aria-pressed="true"] { border-color:#42654d; background:#23382a; color:var(--ink); }
    :root[data-theme="dark"] .project-refresh-toast { border-color:color-mix(in srgb, var(--blue) 38%, var(--surface)); background:var(--blue-light); color:var(--blue); box-shadow:0 8px 28px rgba(0,0,0,.35); }
    :root[data-theme="dark"] .project-refresh-toast.is-error { border-color:#61413e; color:#ffaaa2; }
    :root[data-theme="dark"] .overview-week-days { border-bottom-color:#38434b; }
    :root[data-theme="dark"] .overview-week-days div { border-right-color:#343f46; }
    :root[data-theme="dark"] .overview-week-days small { color:#9eaaa3; }
    :root[data-theme="dark"] .overview-week-days b { color:#dce5df; }
    :root[data-theme="dark"] .overview-my-tasks-heading { border-top-color:#38434b; }
    :root[data-theme="dark"] .overview-my-tasks-heading > span,
    :root[data-theme="dark"] .overview-my-task small,
    :root[data-theme="dark"] .overview-my-task time { color:#a2aeba; }
    :root[data-theme="dark"] .overview-my-task { border-bottom-color:#343f46; color:#e1e8ef; }
    :root[data-theme="dark"] .overview-week-events button { border-left-color:#78ad89; background:#27332c; color:#e1e8e3; }
    :root[data-theme="dark"] .overview-week-events button:hover,
    :root[data-theme="dark"] .overview-week-events button:focus-visible { background:#304137; outline-color:#8dc49b; }
    :root[data-theme="dark"] .overview-week-events button small { color:#aab7af; }
    :root[data-theme="dark"] .personal-overview-text-action,
    :root[data-theme="dark"] .overview-attention-item em{ color:#a8dfb6; }
    :root[data-theme="dark"] .personal-overview-job-number,
    :root[data-theme="dark"] .personal-overview-job-description,
    :root[data-theme="dark"] .personal-overview-due{ color:#aab7af; }
    :root[data-theme="dark"] .personal-overview-job-name,
    :root[data-theme="dark"] .personal-overview-progress-copy,
    :root[data-theme="dark"] .personal-overview-owner b,
    :root[data-theme="dark"] .overview-workload-person b,
    :root[data-theme="dark"] .overview-attention-item b { color:#e1e8e3; }
    :root[data-theme="dark"] .personal-overview-job-name:hover { color:#a8dfb6; }
    :root[data-theme="dark"] .personal-overview-owner small,
    :root[data-theme="dark"] .overview-workload-person small,
    :root[data-theme="dark"] .overview-attention-item small,
    :root[data-theme="dark"] .overview-workload-person em { color:#aab7af; }
    :root[data-theme="dark"] .personal-overview-owner i,
    :root[data-theme="dark"] .overview-workload-person i { background:#2d3d33; color:#b7e3c1; }
    :root[data-theme="dark"] .overview-health { background:#23382a; color:#a8dfb6; }
    :root[data-theme="dark"] .overview-health.at-risk { background:#40351f; color:#efc36c; }
    :root[data-theme="dark"] .overview-health.blocked { background:#422b29; color:#ee8a80; }
    :root[data-theme="dark"] .personal-overview-attention-count { background:#40351f; color:#efc36c; }
    :root[data-theme="dark"] .overview-attention-item { border-bottom-color:#38434b; }
    :root[data-theme="dark"] .personal-overview-progress-rail,
    :root[data-theme="dark"] .overview-workload-rail { background:#39434a; }
    .overview-week-day-events button b { font-size:8px; }
    .overview-week-day-events button small { font-size:7px; }
    @media (max-width: 900px) { .personal-overview-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }.personal-overview-insights { grid-template-columns:1fr 1fr; }.personal-overview-week { grid-column:1/-1; }.personal-overview-job-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
    @media (max-width: 640px) { .personal-overview-summary { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.personal-overview-job-grid { grid-template-columns:1fr; }.personal-overview-insights { grid-template-columns:1fr; }.personal-overview-week { grid-column:auto; }.personal-overview-job-grid.is-list .personal-overview-job-card { grid-template-columns:1fr 1fr; }.personal-overview-job-grid.is-list .personal-overview-job-name { grid-column:1/-1; grid-row:2; } }
    #personalOverviewView { font-size:14px; }
    .personal-overview-stat small { font-size:12px; }
    .personal-overview-stat { gap:14px; padding:20px 22px; }
    .personal-overview-stat small { display:flex; align-items:center; justify-content:flex-start; gap:16px; text-align:left; }
    .personal-overview-stat strong { font-size:26px; }
    .personal-overview-stat > span { font-size:12px; }
    .personal-overview-section-heading h2,.personal-overview-panel h2 { font-size:16px; }
    .personal-overview-toolbar select,.personal-overview-active-filter,.personal-overview-layout-toggle button,.personal-overview-sort { font-size:12px; }
    .personal-overview-job-number,.overview-health { font-size:12px; }
    .personal-overview-job-name { font-size:14px; }
    .personal-overview-job-name { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; }
    .personal-overview-job-description { font-size:12px; }
    .personal-overview-progress-copy { font-size:12px; }
    .personal-overview-owner b,.personal-overview-due { font-size:12px; }
    .personal-overview-owner small,.overview-week-days small,.overview-week-events button small,.overview-attention-item small,.overview-workload-person small { font-size:12px; }
    .overview-week-days b { font-size:12px; }
    .overview-week-events button b,.overview-attention-item b,.overview-workload-person b { font-size:12px; }
    .overview-attention-item em,.overview-workload-person em,.personal-overview-text-action,.personal-overview-attention-count { font-size:12px; }
    .personal-overview-team .personal-overview-panel-heading h2 { font-size:18px; }
    .personal-overview-team .personal-overview-panel-heading p { font-size:13px; }
    .personal-overview-team .overview-workload-person { padding:10px 0; }
    .personal-overview-team .overview-workload-person b { font-size:14px; }
    .personal-overview-team .overview-workload-person small,
    .personal-overview-team .overview-workload-person em { font-size:13px; }
    .personal-overview-attention .personal-overview-panel-heading h2 { font-size:18px; }
    .personal-overview-attention .overview-attention-item b { font-size:14px; }
    .personal-overview-attention .overview-attention-item small,
    .personal-overview-attention .overview-attention-item em { font-size:13px; }
    .personal-overview-list-header,.personal-overview-list-row { display:grid; grid-template-columns:minmax(180px,1.6fr) minmax(110px,.8fr) minmax(90px,.7fr) minmax(150px,1.2fr) minmax(130px,1fr) minmax(90px,.7fr); align-items:center; gap:12px; }
    .personal-overview-job-grid.is-list { min-height:400px; }
    .personal-overview-list-header { padding:8px 13px; color:var(--muted); font-size:12px; font-weight:650; }
    .personal-overview-list-header[hidden] { display:none; }
    .personal-overview-list-row { min-height:62px; padding:9px 13px; border:1px solid #e2e9e3; border-bottom:0; background:#fff; color:#536158; font-size:12px; }
    .personal-overview-list-row:first-child { border-radius:11px 11px 0 0; }.personal-overview-list-row:last-child { border-bottom:1px solid #e2e9e3; border-radius:0 0 11px 11px; }
    .overview-list-project { display:flex; min-width:0; flex-direction:column; gap:4px; }.overview-list-project small { color:var(--muted); font-size:12px; }.overview-list-project .personal-overview-job-name { font-size:13px; }
    .overview-list-progress { display:flex; min-width:0; flex-direction:column; gap:5px; }.overview-list-progress b { color:#5e6c63; font-size:12px; font-weight:500; }.overview-list-progress .personal-overview-progress-rail { width:100%; }
    .overview-list-owner { display:flex; min-width:0; align-items:center; gap:7px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.overview-list-owner > i { display:grid; width:22px; height:22px; flex:0 0 22px; place-items:center; border-radius:50%; background:#e8f1eb; color:#416c52; font-size:12px; font-style:normal; font-weight:700; }
    .overview-week-day-events button b,.overview-week-day-events button small { font-size:12px; }
    .overview-no-events { font-size:12px; }
    @media (max-width: 700px) { .personal-overview-list-header,.personal-overview-list-row { grid-template-columns:minmax(125px,1.2fr) minmax(90px,.8fr) minmax(110px,1fr); gap:8px; }.personal-overview-list-header span:nth-child(3),.personal-overview-list-header span:nth-child(5),.personal-overview-list-header span:nth-child(6),.overview-list-health,.overview-list-owner,.personal-overview-list-row > .personal-overview-due { display:none; } }

    /* Lightweight, opt-out micro-interactions. */
    .nav-item { transition: color .14s ease, background-color .14s ease; }
    .personal-overview-layout-toggle button { transition: color .14s ease, background-color .14s ease; }
    .personal-overview-job-card { transition: transform .2s cubic-bezier(.2,.75,.25,1), box-shadow .2s ease; }
    .personal-overview-job-card:hover, .personal-overview-job-card:focus-within { position:relative; z-index:1; transform:translateY(-4px) scale(1.015); box-shadow:var(--shadow); }
    .overview-gantt-bar { transition: filter .14s ease; }
    .overview-gantt-bar:hover { filter: brightness(1.12); }
    .lifecycle-completion-toggle span { display:inline-block; transition: transform .16s ease; }
    .lifecycle-completion-toggle.is-complete span { transform: scale(1.12); }
    .project-refresh-toast:not([hidden]) { animation: cadence-toast-enter .18s ease-out both; }
    @keyframes cadence-toast-enter { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
    :root.motion-disabled *, :root.motion-disabled *::before, :root.motion-disabled *::after { animation:none !important; scroll-behavior:auto !important; transition:none !important; }
    :root.motion-disabled .nav-item:hover svg,
    :root.motion-disabled .nav-item:hover span,
    :root.motion-disabled .nav-item:focus-visible svg,
    :root.motion-disabled .nav-item:focus-visible span,
    :root.motion-disabled .primary-button:hover,
    :root.motion-disabled .detail-work-button:hover,
    :root.motion-disabled .personal-overview-job-card:hover,
    :root.motion-disabled .personal-overview-job-card:focus-within { transform:none; }
    :root.motion-disabled .personal-overview-job-card:hover,
    :root.motion-disabled .personal-overview-job-card:focus-within { box-shadow:none; }
    :root.motion-disabled .overview-gantt-bar:hover { filter:none; }
    :root.motion-disabled .lifecycle-completion-toggle.is-complete span { transform:none; }

    /* Workflow route setup: document handoff, ordered stages, and reviewer summary. */
    .project-workflow { grid-column:1/-1; width:100%; max-width:none; box-sizing:border-box; padding:0 0 22px; color:var(--ink); }
    .workflow-columns { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,.36fr); align-items:stretch; gap:18px; }
    .workflow-primary-column { display:grid; min-width:0; grid-template-rows:auto auto minmax(0,1fr); gap:14px; }
    .workflow-topbar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; margin:0; }
    .workflow-topbar:not(:has(.workflow-proof-select)) { grid-template-columns:minmax(0,1fr); gap:0; }
    .workflow-primary-column:has(.workflow-topbar) > .workflow-topbar { border-bottom:0; padding-bottom:14px; }
    .workflow-primary-column:has(.workflow-topbar) > .workflow-stages-card { border-radius:16px; background:var(--canvas); }
    .workflow-file-card,.workflow-stages-card,.workflow-handoff-card,.workflow-rules-card,.workflow-review-message { border:0; border-radius:12px; background:#fff; }
    .workflow-file-card { display:flex; min-width:0; align-items:center; gap:13px; padding:13px 15px; }
    .workflow-file-icon { display:grid; width:42px; height:46px; flex:0 0 42px; place-items:center; border-radius:8px; background:#fbefed; color:#ba6155; font-size:12px; font-weight:750; }
    .workflow-file-copy { display:grid; min-width:0; gap:5px; }
    .workflow-file-copy strong { overflow:hidden; color:#344139; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
    .workflow-file-copy span { color:var(--muted); font-size:12px; }
    .workflow-proof-select { min-width:190px; max-width:270px; align-content:center; margin:0; }
    .workflow-proof-select select { width:100%; }
    .workflow-stages-card { min-width:0; padding:22px 0; }
    .workflow-section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin:0 0 16px; }
    .workflow-section-heading h3 { margin:0; color:#354139; font-size:18px; font-weight:700; }
    .workflow-handoff-card h3 { margin:0; color:#354139; font-size:15px; font-weight:700; }
    .workflow-section-heading p { margin:5px 0 0; color:var(--muted); font-size:12px; }
    .workflow-active-department { display:inline-flex; align-items:center; gap:7px; margin-top:10px; padding:5px 9px; border:1px solid #b8d8c0; border-radius:999px; background:#edf7ef; color:#286c3d; font-size:11px; font-weight:700; }
    .workflow-active-department > span { width:7px; height:7px; flex:none; border-radius:50%; background:#2d8a4a; box-shadow:0 0 0 3px #d8eddd; }
    .workflow-active-department-control { display:flex; flex-wrap:wrap; align-items:end; gap:8px; margin-top:10px; }
    .workflow-active-department-control label { display:grid; gap:4px; color:var(--muted); font-size:11px; font-weight:650; }
    .workflow-active-department-control select { min-width:180px; min-height:34px; padding:0 9px; border:1px solid var(--line); border-radius:6px; background:var(--surface); color:var(--text); font:inherit; font-size:12px; }
    .workflow-edit-actions { display:flex; flex:0 0 auto; gap:8px; }
    .workflow-edit-actions button[data-project-flow-edit],.workflow-edit-actions button[data-project-flow-edit-workflow] { display:inline-flex; flex:0 0 40px; align-items:center; justify-content:center; width:40px; height:40px; padding:0; border:0; border-radius:8px; background:transparent; box-shadow:none; }
    .workflow-edit-actions button[data-project-flow-edit] svg,.workflow-edit-actions button[data-project-flow-edit-workflow] svg { display:block; width:24px; height:24px; }
    .workflow-edit-actions button[data-project-flow-edit]:hover,.workflow-edit-actions button[data-project-flow-edit-workflow]:hover { background:var(--surface-muted,#f1f4f2); }
    .workflow-edit-actions button[data-project-flow-edit]:focus-visible,.workflow-edit-actions button[data-project-flow-edit-workflow]:focus-visible { outline:2px solid var(--primary,#287a50); outline-offset:2px; }
    .workflow-route { gap:0; }
    .workflow-route-step { grid-template-columns:30px minmax(0,1fr); gap:9px; padding-bottom:12px; }
    .workflow-route-step:not(:last-child)::before { top:31px; left:14px; width:1px; background:#dfe8e2; }
    .workflow-route-avatar { width:26px; height:26px; border:0; background:#eaf2ec; color:#427357; font-size:12px; }
    .workflow-route-card { gap:12px; padding:14px 15px; border:0; border-radius:11px; background:var(--canvas); }
    .workflow-route-step:not(.is-current) .workflow-route-card { border:1px solid #d3ddd6; }
    .workflow-route-step.is-current .workflow-route-card { background:#1f5b3b; }
    .workflow-route-step.is-current .workflow-route-stage-label,
    .workflow-route-step.is-current .workflow-route-person { color:#fff; }
    .workflow-route-step.is-current .workflow-route-status { color:#d2e5d8; }
    .workflow-route-step.is-current .workflow-route-avatar { border-color:#1f5b3b; background:#1f5b3b; color:#fff; }
    .workflow-route-step.is-pushed .workflow-route-avatar { border-color:#d8e3da; background:#f2f6f3; color:#52665a; }
    .workflow-route-step.is-current .workflow-route-avatar { border-color:#1f5b3b; background:#1f5b3b; color:#fff; }
    .workflow-active-department { border:1px solid #1f5b3b; background:#1f5b3b; color:#fff; }
    .workflow-active-department > span { background:#a8d5b8; box-shadow:0 0 0 3px #39744f; }
    .workflow-stage-heading { justify-content:space-between; }
    .workflow-stage-heading-actions { display:flex; flex:0 0 auto; align-items:center; gap:8px; }
    .workflow-current-crown { display:grid; width:26px; height:26px; flex:0 0 26px; place-items:center; border:1px solid #d8c58e; border-radius:7px; background:#fff9e8; color:#a77919; }
    .workflow-current-crown svg { display:block; width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
    .workflow-route-stage-label { color:#354139; font-size:13px; }
    .workflow-stage-members { gap:8px; grid-template-columns:repeat(auto-fit,minmax(175px,1fr)); }
    .workflow-stage-member { align-items:center; justify-content:flex-start; gap:10px; padding:0; border:0; }
    .workflow-stage-member-info { gap:8px; }
    .workflow-member-avatar { width:28px; height:28px; flex-basis:28px; border:0; background:#31583e; color:#fff; }
    .workflow-route-person { color:#354139; font-size:12px; font-weight:650; }
    .workflow-route-status { font-size:12px; }
    .workflow-stage-member-controls { flex-wrap:wrap; gap:6px; margin-left:0; }
    .workflow-optional-control { font-size:12px; }
    .workflow-optional-badge { background:#e9eeeb; }
    .workflow-stage-controls button { width:25px; height:25px; border-color:transparent; background:transparent; }
    .workflow-decision-summary { padding:10px 0 0 39px; color:var(--muted); font-size:12px; }
    .workflow-add-stage { display:flex; align-items:center; justify-content:center; gap:8px; margin:14px auto 0; min-height:38px; }
    .workflow-add-stage svg { width:16px; height:16px; }
    .workflow-sidebar { display:grid; min-width:0; grid-template-rows:auto minmax(0,1fr); gap:14px; }
    .workflow-review-message { flex-direction:column; }
    .workflow-message-title { display:flex; align-items:center; gap:9px; }
    .workflow-handoff-card,.workflow-rules-card { padding:19px; }
    .workflow-sidebar:has(.workflow-rules-card) { gap:6px; }
    .workflow-sidebar:has(.workflow-rules-card) .workflow-rules-card { padding-top:8px; }
    .workflow-handoff-card h3 { margin-bottom:13px; }
    .workflow-preview-frame { display:grid; height:176px; place-items:center; overflow:hidden; border-radius:8px; background:#edf1ee; }
    .workflow-proof-thumbnail { width:auto; max-width:100%; height:auto; max-height:148px; border:0; border-radius:2px; box-shadow:0 2px 8px rgb(20 35 26 / 13%); }
    .workflow-proof-thumbnail-fallback { display:grid; width:80px; height:105px; place-items:center; background:#fff; }
    .workflow-route-stats { display:flex; justify-content:space-between; gap:8px; padding:13px 0; border-bottom:1px solid #e5ebe6; color:var(--green); font-size:12px; font-weight:650; }
    .workflow-first-review { display:grid; gap:9px; padding:14px 0 12px; }
    .workflow-eyebrow { color:var(--muted); font-size:12px; font-weight:700; letter-spacing:.04em; }
    .workflow-first-reviewer { display:flex; align-items:center; gap:8px; color:#39453e; font-size:12px; font-weight:650; }
    .workflow-review-button { width:100%; justify-content:center; }
    .workflow-side-muted { margin:10px 0 0; color:var(--muted); font-size:12px; line-height:1.45; }
    .workflow-rules-card h4 { display:flex; align-items:center; gap:8px; margin:0 0 12px; color:#3b4a41; font-size:13px; }
    .workflow-rules-card h4 span { color:#3a7854; }
    .workflow-rules-card p { margin:0 0 9px; color:var(--muted); font-size:12px; line-height:1.55; }
    .workflow-rules-card p:last-child { margin-bottom:0; }
    .workflow-review-message { display:flex; align-items:flex-start; gap:11px; margin:0; padding:14px 16px; }
    .workflow-primary-column:has(.workflow-review-message) > .workflow-review-message { padding:14px 0; border-radius:0; background:transparent; }
    .workflow-message-icon { color:#43775a; font-size:20px; line-height:1; }
    .workflow-review-message strong { color:#3b4840; font-size:12px; }
    .workflow-review-message p { margin:6px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
    :root[data-theme="dark"] .workflow-file-card,
    :root[data-theme="dark"] .workflow-stages-card,
    :root[data-theme="dark"] .workflow-handoff-card,
    :root[data-theme="dark"] .workflow-rules-card,
    :root[data-theme="dark"] .workflow-review-message { background:#1b1f25; }
    :root[data-theme="dark"] .workflow-primary-column:has(.workflow-topbar) > .workflow-stages-card { background:#242932; }
    :root[data-theme="dark"] .workflow-primary-column:has(.workflow-review-message) > .workflow-review-message { background:transparent; }
    :root[data-theme="dark"] .workflow-file-copy strong,
    :root[data-theme="dark"] .workflow-section-heading h3,
    :root[data-theme="dark"] .workflow-handoff-card h3,
    :root[data-theme="dark"] .workflow-route-stage-label,
    :root[data-theme="dark"] .workflow-route-person,
    :root[data-theme="dark"] .workflow-first-reviewer,
    :root[data-theme="dark"] .workflow-rules-card h4,
    :root[data-theme="dark"] .workflow-review-message strong { color:#e0e5e2; }
    :root[data-theme="dark"] .workflow-file-copy span,
    :root[data-theme="dark"] .workflow-section-heading p,
    :root[data-theme="dark"] .workflow-route-status,
    :root[data-theme="dark"] .workflow-decision-summary,
    :root[data-theme="dark"] .workflow-route-stats,
    :root[data-theme="dark"] .workflow-side-muted,
    :root[data-theme="dark"] .workflow-rules-card p,
    :root[data-theme="dark"] .workflow-review-message p { color:#a0aaa3; }
    :root[data-theme="dark"] .workflow-active-department { border:1px solid #3d5284; background:#222b3f; color:#b8c9ff; }
    :root[data-theme="dark"] .workflow-active-department > span { background:#8ea8ff; box-shadow:0 0 0 3px #313d59; }
    :root[data-theme="dark"] .workflow-active-department-control select { border-color:#414852; background:#20252b; color:#e2e7ed; }
    :root[data-theme="dark"] .workflow-route-card,
    :root[data-theme="dark"] .workflow-route-step.is-current .workflow-route-card { border-color:#343d38; background:#222823; }
    :root[data-theme="dark"] .workflow-route-card { border-color:#343a43; background:#242932; }
    :root[data-theme="dark"] .workflow-route-step:not(.is-current) .workflow-route-card { border-color:#414852; }
    :root[data-theme="dark"] .workflow-route-step.is-current .workflow-route-card { border-color:#526ba8; background:#20273a; }
    :root[data-theme="dark"] .workflow-route-step.is-current .workflow-route-avatar { border-color:#718bd0; background:#435a95; color:#f4f6ff; }
    :root[data-theme="dark"] .workflow-route-step.is-pushed .workflow-route-avatar { border-color:#454b52; background:#2c3036; color:#d4d8df; }
    :root[data-theme="dark"] .workflow-route-step.is-current .workflow-route-avatar { border-color:#718bd0; background:#435a95; color:#f4f6ff; }
    :root[data-theme="dark"] .workflow-route-avatar,
    :root[data-theme="dark"] .workflow-member-avatar { background:#303641; color:#c4cde0; }
    :root[data-theme="dark"] .workflow-route-step:not(:last-child)::before { background:#424852; }
    :root[data-theme="dark"] .workflow-preview-frame { background:#272c34; }
    :root[data-theme="dark"] .workflow-route-stats { border-color:#343a42; color:var(--green); }
    :root[data-theme="dark"] .workflow-optional-badge { background:#30363d; color:#c2cbc5; }
    @media (max-width:950px) { .project-workflow { padding:0 0 16px; }.workflow-columns { grid-template-columns:minmax(0,1fr) 245px; gap:12px; }.workflow-stages-card { padding:17px; } }
    @media (max-width:760px) { .workflow-columns { grid-template-columns:1fr; }.workflow-primary-column { grid-template-rows:auto auto auto; }.workflow-sidebar { grid-template-rows:auto auto; } }
    @media (max-width:560px) { .workflow-topbar { grid-template-columns:1fr; }.workflow-proof-select { max-width:none; }.workflow-file-card { flex-wrap:wrap; }.workflow-sidebar { grid-template-columns:1fr; }.workflow-handoff-card { grid-row:auto; }.workflow-section-heading { flex-direction:column; }.workflow-edit-actions { width:100%; }.workflow-edit-actions button { flex:1; }.workflow-stage-members { grid-template-columns:1fr; }.workflow-stage-member { align-items:flex-start; flex-direction:column; }.workflow-decision-summary { padding-left:0; }.workflow-active-department-control { align-items:stretch; }.workflow-active-department-control label,.workflow-active-department-control select { width:100%; box-sizing:border-box; } }

    /* Budget view dark-mode contrast */
    :root[data-theme="dark"] #projectBudgetPanel { background:#11151a; color:#e4e9e6; }
    :root[data-theme="dark"] #projectBudgetPanel .budget-page-heading h2,
    :root[data-theme="dark"] #projectBudgetPanel .budget-summary-card > strong,
    :root[data-theme="dark"] #projectBudgetPanel .budget-currency strong,
    :root[data-theme="dark"] #projectBudgetPanel .projected-hours-title,
    :root[data-theme="dark"] #projectBudgetPanel .projected-hours-table tfoot th,
    :root[data-theme="dark"] #projectBudgetPanel .projected-hours-table tfoot td { color:#e4e9e6; }
    :root[data-theme="dark"] #projectBudgetPanel .budget-page-heading p,
    :root[data-theme="dark"] #projectBudgetPanel .budget-currency,
    :root[data-theme="dark"] #projectBudgetPanel .budget-summary-card > span,
    :root[data-theme="dark"] #projectBudgetPanel .budget-summary-card > small,
    :root[data-theme="dark"] #projectBudgetPanel .budget-chart-date,
    :root[data-theme="dark"] #projectBudgetPanel .projected-hours-subtitle,
    :root[data-theme="dark"] #projectBudgetPanel .projected-hours-table th,
    :root[data-theme="dark"] #projectBudgetPanel .rate-mask { color:#b4beb8; }
    :root[data-theme="dark"] #projectBudgetPanel .budget-currency,
    :root[data-theme="dark"] #projectBudgetPanel .budget-summary-cards,
    :root[data-theme="dark"] #projectBudgetPanel .budget-chart,
    :root[data-theme="dark"] #projectBudgetPanel .projected-hours,
    :root[data-theme="dark"] #projectBudgetPanel .projected-hours-card { background:#242932; }
    :root[data-theme="dark"] #projectBudgetPanel .budget-summary-card { border-color:#343a43; }
    :root[data-theme="dark"] #projectBudgetPanel .budget-summary-remaining { background:#292f39; }
    :root[data-theme="dark"] #projectBudgetPanel .budget-summary-remaining > span,
    :root[data-theme="dark"] #projectBudgetPanel .budget-summary-remaining > strong { color:#c4cde0; }
    :root[data-theme="dark"] #projectBudgetPanel .budget-chart-note { background:#252a32; color:#c1c8d2; }
    :root[data-theme="dark"] #projectBudgetPanel .budget-chart-note strong { color:#c4cde0; }
    :root[data-theme="dark"] #projectBudgetPanel .budget-chart-note small { color:#aab5ae; }
    :root[data-theme="dark"] #projectBudgetPanel .projected-hours-count { background:#34383f; color:#d1d5db; }
    :root[data-theme="dark"] #projectBudgetPanel .projected-hours-table th { background:#252a32; }
    :root[data-theme="dark"] #projectBudgetPanel .projected-hours-table td { color:#e0e6e2; }
    :root[data-theme="dark"] #projectBudgetPanel .projected-hours-table tfoot th,
    :root[data-theme="dark"] #projectBudgetPanel .projected-hours-table tfoot td { background:#252a32; }
    :root[data-theme="dark"] #projectBudgetPanel .projected-hours-add-row { background:#20242b; }
    :root[data-theme="dark"] #projectBudgetPanel .department-badge { border-color:#454d5b !important; background:#303641 !important; color:#c4cde0 !important; }

    /* Shared typography and neutral strokes across project-facing pages */
    :is(.project-time-page-heading h2,.budget-page-heading h2,.lifecycle-page-heading h2) { color:var(--ink); font-size:21px; }
    :is(.project-time-page-heading p,.budget-page-heading p,.lifecycle-page-heading p) { color:var(--muted); font-size:13px; }
    :is(.time-work-log-table,.project-time-week-table,.lifecycle-table,.team-people-table,.projected-hours-table) { font-size:13px; }
    :is(.time-work-log-table,.project-time-week-table,.lifecycle-table,.team-people-table,.projected-hours-table) :is(th,td) { border-color:var(--line); color:var(--ink); font-size:13px; }
    :is(.time-work-log-table,.project-time-week-table,.lifecycle-table,.team-people-table,.projected-hours-table) thead th { color:var(--muted); font-size:12px; }
    :is(.time-work-log-table,.project-time-week-table,.lifecycle-table,.team-people-table,.projected-hours-table) :is(input,button,select) { font-size:13px; }
    :is(.project-time-page,.budget-page-heading,#projectBudgetPanel,.lifecycle-page-heading,#projectLifecyclePanel,#teamView) svg[fill="none"] {
      stroke:currentColor;
      stroke-linecap:round;
      stroke-linejoin:round;
      stroke-width:1.8;
    }
    :is(.project-time-page,.budget-page-heading,#projectBudgetPanel,.lifecycle-page-heading,#projectLifecyclePanel,#teamView) :is(.time-work-log-table,.project-time-week-table,.lifecycle-table,.team-people-table,.projected-hours-table) :is(th,td) {
      border-color:var(--line);
    }
    :root[data-theme="dark"] :is(#projectTimePanel .project-time-page-heading h2,#projectBudgetPanel .budget-page-heading h2,#projectLifecyclePanel .lifecycle-page-heading h2) { color:var(--ink); }
    :root[data-theme="dark"] :is(#projectTimePanel .project-time-page-heading p,#projectBudgetPanel .budget-page-heading p,#projectLifecyclePanel .lifecycle-page-heading p) { color:var(--muted); }
    :root[data-theme="dark"] :is(.time-work-log-table,.project-time-week-table,.lifecycle-table,.team-people-table,.projected-hours-table) :is(th,td) { border-color:var(--line); color:var(--ink); }
    :root[data-theme="dark"] :is(.time-work-log-table,.project-time-week-table,.lifecycle-table,.team-people-table,.projected-hours-table) thead th { color:var(--muted); }
    :root[data-theme="dark"] #projectBudgetPanel .projected-hours-table :is(th,td) { border-color:var(--line); color:var(--ink); }

    /* Keep project overview icons aligned with the shared page icon weight. */
    #projectsView .project-summary-icon svg {
      stroke:currentColor;
      stroke-linecap:round;
      stroke-linejoin:round;
      stroke-width:1.8;
    }

    /* Overwatch typography and neutral color tokens */
    #personalOverviewView {
      --overview-primary:var(--ink);
      --overview-muted:#68766e;
      --overview-line:#dfe7e1;
      --overview-grid:#dfe7e1;
      --overview-accent:#286746;
      --overview-rail:#e9eeea;
    }
    :root[data-theme="dark"] #personalOverviewView {
      --overview-control-bg:var(--surface);
      --overview-primary:#e1e8e3;
      --overview-muted:#aab7af;
      --overview-line:#38434b;
      --overview-grid:#38434b;
      --overview-accent:#a8dfb6;
      --overview-rail:#39434a;
    }
    :root[data-theme="dark"] #personalOverviewView :is(.personal-overview-toolbar select,.personal-overview-member-filter > select,.personal-overview-gantt-scale-row select,.personal-overview-active-filter,.personal-overview-layout-toggle,.personal-overview-sort select) {
      background-color:var(--overview-control-bg);
    }
    #personalOverviewView .personal-overview-stat,
    #personalOverviewView .personal-overview-panel,
    #personalOverviewView .personal-overview-job-card,
    #personalOverviewView .overview-gantt-scroll { border-color:var(--overview-line); }
    #personalOverviewView .personal-overview-stat { border:0; }
    #personalOverviewView .personal-overview-panel { border:0; }
    #personalOverviewView .personal-overview-stat small,
    #personalOverviewView .personal-overview-stat > span,
    #personalOverviewView .personal-overview-panel-heading p,
    #personalOverviewView .personal-overview-job-number,
    #personalOverviewView .personal-overview-job-description,
    #personalOverviewView .personal-overview-owner small,
    #personalOverviewView .personal-overview-due,
    #personalOverviewView .overview-week-days small,
    #personalOverviewView .overview-week-events button small,
    #personalOverviewView .overview-workload-person small,
    #personalOverviewView .overview-workload-person em,
    #personalOverviewView .overview-attention-item small,
    #personalOverviewView .overview-gantt-project small,
    #personalOverviewView .overview-gantt-head { color:var(--overview-muted); }
    #personalOverviewView .personal-overview-stat strong,
    #personalOverviewView .personal-overview-panel-heading h2,
    #personalOverviewView .personal-overview-job-name,
    #personalOverviewView .personal-overview-progress-copy,
    #personalOverviewView .personal-overview-owner b,
    #personalOverviewView .overview-week-days b,
    #personalOverviewView .overview-week-events button b,
    #personalOverviewView .overview-workload-person b,
    #personalOverviewView .overview-attention-item b,
    #personalOverviewView .overview-gantt-project { color:var(--overview-primary); }
    #personalOverviewView .personal-overview-text-action,
    #personalOverviewView .overview-workload-person em,
    #personalOverviewView .overview-attention-item em,
    #personalOverviewView .overview-gantt-project:hover b { color:var(--overview-accent); }
    #personalOverviewView .personal-overview-team .personal-overview-text-action,
    #personalOverviewView .personal-overview-team .overview-workload-person em { color:var(--blue); }
    #personalOverviewView .personal-overview-team .overview-workload-rail span { background:var(--blue); }
    #personalOverviewView .personal-overview-toolbar select,
    #personalOverviewView .personal-overview-member-filter > select,
    #personalOverviewView .personal-overview-gantt-scale-row select,
    #personalOverviewView .personal-overview-active-filter,
    #personalOverviewView .personal-overview-layout-toggle,
    #personalOverviewView .personal-overview-layout-toggle button { border:0 !important; }
    #personalOverviewView .overview-gantt-head,
    #personalOverviewView .overview-gantt-row,
    #personalOverviewView .overview-week-days { border-color:var(--overview-line); }
    #personalOverviewView .overview-gantt-weeks span,
    #personalOverviewView .overview-week-days div,
    #personalOverviewView .overview-attention-item { border-color:var(--overview-grid); }
    #personalOverviewView .overview-gantt-track { background-image:linear-gradient(to right,transparent calc(100% - 1px),var(--overview-grid) calc(100% - 1px)); }
    #personalOverviewView .personal-overview-progress-rail,
    #personalOverviewView .overview-workload-rail { background:var(--overview-rail); }
    #personalOverviewView .personal-overview-panel-heading h2 { font-size:18px; }
    #personalOverviewView .personal-overview-panel-heading p,
    #personalOverviewView .personal-overview-stat small,
    #personalOverviewView .personal-overview-stat > span,
    #personalOverviewView .personal-overview-job-description,
    #personalOverviewView .personal-overview-progress-copy,
    #personalOverviewView .personal-overview-owner b,
    #personalOverviewView .overview-gantt-head,
    #personalOverviewView .overview-gantt-weeks span,
    #personalOverviewView .overview-week-days b,
    #personalOverviewView .overview-week-events button small,
    #personalOverviewView .overview-workload-person small,
    #personalOverviewView .overview-workload-person em,
    #personalOverviewView .overview-attention-item small,
    #personalOverviewView .overview-attention-item em,
    #personalOverviewView .overview-gantt-project small,
    #personalOverviewView .overview-gantt-unscheduled { font-size:13px; }
    #personalOverviewView .personal-overview-stat strong { font-size:28px; }
    #personalOverviewView .personal-overview-job-name,
    #personalOverviewView .overview-week-events button b,
    #personalOverviewView .overview-workload-person b,
    #personalOverviewView .overview-attention-item b,
    #personalOverviewView .overview-gantt-project b { font-size:14px; }
    #personalOverviewView .personal-overview-job-number,
    #personalOverviewView .overview-health,
    #personalOverviewView .personal-overview-owner small,
    #personalOverviewView .personal-overview-due,
    #personalOverviewView .overview-week-days small,
    #personalOverviewView .personal-overview-toolbar select,
    #personalOverviewView .personal-overview-member-filter > select,
    #personalOverviewView .personal-overview-active-filter,
    #personalOverviewView .personal-overview-layout-toggle button,
    #personalOverviewView .personal-overview-sort { font-size:12px; }
    :root[data-theme="dark"] #personalOverviewView :is(.personal-overview-week, .personal-overview-attention, .personal-overview-team) {
      border-color:var(--line);
      background:var(--surface);
      color:var(--ink);
    }
    :root[data-theme="dark"] #personalOverviewView .personal-overview-attention .overview-attention-item {
      border-bottom-color:var(--line);
    }
    :root[data-theme="dark"] #personalOverviewView .personal-overview-attention .overview-attention-item em {
      color:var(--blue);
    }
    :root[data-theme="dark"] #personalOverviewView .personal-overview-attention .overview-attention-item small {
      color:var(--muted);
    }

    :root:not([data-theme="dark"]) :is(
      .overview-my-tasks-heading > span, .overview-my-task small, .overview-my-task time,
      .overview-no-events, .personal-overview-stat > span, .personal-overview-job-description,
      .icon-button, .push-confirm-label, .lifecycle-gantt-task small, .lifecycle-unassigned,
      .lifecycle-empty, .lifecycle-assign-hint, .lifecycle-assign-empty, .lifecycle-entry-num,
      .lifecycle-date-range label span, .detail-label, .project-notes-editor:empty::before,
      .week-time-chart-range, .week-time-chart-axis-track, .week-time-chart-empty,
      .project-time-chart-axis-track, .budget-chart-empty, .projected-hours-table .rate-mask,
      .budget-currency, .budget-summary-card > small, .budget-chart-date, .projected-hours-subtitle,
      .board-empty, .time-work-log-table th, #projectBudgetPanel .projected-hours-table th
    ) { color:var(--muted); }
    :root:not([data-theme="dark"]) .budget-chart-axis { fill:var(--muted); }
    :root[data-theme="dark"] :is(.overview-no-events, .lifecycle-empty, .budget-chart-empty, .board-empty) { color:var(--muted); }
    :root:not([data-theme="dark"]) :focus-visible { outline-color:#1d573c; }
    :root[data-theme="dark"] :focus-visible { outline-color:#8aafe8; }

    /* Reserve space for a full page so short final pages don't move the content below. */
    .personal-overview-job-grid.has-paginated-jobs.is-gantt .overview-gantt { min-height:762px; }
    .personal-overview-job-grid.has-paginated-jobs.is-gantt .overview-gantt-row:last-child { border-bottom:1px solid var(--overview-line); }
    .personal-overview-job-grid.has-paginated-jobs.is-list { min-height:744px; }

    button:is([class*="remove" i], [class*="delete" i], [id*="remove" i], [id*="delete" i], [aria-label*="remove" i], [aria-label*="delete" i], [title*="remove" i], [title*="delete" i]):hover:not(:disabled) {
      border-color: var(--red);
      background: var(--red-light);
      color: var(--red);
    }

    /* Keep the team selector prominent beside the assigned-member filter. */
    #personalOverviewTeamFilter { height:34px; padding:0 28px 0 10px; border-radius:7px; font-size:13px; }
  
