    :root {
      --sc-space-4:4px; --sc-space-8:8px; --sc-space-12:12px; --sc-space-14:14px; --sc-space-16:16px; --sc-space-20:20px; --sc-space-24:24px; --sc-space-32:32px;
      --sc-radius-sm:8px; --sc-radius-md:12px;
      --sc-surface-app:#f3f6fb; --sc-surface-card:#ffffff; --sc-surface-muted:#e2e8f0; --sc-border-subtle:#d9e0eb; --sc-border-strong:#64748b; --sc-focus-ring:#1d4ed8;
      --sc-text-primary:#0f172a; --sc-text-muted:#475569; --sc-monitor-nested-label:#1e40af;
      --sc-sidebar-bg:#0f172a; --sc-sidebar-border:#1e293b; --sc-sidebar-text:rgba(248,250,252,.82);
      --sc-sidebar-hover:rgba(148,163,184,.2); --sc-sidebar-active:rgba(59,130,246,.18);
      --sc-status-success:#198754; --sc-status-warning:#f59e0b; --sc-status-danger:#dc3545; --sc-status-info:#0d6efd;
      --sc-status-healthy:#198754; --sc-status-informational:#0d6efd; --sc-status-critical:#dc3545; --sc-status-inactive:#64748b;
      --sc-metric-critical-bg:#fff1f2; --sc-metric-critical-border:#fecdd3; --sc-metric-critical-text:#b91c1c;
      --sc-metric-warning-bg:#fffbeb; --sc-metric-warning-border:#fde68a; --sc-metric-warning-text:#92400e;
      --sc-metric-info-bg:#eff6ff; --sc-metric-info-border:#bfdbfe; --sc-metric-info-text:#1e40af;
      --sc-metric-healthy-bg:#f0fdf4; --sc-metric-healthy-border:#bbf7d0; --sc-metric-healthy-text:#14532d;
      --sc-metric-neutral-bg:#f8fafc; --sc-metric-neutral-border:#e2e8f0; --sc-metric-neutral-text:#475569;
      --sc-shadow-soft:0 8px 24px rgba(15,23,42,.06); --sc-shadow-panel:0 18px 40px rgba(15,23,42,.08);
      --sc-action-primary:#2563eb; --sc-action-primary-hover:#1d4ed8; --sc-action-review-bg:#fbbf24; --sc-action-review-hover:#f59e0b; --sc-action-review-text:#1f2937;
      --sc-attention-bg:#fffbeb; --sc-attention-border:#f59e0b; --sc-attention-icon-color:#d97706;
      --bg:var(--sc-surface-app); --panel:var(--sc-surface-card); --ink:var(--sc-text-primary); --muted:var(--sc-text-muted); --line:var(--sc-border-subtle); --accent:var(--sc-action-primary);
      --success:#ecfdf5; --error:#fef2f2;
      --sc-auth-bg:#f7efe2; --sc-auth-card:#fffaf2; --sc-auth-navy:#10243f; --sc-auth-accent:#b7791f; --sc-auth-accent-soft:#fff2cf;
      --sc-auth-success-bg:#edfdf5; --sc-auth-error-bg:#fff1f2;
    }

/* Permanent data purge */
.purge-page { display:grid; gap:1rem; max-width:1120px; margin:0 auto; }
.purge-page__header h1 { margin:.2rem 0; }
.purge-danger,.purge-panel,.purge-receipt,.purge-error { border:1px solid var(--sc-border-subtle); border-radius:14px; padding:1.25rem; background:var(--sc-surface-card); }
.purge-danger { border:2px solid #b42318; background:#fff4f2; color:#6b1710; }
[data-theme="dark"] .purge-danger { background:#321714; color:#ffd4ce; }
.purge-error { border-color:#b42318; background:#fff4f2; color:#6b1710; }
[data-theme="dark"] .purge-error { background:#321714; color:#ffd4ce; }
.purge-scope-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; margin:1rem 0; }
.purge-scope-card { border:1px solid var(--sc-border-subtle); border-radius:12px; padding:1rem; }
.purge-scope-card h3 { margin:0 0 .25rem; }
.purge-scope-card.is-disabled { opacity:.66; background:var(--sc-surface-muted); }
.purge-select-form,.purge-confirm-form { display:grid; gap:.75rem; }
.purge-select-form select,.purge-select-form textarea,.purge-confirm-form input { width:100%; }
.purge-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.purge-facts div { border:1px solid var(--sc-border-subtle); border-radius:10px; padding:.7rem; overflow-wrap:anywhere; }
.purge-facts dt { color:var(--sc-text-muted); font-size:.82rem; }
.purge-facts dd { margin:.2rem 0 0; font-weight:650; }
.purge-counts { width:100%; border-collapse:collapse; margin:1rem 0; }
.purge-counts caption { text-align:left; font-weight:700; margin-bottom:.5rem; }
.purge-counts th,.purge-counts td { border-bottom:1px solid var(--sc-border-subtle); padding:.55rem; text-align:left; }
.purge-counts td { text-align:right; font-variant-numeric:tabular-nums; }
.purge-check { display:flex; gap:.65rem; align-items:flex-start; border:1px solid var(--sc-border-subtle); border-radius:10px; padding:.75rem; }
.purge-check input { width:auto; margin-top:.2rem; }
.purge-phrase { display:block; padding:.7rem; border-radius:8px; background:var(--sc-surface-muted); overflow-wrap:anywhere; }
.purge-destructive { background:#b42318 !important; border-color:#b42318 !important; color:#fff !important; }
.purge-destructive:disabled { opacity:.45; cursor:not-allowed; }
.purge-secondary { justify-self:start; }
.purge-dialog { width:min(720px,calc(100vw - 24px)); max-height:calc(100vh - 24px); border:0; border-radius:16px; padding:1.25rem; background:var(--sc-surface-card); color:var(--sc-text-primary); }
.purge-dialog::backdrop { background:rgba(10,18,32,.72); }
.purge-dialog__close { float:right; background:transparent; color:inherit; font-size:1.5rem; padding:.25rem .5rem; }
.purge-dialog__actions { display:flex; justify-content:flex-end; gap:.75rem; margin-top:1rem; }
.purge-receipt code { overflow-wrap:anywhere; }
@media (max-width:700px) {
  .purge-scope-grid,.purge-facts { grid-template-columns:1fr; }
  .purge-danger,.purge-panel,.purge-receipt,.purge-error { padding:1rem; }
  .purge-dialog__actions { flex-direction:column; }
  .purge-dialog__actions form,.purge-dialog__actions button { width:100%; }
}
    [data-theme="dark"] {
      --sc-surface-app:#07111f; --sc-surface-card:#111c2e; --sc-surface-muted:#26364d; --sc-border-subtle:#26364d; --sc-border-strong:#94a3b8; --sc-focus-ring:#93c5fd;
      --sc-text-primary:#f1f5f9; --sc-text-muted:#94a3b8; --sc-monitor-nested-label:#bfdbfe;
      --sc-sidebar-bg:#020617; --sc-sidebar-border:#0f172a; --sc-sidebar-hover:rgba(148,163,184,.3); --sc-sidebar-active:rgba(59,130,246,.25);
      --sc-metric-critical-bg:#450a0a; --sc-metric-critical-border:#7f1d1d; --sc-metric-critical-text:#fca5a5;
      --sc-metric-warning-bg:#451a03; --sc-metric-warning-border:#9a3412; --sc-metric-warning-text:#fcd34d;
      --sc-metric-info-bg:#1e1b4b; --sc-metric-info-border:#3730a3; --sc-metric-info-text:#a5b4fc;
      --sc-metric-healthy-bg:#14532d; --sc-metric-healthy-border:#166534; --sc-metric-healthy-text:#86efac;
      --sc-metric-neutral-bg:#1e293b; --sc-metric-neutral-border:#475569; --sc-metric-neutral-text:#cbd5e1;
      --sc-attention-bg:#451a03; --sc-attention-border:#9a3412; --sc-attention-icon-color:#f59e0b;
      --success:#14532d; --error:#450a0a;
      --sc-auth-bg:#07111f; --sc-auth-card:#101b2d; --sc-auth-navy:#f8fafc; --sc-auth-accent:#fbbf24; --sc-auth-accent-soft:#2b2111;
      --sc-auth-success-bg:#102a1d; --sc-auth-error-bg:#3b1212;
    }
    * { box-sizing:border-box; }
    body { margin:0; font-family:"Segoe UI",system-ui,sans-serif; background:var(--sc-surface-app); color:var(--sc-text-primary); }
    .skip-link { position:fixed; z-index:10000; top:8px; left:12px; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0; background:var(--sc-surface-card); color:var(--sc-text-primary); font-weight:700; }
    .skip-link:focus, .skip-link:focus-visible { width:auto; height:auto; padding:10px 14px; overflow:visible; clip:auto; clip-path:none; border:3px solid var(--sc-focus-ring); border-radius:var(--sc-radius-sm); outline:3px solid var(--sc-focus-ring); outline-offset:2px; }
    .auth-main { width:100%; min-height:100vh; padding:clamp(1rem, 3vw, 2rem); display:grid; place-items:center; background:var(--sc-auth-bg); color:var(--sc-auth-navy); }
    /* overflow-x:hidden here made this a scroll container, which silently defeated the sidebar's
       position:sticky and let the nav scroll away on long pages. `clip` contains overflow the same
       way without establishing one. */
    .page-shell { display:flex; min-width:0; min-height:100vh; background:var(--sc-surface-app); color:var(--sc-text-primary); overflow-x:clip; }
    .sidebar { --sidebar-expanded-width:242px; width:var(--sidebar-expanded-width); min-width:var(--sidebar-expanded-width); background:linear-gradient(180deg,#071629 0%,#061326 100%); color:var(--sc-sidebar-text); border-right:1px solid #132740; overflow:hidden; }
    @media (min-width: 901px) { .sidebar { position:sticky; top:0; align-self:flex-start; height:100vh; overflow-y:auto; } }
    .sidebar.collapsed { width:88px; min-width:88px; }
    .sidebar-resizer { position:sticky; top:0; z-index:9; display:block; flex:0 0 9px; width:9px; height:100vh; margin-left:0; padding:0; border:0; background:#061326; cursor:col-resize; touch-action:none; }
    .sidebar-resizer::after { content:""; position:absolute; top:0; bottom:0; left:4px; width:1px; background:rgba(147,197,253,.18); transition:width 120ms ease,background-color 120ms ease; }
    .sidebar-resizer:hover::after, .sidebar-resizer:focus-visible::after, .sidebar-resizer.is-resizing::after { left:3px; width:3px; background:#60a5fa; }
    .sidebar-resizer:focus-visible { outline:3px solid var(--sc-focus-ring); outline-offset:-3px; }
    .sidebar.collapsed + .sidebar-resizer { display:none; }
    body.sidebar-resizing { cursor:col-resize; user-select:none; }
    .nav-shell { display:flex; flex-direction:column; min-height:100%; height:100%; }
    .sidebar-brand { padding:var(--sc-space-20) var(--sc-space-16) var(--sc-space-14); border-bottom:1px solid rgba(148,163,184,.18); display:flex; align-items:flex-start; justify-content:space-between; gap:var(--sc-space-12); }
    .brand-title { font-size:1.3rem; font-weight:700; color:rgba(248,250,252,.95); line-height:1.2; }
    .brand-subtitle { font-size:.74rem; color:rgba(226,232,240,.65); margin-top:var(--sc-space-4); letter-spacing:.08em; text-transform:uppercase; }
    .sidebar-toggle { border:0; border-radius:8px; width:32px; height:32px; padding:0; display:grid; place-items:center; background:rgba(148,163,184,.12); color:rgba(248,250,252,.9); flex-shrink:0; }
    .sidebar-toggle-icon { width:18px; height:18px; display:grid; place-items:center; line-height:0; }
    .sidebar-toggle svg { width:18px; height:18px; display:block; margin:auto; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
    .tenant-pill { margin:var(--sc-space-12) var(--sc-space-16) 0; background:rgba(59,130,246,.2); color:#bfdbfe; border:1px solid rgba(96,165,250,.4); border-radius:999px; padding:6px 12px; font-size:.75rem; letter-spacing:.03em; text-transform:uppercase; font-weight:600; }
    .tenant-pill__label, .tenant-pill__name { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .tenant-pill__name { color:rgba(226,232,240,.78); font-size:.68rem; letter-spacing:0; text-transform:none; }
    .nav-sections { display:flex; flex-direction:column; gap:var(--sc-space-4); padding:var(--sc-space-12); }
    .nav-overview-item { margin-bottom:var(--sc-space-4); }
    .nav-section-items { display:flex; flex-direction:column; gap:var(--sc-space-4); }
    .nav-section-items[hidden] { display:none; }
    .section-toggle { background:transparent; border:0; display:flex; align-items:center; justify-content:space-between; margin-top:var(--sc-space-12); padding:0 var(--sc-space-4); color:rgba(226,232,240,.5); }
    .nav-section-title { color:rgba(226,232,240,.5); text-transform:uppercase; letter-spacing:.08em; font-size:.7rem; text-align:left; }
    .section-chevron { color:rgba(203,213,225,.7); font-size:.8rem; }
    .nav-link-item, .nav-link-item:link, .nav-link-item:visited, .nav-link-item:hover, .nav-link-item:focus-visible, .nav-link-item:active {
      color:rgba(248,250,252,.82); display:flex; align-items:center; gap:var(--sc-space-12); text-decoration:none; cursor:pointer; padding:0 var(--sc-space-12); min-height:42px; border-radius:8px; font-size:.94rem; line-height:1.4; font-weight:500; border-left:2px solid transparent;
    }
    .nav-link-item:hover, .nav-link-item:focus-visible { background:var(--sc-sidebar-hover); color:#fff; }
    .nav-link-item.active { background:var(--sc-sidebar-active); color:#93c5fd; border-left-color:#60a5fa; box-shadow:inset 0 0 0 1px rgba(96,165,250,.25); font-weight:600; }
    .nav-link-item.section-active { background:rgba(148,163,184,.12); color:rgba(191,219,254,.9); border-left-color:rgba(147,197,253,.35); box-shadow:none; font-weight:500; }
    .nav-icon { width:1.25rem; height:1.25rem; display:inline-grid; place-items:center; text-align:center; flex-shrink:0; }
    .nav-icon svg { width:1.15rem; height:1.15rem; display:block; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
    .nav-label { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .nav-theme-toggle { margin-top:auto; padding:var(--sc-space-12) var(--sc-space-16); border-top:1px solid rgba(148,163,184,.18); }
    .theme-toggle-btn { background:transparent; border:0; display:flex; align-items:center; gap:var(--sc-space-12); width:100%; padding:var(--sc-space-8) var(--sc-space-12); border-radius:8px; color:rgba(248,250,252,.82); }
    .theme-toggle-btn.dark-mode .theme-switch { background:rgba(96,165,250,.25); }
    .theme-toggle-btn.dark-mode .theme-switch-thumb { transform:translateX(22px); }
    .theme-switch { margin-left:auto; width:44px; height:22px; border-radius:999px; background:rgba(248,250,252,.18); display:inline-flex; align-items:center; padding:2px; }
    .theme-switch-thumb { width:18px; height:18px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.2); transition:transform 150ms ease; }
    .nav-shell.collapsed .brand-subtitle, .nav-shell.collapsed .brand-title, .nav-shell.collapsed .tenant-pill, .nav-shell.collapsed .nav-label, .nav-shell.collapsed .nav-section-title { display:none; }
    .nav-shell.collapsed .sidebar-brand { align-items:center; justify-content:center; padding:var(--sc-space-20) var(--sc-space-12) var(--sc-space-12); }
    .nav-shell.collapsed .section-toggle { justify-content:center; margin-top:var(--sc-space-8); padding:0; }
    .nav-shell.collapsed .nav-sections { align-items:center; padding:var(--sc-space-12) var(--sc-space-8); }
    .nav-shell.collapsed .nav-link-item { justify-content:center; padding:0; width:100%; max-width:52px; }
    .nav-shell.collapsed .dashboard-nav__brand-copy, .nav-shell.collapsed .theme-switch { display:none; }
    .nav-shell.collapsed .nav-theme-toggle { padding:var(--sc-space-12) var(--sc-space-8); }
    .nav-shell.collapsed .theme-toggle-btn { justify-content:center; padding:var(--sc-space-8); }
    .main-shell { flex:1; min-width:0; display:flex; flex-direction:column; }
    .page-status-header { position:sticky; top:0; z-index:10; display:flex; align-items:flex-start; gap:var(--sc-space-20); flex-wrap:wrap; min-height:84px; padding:14px var(--sc-space-24); border-bottom:1px solid #cfd8e5; background:rgba(255,255,255,.96); box-shadow:0 10px 28px rgba(15,23,42,.06); backdrop-filter:blur(10px); }
    .page-status-header__context { display:flex; align-items:flex-start; gap:var(--sc-space-12); flex:1 1 240px; min-width:0; }
    .page-status-header__org-monogram, .page-status-header__user-avatar { width:40px; height:40px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; font-size:.88rem; font-weight:700; }
    .page-status-header__org-monogram { background:linear-gradient(135deg,#ecfdf5,#eff6ff); border:1px solid var(--sc-border-subtle); color:var(--sc-text-primary); flex:0 0 auto; }
    .page-status-header__eyebrow, .page-status-header__metric-label { font-size:.74rem; letter-spacing:.04em; text-transform:uppercase; color:var(--sc-text-muted); }
    .page-status-header__org-name { font-size:1.45rem; font-weight:700; color:var(--sc-text-primary); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .page-status-header__support-marker { display:inline-flex; width:auto; margin-top:6px; padding:4px 8px; border-radius:8px; border:1px solid var(--sc-metric-warning-border); background:var(--sc-metric-warning-bg); color:var(--sc-metric-warning-text); font-size:.78rem; font-weight:700; line-height:1.3; }
    .page-status-header__status { display:flex; align-items:flex-start; gap:var(--sc-space-16); flex:0 1 auto; min-width:0; flex-wrap:wrap; justify-content:flex-end; margin-left:auto; }
    .page-status-header__coverage-action { width:auto; border:0; text-decoration:none; cursor:pointer; font:inherit; }
    .page-status-header__coverage-action:hover { text-decoration:underline; }
    .page-status-header__coverage-action:focus-visible { outline:3px solid var(--sc-status-info); outline-offset:3px; }
    .page-status-header__metric { display:flex; flex-direction:column; gap:2px; min-width:145px; }
    .page-status-header__metric--primary { min-width:180px; }
    .page-status-header__metric-value { font-size:.98rem; line-height:1.2; color:var(--sc-text-primary); }
    .page-status-header__metric-support { font-size:.84rem; color:var(--sc-text-muted); }
    .page-status-header__actions { display:flex; align-items:flex-start; gap:var(--sc-space-12); }
    .page-status-header__user-toggle { min-height:42px; display:inline-flex; align-items:center; gap:10px; padding:0 8px 0 0; border:1px solid transparent; border-radius:999px; background:transparent; color:var(--sc-text-primary); width:auto; }
    .page-status-header__user-avatar { background:#94a3b8; color:#fff; border:1px solid rgba(15,23,42,.08); }
    .page-status-header__user-menu { position:relative; }
    .page-status-header__user-dropdown { position:absolute; right:0; margin-top:8px; min-width:220px; border-radius:var(--sc-radius-md); border:1px solid var(--sc-border-subtle); box-shadow:var(--sc-shadow-panel); padding:8px 0; background:var(--sc-surface-card); z-index:20; }
    .page-status-header__user-summary { padding:6px 16px 10px; border-bottom:1px solid var(--sc-border-subtle); margin-bottom:6px; }
    .page-status-header__user-name { font-weight:700; color:var(--sc-text-primary); }
    .page-status-header__user-email { font-size:.84rem; color:var(--sc-text-muted); }
    .dropdown-item { display:block; width:100%; padding:8px 16px; color:var(--sc-text-primary); text-decoration:none; background:transparent; border:0; text-align:left; border-radius:0; }
    .dropdown-item:hover { background:#f8fafc; color:var(--sc-text-primary); }
    .text-danger { color:#dc2626; }
    .status-badge { display:inline-flex; align-items:center; justify-content:center; min-height:28px; padding:4px 10px; border-radius:999px; font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.03em; }
    .status-badge.healthy { background:#dcfce7; color:#166534; }
    .status-badge.warning { background:#fef3c7; color:#92400e; }
    .status-badge.inactive { background:#e2e8f0; color:#475569; }
    .status-badge.info { background:#dbeafe; color:#1d4ed8; }
    .text-success { color:var(--sc-status-healthy); }
    .text-muted { color:var(--sc-text-muted); }
    .sc-action-bar { display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:10px 0 14px; margin-bottom:4px; }
    .sc-action-bar .button, .sc-action-bar button { min-height:42px; border-radius:10px; width:auto; margin-top:0; }
    .sc-action-bar__spacer { margin-left:auto; display:flex; align-items:center; gap:8px; }
    .sc-action-menu { position:relative; }
    .sc-action-menu > summary { list-style:none; display:inline-flex; align-items:center; cursor:pointer; }
    .sc-action-menu > summary::-webkit-details-marker { display:none; }
    .sc-action-menu[open] .sc-action-menu__items { display:grid; }
    .sc-action-menu__items { display:none; position:absolute; right:0; top:calc(100% + 6px); z-index:20; min-width:14rem; padding:6px; border:1px solid var(--sc-border-subtle); border-radius:8px; background:var(--sc-surface-card); box-shadow:var(--sc-shadow-soft); }
    .sc-action-menu__items a { display:block; padding:8px 10px; border-radius:6px; color:var(--sc-text-primary); text-decoration:none; font-size:.86rem; }
    .sc-action-menu__items a:hover { background:var(--sc-surface-muted); }
    .sc-chip { display:inline-flex; align-items:center; gap:6px; min-height:42px; padding:0 14px; border-radius:20px; font-size:.82rem; font-weight:500; line-height:1; border:1px solid var(--sc-border-subtle); background:var(--sc-surface-card); color:var(--sc-text-muted); white-space:nowrap; }
    .sc-chip--info { border-color:var(--sc-metric-info-border); background:var(--sc-metric-info-bg); color:var(--sc-metric-info-text); }
    .sc-chip__value { font-size:.95rem; font-weight:700; color:inherit; }
    .sc-coverage-strip { display:flex; align-items:center; flex-wrap:wrap; gap:4px 12px; background:var(--sc-surface-card); border:1px solid var(--sc-border-subtle); border-radius:var(--sc-radius-sm); padding:9px 16px; font-size:.875rem; color:var(--sc-text-muted); box-shadow:var(--sc-shadow-soft); margin-bottom:14px; }
    .sc-coverage-strip input { width:auto; padding:0; }
    .sc-coverage-divider { color:var(--sc-border-subtle); user-select:none; }
    .toolbar-row { display:flex; flex-wrap:wrap; align-items:end; gap:.75rem; }
    .toolbar-row.compact { margin-top:.6rem; }
    .toolbar-row > *, .segmented-controls > *, .pagination-row > * { width:auto; }
    .segmented-controls { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; }
    .hash-page-heading { margin:0 0 1rem; }
    .hash-page-heading h1 { margin:0 0 .55rem; font-size:1.85rem; line-height:1.2; }
    .hash-page-heading p { margin:0; color:var(--sc-text-muted); }
    .hash-page-scope { display:flex; flex-wrap:wrap; align-items:center; gap:.45rem 1.25rem; color:var(--sc-text-muted); }
    .hash-page-scope strong { color:var(--sc-text-primary); overflow-wrap:anywhere; }
    .hash-page-scope a { color:var(--accent); font-weight:700; text-decoration:none; }
    .hash-tabs { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; margin:0 0 1.4rem; border-bottom:1px solid var(--line); }
    .hash-tab { position:relative; width:auto; display:inline-flex; align-items:center; justify-content:center; min-height:3rem; border:0; border-radius:0; padding:.55rem 1rem; background:transparent; color:var(--sc-text-primary); text-decoration:none; font-weight:500; font-size:.98rem; line-height:1.2; }
    .hash-tab:hover { background:var(--sc-metric-neutral-bg); color:var(--sc-text-primary); text-decoration:none; }
    .hash-tab--active { background:transparent; color:var(--sc-text-primary); font-weight:700; }
    .hash-tab--active::after { position:absolute; right:.25rem; bottom:-1px; left:.25rem; height:3px; border-radius:3px 3px 0 0; background:var(--accent); content:""; }
    .hash-tab--active:hover { background:var(--sc-metric-neutral-bg); color:var(--sc-text-primary); }
    .hash-tab:disabled, .hash-tab[disabled] { background:var(--sc-metric-neutral-bg); color:var(--sc-text-muted); border-color:var(--line); cursor:not-allowed; opacity:.72; }
    .hash-diagnostic-callout { display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; gap:.75rem 1.25rem; align-items:center; margin-bottom:1rem; border:1px solid var(--sc-attention-border); border-radius:var(--sc-radius-sm); padding:1.15rem 1.45rem; background:linear-gradient(100deg,var(--sc-attention-bg),color-mix(in srgb,var(--sc-attention-bg) 82%,#7c2d12)); }
    .hash-diagnostic-callout__icon { display:grid; place-items:center; width:2.25rem; height:2.25rem; border-radius:999px; background:#f59e0b; color:#451a03; font-size:1.3rem; font-weight:900; }
    .hash-diagnostic-callout__copy h2 { margin:0 0 .25rem; font-size:1.1rem; }
    .hash-diagnostic-callout__copy p { margin:0; color:var(--sc-text-primary); }
    .hash-diagnostic-callout__scan { width:auto; margin:0; white-space:nowrap; }
    .hash-diagnostic-callout__scan--disabled { cursor:default; opacity:.72; }
    .hash-scan-submission-feedback { grid-column:2 / -1; display:flex; flex-wrap:wrap; gap:.35rem .7rem; align-items:center; border-top:1px solid var(--sc-attention-border); padding-top:.7rem; }
    .hash-scan-submission-feedback span { overflow-wrap:anywhere; }
    .hash-diagnostic-callout__details { position:relative; min-width:9rem; }
    .hash-diagnostic-callout__details > summary { color:var(--accent); cursor:pointer; font-weight:700; list-style:none; white-space:nowrap; }
    .hash-diagnostic-callout__details > summary::-webkit-details-marker { display:none; }
    .hash-diagnostic-callout__details[open] > div { position:absolute; z-index:10; top:2rem; right:0; width:min(32rem,80vw); border:1px solid var(--line); border-radius:8px; padding:.85rem 1rem; background:var(--panel); box-shadow:var(--sc-shadow-panel); }
    .hash-diagnostic-callout__details p { margin:.35rem 0; font-size:.84rem; }
    .hash-copy-row { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; }
    .hash-copy-row code { min-width:0; overflow-wrap:anywhere; }
    .hash-copy-button { width:auto; min-height:1.75rem; margin:0; padding:.2rem .45rem; font-size:.76rem; }
    .hash-section h2 { margin-top:0; font-size:1.05rem; }
    .historical-script-review { padding:1.4rem; }
    .historical-script-review__header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; }
    .historical-script-review__header h2 { margin:0 0 .3rem; font-size:1.35rem; }
    .historical-script-review__header p { margin:0; color:var(--sc-text-muted); }
    .historical-script-review__metrics { display:flex; flex-wrap:wrap; gap:1rem; }
    .historical-script-review__metrics > span { display:inline-flex; align-items:center; gap:.45rem; min-height:2.4rem; border:1px solid var(--line); border-radius:8px; padding:.45rem .8rem; background:var(--sc-metric-neutral-bg); }
    .historical-script-review__metrics > span strong { font-size:1.1rem; }
    .historical-script-review__metrics > span.critical { border-color:var(--sc-metric-critical-border); background:var(--sc-metric-critical-bg); color:var(--sc-metric-critical-text); }
    .historical-script-review__metrics > span.healthy { border-color:var(--sc-metric-healthy-border); background:var(--sc-metric-healthy-bg); color:var(--sc-metric-healthy-text); }
    .historical-script-review__authority { margin:.85rem 0 1rem; color:var(--sc-text-muted); }
    .historical-script-review__authority > span { margin-right:.4rem; color:var(--accent); }
    .hash-review-controls--historical { grid-template-columns:minmax(15rem,1.4fr) minmax(12rem,.65fr); max-width:48rem; margin-bottom:1rem; }
    .hash-review-controls--historical input, .hash-review-controls--historical select { min-height:2.65rem; }
    .historical-script-list { overflow:hidden; border:1px solid var(--line); border-radius:8px; }
    .historical-script-row { display:grid; grid-template-columns:minmax(18rem,1fr) minmax(10rem,.32fr) 8rem 8rem; gap:1rem; align-items:center; min-width:0; padding:1rem; border-top:1px solid var(--line); }
    .historical-script-row:first-child { border-top:0; }
    .historical-script-row[hidden] { display:none !important; }
    .historical-script-row__identity { display:grid; grid-template-columns:auto minmax(0,1fr); gap:.8rem; align-items:center; min-width:0; }
    .historical-script-row__identity > div { min-width:0; }
    .historical-script-row__identity strong, .historical-script-row__identity span { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .historical-script-row__identity > div > span { margin-top:.18rem; color:var(--sc-text-muted); }
    .historical-script-row__icon { display:grid; place-items:center; width:2.4rem; height:2.4rem; border-radius:7px; background:var(--sc-surface-muted); color:var(--sc-text-primary); font-size:.76rem; font-weight:800; }
    .historical-script-row__decision { display:grid; justify-items:start; gap:.3rem; }
    .historical-script-row__decision small { color:var(--sc-text-muted); }
    .historical-script-row time { white-space:nowrap; }
    .historical-script-row__details { position:relative; justify-self:end; }
    .historical-script-row__details > summary { color:var(--accent); cursor:pointer; font-weight:700; list-style:none; white-space:nowrap; }
    .historical-script-row__details > summary::-webkit-details-marker { display:none; }
    .historical-script-row__details[open] { grid-column:1 / -1; justify-self:stretch; border-top:1px solid var(--line); padding-top:.8rem; }
    .historical-script-row__details[open] > summary { margin-bottom:.7rem; }
    .historical-script-row__details .facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .historical-script-filter-empty { margin-top:.75rem; }
    .hash-filter-row { display:grid; grid-template-columns:minmax(12rem,2fr) minmax(10rem,1fr) minmax(10rem,1fr) minmax(12rem,1.5fr); gap:.6rem; align-items:end; margin-bottom:.75rem; }
    .hash-filter-row label { display:grid; gap:.25rem; font-size:.88rem; }
    .hash-filter-row input, .hash-filter-row select { padding:.45rem .55rem; }
    .hash-filter-row small { color:var(--sc-text-muted); line-height:1.35; }
    .hash-domain-link { color:var(--accent); font-weight:700; text-decoration:none; }
    .hash-domain-link:hover { text-decoration:underline; }
    .hash-target-identity { display:block; max-width:20rem; margin-top:.2rem; color:var(--muted); overflow-wrap:anywhere; }
    .hash-number { text-align:right; font-variant-numeric:tabular-nums; }
    .hash-badge { min-height:22px; padding:2px 8px; font-size:.72rem; letter-spacing:0; text-transform:none; }
    .hash-row--archived { background:var(--sc-metric-neutral-bg); }
    .hash-freshness-dot { display:inline-block; width:.55rem; height:.55rem; margin-left:.35rem; border-radius:999px; vertical-align:middle; }
    .hash-freshness-dot--fresh { background:#16a34a; box-shadow:0 0 0 2px #dcfce7; }
    .hash-freshness-dot--stale { background:#d97706; box-shadow:0 0 0 2px #fef3c7; }
    .hash-domain-summary { display:grid; gap:.8rem; padding:1rem; margin-bottom:1rem; border:1px solid var(--line); border-radius:8px; background:var(--sc-metric-neutral-bg); }
    .hash-domain-summary h3 { margin:0 0 .35rem; font-size:1.05rem; }
    .hash-summary-metrics { display:flex; flex-wrap:wrap; gap:.7rem 1rem; align-items:center; }
    .hash-summary-actions { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; }
    .hash-summary-actions .button { width:auto; margin-top:0; }
    .hash-decision-summary { display:grid; grid-template-columns:minmax(18rem,1.1fr) minmax(20rem,1.9fr); gap:1rem; align-items:stretch; margin-bottom:1rem; }
    .hash-decision-summary__context { display:grid; gap:.75rem; border:1px solid var(--line); border-radius:8px; padding:1rem; background:var(--sc-metric-neutral-bg); min-width:0; }
    .hash-decision-summary__context h3 { margin:.15rem 0 0; font-size:1.15rem; overflow-wrap:anywhere; }
    .hash-decision-summary__context dl { display:grid; gap:.55rem; margin:0; }
    .hash-decision-summary__context div { min-width:0; }
    .hash-decision-summary__context dt, .hash-eyebrow { color:var(--sc-text-muted); font-size:.72rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
    .hash-decision-summary__context dd { margin:.15rem 0 0; color:var(--sc-text-primary); overflow-wrap:anywhere; }
    .hash-decision-cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.55rem; min-width:0; }
    .hash-decision-card { display:grid; gap:.2rem; min-width:0; border:1px solid var(--line); border-radius:8px; padding:.75rem; background:var(--panel); }
    .hash-decision-card strong { font-size:1.25rem; line-height:1; }
    .hash-decision-card span { color:var(--sc-text-muted); font-size:.78rem; line-height:1.25; }
    .hash-decision-card.critical { border-color:#fecaca; background:#fef2f2; }
    .hash-decision-card.warning { border-color:#fde68a; background:#fffbeb; }
    .hash-decision-card.info { border-color:#bfdbfe; background:#eff6ff; }
    .hash-decision-card.healthy { border-color:#bbf7d0; background:#f0fdf4; }
    .hash-bulk-note { margin:.2rem 0 .55rem; color:var(--sc-text-muted); font-size:.86rem; }
    .hash-review-controls { display:grid; grid-template-columns:minmax(12rem,1fr) minmax(12rem,1fr) minmax(9rem,.75fr) minmax(14rem,1.25fr); gap:.6rem; align-items:end; margin-bottom:.75rem; }
    .hash-review-controls label { display:grid; gap:.25rem; font-size:.88rem; }
    .hash-review-controls select, .hash-review-controls input { width:100%; padding:.45rem .55rem; }
    #script-review { container-type:inline-size; container-name:script-review; }
    .hash-bulk-toolbar { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; margin-bottom:.75rem; }
    .hash-bulk-toolbar button { width:auto; margin-top:0; }
    .hash-expand-toggle { width:1.75rem; height:1.75rem; min-height:1.75rem; display:inline-grid; place-items:center; padding:0; border:1px solid var(--line); border-radius:999px; background:var(--panel); color:var(--accent); font-weight:700; line-height:1; vertical-align:middle; }
    .hash-chip-row { display:flex; flex-wrap:wrap; gap:.3rem; margin-top:.35rem; }
    .hash-chip { display:inline-flex; align-items:center; min-height:1.35rem; padding:.12rem .45rem; border:1px solid var(--line); border-radius:999px; background:var(--sc-metric-neutral-bg); color:var(--sc-text-muted); font-size:.74rem; line-height:1.2; }
    .hash-state-badge { white-space:normal; text-align:center; line-height:1.2; }
    .hash-row-actions { display:flex; flex-wrap:wrap; gap:.4rem; align-items:flex-start; }
    .hash-row-actions form { margin:0; }
    .hash-row-actions button { margin-top:0; }
    .hash-row-actions [aria-pressed="true"] { background:var(--accent); border-color:var(--accent); color:white; }
    .hash-review-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:1rem; align-items:start; }
    .hash-review-table-wrap { min-width:0; overflow-x:auto; }
    .hash-review-table-wrap table { min-width:74rem; white-space:normal; }
    .hash-review-table-wrap th { color:var(--sc-text-muted); font-size:.72rem; letter-spacing:.04em; text-transform:uppercase; }
    .hash-review-table-wrap td { min-width:0; white-space:normal; vertical-align:middle; }
    .hash-review-control-cell { width:2.35rem; min-width:2.35rem; text-align:center; padding-left:.45rem; padding-right:.45rem; line-height:0; }
    .hash-review-control-cell input[type="checkbox"] { width:1rem; height:1rem; margin:0; vertical-align:middle; }
    .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(3) { min-width:9rem; max-width:12rem; }
    .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(4), .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(8) { min-width:13rem; max-width:18rem; }
    .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(5), .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(6) { min-width:12rem; max-width:20rem; }
    .hash-review-group-row td { background:var(--sc-metric-neutral-bg); color:var(--sc-text-muted); padding:.55rem .65rem; }
    .hash-review-group-summary { display:grid; grid-template-columns:auto minmax(0,1fr); gap:.15rem .65rem; align-items:baseline; width:min(100%,42rem); min-width:0; }
    .hash-review-group-summary .hash-eyebrow { grid-row:1 / span 2; align-self:start; white-space:nowrap; }
    .hash-review-group-summary strong { color:var(--sc-text-primary); overflow-wrap:anywhere; }
    .hash-review-group-summary__meta { font-size:.82rem; line-height:1.35; overflow-wrap:anywhere; }
    .hash-review-table-wrap [hidden] { display:none !important; }
    .hash-review-table-wrap tr[data-hash-review-row][data-selected="true"] { background:#eff6ff; box-shadow:inset 3px 0 0 var(--accent); }
    .historical-authority-review-table-wrap { min-width:0; overflow-x:auto; }
    .historical-authority-review-table-wrap table { min-width:64rem; white-space:normal; }
    .historical-authority-review-table-wrap td { min-width:0; white-space:normal; vertical-align:middle; }
    .hash-review-drawer-stack { min-width:0; }
    .hash-review-drawer { min-width:0; border:1px solid var(--line); border-radius:8px; padding:1rem; background:var(--panel); color:var(--sc-text-primary); position:sticky; top:1rem; }
    .hash-review-drawer h3 { margin:0 0 .75rem; font-size:1rem; overflow-wrap:anywhere; }
    .hash-drawer-hero { display:grid; gap:.5rem; padding-bottom:.75rem; }
    .hash-drawer-hero p { margin:0; color:var(--sc-text-muted); }
    .hash-detail-section { display:grid; gap:.5rem; padding:.75rem 0; border-top:1px solid var(--line); }
    .hash-detail-section h4 { margin:0; font-size:.9rem; }
    .hash-review-detail-card { display:grid; gap:.6rem; padding:.75rem; border:1px solid var(--line); border-radius:8px; background:var(--sc-metric-neutral-bg); }
    .hash-script-review-page { padding:1.75rem 2rem 2.25rem; border-radius:18px; overflow:hidden; }
    .hash-queue-page-heading { margin-bottom:1.3rem; }
    .hash-queue-page-heading h1 { margin:0 0 .55rem; font-size:1.8rem; letter-spacing:-.025em; }
    .hash-queue-page-context { display:flex; flex-wrap:wrap; gap:.55rem .9rem; align-items:center; color:var(--sc-text-muted); }
    .hash-queue-page-context strong { color:var(--accent); }
    .hash-queue-priority { display:grid; grid-template-columns:4.15rem minmax(0,1fr) minmax(18rem,.62fr); gap:1.2rem; align-items:center; margin-bottom:1.25rem; padding:1rem 1.2rem; border:1px solid #3b82f6; border-radius:10px; background:linear-gradient(110deg,rgba(37,99,235,.12),rgba(14,43,76,.18)); }
    .hash-queue-priority__icon { width:3.4rem; height:3.4rem; display:grid; place-items:center; border:1px solid #3b82f6; border-radius:999px; background:rgba(37,99,235,.28); color:#dbeafe; }
    .hash-queue-priority__icon svg { width:1.75rem; height:1.75rem; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linejoin:round; }
    .hash-queue-priority__copy h2 { margin:0 0 .25rem; font-size:1.45rem; }
    .hash-queue-priority__copy p { margin:0; color:var(--sc-text-muted); }
    .hash-queue-priority__progress { display:grid; grid-template-columns:auto minmax(8rem,1fr); gap:.8rem; align-items:center; justify-content:end; font-variant-numeric:tabular-nums; }
    .hash-queue-progress { height:.7rem; overflow:hidden; border-radius:999px; background:#64748b; }
    .hash-queue-progress span { display:block; height:100%; border-radius:inherit; background:#2563eb; }
    .hash-review-controls { display:grid; grid-template-columns:1fr; gap:1.2rem; margin-bottom:.8rem; }
    .hash-review-filter-chips { display:flex; flex-wrap:wrap; gap:.75rem; }
    .hash-review-filter-chip { width:auto; min-height:2.8rem; display:inline-flex; gap:.55rem; align-items:center; margin:0; padding:.55rem 1.35rem; border:1px solid #52657d; border-radius:8px; background:transparent; color:var(--sc-text-primary); font-size:.94rem; }
    .hash-review-filter-chip strong { display:grid; min-width:1.45rem; height:1.45rem; place-items:center; padding:0 .3rem; border-radius:999px; background:#1d4ed8; color:white; }
    .hash-review-filter-chip[data-hash-review-filter="high-risk"] strong { background:#b91c1c; }
    .hash-review-filter-chip[data-hash-review-filter="inline"] strong { background:#5b21b6; }
    .hash-review-filter-chip.is-active { border-color:#3b82f6; background:rgba(37,99,235,.24); box-shadow:inset 0 0 0 1px rgba(96,165,250,.2); }
    .hash-review-search-sort { display:grid; grid-template-columns:minmax(18rem,35rem) minmax(15rem,17rem); justify-content:space-between; gap:1rem; }
    .hash-review-search { display:grid; grid-template-columns:1.4rem minmax(0,1fr); align-items:center; gap:.65rem; min-height:3.1rem; padding:0 .9rem; border:1px solid var(--line); border-radius:8px; background:var(--panel); }
    .hash-review-search svg { width:1.3rem; height:1.3rem; fill:none; stroke:var(--sc-text-muted); stroke-width:1.8; }
    .hash-review-search input { min-width:0; padding:0; border:0; outline:0; background:transparent; box-shadow:none; }
    .hash-review-sort { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; padding:0 .75rem; border:1px solid var(--line); border-radius:8px; background:var(--panel); }
    .hash-review-sort span { color:var(--sc-text-muted); }
    .hash-review-sort select { min-width:0; width:100%; padding:.75rem 2rem .75rem .4rem; border:0; background-color:transparent; background-repeat:no-repeat; background-position:right .3rem center; color:var(--sc-text-primary); font-weight:700; }
    .hash-review-layout { display:block; }
    [data-hash-review-bulk][hidden] { display:none !important; }
    .hash-review-queue { display:grid; gap:.75rem; }
    .hash-review-queue-card { display:grid; grid-template-columns:2.6rem 5rem minmax(16rem,1.25fr) minmax(17rem,.85fr) auto; gap:1rem; align-items:center; min-width:0; padding:1rem 1.2rem; border:1px solid var(--line); border-radius:10px; background:var(--panel); color:var(--sc-text-primary); }
    .hash-review-queue-card[hidden], .hash-review-inline-group[hidden], .hash-review-inline-items[hidden] { display:none !important; }
    .hash-review-queue-card__select { display:grid; place-items:center; }
    .hash-review-queue-card__select input { width:1.15rem; height:1.15rem; margin:0; appearance:none; border:1px solid #94a3b8; border-radius:4px; background:transparent; }
    .hash-review-queue-card__select input:checked { border-color:#3b82f6; background:#2563eb; box-shadow:inset 0 0 0 3px var(--panel); }
    .hash-review-script-icon { width:3.5rem; height:3.8rem; display:grid; place-items:center; color:#dbeafe; }
    .hash-review-script-icon svg { width:3.1rem; height:3.7rem; fill:#2563eb; stroke:#93c5fd; stroke-width:1.1; stroke-linejoin:round; }
    .hash-review-script-icon svg path:nth-child(n+2) { fill:none; stroke:white; stroke-width:1.55; }
    .hash-review-script-icon--inline { width:3.6rem; height:3.6rem; border:1px solid #8b5cf6; border-radius:9px; background:#3b2170; font-size:1.05rem; font-weight:800; }
    .hash-review-queue-card__summary { min-width:0; }
    .hash-review-queue-card__summary h3 { margin:0 0 .35rem; font-size:1.25rem; overflow-wrap:anywhere; }
    .hash-review-queue-card__summary > strong { display:block; margin:.65rem 0 .12rem; }
    .hash-review-queue-card__summary p { margin:.08rem 0; color:var(--sc-text-muted); font-size:.9rem; line-height:1.4; overflow-wrap:anywhere; }
    .hash-review-inline-count { margin-top:-.2rem !important; }
    .hash-review-badges { display:flex; flex-wrap:wrap; gap:.4rem; }
    .hash-review-badge { display:inline-flex; align-items:center; min-height:1.55rem; padding:.12rem .55rem; border:1px solid var(--line); border-radius:5px; font-size:.76rem; line-height:1; }
    .hash-review-badge--state { border-color:#2563eb; background:#1d4ed8; color:white; }
    .hash-review-badge--critical { border-color:#ef4444; background:rgba(127,29,29,.42); color:#fecaca; }
    .hash-review-badge--warning { border-color:#d97706; background:rgba(120,53,15,.34); color:#fde68a; }
    .hash-review-badge--party { border-color:#2f855a; background:rgba(20,83,45,.38); color:#bbf7d0; }
    .hash-review-badge--neutral { color:var(--sc-text-muted); }
    .hash-review-queue-card__metadata { display:grid; gap:.85rem; align-self:stretch; align-content:center; padding-left:1.6rem; border-left:1px solid var(--line); color:var(--sc-text-muted); }
    .hash-review-queue-card__metadata > div { display:grid; grid-template-columns:1.45rem minmax(0,1fr); gap:.55rem; align-items:start; min-width:0; }
    .hash-review-queue-card__metadata strong { color:#60a5fa; font-weight:500; overflow-wrap:anywhere; }
    .hash-review-metadata-icon { color:#cbd5e1; font-size:1.25rem; line-height:1; }
    .hash-review-queue-card__action { display:flex; gap:1rem; align-items:center; justify-content:flex-end; }
    .hash-review-primary-action { width:auto; min-width:9.5rem; margin:0; padding:.8rem 1rem; white-space:nowrap; }
    .hash-review-card-chevron { color:#cbd5e1; font-size:2rem; font-weight:300; }
    .hash-review-inline-group { display:grid; gap:.65rem; }
    .hash-review-inline-items { display:grid; gap:.65rem; padding-left:3.25rem; }
    .hash-review-queue-card--inline-child { grid-template-columns:2.6rem 3.5rem minmax(14rem,1.25fr) minmax(15rem,.85fr) auto; background:var(--sc-metric-neutral-bg); }
    .hash-review-queue-card--inline-child .hash-review-script-icon { transform:scale(.82); }
    .hash-review-pagination { display:flex; gap:.65rem; align-items:center; justify-content:center; margin-top:1.1rem; color:var(--sc-text-muted); }
    .hash-review-pagination button { width:2.35rem; min-width:2.35rem; margin:0; padding:.4rem; }
    .hash-review-pagination__page { min-width:2.25rem; height:2.25rem; display:grid; place-items:center; border:1px solid #3b82f6; border-radius:7px; color:var(--sc-text-primary); }
    .hash-review-pagination__summary { margin-left:1.2rem; }
    .hash-review-modal-backdrop { position:fixed; inset:0; z-index:70; display:grid; place-items:center; padding:1.5rem; background:rgba(2,6,23,.78); }
    .hash-review-modal-backdrop[hidden] { display:none !important; }
    .hash-review-modal { width:min(58rem,100%); max-height:calc(100vh - 3rem); overflow:auto; padding:1.4rem; border:1px solid #3b82f6; border-radius:14px; background:var(--panel); box-shadow:0 24px 80px rgba(0,0,0,.55); }
    .hash-review-modal__close { position:sticky; top:0; z-index:2; float:right; width:auto; margin:0 0 .5rem 1rem; }
    .hash-review-modal .hash-review-drawer { position:static; clear:both; padding:0; border:0; background:transparent; }
    body.hash-review-modal-open { overflow:hidden; }
    .browser-capture-attempts { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:.75rem; margin-top:.75rem; }
    .browser-capture-attempt { min-width:0; padding:.75rem; border:1px solid var(--line); border-radius:8px; background:var(--sc-metric-neutral-bg); }
    .browser-capture-attempt h5 { margin:0 0 .5rem; overflow-wrap:anywhere; }
    .hash-wrap { overflow-wrap:anywhere; word-break:break-word; }
    .hash-drawer-form { display:grid; gap:.6rem; }
    .hash-drawer-form label { display:grid; gap:.25rem; }
    .hash-drawer-form textarea { width:100%; resize:vertical; }
    .hash-raw-content { white-space:pre-wrap; overflow-wrap:anywhere; margin:0; max-height:12rem; overflow:auto; border:1px solid var(--line); border-radius:8px; padding:.65rem; background:var(--sc-metric-neutral-bg); color:var(--sc-text-primary); }
    .hash-dependency-controls { display:grid; grid-template-columns:minmax(14rem,1fr) minmax(14rem,1fr); gap:.75rem; margin-bottom:1rem; }
    .hash-dependency-controls label { display:grid; gap:.25rem; font-size:.88rem; }
    .hash-dependency-controls select, .hash-readonly-field { width:100%; min-height:2.4rem; padding:.45rem .55rem; border:1px solid var(--line); border-radius:8px; background:var(--panel); color:var(--sc-text-primary); }
    .hash-dependency-layout { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(18rem,.8fr); gap:1rem; align-items:start; }
    .hash-dependency-tree, .hash-dependency-cards { min-width:0; display:grid; gap:.75rem; }
    .hash-dependency-tree h3, .hash-dependency-cards h3 { margin:0; font-size:1rem; }
    .hash-dependency-page, .hash-dependency-card { border:1px solid var(--line); border-radius:8px; padding:.85rem; background:var(--panel); color:var(--sc-text-primary); }
    .hash-dependency-page ul { margin:.5rem 0 0; padding-left:1.2rem; }
    .hash-dependency-card__header { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.5rem; align-items:flex-start; margin-bottom:.5rem; }
    .pagination-row { display:flex; justify-content:flex-end; align-items:center; gap:.5rem; color:var(--sc-text-muted); }
    .sc-table-pagination { display:grid; justify-items:end; gap:.2rem; margin:.55rem 0 .65rem; color:var(--sc-text-muted); }
    .sc-table-pagination--header { margin:0; flex:0 1 auto; min-width:min(100%, 18rem); }
    .sc-table-pagination--summary-only { display:flex; justify-content:flex-start; margin:.2rem 0 .55rem; }
    .sc-table-pagination__summary { font-size:.78rem; font-weight:700; color:var(--sc-text-muted); }
    .sc-table-pagination__controls { display:flex; flex-wrap:nowrap; justify-content:flex-end; align-items:center; gap:.45rem; }
    .sc-table-pagination__nav, .sc-table-pagination__size { display:flex; flex-wrap:nowrap; align-items:center; gap:.4rem; }
    .sc-table-pagination__size { font-size:.82rem; font-weight:700; color:var(--sc-text-muted); }
    .sc-table-pagination__size select { width:4.9rem; flex:0 0 4.9rem; min-height:2rem; padding:.25rem 2rem .25rem .55rem; border:1px solid var(--line); border-radius:8px; appearance:none; -webkit-appearance:none; background-color:var(--panel); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%23647589' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .6rem center; background-size:1rem; color:var(--sc-text-primary); }
    .sc-table-pagination__page { font-size:.82rem; font-weight:700; color:var(--sc-text-primary); white-space:nowrap; }
    .sc-table-pagination__button { width:2rem; min-width:2rem; min-height:2rem; padding:.25rem; display:inline-flex; align-items:center; justify-content:center; line-height:1; }
    .sc-table-pagination [disabled] { opacity:.55; cursor:not-allowed; }
    .sc-panel-title-row { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; gap:.75rem; margin-bottom:.75rem; }
    .sc-panel-title-row > h2:first-child, .sc-panel-title-row > h3:first-child { margin:0; }
    tr[data-sc-pagination-hidden="true"] { display:none !important; }
    .warning-banner { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; border:1px solid #f59e0b; border-radius:var(--sc-radius-sm); padding:12px 16px; margin-bottom:14px; background:#fffbeb; color:#92400e; }
    .warning-banner[hidden] { display:none; }
    .warning-banner__copy { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; flex:1 1 24rem; min-width:0; }
    .scan-queue-open { width:auto; margin-top:0; }
    .scan-queue-modal { width:min(72rem, calc(100vw - 2rem)); max-height:min(82vh, 52rem); border:1px solid var(--line); border-radius:8px; padding:0; background:var(--panel); color:var(--ink); box-shadow:0 24px 70px rgba(15,23,42,.32); }
    .scan-queue-modal::backdrop { background:rgba(2,6,23,.62); }
    .modal-header { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; padding:1rem; border-bottom:1px solid var(--line); }
    .modal-header h2 { margin:.1rem 0 .25rem; }
    .modal-header p { margin:0; }
    .scan-queue-close { width:auto; margin-top:0; }
    .scan-queue-bulk-form { display:none; }
    .scan-queue-bulk { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; justify-content:flex-end; }
    .scan-queue-bulk strong { color:var(--sc-text-muted); font-size:.86rem; white-space:nowrap; }
    .scan-queue-bulk button { width:auto; margin-top:0; }
    .scan-queue-table-wrap { max-height:60vh; overflow:auto; padding:.5rem 1rem 1rem; }
    .scan-queue-table { min-width:68rem; table-layout:fixed; }
    .scan-queue-select-column { width:4.5rem; text-align:center; }
    .scan-queue-select-column input[type="checkbox"] { width:1rem; height:1rem; margin:0; vertical-align:middle; }
    .scan-queue-table th:nth-child(3), .scan-queue-table td:nth-child(3) { width:5.5rem; white-space:nowrap; }
    .scan-queue-table th:nth-child(4), .scan-queue-table td:nth-child(4) { width:5.25rem; white-space:nowrap; }
    .scan-queue-table th:nth-child(5), .scan-queue-table td:nth-child(5) { width:10rem; white-space:nowrap; }
    .scan-queue-table th:nth-child(6) { width:10rem; white-space:nowrap; }
    .scan-queue-table td:nth-child(6) { width:10rem; white-space:normal; overflow-wrap:anywhere; }
    .scan-queue-table th:nth-child(7), .scan-queue-table td:nth-child(7) { width:9.5rem; white-space:nowrap; }
    .scan-queue-table td:nth-child(2) { min-width:20rem; max-width:34rem; overflow-wrap:anywhere; }
    .queue-actions { display:flex; flex-wrap:wrap; gap:.45rem; align-items:center; }
    .queue-actions form { width:auto; }
    .queue-error { color:#b91c1c; margin-top:.35rem; font-size:.86rem; max-width:34rem; }
    .status-badge.critical { background:#fee2e2; color:#991b1b; }
    .status-badge.neutral { background:#e2e8f0; color:#475569; }
    .domain-progress { width:100%; height:8px; border-radius:999px; overflow:hidden; background:rgba(148,163,184,.25); margin:.5rem 0; }
    .domain-progress span { display:block; height:100%; background:#22c55e; }
    .content-shell { padding:var(--sc-space-24); }
    .panel { background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:1rem; box-shadow:none; margin-bottom:.8rem; }
    .hero { margin-top:0; }
    h1, h2, h3, h4 { color:var(--sc-text-primary); }
    .grid { display:grid; gap:1rem; grid-template-columns:repeat(auto-fit, minmax(18rem,1fr)); }
    .stack { display:grid; gap:.75rem; }
    .auth-shell { width:min(100%, 32rem); display:grid; gap:.85rem; justify-items:center; }
    /* Cross-organization portfolio (/app/portfolio): tenant-free chrome, so it lives inside .auth-main. */
    .portfolio-shell { width:min(100%, 80rem); align-self:start; display:grid; gap:.2rem; color:var(--sc-text-primary); }
    .portfolio-actions { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; margin-top:.5rem; }
    .portfolio-actions form { width:auto; }
    .portfolio-summary dl { display:grid; grid-template-columns:repeat(auto-fit, minmax(10rem,1fr)); gap:.75rem; margin:0; }
    .portfolio-summary dt { font-size:.8rem; color:var(--sc-text-muted); }
    .portfolio-summary dd { margin:0; font-size:1.5rem; font-weight:700; }
    .portfolio-table-wrap { overflow-x:auto; }
    .portfolio-table { width:100%; border-collapse:collapse; }
    .portfolio-table th, .portfolio-table td { text-align:left; vertical-align:top; padding:.55rem .6rem; border-bottom:1px solid var(--line); }
    .portfolio-table tbody th { font-weight:600; }
    .portfolio-muted { color:var(--sc-text-muted); font-size:.85rem; }
    .portfolio-note--warning { border-color:#fde68a; background:#fffbeb; color:#92400e; }
    .portfolio-footnote { font-size:.8rem; color:var(--sc-text-muted); margin:.25rem 0 0; }
    [data-theme="dark"] .portfolio-note--warning { background:#2b2111; border-color:#92400e; color:#fcd34d; }
    .auth-card { width:min(28rem, 100%); margin:0 auto; padding:1.35rem; border-color:rgba(16,36,63,.18); border-radius:8px; background:var(--sc-auth-card); box-shadow:0 22px 55px rgba(16,36,63,.12); color:var(--sc-auth-navy); }
    .auth-card--wide { width:min(44rem, 100%); }
    .auth-logo { display:flex; align-items:center; gap:.75rem; padding-bottom:1rem; margin-bottom:1rem; border-bottom:1px solid rgba(16,36,63,.12); color:var(--sc-auth-navy); }
    .auth-logo__mark { width:42px; height:46px; display:inline-grid; place-items:center; flex:0 0 auto; clip-path:polygon(50% 0, 92% 16%, 84% 75%, 50% 100%, 16% 75%, 8% 16%); background:var(--sc-auth-navy); color:var(--sc-auth-card); font-size:.72rem; font-weight:800; letter-spacing:.04em; }
    .auth-logo__kicker { display:block; margin-bottom:.12rem; color:var(--sc-auth-accent); font-size:.72rem; font-weight:800; letter-spacing:.08em; line-height:1.3; text-transform:uppercase; }
    .auth-logo strong { display:block; color:var(--sc-auth-navy); font-size:1.02rem; line-height:1.2; }
    .auth-card__heading { margin-bottom:1rem; }
    .auth-card__heading h2 { margin:.1rem 0 .4rem; color:var(--sc-auth-navy); font-size:1.65rem; line-height:1.15; }
    .auth-card__heading p { margin:0; color:var(--sc-text-muted); }
    .auth-eyebrow { margin:0 0 .35rem !important; color:var(--sc-auth-accent) !important; font-size:.74rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
    .auth-form { margin-top:1rem; }
    .auth-field { display:grid; gap:.35rem; }
    .auth-field label { color:var(--sc-auth-navy); }
    .auth-field input { min-height:2.85rem; background:#fff; border-color:rgba(16,36,63,.22); color:#10243f; }
    .auth-field input:focus { outline:3px solid rgba(183,121,31,.22); border-color:var(--sc-auth-accent); }
    .auth-password-field { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:stretch; border:1px solid rgba(16,36,63,.22); border-radius:var(--sc-radius-sm); overflow:hidden; background:#fff; }
    .auth-password-field:focus-within { outline:3px solid rgba(183,121,31,.22); border-color:var(--sc-auth-accent); }
    .auth-password-field input { border:0; border-radius:0; min-width:0; outline:0; }
    .auth-password-toggle { width:auto; margin:0; padding:0 .8rem; border:0; border-left:1px solid rgba(16,36,63,.16); border-radius:0; background:transparent; color:var(--sc-auth-navy); font-size:.82rem; }
    .auth-password-toggle:hover { background:var(--sc-auth-accent-soft); color:var(--sc-auth-navy); }
    .auth-feedback { margin:.85rem 0 1rem; border:1px solid transparent; border-radius:8px; padding:.75rem .85rem; }
    .auth-feedback p { margin:0; color:var(--sc-auth-navy); }
    .auth-feedback--success { background:var(--sc-auth-success-bg); border-color:#86efac; }
    .auth-feedback--error { background:var(--sc-auth-error-bg); border-color:#fecdd3; }
    .auth-link-row { display:flex; align-items:center; justify-content:space-between; gap:.75rem; flex-wrap:wrap; margin-top:1rem; font-size:.9rem; }
    .auth-link-row a { color:var(--sc-auth-navy); font-weight:700; text-decoration:none; }
    .auth-link-row a:hover { color:var(--sc-auth-accent); text-decoration:underline; }
    .auth-footer-note { width:min(28rem, 100%); margin:0; text-align:center; color:rgba(16,36,63,.68); font-size:.82rem; }
    .auth-card--wide + .auth-footer-note { width:min(44rem, 100%); }
    .auth-account-summary { margin:.2rem 0 1rem; padding:.75rem .85rem; border:1px solid rgba(16,36,63,.12); border-radius:8px; background:rgba(255,255,255,.46); font-weight:700; color:var(--sc-auth-navy); }
    .auth-organization-list { margin:1rem 0; }
    .auth-facts { display:grid; gap:.55rem; margin:1rem 0; }
    .auth-facts div { display:grid; gap:.15rem; padding:.65rem .75rem; border:1px solid rgba(16,36,63,.12); border-radius:8px; background:rgba(255,255,255,.46); }
    .auth-facts dt { color:var(--sc-auth-accent); font-size:.72rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
    .auth-facts dd { margin:0; color:var(--sc-auth-navy); font-weight:700; overflow-wrap:anywhere; }
    /* Authenticator setup. Steps are numbered by a CSS counter so steps hidden for this device are not
       counted. The otpauth:// link only opens on a device with an authenticator app (a phone or tablet);
       desktop browsers have no handler, so the phone-only step is hidden unless the device is touch-first.
       Browsers that do not support these media features get the computer steps, which work everywhere. */
    .mfa-setup-steps { list-style:none; margin:1.1rem 0 0; padding:0; counter-reset:mfa-step; display:grid; gap:1.15rem; }
    .mfa-setup-step { counter-increment:mfa-step; display:grid; grid-template-columns:1.75rem minmax(0,1fr); column-gap:.8rem; align-items:start; }
    .mfa-setup-step::before { content:counter(mfa-step); grid-row:1 / span 6; width:1.75rem; height:1.75rem; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--sc-auth-accent-soft); color:var(--sc-auth-accent); font-size:.85rem; font-weight:800; }
    .mfa-setup-step > * { grid-column:2; }
    .mfa-setup-step__title { margin:.15rem 0 0; color:var(--sc-auth-navy); font-weight:700; line-height:1.35; }
    .mfa-setup-step__hint { margin:.25rem 0 0; color:var(--sc-text-muted); font-size:.9rem; }
    .mfa-setup-step--phone { display:none; }
    .mfa-setup-key-panel { margin:.65rem 0 0; padding:.85rem 1rem; border:1px solid rgba(16,36,63,.16); border-radius:8px; background:rgba(16,36,63,.035); }
    .mfa-setup-key-panel__key { display:flex; align-items:center; justify-content:space-between; gap:.75rem; }
    .mfa-setup-key-panel .mfa-setup-key { color:var(--sc-auth-navy); font-size:1.05rem; font-weight:700; letter-spacing:.06em; line-height:1.5; overflow-wrap:anywhere; background:none; padding:0; }
    .mfa-setup-key-panel--compact { padding:.6rem .8rem; }
    .mfa-setup-key-panel--compact .mfa-setup-key { font-size:.95rem; }
    .mfa-setup-key-panel__meta { display:grid; grid-template-columns:auto minmax(0,1fr); gap:.2rem .9rem; margin:.7rem 0 0; padding-top:.65rem; border-top:1px solid rgba(16,36,63,.1); font-size:.85rem; }
    .mfa-setup-key-panel__meta dt { color:var(--sc-text-muted); }
    .mfa-setup-key-panel__meta dd { margin:0; color:var(--sc-auth-navy); overflow-wrap:anywhere; }
    .auth-card .mfa-copy-key { width:auto; min-height:0; margin:0; padding:.35rem .8rem; flex:none; background:transparent; color:var(--sc-auth-navy); border:1px solid rgba(16,36,63,.24); font-size:.85rem; }
    .auth-card .mfa-copy-key:hover { background:var(--sc-auth-accent-soft); }
    .auth-card .mfa-open-app { display:block; width:100%; margin:.65rem 0 0; text-align:center; background:transparent; color:var(--sc-auth-navy); border:1px solid rgba(16,36,63,.24); }
    .mfa-setup-form { margin-top:.55rem; }
    /* The step title already says "Enter the 6-digit code", so the field label is kept for screen readers only. */
    .mfa-setup-form .auth-field label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
    @media (hover: none) and (pointer: coarse) {
      .mfa-setup-step--phone { display:grid; }
      .mfa-setup-step--computer { display:none; }
    }
    [data-theme="dark"] .mfa-setup-key-panel { border-color:#334155; background:#152337; }
    [data-theme="dark"] .mfa-setup-key-panel__meta { border-top-color:#2a3a52; }
    [data-theme="dark"] .auth-card .mfa-copy-key, [data-theme="dark"] .auth-card .mfa-open-app { border-color:#475569; }
    .auth-state-copy { margin:.5rem 0 1rem; }
    .auth-actions { display:grid; gap:.6rem; margin-top:1rem; }
    .stack-list { display:grid; gap:.55rem; padding-left:1.2rem; }
    .facts { display:grid; gap:.75rem; margin:0; }
    .facts div { min-width:0; border-bottom:1px solid var(--line); padding-bottom:.65rem; }
    .facts dt { font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); margin-bottom:.35rem; }
    .facts dd { min-width:0; margin:0; overflow-wrap:anywhere; word-break:break-word; }
    .facts dd code, .facts dd a { overflow-wrap:anywhere; word-break:break-word; }
    .comparison-summary { grid-template-columns:repeat(auto-fit, minmax(7rem,1fr)); }
    .summary-grid { display:grid; gap:1rem; grid-template-columns:repeat(auto-fit, minmax(9rem,1fr)); }
    .summary-grid.compact { margin-bottom:1rem; }
    .operations-shell { display:grid; gap:.85rem; }
    .operations-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(16rem,.5fr) auto; align-items:center; gap:.75rem; }
    .operations-hero h1 { margin:.05rem 0 .18rem; font-size:1.45rem; line-height:1.15; }
    .operations-hero p { margin:0; }
    .operations-hero__callout { display:grid; gap:.2rem; min-width:0; border:1px solid var(--line); border-radius:8px; padding:.6rem .75rem; background:var(--sc-metric-warning-bg); color:var(--sc-metric-warning-text); }
    .operations-hero__callout strong { font-size:1rem; line-height:1.3; color:inherit; }
    .operations-hero__callout span { font-size:.86rem; line-height:1.35; color:inherit; }
    .operations-hero__actions { justify-content:flex-end; align-items:center; }
    .operations-metric-strip { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.5rem; }
    .operations-metric { display:grid; gap:.15rem; min-width:0; border:1px solid var(--line); border-radius:8px; padding:.6rem .75rem; background:var(--panel); color:var(--sc-text-primary); border-left-width:4px; }
    .operations-metric strong { font-size:1.28rem; line-height:1; }
    .operations-metric span { color:var(--sc-text-muted); font-size:.82rem; line-height:1.25; }
    .operations-metric--critical { border-left-color:var(--sc-status-critical); }
    .operations-metric--warning { border-left-color:var(--sc-status-warning); }
    .operations-metric--info { border-left-color:var(--sc-status-informational); }
    .operations-metric--neutral { border-left-color:var(--sc-border-subtle); }
    .operations-metric--healthy { border-left-color:var(--sc-status-healthy); }
    .operations-metric[href] { text-decoration:none; }
    .operations-metric--active { outline:2px solid rgba(14,107,95,.28); outline-offset:2px; }
    .decision-center-tabs { display:flex; flex-wrap:wrap; gap:.45rem; align-items:center; border:1px solid var(--line); border-radius:8px; padding:.35rem; background:var(--panel); }
    .decision-center-tab { display:inline-flex; align-items:center; justify-content:center; min-height:2.25rem; border:1px solid transparent; border-radius:8px; padding:.45rem .75rem; color:var(--sc-text-muted); text-decoration:none; font-weight:800; }
    .decision-center-tab:hover, .decision-center-tab:focus-visible { border-color:var(--line); color:var(--sc-text-primary); }
    .decision-center-tab--active { background:var(--sc-metric-info-bg); border-color:var(--accent); color:var(--sc-text-primary); }
    .decision-evidence-bridge { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.55rem; border:1px solid var(--line); border-radius:8px; padding:.55rem .7rem; background:var(--panel); }
    .decision-evidence-bridge > div:first-child { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; min-width:0; }
    .decision-evidence-bridge .actions { flex-wrap:nowrap; }
    .decision-evidence-bridge .actions .button { white-space:nowrap; }
    .decision-evidence-bridge strong { color:var(--sc-text-primary); }
    .decision-evidence-bridge span:not(.status-badge) { color:var(--sc-text-muted); overflow-wrap:anywhere; }
    .operations-review-worklist { display:grid; gap:0; min-width:0; }
    .operations-review-list { display:grid; gap:.75rem; min-width:0; }
    .operations-review-row { display:grid; grid-template-columns:auto minmax(10rem,1.25fr) minmax(9rem,.9fr) minmax(8rem,.72fr) auto; gap:.55rem; align-items:center; border:1px solid var(--line); border-radius:8px; padding:.42rem .55rem; background:var(--panel); }
    .operations-review-row__badges, .operations-review-row__status, .operations-review-row__actions, .operations-finding-row__badges, .operations-finding-row__meta { display:flex; flex-wrap:wrap; gap:.35rem; align-items:center; min-width:0; }
    .operations-review-row__script, .operations-review-row__page, .operations-review-row__status { min-width:0; }
    .operations-review-row h3, .operations-finding-row h3 { margin:0; font-size:.92rem; line-height:1.18; overflow-wrap:anywhere; }
    .operations-review-row .trace, .operations-finding-row .trace { font-size:.78rem; line-height:1.2; }
    .operations-review-row__actions { display:grid; grid-template-columns:minmax(7.5rem,auto) auto auto; justify-content:end; gap:.35rem; min-width:0; }
    .operations-review-row__actions form, .decision-row-menu__body form { margin:0; }
    .operations-review-row__actions .button, .operations-review-row__actions button { min-height:2rem; padding:.36rem .55rem; font-size:.82rem; line-height:1.15; }
    .decision-row-menu, .decision-row-details { position:static; min-width:0; }
    .decision-row-menu[open], .decision-row-details[open] { grid-column:1 / -1; }
    .operations-review-row > .decision-row-details { grid-column:1 / -1; width:100%; }
    .operations-review-row > .decision-row-details > summary { display:flex; width:max-content; margin-left:auto; }
    .decision-row-menu summary, .decision-row-details summary { cursor:pointer; list-style:none; }
    .decision-row-menu summary::-webkit-details-marker, .decision-row-details summary::-webkit-details-marker { display:none; }
    .decision-row-menu__body { display:grid; gap:.45rem; width:100%; min-width:0; margin-top:.35rem; border:1px solid var(--line); border-radius:8px; padding:.6rem; background:var(--panel); box-shadow:inset 0 0 0 1px rgba(15,23,42,.02); }
    .decision-row-details__body { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; width:100%; min-width:0; margin-top:.35rem; border:1px solid var(--line); border-radius:8px; padding:.75rem; background:var(--panel); color:var(--sc-text-primary); box-shadow:inset 0 0 0 1px rgba(15,23,42,.02); }
    .decision-row-details__body > div, .review-url-family-context { min-width:0; }
    .review-url-family-context li { overflow-wrap:anywhere; }
    .decision-row-details__body h4 { margin:0 0 .45rem; font-size:.95rem; }
    .decision-row-details__body p { margin:.1rem 0 .65rem; }
    .decision-row-details__context-links { display:flex; flex-wrap:wrap; gap:.4rem; }
    .operations-finding-triage { display:grid; gap:.55rem; margin:.7rem 0 0; padding:.65rem; border:1px solid var(--line); border-radius:8px 8px 0 0; background:var(--panel); }
    .operations-finding-triage__top, .operations-finding-triage__active { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.45rem .75rem; min-width:0; }
    .operations-finding-triage__summary { font-weight:800; color:var(--sc-text-primary); }
    .operations-finding-triage__priority { color:var(--sc-metric-critical-text); font-size:.82rem; font-weight:800; }
    .operations-finding-triage__toolbar { display:grid; grid-template-columns:minmax(14rem,1fr) repeat(4,minmax(7rem,auto)) auto auto; gap:.45rem; align-items:end; min-width:0; }
    .operations-finding-triage__field, .operations-finding-triage__search { display:grid; gap:.22rem; min-width:0; }
    .operations-finding-triage__field span, .operations-finding-triage__search span, .operations-finding-triage__active > span { color:var(--sc-text-muted); font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
    .operations-finding-triage__field select, .operations-finding-triage__search input { width:100%; min-height:2.1rem; border:1px solid var(--line); border-radius:8px; padding:.35rem .55rem; background:var(--panel); color:var(--sc-text-primary); font:inherit; font-size:.86rem; }
    .operations-finding-triage__reset { align-self:end; }
    .operations-finding-triage__chips { display:flex; flex-wrap:wrap; gap:.35rem; min-width:0; }
    .operations-finding-triage__chip { display:inline-flex; align-items:center; min-height:1.9rem; padding:.32rem .55rem; border:1px solid var(--line); border-radius:999px; color:var(--sc-text-primary); text-decoration:none; font-size:.82rem; font-weight:700; background:transparent; }
    .operations-finding-triage__chip span { margin-left:.3rem; color:inherit; font-size:.9rem; line-height:1; }
    .operations-finding-triage__chip:hover { background:#f8fafc; color:var(--sc-text-primary); }
    .operations-finding-triage__chip--active { border-color:var(--accent); background:var(--sc-metric-info-bg); }
    .operations-finding-list { display:grid; gap:.6rem; }
    .operations-finding-row { display:grid; grid-template-columns:auto minmax(12rem,1fr) minmax(12rem,.9fr) auto; gap:.35rem; align-items:center; border:1px solid var(--line); border-radius:8px; padding:.35rem .5rem; background:var(--panel); }
    .operations-finding-row__main, .operations-finding-row__actions { min-width:0; }
    .operations-finding-row__main { display:grid; gap:.18rem; }
    .operations-finding-row__meta { color:var(--sc-text-muted); font-size:.8rem; line-height:1.25; }
    .operations-finding-row__actions { justify-self:end; }
    .operations-review-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(12rem,.28fr); gap:1rem; align-items:stretch; border:1px solid var(--line); border-radius:8px; padding:1rem; background:var(--panel); }
    .operations-review-card__main, .operations-review-card__side { min-width:0; }
    .operations-review-card__main { display:grid; gap:.65rem; }
    .operations-review-card__badges { display:flex; flex-wrap:wrap; gap:.35rem; align-items:center; }
    .operations-review-card h3 { margin:0; font-size:1.05rem; line-height:1.3; }
    .operations-review-card__facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.65rem; margin:0; }
    .operations-review-card__facts div { min-width:0; }
    .operations-review-card__facts dt { margin-bottom:.15rem; color:var(--sc-text-muted); font-size:.72rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
    .operations-review-card__facts dd { margin:0; overflow-wrap:anywhere; word-break:break-word; }
    .operations-review-card__side { display:grid; align-content:start; gap:.45rem; border-left:1px solid var(--line); padding-left:1rem; color:var(--sc-text-muted); }
    .operations-review-card__side strong { color:var(--sc-text-primary); font-size:1.75rem; line-height:1; }
    .operations-review-card__side .actions { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.25rem; }
    .operations-pagination { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.5rem .75rem; margin:.55rem 0; color:var(--sc-text-muted); }
    .operations-pagination--attached { margin:0; padding:.55rem .65rem; border:1px solid var(--line); background:var(--panel); }
    .operations-pagination--attached.operations-pagination--top { border-radius:0; border-top:0; border-bottom:0; }
    .operations-pagination--attached.operations-pagination--bottom { border-radius:0 0 8px 8px; border-top:0; margin-top:.75rem; }
    .operations-pagination__summary { font-weight:700; color:var(--sc-text-primary); }
    .operations-pagination__controls { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:.45rem .65rem; min-width:0; }
    .operations-pagination__nav, .operations-pagination__size { display:flex; flex-wrap:nowrap; align-items:center; gap:.4rem; }
    .operations-pagination__page { color:var(--sc-text-primary); font-size:.82rem; font-weight:700; white-space:nowrap; }
    .operations-pagination__size label { font-size:.82rem; font-weight:700; color:var(--sc-text-muted); white-space:nowrap; }
    .operations-pagination__size select { width:4.75rem; min-height:2rem; padding:.25rem 1.85rem .25rem .6rem; border:1px solid var(--line); border-radius:8px; appearance:none; -webkit-appearance:none; background-color:var(--panel); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%23647589' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .55rem center; background-size:1rem; color:var(--sc-text-primary); }
    .operations-pagination .disabled { opacity:.55; pointer-events:none; }
    .header-detail-table-wrap { max-width:100%; overflow-x:auto; }
    .header-detail-table { table-layout:fixed; min-width:0; width:100%; }
    .header-detail-table th, .header-detail-table td { min-width:0; white-space:normal; }
    .header-detail-table__header { width:14%; }
    .header-detail-table__value { width:32%; }
    .header-detail-table__state { width:13%; }
    .header-detail-table__change { width:11%; }
    .header-detail-table__observed { width:12%; }
    .header-detail-table__finding { width:9%; }
    .header-detail-table__action { width:9%; }
    .header-detail-name, .header-value-preview { overflow-wrap:anywhere; word-break:break-word; }
    .text-wrap-anywhere { overflow-wrap:anywhere; word-break:break-word; white-space:normal; min-width:0; }
    .detail-evidence-table { table-layout:fixed; min-width:0; }
    .detail-evidence-table th, .detail-evidence-table td { white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
    .detail-evidence-table .actions { display:flex; flex-wrap:wrap; gap:.4rem; min-width:0; }
    .operations-history-table-wrap { display:grid; gap:.25rem; min-width:0; }
    .operations-history-table-wrap > .sc-table-pagination { justify-content:flex-start; align-items:center; gap:.55rem; margin:.45rem 0 .35rem; padding:.45rem .55rem; border:1px solid var(--line); border-radius:8px; background:var(--panel); }
    .operations-history-table-wrap > .sc-table-pagination .sc-table-pagination__summary { margin-right:auto; }
    .operations-history-table-wrap > .sc-table-pagination .sc-table-pagination__nav, .operations-history-table-wrap > .sc-table-pagination .sc-table-pagination__size { flex-wrap:nowrap; }
    .printable-evidence-table { table-layout:fixed; min-width:0; }
    .printable-evidence-table th, .printable-evidence-table td { white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
    .header-value-detail { display:grid; gap:.45rem; min-width:0; }
    .header-value-preview { display:block; max-width:100%; white-space:normal; }
    .header-raw-detail summary { cursor:pointer; color:var(--accent); font-weight:700; }
    .header-raw-detail[open] { display:grid; gap:.55rem; padding:.65rem; border:1px solid var(--line); border-radius:8px; background:var(--sc-metric-neutral-bg); }
    .header-raw-detail dl { display:grid; gap:.55rem; margin:0; }
    .header-raw-detail dt { color:var(--sc-text-muted); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
    .header-raw-detail dd { margin:0; }
    .header-copy-field { width:100%; min-height:2.25rem; padding:.45rem .55rem; font-family:Consolas,monospace; font-size:.82rem; overflow-wrap:anywhere; }
    .header-copy-field--multiline { resize:vertical; white-space:pre-wrap; }
    .sc-metric-row { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
    .sc-metric-card { flex:1 1 220px; min-width:220px; border-radius:var(--sc-radius-md); padding:18px; border:1px solid var(--sc-border-subtle); display:flex; flex-direction:column; gap:12px; background:var(--sc-surface-card); color:var(--sc-text-primary); position:relative; overflow:hidden; box-shadow:var(--sc-shadow-soft); }
    .sc-metric-card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; }
    .sc-metric-card--clickable { cursor:pointer; transition:box-shadow .15s ease, transform .1s ease; }
    .sc-metric-card--clickable:hover { box-shadow:var(--sc-shadow-panel); transform:translateY(-1px); }
    /* Without this the row gave no sign which tile was driving the current filter. */
    .sc-metric-card--clickable[aria-pressed="true"] { outline:2px solid var(--sc-action-primary); outline-offset:-2px; box-shadow:var(--sc-shadow-panel); }
    .sc-metric-card--clickable[aria-pressed="true"]::after { content:"Filtering"; position:absolute; right:10px; bottom:8px; color:var(--sc-action-primary); font-size:.66rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
    .sc-metric-card__top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
    .sc-metric-card__icon { line-height:1; font-size:.95rem; font-weight:700; width:42px; height:42px; border-radius:999px; display:grid; place-items:center; }
    .sc-metric-card__content { display:flex; flex-direction:column; gap:4px; }
    .sc-metric-card__count-row { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
    .sc-metric-card__count { font-size:2rem; font-weight:700; line-height:1; }
    .sc-metric-card__label { font-size:1rem; font-weight:600; }
    .sc-metric-card__subtitle { font-size:.82rem; margin-top:2px; color:var(--sc-text-muted); }
    .sc-metric-card__chevron { color:var(--sc-text-muted); font-size:1.3rem; line-height:1; }
    .sc-metric-card--critical { border-color:var(--sc-metric-critical-border); }
    .sc-metric-card--critical::before { background:var(--sc-status-critical); }
    .sc-metric-card--critical .sc-metric-card__icon { background:var(--sc-metric-critical-bg); color:var(--sc-metric-critical-text); }
    .sc-metric-card--warning { border-color:var(--sc-metric-warning-border); }
    .sc-metric-card--warning::before { background:var(--sc-status-warning); }
    .sc-metric-card--warning .sc-metric-card__icon { background:var(--sc-metric-warning-bg); color:var(--sc-metric-warning-text); }
    .sc-metric-card--informational { border-color:var(--sc-metric-info-border); }
    .sc-metric-card--informational::before { background:var(--sc-status-informational); }
    .sc-metric-card--informational .sc-metric-card__icon { background:var(--sc-metric-info-bg); color:var(--sc-metric-info-text); }
    .sc-metric-card--healthy { border-color:var(--sc-metric-healthy-border); }
    .sc-metric-card--healthy::before { background:var(--sc-status-healthy); }
    .sc-metric-card--healthy .sc-metric-card__icon { background:var(--sc-metric-healthy-bg); color:var(--sc-metric-healthy-text); }
    .sc-metric-card--inactive { border-color:var(--sc-metric-neutral-border); }
    .sc-metric-card--inactive::before { background:var(--sc-status-inactive); }
    .sc-metric-card--inactive .sc-metric-card__icon { background:var(--sc-metric-neutral-bg); color:var(--sc-metric-neutral-text); }
    .script-results-section { margin-top:0; }
    .sc-section-heading-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
    .sc-section-title { font-size:1.1rem; font-weight:600; color:var(--sc-text-primary); margin:0; }
    .sc-filter-bar { display:grid; grid-template-columns:minmax(220px, 1fr) repeat(3, max-content); margin-bottom:14px; background:var(--sc-surface-card); border:1px solid var(--sc-border-subtle); border-radius:var(--sc-radius-sm); overflow:hidden; box-shadow:var(--sc-shadow-soft); }
    .sc-filter-bar__search { position:relative; min-width:0; padding:0 14px; display:flex; align-items:center; min-height:52px; }
    .sc-filter-bar__search-icon { position:absolute; left:23px; top:50%; transform:translateY(-50%); color:var(--sc-text-muted); pointer-events:none; }
    .sc-filter-bar__search-input { width:100%; padding:0 10px 0 28px; border:0; background:transparent; color:var(--sc-text-primary); outline:0; }
    .sc-filter-bar__group { display:flex; align-items:center; gap:8px; min-height:52px; padding:0 14px; border-left:1px solid var(--sc-border-subtle); font-size:.82rem; color:var(--sc-text-muted); white-space:nowrap; }
    .sc-filter-bar__select { width:auto; padding:0 1.65rem 0 0; border:0; font-size:.92rem; background-color:transparent; background-repeat:no-repeat; background-position:right .2rem center; background-size:1rem; color:var(--sc-text-primary); outline:0; cursor:pointer; }
    .sc-filter-bar__search-input:focus-visible, .sc-filter-bar__select:focus-visible { outline:3px solid var(--sc-focus-ring); outline-offset:2px; border-radius:4px; }
    .sc-domain-list { display:grid; gap:14px; }
    .zap-scans-workspace { display:grid; gap:14px; width:min(100%,1120px); margin:0 auto; }
    .zap-scans-heading { padding:4px 2px 8px; } .zap-scans-heading h1 { margin:2px 0 4px; } .zap-scans-heading p,.zap-muted { margin:0; color:var(--sc-text-muted); }
    .zap-scans-boundary { display:flex; gap:10px; flex-wrap:wrap; padding:10px 13px; border:1px solid var(--sc-metric-info-border); border-radius:var(--sc-radius-sm); background:var(--sc-metric-info-bg); color:var(--sc-metric-info-text); font-size:.84rem; }
    .zap-domain-list { display:grid; gap:14px; } .zap-domain-card,.zap-scans-empty { overflow:hidden; border:1px solid var(--sc-border-subtle); border-radius:var(--sc-radius-md); background:var(--sc-surface-card); box-shadow:var(--sc-shadow-soft); }
    .zap-scans-empty { padding:22px; } .zap-domain-card__header { display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:14px; padding:16px 18px 13px; } .zap-domain-card__header > div:first-child { min-width:0; flex:1 1 320px; overflow-wrap:anywhere; } .zap-domain-card__header h2 { margin:0; } .zap-domain-card__header p { margin:3px 0 0; color:var(--sc-text-muted); } .zap-domain-card__actions { flex:0 1 auto; max-width:100%; } .zap-domain-card__actions form { margin:0; } .zap-setup-needed { max-width:280px; color:var(--sc-metric-warning-text) !important; }
    .zap-domain-card__facts { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); border-top:1px solid var(--sc-border-subtle); border-bottom:1px solid var(--sc-border-subtle); } .zap-domain-card__facts div { min-width:0; padding:10px 18px; border-left:1px solid var(--sc-border-subtle); } .zap-domain-card__facts div:first-child { border-left:0; } .zap-domain-card__facts span { display:block; color:var(--sc-text-muted); font-size:.74rem; } .zap-domain-card__facts strong { display:block; margin-top:3px; overflow-wrap:anywhere; }
    .zap-scan-history { padding:13px 18px; } .zap-scan-history h3 { margin:0 0 8px; font-size:.9rem; } .zap-scan-detail { border-top:1px solid var(--sc-border-subtle); padding:8px 0; } .zap-scan-detail summary { cursor:pointer; } .zap-scan-detail__body { padding:8px 0 0; } .zap-scan-downloads { display:flex; gap:8px; flex-wrap:wrap; } .zap-scan-downloads .button { width:auto; }
    .sc-domain-group { --sc-dark-card-text-primary:#f8fafc; --sc-dark-card-text-muted:#cbd5e1; --sc-dark-card-text-accent:#93c5fd; min-width:0; border:1px solid #334b68; border-radius:12px; overflow:hidden; background:linear-gradient(135deg, #111d31 0%, #0d1a2e 55%, #10213a 100%); box-shadow:0 18px 38px rgba(0,0,0,.16); }
    .sc-entity-card__capture-reason { margin:8px 0 0; padding:9px 11px; border-left:3px solid var(--sc-status-warning); border-radius:4px; background:var(--sc-metric-warning-bg); color:var(--sc-metric-warning-text); font-size:.84rem; }
    .sc-domain-group__header { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; background:var(--sc-surface-card); border-bottom:1px solid var(--sc-border-subtle); gap:12px; flex-wrap:wrap; }
    .sc-domain-group__label { display:flex; align-items:center; gap:8px; font-size:.875rem; font-weight:500; color:var(--sc-text-primary); cursor:default; margin:0; }
    .sc-domain-group__label input { width:auto; padding:0; }
    .sc-view-toggle { display:flex; align-items:center; gap:2px; background:var(--sc-surface-app); border:1px solid var(--sc-border-subtle); border-radius:8px; padding:2px; }
    .sc-view-toggle button { display:flex; align-items:center; gap:4px; border:0; background:transparent; padding:4px 10px; border-radius:4px; font-size:.78rem; color:var(--sc-text-muted); cursor:pointer; transition:background .12s ease, color .12s ease; white-space:nowrap; width:auto; margin:0; }
    .sc-view-toggle button:hover { background:rgba(255,255,255,.6); color:var(--sc-text-primary); }
    .sc-view-toggle button.active { background:#fff; color:var(--sc-text-primary); box-shadow:0 1px 2px rgba(0,0,0,.08); font-weight:500; }
    .sc-view-toggle__pagination { font-size:.78rem; color:var(--sc-text-muted); padding:0 6px; }
    .sc-status-badge { display:inline-flex; align-items:center; border-radius:20px; font-weight:600; letter-spacing:.01em; white-space:nowrap; }
    .sc-status-badge--sm { padding:2px 10px; font-size:.75rem; }
    .sc-status-badge--healthy { background:var(--sc-metric-healthy-bg); color:var(--sc-metric-healthy-text); border:1px solid var(--sc-metric-healthy-border); }
    .sc-status-badge--warning { background:var(--sc-metric-warning-bg); color:var(--sc-metric-warning-text); border:1px solid var(--sc-metric-warning-border); }
    .sc-entity-card .sc-status-badge--warning { background:transparent; color:#ffb000; border-color:#d38900; }
    .sc-status-badge--informational { background:var(--sc-metric-info-bg); color:var(--sc-metric-info-text); border:1px solid var(--sc-metric-info-border); }
    .sc-status-badge--inactive { background:var(--sc-metric-neutral-bg); color:var(--sc-metric-neutral-text); border:1px solid var(--sc-metric-neutral-border); }
    .sc-status-badge--critical { background:var(--sc-metric-critical-bg); color:var(--sc-metric-critical-text); border:1px solid var(--sc-metric-critical-border); }
    .sc-disabled-action { display:inline-flex; align-items:center; min-height:28px; padding:3px 10px; border-radius:20px; border:1px dashed var(--sc-border-strong); color:var(--sc-text-muted); background:var(--sc-surface-muted); font-size:.78rem; font-weight:600; }
    .sc-disabled-button:disabled { opacity:1; cursor:not-allowed; border-style:dashed; }
    .sc-entity-card { padding:26px 28px 22px; display:flex; flex-direction:column; gap:22px; }
    .sc-entity-card__header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; flex-wrap:wrap; }
    .sc-entity-card__identity { display:flex; flex-direction:column; gap:7px; min-width:0; }
    .sc-entity-card__title-block { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
    .sc-entity-card__title { font-weight:700; font-size:1.45rem; line-height:1.15; color:#f8fafc; letter-spacing:-.02em; overflow-wrap:anywhere; }
    /* Two targets on one domain differ only by path, so the path has to read as part of the card's name. */
    .sc-entity-card__title-path { color:#9fb4d0; font-weight:500; }
    .sc-entity-card__page { display:flex; align-items:center; gap:12px; color:#a8b7cc; font-size:.95rem; line-height:1.35; }
    .sc-entity-card__subtitle { font-size:.88rem; color:var(--sc-dark-card-text-muted); }
    .sc-entity-card__primary-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
    .sc-entity-card__primary-actions .inline-form { display:inline-flex; margin:0; }
    .sc-entity-card__primary-actions .sc-btn-review, .sc-entity-card__primary-actions .sc-action-btn { min-width:158px; min-height:48px; padding:0 22px; border-radius:7px; font-size:.9rem; }
    .sc-entity-card__primary-actions .sc-btn-review { color:#f8fafc; background:rgba(9,23,43,.4); border:1px solid #2687e8; box-shadow:none; }
    .sc-entity-card__primary-actions .sc-btn-review:hover, .sc-entity-card__primary-actions .sc-btn-review:focus-visible { color:#fff; background:rgba(37,99,235,.14); border-color:#60a5fa; }
    .sc-entity-card__primary-actions .sc-action-btn--scan { min-width:158px; border-color:#1f6fce; background:linear-gradient(180deg,#2464be,#1453a5); box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 8px 20px rgba(9,69,149,.26); }
    .sc-scan-progress { display:grid; gap:10px; padding:13px 16px; border:1px solid #31649e; border-radius:8px; background:rgba(16,52,91,.45); color:#f8fafc; }
    .sc-scan-progress[hidden] { display:none; }
    .sc-scan-progress__copy { display:flex; align-items:baseline; justify-content:space-between; gap:16px; }
    .sc-scan-progress__copy strong { font-size:.9rem; }
    .sc-scan-progress__copy span { color:#b9c9dc; font-size:.82rem; text-align:right; }
    .sc-scan-progress__track { position:relative; height:7px; overflow:hidden; border-radius:999px; background:#172c48; }
    .sc-scan-progress__track span { position:absolute; inset-block:0; left:-42%; width:42%; border-radius:inherit; background:linear-gradient(90deg,transparent,#38bdf8 38%,#93c5fd 62%,transparent); animation:sc-scan-progress-slide 1.45s ease-in-out infinite; }
    @keyframes sc-scan-progress-slide { from { transform:translateX(0); } to { transform:translateX(340%); } }
    .sc-card-icon { width:22px; height:22px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
    .sc-card-icon--large { width:32px; height:32px; }
    .sc-card-icon--warning { width:34px; height:34px; color:#f59e0b; }
    .sc-capture-warning { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:18px; min-height:80px; padding:14px 24px; border:1px solid #87560a; border-radius:10px; background:linear-gradient(90deg,rgba(113,61,5,.25),rgba(84,47,7,.18)); color:#f8fafc; }
    .sc-capture-warning[hidden], .sc-monitor-diagnostic-summary[hidden], [data-script-monitor-request-context][hidden], [data-script-monitor-capture-reason-row][hidden] { display:none !important; }
    .sc-capture-warning__copy { display:flex; flex-direction:column; gap:4px; min-width:0; }
    .sc-capture-warning__copy strong { color:#f6ae16; font-size:1rem; }
    .sc-capture-warning__copy span { color:#c8d2e0; font-size:.91rem; }
    .sc-capture-warning__action { display:inline-flex; align-items:center; gap:16px; width:auto; padding:10px 0 10px 16px; border:0; background:transparent; color:#ffb000; font-size:.9rem; font-weight:700; white-space:nowrap; cursor:pointer; }
    .sc-capture-warning__action span { font-size:1.75rem; line-height:.6; font-weight:400; }
    .sc-capture-warning__action:hover { color:#ffd166; }
    .sc-capture-warning__action:focus-visible, .sc-monitor-inventory__review:focus-visible, .sc-monitor-schedule__link:focus-visible, .sc-monitor-diagnostic-summary button:focus-visible, .sc-diagnostic-dialog button:focus-visible, .sc-diagnostic-dialog summary:focus-visible { outline:3px solid var(--sc-focus-ring); outline-offset:3px; border-radius:5px; }
    .sc-monitor-card-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.08fr); gap:28px; }
    .sc-monitor-card-panel { min-width:0; border:1px solid #304660; border-radius:9px; background:linear-gradient(145deg,rgba(13,27,48,.62),rgba(15,30,52,.82)); padding:25px 27px 22px; }
    .sc-monitor-card-panel__heading { display:flex; align-items:center; gap:12px; min-height:30px; margin-bottom:25px; }
    .sc-monitor-card-panel__heading h3 { margin:0; color:#f8fafc; font-size:1.25rem; line-height:1.25; letter-spacing:-.015em; }
    .sc-monitor-card-panel__heading--inventory { align-items:flex-start; margin-bottom:19px; }
    .sc-monitor-card-panel__heading--inventory p { margin:6px 0 0; color:#aab7c9; font-size:.9rem; }
    .sc-monitor-card-panel__heading--inventory p span { margin:0 7px; color:#8fa0b8; }
    .sc-monitor-attempt__facts { display:grid; gap:18px; margin:0; }
    .sc-monitor-attempt__facts > div { display:grid; grid-template-columns:minmax(158px,.72fr) minmax(0,1.6fr); align-items:center; gap:15px; }
    .sc-monitor-attempt__facts dt { display:flex; align-items:center; gap:11px; min-width:0; color:#b9c6d8; font-size:.93rem; }
    .sc-monitor-attempt__facts dt .sc-card-icon { color:#91a4be; }
    .sc-monitor-attempt__facts dd { min-width:0; margin:0; color:#f5f7fb; font-size:.94rem; overflow-wrap:anywhere; }
    .sc-monitor-attempt__target { color:#eef5ff !important; }
    .sc-monitor-diagnostic-summary { display:grid; grid-template-columns:minmax(158px,.72fr) minmax(0,1.6fr); gap:15px; margin-top:20px; padding-top:18px; border-top:1px solid #2c405b; color:#b9c6d8; font-size:.91rem; }
    .sc-monitor-diagnostic-summary > div { display:flex; min-width:0; flex-direction:column; align-items:flex-start; gap:12px; }
    .sc-monitor-diagnostic-summary strong { color:#f5f7fb; font-weight:500; overflow-wrap:anywhere; }
    .sc-monitor-diagnostic-summary button { display:inline-flex; align-items:center; gap:10px; width:auto; padding:0; border:0; background:transparent; color:#5aa3f0; font:inherit; cursor:pointer; }
    .sc-monitor-diagnostic-summary button:hover { color:#74aff2; }
    .sc-monitor-diagnostic-summary button span { font-size:1.25rem; line-height:.7; }
    .sc-diagnostic-dialog { width:min(880px,calc(100vw - 48px)); max-width:880px; max-height:calc(100dvh - 48px); margin:auto; padding:0; overflow:hidden; border:1px solid #5d7594; border-radius:8px; background:#0b192d; color:#f8fafc; box-shadow:0 28px 80px rgba(0,0,0,.62),0 0 0 1px rgba(147,197,253,.06); }
    .sc-diagnostic-dialog::backdrop { background:rgba(1,9,21,.78); backdrop-filter:blur(1.5px); }
    .sc-diagnostic-dialog__surface { display:flex; max-height:inherit; flex-direction:column; min-width:0; background:linear-gradient(145deg,#0d1c31 0%,#0a182a 55%,#0d2037 100%); }
    .sc-diagnostic-dialog__header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:24px 26px 15px; }
    .sc-diagnostic-dialog__header h2 { margin:0; color:#f8fafc; font-size:1.55rem; line-height:1.15; letter-spacing:-.02em; }
    .sc-diagnostic-dialog__header p { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin:12px 0 0; color:#d9e4f2; font-size:.92rem; }
    .sc-diagnostic-dialog__header p > span[aria-hidden] { color:#8496ae; }
    .sc-diagnostic-dialog__x { display:grid; width:38px; height:38px; flex:0 0 auto; place-items:center; margin:-5px -7px 0 0; padding:0; border:0; background:transparent; color:#9cafc7; cursor:pointer; }
    .sc-diagnostic-dialog__x:hover { color:#f8fafc; }
    .sc-diagnostic-dialog__x svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
    .sc-diagnostic-dialog__body { display:grid; grid-auto-rows:max-content; align-content:start; gap:14px; min-height:0; padding:0 26px 16px; overflow-y:auto; overscroll-behavior:contain; scrollbar-color:#405773 #0b1829; }
    .sc-diagnostic-dialog__warning { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:18px; min-height:82px; padding:15px 20px; border:1px solid #9a6807; border-radius:7px; background:linear-gradient(100deg,rgba(106,60,6,.34),rgba(76,47,11,.26)); }
    .sc-diagnostic-dialog__warning--healthy { border-color:#286d55; background:linear-gradient(100deg,rgba(18,79,61,.34),rgba(12,52,45,.24)); }
    .sc-diagnostic-dialog__warning--inactive { border-color:#405572; background:rgba(23,42,67,.42); }
    .sc-diagnostic-dialog__warning--critical { border-color:#8d4a32; background:linear-gradient(100deg,rgba(105,49,29,.34),rgba(67,32,24,.24)); }
    .sc-diagnostic-dialog__summary-icon { width:30px; height:30px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
    .sc-diagnostic-dialog__summary-icon--healthy { color:#4ade80; }
    .sc-diagnostic-dialog__summary-icon--warning { color:#ffb000; }
    .sc-diagnostic-dialog__summary-icon--critical { color:#fb7185; }
    .sc-diagnostic-dialog__summary-icon--inactive { color:#9cafc7; }
    .sc-diagnostic-dialog__warning > div { min-width:0; }
    .sc-diagnostic-dialog__warning strong { display:block; color:#f8fafc; font-size:1rem; }
    .sc-diagnostic-dialog__warning p { margin:5px 0 0; color:#e3eaf4; font-size:.89rem; line-height:1.45; overflow-wrap:anywhere; }
    .sc-diagnostic-dialog__trust { padding:14px 16px; border-left:4px solid #f59e0b; border-radius:5px; background:rgba(77,47,9,.3); }
    .sc-diagnostic-dialog__trust h3 { margin:0 0 8px; color:#f8fafc; font-size:1rem; }
    .sc-diagnostic-dialog__trust strong { display:block; color:#fbbf24; font-size:.9rem; }
    .sc-diagnostic-dialog__trust p { margin:5px 0 0; color:#dbe5f1; font-size:.86rem; line-height:1.45; }
    .sc-diagnostic-dialog__stages { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); min-height:100px; margin:0; padding:16px 8px 13px; list-style:none; border:1px solid #334b68; border-radius:7px; background:rgba(13,29,51,.58); }
    .sc-diagnostic-dialog__stage { position:relative; display:flex; min-width:0; align-items:center; flex-direction:column; text-align:center; gap:4px; color:#f8fafc; }
    .sc-diagnostic-dialog__stage:not(:last-child)::after { position:absolute; top:11px; left:calc(50% + 20px); width:calc(100% - 40px); height:1px; background:#354b65; content:""; }
    .sc-diagnostic-dialog__stage-icon { z-index:1; display:grid; width:24px; height:24px; place-items:center; border-radius:50%; background:#8da2bd; color:#0b192d; font-size:.9rem; font-weight:800; }
    .sc-diagnostic-dialog__stage--complete .sc-diagnostic-dialog__stage-icon { background:#19df49; color:#06230e; }
    .sc-diagnostic-dialog__stage--warning .sc-diagnostic-dialog__stage-icon { border:2px solid #f7a900; background:#0d1c31; color:#f7a900; }
    .sc-diagnostic-dialog__stage strong { margin-top:5px; font-size:.78rem; line-height:1.25; }
    .sc-diagnostic-dialog__stage > span:last-child { color:#aebdd0; font-size:.76rem; line-height:1.25; }
    .sc-diagnostic-dialog__stage--warning > span:last-child { color:#ffb000; font-weight:700; }
    .sc-diagnostic-dialog__overview h3 { margin:2px 0 9px; color:#f8fafc; font-size:1.05rem; }
    .sc-diagnostic-dialog__overview dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:0; column-gap:42px; }
    .sc-diagnostic-dialog__overview dl > div { display:grid; grid-template-columns:minmax(120px,.75fr) minmax(0,1.35fr); align-items:center; gap:10px; min-width:0; min-height:44px; border-bottom:1px solid #2f435d; }
    .sc-diagnostic-dialog__overview dt { color:#c0ccdc; font-size:.86rem; }
    .sc-diagnostic-dialog__overview dd { min-width:0; margin:0; color:#f8fafc; font-size:.86rem; overflow-wrap:anywhere; }
    .sc-diagnostic-dialog__authority { font-weight:700; }
    .sc-diagnostic-dialog__authority--healthy { color:#4ade80 !important; }
    .sc-diagnostic-dialog__authority--warning { color:#ffb000 !important; }
    .sc-diagnostic-dialog__authority--critical { color:#fb7185 !important; }
    .sc-diagnostic-dialog__authority--inactive { color:#c0ccdc !important; }
    .sc-diagnostic-dialog__attempt { display:flex; align-items:center; gap:7px; }
    .sc-diagnostic-dialog__attempt button { display:grid; width:28px; height:28px; place-items:center; padding:0; border:0; background:transparent; color:#9fb2ca; cursor:pointer; }
    .sc-diagnostic-dialog__attempt button:hover { color:#f8fafc; }
    .sc-diagnostic-dialog__attempt svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; }
    .sc-diagnostic-dialog__recommendation { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:15px; min-height:66px; padding:12px 15px; border:1px solid #355475; border-radius:7px; background:rgba(16,39,66,.54); }
    .sc-diagnostic-dialog__recommendation .sc-card-icon { width:26px; height:26px; color:#5ea9ef; }
    .sc-diagnostic-dialog__recommendation strong { font-size:.88rem; }
    .sc-diagnostic-dialog__recommendation p { margin:5px 0 0; color:#d0dae8; font-size:.84rem; }
    .sc-diagnostic-dialog__disclosures { overflow:hidden; border:1px solid #344b68; border-radius:7px; }
    .sc-diagnostic-dialog__disclosures > details + details { border-top:1px solid #344b68; }
    .sc-diagnostic-dialog__disclosures summary { display:grid; grid-template-columns:minmax(215px,.95fr) minmax(0,1.45fr) auto; align-items:center; gap:15px; min-height:52px; padding:0 16px; list-style:none; color:#f8fafc; cursor:pointer; }
    .sc-diagnostic-dialog__disclosures summary::-webkit-details-marker { display:none; }
    .sc-diagnostic-dialog__disclosure-title { display:flex; align-items:center; gap:12px; min-width:0; }
    .sc-diagnostic-dialog__disclosure-title .sc-card-icon { width:21px; height:21px; color:#9caec4; }
    .sc-diagnostic-dialog__disclosure-title strong { font-size:.86rem; }
    .sc-diagnostic-dialog__disclosure-copy { min-width:0; color:#94a7c0; font-size:.82rem; overflow-wrap:anywhere; }
    .sc-diagnostic-dialog__chevron { width:20px; height:20px; fill:none; stroke:#a7b8cd; stroke-width:1.8; transition:transform .16s ease; }
    .sc-diagnostic-dialog details[open] .sc-diagnostic-dialog__chevron { transform:rotate(180deg); }
    .sc-diagnostic-dialog__disclosure-body { --panel:#102039; --line:#334b68; --accent:#93c5fd; --sc-text-primary:#f8fafc; --sc-text-muted:#cbd5e1; --sc-border-subtle:#334b68; --sc-surface-app:#0b192d; --sc-surface-card:#102039; --sc-surface-muted:#132640; --sc-metric-neutral-bg:#102039; --sc-monitor-nested-label:#93c5fd; display:grid; gap:14px; min-width:0; max-width:100%; padding:8px 16px 18px 49px; border-top:1px solid #263d58; color:#d1dbe8; overflow-wrap:anywhere; word-break:break-word; }
    .sc-diagnostic-dialog__disclosure-body > *, .sc-diagnostic-dialog__disclosure-body .hash-detail-section, .sc-diagnostic-dialog__disclosure-body .browser-capture-attempts, .sc-diagnostic-dialog__disclosure-body .browser-capture-attempt, .sc-diagnostic-dialog__disclosure-body .facts, .sc-diagnostic-dialog__disclosure-body .facts > div, .sc-diagnostic-dialog__disclosure-body .facts dt, .sc-diagnostic-dialog__disclosure-body .facts dd { min-width:0; max-width:100%; }
    .sc-diagnostic-dialog__disclosure-body .facts dd, .sc-diagnostic-dialog__disclosure-body .trace, .sc-diagnostic-dialog__disclosure-body code { white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
    .sc-diagnostic-dialog__disclosure-body .panel, .sc-diagnostic-dialog__disclosure-body .hash-detail-section, .sc-diagnostic-dialog__disclosure-body .browser-capture-attempt, .sc-diagnostic-dialog__disclosure-body .sc-entity-card__scanner-evidence, .sc-diagnostic-dialog__disclosure-body .sc-script-preview { border-color:#334b68; background:#102039; color:#f8fafc; box-shadow:none; }
    .sc-diagnostic-dialog__disclosure-body .hash-detail-section { padding:12px; border:1px solid #334b68; border-radius:7px; }
    .sc-diagnostic-dialog__disclosure-body h3, .sc-diagnostic-dialog__disclosure-body h4, .sc-diagnostic-dialog__disclosure-body h5, .sc-diagnostic-dialog__disclosure-body strong { color:#f8fafc; }
    .sc-diagnostic-dialog__disclosure-body p, .sc-diagnostic-dialog__disclosure-body .trace, .sc-diagnostic-dialog__disclosure-body .stack-list, .sc-diagnostic-dialog__disclosure-body .sc-script-preview__host, .sc-diagnostic-dialog__disclosure-body .sc-script-preview__more { color:#cbd5e1; }
    .sc-diagnostic-dialog__disclosure-body .facts > div, .sc-diagnostic-dialog__disclosure-body .sc-script-preview__title, .sc-diagnostic-dialog__disclosure-body .sc-script-preview__row, .sc-diagnostic-dialog__disclosure-body th, .sc-diagnostic-dialog__disclosure-body td { border-color:#334b68; }
    .sc-diagnostic-dialog__disclosure-body .facts dt, .sc-diagnostic-dialog__disclosure-body th, .sc-diagnostic-dialog__disclosure-body .sc-script-preview__title { color:#93c5fd; }
    .sc-diagnostic-dialog__disclosure-body .facts dd, .sc-diagnostic-dialog__disclosure-body td, .sc-diagnostic-dialog__disclosure-body .sc-script-preview__source { color:#f8fafc; }
    .sc-diagnostic-dialog__disclosure-body .warning-banner { border-color:#92400e; background:#2b2111; color:#fcd34d; }
    .sc-diagnostic-dialog__disclosure-body a { color:#93c5fd; }
    .sc-diagnostic-dialog__disclosure-body a:hover { color:#bfdbfe; }
    .sc-diagnostic-dialog__disclosure-body code, .sc-diagnostic-dialog__disclosure-body pre { border:1px solid #334b68; border-radius:5px; background:#081426; color:#e2e8f0; }
    .sc-diagnostic-dialog__disclosure-body table, .sc-diagnostic-dialog__disclosure-body thead, .sc-diagnostic-dialog__disclosure-body tbody, .sc-diagnostic-dialog__disclosure-body tr { border-color:#334b68; background:#0d1c31; color:#f8fafc; }
    .sc-diagnostic-dialog__disclosure-body details { border:1px solid #334b68; border-radius:6px; background:#0d1c31; color:#f8fafc; }
    .sc-diagnostic-dialog__disclosure-body details > summary { display:list-item; min-height:0; padding:10px 12px; color:#f8fafc; background:#132640; }
    .sc-diagnostic-dialog__disclosure-body details > .facts, .sc-diagnostic-dialog__disclosure-body details > p, .sc-diagnostic-dialog__disclosure-body details > div { padding:12px; }
    .sc-diagnostic-dialog__footer { display:flex; align-items:center; justify-content:flex-end; gap:14px; min-height:70px; padding:12px 26px 18px; border-top:1px solid rgba(52,75,104,.2); }
    .sc-diagnostic-dialog__footer button { width:auto; min-width:112px; min-height:38px; padding:0 22px; border-radius:5px; color:#fff; font-size:.86rem; font-weight:700; cursor:pointer; }
    .sc-diagnostic-dialog__close { border:1px solid #7187a4; background:rgba(8,21,39,.76); }
    .sc-diagnostic-dialog__close:hover { border-color:#9eb0c7; background:#122742; }
    .sc-diagnostic-dialog__run { border:1px solid #0f74a6; background:linear-gradient(180deg,#0f74a6,#075f8a); box-shadow:inset 0 1px 0 rgba(255,255,255,.12); }
    .sc-diagnostic-dialog__run:hover:not(:disabled) { background:linear-gradient(180deg,#21a0d8,#0b82ba); }
    .sc-diagnostic-dialog__run:disabled { opacity:.55; cursor:not-allowed; }
    @media (prefers-reduced-motion: reduce) {
      .sc-scan-progress__track span { left:0; width:100%; animation:none; background:repeating-linear-gradient(135deg,#1879ad 0 12px,#38bdf8 12px 24px); }
    }
    .sc-monitor-inventory { display:flex; flex-direction:column; }
    .sc-monitor-inventory__stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:0; }
    .sc-monitor-inventory__stats > div { display:flex; min-width:0; min-height:100px; padding:14px 8px; flex-direction:column; align-items:center; justify-content:center; gap:7px; border:1px solid #334a67; border-radius:6px; background:linear-gradient(145deg,rgba(23,42,69,.65),rgba(17,34,58,.76)); }
    .sc-monitor-inventory__stats dd { margin:0; color:#f8fafc; font-size:1.75rem; line-height:1; font-weight:700; }
    .sc-monitor-inventory__stats dt { color:#f8fafc; font-size:.92rem; }
    .sc-monitor-inventory__stat--approved dt { color:#4ade58; }
    .sc-monitor-inventory__stat--pending dt { color:#ffb000; }
    .sc-monitor-inventory__stat--blocked dd, .sc-monitor-inventory__stat--blocked dt { color:#ff5656; }
    /* Neutral, not amber: this navigates to the decision list, it does not report a warning. */
    .sc-monitor-inventory__review { display:flex; align-items:center; justify-content:center; gap:11px; min-height:54px; margin-top:20px; padding:0 18px; border:1px solid #45617f; border-radius:7px; background:rgba(30,58,95,.35); color:#bfdbfe; font-size:.96rem; font-weight:700; text-decoration:none; }
    .sc-monitor-inventory__review:hover { border-color:#6b86a8; color:#eff6ff; background:rgba(40,72,116,.45); text-decoration:none; }
    [data-theme="light"] .sc-monitor-inventory__review { border-color:var(--sc-border-subtle); background:var(--sc-surface-card); color:#1d4ed8; }
    [data-theme="light"] .sc-monitor-inventory__review:hover { border-color:#1d4ed8; background:#eff6ff; color:#1e3a8a; }
    .sc-monitor-schedule { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:center; min-height:92px; border:1px solid #304660; border-radius:9px; background:linear-gradient(145deg,rgba(13,27,48,.48),rgba(15,30,52,.68)); padding:16px 27px; }
    .sc-monitor-schedule__item { display:flex; align-items:center; gap:20px; min-width:0; color:#a9b7ca; }
    .sc-monitor-schedule__item .sc-card-icon { color:#9eb0c9; }
    .sc-monitor-schedule__item span { display:flex; flex-direction:column; min-width:0; gap:7px; }
    .sc-monitor-schedule__item small { color:#aebbc9; font-size:.9rem; }
    .sc-monitor-schedule__item strong { color:#f8fafc; font-size:.93rem; font-weight:500; overflow-wrap:anywhere; }
    .sc-monitor-schedule__link { justify-self:center; color:#5aa3f0; text-decoration:none; }
    .sc-monitor-schedule__link span { color:#5aa3f0; font-size:.96rem; }
    .sc-monitor-schedule__link:hover, .sc-monitor-schedule__link:hover span { color:#74aff2; text-decoration:none; }
    /* The monitored-target card is authored dark. Light mode previously inherited that dark gradient
       while its text kept the light-theme near-black, so headings rendered at 1.07:1 against it.
       These overrides flip the card's surfaces and remap the shared text tokens its children consume. */
    [data-theme="light"] .sc-domain-group { --sc-dark-card-text-primary:var(--sc-text-primary); --sc-dark-card-text-muted:var(--sc-text-muted); --sc-dark-card-text-accent:#1e40af; border-color:var(--sc-border-subtle); background:var(--sc-surface-card); box-shadow:var(--sc-shadow-soft); }
    [data-theme="light"] .sc-entity-card__title { color:var(--sc-text-primary); }
    [data-theme="light"] .sc-entity-card__title-path { color:var(--sc-text-muted); }
    [data-theme="light"] .sc-entity-card__page { color:var(--sc-text-muted); }
    /* The card's transparent-background badges are tuned for the dark surface; on the light card the
       amber and blue text dropped to ~1.8:1. Restore the filled treatment the rest of the app uses. */
    [data-theme="light"] .sc-entity-card .sc-status-badge--warning { background:var(--sc-metric-warning-bg); color:var(--sc-metric-warning-text); border-color:var(--sc-metric-warning-border); }
    [data-theme="light"] .sc-capture-warning { border-color:#e0aa4d; background:var(--sc-metric-warning-bg); color:var(--sc-text-primary); }
    [data-theme="light"] .sc-capture-warning__copy strong { color:#92500b; }
    [data-theme="light"] .sc-capture-warning__copy span { color:var(--sc-text-muted); }
    [data-theme="light"] .sc-capture-warning__action { color:#92500b; }
    [data-theme="light"] .sc-capture-warning__action:hover { color:#6d3c07; }
    [data-theme="light"] .sc-monitor-card-panel, [data-theme="light"] .sc-monitor-schedule { border-color:var(--sc-border-subtle); background:var(--sc-surface-muted); }
    [data-theme="light"] .sc-monitor-card-panel__heading h3 { color:var(--sc-text-primary); }
    [data-theme="light"] .sc-monitor-card-panel__heading--inventory p, [data-theme="light"] .sc-monitor-card-panel__heading--inventory p span { color:var(--sc-text-muted); }
    [data-theme="light"] .sc-monitor-attempt__facts dt, [data-theme="light"] .sc-monitor-attempt__facts dt .sc-card-icon { color:var(--sc-text-muted); }
    [data-theme="light"] .sc-monitor-attempt__facts dd, [data-theme="light"] .sc-monitor-attempt__target { color:var(--sc-text-primary) !important; }
    [data-theme="light"] .sc-monitor-diagnostic-summary { border-top-color:var(--sc-border-subtle); color:var(--sc-text-muted); }
    [data-theme="light"] .sc-monitor-diagnostic-summary strong { color:var(--sc-text-primary); }
    [data-theme="light"] .sc-monitor-diagnostic-summary button, [data-theme="light"] .sc-monitor-schedule__link, [data-theme="light"] .sc-monitor-schedule__link span { color:#1d4ed8; }
    [data-theme="light"] .sc-monitor-diagnostic-summary button:hover, [data-theme="light"] .sc-monitor-schedule__link:hover, [data-theme="light"] .sc-monitor-schedule__link:hover span { color:#1e3a8a; }
    [data-theme="light"] .sc-monitor-inventory__stats > div { border-color:var(--sc-border-subtle); background:var(--sc-surface-card); }
    [data-theme="light"] .sc-monitor-inventory__stats dd, [data-theme="light"] .sc-monitor-inventory__stats dt { color:var(--sc-text-primary); }
    [data-theme="light"] .sc-monitor-inventory__stat--approved dt { color:#15803d; }
    [data-theme="light"] .sc-monitor-inventory__stat--pending dt { color:#a16207; }
    [data-theme="light"] .sc-monitor-inventory__stat--blocked dd, [data-theme="light"] .sc-monitor-inventory__stat--blocked dt { color:#b91c1c; }
    [data-theme="light"] .sc-monitor-schedule__item, [data-theme="light"] .sc-monitor-schedule__item .sc-card-icon, [data-theme="light"] .sc-monitor-schedule__item small { color:var(--sc-text-muted); }
    [data-theme="light"] .sc-monitor-schedule__item strong { color:var(--sc-text-primary); }
    [data-theme="light"] .scan-domain-diagnostics__heading { color:var(--sc-text-primary); }
    .sc-setup-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
    .sc-domain-overview { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid var(--sc-border-subtle); border-bottom:1px solid var(--sc-border-subtle); }
    .sc-domain-overview > div { min-width:0; padding:14px 18px 14px 0; }
    .sc-domain-overview > div + div { padding-left:18px; border-left:1px solid var(--sc-border-subtle); }
    .sc-domain-overview span { display:block; margin-bottom:5px; color:var(--sc-text-muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; }
    .sc-domain-overview strong { display:block; color:var(--sc-text-primary); font-size:.94rem; overflow-wrap:anywhere; }
    .sc-classification-overview { display:grid; grid-template-columns:minmax(280px,.9fr) minmax(320px,1.25fr); gap:28px; align-items:center; }
    .sc-classification-chart-group { display:flex; align-items:center; gap:24px; min-width:0; }
    .sc-classification-donut { position:relative; width:112px; height:112px; border-radius:50%; flex:0 0 112px; }
    .sc-classification-donut::after { content:''; position:absolute; inset:17px; border-radius:50%; background:var(--sc-surface-card); }
    .sc-classification-donut > span { position:absolute; inset:0; z-index:1; display:flex; flex-direction:column; align-items:center; justify-content:center; color:var(--sc-text-primary); }
    .sc-classification-donut strong { font-size:1.35rem; line-height:1; }
    .sc-classification-donut small { margin-top:3px; color:var(--sc-text-muted); font-size:.7rem; }
    .sc-classification-legend { display:grid; gap:7px; min-width:150px; flex:1; }
    .sc-classification-legend__row { display:grid; grid-template-columns:10px minmax(0,1fr) auto; gap:8px; align-items:center; color:var(--sc-text-primary); font-size:.8rem; }
    .sc-classification-legend__row strong { font-size:.8rem; }
    .sc-classification-legend__dot { width:9px; height:9px; border-radius:50%; background:var(--sc-text-muted); }
    .sc-classification-legend__dot--allowed { background:var(--sc-status-healthy); }
    .sc-classification-legend__dot--learning { background:var(--sc-status-informational); }
    .sc-classification-legend__dot--review { background:var(--sc-status-warning); }
    .sc-classification-legend__dot--unauthorized { background:var(--sc-status-critical); }
    .sc-classification-change { display:flex; flex-direction:column; gap:10px; min-width:0; }
    .sc-classification-change__label { color:var(--sc-text-muted); font-size:.76rem; }
    .sc-classification-change__badges { display:flex; gap:8px; flex-wrap:wrap; }
    .sc-classification-change__badges span { padding:3px 9px; border-radius:999px; background:var(--sc-metric-info-bg); color:var(--sc-metric-info-text); font-size:.75rem; font-weight:700; }
    .sc-classification-change .sc-status-bar { flex:none; width:100%; }
    .sc-classification-change p { margin:0; color:var(--sc-text-muted); font-size:.78rem; line-height:1.4; }
    .sc-entity-card__footer { display:flex; align-items:center; justify-content:flex-end; border-top:1px solid var(--sc-border-subtle); padding-top:10px; }
    .sc-learning-context { display:flex; flex-direction:column; gap:3px; padding:10px 12px; border:1px solid var(--sc-metric-warning-border); border-radius:var(--sc-radius-sm); background:var(--sc-metric-warning-bg); color:var(--sc-text-muted); font-size:.84rem; }
    .sc-learning-context strong { color:var(--sc-text-primary); font-size:.86rem; }
    .sc-entity-card__meta { display:flex; gap:0; flex-wrap:wrap; padding:4px 0; }
    .sc-entity-card__meta-item { display:flex; flex-direction:column; gap:4px; min-width:190px; padding-right:20px; font-size:.86rem; color:var(--sc-text-muted); }
    .sc-entity-card__meta-item + .sc-entity-card__meta-item { padding-left:20px; border-left:1px solid var(--sc-border-subtle); }
    .sc-entity-card__meta-label { font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color:var(--sc-text-muted); }
    .sc-entity-card__meta-item strong { color:var(--sc-text-primary); font-size:.96rem; }
    .sc-entity-card__metrics { display:flex; flex-direction:column; gap:14px; }
    .sc-entity-card__metrics-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding-top:14px; border-top:1px solid var(--sc-border-subtle); }
    .sc-entity-card__metrics-heading strong { color:var(--sc-text-primary); font-size:.92rem; }
    .sc-entity-card__metrics-heading span { color:var(--sc-text-muted); font-size:.8rem; }
    .sc-entity-card__counts { display:flex; gap:18px; flex-wrap:wrap; align-items:flex-start; min-height:42px; }
    .sc-entity-card__coverage { display:flex; align-items:center; gap:16px; width:100%; }
    .sc-entity-card__coverage-meta { display:flex; flex-direction:column; align-items:flex-end; gap:2px; margin-left:auto; }
    .sc-entity-card__external-label { font-size:.72rem; color:var(--sc-text-muted); white-space:nowrap; }
    .sc-entity-card__total { display:flex; align-items:center; gap:2px; font-size:.82rem; color:var(--sc-text-muted); white-space:nowrap; }
    .sc-entity-card__total-count { font-weight:600; color:var(--sc-text-primary); }
    .sc-entity-card__actions { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:10px; padding-top:2px; }
    .sc-entity-card__action-group { display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-width:0; }
    .sc-entity-card__links { display:flex; align-items:center; justify-content:flex-end; gap:2px; flex-wrap:wrap; }
    .sc-count-chip { display:inline-flex; flex-direction:column; align-items:flex-start; gap:8px; border:0; border-radius:0; padding:0; font-size:.82rem; cursor:default; font-weight:600; background:transparent; }
    .sc-count-chip__num { font-weight:700; font-size:2rem; line-height:1; color:var(--sc-text-primary); }
    .sc-count-chip__label { opacity:1; display:inline-flex; padding:4px 10px; border-radius:999px; font-size:.78rem; }
    .sc-count-chip--critical { color:var(--sc-metric-critical-text); }
    .sc-count-chip--warning { color:var(--sc-metric-warning-text); }
    .sc-count-chip--info { color:var(--sc-metric-info-text); }
    .sc-count-chip--healthy { color:var(--sc-metric-healthy-text); }
    .sc-count-chip--critical .sc-count-chip__label { background:var(--sc-status-critical); color:#fff; }
    .sc-count-chip--warning .sc-count-chip__label { background:var(--sc-status-warning); color:#fff; }
    .sc-count-chip--info .sc-count-chip__label { background:var(--sc-status-informational); color:#fff; }
    .sc-count-chip--healthy .sc-count-chip__label { background:var(--sc-status-healthy); color:#fff; }
    .sc-status-bar { flex:1; display:flex; height:16px; border-radius:999px; overflow:hidden; min-width:100px; background:var(--sc-metric-neutral-bg); border:1px solid var(--sc-border-subtle); }
    .sc-status-bar__critical { background:var(--sc-status-critical); }
    .sc-status-bar__warning { background:var(--sc-status-warning); }
    .sc-status-bar__info { background:var(--sc-status-informational); }
    .sc-status-bar__healthy { background:var(--sc-status-healthy); }
    .sc-script-preview { border:1px solid var(--sc-border-subtle); border-radius:var(--sc-radius-sm); background:rgba(248,250,252,.72); overflow:hidden; }
    .sc-script-preview__title { padding:9px 12px; border-bottom:1px solid var(--sc-border-subtle); font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color:var(--sc-text-muted); font-weight:700; }
    .sc-script-preview__row { display:grid; grid-template-columns:minmax(0,1fr) minmax(9rem, max-content); gap:12px; align-items:center; padding:9px 12px; border-bottom:1px solid var(--sc-border-subtle); font-size:.84rem; }
    .sc-script-preview__row:last-of-type { border-bottom:0; }
    .sc-script-preview__source { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--sc-text-primary); font-family:Consolas,monospace; }
    .sc-script-preview__host, .sc-script-preview__more { color:var(--sc-text-muted); font-size:.8rem; }
    .sc-script-preview__more { padding:8px 12px; border-top:1px solid var(--sc-border-subtle); }
    .sc-script-preview--empty { padding:10px 12px; color:var(--sc-text-muted); font-size:.84rem; border-style:dashed; background:transparent; }
    .sc-entity-card__action-group .inline-form { display:inline-flex; align-items:center; gap:8px; flex-wrap:wrap; margin:0; min-width:0; }
    .sc-action-link { display:inline-flex; align-items:center; justify-content:center; min-height:38px; border:1px solid transparent; border-radius:var(--sc-radius-sm); background:transparent; font-size:.85rem; font-weight:650; color:var(--sc-text-muted); text-decoration:none; cursor:pointer; padding:0 10px; white-space:nowrap; }
    .sc-action-link:hover { color:var(--sc-text-primary); border-color:var(--sc-border-subtle); text-decoration:none; }
    .sc-action-btn { display:inline-flex; align-items:center; justify-content:center; min-height:38px; font-size:.85rem; font-weight:650; color:var(--sc-text-primary); background:var(--sc-surface-card); border:1px solid var(--sc-border-subtle); border-radius:var(--sc-radius-sm); padding:0 13px; cursor:pointer; transition:background .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease; width:auto; max-width:100%; overflow-wrap:anywhere; text-align:center; text-decoration:none; white-space:normal; }
    .sc-action-btn:hover:not(:disabled) { border-color:var(--sc-text-muted); color:var(--sc-text-primary); box-shadow:var(--sc-shadow-soft); text-decoration:none; }
    .sc-action-btn--scan { color:#fff; border-color:#0369a1; background:#0369a1; box-shadow:0 3px 10px rgba(3,105,161,.24); }
    .sc-action-btn--scan:hover:not(:disabled), .sc-action-btn--scan:focus-visible { color:#fff; border-color:#075985; background:#075985; box-shadow:0 5px 14px rgba(7,89,133,.32); transform:translateY(-1px); }
    .sc-action-btn--scan:focus-visible { outline:3px solid var(--sc-focus-ring); outline-offset:2px; }
    .sc-action-btn--scan:disabled { opacity:1; color:#475569; border-color:#64748b; background:#e2e8f0; box-shadow:none; transform:none; }
    .sc-action-btn--setup { color:var(--sc-metric-warning-text); border-color:var(--sc-metric-warning-border); background:var(--sc-metric-warning-bg); }
    .sc-action-btn--setup:hover:not(:disabled) { border-color:var(--sc-status-warning); }
    .sc-entity-card__diagnostics { border-top:1px solid var(--sc-border-subtle); padding-top:12px; }
    .sc-entity-card__diagnostics > summary { display:flex; align-items:center; justify-content:space-between; gap:16px; list-style:none; cursor:pointer; color:var(--sc-dark-card-text-muted); }
    .sc-entity-card__diagnostics > summary::-webkit-details-marker { display:none; }
    .sc-entity-card__diagnostics > summary > span:first-child { display:flex; flex-direction:column; gap:2px; min-width:0; }
    .sc-entity-card__diagnostics > summary strong { color:var(--sc-dark-card-text-primary); font-size:.84rem; }
    .sc-entity-card__diagnostics > summary small { color:var(--sc-dark-card-text-muted); font-size:.76rem; }
    .sc-entity-card__diagnostics-action { flex:0 0 auto; font-size:.8rem; font-weight:650; color:var(--sc-dark-card-text-muted); }
    .sc-entity-card__diagnostics-action::after { content:'  +'; }
    .sc-entity-card__diagnostics[open] .sc-entity-card__diagnostics-action::after { content:'  -'; }
    .sc-entity-card__scanner-evidence { margin-top:14px; padding:14px; border:1px solid var(--sc-border-strong); border-radius:var(--sc-radius-sm); background:var(--sc-surface-muted); }
    .sc-entity-card__scanner-evidence .facts dt, .sc-diagnostic-dialog__disclosure-body > .panel .facts dt { color:var(--sc-monitor-nested-label); }
    [data-theme="dark"] .sc-action-btn { background:#182942; border-color:#45617f; color:#cbd5e1; }
    [data-theme="dark"] .sc-action-btn:hover:not(:disabled) { background:#203553; border-color:#6b86a8; color:#fff; }
    [data-theme="dark"] .sc-action-btn--scan { color:#fff; border-color:#38bdf8; background:#0369a1; box-shadow:0 3px 12px rgba(3,105,161,.3); }
    [data-theme="dark"] .sc-action-btn--scan:hover:not(:disabled), [data-theme="dark"] .sc-action-btn--scan:focus-visible { color:#fff; border-color:#93c5fd; background:#075985; box-shadow:0 5px 16px rgba(7,89,133,.38); }
    [data-theme="dark"] .sc-action-btn--scan:disabled { opacity:1; color:#94a3b8; border-color:#94a3b8; background:#26364d; box-shadow:none; transform:none; }
    [data-theme="dark"] .sc-action-btn--setup { color:#fde68a; border-color:rgba(251,191,36,.38); background:rgba(251,191,36,.13); }
    .sc-btn-review { display:inline-flex; align-items:center; justify-content:center; background:var(--sc-action-review-bg); color:var(--sc-action-review-text); border:1px solid rgba(180,83,9,.12); border-radius:var(--sc-radius-sm); padding:10px 20px; font-weight:600; font-size:.875rem; cursor:pointer; white-space:nowrap; transition:background .15s ease; box-shadow:var(--sc-shadow-soft); width:auto; text-decoration:none; }
    .sc-btn-review:hover { background:var(--sc-action-review-hover); color:var(--sc-action-review-text); text-decoration:none; }
    .sc-domain-inline { border-top:1px solid var(--sc-border-subtle); background:linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,0)); padding:16px; margin:0 -20px -20px; }
    .sc-domain-inline > summary, .sc-domain-inline > details > summary { cursor:pointer; font-weight:600; color:var(--sc-dark-card-text-primary); }
    .sc-domain-inline > p, .sc-domain-inline > .trace, .sc-domain-inline > .stack-list { color:var(--sc-dark-card-text-muted); }
    .sc-domain-inline > .stack-list strong { color:var(--sc-dark-card-text-primary); }
    .sc-domain-inline > h3, .sc-domain-inline > h4 { color:var(--sc-dark-card-text-primary); }
    .sc-domain-inline > .facts dt { color:var(--sc-dark-card-text-accent); }
    .sc-domain-inline > .facts dd { color:var(--sc-dark-card-text-primary); }
    .sc-domain-group .sc-script-preview--empty { color:var(--sc-dark-card-text-muted); border-color:#526987; }
    .sc-empty-state { text-align:center; padding:48px 24px; color:var(--sc-text-muted); border:1px dashed var(--sc-border-subtle); border-radius:var(--sc-radius-md); background:var(--sc-surface-card); }
    .sc-empty-state__title { font-size:1.1rem; font-weight:600; color:var(--sc-text-primary); margin-bottom:6px; }
    .sc-empty-state__message { font-size:.875rem; max-width:360px; margin:0 auto; }
    .dashboard-empty-state { display:grid; grid-template-columns:auto minmax(0,1fr); gap:1rem; align-items:center; }
    .dashboard-scan-state { grid-template-columns:repeat(auto-fit, minmax(12rem,1fr)); }
    .dashboard-page { display:flex; flex-direction:column; gap:var(--sc-space-24); }
    .dashboard-page__heading h1 { margin:0; font-size:1.8rem; line-height:1.2; font-weight:500; color:var(--sc-text-primary); }
    .dashboard-page__heading p { margin:8px 0 0; max-width:760px; color:var(--sc-text-muted); font-size:1rem; }
    .dashboard-health-banner { display:flex; align-items:center; gap:16px; border:1px solid #bbf7d0; border-radius:8px; padding:18px 20px; background:#f0fdf4; color:#0f172a; }
    .dashboard-health-banner--warning { border-color:#fde68a; background:#fffbeb; }
    .dashboard-health-banner--critical { border-color:#fecaca; background:#fef2f2; }
    .dashboard-health-banner--inactive { border-color:#d9e0eb; background:#f8fafc; }
    .dashboard-health-banner__badge { width:34px; height:34px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; font-size:.78rem; font-weight:800; color:#166534; background:#dcfce7; flex:0 0 auto; }
    .dashboard-health-banner--warning .dashboard-health-banner__badge { color:#92400e; background:#fef3c7; }
    .dashboard-health-banner--critical .dashboard-health-banner__badge { color:#991b1b; background:#fee2e2; }
    .dashboard-health-banner--inactive .dashboard-health-banner__badge { color:#475569; background:#e2e8f0; }
    .dashboard-health-banner__copy { display:flex; flex-direction:column; gap:4px; min-width:0; flex:1; }
    .dashboard-health-banner__copy span { color:var(--sc-text-muted); font-size:.9rem; }
    .dashboard-health-banner a { color:var(--sc-text-primary); text-decoration:none; font-weight:700; white-space:nowrap; }
    .dashboard-metadata-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--sc-border-subtle); border-radius:8px; background:var(--sc-surface-card); box-shadow:var(--sc-shadow-soft); overflow:hidden; }
    .dashboard-metadata-item { padding:18px 20px; min-width:0; }
    .dashboard-metadata-item + .dashboard-metadata-item { border-left:1px solid var(--sc-border-subtle); }
    .dashboard-metadata-item span, .dashboard-coverage-item__meta dt, .dashboard-domain-card__meta dt { display:block; font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; color:var(--sc-text-muted); }
    .dashboard-metadata-item strong, .dashboard-coverage-item__meta dd, .dashboard-domain-card__meta dd { display:block; margin:6px 0 0; font-size:.94rem; color:var(--sc-text-primary); }
    .dashboard-value-healthy { color:#15803d !important; }
    .dashboard-value-critical { color:#b91c1c !important; }
    .dashboard-metric-row { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
    .dashboard-metric-card { display:flex; flex-direction:column; gap:8px; min-height:142px; padding:18px 20px; border:1px solid var(--sc-border-subtle); border-left:4px solid #94a3b8; border-radius:8px; background:var(--sc-surface-card); box-shadow:var(--sc-shadow-soft); color:var(--sc-text-primary); text-decoration:none; }
    .dashboard-metric-card:hover { color:var(--sc-text-primary); text-decoration:none; border-color:#bfdbfe; }
    .dashboard-metric-card--healthy { border-left-color:#22c55e; }
    .dashboard-metric-card--warning { border-left-color:#f59e0b; }
    .dashboard-metric-card--critical { border-left-color:#ef4444; }
    .dashboard-metric-card--info { border-left-color:#3b82f6; }
    .dashboard-metric-card__top { display:flex; justify-content:space-between; align-items:center; }
    .dashboard-metric-card__icon { width:34px; height:34px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; font-size:.78rem; font-weight:800; color:#475569; background:#f8fafc; }
    .dashboard-metric-card--healthy .dashboard-metric-card__icon { color:#166534; background:#dcfce7; }
    .dashboard-metric-card--warning .dashboard-metric-card__icon { color:#92400e; background:#fef3c7; }
    .dashboard-metric-card--critical .dashboard-metric-card__icon { color:#991b1b; background:#fee2e2; }
    .dashboard-metric-card--info .dashboard-metric-card__icon { color:#1d4ed8; background:#dbeafe; }
    .dashboard-metric-card__chevron { color:var(--sc-text-muted); font-size:1.3rem; }
    .dashboard-metric-card__label { margin-top:6px; font-weight:700; }
    .dashboard-metric-card__count { font-size:1.8rem; line-height:1; font-weight:800; }
    .dashboard-metric-card__subtitle { color:var(--sc-text-muted); font-size:.86rem; line-height:1.35; }
    .dashboard-content-grid { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(320px,.95fr); gap:var(--sc-space-24); align-items:start; }
    .dashboard-main-column, .dashboard-side-column { display:flex; flex-direction:column; gap:var(--sc-space-24); min-width:0; }
    .dashboard-panel { border:1px solid var(--sc-border-subtle); border-radius:8px; background:var(--sc-surface-card); box-shadow:var(--sc-shadow-soft); overflow:hidden; }
    .dashboard-panel__header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:18px 20px; border-bottom:1px solid var(--sc-border-subtle); }
    .dashboard-panel__header h2 { margin:0; font-size:1.05rem; font-weight:700; color:var(--sc-text-primary); }
    .dashboard-panel__header p { margin:6px 0 0; color:var(--sc-text-muted); font-size:.9rem; }
    .dashboard-empty-panel__body { padding:20px; }
    .dashboard-empty-panel__title { font-weight:700; color:var(--sc-text-primary); }
    .dashboard-empty-panel__message, .dashboard-empty-copy { color:var(--sc-text-muted); }
    .dashboard-empty-panel__actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }
    .dashboard-empty-copy { padding:20px; }
    .dashboard-attention-list { display:flex; flex-direction:column; }
    .dashboard-domain-card { padding:18px 20px; border-bottom:1px solid var(--sc-border-subtle); }
    .dashboard-domain-card:last-child { border-bottom:0; }
    .dashboard-domain-card__header { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
    .dashboard-domain-card__title-row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
    .dashboard-domain-card p { margin:6px 0 0; color:var(--sc-text-muted); }
    .dashboard-domain-card__meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:14px 0; }
    .dashboard-domain-card__metrics { display:flex; flex-direction:column; gap:10px; }
    .dashboard-count-chips { display:flex; gap:8px; flex-wrap:wrap; }
    .dashboard-count-chip { display:inline-flex; align-items:center; gap:6px; border-radius:999px; padding:6px 10px; font-size:.78rem; border:1px solid transparent; }
    .dashboard-count-chip--critical { color:#991b1b; background:#fee2e2; border-color:#fecaca; }
    .dashboard-count-chip--warning { color:#92400e; background:#fef3c7; border-color:#fde68a; }
    .dashboard-count-chip--info { color:#1d4ed8; background:#dbeafe; border-color:#bfdbfe; }
    .dashboard-count-chip--healthy { color:#166534; background:#dcfce7; border-color:#bbf7d0; }
    .dashboard-status-bar { display:flex; width:100%; height:8px; overflow:hidden; border-radius:999px; background:#e2e8f0; }
    .dashboard-status-bar span { display:block; height:100%; }
    .dashboard-status-bar__critical { background:#ef4444; }
    .dashboard-status-bar__warning { background:#f59e0b; }
    .dashboard-status-bar__info { background:#3b82f6; }
    .dashboard-status-bar__healthy { background:#22c55e; }
    .dashboard-domain-card__coverage-meta { display:flex; justify-content:space-between; color:var(--sc-text-muted); font-size:.86rem; }
    .dashboard-task-actions { display:flex; flex-direction:column; gap:12px; padding:20px; }
    .dashboard-button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; border:1px solid var(--sc-action-primary); border-radius:8px; padding:.65rem 1rem; background:var(--sc-action-primary); color:#fff; font-weight:700; text-decoration:none; }
    .dashboard-button:hover { background:var(--sc-action-primary-hover); color:#fff; text-decoration:none; }
    .dashboard-button--secondary { background:transparent; color:var(--sc-text-primary); border-color:#94a3b8; }
    .dashboard-button--secondary:hover { background:#f8fafc; color:var(--sc-text-primary); }
    .dashboard-button--small { min-height:34px; padding:.45rem .75rem; font-size:.86rem; width:auto; }
    .dashboard-text-link { color:#0d6efd; font-weight:700; text-decoration:none; }
    .dashboard-text-link:hover { text-decoration:underline; }
    .dashboard-coverage-list { display:flex; flex-direction:column; }
    .dashboard-coverage-item { padding:16px 18px; border-bottom:1px solid var(--sc-border-subtle); }
    .dashboard-coverage-item:last-child { border-bottom:0; }
    .dashboard-coverage-item__header { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
    .dashboard-coverage-item__badges { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
    .dashboard-coverage-item__meta { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:14px 0 0; }
    .dashboard-coverage-footer { padding:14px 18px 18px; border-top:1px solid var(--sc-border-subtle); }
    .dashboard-coverage-empty { padding:20px 18px; color:var(--sc-text-muted); }
    .dashboard-table-wrap { overflow-x:auto; }
    .dashboard-activity-table { width:100%; border-collapse:collapse; }
    .dashboard-activity-table th { padding:12px 16px; border-bottom:1px solid var(--sc-border-subtle); background:var(--sc-surface-app); color:var(--sc-text-muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; text-align:left; white-space:nowrap; }
    .dashboard-activity-table td { padding:16px; border-bottom:1px solid var(--sc-border-subtle); vertical-align:middle; }
    .dashboard-activity-table td div { margin-top:4px; color:var(--sc-text-muted); font-size:.76rem; }
    .dashboard-activity-row--latest td { background:rgba(37,99,235,.04); }
    .dashboard-number { text-align:right; }
    /* Dashboard v2 intentionally owns its visual language so a stored light-mode
       preference cannot weaken the approved dark, payment-monitoring hierarchy. */
    .page-shell:has(.dashboard-v2) { background:#071426; color:#f8fafc; }
    .page-shell:has(.dashboard-v2) .content-shell { display:flex; min-width:0; padding:33px 48px 58px 34px; overflow-x:hidden; background:radial-gradient(circle at 52% -18%,rgba(25,75,130,.13),transparent 42%),#071426; }
    .dashboard-nav { color:#d7e1ed; }
    .dashboard-nav__brand { min-height:92px; padding:12px; gap:8px; align-items:center; border-bottom-color:#26394e; }
    .dashboard-nav__brand-copy { display:flex; align-items:center; gap:8px; min-width:0; flex:1 1 auto; }
    .dashboard-nav__brand-copy .brand-copy { min-width:0; }
    .dashboard-nav__brand .brand-title { color:#f8fafc; font-size:1.25rem; letter-spacing:-.025em; white-space:normal; overflow-wrap:anywhere; }
    .dashboard-nav__brand .brand-subtitle { white-space:normal; overflow-wrap:anywhere; }
    .dashboard-nav__brand-mark { display:grid; place-items:center; flex:0 0 29px; width:29px; height:29px; border-radius:9px; color:#fff; background:linear-gradient(145deg,#3c86ff,#1f59c8); box-shadow:0 7px 18px rgba(22,93,220,.34); }
    .dashboard-nav__brand-mark svg { width:23px; height:23px; fill:#2e70e4; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
    .dashboard-nav .sidebar-toggle { display:grid; width:28px; height:28px; }
    .dashboard-nav .nav-sections { flex:1 1 auto; gap:0; padding:14px 12px 18px; }
    .dashboard-nav .section-toggle { min-height:32px; margin:9px 12px 8px; padding:0; color:#7fa0c8; }
    .dashboard-nav .nav-section-title { color:#7fa0c8; }
    .dashboard-nav .nav-section-items { gap:8px; }
    .dashboard-nav .nav-link-item { min-height:47px; padding:0 14px; border:1px solid transparent; border-left-width:1px; border-radius:9px; gap:14px; color:#eef3f9; font-size:1rem; }
    .dashboard-nav .nav-link-item:hover, .dashboard-nav .nav-link-item:focus-visible { background:#10294a; border-color:#24518b; }
    .dashboard-nav .nav-link-item.active { color:#fff; background:linear-gradient(90deg,#163968,#12335f); border-color:#2861a5; box-shadow:inset 0 0 0 1px rgba(75,139,225,.08); }
    .dashboard-nav .nav-icon { width:24px; height:24px; color:#9baabd; }
    .dashboard-nav .nav-link-item.active .nav-icon { color:#65a3ff; }
    .dashboard-header { position:relative; min-height:88px; align-items:center; flex-wrap:nowrap; gap:24px; padding:14px 34px; border-bottom-color:#253850; background:rgba(8,25,45,.96); box-shadow:none; }
    .dashboard-header__context { align-items:center; flex:1 1 auto; }
    .dashboard-header .page-status-header__org-monogram { width:44px; height:44px; color:#dceaff; background:linear-gradient(145deg,#265ca5,#163a6f); border-color:#2e67ad; font-size:1rem; }
    .dashboard-header .page-status-header__eyebrow { color:#aab7c8; font-size:.72rem; letter-spacing:.04em; }
    .dashboard-header .page-status-header__org-name { color:#fff; font-size:1.15rem; line-height:1.35; }
    .dashboard-header__org-row { display:flex; align-items:center; gap:11px; color:#dce4ee; }
    .dashboard-header__latest { display:flex; flex:0 0 auto; align-items:center; gap:12px; color:#b9c4d2; font-size:.96rem; white-space:nowrap; }
    .dashboard-header__actions { align-items:center; gap:42px; }
    .dashboard-header__run { display:inline-flex; align-items:center; justify-content:center; min-width:128px; min-height:44px; padding:0 22px; border:1px solid #4089ff; border-radius:9px; background:linear-gradient(180deg,#3380ff,#236be5); box-shadow:0 8px 22px rgba(25,90,214,.27); color:#fff; font-weight:700; text-decoration:none; }
    .dashboard-header__run:hover { color:#fff; background:#2d75ed; text-decoration:none; }
    .dashboard-header .page-status-header__user-toggle { color:#fff; gap:17px; padding-right:0; }
    .dashboard-header .page-status-header__user-avatar { width:40px; height:40px; background:#435269; border-color:#506078; }
    .dashboard-header .page-status-header__user-dropdown { background:#102038; border-color:#314760; }
    .dashboard-header .page-status-header__user-name { color:#f8fafc; }
    .dashboard-header .page-status-header__user-email { color:#9eacbe; }
    [data-theme="dark"] .dashboard-header { border-bottom-color:#253850; background:rgba(8,25,45,.96); }
    [data-theme="dark"] .dashboard-header .page-status-header__org-monogram { color:#dceaff; background:linear-gradient(145deg,#265ca5,#163a6f); border-color:#2e67ad; }
    .dashboard-v2 { display:flex; flex:1 1 auto; flex-direction:column; width:100%; min-width:0; min-height:calc(100vh - 179px); min-height:calc(100dvh - 179px); margin:0; color:#f8fafc; }
    .dashboard-v2__heading { margin-bottom:22px; }
    .dashboard-v2__eyebrow { margin:0 0 7px !important; color:#65a4ff !important; font-size:.86rem !important; font-weight:500; line-height:1.25; letter-spacing:.015em; }
    .dashboard-v2__heading h1 { margin:0; color:#fff; font-size:2.28rem; font-weight:650; line-height:1.18; letter-spacing:-.025em; }
    .dashboard-v2__heading > p:last-child { margin:10px 0 0; color:#c0cad6; font-size:1.08rem; line-height:1.35; }
    .dashboard-v2-alert { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:25px; min-height:120px; padding:22px 29px; border:1px solid #95600c; border-radius:10px; background:linear-gradient(105deg,rgba(82,48,10,.34),rgba(67,38,10,.21)); }
    .dashboard-v2-alert--healthy { border-color:#286749; background:linear-gradient(105deg,rgba(12,75,49,.3),rgba(8,51,39,.18)); }
    .dashboard-v2-alert__copy h2 { margin:0 0 6px; color:#fff; font-size:1.33rem; font-weight:650; }
    .dashboard-v2-alert__copy p { margin:0; color:#d0d6df; font-size:1.02rem; }
    .dashboard-v2-alert__actions { display:flex; align-items:center; gap:36px; }
    .dashboard-v2-button { display:inline-flex; align-items:center; justify-content:center; min-width:184px; min-height:50px; padding:0 24px; border:1px solid #2f83ff; border-radius:9px; color:#fff; background:linear-gradient(180deg,#3382ff,#246be6); box-shadow:0 8px 20px rgba(21,78,188,.24); font-size:1rem; font-weight:650; text-decoration:none; }
    .dashboard-v2-button:hover { color:#fff; background:#2c74ee; text-decoration:none; }
    .dashboard-v2-link { color:#3f91ff; font-size:1rem; font-weight:600; text-decoration:none; white-space:nowrap; }
    .dashboard-v2-link:hover { color:#75b0ff; text-decoration:underline; }
    .dashboard-v2-icon { display:grid; place-items:center; flex:0 0 auto; width:52px; height:52px; border:1px solid #2765b9; border-radius:999px; color:#fff; background:linear-gradient(145deg,#265ba5,#154486); }
    .dashboard-v2-icon svg { width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
    .dashboard-v2-icon--large { width:62px; height:62px; }
    .dashboard-v2-icon--large svg { width:34px; height:34px; }
    .dashboard-v2-icon--warning { color:#ffbd4a; border-color:#9b6108; background:radial-gradient(circle at 35% 30%,#8b570b,#613900); }
    .dashboard-v2-icon--healthy { color:#dffbea; border-color:#278652; background:linear-gradient(145deg,#1b7445,#0f4b30); }
    .dashboard-v2-icon--info { color:#f2f7ff; border-color:#2765b9; background:linear-gradient(145deg,#265ba5,#154486); }
    .dashboard-v2-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:19px; margin-top:19px; }
    .dashboard-v2-metric { display:flex; align-items:center; gap:24px; min-width:0; min-height:142px; padding:23px 26px; border:1px solid #2c425c; border-radius:10px; color:#f8fafc; background:linear-gradient(145deg,rgba(18,38,65,.94),rgba(12,30,53,.96)); box-shadow:0 13px 28px rgba(0,0,0,.09); text-decoration:none; }
    .dashboard-v2-metric:hover { color:#fff; border-color:#466588; background:linear-gradient(145deg,#142d4d,#0f2745); text-decoration:none; }
    .dashboard-v2-metric__copy { display:flex; flex-direction:column; min-width:0; }
    .dashboard-v2-metric__label { margin-bottom:9px; color:#b2bdcb; font-size:.85rem; letter-spacing:.025em; }
    .dashboard-v2-metric__copy strong { color:#fff; font-size:1.73rem; line-height:1.08; font-weight:680; overflow-wrap:anywhere; }
    .dashboard-v2-metric__copy > span:last-child { margin-top:10px; color:#bec8d5; font-size:.98rem; }
    .dashboard-v2-lower-grid { display:grid; flex:1 1 auto; grid-template-columns:minmax(0,1.7fr) minmax(390px,1.05fr); gap:19px; min-width:0; min-height:297px; margin-top:19px; }
    .dashboard-v2-panel { min-width:0; min-height:297px; height:100%; padding:26px; border:1px solid #2c425c; border-radius:10px; background:linear-gradient(145deg,rgba(18,38,65,.9),rgba(12,30,53,.95)); box-shadow:0 13px 28px rgba(0,0,0,.09); }
    .dashboard-v2-panel > h2 { margin:0 0 20px; color:#fff; font-size:1.35rem; font-weight:650; }
    .dashboard-v2-actions { overflow:hidden; border:1px solid #2b435e; border-radius:9px; }
    .dashboard-v2-action { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:18px; min-height:62px; padding:8px 17px 8px 9px; color:#f7f9fc; border-bottom:1px solid #2b435e; background:rgba(8,25,45,.1); text-decoration:none; }
    .dashboard-v2-action:last-child { border-bottom:0; }
    .dashboard-v2-action:hover { color:#fff; background:rgba(47,105,176,.12); text-decoration:none; }
    .dashboard-v2-action .dashboard-v2-icon { width:43px; height:43px; }
    .dashboard-v2-action .dashboard-v2-icon svg { width:24px; height:24px; }
    .dashboard-v2-action strong { font-size:1rem; font-weight:620; }
    .dashboard-v2-action__link { display:flex; align-items:center; gap:19px; color:#3f91ff; font-size:.98rem; font-weight:550; white-space:nowrap; }
    .dashboard-v2-action__link > span { font-size:1.8rem; line-height:1; }
    .dashboard-v2-activity__item { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:21px; min-height:69px; }
    .dashboard-v2-activity__item + .dashboard-v2-activity__item { margin-top:2px; padding-top:16px; border-top:1px solid #2b435e; }
    .dashboard-v2-activity__item .dashboard-v2-icon { width:53px; height:53px; }
    .dashboard-v2-activity__item div { display:flex; flex-direction:column; gap:8px; }
    .dashboard-v2-activity__item strong { color:#fff; font-size:1rem; font-weight:620; }
    .dashboard-v2-activity__item span { color:#b4c0cf; font-size:.98rem; }
    .dashboard-v2-activity__link { display:inline-flex; align-items:center; gap:12px; margin-top:20px; }
    .dashboard-v2 :is(a,button):focus-visible, .dashboard-header :is(a,button):focus-visible, .dashboard-nav :is(a,button):focus-visible { outline:3px solid #93c5fd; outline-offset:3px; }
    .history-domain-list .panel { margin-bottom:0; color:var(--sc-text-primary); text-decoration:none; }
    .history-script-row { border-bottom:1px solid var(--line); padding:.75rem 0; }
    .page-shell[data-active-route="url-history"] .content-shell { min-width:0; }
    .page-shell[data-active-route="url-history"] :is(.hero,[data-history-target],.history-script-row,.history-script-row .grid) { min-width:0; max-width:100%; }
    .page-shell[data-active-route="url-history"] [data-history-target] > *,
    .page-shell[data-active-route="url-history"] .history-script-row .grid > * { min-width:0; max-width:100%; }
    .page-shell[data-active-route="url-history"] [data-history-target] > div:first-child { display:grid; gap:.25rem; min-width:0; }
    .page-shell[data-active-route="url-history"] [data-history-target] small { display:block; }
    .page-shell[data-active-route="url-history"] .hero h1,
    .page-shell[data-active-route="url-history"] [data-history-target] :is(code,small),
    .page-shell[data-active-route="url-history"] .history-script-row :is(strong,p,code,dd) { max-width:100%; white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
    .page-shell[data-active-route="url-history"] .content-shell:has(.evidence-history) { padding:1.85rem 2rem 2.5rem; background:radial-gradient(circle at 38% 0,rgba(24,72,118,.13),transparent 34%),#061426; }
    .evidence-history { display:grid; gap:1rem; width:100%; min-width:0; max-width:1540px; margin:0 auto; color:#f7f9fc; }
    .evidence-history :is(h1,h2,p) { margin-top:0; }
    .evidence-history :is(a,button,summary):focus-visible { outline:3px solid #93c5fd; outline-offset:3px; }
    .evidence-history-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:1rem 2rem; padding:.15rem 0 .35rem; }
    .evidence-history-heading__copy { min-width:0; }
    .evidence-history-breadcrumbs { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; margin:0 0 .75rem; color:#aebbd0; font-size:.86rem; }
    .evidence-history-breadcrumbs a { color:#65a4ff; text-decoration:none; }
    .evidence-history-breadcrumbs a:hover { text-decoration:underline; }
    .evidence-history-heading h1 { margin:0; color:#fff; font-size:2rem; font-weight:690; line-height:1.16; letter-spacing:-.02em; }
    .evidence-history-identity { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; min-width:0; margin-top:.7rem; color:#c7d0dc; }
    .evidence-history-identity code { max-width:100%; color:#dbe5f2; background:transparent; white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
    .evidence-history-chip { display:inline-flex; min-height:1.7rem; align-items:center; padding:.15rem .75rem; border:1px solid #2365ad; border-radius:.35rem; color:#69a9ff; background:rgba(18,75,135,.16); font-size:.79rem; line-height:1; }
    .evidence-history-chip--scope { color:#71dea1; border-color:#25875a; background:rgba(18,104,63,.16); }
    .evidence-history-selector { position:relative; min-width:15rem; }
    .evidence-history-selector > summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:3rem; padding:.65rem 1rem; border:1px solid #36516f; border-radius:.48rem; color:#f6f8fb; background:#10233b; font-weight:650; cursor:pointer; list-style:none; white-space:normal; overflow-wrap:anywhere; }
    .evidence-history-selector > summary::-webkit-details-marker { display:none; }
    .evidence-history-selector > summary::after { content:"⌄"; color:#c5d0de; font-size:1.15rem; }
    .evidence-history-selector[open] > summary::after { transform:rotate(180deg); }
    .evidence-history-selector__menu { position:absolute; z-index:8; top:calc(100% + .4rem); right:0; display:grid; width:min(31rem,calc(100vw - 2rem)); padding:.4rem; border:1px solid #36516f; border-radius:.55rem; background:#0d1f35; box-shadow:0 18px 45px rgba(0,0,0,.38); }
    .evidence-history-selector__menu a { display:grid; gap:.15rem; min-width:0; padding:.7rem .75rem; border-radius:.35rem; color:#eef4fc; text-decoration:none; }
    .evidence-history-selector__menu a:hover, .evidence-history-selector__menu a[aria-current="page"] { background:#173352; }
    .evidence-history-selector__menu span { overflow-wrap:anywhere; }
    .evidence-history-selector__menu small { color:#9eafc4; }
    .evidence-history-alert { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:1.25rem; min-height:6.7rem; padding:1rem 1.25rem; border:1px solid #a67800; border-radius:.58rem; background:linear-gradient(105deg,rgba(68,53,11,.31),rgba(15,31,48,.78)); }
    .evidence-history-alert--ready { border-color:#26805a; background:linear-gradient(105deg,rgba(13,81,55,.25),rgba(15,31,48,.78)); }
    .evidence-history-alert--review { border-color:#b57a1a; }
    .evidence-history-alert__icon { display:grid; place-items:center; width:3rem; height:3rem; color:#ffcb23; }
    .evidence-history-alert--ready .evidence-history-alert__icon { color:#72e0a3; }
    .evidence-history-alert__icon svg { width:2.75rem; height:2.75rem; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
    .evidence-history-alert__copy { min-width:0; }
    .evidence-history-alert__copy h2 { margin:0 0 .35rem; color:#ffcb23; font-size:1.15rem; font-weight:720; }
    .evidence-history-alert--ready .evidence-history-alert__copy h2 { color:#72e0a3; }
    .evidence-history-alert__copy p { margin:0; color:#d1d9e5; line-height:1.55; }
    .evidence-history-alert__actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.75rem; }
    .evidence-history-button { display:inline-flex; align-items:center; justify-content:center; min-height:2.8rem; padding:.55rem 1.1rem; border:1px solid #4385dc; border-radius:.42rem; color:#fff; font-weight:650; text-decoration:none; white-space:nowrap; }
    .evidence-history-button:hover { color:#fff; text-decoration:none; filter:brightness(1.09); }
    .evidence-history-button--primary { background:linear-gradient(180deg,#2d82ff,#1767df); box-shadow:0 8px 18px rgba(17,84,190,.22); }
    .evidence-history-button--secondary { background:#0b1c31; }
    .evidence-history-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.85rem; }
    .evidence-history-metric { min-width:0; min-height:7.45rem; padding:1.1rem 1.25rem; border:1px solid #29415d; border-radius:.55rem; background:linear-gradient(145deg,rgba(18,39,66,.96),rgba(10,29,50,.96)); }
    .evidence-history-metric__label { display:flex; align-items:center; gap:.55rem; color:#b9c4d3; font-size:.86rem; }
    .evidence-history-metric__label svg { width:1.25rem; height:1.25rem; fill:none; stroke:#aebdd0; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
    .evidence-history-metric > strong { display:block; margin-top:.55rem; color:#fff; font-size:1.55rem; line-height:1.1; overflow-wrap:anywhere; }
    .evidence-history-metric--warning > strong { color:#ffce2e; }
    .evidence-history-metric--muted > strong { color:#9aa8ba; }
    .evidence-history-metric p { margin:.55rem 0 0; color:#aebac9; font-size:.88rem; line-height:1.4; }
    .evidence-history-metric--diagnostic p::before { content:""; display:inline-block; width:.65rem; height:.65rem; margin-right:.45rem; border-radius:999px; background:#f6c945; }
    .evidence-history-panel { min-width:0; border:1px solid #29415d; border-radius:.55rem; background:linear-gradient(145deg,rgba(16,37,62,.95),rgba(9,28,48,.96)); overflow:hidden; }
    .evidence-history-panel h2 { margin:0; color:#f8fafc; font-size:1.08rem; }
    .evidence-history-scope { padding:1rem 1.15rem .7rem; }
    .evidence-history-scope h2 { margin-bottom:.65rem; }
    .evidence-history-scope__rows { border-top:1px solid #263e58; }
    .evidence-history-scope-row { display:grid; grid-template-columns:1.4rem minmax(14rem,1.5fr) minmax(12rem,1fr) minmax(8rem,.55fr) 1rem; align-items:center; gap:.75rem; min-height:2.65rem; padding:.45rem .75rem; border-bottom:1px solid #263e58; color:#dfe8f4; text-decoration:none; }
    .evidence-history-scope-row:hover, .evidence-history-scope-row.is-selected { color:#fff; background:rgba(31,74,117,.16); text-decoration:none; }
    .evidence-history-scope-row code { min-width:0; color:#e3ebf6; background:transparent; overflow-wrap:anywhere; word-break:break-word; }
    .evidence-history-scope-row__marker { width:1rem; height:1rem; border:1.5px solid #4d90e9; border-radius:999px; }
    .evidence-history-scope-row__marker--active { display:grid; place-items:center; color:#061a13; border-color:#67d99b; background:#67d99b; }
    .evidence-history-scope-row__marker svg { width:.78rem; height:.78rem; fill:none; stroke:currentColor; stroke-width:2.6; }
    .evidence-history-scope-row__scope { color:#aebac9; font-size:.85rem; }
    .evidence-history-scope-row.is-selected .evidence-history-scope-row__scope { color:#69dfa0; }
    .evidence-history-scope-row--retained .evidence-history-scope-row__scope { color:#aebac9; }
    .evidence-history-scope-row__status { justify-self:start; color:#c2cedc; font-size:.84rem; }
    .evidence-history-scope-row__status--diagnostic::before { content:""; display:inline-block; width:.58rem; height:.58rem; margin-right:.45rem; border-radius:999px; background:#f5ca45; }
    .evidence-history-scope-row__status--authoritative { color:#6ee0a3; }
    .evidence-history-scope-row__chevron { color:#b8c5d5; font-size:1.35rem; }
    .evidence-history-lower { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(20rem,1fr); gap:.85rem; min-width:0; }
    .evidence-history-panel__header { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.85rem 1.1rem; border-bottom:1px solid #29415d; }
    .evidence-history-filters { display:flex; flex-wrap:wrap; gap:.45rem; }
    .evidence-history-filters button { width:auto; min-height:1.85rem; margin:0; padding:.25rem 1rem; border:1px solid #315273; border-radius:999px; color:#dce5f1; background:#10243c; font:inherit; font-size:.78rem; cursor:pointer; }
    .evidence-history-filters button.is-active { border-color:#2f82fc; color:#fff; background:linear-gradient(180deg,#3382ff,#2369df); }
    .evidence-history-timeline__body { position:relative; padding:.15rem 1.1rem 0 1.35rem; }
    .evidence-history-timeline__body::before { content:""; position:absolute; top:1.55rem; bottom:1rem; left:2.18rem; width:1px; background:#4d6988; }
    .evidence-history-event { position:relative; display:grid; grid-template-columns:2.15rem minmax(0,1fr); gap:.75rem; padding:.75rem 0; }
    .evidence-history-event[hidden] { display:none; }
    .evidence-history-event__marker { z-index:1; display:grid; place-items:center; width:1.45rem; height:1.45rem; margin:.75rem 0 0 .12rem; border:1px solid #55718f; border-radius:999px; color:#aab7c8; background:#0d2137; }
    .evidence-history-event__marker svg { width:1.05rem; height:1.05rem; fill:none; stroke:currentColor; stroke-width:1.8; }
    .evidence-history-event--diagnostic .evidence-history-event__marker { border:0; color:#ffd12e; background:transparent; }
    .evidence-history-event__content { display:grid; gap:.55rem; min-width:0; }
    .evidence-history-capture { min-width:0; border:1px solid #2f4a68; border-radius:.48rem; background:rgba(5,22,39,.45); }
    .evidence-history-capture > summary { display:flex; align-items:center; justify-content:space-between; min-width:0; padding:.85rem 1rem; color:#fff; cursor:pointer; list-style:none; }
    .evidence-history-capture > summary::-webkit-details-marker { display:none; }
    .evidence-history-capture > summary > span:first-child { display:grid; grid-template-columns:auto auto; align-items:center; justify-content:start; gap:.4rem .75rem; min-width:0; }
    .evidence-history-capture > summary strong { font-size:.96rem; }
    .evidence-history-capture > summary small { grid-column:1 / -1; color:#b6c2d1; font-size:.86rem; }
    .evidence-history-capture__authority { padding:.15rem .65rem; border:1px solid #3678c3; border-radius:.3rem; color:#72aeff; font-size:.72rem; }
    .evidence-history-capture__authority--diagnostic { border-color:#9a7500; color:#ffd12e; }
    .evidence-history-capture__details { padding:.75rem 1rem; border-top:1px solid #29415d; color:#b9c5d3; font-size:.88rem; }
    .evidence-history-capture__details p { margin:0 0 .5rem; line-height:1.45; }
    .evidence-history-capture__details p:last-child { margin-bottom:0; }
    .evidence-history-capture__details code { color:#e1eaf5; background:transparent; overflow-wrap:anywhere; word-break:break-word; }
    .evidence-history-comparison { display:grid; grid-template-columns:3.2rem minmax(0,1fr); gap:.8rem; align-items:center; min-height:5.7rem; margin-left:0; padding:.8rem 1rem; border:1px solid #354f6c; border-radius:.48rem; background:rgba(13,34,55,.82); }
    .evidence-history-comparison__icon { display:grid; place-items:center; width:3rem; height:3rem; border-radius:999px; color:#e3eaf3; background:linear-gradient(145deg,#33475f,#1d2d42); font-size:1.4rem; }
    .evidence-history-comparison small, .evidence-history-comparison strong { display:block; }
    .evidence-history-comparison small { color:#b5c1d0; }
    .evidence-history-comparison strong { margin:.16rem 0 .2rem; color:#fff; font-size:1rem; }
    .evidence-history-comparison p { margin:0; color:#aebccc; font-size:.83rem; line-height:1.45; }
    .evidence-history-comparison a { display:inline-block; margin-top:.35rem; color:#67a8ff; font-weight:650; text-decoration:none; }
    .evidence-history-inventory { border:1px solid #354f6c; border-radius:.48rem; padding:.75rem 1rem; }
    .evidence-history-inventory > summary { color:#76adf6; font-weight:650; cursor:pointer; }
    .evidence-history-inventory .history-script-row { min-width:0; }
    .evidence-history-identifiers { border-top:1px solid #29415d; }
    .evidence-history-identifiers > summary { padding:.8rem 1rem; color:#e5edf7; text-align:center; font-weight:650; cursor:pointer; list-style-position:inside; }
    .evidence-history-identifiers__body { display:grid; gap:.75rem; padding:0 1rem 1rem; }
    .evidence-history-identifiers__body > div { min-width:0; padding:.75rem; border:1px solid #29415d; border-radius:.4rem; }
    .evidence-history-identifiers__body code { color:#cbd8e7; background:transparent; overflow-wrap:anywhere; word-break:break-all; }
    .evidence-history-identifiers dl { display:grid; gap:.35rem; margin:.55rem 0 0; }
    .evidence-history-identifiers dl div { display:grid; grid-template-columns:5rem minmax(0,1fr); gap:.5rem; }
    .evidence-history-identifiers :is(dt,dd) { margin:0; }
    .evidence-history-identifiers dt { color:#9fb0c4; }
    .evidence-history-filter-empty, .evidence-history-empty { margin:1rem; padding:1rem; border:1px dashed #3a5572; border-radius:.4rem; color:#b6c3d2; }
    .evidence-history-next { padding:1rem 1.1rem; }
    .evidence-history-next h2 { margin-bottom:.85rem; }
    .evidence-history-next ol { display:grid; gap:1rem; margin:0; padding:0 0 1rem; list-style:none; }
    .evidence-history-next li { display:grid; grid-template-columns:2rem minmax(0,1fr); align-items:start; gap:.75rem; }
    .evidence-history-next li > span { display:grid; place-items:center; width:2rem; height:2rem; border-radius:999px; color:#fff; background:linear-gradient(145deg,#4b91ef,#2468cc); font-weight:700; }
    .evidence-history-next li strong { display:block; color:#f7f9fc; font-size:.9rem; }
    .evidence-history-next li strong a { color:inherit; text-decoration:none; }
    .evidence-history-next li strong a:hover { color:#7eb5ff; text-decoration:underline; }
    .evidence-history-next li p { margin:.25rem 0 0; color:#aebbc9; font-size:.84rem; line-height:1.4; }
    .evidence-history-next__links { display:grid; gap:.9rem; padding-top:1rem; border-top:1px solid #29415d; }
    .evidence-history-next__links a { display:flex; align-items:center; gap:.65rem; color:#63a4ff; text-decoration:none; }
    .evidence-history-next__links a:hover { text-decoration:underline; }
    .evidence-history-next__links svg { width:1.25rem; height:1.25rem; fill:none; stroke:currentColor; stroke-width:1.5; }
    @media (max-width: 1200px) {
      .evidence-history-alert { grid-template-columns:auto minmax(0,1fr); }
      .evidence-history-alert__actions { grid-column:2; justify-content:flex-start; }
      .evidence-history-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .evidence-history-lower { grid-template-columns:minmax(0,1fr); }
      .evidence-history-next { order:-1; }
    }
    @media (max-width: 700px) {
      .page-shell[data-active-route="url-history"] .content-shell:has(.evidence-history) { padding:1rem .75rem 1.75rem; overflow-x:hidden; }
      .evidence-history { gap:.75rem; max-width:100%; }
      .evidence-history-heading { grid-template-columns:minmax(0,1fr); align-items:start; gap:.8rem; }
      .evidence-history-heading h1 { font-size:1.65rem; }
      .evidence-history-breadcrumbs { gap:.4rem; margin-bottom:.55rem; font-size:.78rem; }
      .evidence-history-identity { align-items:flex-start; }
      .evidence-history-identity code { flex:1 0 100%; font-size:.8rem; }
      .evidence-history-selector { width:100%; min-width:0; }
      .evidence-history-selector > summary { padding:.65rem .75rem; font-size:.84rem; }
      .evidence-history-selector__menu { position:static; width:100%; margin-top:.35rem; }
      .evidence-history-alert { grid-template-columns:2rem minmax(0,1fr); gap:.75rem; min-height:0; padding:1rem; }
      .evidence-history-alert__icon { width:2rem; height:2rem; align-self:start; }
      .evidence-history-alert__icon svg { width:2rem; height:2rem; }
      .evidence-history-alert__copy h2 { font-size:1.02rem; line-height:1.3; }
      .evidence-history-alert__copy p { font-size:.86rem; }
      .evidence-history-alert__actions { grid-column:1 / -1; display:grid; grid-template-columns:1fr; width:100%; }
      .evidence-history-button { width:100%; white-space:normal; text-align:center; }
      .evidence-history-metrics { grid-template-columns:minmax(0,1fr); gap:.65rem; }
      .evidence-history-metric { min-height:0; padding:.9rem 1rem; }
      .evidence-history-metric > strong { font-size:1.3rem; }
      .evidence-history-scope { padding:.85rem .8rem .5rem; }
      .evidence-history-scope-row { grid-template-columns:1.35rem minmax(0,1fr) 1rem; gap:.55rem; padding:.7rem .25rem; }
      .evidence-history-scope-row code { grid-column:2; font-size:.76rem; }
      .evidence-history-scope-row__scope { grid-column:2; }
      .evidence-history-scope-row__status { grid-column:2; }
      .evidence-history-scope-row__chevron { grid-column:3; grid-row:1 / span 3; }
      .evidence-history-panel__header { align-items:flex-start; flex-direction:column; padding:.85rem; }
      .evidence-history-filters { width:100%; }
      .evidence-history-filters button { flex:1 1 auto; padding:.25rem .55rem; }
      .evidence-history-timeline__body { padding-left:.7rem; padding-right:.7rem; }
      .evidence-history-timeline__body::before { left:1.42rem; }
      .evidence-history-event { grid-template-columns:1.55rem minmax(0,1fr); gap:.45rem; }
      .evidence-history-event__marker { width:1.2rem; height:1.2rem; margin-left:.1rem; }
      .evidence-history-capture > summary { padding:.75rem; }
      .evidence-history-capture > summary > span:first-child { grid-template-columns:minmax(0,1fr); }
      .evidence-history-capture__authority { justify-self:start; }
      .evidence-history-capture > summary small { grid-column:1; }
      .evidence-history-comparison { grid-template-columns:minmax(0,1fr); padding:.8rem; }
      .evidence-history-comparison__icon { width:2.3rem; height:2.3rem; }
      .evidence-history-identifiers dl div { grid-template-columns:minmax(0,1fr); }
      .evidence-history-next { padding:.9rem; }
      .evidence-history-inventory { padding:.65rem; }
      .evidence-history-inventory .grid { grid-template-columns:1fr; }
      .evidence-history :is(code,strong,p,small,span,dd) { max-width:100%; overflow-wrap:anywhere; word-break:break-word; }
    }
    .setup-onboarding { display:grid; grid-template-columns:minmax(0,1fr) minmax(14rem,20rem); gap:1rem; align-items:end; border:1px solid var(--line); border-radius:8px; padding:1.2rem; background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,250,252,.92)); box-shadow:var(--sc-shadow-soft); }
    .setup-onboarding__header { min-width:0; }
    .setup-onboarding__header h1 { margin:.15rem 0 .5rem; font-size:1.65rem; line-height:1.2; }
    .setup-onboarding__header p:last-child { max-width:58rem; margin:0; }
    .setup-progress-meter { display:grid; gap:.5rem; min-width:0; color:var(--sc-text-muted); font-weight:700; font-size:.86rem; }
    .setup-progress-meter__bar { height:.55rem; border-radius:999px; overflow:hidden; background:#e2e8f0; border:1px solid #cbd5e1; }
    .setup-progress-meter__bar span { display:block; height:100%; max-width:100%; border-radius:999px; background:#2563eb; }
    .setup-layout { display:grid; grid-template-columns:minmax(16rem,22rem) minmax(0,1fr); gap:1rem; align-items:start; }
    .setup-progress-panel, .setup-action-card, .setup-secondary-panel, .setup-explainer { border:1px solid var(--line); border-radius:8px; background:var(--panel); box-shadow:var(--sc-shadow-soft); }
    .setup-progress-panel { padding:1rem; }
    .setup-panel-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:.75rem; margin-bottom:.8rem; }
    .setup-panel-heading h2 { margin:0; font-size:1.08rem; }
    .setup-progress-list, .setup-main-flow, .setup-form { display:grid; gap:.8rem; }
    .setup-step { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:.75rem; border:1px solid var(--line); border-radius:8px; padding:.85rem; }
    .setup-progress-step { grid-template-columns:auto minmax(0,1fr); align-items:start; background:#fff; }
    .setup-progress-step.current { border-color:#93c5fd; background:#eff6ff; box-shadow:0 0 0 3px rgba(37,99,235,.08); }
    .setup-step__body { min-width:0; }
    .setup-step__body strong { display:block; line-height:1.2; }
    .setup-step__body p { margin:.2rem 0 0; font-size:.86rem; line-height:1.35; overflow-wrap:anywhere; }
    .setup-step__link, .setup-secondary-link { color:#1d4ed8; font-weight:700; text-decoration:none; white-space:nowrap; }
    .setup-progress-step .setup-step__link { grid-column:2; justify-self:start; white-space:normal; }
    .setup-step__link:hover, .setup-secondary-link:hover { text-decoration:underline; }
    .setup-action-card { padding:1.2rem; }
    .setup-action-card--primary { border-color:#93c5fd; box-shadow:0 18px 40px rgba(37,99,235,.13); }
    .setup-action-card--complete { border-color:#86efac; background:#f0fdf4; }
    .setup-action-card h2, .setup-explainer h2, .setup-secondary-panel h2 { margin:.1rem 0 .45rem; font-size:1.18rem; }
    .setup-action-card p, .setup-explainer p, .setup-secondary-panel p { margin:.35rem 0 .85rem; }
    .setup-form { margin-top:.9rem; max-width:42rem; }
    .setup-form button, .setup-form .button, .setup-primary-cta { width:auto; justify-self:start; min-width:11rem; }
    .setup-explainer, .setup-secondary-panel { padding:1rem; }
    .setup-explainer { background:#f8fafc; }
    .setup-secondary-panel { grid-column:2; background:#fff; }
    .organization-settings-hub { display:grid; gap:1rem; }
    .organization-settings-hub__header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; padding:1.2rem; border:1px solid var(--line); border-radius:8px; background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.94)); box-shadow:var(--sc-shadow-soft); }
    .organization-settings-hub__header h1 { margin:.15rem 0 .45rem; font-size:1.7rem; line-height:1.2; }
    .organization-settings-hub__header p:last-child { max-width:58rem; margin:0; }
    .organization-settings-hub__run-action { width:auto; min-width:8rem; margin-top:0; white-space:nowrap; }
    .organization-settings-tabs { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; }
    .organization-settings-tabs a { display:inline-flex; align-items:center; min-height:2.35rem; padding:.55rem .8rem; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--sc-text-primary); font-weight:700; text-decoration:none; }
    .organization-settings-tabs a:hover { border-color:#93c5fd; background:#eff6ff; color:#1d4ed8; }
    .organization-settings-status-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.85rem; }
    .organization-settings-status-card, .organization-settings-card { min-width:0; border:1px solid var(--line); border-radius:8px; background:var(--panel); box-shadow:var(--sc-shadow-soft); }
    .organization-settings-status-card { display:grid; gap:.35rem; align-content:start; min-height:9rem; padding:1rem; }
    .organization-settings-status-card strong { display:block; color:var(--sc-text-primary); font-size:1.08rem; line-height:1.35; overflow-wrap:anywhere; }
    .organization-settings-status-card span { color:var(--sc-text-muted); line-height:1.45; }
    .organization-settings-status-card a { color:#1d4ed8; font-weight:700; text-decoration:none; }
    .organization-settings-status-card a:hover { text-decoration:underline; }
    .organization-settings-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.85rem; }
    .organization-settings-card { display:grid; gap:.7rem; align-content:start; min-height:12rem; padding:1rem; }
    .organization-settings-card h2 { margin:0; font-size:1.15rem; }
    .organization-settings-card p { margin:0; }
    .organization-settings-card__links { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; }
    .organization-settings-card__links a { display:inline-flex; align-items:center; min-height:2.2rem; padding:.5rem .7rem; border:1px solid #bfdbfe; border-radius:8px; background:#eff6ff; color:#1d4ed8; font-weight:700; text-decoration:none; }
    .organization-settings-card__links a:hover { background:#dbeafe; }
    .organization-settings-card__form { display:grid; gap:.55rem; align-items:start; }
    .organization-settings-card__form label { margin:0; color:var(--sc-text-muted); font-weight:700; }
    .organization-settings-card__form select { width:100%; min-height:2.45rem; border:1px solid var(--line); border-radius:8px; padding:.45rem .55rem; background:#fff; color:var(--sc-text-primary); font:inherit; }
    .organization-settings-card__form button { justify-self:start; }
    .admin-settings { display:grid; width:100%; gap:var(--sc-space-16); max-width:none; margin:0; min-width:0; }
    .admin-settings__header { max-width:60rem; }
    .admin-settings__header h1 { margin:.15rem 0 .45rem; font-size:1.7rem; line-height:1.2; }
    .admin-settings__header p:last-child { margin:0; color:var(--sc-text-muted); }
    .admin-settings__live { margin:0; border:1px solid #86efac; border-radius:8px; padding:.75rem 1rem; background:#f0fdf4; color:#166534; font-weight:700; }
    .admin-settings__layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:var(--sc-space-24); align-items:start; }
    .admin-settings__rail { display:grid; gap:4px; padding:8px; border:1px solid var(--line); border-radius:var(--sc-radius-md); background:var(--panel); box-shadow:var(--sc-shadow-soft); }
    .admin-settings__rail a { display:flex; align-items:center; min-height:44px; padding:.65rem .75rem; border-radius:8px; color:var(--sc-text-primary); font-weight:700; text-decoration:none; }
    .admin-settings__rail a:hover { background:#eff6ff; color:#1d4ed8; }
    .admin-settings__rail a[aria-current="page"] { background:#dbeafe; color:#1d4ed8; }
    .admin-settings__picker { display:none; gap:.4rem; max-width:32rem; }
    .admin-settings__picker select { min-height:44px; }
    .admin-settings__panel { min-width:0; border:1px solid var(--line); border-radius:var(--sc-radius-md); padding:clamp(1rem,2.5vw,1.5rem); background:var(--panel); box-shadow:var(--sc-shadow-soft); }
    .admin-settings__panel h2 { margin:.1rem 0 .55rem; font-size:1.35rem; }
    .admin-settings__panel > p { max-width:48rem; color:var(--sc-text-muted); }
    .admin-settings__primary-link, .admin-settings__destination-links a { display:inline-flex; align-items:center; min-height:44px; margin-top:.75rem; color:#1d4ed8; font-weight:700; }
    .admin-settings__destination-links { display:flex; flex-wrap:wrap; gap:.75rem 1.25rem; }
    .admin-settings__rows { display:grid; margin-top:1.2rem; border-top:1px solid var(--line); }
    .admin-settings__row { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-width:0; padding:1rem 0; border-bottom:1px solid var(--line); }
    .admin-settings__row > div { min-width:0; }
    .admin-settings__row h3, .admin-settings__advanced h3 { margin:0; font-size:1rem; }
    .admin-settings__row p { margin:.28rem 0 0; color:var(--sc-text-muted); }
    .admin-settings__row a, .admin-settings__quiet-button { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; width:auto; padding:.65rem .8rem; border:1px solid #93c5fd; border-radius:8px; background:#eff6ff; color:#1d4ed8; font-weight:700; text-decoration:none; white-space:nowrap; }
    .admin-settings__quiet-button { cursor:pointer; }
    .admin-settings__advanced { display:grid; gap:.75rem; margin-top:1.25rem; padding-top:1.25rem; border-top:1px solid var(--line); }
    .admin-settings__advanced details { border-radius:8px; padding:.75rem; background:#f8fafc; color:var(--sc-text-primary); }
    .admin-settings__advanced summary { min-height:28px; color:#1d4ed8; font-weight:700; cursor:pointer; }
    .admin-settings__advanced details p { margin:.65rem 0 0; color:var(--sc-text-muted); }
    .admin-settings__status { color:var(--sc-text-primary); font-weight:800; }
    .admin-settings__time-zone { display:grid; gap:.6rem; max-width:32rem; }
    .admin-settings__read-only { color:var(--sc-text-muted); }
    .admin-settings__dialog { width:min(32rem,calc(100vw - 2rem)); border:1px solid var(--line); border-radius:var(--sc-radius-md); padding:1.25rem; background:var(--panel); color:var(--sc-text-primary); box-shadow:0 24px 70px rgba(15,23,42,.4); }
    .admin-settings__dialog::backdrop { background:rgba(2,6,23,.65); }
    .admin-settings__dialog h2 { margin:0; }
    .admin-settings__dialog-actions { display:inline-block; margin:.7rem .5rem 0 0; }
    .admin-settings__dialog-actions button { width:auto; min-height:44px; }
    .admin-settings__warning-button { background:#b91c1c; }
    .metric { border:1px solid var(--line); border-radius:.85rem; padding:1rem; background:#fff; }
    .metric strong { display:block; font-size:1.25rem; }
    .metric span { color:var(--muted); }
    .eyebrow { text-transform:uppercase; letter-spacing:.08em; color:var(--sc-text-muted); font-size:.74rem; margin:0 0 .5rem; }
    .org-card { display:flex; align-items:center; justify-content:space-between; gap:1rem; border:1px solid var(--line); border-radius:.85rem; padding:1rem; }
    .auth-card .org-card { border-color:rgba(16,36,63,.14); border-radius:8px; background:rgba(255,255,255,.48); }
    .auth-card .org-card p { margin:.2rem 0 0; color:var(--sc-text-muted); }
    .auth-card .org-card button, .auth-card .org-card .button { width:auto; margin-top:0; white-space:nowrap; }
    .platform-admin-entry-actions { display:grid; gap:.9rem; margin:1rem 0 1.15rem; padding-bottom:1rem; border-bottom:1px solid rgba(16,36,63,.14); }
    .platform-admin-entry-actions p { margin:.2rem 0 0; color:var(--sc-text-muted); }
    .platform-admin-entry-actions__links { display:flex; flex-wrap:wrap; gap:.65rem; }
    .platform-admin-entry-actions__links .button { width:auto; margin-top:0; }
    label { font-weight:600; color:var(--sc-text-primary); }
    input, select, textarea, button, .button { width:100%; font:inherit; }
    input, select, textarea { border:1px solid #cbd5e1; border-radius:var(--sc-radius-sm); padding:.8rem .9rem; background:#fff; color:var(--sc-text-primary); }
    select { appearance:none; padding-right:2.75rem; background-color:#fff; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%23647589' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .9rem center; background-size:1rem; }
    button, .button { display:inline-flex; align-items:center; justify-content:center; border:0; border-radius:var(--sc-radius-sm); padding:.85rem 1rem; text-decoration:none; background:var(--sc-action-primary); color:#fff; cursor:pointer; font-weight:600; }
    button:hover, .button:hover { background:var(--sc-action-primary-hover); color:#fff; text-decoration:none; }
    button:disabled, button[disabled] { cursor:not-allowed; opacity:.72; }
    .ghost, .ghost-link { background:transparent; color:var(--ink); border:1px solid var(--line); margin-top:.7rem; }
    .ghost:hover, .ghost-link:hover { background:#f8fafc; color:var(--ink); }
    .success { background:var(--success); }
    .error { background:var(--error); }
    .inline-form { display:grid; gap:.4rem; }
    .actions { display:grid; gap:.4rem; }
    .report-runner-form { display:grid; gap:.65rem; }
    .report-runner-controls { display:grid; grid-template-columns:minmax(9rem,.7fr) minmax(9rem,.7fr) minmax(16rem,1fr) auto; gap:.75rem; align-items:end; }
    .report-runner-controls button, .report-runner-controls .button { width:auto; min-width:9rem; margin-top:0; }
    .report-type-toggle { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; margin:0; padding:0; border:0; }
    .report-type-toggle legend { width:100%; margin:0 0 .1rem; font-weight:700; color:var(--sc-text-primary); }
    .report-type-toggle label { display:inline-flex; align-items:center; gap:.4rem; border:1px solid var(--line); border-radius:8px; padding:.45rem .65rem; background:#fff; }
    .report-type-toggle input[type="radio"] { width:auto; margin:0; padding:0; }
    .report-runner-support { border:1px solid var(--line); border-radius:8px; padding:.55rem .7rem; background:rgba(248,250,252,.7); }
    .report-runner-support summary { cursor:pointer; font-weight:700; color:var(--sc-text-primary); }
    .report-runner-support .summary-grid { margin-top:.6rem; }
    .report-runner-feedback { margin:.25rem 0 .35rem; border:1px solid #86efac; border-radius:8px; padding:.65rem .75rem; background:#ecfdf5; color:#14532d; font-weight:700; }
    .report-runner-feedback--error { border-color:#fecaca; background:#fef2f2; color:#991b1b; }
    .report-runner-result-actions { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.55rem; }
    .report-runner-result-actions .button { width:auto; min-height:2.25rem; margin-top:0; padding:.6rem .75rem; }
    .small { padding:.5rem .75rem; font-size:.9rem; }
    .page-shell:has(.scheduler-workspace) .content-shell { padding:24px 22px 32px; background:radial-gradient(circle at 82% 0%,rgba(37,99,235,.07),transparent 36%),var(--sc-surface-app); }
    .scheduler-workspace { --scheduler-card:var(--sc-surface-card); --scheduler-line:var(--sc-border-subtle); --scheduler-muted:var(--sc-text-muted); display:grid; gap:14px; width:100%; max-width:none; margin:0; color:var(--sc-text-primary); }
    .scheduler-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; padding:2px 4px 4px; }
    .scheduler-heading h1 { margin:0; font-size:1.85rem; line-height:1.15; letter-spacing:-.02em; }
    .scheduler-heading p:last-child { margin:7px 0 0; color:var(--scheduler-muted); }
    .scheduler-eyebrow { margin:0 0 7px !important; color:#3b82f6 !important; font-size:.72rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
    .scheduler-heading__actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:12px; }
    .scheduler-button { width:auto; min-height:42px; margin:0; gap:8px; padding:.65rem 1rem; white-space:nowrap; }
    .scheduler-button--secondary { border-color:var(--scheduler-line); background:transparent; color:var(--sc-text-primary); }
    .scheduler-button--secondary:hover { border-color:#3b82f6; background:rgba(59,130,246,.08); color:var(--sc-text-primary); }
    .scheduler-button--primary { background:linear-gradient(135deg,#2f6deb,#2679f5); box-shadow:0 8px 22px rgba(37,99,235,.2); }
    [data-scheduler-feedback] { margin:0; border:1px solid var(--scheduler-line); border-radius:8px; padding:.72rem 1rem; }
    [data-scheduler-feedback] p { margin:0; color:inherit; }
    .scheduler-coverage { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:14px; min-height:78px; border:1px solid #4338ca; border-radius:8px; padding:14px 18px; background:linear-gradient(112deg,rgba(49,46,129,.92),rgba(30,27,75,.82)); color:#eef2ff; box-shadow:0 12px 28px rgba(30,27,75,.15); }
    .scheduler-coverage__icon { display:grid; place-items:center; width:40px; height:40px; border-radius:8px; background:rgba(79,70,229,.45); color:#a5b4fc; }
    .scheduler-coverage__icon svg { width:23px; height:23px; }
    .scheduler-coverage h2 { margin:0 0 2px; font-size:1rem; }
    .scheduler-coverage p { margin:0; color:#eef2ff; }
    .scheduler-coverage a { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:.5rem; color:#c7d2fe; font-weight:700; white-space:nowrap; }
    .scheduler-coverage a:hover { color:#fff; }
    .scheduler-coverage a span { font-size:1.5rem; line-height:1; }
    .scheduler-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
    .scheduler-metric { display:flex; align-items:center; gap:16px; min-width:0; min-height:88px; border:1px solid var(--scheduler-line); border-radius:8px; padding:14px 16px; background:var(--scheduler-card); box-shadow:var(--sc-shadow-soft); }
    .scheduler-metric__icon { display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; border:1px solid var(--scheduler-line); border-radius:9px; color:#60a5fa; background:rgba(37,99,235,.08); }
    .scheduler-metric--paused .scheduler-metric__icon { color:#f59e0b; background:rgba(245,158,11,.12); }
    .scheduler-metric--unscheduled .scheduler-metric__icon, .scheduler-metric--next .scheduler-metric__icon { color:#94a3b8; background:rgba(148,163,184,.08); }
    .scheduler-metric svg, .scheduler-utc-note svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
    .scheduler-metric > div { display:grid; min-width:0; gap:3px; }
    .scheduler-metric strong { min-width:0; font-size:1.55rem; line-height:1.1; overflow-wrap:anywhere; }
    .scheduler-metric span:last-child { color:var(--scheduler-muted); }
    .scheduler-metric--next strong { font-size:1rem; }
    .scheduler-worker { border:1px solid var(--sc-attention-border); border-radius:8px; padding:12px 16px; background:var(--sc-attention-bg); }
    .scheduler-worker h2 { margin:0 0 3px; font-size:.95rem; }
    .scheduler-worker p { margin:0; }
    .scheduler-main-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(330px,1fr); gap:14px; align-items:stretch; }
    .scheduler-card { min-width:0; border:1px solid var(--scheduler-line); border-radius:8px; padding:18px; background:var(--scheduler-card); box-shadow:var(--sc-shadow-soft); }
    .scheduler-card > h2 { margin:0 0 16px; font-size:1.25rem; }
    .scheduler-configured { container-name:scheduler-configured; container-type:inline-size; display:flex; flex-direction:column; min-height:420px; }
    .scheduler-toolbar { display:grid; grid-template-columns:minmax(12rem,1fr) minmax(12rem,.42fr) auto; gap:8px; align-items:stretch; margin-bottom:14px; }
    .scheduler-toolbar input, .scheduler-toolbar select { min-height:42px; padding:.55rem .75rem; }
    .scheduler-toolbar__search input { padding-left:2.55rem; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%2394a3b8' stroke-width='1.8'%3E%3Ccircle cx='8.5' cy='8.5' r='4.75'/%3E%3Cpath d='m12 12 4 4'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:.85rem center; }
    .scheduler-toolbar__status { display:grid; grid-template-columns:auto minmax(7rem,1fr); align-items:center; border:1px solid #cbd5e1; border-radius:8px; padding-left:.75rem; overflow:hidden; }
    .scheduler-toolbar__status > span { font-size:.82rem; }
    .scheduler-toolbar__status select { border:0; background-color:transparent; font-weight:700; }
    .scheduler-toolbar__more { position:relative; }
    .scheduler-toolbar__more > summary { display:flex; align-items:center; justify-content:center; min-height:42px; border:1px solid var(--scheduler-line); border-radius:8px; padding:.55rem .8rem; cursor:pointer; font-weight:700; white-space:nowrap; }
    .scheduler-toolbar__more[open] { grid-column:1 / -1; border:1px solid var(--scheduler-line); border-radius:8px; padding:12px; }
    .scheduler-toolbar__more[open] > summary { width:max-content; min-width:8rem; margin:0 0 10px auto; }
    .scheduler-toolbar__more-grid { display:grid; grid-template-columns:repeat(3,minmax(9rem,1fr)); gap:8px; }
    .scheduler-toolbar__more-grid label { display:grid; gap:4px; font-size:.78rem; }
    .scheduler-bulk-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
    .scheduler-bulk-actions button { width:auto; min-height:38px; margin:0; }
    .scheduler-empty { display:grid; place-items:center; align-content:center; flex:1 1 auto; min-height:300px; padding:32px 20px; text-align:center; }
    .scheduler-empty__icon { display:grid; place-items:center; width:116px; height:116px; margin-bottom:12px; border-radius:999px; background:rgba(71,85,105,.18); color:#94a3b8; }
    .scheduler-empty__icon svg { width:76px; height:76px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
    .scheduler-empty h3 { margin:0 0 6px; font-size:1.25rem; }
    .scheduler-empty p { max-width:35rem; margin:0 0 18px; }
    .scheduler-empty__readonly { font-size:.88rem; }
    .scheduler-create { scroll-margin-top:18px; }
    .scheduler-create-form { display:grid; gap:10px; }
    .scheduler-create-form > label, .scheduler-cadence legend { font-size:.86rem; }
    .scheduler-create-form select, .scheduler-create-form input[type="time"], .scheduler-create-form input[type="number"] { min-height:42px; padding:.58rem .72rem; }
    .scheduler-cadence { min-width:0; margin:2px 0 0; padding:0; border:0; }
    .scheduler-cadence legend { margin-bottom:6px; font-weight:700; }
    .scheduler-cadence__options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--scheduler-line); border-radius:7px; overflow:hidden; }
    .scheduler-cadence__options label { min-width:0; }
    .scheduler-cadence__options input { position:absolute; width:1px; height:1px; margin:0; padding:0; opacity:0; pointer-events:none; }
    .scheduler-cadence__options span { display:grid; place-items:center; min-height:38px; border-left:1px solid var(--scheduler-line); color:var(--scheduler-muted); font-size:.8rem; cursor:pointer; }
    .scheduler-cadence__options label:first-child span { border-left:0; }
    .scheduler-cadence__options input:checked + span { background:linear-gradient(135deg,#2256bd,#2563d8); color:#fff; box-shadow:inset 0 0 0 1px #3b82f6; }
    .scheduler-cadence__options input:focus-visible + span { outline:3px solid var(--sc-focus-ring); outline-offset:-3px; }
    .scheduler-advanced { border:0; padding:2px 4px; }
    .scheduler-advanced > summary { min-height:34px; padding:6px 0; cursor:pointer; font-weight:700; }
    .scheduler-advanced[open] { display:grid; gap:8px; border:1px solid var(--scheduler-line); border-radius:8px; padding:10px; }
    .scheduler-repeat-choice { display:flex; align-items:center; gap:8px; }
    .scheduler-repeat-choice input { width:auto; }
    .scheduler-utc-note { display:flex; align-items:center; gap:10px; min-height:52px; border:1px solid var(--scheduler-line); border-radius:7px; padding:10px 12px; background:rgba(37,99,235,.04); color:var(--scheduler-muted); font-size:.84rem; }
    .scheduler-utc-note svg { flex:0 0 23px; color:#3b82f6; }
    .scheduler-create-form > button { min-height:42px; margin-top:2px; }
    .scheduler-create__unavailable { display:grid; place-items:start; gap:12px; min-height:190px; align-content:center; }
    .scheduler-readonly { align-content:start; }
    .scheduler-readonly h2 { margin:0 0 8px; }
    .scheduler-readonly p:last-child { margin:0; }
    .scheduler-setup-gaps { margin-top:0; }
    .scheduler-table { min-width:760px; }
    .scheduler-table__read-only-marker { display:block; width:8px; height:8px; margin-top:.3rem; border-radius:999px; background:#64748b; }
    @container scheduler-configured (max-width:850px) {
      .scheduler-configured .scheduler-table-wrap { overflow-x:visible; }
      .scheduler-configured .scheduler-table, .scheduler-configured .scheduler-table tbody, .scheduler-configured .scheduler-table tr, .scheduler-configured .scheduler-table td { display:block; width:100%; max-width:100%; min-width:0; }
      .scheduler-configured .scheduler-table { table-layout:auto; }
      .scheduler-configured .scheduler-table colgroup, .scheduler-configured .scheduler-table thead { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
      .scheduler-configured .scheduler-table tbody { display:grid; gap:.75rem; }
      .scheduler-configured .scheduler-table tbody tr { display:grid; gap:.2rem; border:1px solid var(--scheduler-line); border-radius:8px; padding:.65rem .75rem; background:rgba(148,163,184,.035); }
      .scheduler-configured .scheduler-table tbody tr[hidden] { display:none; }
      .scheduler-configured .scheduler-table td { display:grid; grid-template-columns:minmax(6.5rem,32%) minmax(0,1fr); gap:.6rem; border:0; padding:.38rem 0; overflow-wrap:anywhere; }
      .scheduler-configured .scheduler-table td::before { content:attr(data-label); color:var(--scheduler-muted); font-size:.72rem; font-weight:700; letter-spacing:.035em; text-transform:uppercase; }
      .scheduler-configured .scheduler-table__url { display:block !important; border-bottom:1px solid var(--scheduler-line) !important; padding-bottom:.75rem !important; }
      .scheduler-configured .scheduler-table__url::before { display:block; margin-bottom:.45rem; }
      .scheduler-configured .scheduler-table__actions { display:block !important; border-top:1px solid var(--scheduler-line) !important; padding-top:.75rem !important; }
      .scheduler-configured .scheduler-table__actions::before { display:block; margin-bottom:.45rem; }
      .scheduler-configured .scheduler-table__action-list { grid-template-columns:repeat(4,minmax(0,1fr)); }
    }
    [data-theme="dark"] .scheduler-workspace { --scheduler-card:#101d30; --scheduler-line:#263b57; --scheduler-muted:#9eafc5; }
    [data-theme="dark"] .scheduler-card, [data-theme="dark"] .scheduler-metric { background:linear-gradient(145deg,#101d30,#0e1a2b); }
    [data-theme="dark"] .scheduler-toolbar__status { border-color:var(--scheduler-line); }
    [data-theme="dark"] .scheduler-toolbar__status select { background-color:transparent; }
    [data-theme="dark"] .scheduler-button--secondary { color:#f1f5f9; }
    [data-theme="dark"] .scheduler-button--secondary:hover { color:#fff; background:rgba(59,130,246,.14); }
    [data-theme="dark"] .scheduler-utc-note { background:rgba(37,99,235,.06); }
    @media (max-width:1200px) {
      .scheduler-main-grid { grid-template-columns:1fr; }
      .scheduler-configured { min-height:360px; }
    }
    @media (max-width:760px) {
      .page-shell:has(.scheduler-workspace) .content-shell { padding:20px 14px 28px; }
      .scheduler-heading { display:grid; gap:16px; }
      .scheduler-heading__actions { justify-content:flex-start; }
      .scheduler-heading__actions .scheduler-button { flex:1 1 12rem; }
      .scheduler-coverage { grid-template-columns:auto minmax(0,1fr); padding:14px; }
      .scheduler-coverage a { grid-column:1 / -1; justify-content:flex-end; border-top:1px solid rgba(199,210,254,.22); }
      .scheduler-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .scheduler-toolbar { grid-template-columns:1fr; }
      .scheduler-toolbar__more[open] { grid-column:auto; }
      .scheduler-toolbar__more-grid { grid-template-columns:1fr; }
      .scheduler-table { min-width:0; }
    }
    @media (max-width:480px) {
      .scheduler-metrics { grid-template-columns:1fr; }
      .scheduler-metric { min-height:76px; }
      .scheduler-card { padding:15px; }
      .scheduler-cadence__options { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .scheduler-cadence__options label:nth-child(3) span { border-left:0; border-top:1px solid var(--scheduler-line); }
      .scheduler-cadence__options label:nth-child(4) span { border-top:1px solid var(--scheduler-line); }
      .scheduler-bulk-actions button { flex:1 1 9rem; }
    }
    .scheduler-table-wrap { width:100%; max-width:100%; min-width:0; overflow-x:auto; overscroll-behavior-inline:contain; }
    .scheduler-table { display:table; width:100%; max-width:100%; min-width:0; table-layout:fixed; white-space:normal; }
    .scheduler-table__col-url { width:25%; }
    .scheduler-table__col-frequency { width:8%; }
    .scheduler-table__col-details { width:11%; }
    .scheduler-table__col-time { width:7%; }
    .scheduler-table__col-next, .scheduler-table__col-last { width:12%; }
    .scheduler-table__col-status { width:8%; }
    .scheduler-table__col-actions { width:17%; }
    .scheduler-table th, .scheduler-table td { min-width:0; padding:.75rem .5rem; white-space:normal; vertical-align:top; overflow-wrap:anywhere; word-break:normal; }
    .scheduler-table th { color:var(--sc-text-muted); font-size:.72rem; letter-spacing:.035em; text-transform:uppercase; }
    .scheduler-table__identity { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:start; gap:.45rem; min-width:0; }
    .scheduler-table__identity input { margin-top:.18rem; }
    .scheduler-table__url-value { display:block; min-width:0; max-width:100%; overflow-wrap:anywhere; word-break:break-word; line-height:1.35; }
    .scheduler-table__context-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.4rem; margin-top:.55rem; min-width:0; }
    .scheduler-table__context-links .button { width:100%; min-width:0; margin:0; padding:.42rem .35rem; white-space:normal; text-align:center; }
    .scheduler-table__page-status { margin-top:.25rem; color:var(--sc-text-muted); overflow-wrap:anywhere; }
    .scheduler-table__status { font-weight:700; }
    .scheduler-table__action-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:.4rem; min-width:0; }
    .scheduler-table__action-list > *, .scheduler-table__action-list form, .scheduler-table__action-list button, .scheduler-table__action-list details { min-width:0; max-width:100%; }
    .scheduler-table__action-list button { width:100%; margin:0; padding:.42rem .35rem; white-space:normal; }
    .scheduler-table__action-list details > summary { cursor:pointer; overflow-wrap:anywhere; }
    .scheduler-table__action-list details[open] { grid-column:1 / -1; border:1px solid var(--line); border-radius:8px; padding:.5rem; background:var(--sc-surface-app); }
    .scheduler-table__action-list details[open] form { width:100%; }
    table { width:100%; border-collapse:collapse; }
    .panel > table { display:block; max-width:100%; overflow-x:auto; white-space:nowrap; }
    .panel > table td, .panel > table th { min-width:7rem; }
    th, td { text-align:left; padding:.85rem .45rem; border-bottom:1px solid var(--line); vertical-align:top; overflow-wrap:anywhere; }
    p { color:var(--muted); line-height:1.55; }
    .trace { font-family:Consolas,monospace; overflow-wrap:anywhere; word-break:break-word; }
    code { color:var(--sc-text-primary); overflow-wrap:anywhere; word-break:break-word; }
    .manage-domains-shell { display:flex; flex-direction:column; gap:.75rem; }
    .manage-domains-shell .panel { margin-bottom:0; }
    .manage-domains-hero { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; padding:1rem 1.1rem; }
    .manage-domains-hero h2 { margin:.1rem 0 .2rem; font-size:1.35rem; }
    .manage-domains-hero p { margin:0; max-width:48rem; }
    .manage-domains-add-open { width:auto; min-width:9rem; margin-top:0; }
    .manage-domains-metric-strip { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; border:1px solid var(--line); border-radius:8px; overflow:hidden; background:var(--panel); }
    .manage-domains-metric-strip span { display:flex; flex-direction:column; gap:.15rem; min-width:0; padding:.75rem .9rem; border-left:1px solid var(--line); color:var(--muted); font-size:.8rem; }
    .manage-domains-metric-strip span:first-child { border-left:0; }
    .manage-domains-metric-strip strong { font-size:1.2rem; line-height:1; color:var(--sc-text-primary); }
    .manage-domains-toolbar { display:grid; grid-template-columns:minmax(14rem,1.6fr) repeat(4,minmax(9rem,1fr)); gap:.75rem; align-items:end; padding:.85rem 1rem; }
    .manage-domains-toolbar label { display:grid; gap:.3rem; font-size:.82rem; }
    .manage-domains-toolbar input, .manage-domains-toolbar select { min-height:2.35rem; padding:.5rem .65rem; }
    .manage-domains-toolbar select { padding-right:2.25rem; background-position:right .65rem center; }
    .manage-domains-toolbar label:has(input[type="checkbox"]) { display:flex; align-items:center; gap:.45rem; align-self:end; min-height:2.35rem; }
    .manage-domains-toolbar label:has(input[type="checkbox"]) input { width:auto; min-height:0; padding:0; }
    .manage-domains-search { min-width:0; }
    .manage-domains-shell [data-testid="domain-attention-panel"] { display:flex; align-items:center; gap:.75rem; padding:.75rem 1rem; }
    .manage-domains-shell [data-testid="domain-attention-panel"] h2 { margin:0; font-size:1rem; white-space:nowrap; }
    .manage-domains-shell [data-testid="domain-attention-panel"] p { margin:0; flex:1 1 18rem; min-width:12rem; }
    .manage-domains-shell [data-testid="domain-attention-panel"] .actions { display:flex; align-items:center; justify-content:flex-end; gap:.45rem; flex-wrap:wrap; }
    .manage-domains-shell [data-testid="domain-attention-panel"] .button { width:auto; margin-top:0; }
    .manage-domains-dialog { width:min(64rem, calc(100vw - 2rem)); max-height:88vh; border:1px solid var(--line); border-radius:8px; padding:0; background:var(--panel); color:var(--ink); box-shadow:0 24px 70px rgba(15,23,42,.32); }
    .manage-domains-dialog::backdrop { background:rgba(2,6,23,.62); }
    .manage-domains-dialog .modal-content-box { max-height:88vh; overflow:auto; }
    .manage-domains-dialog .modal-header button { width:auto; margin-top:0; }
    .manage-domains-dialog .panel { box-shadow:none; }
    .manage-domains-edit-page-dialog { width:min(58rem,calc(100vw - 2rem)); max-height:min(88vh,50rem); border-color:#52657e; border-radius:12px; background:#0f1b2d; color:#f8fafc; box-shadow:0 28px 80px rgba(0,0,0,.5); color-scheme:dark; }
    .manage-domains-edit-page-dialog::backdrop { background:rgba(2,8,20,.78); }
    .manage-domains-edit-page-dialog .modal-content-box { display:flex; flex-direction:column; max-height:min(88vh,50rem); overflow:hidden; }
    .manage-domains-edit-page__header { flex:0 0 auto; padding:2rem 2.2rem 1.35rem; border-bottom:1px solid #2f4055; background:#0f1b2d; color:#f8fafc; }
    .manage-domains-edit-page__header h2 { margin:0 0 .35rem; color:#f8fafc; font-size:1.75rem; line-height:1.15; }
    .manage-domains-edit-page__header p { margin:0; color:#c4cfdd; font-size:1rem; }
    .manage-domains-edit-page__hostname { display:inline-flex; align-items:center; gap:.45rem; max-width:100%; min-height:2rem; margin-top:.9rem; border:1px solid #40536b; border-radius:7px; padding:.3rem .65rem; background:#17253a; color:#cbd5e1; font-size:.88rem; overflow-wrap:anywhere; }
    .manage-domains-edit-page__hostname svg { flex:0 0 1rem; width:1rem; height:1rem; }
    .manage-domains-edit-page__close { display:grid; place-items:center; flex:0 0 auto; width:2.7rem !important; height:2.7rem; min-height:0; border-color:#52657e; border-radius:8px; padding:0; background:#101c2d; color:#f8fafc; }
    .manage-domains-edit-page__close svg { width:1.35rem; height:1.35rem; }
    .manage-domains-edit-page__body { flex:1 1 auto; min-height:0; overflow-y:auto; padding:1.7rem 2.2rem 2rem; background:#0f1b2d; }
    .manage-domains-edit-page__form h3 { margin:0 0 .9rem; color:#aebdce; font-size:.82rem; letter-spacing:.04em; text-transform:uppercase; }
    .manage-domains-edit-page__fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem 1.25rem; }
    .manage-domains-edit-page__fields label { display:grid; gap:.45rem; min-width:0; color:#f1f5f9; font-weight:700; }
    .manage-domains-edit-page__fields label > span { font-size:.9rem; }
    .manage-domains-edit-page__fields input, .manage-domains-edit-page__fields select { width:100%; min-width:0; min-height:3.45rem; margin:0; border:1px solid #52657e; border-radius:8px; padding:.72rem 1rem; background:#101d2f; color:#f8fafc; font-size:1rem; box-shadow:none; }
    .manage-domains-edit-page__fields select { appearance:none; padding-right:2.75rem; background-repeat:no-repeat; background-position:right 1rem center; background-size:1.1rem; }
    .manage-domains-edit-page__fields input:focus, .manage-domains-edit-page__fields select:focus { border-color:#60a5fa; outline:2px solid rgba(96,165,250,.3); outline-offset:1px; }
    .manage-domains-edit-page__url { grid-column:1 / -1; }
    .manage-domains-edit-page__url small { color:#b8c5d4; font-size:.88rem; font-weight:400; }
    .manage-domains-edit-page__learning { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.7rem 1rem; align-items:center; min-height:9rem; margin-top:1.6rem; border:1px solid #40536b; border-radius:9px; padding:1.4rem 1.6rem; background:#101d2f; }
    .manage-domains-edit-page__learning-icon { display:grid; place-items:center; grid-row:1; width:3rem; height:3rem; color:#6ea8ff; }
    .manage-domains-edit-page__learning-icon svg { width:2.75rem; height:2.75rem; }
    .manage-domains-edit-page__learning-copy { min-width:0; }
    .manage-domains-edit-page__learning-copy > div { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; }
    .manage-domains-edit-page__learning-copy h3 { margin:0; color:#f8fafc; font-size:1.08rem; }
    .manage-domains-edit-page__learning-copy p { margin:.45rem 0 0; color:#bdc9d8; font-size:.9rem; overflow-wrap:anywhere; }
    .manage-domains-edit-page__learning-config { justify-self:end; min-width:0; }
    .manage-domains-edit-page__learning-config > summary { display:inline-flex; align-items:center; justify-content:center; min-width:7.8rem; min-height:2.8rem; border:1px solid #607189; border-radius:7px; padding:.55rem .9rem; background:#101c2d; color:#f8fafc; cursor:pointer; font-weight:700; list-style:none; }
    .manage-domains-edit-page__learning-config > summary::-webkit-details-marker { display:none; }
    .manage-domains-edit-page__learning-config[open] { grid-column:1 / -1; grid-row:2; justify-self:stretch; width:100%; border-top:1px solid #2f4055; padding-top:1rem; }
    .manage-domains-edit-page__learning-config[open] > summary { justify-self:end; margin-left:auto; }
    .manage-domains-edit-page__learning-panel { margin-top:.8rem; border:1px solid #40536b; border-radius:8px; padding:1rem; background:#0d1828; }
    .manage-domains-edit-page__learning-panel p { margin:0 0 .75rem; color:#bdc9d8; font-size:.88rem; }
    .manage-domains-edit-page__learning-panel .manage-domains-auto-learning__form { display:grid; gap:.6rem; }
    .manage-domains-edit-page__learning-panel .manage-domains-auto-learning__form label { color:#f1f5f9; font-weight:700; }
    .manage-domains-edit-page__learning-panel .manage-domains-auto-learning__form input { min-height:2.6rem; margin:0; border-color:#52657e; background:#101d2f; color:#f8fafc; }
    .manage-domains-edit-page__learning-panel .manage-domains-auto-learning__form button { justify-self:start; width:auto; margin:0; }
    .manage-domains-edit-page__footer { display:flex; flex:0 0 auto; justify-content:flex-end; gap:.8rem; border-top:1px solid #2f4055; padding:1.25rem 2rem 1.45rem; background:#0f1b2d; }
    .manage-domains-edit-page-dialog .manage-domains-edit-page__footer button { width:auto; min-width:7.5rem; min-height:3rem; margin:0; border-radius:7px; padding:.65rem 1.15rem; font-size:.9rem; font-weight:750; box-shadow:none; }
    .manage-domains-edit-page__cancel { border-color:#607189; background:#101c2d; color:#f8fafc; }
    .manage-domains-edit-page__save { border:1px solid #3b82f6; background:#2563eb; color:#fff; }
    .manage-domains-edit-page__save:hover { background:#1d4ed8; }
    .manage-domains-add-panel > summary, .manage-domains-archived > summary, .manage-domains-pages > summary { cursor:pointer; font-weight:700; color:var(--sc-text-primary); }
    .manage-domains-add-grid { margin-top:1rem; }
    .manage-domains-section-heading { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; margin-bottom:.55rem; }
    .manage-domains-section-heading h2 { margin:0; font-size:1.08rem; }
    .manage-domains-section-heading p { margin:.2rem 0 0; font-size:.86rem; }
    .manage-domains-bulk { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; justify-content:flex-end; }
    .manage-domains-bulk strong { color:var(--sc-text-muted); font-size:.86rem; white-space:nowrap; }
    .manage-domains-bulk label, .manage-domains-bulk select, .manage-domains-bulk button { width:auto; margin-top:0; }
    .manage-domains-bulk select { min-height:2.25rem; padding:.45rem 2.25rem .45rem .65rem; background-position:right .65rem center; }
    .manage-domains-inventory, .manage-domains-archived, .manage-domains-pages { overflow-x:auto; }
    .manage-domains-inventory > table, .manage-domains-archived > table { display:table; width:100%; max-width:100%; min-width:0; table-layout:fixed; overflow:visible; white-space:normal; }
    .manage-domains-pages > table { display:block; width:100%; max-width:100%; overflow-x:auto; white-space:normal; }
    .manage-domains-inventory th, .manage-domains-inventory td, .manage-domains-archived th, .manage-domains-archived td, .manage-domains-pages th, .manage-domains-pages td { padding:.7rem .6rem; }
    .manage-domains-inventory th, .manage-domains-archived th, .manage-domains-pages th { color:var(--sc-text-muted); font-size:.72rem; letter-spacing:.04em; text-transform:uppercase; background:var(--sc-surface-app); }
    .manage-domains-inventory th:nth-child(1), .manage-domains-archived th:nth-child(1), .manage-domains-inventory td:nth-child(1), .manage-domains-archived td:nth-child(1) { width:6%; }
    .manage-domains-inventory th:nth-child(2), .manage-domains-archived th:nth-child(2), .manage-domains-inventory td:nth-child(2), .manage-domains-archived td:nth-child(2) { width:16%; }
    .manage-domains-inventory th:nth-child(3), .manage-domains-archived th:nth-child(3), .manage-domains-inventory td:nth-child(3), .manage-domains-archived td:nth-child(3) { width:12%; }
    .manage-domains-inventory th:nth-child(4), .manage-domains-archived th:nth-child(4), .manage-domains-inventory td:nth-child(4), .manage-domains-archived td:nth-child(4) { width:11%; }
    .manage-domains-inventory th:nth-child(5), .manage-domains-archived th:nth-child(5), .manage-domains-inventory td:nth-child(5), .manage-domains-archived td:nth-child(5) { width:12%; }
    .manage-domains-inventory th:nth-child(6), .manage-domains-archived th:nth-child(6), .manage-domains-inventory td:nth-child(6), .manage-domains-archived td:nth-child(6) { width:11%; }
    .manage-domains-inventory th:nth-child(7), .manage-domains-archived th:nth-child(7), .manage-domains-inventory td:nth-child(7), .manage-domains-archived td:nth-child(7) { width:13%; }
    .manage-domains-inventory th:nth-child(8), .manage-domains-archived th:nth-child(8), .manage-domains-inventory td:nth-child(8), .manage-domains-archived td:nth-child(8) { width:19%; }
    .manage-domains-inventory td, .manage-domains-archived td { overflow-wrap:anywhere; word-break:normal; }
    .manage-domains-inventory td.actions, .manage-domains-archived td.actions { display:table-cell; min-width:0; max-width:none; vertical-align:top; }
    .manage-domains-pages .actions { display:flex; flex-wrap:wrap; gap:.4rem; align-items:flex-start; min-width:0; max-width:none; }
    .manage-domains-targets-row, tr[data-manage-domain-targets-row] { background:var(--panel); }
    .manage-domains-targets-cell { padding:.12rem .45rem .75rem .45rem !important; border-bottom:1px solid var(--line); background:var(--panel); }
    .manage-domains-targets { margin-left:2rem; border-left:2px solid var(--line); padding:.35rem 0 .1rem .65rem; }
    .manage-domains-targets__heading { display:flex; flex-wrap:wrap; gap:.35rem .65rem; align-items:baseline; margin-bottom:.45rem; }
    .manage-domains-targets__heading strong { font-size:.88rem; }
    .manage-domains-targets__heading span { color:var(--muted); font-size:.82rem; }
    .manage-domains-target-table { display:table; width:100%; max-width:100%; min-width:0; table-layout:fixed; border-collapse:collapse; overflow:visible; background:var(--panel); white-space:normal; }
    .manage-domains-target-table th, .manage-domains-target-table td { min-width:0; padding:.52rem .45rem; vertical-align:top; }
    .manage-domains-target-table th { color:var(--sc-text-muted); font-size:.72rem; letter-spacing:.04em; text-transform:uppercase; background:var(--sc-surface-app); }
    .manage-domains-target-table th:nth-child(1), .manage-domains-target-table td:nth-child(1) { width:31%; }
    .manage-domains-target-table th:nth-child(2), .manage-domains-target-table td:nth-child(2) { width:11%; }
    .manage-domains-target-table th:nth-child(3), .manage-domains-target-table td:nth-child(3) { width:10%; }
    .manage-domains-target-table th:nth-child(4), .manage-domains-target-table td:nth-child(4) { width:18%; }
    .manage-domains-target-table th:nth-child(5), .manage-domains-target-table td:nth-child(5) { width:12%; }
    .manage-domains-target-table th:nth-child(6), .manage-domains-target-table td:nth-child(6) { width:18%; }
    .manage-domains-target-table td.actions { min-width:0; max-width:none; }
    .manage-domains-target-url strong { display:block; overflow-wrap:anywhere; word-break:normal; }
    .manage-domains-target-learning { min-width:9.5rem; }
    .manage-domains-auto-learning-cell { display:flex; flex-wrap:wrap; gap:.35rem; align-items:center; min-width:0; }
    .manage-domains-auto-learning-cell .sc-status-badge { flex:0 1 auto; max-width:100%; white-space:normal; overflow-wrap:normal; word-break:normal; line-height:1.2; }
    .manage-domains-auto-learning { flex:0 0 auto; min-width:0; }
    .manage-domains-auto-learning > summary { display:inline-flex; align-items:center; min-height:1.7rem; padding:.18rem .45rem; border:1px solid var(--line); border-radius:6px; color:var(--accent); cursor:pointer; font-size:.78rem; font-weight:700; line-height:1.2; white-space:nowrap; }
    .manage-domains-auto-learning[open] { flex:1 1 100%; min-width:min(14rem,100%); padding:.5rem; border:1px solid var(--line); border-radius:8px; background:var(--sc-metric-neutral-bg); }
    .manage-domains-auto-learning[open] > summary { margin-bottom:.45rem; }
    .manage-domains-auto-learning__form { width:100%; min-width:0; }
    .manage-domains-auto-learning__form input { max-width:7rem; min-height:2rem; padding:.35rem .45rem; }
    .manage-domains-inventory .actions form, .manage-domains-archived .actions form, .manage-domains-pages .actions form { width:auto; }
    .manage-domains-target-table .actions form { width:auto; }
    .manage-domains-inventory .actions button, .manage-domains-inventory .actions .button, .manage-domains-archived .actions button, .manage-domains-archived .actions .button, .manage-domains-pages .actions button, .manage-domains-pages .actions .button, .manage-domains-target-table .actions button, .manage-domains-target-table .actions .button { width:auto; margin-top:0; white-space:nowrap; }
    .manage-domains-inventory .actions .manage-domains-edit-page__learning-config > summary { color:#f8fafc; }
    .manage-domains-page-actions { display:flex; flex-wrap:wrap; gap:.35rem; align-items:center; min-width:0; }
    .manage-domains-page-actions__secondary { display:flex; flex-wrap:wrap; gap:.35rem; align-items:center; min-width:0; }
    .manage-domains-page-actions__secondary form { display:inline-flex; }
    .manage-domains-page-actions .button, .manage-domains-page-actions button { min-height:1.95rem; padding:.36rem .52rem; font-size:.8rem; line-height:1.15; }
    .manage-domains-action-cluster { display:grid; gap:.4rem; width:100%; min-width:0; }
    .manage-domains-action-cluster__primary, .manage-domains-action-cluster__secondary { display:grid; gap:.4rem; min-width:0; }
    .manage-domains-action-cluster__secondary { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .manage-domains-action-cluster__secondary--single { grid-template-columns:minmax(0,1fr); }
    .manage-domains-action-cluster__form { display:grid; width:100%; min-width:0; }
    .manage-domains-action-cluster .manage-domains-action-cluster__button { width:100%; min-width:0; margin-top:0; padding:.52rem .5rem; font-size:.84rem; line-height:1.2; white-space:normal; }
    .manage-domains-action-cluster__button--danger { background:#fff1f2; border-color:#fecaca; color:#991b1b; }
    .manage-domains-action-cluster__button--danger:hover { background:#fee2e2; border-color:#fca5a5; color:#7f1d1d; }
    .manage-domains-inventory .actions details, .manage-domains-archived .actions details, .manage-domains-pages .actions details { flex:1 1 100%; }
    .manage-domains-inventory .actions details summary, .manage-domains-archived .actions details summary, .manage-domains-pages .actions details summary { cursor:pointer; font-weight:700; color:var(--accent); }
    .manage-domains-inventory .actions details[open], .manage-domains-archived .actions details[open], .manage-domains-pages .actions details[open] { padding:.55rem; border:1px solid var(--line); border-radius:8px; background:var(--sc-metric-neutral-bg); }
    .manage-domains-empty { margin:.75rem 0 0; padding:.75rem; border:1px dashed var(--line); border-radius:8px; }
    .manage-domains-archived:not([open]) { padding:.85rem 1rem; }
    .manage-domains-pages:not([open]) { padding:.85rem 1rem; }
    .manage-domains-archived[open] summary, .manage-domains-pages[open] summary { margin-bottom:.75rem; }
    .manage-domains-hero { border:0; padding:.2rem 0 .45rem; background:transparent; box-shadow:none; }
    .manage-domains-hero h1 { margin:0 0 .2rem; font-size:1.85rem; }
    .manage-domains-hero__actions { display:flex; gap:.65rem; align-items:center; }
    .manage-domains-hero__actions form { margin:0; }
    .manage-domains-metric-strip { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .manage-domains-metric-strip > div { display:grid; grid-template-columns:auto auto 1fr; align-items:center; justify-content:center; gap:.15rem .55rem; min-height:3.65rem; padding:.65rem 1rem; border-left:1px solid var(--line); color:var(--sc-text-muted); }
    .manage-domains-metric-strip > div:first-child { border-left:0; }
    .manage-domains-metric-strip > div > span { display:inline; min-width:0; min-height:0; padding:0; border:0; background:transparent; color:inherit; }
    .manage-domains-metric-strip > div > span:last-child { grid-column:2 / -1; font-size:.78rem; }
    .manage-domains-metric-strip > div > .manage-domains-metric-strip__icon { grid-row:1 / 3; display:grid; place-items:center; width:2rem; height:2rem; border-radius:8px; background:var(--sc-surface-app); color:var(--accent); }
    .manage-domains-metric-strip__svg { display:block; width:1.125rem; height:1.125rem; }
    .manage-domains-metric-strip strong { font-size:1.3rem; line-height:1; }
    .manage-domains-toolbar { display:grid; grid-template-columns:minmax(15rem,1fr) auto; align-items:start; gap:.45rem .65rem; padding:0; border:0; background:transparent; box-shadow:none; }
    .manage-domains-search { position:relative; width:100%; min-width:0; }
    .manage-domains-search input { min-height:2.55rem; padding-left:2.25rem; color:var(--sc-text-primary); }
    .manage-domains-search input::placeholder { color:#64748b; opacity:1; }
    .manage-domains-search__icon { position:absolute; z-index:1; left:.75rem; top:50%; transform:translateY(-50%); color:var(--sc-text-muted); font-size:1.1rem; pointer-events:none; }
    .manage-domains-active-filters { grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:.4rem; min-height:0; }
    .manage-domains-active-filters[hidden] { display:none; }
    .manage-domains-filter-chip { display:inline-flex; align-items:center; min-height:1.65rem; border:1px solid #bfdbfe; border-radius:999px; padding:.18rem .55rem; background:#eff6ff; color:#1d4ed8; font-size:.76rem; font-weight:700; }
    /* Standing guidance about what the inventory does and does not prove. It is read once and
       then stays true, but as an always-expanded block of prose it wrapped to ~438px at 390px wide
       and pushed the inventory itself to y=1046 - past the 844px mobile viewport, so the thing the
       page exists to show started below the fold. Disclosed rather than trimmed: the text is
       compliance wording, so shortening it would change what the page claims. */
    .manage-domains-scope-note > summary { display:flex; align-items:center; min-height:2.55rem; cursor:pointer; color:var(--sc-text-primary); font-weight:700; list-style:none; }
    .manage-domains-scope-note > summary::-webkit-details-marker { display:none; }
    .manage-domains-scope-note > summary::before { content:"▽"; margin-right:.45rem; color:var(--muted); }
    .manage-domains-scope-note[open] > summary::before { content:"△"; }
    .manage-domains-scope-note > p { margin-top:.6rem; }
    .manage-domains-filter-disclosure { position:relative; }
    .manage-domains-filter-disclosure > summary { min-height:2.55rem; display:flex; align-items:center; border:1px solid var(--line); border-radius:8px; padding:.48rem .8rem; cursor:pointer; color:var(--sc-text-primary); font-weight:700; list-style:none; }
    .manage-domains-filter-disclosure > summary::before { content:"▽"; margin-right:.45rem; color:var(--muted); }
    .manage-domains-filter-disclosure > div { position:absolute; z-index:5; top:calc(100% + .35rem); left:0; display:grid; grid-template-columns:repeat(2,minmax(10rem,1fr)); gap:.65rem; width:min(34rem,calc(100vw - 3rem)); border:1px solid var(--line); border-radius:8px; padding:.8rem; background:var(--panel); box-shadow:0 16px 35px rgba(2,6,23,.25); }
    .manage-domain-card-list { display:grid; gap:.65rem; }
    .manage-domain-card { border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--panel); box-shadow:0 1px 2px rgba(15,23,42,.04); }
    .manage-domain-card__header { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.75rem; min-height:3.25rem; padding:.62rem .85rem; background:linear-gradient(90deg,var(--sc-surface-app),var(--panel)); }
    .manage-domain-card__identity { display:flex; align-items:center; gap:.55rem; min-width:0; }
    .manage-domain-card__identity > strong { font-size:1rem; overflow-wrap:anywhere; }
    .manage-domain-card__badges { display:flex; align-items:center; gap:.4rem; flex-wrap:wrap; }
    .manage-domain-card__icon { display:grid; place-items:center; flex:0 0 auto; width:1.8rem; height:1.8rem; border:1px solid #bfdbfe; border-radius:999px; background:#eff6ff; color:#2563eb; }
    .manage-domain-card__facts { display:grid; grid-template-columns:.8fr 1.25fr 1.15fr 1.25fr 1.25fr; gap:0; margin:0; padding:.58rem .85rem; border-top:1px solid var(--line); }
    .manage-domain-card__facts div { min-width:0; padding:0 .75rem; border-left:1px solid var(--line); }
    .manage-domain-card__facts div:first-child { padding-left:0; border-left:0; }
    .manage-domain-card__facts dt { display:flex; gap:.3rem; align-items:center; color:var(--sc-text-muted); font-size:.72rem; font-weight:600; }
    .manage-domain-card__facts dd { margin:.15rem 0 0; color:var(--sc-text-primary); font-size:.86rem; font-weight:650; overflow-wrap:anywhere; }
    .manage-domain-first-scan { display:inline-flex; margin-left:.5rem; vertical-align:middle; }
    .manage-domain-first-scan button { width:auto; min-height:1.65rem; margin:0; padding:.18rem .45rem; font-size:.72rem; }
    .manage-domain-mode--healthy { color:#22c55e; } .manage-domain-mode--warning { color:#f59e0b; }
    .manage-domain-overflow { position:relative; }
    .manage-domain-overflow > summary, .manage-target-overflow > summary { display:grid; place-items:center; width:2.25rem; height:2.25rem; border:1px solid transparent; border-radius:7px; cursor:pointer; list-style:none; font-weight:900; letter-spacing:.08em; }
    .manage-domain-overflow > summary:hover, .manage-target-overflow > summary:hover { border-color:var(--line); background:rgba(148,163,184,.12); }
    .manage-domain-overflow > summary::-webkit-details-marker { display:none; }
    .manage-domain-overflow__menu { position:absolute; z-index:4; right:0; top:1.5rem; width:12rem; display:grid; gap:.4rem; border:1px solid var(--line); border-radius:8px; padding:.55rem; background:var(--panel); box-shadow:0 14px 30px rgba(2,6,23,.3); }
    .manage-domains-targets { margin:0 .65rem .6rem 1.35rem; padding:0; border:1px solid var(--line); border-left:3px solid #93c5fd; border-radius:8px; overflow:hidden; }
    .manage-domain-card:has(.manage-target-overflow[open]), .manage-domains-targets:has(.manage-target-overflow[open]) { overflow:visible; }
    .manage-domains-targets__heading { display:flex; align-items:center; justify-content:space-between; gap:.65rem; margin:0; padding:.42rem .65rem; background:var(--sc-surface-app); }
    .manage-domains-targets__heading > div { display:flex; align-items:center; gap:.45rem; min-width:0; }
    .manage-domains-targets__heading > button { flex:0 0 auto; width:auto; min-height:1.85rem; margin:0; padding:.28rem .55rem; font-size:.78rem; }
    .manage-domains-targets__empty { color:var(--sc-text-muted); font-size:.78rem; }
    .manage-domains-count-badge { display:inline-flex; align-items:center; justify-content:center; min-width:1.45rem; height:1.35rem; border-radius:999px; padding:0 .38rem; background:rgba(148,163,184,.18); color:var(--sc-text-primary); font-size:.72rem; font-weight:700; }
    .manage-domain-target { display:grid; grid-template-columns:auto minmax(12rem,1fr) 6.5rem 10rem minmax(8rem,auto); align-items:center; gap:.65rem; padding:.55rem .65rem; border-top:1px solid var(--line); }
    .manage-domain-target__icon { font-size:1.3rem; color:#93c5fd; }
    .manage-domain-target__url { display:grid; min-width:0; }
    .manage-domain-target__url strong, .manage-domain-target__url span { overflow-wrap:anywhere; }
    .manage-domain-target__url strong { color:var(--sc-text-primary); font-weight:700; }
    .manage-domain-target__url span, .manage-domain-target__scan { color:var(--sc-text-muted); font-size:.8rem; }
    .manage-domain-target__mode { color:#22c55e; font-weight:700; }
    .manage-domain-target .manage-domains-page-actions { flex-wrap:nowrap; justify-content:flex-end; }
    .manage-domains-page-actions__primary { display:flex; align-items:center; }
    .manage-target-overflow { position:relative; }
    .manage-target-overflow[open] { z-index:6; }
    .manage-target-overflow > summary::-webkit-details-marker { display:none; }
    .manage-target-overflow .manage-domains-page-actions__secondary { position:absolute; z-index:4; right:0; top:calc(100% + .25rem); display:grid; width:10rem; gap:.4rem; border:1px solid var(--line); border-radius:8px; padding:.55rem; background:var(--panel); box-shadow:0 14px 30px rgba(2,6,23,.3); }
    .manage-target-overflow .manage-domains-page-actions__secondary form, .manage-target-overflow .manage-domains-page-actions__secondary button { width:100%; }
    .manage-domains-archived { margin-top:.1rem; padding:.62rem .8rem; background:transparent; box-shadow:none; opacity:.9; }
    .manage-domains-archived > summary { display:flex; align-items:center; gap:.5rem; }
    [data-theme="dark"] .manage-domains-hero, [data-theme="dark"] .manage-domains-toolbar { background:transparent; border-color:transparent; }
    [data-theme="dark"] .manage-domain-card, [data-theme="dark"] .manage-domains-filter-disclosure > div, [data-theme="dark"] .manage-domain-overflow__menu, [data-theme="dark"] .manage-domains-targets, [data-theme="dark"] .manage-target-overflow .manage-domains-page-actions__secondary { background:#111c2e; border-color:#334155; }
    [data-theme="dark"] .manage-domain-card__header { background:linear-gradient(90deg,#17243a,#111c2e); }
    [data-theme="dark"] .manage-domains-metric-strip > div > span { background:transparent; border:0; color:inherit; }
    [data-theme="dark"] .manage-domain-card__icon, [data-theme="dark"] .manage-domains-metric-strip .manage-domains-metric-strip__icon { background:#172554; border:1px solid #1d4ed8; color:#93c5fd; }
    [data-theme="dark"] .manage-domains-metric-strip > div { border-left-color:#334155; color:#cbd5e1; }
    [data-theme="dark"] .manage-domains-filter-chip { background:#172554; border-color:#1d4ed8; color:#bfdbfe; }
    [data-theme="dark"] .manage-domains-search input::placeholder { color:#94a3b8; }
    .manage-domains-inventory__heading { margin:.2rem 0 .15rem; font-size:1.25rem; }
    .manage-domains-toolbar { grid-template-columns:minmax(16rem,1fr) repeat(3,minmax(9rem,14rem)) auto; align-items:center; gap:.65rem; }
    .manage-domains-toolbar__select { min-width:0; }
    .manage-domains-toolbar__select select { width:100%; min-height:3rem; }
    .manage-domains-search input { min-height:3rem; }
    .manage-domains-filter-disclosure > summary { min-height:3rem; }
    .manage-domains-filter-disclosure > div { right:0; left:auto; width:min(28rem,calc(100vw - 2rem)); }
    .manage-domains-metric-strip > .manage-domains-metric-strip__setup .manage-domains-metric-strip__icon { background:#422006; border-color:#a16207; color:#fbbf24; }
    .manage-domains-metric-strip > .manage-domains-metric-strip__ready .manage-domains-metric-strip__icon { background:#12351f; border-color:#15803d; color:#86efac; }
    .manage-domain-card__header { grid-template-columns:minmax(18rem,1fr) auto auto; min-height:4.75rem; padding:.85rem 1rem; }
    .manage-domain-card__identity h3 { margin:0; font-size:1.05rem; overflow-wrap:anywhere; }
    .manage-domain-card__facts { grid-template-columns:repeat(4,minmax(7.5rem,auto)); align-items:center; padding:0; border-top:0; }
    .manage-domain-card__facts div { min-height:2.6rem; padding:0 1rem; }
    .manage-domain-card__facts dt { text-transform:none; }
    .manage-domain-card__facts dd { white-space:nowrap; }
    .manage-domain-card__blocked dd { color:#ef4444; }
    .manage-domain-overflow { align-self:center; }
    .manage-domains-targets { margin:0 1rem .5rem; border-left-width:1px; }
    .manage-domains-targets__heading { min-height:2.8rem; padding:.5rem 1rem; background:transparent; }
    .manage-domains-targets--empty .manage-domains-targets__heading { min-height:4.2rem; }
    .manage-domain-target { grid-template-columns:auto minmax(8rem,1fr) auto auto; min-height:4rem; padding:.65rem 1rem; }
    .manage-domain-target__icon { color:#4ade80; font-size:.75rem; }
    .manage-domain-target__url h4 { margin:0; font-size:.95rem; }
    .manage-domain-target__scan { display:none; }
    .manage-domain-target .manage-domains-page-actions__primary { gap:.5rem; }
    .manage-domain-scan-details { margin:0 1rem; border-top:1px solid var(--line); }
    .manage-domain-scan-details > summary { display:flex; align-items:center; gap:.55rem; min-height:3.4rem; cursor:pointer; color:var(--sc-text-muted); font-weight:700; list-style:none; }
    .manage-domain-scan-details__chevron { display:block; align-self:center; width:.9rem; height:.9rem; flex:0 0 .9rem; transform:rotate(0deg); transform-origin:center; }
    .manage-domain-scan-details[open] .manage-domain-scan-details__chevron { transform:rotate(180deg); }
    .manage-domain-scan-details__body { margin:0 0 .85rem; border:1px solid var(--line); border-radius:8px; padding:.8rem 1rem; background:var(--sc-surface-app); }
    .manage-domain-scan-details__body p { margin:.35rem 0; font-size:.84rem; }
    .manage-domain-discovery-settings { margin:0 1rem .5rem; }
    .manage-domain-discovery-settings > summary { min-height:2.5rem; cursor:pointer; color:var(--sc-text-muted); font-size:.82rem; font-weight:700; }
    .manage-domain-discovery-settings__row { display:grid; grid-template-columns:minmax(12rem,1fr) minmax(12rem,1fr) auto; gap:.75rem; align-items:start; border:1px solid var(--line); border-radius:8px; padding:.75rem; }
    .manage-domain-discovery-settings__row > div:first-child { display:grid; gap:.2rem; }
    .manage-domain-discovery-settings__row > div:first-child span { color:var(--sc-text-muted); font-size:.8rem; overflow-wrap:anywhere; }
    .manage-action-confirmation { position:relative; min-width:0; }
    .manage-action-confirmation > summary { display:flex; align-items:center; justify-content:center; cursor:pointer; list-style:none; }
    .manage-action-confirmation > summary::-webkit-details-marker { display:none; }
    .manage-action-confirmation > div { display:grid; gap:.45rem; margin-top:.35rem; border:1px solid var(--line); border-radius:7px; padding:.5rem; background:var(--panel); }
    .manage-action-confirmation > div p { margin:0; font-size:.78rem; }
    .manage-domains-add-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:.75rem; }
    .manage-domains-add-new-domain > summary,
    .manage-domains-import > summary { cursor:pointer; color:var(--accent); font-weight:700; }
    .manage-domains-import__hint { margin:0; font-size:.85rem; color:var(--muted); }
    .manage-domains-page-learning { margin-top:1rem; border-top:1px solid var(--line); padding-top:1rem; }
    .manage-domains-page-learning h3 { margin:0 0 .5rem; font-size:1rem; }
    [data-theme="dark"] .manage-domain-scan-details__body, [data-theme="dark"] .manage-action-confirmation > div { background:#0d1728; border-color:#334155; }
    [data-theme="dark"] .manage-domains-metric-strip > .manage-domains-metric-strip__setup .manage-domains-metric-strip__icon { background:#422006; border-color:#a16207; color:#fbbf24; }
    [data-theme="dark"] .manage-domains-metric-strip > .manage-domains-metric-strip__ready .manage-domains-metric-strip__icon { background:#12351f; border-color:#15803d; color:#86efac; }
    [data-theme="dark"] .page-status-header { background:rgba(30,41,59,.96); border-bottom-color:#334155; }
    [data-theme="dark"] .page-status-header__org-monogram { background:linear-gradient(135deg,#ecfdf5,#eff6ff); border-color:#475569; color:#0f172a; }
    [data-theme="dark"] .panel, [data-theme="dark"] .org-card, [data-theme="dark"] .setup-step, [data-theme="dark"] .setup-progress-panel, [data-theme="dark"] .setup-action-card, [data-theme="dark"] .setup-secondary-panel, [data-theme="dark"] .setup-explainer { background:#111c2e; border-color:#2a3a52; color:#f1f5f9; }
    [data-theme="dark"] .panel .panel { background:#16243a; border-color:#32445f; }
    [data-theme="dark"] input, [data-theme="dark"] textarea, [data-theme="dark"] select { background-color:#152337; border-color:#475569; color:#e2e8f0; }
    [data-theme="dark"] select { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E"); }
    [data-theme="dark"] label, [data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] strong, [data-theme="dark"] code { color:#f1f5f9; }
    [data-theme="dark"] p, [data-theme="dark"] dd, [data-theme="dark"] .sc-metric-card__subtitle { color:#cbd5e1; }
    [data-theme="dark"] .facts div, [data-theme="dark"] th, [data-theme="dark"] td { border-color:#2a3a52; }
    [data-theme="dark"] .ghost, [data-theme="dark"] .ghost-link, [data-theme="dark"] button:disabled, [data-theme="dark"] button[disabled] { background:#111c2e; border-color:#40546f; color:#f8fafc; }
    [data-theme="dark"] .ghost:hover, [data-theme="dark"] .ghost-link:hover, [data-theme="dark"] .dropdown-item:hover { background:rgba(148,163,184,.18); }
    [data-theme="dark"] .report-type-toggle label { background:#152337; border-color:#475569; color:#f8fafc; }
    [data-theme="dark"] .report-type-toggle input[type="radio"] { accent-color:#60a5fa; }
    [data-theme="dark"] .report-runner-support { background:#172033; border-color:#334155; color:#f1f5f9; }
    [data-theme="dark"] .report-runner-support summary { color:#f8fafc; }
    [data-theme="dark"] .report-runner-feedback { background:#102a1d; border-color:#166534; color:#bbf7d0; }
    [data-theme="dark"] .report-runner-feedback--error { background:#3b1212; border-color:#991b1b; color:#fecaca; }
    [data-theme="dark"] .sc-filter-bar__select { background-color:transparent; }
    [data-theme="dark"] .sc-metric-card, [data-theme="dark"] .metric { background:var(--sc-surface-card); }
    [data-theme="dark"] .sc-view-toggle button.active { background:#1e293b; }
    [data-theme="dark"] .sc-domain-inline { background:linear-gradient(180deg, rgba(148,163,184,.06), rgba(148,163,184,0)); }
    [data-theme="dark"] .sc-script-preview { background:rgba(15,23,42,.24); }
    [data-theme="dark"] .warning-banner { background:#2b2111; color:#fcd34d; border-color:#92400e; }
    [data-theme="dark"] .scan-queue-modal { background:#111c2e; border-color:#2a3a52; color:#f1f5f9; }
    [data-theme="dark"] .queue-error { color:#fca5a5; }
    [data-theme="dark"] .operations-metric, [data-theme="dark"] .operations-review-card, [data-theme="dark"] .operations-review-row, [data-theme="dark"] .operations-finding-row, [data-theme="dark"] .decision-center-tabs, [data-theme="dark"] .decision-evidence-bridge, [data-theme="dark"] .decision-row-menu__body, [data-theme="dark"] .decision-row-details__body, [data-theme="dark"] .operations-finding-triage, [data-theme="dark"] .operations-pagination--attached, [data-theme="dark"] .operations-history-table-wrap > .sc-table-pagination { background:#111c2e; border-color:#334155; color:#f1f5f9; }
    [data-theme="dark"] .operations-metric span, [data-theme="dark"] .operations-review-card__facts dt, [data-theme="dark"] .operations-review-card__side, [data-theme="dark"] .operations-finding-row__meta, [data-theme="dark"] .decision-center-tab, [data-theme="dark"] .decision-evidence-bridge span:not(.status-badge) { color:#cbd5e1; }
    [data-theme="dark"] .decision-center-tab--active { background:#172554; border-color:#3b82f6; color:#f8fafc; }
    [data-theme="dark"] .decision-row-details__body p, [data-theme="dark"] .decision-row-details__body dd, [data-theme="dark"] .operations-finding-triage__field span, [data-theme="dark"] .operations-finding-triage__search span, [data-theme="dark"] .operations-finding-triage__active > span { color:#cbd5e1; }
    [data-theme="dark"] .operations-finding-triage__field select, [data-theme="dark"] .operations-finding-triage__search input { background:#111c2e; border-color:#40546f; color:#f8fafc; }
    [data-theme="dark"] .operations-finding-triage__chip { background:#111c2e; border-color:#40546f; color:#f8fafc; }
    [data-theme="dark"] .operations-finding-triage__chip:hover { background:rgba(148,163,184,.18); }
    [data-theme="dark"] .operations-finding-triage__chip--active { background:#172554; border-color:#3b82f6; color:#f8fafc; }
    [data-theme="dark"] .operations-review-card__side { border-left-color:#334155; }
    [data-theme="dark"] .operations-hero__callout { background:#2b2111; border-color:#92400e; color:#fcd34d; }
    [data-theme="dark"] .status-badge.warning { background:#451a03; color:#fcd34d; }
    [data-theme="dark"] .status-badge.info { background:#172554; color:#bfdbfe; }
    [data-theme="dark"] .status-badge.critical { background:#3b1212; color:#fecaca; }
    [data-theme="dark"] .status-badge.neutral { background:#334155; color:#e2e8f0; }
    [data-theme="dark"] .setup-onboarding { background:#111c2e; border-color:#2a3a52; }
    [data-theme="dark"] .setup-progress-meter__bar { background:#334155; border-color:#475569; }
    [data-theme="dark"] .setup-progress-step.current { background:#172554; border-color:#3b82f6; }
    [data-theme="dark"] .setup-action-card--primary { border-color:#3b82f6; box-shadow:none; }
    [data-theme="dark"] .setup-action-card--complete { background:#102a1d; border-color:#166534; }
    [data-theme="dark"] .setup-step__link, [data-theme="dark"] .setup-secondary-link { color:#93c5fd; }
    [data-theme="dark"] .organization-settings-hub__header { background:#111c2e; border-color:#2a3a52; }
    [data-theme="dark"] .organization-settings-tabs a, [data-theme="dark"] .organization-settings-status-card, [data-theme="dark"] .organization-settings-card { background:#111c2e; border-color:#334155; color:#f1f5f9; }
    [data-theme="dark"] .organization-settings-card__form select { background:#0f172a; border-color:#334155; color:#f8fafc; }
    [data-theme="dark"] .organization-settings-tabs a:hover, [data-theme="dark"] .organization-settings-card__links a { background:#172554; border-color:#3b82f6; color:#bfdbfe; }
    [data-theme="dark"] .organization-settings-card__links a:hover { background:#1e3a8a; }
    [data-theme="dark"] .admin-settings__rail, [data-theme="dark"] .admin-settings__panel, [data-theme="dark"] .admin-settings__dialog { background:#111c2e; border-color:#334155; color:#f1f5f9; }
    [data-theme="dark"] .admin-settings__rail a { color:#f1f5f9; }
    [data-theme="dark"] .admin-settings__rail a:hover, [data-theme="dark"] .admin-settings__rail a[aria-current="page"], [data-theme="dark"] .admin-settings__quiet-button { background:#172554; border-color:#3b82f6; color:#bfdbfe; }
    [data-theme="dark"] .admin-settings__row, [data-theme="dark"] .admin-settings__rows, [data-theme="dark"] .admin-settings__advanced { border-color:#334155; }
    [data-theme="dark"] .admin-settings__advanced details { background:#172033; color:#f1f5f9; }
    [data-theme="dark"] .admin-settings__status { color:#f8fafc; }
    [data-theme="dark"] .admin-settings__live { background:#102a1d; border-color:#166534; color:#bbf7d0; }
    [data-theme="dark"] .hash-page-heading a, [data-theme="dark"] .hash-domain-link { color:#93c5fd; }
    [data-theme="dark"] .hash-tab:not(.hash-tab--active) { color:#f8fafc; border-color:#64748b; }
    [data-theme="dark"] .hash-tab:not(.hash-tab--active):hover { background:rgba(148,163,184,.18); }
    [data-theme="dark"] .hash-domain-summary, [data-theme="dark"] .hash-decision-summary__context, [data-theme="dark"] .hash-review-detail-card, [data-theme="dark"] .hash-raw-content, [data-theme="dark"] .hash-chip { background:#172033; border-color:#334155; }
    [data-theme="dark"] .hash-decision-card { background:#111c2e; border-color:#334155; }
    [data-theme="dark"] .hash-decision-card.critical { background:#3b1212; border-color:#991b1b; }
    [data-theme="dark"] .hash-decision-card.warning { background:#2b2111; border-color:#92400e; }
    [data-theme="dark"] .hash-decision-card.info { background:#172554; border-color:#1d4ed8; }
    [data-theme="dark"] .hash-decision-card.healthy { background:#123524; border-color:#166534; }
    [data-theme="dark"] .hash-decision-card span, [data-theme="dark"] .hash-drawer-hero p, [data-theme="dark"] .hash-bulk-note { color:#cbd5e1; }
    [data-theme="dark"] .hash-review-drawer, [data-theme="dark"] .hash-dependency-page, [data-theme="dark"] .hash-dependency-card, [data-theme="dark"] .hash-readonly-field { background:#111c2e; border-color:#334155; color:#f1f5f9; }
    [data-theme="dark"] .hash-review-table-wrap tr[data-hash-review-row], [data-theme="dark"] .hash-review-group-row td, [data-theme="dark"] .historical-authority-review-table-wrap .historical-authority-review-row { background:#111c2e; border-color:#334155; color:#f1f5f9; }
    [data-theme="dark"] .hash-diagnostic-callout { background:linear-gradient(100deg,#3b2807,#3b1a08); border-color:#a16207; }
    [data-theme="dark"] .hash-diagnostic-callout__details[open] > div { background:#111c2e; border-color:#334155; }
    [data-theme="dark"] .historical-script-list, [data-theme="dark"] .historical-script-row { border-color:#334155; }
    [data-theme="dark"] .hash-review-table-wrap tr[data-hash-review-row][data-selected="true"] { background:#172554; border-color:#3b82f6; }
    [data-theme="dark"] .hash-expand-toggle { background:#111c2e; border-color:#64748b; color:#93c5fd; }
    [data-theme="dark"] .hash-review-search, [data-theme="dark"] .hash-review-sort, [data-theme="dark"] .hash-review-queue-card, [data-theme="dark"] .hash-review-modal { background:#0d1d31; border-color:#334b66; }
    [data-theme="dark"] .hash-review-queue-card--inline-child { background:#101f33; }
    [data-theme="dark"] .dashboard-health-banner { background:#102a1d; border-color:#166534; color:#f1f5f9; }
    [data-theme="dark"] .dashboard-health-banner--warning { background:#2b2111; border-color:#92400e; }
    [data-theme="dark"] .dashboard-health-banner--critical { background:#3b1212; border-color:#991b1b; }
    [data-theme="dark"] .dashboard-health-banner--inactive { background:#172033; border-color:#475569; }
    [data-theme="dark"] .dashboard-health-banner__badge { background:#14532d; color:#86efac; }
    [data-theme="dark"] .dashboard-health-banner--warning .dashboard-health-banner__badge { background:#451a03; color:#fcd34d; }
    [data-theme="dark"] .dashboard-health-banner--critical .dashboard-health-banner__badge { background:#450a0a; color:#fecaca; }
    [data-theme="dark"] .dashboard-health-banner--inactive .dashboard-health-banner__badge { background:#334155; color:#e2e8f0; }
    [data-theme="dark"] .sc-metric-card.healthy { background:#123524; border-color:#166534; }
    [data-theme="dark"] .sc-metric-card.warning { background:#3b2f12; border-color:#92400e; }
    [data-theme="dark"] .sc-metric-card.critical { background:#3b1212; border-color:#991b1b; }
    [data-theme="dark"] .sc-metric-card.info { background:#172554; border-color:#1d4ed8; }
    [data-theme="dark"] .manage-domains-shell { color-scheme:dark; }
    [data-theme="dark"] .manage-domains-metric-strip { background:#111c2e; border-color:#2a3a52; }
    [data-theme="dark"] .manage-domains-metric-strip span { background:#111c2e; border-left-color:#2a3a52; color:#cbd5e1; }
    [data-theme="dark"] .manage-domains-metric-strip strong { color:#f8fafc; }
    [data-theme="dark"] .manage-domains-toolbar input, [data-theme="dark"] .manage-domains-toolbar select, [data-theme="dark"] .manage-domains-bulk select { background-color:#152337; border-color:#475569; color:#e2e8f0; }
    [data-theme="dark"] .manage-domains-shell input[type="checkbox"] { accent-color:#60a5fa; background-color:#152337; border-color:#64748b; }
    [data-theme="dark"] .manage-domains-dialog { background:#0f1b2d; border-color:#64748b; color:#f8fafc; }
    [data-theme="dark"] .manage-domains-dialog .modal-header { background:#111c2e; border-bottom-color:#334155; color:#f8fafc; }
    [data-theme="dark"] .manage-domains-dialog .modal-header p { color:#cbd5e1; }
    [data-theme="dark"] .manage-domains-dialog .modal-header .ghost { background:#111c2e; border-color:#64748b; color:#f8fafc; }
    [data-theme="dark"] .manage-domains-dialog .modal-header .ghost:hover { background:rgba(148,163,184,.18); color:#f8fafc; }
    [data-theme="dark"] .manage-domains-edit-page-dialog, [data-theme="dark"] .manage-domains-edit-page-dialog .manage-domains-edit-page__header, [data-theme="dark"] .manage-domains-edit-page-dialog .manage-domains-edit-page__footer { background:#0f1b2d; border-color:#40536b; color:#f8fafc; }
    [data-theme="dark"] .manage-domains-edit-page-dialog .manage-domains-edit-page__header p { color:#c4cfdd; }
    [data-theme="dark"] .manage-domains-edit-page-dialog .manage-domains-edit-page__close { background:#101c2d; border-color:#52657e; color:#f8fafc; }
    [data-theme="dark"] .manage-domains-add-grid .panel { background:#111c2e; border-color:#64748b; color:#f8fafc; }
    [data-theme="dark"] .manage-domains-inventory th, [data-theme="dark"] .manage-domains-archived th, [data-theme="dark"] .manage-domains-pages th { background:#0f1b2d; color:#cbd5e1; border-color:#2a3a52; }
    [data-theme="dark"] .manage-domains-inventory td, [data-theme="dark"] .manage-domains-archived td, [data-theme="dark"] .manage-domains-pages td { border-color:#2a3a52; color:#e2e8f0; }
    [data-theme="dark"] .manage-domains-inventory tr[data-manage-domain-row], [data-theme="dark"] .manage-domains-archived tr, [data-theme="dark"] .manage-domains-pages tr { background:#111c2e; }
    [data-theme="dark"] .manage-domains-targets { border-left-color:#334155; }
    [data-theme="dark"] .manage-domains-targets-row, [data-theme="dark"] tr[data-manage-domain-targets-row], [data-theme="dark"] .manage-domains-targets-cell, [data-theme="dark"] .manage-domains-target-table, [data-theme="dark"] .manage-domains-target-table tr[data-manage-page-row] { background:#111c2e; color:#f1f5f9; }
    [data-theme="dark"] .manage-domains-target-table th { background:#0f1b2d; color:#cbd5e1; border-color:#2a3a52; }
    [data-theme="dark"] .manage-domains-target-table td, [data-theme="dark"] .manage-domains-targets-cell { border-color:#2a3a52; color:#e2e8f0; }
    [data-theme="dark"] .manage-domains-auto-learning > summary { background:#111c2e; border-color:#40546f; color:#bfdbfe; }
    [data-theme="dark"] .manage-domains-auto-learning[open] { background:#172033; border-color:#334155; }
    [data-theme="dark"] .manage-domains-auto-learning__form input { background:#152337; border-color:#475569; color:#e2e8f0; }
    [data-theme="dark"] .manage-domains-action-cluster__button--danger { background:#3b1212; border-color:#991b1b; color:#fecaca; }
    [data-theme="dark"] .manage-domains-action-cluster__button--danger:hover { background:#450a0a; border-color:#dc2626; color:#fee2e2; }
    [data-theme="dark"] .manage-domains-inventory .actions details[open], [data-theme="dark"] .manage-domains-archived .actions details[open], [data-theme="dark"] .manage-domains-pages .actions details[open] { background:#172033; border-color:#334155; }
    [data-theme="dark"] .auth-main { background:var(--sc-auth-bg); color:var(--sc-auth-navy); }
    [data-theme="dark"] .auth-card { background:var(--sc-auth-card); border-color:#2a3a52; color:#f8fafc; box-shadow:0 24px 60px rgba(0,0,0,.34); }
    [data-theme="dark"] .auth-logo, [data-theme="dark"] .auth-card__heading h2, [data-theme="dark"] .auth-logo strong, [data-theme="dark"] .auth-field label, [data-theme="dark"] .auth-feedback p, [data-theme="dark"] .auth-facts dd, [data-theme="dark"] .auth-account-summary { color:#f8fafc; }
    [data-theme="dark"] .auth-logo { border-bottom-color:#2a3a52; }
    [data-theme="dark"] .auth-logo__mark { background:#f8fafc; color:#101b2d; }
    [data-theme="dark"] .auth-field input, [data-theme="dark"] .auth-password-field { background:#152337; border-color:#475569; color:#e2e8f0; }
    [data-theme="dark"] .auth-field input:focus, [data-theme="dark"] .auth-password-field:focus-within { outline-color:rgba(251,191,36,.24); border-color:#fbbf24; }
    [data-theme="dark"] .auth-password-toggle { border-left-color:#334155; color:#f8fafc; }
    [data-theme="dark"] .auth-password-toggle:hover { background:#2b2111; color:#f8fafc; }
    [data-theme="dark"] .auth-feedback--success { border-color:#166534; }
    [data-theme="dark"] .auth-feedback--error { border-color:#991b1b; }
    [data-theme="dark"] .auth-link-row a { color:#f8fafc; }
    [data-theme="dark"] .auth-link-row a:hover { color:#fbbf24; }
    [data-theme="dark"] .auth-footer-note { color:#cbd5e1; }
    [data-theme="dark"] .auth-account-summary, [data-theme="dark"] .auth-facts div, [data-theme="dark"] .auth-card .org-card { background:#152337; border-color:#334155; }
    [data-theme="dark"] .platform-admin-entry-actions { border-color:#334155; }
    .page-shell:has(.policy-workspace) .content-shell { padding:32px 46px 42px; background:radial-gradient(circle at 74% 0%,rgba(35,96,171,.08),transparent 38%),var(--sc-surface-app); }
    .policy-workspace { --policy-card:#fff; --policy-card-soft:#f8fafc; --policy-line:#d7e0ec; --policy-muted:#64748b; --policy-blue:#2563eb; width:100%; max-width:none; margin:0; color:var(--sc-text-primary); }
    [data-theme="dark"] .policy-workspace { --policy-card:#111f33; --policy-card-soft:#13243a; --policy-line:#2a3e5a; --policy-muted:#9eb0c8; --policy-blue:#2f7cf4; }
    .policy-page-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin:0 4px 20px; }
    .policy-page-heading h1 { margin:0 0 3px; font-size:2rem; line-height:1.18; letter-spacing:-.025em; }
    .policy-page-heading p { margin:0; color:var(--policy-muted); font-size:.98rem; }
    .policy-heading-actions { display:flex; align-items:center; justify-content:flex-end; gap:16px; padding-top:8px; }
    .policy-heading-actions form { width:auto; margin:0; }
    .policy-heading-actions .button, .policy-heading-actions button { width:auto; min-height:44px; margin:0; padding:0 20px; white-space:nowrap; }
    .policy-heading-actions .ghost-link { border:0; background:transparent; color:#4c91ff; }
    .policy-heading-actions .ghost-link:hover { background:rgba(47,124,244,.1); color:#77aaff; }
    .policy-primary-action { width:auto; min-height:44px; margin:0; border:1px solid #3e85ef; border-radius:8px; padding:0 20px; background:linear-gradient(180deg,#347ff2,#2368db); color:#fff; box-shadow:0 8px 20px rgba(20,75,180,.18); font-weight:700; white-space:nowrap; }
    .policy-primary-action:hover { background:#1f65d8; }
    .policy-primary-action:disabled { opacity:.55; cursor:not-allowed; }
    .policy-selector { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 4px 18px; }
    .policy-selector__form { display:grid; grid-template-columns:minmax(13rem,1.25fr) minmax(12rem,1fr) auto auto; align-items:center; width:min(100%, 760px); min-height:44px; margin:0; border:1px solid var(--policy-line); border-radius:9px; background:var(--policy-card); overflow:hidden; }
    .policy-selector__field { display:flex; align-items:center; min-width:0; min-height:44px; margin:0; padding:0 12px; border-right:1px solid var(--policy-line); }
    .policy-selector__field select { min-width:0; height:42px; margin:0; border:0; padding:0 30px 0 6px; background:transparent; color:var(--sc-text-primary); box-shadow:none; }
    .policy-selector__field select:focus-visible { outline:3px solid var(--sc-focus-ring); outline-offset:-3px; }
    .policy-selector__icon { color:#a7bad3; font-size:1.35rem; line-height:1; }
    .policy-environment-badge { display:inline-flex; align-items:center; justify-content:center; min-height:28px; margin:0 10px; border:1px solid rgba(74,222,128,.34); border-radius:999px; padding:3px 12px; background:rgba(34,197,94,.13); color:#9ae6b4; font-size:.78rem; font-weight:650; }
    .policy-selector__submit { width:auto; min-height:34px; margin:0 8px 0 0; padding:5px 11px; font-size:.78rem; }
    .policy-manage-pages-link { color:#4c91ff; font-size:.86rem; font-weight:650; text-decoration:none; white-space:nowrap; }
    .policy-manage-pages-link:hover { text-decoration:underline; }
    .policy-authority { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:18px; min-height:70px; margin:0 4px 26px; border:1px solid var(--policy-line); border-radius:9px; padding:13px 20px; background:var(--policy-card); }
    .policy-authority--warning { border-color:#9a5d05; background:linear-gradient(90deg,rgba(115,67,4,.3),rgba(83,52,11,.22)); }
    .policy-authority--verified { border-color:rgba(34,197,94,.38); background:rgba(22,101,52,.13); }
    .policy-authority__icon { display:inline-grid; place-items:center; width:38px; height:38px; border:2px solid currentColor; border-radius:50%; color:#f59e0b; font-size:1.15rem; font-weight:800; }
    .policy-authority--verified .policy-authority__icon { color:#4ade80; }
    .policy-authority--neutral .policy-authority__icon { color:#60a5fa; }
    .policy-authority h2 { margin:0 0 3px; color:inherit; font-size:1rem; line-height:1.2; }
    .policy-authority--warning h2 { color:#f6aa29; }
    .policy-authority p { margin:0; color:var(--sc-text-primary); font-size:.9rem; line-height:1.45; }
    .policy-authority > a, .policy-scanner-details > summary { color:#67a4ff; font-size:.87rem; text-decoration:underline; cursor:pointer; white-space:nowrap; }
    .policy-scanner-details { justify-self:end; text-align:right; }
    .policy-scanner-details > summary { list-style:none; }
    .policy-scanner-details > summary::-webkit-details-marker { display:none; }
    .policy-scanner-details[open] { grid-column:2 / -1; width:100%; text-align:left; }
    .policy-scanner-details p { margin-top:8px; color:var(--policy-muted); }
    .policy-summary-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:0 0 24px; }
    .policy-summary-card { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:20px; min-height:94px; border:1px solid var(--policy-line); border-radius:9px; padding:16px 18px; background:linear-gradient(135deg,var(--policy-card),var(--policy-card-soft)); }
    .policy-summary-card__icon { display:grid; place-items:center; width:54px; height:54px; border:1px solid #3978ca; border-radius:50%; color:#75a9ff; font-size:1.45rem; font-weight:700; }
    .policy-summary-card--approved .policy-summary-card__icon { border-color:#268448; color:#4ecb76; }
    .policy-summary-card--warning .policy-summary-card__icon { border-color:#c27608; color:#f59e0b; }
    .policy-summary-card h2 { margin:0 0 3px; font-size:.94rem; font-weight:500; }
    .policy-summary-card strong { display:block; font-size:1.65rem; line-height:1; }
    .policy-summary-card small { display:block; margin-top:7px; color:var(--policy-muted); font-size:.72rem; }
    .policy-main-grid { display:grid; grid-template-columns:minmax(0,2.12fr) minmax(19rem,1fr); gap:18px; align-items:stretch; margin-bottom:14px; }
    .policy-card { min-width:0; border:1px solid var(--policy-line); border-radius:9px; padding:20px; background:linear-gradient(135deg,var(--policy-card),var(--policy-card-soft)); }
    .policy-card > h2 { margin:0 0 18px; font-size:1.1rem; }
    .policy-table-wrap { width:100%; overflow:hidden; border:1px solid var(--policy-line); border-radius:8px; }
    .policy-table { display:table; width:100%; min-width:0; margin:0; table-layout:fixed; white-space:normal; }
    .policy-table th, .policy-table td { min-width:0; padding:13px 16px; border-bottom:1px solid var(--policy-line); text-align:left; vertical-align:middle; }
    .policy-table th { color:#aebed3; font-size:.76rem; font-weight:650; }
    .policy-table td { font-size:.86rem; }
    .policy-table th:nth-child(1) { width:32%; }
    .policy-table th:nth-child(2) { width:24%; }
    .policy-table th:nth-child(3) { width:24%; }
    .policy-table th:nth-child(4) { width:20%; }
    .policy-table tbody tr:last-child td { border-bottom:0; }
    .policy-table td:first-child { display:flex; align-items:center; gap:10px; min-width:0; }
    .policy-table td:first-child span:last-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .policy-script-icon { display:inline-grid; place-items:center; flex:0 0 28px; width:28px; height:28px; border-radius:50%; background:rgba(148,163,184,.16); color:#c9d6e8; }
    .policy-status { display:inline-flex; align-items:center; max-width:100%; min-height:28px; border-radius:6px; padding:3px 10px; font-size:.78rem; font-weight:650; white-space:nowrap; }
    .policy-status--approved { border:1px solid rgba(74,222,128,.24); background:rgba(22,101,52,.48); color:#b6f4c8; }
    .policy-status--review { border:1px solid rgba(245,158,11,.35); background:rgba(120,53,15,.35); color:#fbbf24; }
    .policy-status--blocked { border:1px solid rgba(248,113,113,.32); background:rgba(127,29,29,.38); color:#fca5a5; }
    .policy-table-note { margin:10px 0 0; color:var(--policy-muted); font-size:.78rem; text-align:right; }
    .policy-review-link { width:auto; min-height:38px; margin-top:14px; border:1px solid #3d7ed6; padding:7px 14px; background:transparent; color:#78aaff; }
    .policy-review-link:hover { background:rgba(47,124,244,.12); color:#91b7ff; }
    .policy-empty-state { min-height:170px; display:grid; place-items:center; border:1px dashed var(--policy-line); border-radius:8px; padding:24px; color:var(--policy-muted); text-align:center; }
    .policy-table-card > .panel { margin:16px 0 0; background:rgba(15,23,42,.18); }
    .policy-table-card > .actions { margin-top:14px; }
    .policy-table-card > .actions form, .policy-table-card > .actions button { width:auto; }
    .policy-next-steps { display:grid; gap:0; margin:0; padding:0; list-style:none; }
    .policy-next-steps li { position:relative; display:grid; grid-template-columns:38px minmax(0,1fr); gap:12px; min-height:64px; padding:0 0 18px; color:var(--policy-muted); }
    .policy-next-steps li::after { content:""; position:absolute; top:32px; bottom:-2px; left:15px; border-left:1px dashed #49617e; }
    .policy-next-steps li:last-child::after { display:none; }
    .policy-next-steps li.is-current { margin:0 0 12px; border:1px solid var(--policy-line); border-radius:8px; padding:14px; background:rgba(32,61,96,.3); color:var(--sc-text-primary); }
    .policy-next-steps li.is-current::after { top:46px; bottom:-30px; left:29px; }
    .policy-step-marker { position:relative; z-index:1; display:grid; place-items:center; width:30px; height:30px; border:1px solid #536984; border-radius:50%; background:#17283f; color:#aebed3; font-size:.8rem; font-weight:700; }
    .policy-next-steps .is-current .policy-step-marker { border-color:#2f7cf4; background:#1e6ee6; color:#fff; }
    .policy-next-steps .is-complete .policy-step-marker { border-color:#268448; background:#175b31; color:#d1fae5; }
    .policy-next-steps strong { display:block; padding-top:5px; color:inherit; font-size:.9rem; }
    .policy-next-steps p { margin:6px 0 0; color:var(--policy-muted); font-size:.82rem; line-height:1.45; }
    .policy-next-button, .policy-next-steps .policy-primary-action { width:auto; min-height:36px; margin-top:12px; padding:6px 13px; font-size:.8rem; }
    .policy-advanced { margin:0 0 14px; padding:0; }
    .policy-advanced > summary { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:16px; min-height:72px; padding:14px 20px; cursor:pointer; list-style:none; }
    .policy-advanced > summary::-webkit-details-marker { display:none; }
    .policy-advanced > summary::after { content:"⌄"; color:#d6e2f0; font-size:1.4rem; }
    .policy-advanced[open] > summary::after { transform:rotate(180deg); }
    .policy-advanced__icon { font-size:1.7rem; }
    .policy-advanced strong, .policy-advanced small { display:block; }
    .policy-advanced small { margin-top:3px; color:var(--policy-muted); font-size:.82rem; font-weight:400; }
    .policy-advanced__body { border-top:1px solid var(--policy-line); padding:18px 20px 20px; }
    .policy-editor-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
    .policy-editor-grid label { display:grid; gap:6px; color:var(--policy-muted); font-size:.78rem; font-weight:650; }
    .policy-editor-grid input, .policy-editor-grid select { background:var(--policy-card-soft); color:var(--sc-text-primary); }
    .policy-advanced__body .actions { margin-top:14px; }
    .policy-advanced__body .actions > *, .policy-advanced__body .actions button, .policy-advanced__body .actions .button { width:auto; }
    .policy-audit-note { display:flex; align-items:center; min-height:54px; border-top:1px solid var(--policy-line); padding:12px 4px; color:var(--policy-muted); font-size:.82rem; }
    .policy-audit-note::before { content:"♢"; margin-right:9px; color:#d6e2f0; font-size:1.2rem; }
    .policy-audit-note a { margin-left:4px; color:#4c91ff; }
    .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
    .visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
    @media (max-width: 1200px) {
      .page-shell:has(.policy-workspace) .content-shell { padding:28px 28px 38px; }
      .policy-main-grid { grid-template-columns:minmax(0,1.7fr) minmax(18rem,1fr); }
      .manage-domains-toolbar { grid-template-columns:minmax(14rem,1fr) repeat(2,minmax(9rem,1fr)); }
      .manage-domains-search { grid-column:span 2; }
      .manage-domain-card__header { grid-template-columns:minmax(0,1fr) auto; }
      .manage-domain-card__facts { grid-column:1 / -1; grid-row:2; grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; }
    }
    @media (max-width: 900px) {
      .hash-diagnostic-callout { grid-template-columns:auto minmax(0,1fr); }
      .hash-diagnostic-callout__scan { grid-column:2; justify-self:start; }
      .hash-diagnostic-callout__details { grid-column:2; justify-self:start; }
      .hash-scan-submission-feedback { grid-column:2; }
      .historical-script-row { grid-template-columns:minmax(0,1fr) auto; }
      .historical-script-row__identity { grid-column:1 / -1; }
      .historical-script-row time { grid-column:1; }
      .historical-script-row__details { grid-column:2; grid-row:2; }
      .historical-script-row__details[open] { grid-column:1 / -1; grid-row:auto; }
      .page-shell { flex-direction:column; }
      .sidebar, .sidebar.collapsed { width:100%; min-width:0; }
      .sidebar-resizer { display:none; }
      .nav-shell { min-height:0; height:auto; }
      .nav-shell.collapsed .brand-title { display:block; font-size:1rem; }
      .nav-shell.collapsed .dashboard-nav__brand-copy { display:flex; }
      .nav-shell.collapsed .sidebar-brand { justify-content:space-between; padding:.7rem 1rem; }
      .nav-shell.collapsed .sidebar-toggle { margin-left:auto; }
      .nav-shell.collapsed .tenant-pill, .nav-shell.collapsed .nav-sections, .nav-shell.collapsed .nav-theme-toggle { display:none; }
      .sidebar:not(.collapsed) .tenant-pill { display:block; }
      .sidebar:not(.collapsed) .nav-sections { display:flex; }
      .sidebar:not(.collapsed) .nav-theme-toggle { display:block; }
      .dashboard-content-grid { grid-template-columns:1fr; }
      .dashboard-metric-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .dashboard-metadata-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .dashboard-metadata-item:nth-child(3) { border-left:0; border-top:1px solid var(--sc-border-subtle); }
      .dashboard-metadata-item:nth-child(4) { border-top:1px solid var(--sc-border-subtle); }
      .page-shell:has(.dashboard-v2) .content-shell { display:block; padding:30px 24px 48px; overflow-x:hidden; }
      .dashboard-nav__brand { min-height:72px; padding:18px 22px; }
      .dashboard-nav .sidebar-toggle { display:grid; }
      .dashboard-nav.collapsed .dashboard-nav__brand-copy .brand-title { display:block; }
      .dashboard-nav .nav-sections { padding:14px; }
      .dashboard-header { min-height:82px; padding:14px 24px; }
      .dashboard-header__latest { margin-left:auto; }
      .dashboard-header__actions { width:auto; gap:18px; }
      .dashboard-v2-alert { grid-template-columns:auto minmax(0,1fr); }
      .dashboard-v2-alert__actions { grid-column:1 / -1; justify-content:flex-end; }
      .dashboard-v2-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .dashboard-v2-metric:last-child { grid-column:1 / -1; }
      .dashboard-v2 { display:block; min-height:0; }
      .dashboard-v2-lower-grid { display:grid; grid-template-columns:1fr; min-height:0; }
      .dashboard-v2-panel { height:auto; }
      .sc-monitor-card-grid { grid-template-columns:1fr; gap:18px; }
      .sc-monitor-schedule { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 12px; }
      .sc-monitor-schedule__link { justify-self:start; grid-column:1 / -1; }
      .sc-classification-overview { grid-template-columns:1fr; }
      .setup-onboarding, .setup-layout { grid-template-columns:1fr; }
      .setup-secondary-panel { grid-column:auto; }
      .organization-settings-status-grid { grid-template-columns:1fr; }
      .admin-settings__layout { grid-template-columns:200px minmax(0,1fr); gap:var(--sc-space-16); }
      .manage-domains-metric-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .manage-domains-metric-strip > div:nth-child(3) { border-left:0; border-top:1px solid var(--line); }
      .manage-domains-metric-strip > div:nth-child(4) { border-top:1px solid var(--line); }
      .manage-domains-toolbar { grid-template-columns:minmax(14rem,1fr) minmax(9rem,1fr); }
      .manage-domain-card__header { grid-template-columns:minmax(0,1fr) auto; }
      .manage-domain-card__facts { grid-column:1 / -1; grid-row:2; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.55rem 0; width:100%; }
      .manage-domain-card__facts div:nth-child(4) { padding-left:0; border-left:0; }
      .manage-domain-target { grid-template-columns:auto minmax(10rem,1fr) 5.5rem 8.5rem auto; }
      .report-runner-controls { grid-template-columns:1fr; }
      .report-runner-controls button, .report-runner-controls .button { width:100%; }
      .report-runner-result-actions, .report-runner-result-actions .button { width:100%; }
      .zap-domain-card__facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .zap-domain-card__facts div:nth-child(odd) { border-left:0; }
      .hash-decision-summary, .hash-decision-cards { grid-template-columns:1fr; }
      .hash-decision-summary, .hash-decision-summary__context, .hash-decision-cards, .hash-decision-card { min-width:0; }
      .hash-review-controls { grid-template-columns:1fr; min-width:0; }
      .historical-authority-review-table-wrap { overflow-x:visible; }
      .historical-authority-review-table-wrap table, .historical-authority-review-table-wrap thead, .historical-authority-review-table-wrap tbody, .historical-authority-review-table-wrap tr, .historical-authority-review-table-wrap td { display:block; width:100%; min-width:0; white-space:normal; }
      .historical-authority-review-table-wrap table { min-width:0; }
      .historical-authority-review-table-wrap thead { display:none; }
      .historical-authority-review-table-wrap tbody { display:grid; gap:.75rem; }
      .historical-authority-review-table-wrap .historical-authority-review-row { display:grid; gap:.55rem; border:1px solid var(--line); border-radius:8px; padding:.75rem; background:var(--panel); }
      .historical-authority-review-table-wrap .historical-authority-review-row td { min-width:0; max-width:none; border:0; padding:0; overflow-wrap:anywhere; word-break:break-word; }
      .historical-authority-review-table-wrap td[data-label]::before { display:block; margin-bottom:.15rem; color:var(--sc-text-muted); content:attr(data-label); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
      .page-shell:has(.policy-workspace) .content-shell { padding:26px 22px 34px; }
      .policy-page-heading { align-items:center; }
      .policy-selector { align-items:flex-start; flex-direction:column; }
      .policy-selector__form { width:100%; }
      .policy-summary-cards { gap:12px; }
      .policy-main-grid { grid-template-columns:1fr; }
    }
    @media (max-width: 700px) {
      .hash-page-heading { margin-bottom:.7rem; }
      .hash-page-heading h1 { font-size:1.5rem; }
      .hash-page-scope { display:grid; grid-template-columns:auto minmax(0,1fr); gap:.3rem .75rem; font-size:.88rem; }
      .hash-page-scope a { grid-column:2; }
      .hash-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin-bottom:.85rem; overflow:visible; }
      .hash-tab { min-width:0; min-height:2.6rem; padding:.45rem .2rem; font-size:.76rem; text-align:center; }
      .hash-diagnostic-callout { grid-template-columns:auto minmax(0,1fr); gap:.65rem; margin-bottom:.75rem; padding:.8rem; }
      .hash-diagnostic-callout__icon { width:1.8rem; height:1.8rem; font-size:1rem; }
      .hash-diagnostic-callout__copy h2 { font-size:1rem; }
      .hash-diagnostic-callout__copy p { font-size:.86rem; }
      .hash-diagnostic-callout__scan, .hash-diagnostic-callout__details { grid-column:2; }
      .hash-diagnostic-callout__details[open] > div { position:static; width:100%; margin-top:.5rem; }
      .historical-script-review { padding:.9rem; overflow:visible; }
      .historical-script-review__header { display:grid; }
      .historical-script-review__metrics { gap:.4rem; }
      .historical-script-review__metrics > span { min-height:2rem; padding:.3rem .55rem; font-size:.82rem; }
      .hash-review-controls--historical { grid-template-columns:1fr; }
      .historical-script-row { grid-template-columns:1fr; gap:.65rem; padding:.8rem; }
      .historical-script-row__identity, .historical-script-row__decision, .historical-script-row time, .historical-script-row__details { grid-column:1; grid-row:auto; justify-self:stretch; }
      .historical-script-row__decision { display:flex; flex-wrap:wrap; align-items:center; }
      .historical-script-row__details > summary { display:flex; justify-content:space-between; }
      .historical-script-row__details .facts { grid-template-columns:1fr; }
      .auth-main { padding:1rem; align-items:start; }
      .auth-shell { width:100%; }
      .auth-card { padding:1rem; }
      .auth-card__heading h2 { font-size:1.42rem; }
      .auth-link-row { display:grid; justify-content:stretch; }
      .auth-card .org-card { display:grid; align-items:start; }
      .auth-card .org-card button, .auth-card .org-card .button { width:100%; }
      .platform-admin-entry-actions__links, .platform-admin-entry-actions__links .button { width:100%; }
      .content-shell { padding:var(--sc-space-16); }
      .page-shell:has(.policy-workspace) .content-shell { padding:22px 16px 30px; }
      .policy-page-heading { display:grid; gap:16px; margin:0 0 18px; }
      .policy-page-heading h1 { font-size:1.7rem; }
      .policy-heading-actions { display:grid; grid-template-columns:1fr; width:100%; padding:0; }
      .policy-heading-actions form, .policy-heading-actions .button, .policy-heading-actions button { width:100%; }
      .policy-heading-actions .ghost-link { order:2; }
      .policy-selector { margin-left:0; margin-right:0; }
      .policy-selector__form { grid-template-columns:1fr; border-radius:8px; }
      .policy-selector__field { border-right:0; border-bottom:1px solid var(--policy-line); }
      .policy-environment-badge { justify-self:start; margin:10px 12px; }
      .policy-selector__submit { width:calc(100% - 24px); margin:0 12px 12px; }
      .policy-authority { grid-template-columns:auto minmax(0,1fr); align-items:start; margin:0 0 18px; padding:14px; }
      .policy-authority > a, .policy-scanner-details { grid-column:2; justify-self:start; text-align:left; }
      .policy-scanner-details[open] { grid-column:1 / -1; }
      .policy-summary-cards { grid-template-columns:1fr; margin-bottom:18px; }
      .policy-summary-card { min-height:82px; }
      .policy-card { padding:16px; }
      .policy-table-wrap { overflow:visible; border:0; }
      .policy-table, .policy-table thead, .policy-table tbody, .policy-table tr, .policy-table td { display:block; width:100%; min-width:0; white-space:normal; }
      .policy-table thead { display:none; }
      .policy-table tbody { display:grid; gap:10px; }
      .policy-table tr { border:1px solid var(--policy-line); border-radius:8px; padding:12px; background:rgba(15,23,42,.08); }
      .policy-table td, .policy-table td:first-child { display:grid; grid-template-columns:minmax(7.5rem,.6fr) minmax(0,1fr); gap:8px; align-items:start; border:0; padding:5px 0; overflow-wrap:anywhere; }
      .policy-table td::before { content:attr(data-label); color:var(--policy-muted); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
      .policy-table td:first-child { grid-template-columns:minmax(7.5rem,.6fr) auto minmax(0,1fr); }
      .policy-table td:first-child::before { grid-column:1; }
      .policy-table td:first-child .policy-script-icon { grid-column:2; }
      .policy-table td:first-child span:last-child { grid-column:3; white-space:normal; overflow-wrap:anywhere; }
      .policy-status { justify-self:start; }
      .policy-table-note { text-align:left; }
      .policy-review-link { width:100%; }
      .policy-editor-grid { grid-template-columns:1fr; }
      .policy-advanced__body .actions, .policy-advanced__body .actions > *, .policy-advanced__body .actions button, .policy-advanced__body .actions .button { width:100%; }
      .policy-audit-note { align-items:flex-start; }
      .zap-domain-card__header { display:grid; padding:16px; }
      .zap-domain-card__header > div:first-child, .zap-domain-card__actions, .zap-domain-card__actions form, .zap-domain-card__actions .zap-scans-queue { width:100%; max-width:100%; min-width:0; }
      .zap-domain-card__facts { grid-template-columns:1fr; }
      .zap-domain-card__facts div { border-left:0; border-top:1px solid var(--sc-border-subtle); }
      .zap-domain-card__facts div:first-child { border-top:0; }
      .panel { padding:1rem; border-radius:.75rem; overflow-x:auto; overflow-y:visible; }
      table { display:block; max-width:100%; overflow-x:auto; white-space:nowrap; }
      th, td { min-width:6rem; }
      .printable-evidence-table { display:table; width:100%; max-width:100%; min-width:0; table-layout:fixed; overflow:visible; white-space:normal; }
      .printable-evidence-table th, .printable-evidence-table td { min-width:0; white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
      .sc-filter-bar { grid-template-columns:1fr; }
      .sc-entity-card { padding:20px 18px; gap:18px; }
      .sc-domain-inline { min-width:0; margin:0; padding:16px 0 0; }
      .sc-domain-inline .grid > *, .sc-domain-inline .facts > div, .sc-domain-inline code, .sc-domain-inline dd, .sc-domain-inline .hash-wrap { min-width:0; max-width:100%; overflow-wrap:anywhere; word-break:break-word; }
      .sc-script-preview__row { grid-template-columns:minmax(0,1fr); align-items:start; }
      .sc-script-preview__source { overflow:visible; text-overflow:clip; white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
      .sc-script-preview__host, .sc-script-preview__more { overflow-wrap:anywhere; word-break:break-word; }
      .sc-entity-card__header { display:grid; }
      .sc-entity-card__primary-actions, .sc-entity-card__primary-actions .inline-form, .sc-entity-card__primary-actions .sc-action-btn, .sc-entity-card__primary-actions .sc-btn-review { width:100%; }
      .sc-capture-warning { grid-template-columns:auto minmax(0,1fr); padding:16px; }
      .sc-capture-warning__action { grid-column:1 / -1; justify-self:start; padding:8px 0 0; }
      .sc-monitor-card-panel { padding:20px 18px; }
      .sc-monitor-attempt__facts > div { grid-template-columns:1fr; gap:6px; }
      .sc-monitor-diagnostic-summary { grid-template-columns:1fr; gap:8px; }
      .sc-diagnostic-dialog { width:calc(100vw - 16px); max-width:none; height:calc(100dvh - 16px); max-height:calc(100dvh - 16px); border-radius:9px; }
      .sc-diagnostic-dialog__surface { height:100%; }
      .sc-diagnostic-dialog__header { padding:20px 18px 13px; }
      .sc-diagnostic-dialog__header h2 { font-size:1.35rem; }
      .sc-diagnostic-dialog__header p { gap:7px; }
      .sc-diagnostic-dialog__body { padding:0 18px 14px; }
      .sc-diagnostic-dialog__warning { gap:13px; padding:14px; }
      .sc-diagnostic-dialog__stages { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 4px; padding:16px 8px; }
      .sc-diagnostic-dialog__stage:nth-child(2)::after { display:none; }
      .sc-diagnostic-dialog__stage:not(:last-child)::after { width:calc(100% - 32px); left:calc(50% + 16px); }
      .sc-diagnostic-dialog__overview dl { grid-template-columns:minmax(0,1fr); }
      .sc-diagnostic-dialog__overview dl > div { grid-template-columns:minmax(108px,.75fr) minmax(0,1.4fr); }
      .sc-diagnostic-dialog__disclosures summary { grid-template-columns:minmax(0,1fr) auto; min-height:58px; padding:8px 13px; }
      .sc-diagnostic-dialog__disclosure-copy { grid-column:1; padding-left:33px; }
      .sc-diagnostic-dialog__chevron { grid-column:2; grid-row:1 / span 2; }
      .sc-diagnostic-dialog__disclosure-body { padding:8px 13px 16px; }
      .sc-diagnostic-dialog__disclosure-body .facts, .sc-diagnostic-dialog__disclosure-body .facts > div, .sc-diagnostic-dialog__disclosure-body .browser-capture-attempts { grid-template-columns:minmax(0,1fr); }
      .sc-diagnostic-dialog__footer { flex:0 0 auto; padding:11px 18px 14px; background:#0b192d; }
      .sc-diagnostic-dialog__footer button { flex:1 1 0; min-width:0; }
      .sc-monitor-inventory__stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
      .sc-monitor-schedule { grid-template-columns:1fr; padding:20px 18px; }
      .sc-monitor-schedule__link { grid-column:auto; }
      .sc-domain-overview { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .sc-domain-overview > div:nth-child(3) { padding-left:0; border-left:0; border-top:1px solid var(--sc-border-subtle); }
      .sc-domain-overview > div:nth-child(4) { border-top:1px solid var(--sc-border-subtle); }
      .sc-classification-chart-group { align-items:flex-start; }
      .sc-classification-donut { width:96px; height:96px; flex-basis:96px; }
      .sc-entity-card__actions { grid-template-columns:1fr; align-items:stretch; }
      .sc-entity-card__action-group, .sc-entity-card__action-group .inline-form, .sc-action-btn, .sc-action-link--schedule { width:100%; }
      .sc-action-btn, .sc-action-link--schedule { white-space:normal; text-align:center; }
      .grid { grid-template-columns:1fr; }
      .setup-onboarding { padding:1rem; }
      .setup-onboarding__header h1 { font-size:1.42rem; }
      .setup-panel-heading { display:block; }
      .setup-step { grid-template-columns:1fr; align-items:start; }
      .setup-step .status-badge { justify-self:start; }
      .setup-step__link { white-space:normal; }
      .setup-form button, .setup-form .button, .setup-primary-cta { width:100%; justify-self:stretch; min-width:0; }
      .organization-settings-hub__header { display:grid; padding:1rem; }
      .organization-settings-hub__header h1 { font-size:1.42rem; }
      .organization-settings-hub__run-action, .organization-settings-card__links a { width:100%; justify-content:center; }
      .organization-settings-card-grid { grid-template-columns:1fr; }
      .admin-settings { gap:var(--sc-space-12); }
      .admin-settings__header h1 { font-size:1.42rem; }
      .admin-settings__picker { display:grid; }
      .admin-settings__rail { display:none; }
      .admin-settings__layout { display:block; }
      .admin-settings__panel { padding:1rem; overflow-wrap:anywhere; }
      .admin-settings__row { align-items:flex-start; flex-direction:column; gap:.65rem; }
      .admin-settings__row a, .admin-settings__row form, .admin-settings__row form .admin-settings__quiet-button { width:100%; }
      .admin-settings__row a, .admin-settings__row form .admin-settings__quiet-button { justify-content:center; }
      .page-status-header { padding:var(--sc-space-16); gap:var(--sc-space-16); }
      .page-status-header__context, .page-status-header__status, .page-status-header__actions { width:100%; min-width:0; }
      .page-shell[data-active-route="scheduler"] .page-status-header { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:.65rem .75rem; }
      .page-shell[data-active-route="scheduler"] .page-status-header__context { grid-column:1; grid-row:1; width:auto; min-width:0; }
      .page-shell[data-active-route="scheduler"] .page-status-header__org-copy { min-width:0; }
      .page-shell[data-active-route="scheduler"] .page-status-header__org-name { max-width:145px; font-size:1.05rem; }
      .page-shell[data-active-route="scheduler"] .page-status-header__actions { grid-column:2; grid-row:1; width:auto; min-width:0; }
      .page-shell[data-active-route="scheduler"] .page-status-header__status { grid-column:1 / -1; grid-row:2; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; min-width:0; margin-left:0; gap:.55rem 1rem; justify-content:stretch; }
      .page-shell[data-active-route="scheduler"] .page-status-header__status-chip { grid-column:1 / -1; min-width:0; }
      .page-shell[data-active-route="scheduler"] .page-status-header__coverage-action { max-width:100%; white-space:normal; }
      .page-shell[data-active-route="scheduler"] .page-status-header__metric,
      .page-shell[data-active-route="scheduler"] .page-status-header__metric--primary { min-width:0; overflow-wrap:anywhere; }
      .scheduler-table-wrap { overflow-x:visible; }
      .scheduler-table, .scheduler-table tbody, .scheduler-table tr, .scheduler-table td { display:block; width:100%; max-width:100%; min-width:0; }
      .scheduler-table { table-layout:auto; }
      .scheduler-table colgroup, .scheduler-table thead { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
      .scheduler-table tbody { display:grid; gap:.75rem; }
      .scheduler-table tbody tr { display:grid; gap:.2rem; border:1px solid var(--line); border-radius:10px; padding:.65rem .75rem; background:var(--panel); box-shadow:0 1px 2px rgba(15,23,42,.04); }
      .scheduler-table tbody tr[hidden] { display:none; }
      .scheduler-table td { display:grid; grid-template-columns:minmax(6.5rem,38%) minmax(0,1fr); gap:.6rem; border:0; padding:.38rem 0; overflow-wrap:anywhere; }
      .scheduler-table td::before { content:attr(data-label); color:var(--sc-text-muted); font-size:.72rem; font-weight:700; letter-spacing:.035em; text-transform:uppercase; }
      .scheduler-table__url { display:block !important; border-bottom:1px solid var(--line) !important; padding-bottom:.75rem !important; }
      .scheduler-table__url::before { display:block; margin-bottom:.45rem; }
      .scheduler-table__identity { grid-template-columns:auto minmax(0,1fr); }
      .scheduler-table__context-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .scheduler-table__actions { display:block !important; border-top:1px solid var(--line) !important; padding-top:.75rem !important; }
      .scheduler-table__actions::before { display:block; margin-bottom:.45rem; }
      .scheduler-table__action-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .dashboard-health-banner, .dashboard-panel__header, .dashboard-domain-card__header, .dashboard-coverage-item__header { flex-direction:column; align-items:flex-start; }
      .dashboard-metric-row, .dashboard-metadata-strip, .dashboard-domain-card__meta, .dashboard-coverage-item__meta { grid-template-columns:1fr; }
      .page-shell:has(.dashboard-v2) .content-shell { padding:25px 16px 40px; }
      .dashboard-header { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto; min-height:104px; padding:12px 16px; gap:8px 12px; }
      .dashboard-header .dashboard-header__context { grid-column:1; grid-row:1; width:100%; min-width:0; }
      .dashboard-header .page-status-header__org-monogram { width:38px; height:38px; font-size:.84rem; }
      .dashboard-header .page-status-header__eyebrow { display:none; }
      .dashboard-header .page-status-header__org-copy { min-width:0; }
      .dashboard-header .page-status-header__org-name { max-width:145px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:1rem; }
      .dashboard-header__latest { grid-column:1 / -1; grid-row:2; display:flex; flex-wrap:wrap; width:100%; max-width:100%; min-width:0; margin-left:0; }
      .dashboard-header__latest .status-badge { max-width:100%; white-space:normal; overflow-wrap:anywhere; line-height:1.2; text-align:center; }
      .dashboard-header__scan-recency { display:none; }
      .dashboard-header .dashboard-header__actions { grid-column:2; grid-row:1; align-self:center; width:auto; gap:10px; }
      .dashboard-header__run { min-width:0; min-height:42px; padding:0 14px; }
      .dashboard-header .page-status-header__user-avatar { width:38px; height:38px; }
      .dashboard-header .page-status-header__user-chevron { display:none; }
      .dashboard-v2__heading h1 { font-size:1.82rem; }
      .dashboard-v2__heading > p:last-child { font-size:.98rem; }
      .dashboard-v2-alert { display:flex; flex-direction:column; align-items:flex-start; gap:18px; padding:22px; }
      .dashboard-v2-alert__actions { width:100%; flex-direction:column; align-items:stretch; gap:12px; }
      .dashboard-v2-button { width:100%; min-width:0; }
      .dashboard-v2-alert__actions .dashboard-v2-link { align-self:center; }
      .dashboard-v2-metrics { grid-template-columns:1fr; }
      .dashboard-v2-metric:last-child { grid-column:auto; }
      .dashboard-v2-metric { min-height:138px; padding:22px; }
      .dashboard-v2-panel { min-height:0; padding:22px 16px; }
      .dashboard-v2-action { grid-template-columns:auto minmax(0,1fr); gap:14px; padding:12px; }
      .dashboard-v2-action__link { grid-column:2; justify-self:start; }
      .page-shell:has(.manage-domains-shell) .page-status-header { min-height:0; flex-wrap:nowrap; align-items:center; padding:.65rem 1rem; }
      .page-shell:has(.manage-domains-shell) .page-status-header__context { width:auto; flex:1 1 auto; }
      .page-shell:has(.manage-domains-shell) .page-status-header__status { display:none; }
      .page-shell:has(.manage-domains-shell) .page-status-header__actions { width:auto; margin-left:auto; }
      .page-shell:has(.manage-domains-shell) .page-status-header__org-name { font-size:1.08rem; }
      .page-shell:has(.manage-domains-shell) .page-status-header__org-monogram { width:32px; height:32px; }
      .manage-domains-shell { gap:.6rem; }
      .manage-domains-shell [data-testid="domain-attention-panel"] { display:none; }
      .manage-domains-hero { flex-direction:column; align-items:stretch; width:100%; min-width:0; padding:.75rem .85rem; overflow-x:visible; }
      .manage-domains-hero > div:first-child { width:100%; min-width:0; }
      .manage-domains-hero__actions { width:100%; min-width:0; flex-wrap:wrap; align-items:stretch; justify-content:flex-start; }
      .manage-domains-hero__actions form { flex:0 1 auto; min-width:0; }
      .manage-domains-hero__actions form button, .manage-domains-hero__actions > button { width:auto; max-width:100%; margin-top:0; }
      .manage-domains-hero p { display:none; }
      .manage-domains-add-open { width:auto; min-width:7.5rem; padding:.65rem .75rem; }
      .manage-domains-metric-strip { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); overflow:hidden; }
      .manage-domains-metric-strip > div { min-width:0; min-height:3.35rem; padding:.5rem .65rem; }
      .manage-domains-metric-strip > div:first-child { border-left:0 !important; }
      .manage-domains-toolbar { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; padding:.7rem; }
      .manage-domains-search { grid-column:1 / -1; }
      .manage-domains-toolbar input, .manage-domains-toolbar select { min-height:2.15rem; padding:.4rem .5rem; }
      .manage-domains-search input { padding-left:2.15rem; }
      .manage-domain-card__header { align-items:start; padding:.58rem .65rem; }
      .manage-domain-card__identity { align-items:flex-start; flex-wrap:wrap; }
      .manage-domain-card__identity > strong { padding-top:.3rem; }
      .manage-domain-card__badges { width:100%; padding-left:2.35rem; }
      .manage-domain-card__facts { grid-template-columns:repeat(2,minmax(0,1fr)); padding:.55rem .65rem; }
      .manage-domain-card__facts div { padding:0 .55rem; }
      .manage-domain-card__facts div:nth-child(odd) { padding-left:0; border-left:0; }
      .manage-domain-card__facts dd { white-space:normal; }
      .manage-domains-targets { margin:0 .5rem .5rem; border-left-width:3px; }
      .manage-domain-target { grid-template-columns:auto minmax(0,1fr) auto; gap:.35rem .55rem; }
      .manage-domain-target__url { grid-column:2 / -1; }
      .manage-domain-target__mode { grid-column:2; }
      .manage-domain-target > .actions { grid-column:2 / -1; justify-self:start; }
      .manage-domain-target__mode::before { content:attr(data-label) ": "; color:var(--sc-text-muted); font-weight:600; }
      .manage-domain-discovery-settings__row { grid-template-columns:1fr; }
      .manage-domain-scan-details, .manage-domain-discovery-settings { margin-right:.5rem; margin-left:.5rem; }
      .manage-domains-shell [data-testid="domain-attention-panel"] { align-items:flex-start; gap:.45rem; padding:.7rem .8rem; }
      .manage-domains-shell [data-testid="domain-attention-panel"] h2 { white-space:normal; }
      .manage-domains-shell [data-testid="domain-attention-panel"] p { display:none; }
      .manage-domains-shell [data-testid="domain-attention-panel"] .actions { justify-content:flex-start; }
      .manage-domains-inventory, .manage-domains-archived, .manage-domains-pages { overflow-x:visible; }
      .manage-domains-inventory > table, .manage-domains-archived > table, .manage-domains-pages > table, .manage-domains-target-table,
      .manage-domains-inventory thead, .manage-domains-archived thead, .manage-domains-pages thead, .manage-domains-target-table thead,
      .manage-domains-inventory tbody, .manage-domains-archived tbody, .manage-domains-pages tbody, .manage-domains-target-table tbody,
      .manage-domains-inventory tr, .manage-domains-archived tr, .manage-domains-pages tr, .manage-domains-target-table tr,
      .manage-domains-inventory td, .manage-domains-archived td, .manage-domains-pages td, .manage-domains-target-table td { display:block; width:100%; white-space:normal; }
      .manage-domains-inventory > table, .manage-domains-archived > table, .manage-domains-pages > table, .manage-domains-target-table { overflow:visible; }
      .manage-domains-inventory thead, .manage-domains-archived thead, .manage-domains-pages thead, .manage-domains-target-table thead { display:none; }
      .manage-domains-inventory tbody, .manage-domains-archived tbody, .manage-domains-pages tbody { display:grid; gap:.7rem; }
      .manage-domains-inventory tr[data-manage-domain-row], .manage-domains-archived tr[data-manage-domain-row], .manage-domains-pages tr[data-manage-page-row] { display:grid; gap:.45rem; border:1px solid var(--line); border-radius:8px; padding:.75rem; background:var(--panel); }
      .manage-domains-target-table tbody { display:grid; gap:.55rem; }
      .manage-domains-target-table tr[data-manage-page-row] { display:grid; gap:.45rem; border:1px solid var(--line); border-radius:8px; padding:.65rem; background:var(--panel); }
      .manage-domains-inventory td, .manage-domains-archived td, .manage-domains-pages td, .manage-domains-target-table td { min-width:0; border:0; padding:0; overflow-wrap:anywhere; word-break:break-word; }
      .manage-domains-targets-cell { padding:.15rem 0 .7rem 0 !important; }
      .manage-domains-targets { margin-left:0; padding:.55rem 0 0 0; border-left:0; }
      .manage-domains-target-learning { min-width:0; }
      .manage-domains-auto-learning-cell { align-items:flex-start; }
      .manage-domains-auto-learning-cell .sc-status-badge { max-width:100%; width:auto; }
      .manage-domains-auto-learning[open] { min-width:0; width:100%; }
      .manage-domains-edit-page-dialog { width:calc(100vw - 1rem); max-height:calc(100dvh - 1rem); border-radius:10px; }
      .manage-domains-edit-page-dialog .modal-content-box { max-height:calc(100dvh - 1rem); }
      .manage-domains-edit-page__header { padding:1.15rem 1rem 1rem; }
      .manage-domains-edit-page__header h2 { font-size:1.4rem; }
      .manage-domains-edit-page__header p { padding-right:.25rem; font-size:.9rem; }
      .manage-domains-edit-page__close { width:2.4rem !important; height:2.4rem; }
      .manage-domains-edit-page__body { padding:1rem; }
      .manage-domains-edit-page__fields { grid-template-columns:1fr; gap:.85rem; }
      .manage-domains-edit-page__url { grid-column:auto; }
      .manage-domains-edit-page__fields input, .manage-domains-edit-page__fields select { min-height:3rem; font-size:.95rem; }
      .manage-domains-edit-page__learning { grid-template-columns:auto minmax(0,1fr); padding:1rem; }
      .manage-domains-edit-page__learning-icon { align-self:start; width:2.5rem; height:2.5rem; }
      .manage-domains-edit-page__learning-icon svg { width:2.35rem; height:2.35rem; }
      .manage-domains-edit-page__learning-config, .manage-domains-edit-page__learning-config[open] { grid-column:1 / -1; grid-row:auto; justify-self:stretch; width:100%; }
      .manage-domains-edit-page__learning-config > summary, .manage-domains-edit-page__learning-config[open] > summary { width:100%; margin:0; }
      .manage-domains-edit-page__footer { padding:1rem; }
      .manage-domains-edit-page-dialog .manage-domains-edit-page__footer button { flex:1 1 0; min-width:0; }
      .manage-domains-page-actions, .manage-domains-page-actions__secondary { width:100%; }
      .manage-domains-page-actions .button, .manage-domains-page-actions button { width:auto; white-space:normal; }
      .manage-domains-inventory td[data-label]:not([data-label=""])::before, .manage-domains-archived td[data-label]:not([data-label=""])::before, .manage-domains-pages td[data-label]:not([data-label=""])::before, .manage-domains-target-table td[data-label]:not([data-label=""])::before { display:block; margin-bottom:.1rem; color:var(--sc-text-muted); content:attr(data-label); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
      .manage-domains-select-cell:empty { display:none; }
      .manage-domains-inventory .actions, .manage-domains-archived .actions, .manage-domains-pages .actions, .manage-domains-target-table .actions { min-width:0; max-width:none; width:100%; }
      .manage-domains-inventory .actions button, .manage-domains-inventory .actions .button, .manage-domains-archived .actions button, .manage-domains-archived .actions .button, .manage-domains-pages .actions button, .manage-domains-pages .actions .button, .manage-domains-target-table .actions button, .manage-domains-target-table .actions .button { white-space:normal; }
      .manage-domains-action-cluster { width:100%; min-width:0; }
      .hash-filter-row { grid-template-columns:1fr; }
      .hash-script-review-page { padding:1rem; border-radius:12px; }
      .hash-queue-page-heading h1 { font-size:1.55rem; }
      .hash-queue-page-context { gap:.35rem .55rem; font-size:.86rem; }
      .hash-queue-priority { grid-template-columns:3.5rem minmax(0,1fr); gap:.8rem; padding:.9rem; }
      .hash-queue-priority__icon { width:3rem; height:3rem; }
      .hash-queue-priority__copy h2 { font-size:1.18rem; }
      .hash-queue-priority__progress { grid-column:1 / -1; grid-template-columns:auto minmax(5rem,1fr); }
      .hash-review-filter-chips { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; }
      .hash-review-filter-chip { width:100%; justify-content:space-between; padding:.5rem .7rem; font-size:.84rem; }
      .hash-review-search-sort { grid-template-columns:1fr; }
      .hash-review-search, .hash-review-sort { min-height:2.8rem; }
      .hash-review-queue-card, .hash-review-queue-card--inline-child { grid-template-columns:2rem 3.7rem minmax(0,1fr); gap:.65rem; padding:.85rem; }
      .hash-review-script-icon { width:3.25rem; height:3.5rem; }
      .hash-review-queue-card__summary { align-self:center; }
      .hash-review-queue-card__metadata { grid-column:1 / -1; padding:.75rem 0 0; border-top:1px solid var(--line); border-left:0; }
      .hash-review-queue-card__action { grid-column:1 / -1; justify-content:stretch; }
      .hash-review-primary-action { width:100%; min-width:0; }
      .hash-review-card-chevron { display:none; }
      .hash-review-inline-items { padding-left:.75rem; }
      .hash-review-pagination { flex-wrap:wrap; }
      .hash-review-pagination__summary { width:100%; margin:0; text-align:center; }
      .hash-review-modal-backdrop { padding:.5rem; }
      .hash-review-modal { max-height:calc(100vh - 1rem); padding:1rem; }
      .hash-review-layout { grid-template-columns:1fr; }
      .hash-review-drawer { position:static; }
      .hash-review-table-wrap { overflow-x:visible; }
      .hash-review-table-wrap table, .hash-review-table-wrap thead, .hash-review-table-wrap tbody, .hash-review-table-wrap tr, .hash-review-table-wrap td { display:block; width:100%; min-width:0; white-space:normal; }
      .hash-review-table-wrap thead { display:none; }
      .hash-review-table-wrap tbody { display:grid; gap:.75rem; }
      .hash-review-table-wrap tr[data-hash-review-row] { display:grid; grid-template-columns:auto auto minmax(0,1fr); gap:.55rem .75rem; border:1px solid var(--line); border-radius:8px; padding:.75rem; background:var(--panel); }
      .hash-review-table-wrap tr[data-hash-review-row] td { min-width:0; border:0; padding:0; }
      .hash-review-table-wrap tr[data-hash-review-row] td.hash-review-control-cell { width:2rem; min-width:2rem; display:flex; align-items:center; justify-content:center; }
      .hash-review-group-row td { display:block; border:1px solid var(--line); border-radius:8px; }
      .hash-review-group-summary { grid-template-columns:1fr; gap:.25rem; }
      .hash-review-group-summary .hash-eyebrow { grid-row:auto; white-space:normal; }
      .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(3), .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(4), .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(5), .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(6), .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(7), .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(8), .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(9) { grid-column:1 / -1; max-width:none; }
      .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(n+3)::before { display:block; margin-bottom:.15rem; color:var(--sc-text-muted); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
      .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(3)::before { content:"State"; }
      .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(4)::before { content:"Change"; }
      .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(5)::before { content:"Source"; }
      .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(6)::before { content:"Loaded on"; }
      .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(7)::before { content:"First / last seen"; }
      .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(8)::before { content:"Recommendation"; }
      .hash-review-table-wrap tr[data-hash-review-row] td:nth-child(9)::before { content:"Decision"; }
      .hash-row-actions, .hash-row-actions form, .hash-row-actions > button { width:100%; }
      .hash-row-actions form button { width:100%; }
      .hash-review-detail-row td { border:0; padding:0; }
      .header-detail-table-wrap { overflow-x:visible; }
      .header-detail-table, .header-detail-table thead, .header-detail-table tbody, .header-detail-table tr, .header-detail-table td { display:block; width:100%; white-space:normal; }
      .header-detail-table { min-width:0; }
      .header-detail-table colgroup, .header-detail-table thead { display:none; }
      .header-detail-table tbody { display:grid; gap:.75rem; }
      .header-detail-table tr { display:grid; gap:.45rem; border:1px solid var(--line); border-radius:8px; padding:.75rem; background:var(--panel); }
      .header-detail-table td { min-width:0; border:0; padding:0; }
      .header-detail-table td::before { display:block; margin-bottom:.1rem; color:var(--sc-text-muted); content:attr(data-label); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
      .header-detail-action .inline-form, .header-detail-action button { width:100%; }
      .detail-evidence-table, .detail-evidence-table thead, .detail-evidence-table tbody, .detail-evidence-table tr, .detail-evidence-table td { display:block; width:100%; white-space:normal; }
      .detail-evidence-table { min-width:0; overflow-x:visible; }
      .detail-evidence-table thead { display:none; }
      .detail-evidence-table tbody { display:grid; gap:.75rem; }
      .detail-evidence-table tr { display:grid; gap:.45rem; border:1px solid var(--line); border-radius:8px; padding:.75rem; background:var(--panel); }
      .detail-evidence-table td { min-width:0; border:0; padding:0; }
      .detail-evidence-table td::before { display:block; margin-bottom:.1rem; color:var(--sc-text-muted); content:attr(data-label); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
      .hash-dependency-controls, .hash-dependency-layout { grid-template-columns:1fr; }
      .operations-hero { grid-template-columns:1fr; align-items:start; }
      .operations-hero__actions { justify-content:flex-start; }
      .operations-hero__actions .button { width:100%; }
      .operations-metric-strip { display:flex; overflow-x:auto; padding-bottom:.15rem; }
      .operations-metric { flex:0 0 9rem; }
      .page-shell[data-active-route="operations"] .operations-metric-strip { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); overflow-x:visible; }
      .page-shell[data-active-route="operations"] .operations-metric { min-width:0; }
      .page-shell[data-active-route="operations"] .operations-metric:last-child { grid-column:1 / -1; }
      .decision-center-tabs { flex-wrap:nowrap; overflow-x:auto; }
      .decision-center-tab { flex:0 0 auto; }
      .decision-evidence-bridge { align-items:flex-start; }
      .decision-evidence-bridge .actions, .decision-evidence-bridge .actions .button { width:100%; }
      .operations-pagination { align-items:stretch; }
      .operations-pagination__summary, .operations-pagination__controls { width:100%; }
      .operations-pagination__controls { justify-content:flex-start; }
      .operations-pagination__nav, .operations-pagination__size { flex-wrap:wrap; }
      .operations-finding-triage__toolbar { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .operations-finding-triage__search { grid-column:1 / -1; }
      .operations-finding-triage__toolbar button, .operations-finding-triage__reset { width:100%; min-height:2.25rem; }
      .operations-finding-triage__active { align-items:flex-start; }
      .operations-finding-triage__active > span, .operations-finding-triage__chips { width:100%; }
      .operations-review-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:.45rem .5rem; }
      .operations-review-row__badges { gap:.25rem; }
      .operations-review-row__badges, .operations-review-row__script, .operations-review-row__actions { grid-column:1 / -1; }
      .operations-review-row__script, .operations-review-row__page, .operations-review-row__status { display:grid; gap:.12rem; }
      .operations-review-row__page .trace { display:none; }
      .operations-finding-row { grid-template-columns:1fr; align-items:start; }
      .operations-review-row__actions, .operations-finding-row__actions { justify-content:stretch; justify-self:stretch; }
      .operations-review-row__actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.35rem; }
      .operations-review-row__actions .button, .operations-review-row__actions button, .operations-review-row__actions form, .operations-finding-row__actions .button { width:100%; min-height:2.25rem; padding:.42rem .45rem; font-size:.78rem; }
      .decision-row-menu, .decision-row-details { width:100%; min-width:0; }
      .decision-row-menu__body { position:static; width:100%; box-shadow:none; }
      .decision-row-details__body { position:static; width:100%; grid-template-columns:minmax(0,1fr); box-shadow:none; margin-top:.35rem; }
      .operations-review-card { grid-template-columns:1fr; }
      .operations-review-card__facts { grid-template-columns:1fr; }
      .operations-review-card__side { border-left:0; border-top:1px solid var(--line); padding-left:0; padding-top:.75rem; }
      .operations-review-card__side .actions, .operations-review-card__side .actions .button { width:100%; }
      .dashboard-metadata-item + .dashboard-metadata-item { border-left:0; border-top:1px solid var(--sc-border-subtle); }
      .dashboard-number { text-align:left; }
    }
    @container script-review (max-width: 64rem) {
      .hash-decision-summary, .hash-decision-cards { grid-template-columns:1fr; }
      .hash-decision-summary, .hash-decision-summary__context, .hash-decision-cards, .hash-decision-card { min-width:0; }
      .hash-review-controls { grid-template-columns:1fr; min-width:0; }
      .historical-authority-review-table-wrap { overflow-x:visible; }
      .historical-authority-review-table-wrap table, .historical-authority-review-table-wrap thead, .historical-authority-review-table-wrap tbody, .historical-authority-review-table-wrap tr, .historical-authority-review-table-wrap td { display:block; width:100%; min-width:0; white-space:normal; }
      .historical-authority-review-table-wrap table { min-width:0; }
      .historical-authority-review-table-wrap thead { display:none; }
      .historical-authority-review-table-wrap tbody { display:grid; gap:.75rem; }
      .historical-authority-review-table-wrap .historical-authority-review-row { display:grid; gap:.55rem; border:1px solid var(--line); border-radius:8px; padding:.75rem; background:var(--panel); }
      .historical-authority-review-table-wrap .historical-authority-review-row td { min-width:0; max-width:none; border:0; padding:0; overflow-wrap:anywhere; word-break:break-word; }
      .historical-authority-review-table-wrap td[data-label]::before { display:block; margin-bottom:.15rem; color:var(--sc-text-muted); content:attr(data-label); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
    }
    @media print {
      .page-shell { display:block; }
      .sidebar, .page-status-header, .actions, .nav-shell { display:none !important; }
      .main-shell, .content-shell { display:block; padding:0; width:100%; }
      .panel { overflow:visible; break-inside:avoid; box-shadow:none; }
      table, .panel > table, .printable-evidence-table { display:table; width:100%; max-width:100%; min-width:0; table-layout:fixed; overflow:visible; white-space:normal; font-size:.72rem; }
      thead { display:table-header-group; }
      tbody { display:table-row-group; }
      tr { display:table-row; break-inside:avoid; }
      th, td { display:table-cell; min-width:0; padding:.35rem .25rem; white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
    }

    /* Structured script authorization registry */
    .registry-hero, .registry-hero__actions, .registry-page > header, .registry-track > header, .registry-exception > header, .registry-ledger > header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; }
    .registry-hero__actions { flex-wrap:wrap; justify-content:flex-end; }
    .registry-boundary { border-left:.3rem solid var(--accent); }
    .registry-warning { padding:.75rem; border:1px solid #d89b28; border-radius:.55rem; background:color-mix(in srgb,#d89b28 12%,var(--panel)); }
    .registry-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.75rem; margin:1rem 0; }
    .registry-metrics article { display:grid; gap:.15rem; padding:1rem; border:1px solid var(--line); border-radius:.65rem; background:var(--panel); }
    .registry-metrics strong { font-size:1.65rem; }
    .registry-metrics span, .registry-page__facts dt, .registry-row__tracks dt, .registry-definition-list dt { color:var(--sc-text-muted); font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
    .registry-filters form { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.75rem; align-items:end; }
    .registry-filters label, .registry-form label, .registry-action-form label { display:grid; gap:.3rem; min-width:0; font-weight:650; }
    .registry-filters__actions { display:flex; align-items:center; gap:.5rem; }
    .registry-page { display:grid; gap:.8rem; }
    .registry-page__facts, .registry-definition-list, .registry-row__tracks { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; margin:0; }
    .registry-page__facts div, .registry-definition-list div, .registry-row__tracks div { min-width:0; padding:.65rem; border:1px solid var(--line); border-radius:.45rem; }
    .registry-page__facts dd, .registry-definition-list dd, .registry-row__tracks dd { margin:.2rem 0 0; overflow-wrap:anywhere; }
    .registry-rows { display:grid; gap:.7rem; }
    .registry-row { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,2fr) auto; gap:1rem; align-items:start; padding:.9rem; border:1px solid var(--line); border-radius:.65rem; }
    .registry-row__identity { min-width:0; }
    .registry-row__identity h3 { margin:.45rem 0; font-size:1rem; }
    .registry-row__actions { display:grid; gap:.4rem; }
    .registry-snapshot-hash { min-width:0; }
    .registry-snapshot-hash strong { font-family:monospace; font-size:.85rem; }
    .registry-code-wrap { display:block; max-width:100%; white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
    .registry-state { display:inline-flex; width:max-content; max-width:100%; padding:.22rem .5rem; border:1px solid var(--line); border-radius:999px; font-size:.75rem; font-weight:750; text-transform:capitalize; overflow-wrap:anywhere; }
    .registry-state--authorizedcurrent, .registry-state--active { border-color:#2d8a57; color:#2d8a57; }
    .registry-state--diagnosticexcluded, .registry-state--neverscanned, .registry-state--expired, .registry-state--revoked, .registry-state--rejected { border-color:#a84444; color:#a84444; }
    .registry-state--scheduled, .registry-state--reviewdue, .registry-state--pendingreview, .registry-state--draft { border-color:#b27a19; color:#8c5e0f; }
    .registry-state-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; align-items:start; }
    .registry-track { min-width:0; overflow:hidden; }
    .registry-track--empty { min-height:8rem; }
    .registry-scope-list { display:grid; gap:.4rem; padding-left:1.2rem; }
    .registry-table-wrap { width:100%; overflow:auto; }
    .registry-form { display:grid; gap:1rem; }
    .registry-form fieldset { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; padding:1rem; border:1px solid var(--line); border-radius:.6rem; }
    .registry-form legend { padding:0 .35rem; font-weight:750; }
    .registry-form label:has(textarea), .registry-form fieldset:last-of-type { grid-column:1/-1; }
    .registry-form textarea, .registry-action-form textarea { min-height:6rem; resize:vertical; }
    .registry-evidence-options { display:grid; gap:.5rem; }
    .registry-evidence-option { display:grid !important; grid-template-columns:auto 1fr; align-items:start; padding:.7rem; border:1px solid var(--line); border-radius:.5rem; }
    .registry-evidence-option small { display:block; margin-top:.2rem; overflow-wrap:anywhere; }
    .registry-confirm { display:grid !important; grid-template-columns:auto 1fr; align-items:start; padding:.7rem; border:1px solid var(--line); border-radius:.5rem; }
    .registry-actions { display:grid; gap:1rem; }
    .registry-action-form { display:grid; gap:.65rem; padding:1rem; border:1px solid var(--line); border-radius:.6rem; }
    .registry-action-form--danger { border-color:#a84444; }
    .registry-action-form--warning { border-color:#b27a19; }
    .registry-exception { padding:.75rem; border:1px solid var(--line); border-radius:.55rem; }

    @media (max-width: 72rem) {
      .registry-state-columns { grid-template-columns:1fr; }
      .registry-row { grid-template-columns:1fr; }
      .registry-row__actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
    }
    @media (max-width: 48rem) {
      .registry-hero, .registry-page > header, .registry-track > header, .registry-ledger > header { display:grid; }
      .registry-hero__actions { justify-content:stretch; }
      .registry-hero__actions .button { width:100%; }
      .registry-metrics, .registry-filters form, .registry-page__facts, .registry-definition-list, .registry-row__tracks, .registry-form fieldset { grid-template-columns:1fr; }
      .registry-form label:has(textarea), .registry-form fieldset:last-of-type { grid-column:auto; }
      .registry-table-wrap table, .registry-table-wrap thead, .registry-table-wrap tbody, .registry-table-wrap tr, .registry-table-wrap th, .registry-table-wrap td { display:block; width:100%; min-width:0; }
      .registry-table-wrap thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
      .registry-table-wrap tr { padding:.7rem; border:1px solid var(--line); border-radius:.5rem; }
      .registry-table-wrap td { padding:.3rem 0; border:0; white-space:normal; overflow-wrap:anywhere; }
    }

    /* Finding page: "Alert handling" panel (acknowledge / suppress one exact alert). */
    .finding-review-actions { display:grid; gap:.85rem; }
    .finding-review-actions .notice { margin:0; padding:.65rem .85rem; border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:.5rem; background:var(--sc-metric-info-bg); color:var(--ink); }
    .finding-review-actions .finding-review-actions__error { border-left-color:var(--danger); background:var(--sc-metric-critical-bg); }
    .finding-review-actions__hint { margin:0; color:var(--muted); font-size:.88rem; }
    .finding-review-actions__note { white-space:pre-wrap; overflow-wrap:anywhere; }
    .finding-review-actions__buttons { display:flex; flex-wrap:wrap; gap:.6rem; align-items:end; }
    .finding-review-actions__inline { display:flex; flex-wrap:wrap; gap:.5rem; align-items:end; }
    .finding-review-actions__inline input[type="text"] { min-width:min(22rem, 100%); }
    .finding-review-actions__suppress { border:1px solid var(--line); border-radius:.5rem; padding:.65rem .85rem; }
    .finding-review-actions__suppress > summary { cursor:pointer; font-weight:700; color:var(--accent); }
    .finding-review-actions__suppress[open] > summary { margin-bottom:.6rem; }
    .finding-review-actions__suppress .stacked-form { display:grid; gap:.5rem; max-width:40rem; }
    .finding-review-actions__reasons { display:grid; gap:.35rem; margin:0; padding:.5rem .75rem; border:1px solid var(--line); border-radius:.5rem; }
    .finding-review-actions__reasons label { display:flex; gap:.5rem; align-items:flex-start; font-weight:400; }
    .finding-review-actions__reasons input { width:auto; margin-top:.2rem; }
