    :root {
      /* OVHcloud manager palette — light theme, deep-blue identity */
      --ground: #f3f5fa;        /* page background */
      --surface: #ffffff;       /* cards */
      --surface-2: #f4f6fb;     /* inputs / secondary surfaces */
      --line: #dce1ec;          /* borders */
      --text: #18233d;          /* primary text */
      --muted: #5d6b86;         /* secondary text */
      --accent: #0050d7;        /* OVH primary blue — links, buttons, compliant */
      --accent-dim: rgba(0, 80, 215, 0.10);
      --accent-2: #ff7e00;      /* OVH orange — warnings, medium severity */
      --accent-2-dim: rgba(255, 126, 0, 0.12);
      --danger: #e11d48;        /* at-risk / high severity */
      --danger-dim: rgba(225, 29, 72, 0.10);
      --header: #000e9c;        /* OVH deep-blue top bar */
      --on-accent: #ffffff;     /* text on accent / header */
      --display: "Source Sans 3", "Inter", system-ui, sans-serif;
      --body: "Source Sans 3", "Inter", system-ui, sans-serif;
      --mono: "JetBrains Mono", ui-monospace, monospace;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      background: var(--ground);
      color: var(--text);
      font-family: var(--body);
      font-size: 15px;
      line-height: 1.5;
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      background: radial-gradient(1100px 700px at 78% -10%, rgba(0, 80, 215, 0.05), transparent 60%);
      pointer-events: none;
      z-index: 0;
    }

    /* ---------- Header ---------- */
    header {
      position: sticky;
      top: 0;
      z-index: 5;
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 14px 28px;
      background: var(--header);
      color: var(--on-accent);
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    }

    .brand { display: flex; align-items: center; gap: 14px; }
    .brand canvas { display: block; }
    .brand h1 {
      margin: 0;
      font-family: var(--display);
      font-weight: 700;
      font-size: 20px;
      letter-spacing: 0.02em;
      color: var(--on-accent);
    }
    .brand .sub {
      font-family: var(--body);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.04em;
      color: rgba(255, 255, 255, 0.72);
    }

    .header-spacer { flex: 1; }

    button.refresh {
      font-family: var(--body);
      font-weight: 600;
      font-size: 13px;
      letter-spacing: 0.01em;
      color: var(--on-accent);
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.28);
      border-radius: 6px;
      padding: 8px 16px;
      cursor: pointer;
      transition: background 0.15s, border-color 0.15s;
    }
    button.refresh:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.5); }
    button.refresh:focus-visible { outline: 2px solid var(--on-accent); outline-offset: 2px; }
    button.refresh:disabled { opacity: 0.5; cursor: wait; }

    /* Refresh-style buttons that live on light surfaces (not the header) */
    .dash .refresh, .opt-actions .refresh, .opt-field .refresh, #dash-refresh, .dash-actions .refresh {
      color: var(--text);
      background: var(--surface);
      border: 1px solid var(--line);
    }
    .dash .refresh:hover, .opt-actions .refresh:hover, .opt-field .refresh:hover, #dash-refresh:hover, .dash-actions .refresh:hover {
      background: var(--surface-2); border-color: var(--accent); color: var(--accent);
    }
    .dash-actions { display: flex; gap: 8px; flex-wrap: wrap; }

    /* Export dropdown */
    .export-menu { position: relative; }
    #dash-export-btn::after { content: "▾"; margin-left: 6px; font-size: 11px; }
    .export-dropdown {
      position: absolute;
      top: calc(100% + 4px);
      right: 0;
      z-index: 50;
      min-width: 180px;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 8px;
      box-shadow: 0 8px 24px rgba(24, 35, 61, 0.16);
      padding: 4px;
      display: flex;
      flex-direction: column;
    }
    .export-dropdown[hidden] { display: none; }
    .export-dropdown button {
      font-family: var(--body);
      font-weight: 600;
      font-size: 13px;
      text-align: left;
      color: var(--text);
      background: transparent;
      border: 0;
      border-radius: 6px;
      padding: 8px 12px;
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }
    .export-dropdown button:hover { background: var(--surface-2); color: var(--accent); }
    .export-dropdown button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

    .account {
      font-family: var(--body);
      font-weight: 600;
      font-size: 13px;
      color: var(--on-accent);
      padding: 7px 12px;
      border: 1px solid rgba(255, 255, 255, 0.28);
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.10);
      white-space: nowrap;
    }

    /* Login overlay */
    .login-overlay {
      position: fixed;
      inset: 0;
      z-index: 50;
      display: flex;
      align-items: center;
      justify-content: center;
      background: radial-gradient(120% 120% at 50% 0%, var(--surface) 0%, var(--ground) 70%);
      padding: 24px;
    }
    .login-overlay[hidden] { display: none; }
    .login-card {
      max-width: 420px;
      width: 100%;
      text-align: center;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 40px 32px;
      box-shadow: 0 18px 50px rgba(24, 35, 61, 0.16);
    }
    .login-card h2 { font-family: var(--display); margin: 18px 0 10px; font-size: 22px; }
    .login-card p { color: var(--muted); margin: 0 0 24px; }
    .login-btn {
      font-family: var(--body);
      font-weight: 600;
      font-size: 14px;
      letter-spacing: 0.01em;
      color: var(--on-accent);
      background: var(--accent);
      border: 0;
      border-radius: 8px;
      padding: 13px 26px;
      cursor: pointer;
      transition: filter 0.15s;
    }
    .login-btn:hover { filter: brightness(1.08); }
    .login-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
    .login-btn:disabled { opacity: 0.6; cursor: wait; }
    .login-error { color: var(--danger) !important; margin-top: 18px !important; font-size: 13px; }

    /* Options overlay form */
    .options-card { max-width: 460px; text-align: left; max-height: 90vh; overflow-y: auto; }
    .options-card h2 { text-align: left; margin: 0 0 6px; }
    #options-intro { text-align: left; margin: 0 0 22px; font-size: 13px; }
    .opt-field { margin-bottom: 20px; }
    .opt-label {
      display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
    }
    .opt-hint { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
    .opt-clear-status { display: inline-block; margin-left: 12px; font-size: 12px; color: var(--muted); }
    .opt-clear-status.error { color: var(--danger); }
    .opt-check { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 14px; margin-bottom: 4px; }
    .opt-check input { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
    .options-card select,
    .options-card input[type="number"],
    .options-card textarea {
      width: 100%; background: var(--surface-2); color: var(--text);
      border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px;
      font-family: var(--body); font-size: 14px;
    }
    .options-card input[type="number"] { width: 130px; }
    .options-card textarea { font-family: var(--mono); font-size: 12px; resize: vertical; }
    .options-card select:focus-visible,
    .options-card input:focus-visible,
    .options-card textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
    .opt-actions { display: flex; gap: 12px; align-items: center; margin-top: 4px; }

    /* ---------- Stage shell ---------- */
    main { position: relative; z-index: 1; }
    .stage[hidden] { display: none; }
    .wrap { max-width: 1080px; margin: 0 auto; padding: 28px 24px 64px; }
    /* The results dashboard breaks out to a wider canvas on desktop. */
    .wrap-wide { max-width: 1440px; margin: 0 auto; padding: 28px 32px 64px; }
    @media (max-width: 1100px) { .wrap-wide { max-width: 1080px; padding: 28px 24px 64px; } }

    .eyebrow {
      font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
      text-transform: uppercase; color: var(--muted);
    }
    h2.stage-title { font-family: var(--display); font-weight: 500; font-size: 26px; margin: 6px 0 4px; }
    .stage-sub { color: var(--muted); margin: 0 0 24px; }

    .loading { font-family: var(--mono); font-size: 13px; color: var(--accent); padding: 24px; letter-spacing: 0.1em; }
    .loading::after { content: "_"; animation: blink 1s step-end infinite; }
    @keyframes blink { 50% { opacity: 0; } }
    .errorbox {
      margin: 18px 0; padding: 16px 18px;
      border: 1px solid var(--danger); border-radius: 8px;
      background: var(--danger-dim); color: var(--danger);
      font-family: var(--mono); font-size: 13px;
    }

    /* ---------- Scope page ---------- */
    .saved-banner {
      display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
      font-family: var(--mono); font-size: 12px; color: var(--accent);
      background: var(--accent-dim); border: 1px solid var(--accent);
      border-radius: 10px; padding: 10px 14px; margin-bottom: 20px;
    }
    .saved-banner .link {
      color: var(--muted); text-decoration: underline; cursor: pointer; background: none; border: 0;
      font-family: var(--mono); font-size: 12px;
    }
    .saved-banner .link:hover { color: var(--text); }

    .fsection {
      background: var(--surface); border: 1px solid var(--line);
      border-radius: 12px; margin-bottom: 14px; overflow: hidden;
      box-shadow: 0 1px 2px rgba(24, 35, 61, 0.05);
    }
    .fsection > summary, .fsection-head {
      display: flex; align-items: center; gap: 12px; cursor: pointer;
      padding: 16px 20px; list-style: none; user-select: none;
    }
    .fsection > summary::-webkit-details-marker { display: none; }
    .fsection-title { font-family: var(--display); font-size: 16px; }
    .fsection-count {
      font-family: var(--mono); font-size: 11px; color: var(--accent);
      background: var(--accent-dim); border-radius: 20px; padding: 2px 9px;
    }
    .fsection .chevron { margin-left: auto; color: var(--muted); transition: transform 0.15s; font-family: var(--mono); }
    details.fsection[open] .chevron { transform: rotate(90deg); }
    .fsection-body { padding: 4px 20px 20px; }
    .quick { display: flex; gap: 8px; margin: 2px 0 12px; }
    .quick button {
      font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
      padding: 4px 12px; background: var(--surface-2); color: var(--muted);
      border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
    }
    .quick button:hover { color: var(--accent); border-color: var(--accent); }

    .chk-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px;
    }
    .chk {
      display: flex; align-items: flex-start; gap: 10px;
      padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
      background: var(--surface-2); cursor: pointer; transition: border-color 0.15s;
    }
    .chk:hover { border-color: var(--accent); }
    .chk input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
    .chk .chk-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
    .chk .chk-name { font-size: 14px; }
    .chk .chk-id { font-family: var(--mono); font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
    .chk.disabled { opacity: 0.4; pointer-events: none; }
    .rule-pillar-grp { margin-bottom: 16px; }
    .rule-pillar-grp h4 {
      margin: 4px 0 8px; font-family: var(--mono); font-size: 11px;
      letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
    }
    .rtag {
      font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em;
      padding: 1px 6px; border-radius: 4px; text-transform: uppercase; margin-left: 6px;
      color: var(--muted); background: var(--surface);
    }
    .rtag.decl { color: var(--accent-2); }

    .scope-actions { display: flex; gap: 12px; align-items: center; margin-top: 24px; }
    .btn-primary {
      font-family: var(--body); font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
      color: var(--on-accent); background: var(--accent); border: 0; border-radius: 8px;
      padding: 12px 26px; cursor: pointer; transition: filter 0.15s;
    }
    .btn-primary:hover { filter: brightness(1.08); }
    .btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
    .btn-primary:disabled { opacity: 0.4; cursor: not-allowed; filter: grayscale(0.6); }
    .btn-primary:disabled:hover { filter: grayscale(0.6); }

    /* ---------- Run stage (progress + questionnaire) ---------- */
    .run-grid { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
    .progress-card {
      background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
      padding: 24px 22px; position: sticky; top: 96px;
      box-shadow: 0 1px 3px rgba(24, 35, 61, 0.06);
    }
    .progress-card canvas { display: block; margin: 4px auto 16px; }
    .ptrack { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
    .pfill { height: 100%; background: var(--accent); border-radius: 4px; transition: width 0.4s ease; }
    .pfill.indet {
      width: 40% !important;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      animation: indet 1.1s ease-in-out infinite;
    }
    @keyframes indet { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
    .progress-step { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-top: 12px; letter-spacing: 0.06em; }
    .progress-pct { font-family: var(--display); font-size: 30px; color: var(--text); }
    .progress-done { color: var(--accent); }
    /* Live collection log — narrates each phase / project as it is processed. */
    .run-log {
      list-style: none; margin: 14px 0 0; padding: 10px 12px;
      max-height: 220px; overflow-y: auto;
      background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px;
      font-family: var(--mono); font-size: 11px; line-height: 1.7; color: var(--muted);
    }
    .run-log li { display: flex; gap: 8px; }
    .run-log li .ts { color: var(--accent); flex: none; }
    .run-log li.done .msg { color: var(--text); }
    .run-log li.err .msg { color: var(--danger); }
    .run-log:empty { display: none; }

    .quest-head {
      display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px;
    }
    .quest-progress {
      font-family: var(--mono); font-size: 12px; color: var(--muted);
    }
    .quest-progress b { color: var(--accent); }
    .qbar { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; margin: 8px 0 18px; }
    .qfill { height: 100%; background: var(--accent-2); border-radius: 3px; transition: width 0.3s; }
    .pillar-group { margin-bottom: 22px; }
    .pillar-group > .eyebrow { display: block; margin-bottom: 10px; }
    /* Questionnaire wizard: one pillar per screen + prev/next nav. */
    .quest-steps { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
    .quest-steps .qstep {
      width: 22px; height: 6px; border-radius: 3px; background: var(--surface-2);
      border: 0; padding: 0; cursor: pointer; transition: background 0.2s;
    }
    .quest-steps .qstep.full { background: var(--accent-2); }
    .quest-steps .qstep.active { background: var(--accent); }
    .quest-nav {
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
      margin-top: 18px; flex-wrap: wrap;
    }
    .quest-nav .qnav-mid { font-family: var(--mono); font-size: 12px; color: var(--muted); }
    .btn-ghost {
      font-family: var(--body); font-weight: 600; font-size: 14px;
      color: var(--text); background: transparent; border: 1px solid var(--line);
      border-radius: 8px; padding: 11px 22px; cursor: pointer; transition: border-color 0.15s, opacity 0.15s;
    }
    .btn-ghost:hover { border-color: var(--accent); }
    .btn-ghost:disabled { opacity: 0.4; cursor: not-allowed; }
    .btn-ghost:disabled:hover { border-color: var(--line); }

    /* ---------- Findings / declarative cards (shared with Review) ---------- */
    .finding {
      border: 1px solid var(--line); border-left: 3px solid var(--muted);
      border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; background: var(--surface);
      box-shadow: 0 1px 2px rgba(24, 35, 61, 0.05);
    }
    .finding.high { border-left-color: var(--danger); }
    .finding.medium { border-left-color: var(--accent-2); }
    .finding.low { border-left-color: var(--muted); }
    .finding.info { border-left-color: var(--accent); }
    .finding .frow { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
    .finding .fsev {
      font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
      padding: 2px 8px; border-radius: 4px; text-transform: uppercase;
    }
    .finding.high .fsev { color: var(--danger); background: var(--danger-dim); }
    .finding.medium .fsev { color: var(--accent-2); background: var(--accent-2-dim); }
    .finding.low .fsev { color: var(--muted); background: var(--surface-2); }
    .finding.info .fsev { color: var(--accent); background: var(--accent-dim); }
    .finding .fid { font-family: var(--mono); font-size: 11px; color: var(--muted); }
    .finding .ftitle { font-family: var(--display); font-size: 15px; color: var(--text); }
    .finding .fres { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-top: 6px; }
    .finding .fdetail { color: var(--muted); font-size: 13px; margin: 8px 0 0; line-height: 1.5; }
    .finding .freco { font-size: 13px; margin: 8px 0 0; line-height: 1.5; }
    .finding .freco b { color: var(--accent); font-weight: 500; }
    .finding .freco a { color: var(--accent); }
    .badge {
      font-family: var(--mono); font-size: 12px; padding: 4px 11px;
      border-radius: 999px; border: 1px solid var(--line);
      background: var(--surface-2); color: var(--text);
    }

    .finding.decl-ok { border-left-color: var(--accent); }
    .finding.decl-unknown { border-left-color: var(--line); }
    .ans-group { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
    .ans-btn {
      font-family: var(--mono); font-size: 11px; padding: 5px 12px;
      border-radius: 999px; cursor: pointer; background: var(--surface-2);
      color: var(--muted); border: 1px solid var(--line);
    }
    .ans-btn.ok.active { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }
    .ans-btn.risk.active { color: var(--danger); border-color: var(--danger); background: var(--danger-dim); }
    .ans-btn.na.active { color: var(--text); border-color: var(--muted); }
    .fstatus {
      font-family: var(--mono); font-size: 10px; padding: 2px 8px;
      border-radius: 4px; text-transform: uppercase;
    }
    .fstatus.todo { color: var(--muted); background: var(--surface-2); }
    .fstatus.ok { color: var(--accent); background: var(--accent-dim); }
    .fstatus.risk { color: var(--danger); background: var(--danger-dim); }

    /* ---------- Dashboard ---------- */
    .dash { display: flex; flex-direction: column; gap: 26px; }
    /* The .dash display rule outranks the UA [hidden] rule, so it must opt back
       into hiding explicitly when used as a tab panel (same pattern as .stage). */
    .dash[hidden] { display: none; }
    .score-hero {
      display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
      background: var(--surface); border: 1px solid var(--line);
      border-radius: 14px; padding: 22px 26px;
      box-shadow: 0 1px 3px rgba(24, 35, 61, 0.06);
    }
    .score-ring { flex-shrink: 0; }
    .score-meta { display: flex; flex-direction: column; gap: 6px; }
    .score-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
    .sev-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
    .sev-pill {
      font-family: var(--mono); font-size: 12px; padding: 4px 10px;
      border-radius: 999px; border: 1px solid var(--line);
      display: inline-flex; align-items: center; gap: 6px;
    }
    .sev-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
    .sev-pill.high { color: var(--danger); } .sev-pill.high::before { background: var(--danger); }
    .sev-pill.medium { color: var(--accent-2); } .sev-pill.medium::before { background: var(--accent-2); }
    .sev-pill.low { color: var(--muted); } .sev-pill.low::before { background: var(--muted); }
    .sev-pill.info { color: var(--accent); } .sev-pill.info::before { background: var(--accent); }
    .economy {
      font-family: var(--mono); font-size: 13px; color: var(--accent);
      background: var(--accent-dim); border: 1px solid var(--accent);
      border-radius: 10px; padding: 9px 13px; margin-top: 6px;
    }

    .pillar-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 1px; background: var(--line); border: 1px solid var(--line);
      border-radius: 12px; overflow: hidden;
      box-shadow: 0 1px 2px rgba(24, 35, 61, 0.05);
    }
    .pillar { background: var(--surface); padding: 16px 18px; }
    .pillar .pscore { font-family: var(--display); font-size: 26px; font-weight: 500; }
    .pillar .pname { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 2px 0 10px; }
    .pillar .ptrack2 { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
    .pillar .pfill2 { height: 100%; border-radius: 3px; }

    .kpi-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
      gap: 1px; background: var(--line); border: 1px solid var(--line);
      border-radius: 12px; overflow: hidden;
      box-shadow: 0 1px 2px rgba(24, 35, 61, 0.05);
    }
    .kpi { background: var(--surface); padding: 14px 16px; }
    .kpi .kval { font-family: var(--display); font-size: 21px; font-weight: 500; color: var(--text); }
    .kpi .klabel { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
    .stat-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 1px; background: var(--line); border: 1px solid var(--line);
      border-radius: 10px; overflow: hidden;
      box-shadow: 0 1px 2px rgba(24, 35, 61, 0.05);
    }
    .stat { background: var(--surface); padding: 18px 20px; }
    .stat .v { font-family: var(--display); font-size: 30px; font-weight: 500; color: var(--accent); }
    .stat .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
    .dc-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
    .dc-row .label { font-family: var(--mono); font-size: 12px; width: 150px; color: var(--text); }
    .dc-row .track { flex: 1; height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
    .dc-row .fill { height: 100%; background: var(--accent); border-radius: 4px; }
    .dc-row .n { font-family: var(--mono); font-size: 12px; color: var(--accent); width: 28px; text-align: right; }
    .warn { border: 1px solid var(--accent-2); background: var(--accent-2-dim); border-radius: 10px; padding: 16px 18px; }
    .warn.ok { border-color: var(--accent); background: var(--accent-dim); }
    .warn .title { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 8px; }
    .warn.ok .title { color: var(--accent); }
    .warn ul { margin: 6px 0 0; padding-left: 18px; }
    .warn li { font-family: var(--mono); font-size: 13px; color: var(--text); margin: 3px 0; }

    .os-table { width: 100%; border-collapse: collapse; font-size: 13px; }
    .os-table th, .os-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
    .os-table th { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
    .os-table td { font-family: var(--mono); color: var(--text); }
    .os-mode { color: var(--muted); }
    .region-bar { display: grid; grid-template-columns: 130px 1fr 36px; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--text); margin-top: 6px; }
    .region-bar .rb-track { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
    .region-bar .rb-fill { height: 100%; background: var(--accent); border-radius: 4px; }

    /* Improvement plan: editable table (finding → action / owner / target date) */
    .plan-table { width: 100%; border-collapse: collapse; font-size: 13px; }
    .plan-table th, .plan-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
    .plan-table th { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
    .plan-table .plan-finding { min-width: 200px; font-size: 13px; color: var(--text); }
    .plan-table .plan-finding .fid { font-family: var(--mono); font-size: 11px; color: var(--muted); }
    .plan-table .plan-finding .sev-pill { font-size: 10px; }
    .plan-input {
      width: 100%; min-width: 120px; background: var(--surface-2); color: var(--text);
      border: 1px solid var(--line); border-radius: 6px; padding: 7px 9px;
      font-family: var(--body); font-size: 13px;
    }
    .plan-input[type="date"] { font-family: var(--mono); min-width: 140px; }
    .plan-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

    .findings-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
    .filter-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
    .filter-group { display: flex; align-items: center; gap: 6px; }
    .filter-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
    .sub-eyebrow { display: block; margin: 22px 0 10px; }
    .filter-btn {
      font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
      padding: 5px 12px; background: var(--surface-2); color: var(--muted);
      border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
    }
    .filter-btn.active { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }
    .finding-search {
      flex: 1 1 220px; min-width: 160px; max-width: 320px;
      font-family: inherit; font-size: 13px;
      padding: 6px 12px; background: var(--surface-2); color: var(--text);
      border: 1px solid var(--line); border-radius: 999px;
    }
    .finding-search:focus { outline: none; border-color: var(--accent); }

    /* Findings: groups laid out on two columns; extra cards fold under each group. */
    .findings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; align-items: start; }
    .finding-group { display: flex; flex-direction: column; gap: 8px; }
    .group-extra { display: flex; flex-direction: column; gap: 8px; }
    .group-extra[hidden] { display: none; }
    .group-toggle {
      align-self: start; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
      padding: 3px 10px; background: var(--surface-2); color: var(--muted);
      border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
    }
    .group-toggle:hover { color: var(--accent); border-color: var(--accent); }
    @media (max-width: 720px) { .findings-grid { grid-template-columns: 1fr; } }

    .section-block > .eyebrow { display: block; margin-bottom: 12px; }
    .intro { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
    /* Re-review cadence, folded into the synthesis block as a read-only info line. */
    .tier-line {
      display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
      margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
    }
    .tier-label {
      font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
      text-transform: uppercase; color: var(--muted);
    }
    .tier-value {
      display: inline-block; margin: 0;
      font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
      padding: 5px 14px; color: var(--accent);
      background: var(--accent-dim); border: 1px solid var(--accent); border-radius: 999px;
    }

    /* Tabs (WAF dashboard / Inventory / Billing) */
    .tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 4px 0 22px; flex-wrap: wrap; }
    .tab {
      font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
      padding: 10px 16px; background: none; border: 0; cursor: pointer;
      color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
    }
    .tab:hover { color: var(--text); }
    .tab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
    .tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

    /* Inventory & billing dense tables */
    /* Dedicated-servers-per-datacenter pie ("camembert"). */
    .dc-pie-block {
      border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px;
      background: var(--surface); padding: 16px 18px;
    }
    .dc-pie-wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
    .dc-pie { flex-shrink: 0; }
    .dc-legend { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 200px; }
    .dc-legend li {
      display: flex; align-items: center; gap: 10px; font-size: 13px;
      padding: 4px 0; border-bottom: 1px solid var(--line);
    }
    .dc-legend li:last-child { border-bottom: 0; }
    .dc-dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
    .dc-legend .dc-name { font-family: var(--mono); color: var(--text); }
    .dc-legend .dc-val { margin-left: auto; font-family: var(--mono); color: var(--muted); }
    .inv-sect { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; background: var(--surface); }
    .inv-sect > summary {
      cursor: pointer; padding: 14px 18px; font-family: var(--mono); font-size: 12px;
      letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); list-style: none;
    }
    .inv-sect > summary::-webkit-details-marker { display: none; }
    .inv-sect[open] > summary { border-bottom: 1px solid var(--line); }
    .inv-count {
      font-family: var(--mono); font-size: 11px; color: var(--accent);
      background: var(--accent-dim); border-radius: 999px; padding: 2px 9px; margin-left: 6px;
    }
    .inv-scroll { overflow-x: auto; }
    .inv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
    .inv-table th, .inv-table td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
    .inv-table th { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
    .inv-table td { font-family: var(--mono); color: var(--text); }
    .inv-table tbody tr:last-child td { border-bottom: 0; }
    .inv-table td.num { text-align: right; }
    .inv-empty { color: var(--muted); text-align: center !important; padding: 18px !important; }
    .badge-warn {
      font-family: var(--mono); font-size: 11px; padding: 2px 9px; border-radius: 999px;
      color: var(--accent-2); border: 1px solid var(--accent-2); background: var(--accent-2-dim);
    }
    .chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; }
    .chip {
      font-family: var(--mono); font-size: 12px; padding: 4px 11px; border-radius: 8px;
      color: var(--text); border: 1px solid var(--line); background: var(--surface-2);
    }

    /* 6 pillars: keep clean rows (divisors of 6) rather than auto-fill, which
       would leave an orphan column at intermediate widths. 3 → 2 → 1 columns. */
    @media (max-width: 1080px) {
      .pillar-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 540px) {
      .pillar-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 860px) {
      .run-grid { grid-template-columns: 1fr; }
      .progress-card { position: static; }
    }
    @media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
