/* Tohu. One stylesheet, no build step. Tokens first; light and dark follow the OS. */

:root {
  --bg: #f4f6f5;
  --surface: #ffffff;
  --surface-2: #f0f3f2;
  --border: #dde3e1;
  --text: #14201d;
  --muted: #5d6b67;
  --accent: #14796a;
  --accent-strong: #0f5f53;
  --accent-soft: #e2f2ee;
  --sidebar: #0f2a26;
  --sidebar-text: #cfe3de;
  --sidebar-active: #1d4a43;
  --critical: #b42318;
  --critical-soft: #fde7e5;
  --high: #c2410c;
  --high-soft: #fdeadd;
  --medium: #a16207;
  --medium-soft: #fdf3d7;
  --low: #4b5d58;
  --low-soft: #e9eeec;
  --ok: #157347;
  --ok-soft: #dff3e7;
  --warn-soft: #fff4d6;
  --focus: #2b8cff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(16 24 22 / 6%), 0 2px 8px rgb(16 24 22 / 4%);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1513;
    --surface: #14201d;
    --surface-2: #1a2926;
    --border: #263a36;
    --text: #e6efec;
    --muted: #93a5a0;
    --accent: #3fb8a1;
    --accent-strong: #6fd2be;
    --accent-soft: #163a34;
    --sidebar: #0a1110;
    --sidebar-text: #b8ccc7;
    --sidebar-active: #173430;
    --critical: #ff7b72;
    --critical-soft: #3d1a18;
    --high: #ff9e64;
    --high-soft: #3b2414;
    --medium: #e3b341;
    --medium-soft: #352b12;
    --low: #a5b6b1;
    --low-soft: #22302d;
    --ok: #56d364;
    --ok-soft: #14301d;
    --warn-soft: #342a10;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; }
h1 { font-size: 1.6rem; letter-spacing: -0.01em; }
h2 { font-size: 1.05rem; }
h3 { font-size: .95rem; }
p { margin: 0 0 .6rem; }
code, .mono { font-family: var(--mono); font-size: .9em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Layout ------------------------------------------------------------------- */
.shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.sidebar {
  background: var(--sidebar); color: var(--sidebar-text);
  display: flex; flex-direction: column; gap: 4px; padding: 18px 12px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.15rem; padding: 4px 10px 16px; }
.brand:hover { text-decoration: none; }
.sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.nav-heading { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .6; margin: 16px 10px 4px; }
.nav-link {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm);
  color: var(--sidebar-text); font: inherit; background: none; border: 0; width: 100%; text-align: left; cursor: pointer;
}
.nav-link:hover { background: var(--sidebar-active); text-decoration: none; color: #fff; }
.nav-link.active { background: var(--sidebar-active); color: #fff; box-shadow: inset 3px 0 0 #7fd3bf; }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 8%); }
.privacy-toggle { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--sidebar-text); background: none; border: 0; font: inherit; cursor: pointer; }
.privacy-toggle:hover, .privacy-toggle[aria-pressed="true"] { background: var(--sidebar-active); color: #fff; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.main-col { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: none; }
.main { padding: 28px 32px; max-width: 1240px; width: 100%; display: flex; flex-direction: column; gap: 18px; }
.footer { margin-top: auto; padding: 18px 32px 28px; color: var(--muted); font-size: .8rem; }
.footer p { margin: 0 0 4px; }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 30% 0 0; z-index: 20; transform: translateX(-100%); transition: transform .2s ease; }
  body.menu-open .sidebar { transform: none; box-shadow: 0 0 0 100vmax rgb(0 0 0 / 40%); }
  .topbar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--sidebar); position: sticky; top: 0; z-index: 10; }
  .topbar .brand { padding: 0; }
  .menu-button { background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
  .main { padding: 18px 16px; }
  .footer { padding: 16px; }
}

/* Auth pages ----------------------------------------------------------------- */
.auth-main { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(1200px 600px at 20% -10%, var(--accent-soft), transparent), var(--bg); }
.auth-card { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.auth-brand h1 { margin: 0; font-size: 1.4rem; }

/* Building blocks ----------------------------------------------------------------- */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.crumbs { font-size: .85rem; color: var(--muted); }
.actions, .row-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row-actions form { display: inline; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.card.flush { padding: 0; overflow: hidden; }
.card.narrow { max-width: 520px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.card-head.pad, .pad { padding: 16px 20px 0; }
.card-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
@media (max-width: 1000px) { .grid-2, .grid-detail { grid-template-columns: 1fr; } }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 18px; }
.mt { margin-top: 12px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.strong { font-weight: 600; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.ok { color: var(--ok); }
.danger { color: var(--critical); }
.lead { font-size: 1.05rem; font-weight: 500; }
.spacer { flex: 1; }

/* Forms ------------------------------------------------------------------------------ */
label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 500; }
input, select, textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 9px 11px; min-height: 40px; width: 100%;
}
input:focus, select:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); }
.hint { font-weight: 400; color: var(--muted); font-size: .8rem; }
.check-row { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.check-row input { width: auto; min-height: 0; }
.inline-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.inline-form label { min-width: 150px; }
.inline-form .grow, .filters .grow { flex: 1; min-width: 200px; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; padding: 14px 16px; }
.filters label { min-width: 140px; }
.code-input { font-family: var(--mono); font-size: 1.4rem; letter-spacing: .3em; text-align: center; }
.copy-row { display: flex; gap: 8px; }
.note-form { display: flex; gap: 8px; margin-bottom: 12px; }
form.is-busy { opacity: .6; pointer-events: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-weight: 600; font-size: .9rem; line-height: 1;
  padding: 10px 14px; min-height: 40px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
}
.button:hover { background: var(--surface-2); text-decoration: none; }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-strong); }
.button.danger { color: var(--critical); }
.button.small { min-height: 32px; padding: 6px 10px; font-size: .8rem; }
.button.wide { width: 100%; }
.button:disabled, .button.is-pending { opacity: .7; cursor: progress; }
.as-link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.as-link:hover { text-decoration: underline; }
.as-link.danger { color: var(--critical); }

/* Badges, pills, tags --------------------------------------------------------------- */
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; white-space: nowrap; }
.level-critical.badge { background: var(--critical-soft); color: var(--critical); }
.level-high.badge { background: var(--high-soft); color: var(--high); }
.level-medium.badge { background: var(--medium-soft); color: var(--medium); }
.level-low.badge { background: var(--low-soft); color: var(--low); }
.level-ok.badge { background: var(--ok-soft); color: var(--ok); }
.pill { display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); white-space: nowrap; }
.status-new { background: var(--accent-soft); color: var(--accent-strong); border-color: transparent; }
.status-remediating { background: var(--medium-soft); color: var(--medium); border-color: transparent; }
.status-resolved { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.run-ok { color: var(--ok); } .run-failed { color: var(--critical); } .run-partial { color: var(--medium); }
.tag { display: inline-block; font-size: .7rem; font-weight: 600; padding: 2px 7px; border-radius: 5px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); vertical-align: middle; }
.tag-stealer { background: var(--critical-soft); color: var(--critical); border-color: transparent; }
.tag-warn { background: var(--warn-soft); color: var(--medium); border-color: transparent; }
.tag-ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.type-chip { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.classes { display: flex; flex-wrap: wrap; gap: 4px; }
.dc { font-size: .72rem; padding: 2px 7px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--border); white-space: nowrap; }
.dc-hot { background: var(--critical-soft); color: var(--critical); border-color: transparent; }

/* Flash ---------------------------------------------------------------------------- */
.flash { padding: 10px 14px; border-radius: var(--radius-sm); font-size: .9rem; border: 1px solid transparent; }
.flash ul { margin: 0; padding-left: 18px; }
.flash-ok { background: var(--ok-soft); color: var(--ok); }
.flash-warn { background: var(--warn-soft); color: var(--medium); }
.flash-error { background: var(--critical-soft); color: var(--critical); }
.callout { border-left: 4px solid var(--accent); }

/* Dashboard -------------------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; border-left: 6px solid var(--accent); }
.hero.band-high { border-left-color: var(--critical); }
.hero.band-medium { border-left-color: var(--high); }
.hero.band-low { border-left-color: var(--medium); }
.hero.band-clear { border-left-color: var(--ok); }
.hero-score { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; }
.hero-number { font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.band-high .hero-number { color: var(--critical); }
.band-medium .hero-number { color: var(--high); }
.band-low .hero-number { color: var(--medium); }
.band-clear .hero-number { color: var(--ok); }
.hero-of { color: var(--muted); font-weight: 600; }
.hero-label { flex-basis: 100%; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.hero-text p:last-child { margin: 0; }
.hero-trend { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
@media (max-width: 700px) { .hero { grid-template-columns: 1fr; gap: 12px; } .hero-trend { align-items: flex-start; } }
.onboarding { border-left: 6px solid var(--accent); }
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; color: var(--text); box-shadow: var(--shadow); display: flex; flex-direction: column; border-top: 4px solid var(--border); }
.stat:hover { text-decoration: none; border-color: var(--accent); }
.stat.level-critical { border-top-color: var(--critical); }
.stat.level-high { border-top-color: var(--high); }
.stat.level-medium { border-top-color: var(--medium); }
.stat.level-low { border-top-color: var(--low); }
.stat-number { font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .8rem; color: var(--muted); }
.next-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.next-list li { display: flex; gap: 10px; align-items: baseline; }
.next-list li div { display: flex; flex-direction: column; }
.prio { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; }
.prio-1.prio, .prio.prio-1 { background: var(--critical); }
.prio.prio-2 { background: var(--high); }
.prio.prio-3 { background: var(--low); }
.identity-list { list-style: none; margin: 0; padding: 0; }
.identity-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.identity-list li:last-child { border-bottom: 0; }
.identity-list a { overflow-wrap: anywhere; }

/* Charts --------------------------------------------------------------------------- */
.chart { width: 100%; height: auto; display: block; }
.chart-label, .chart-value { font-size: 12px; fill: var(--muted); font-family: var(--font); }
.chart-value { fill: var(--text); font-weight: 600; }
.chart-track { fill: var(--surface-2); }
.chart-bar.tone-accent { fill: var(--accent); }
.chart-axis { stroke: var(--border); }
.sparkline { width: 220px; }
.spark-line { stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.spark-dot { fill: var(--accent); }

/* Tables ----------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.table td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-2); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.row-closed { opacity: .6; }
.ledger td.classes { min-width: 220px; }
.card .table-wrap { margin: 0 -20px -18px; }
.card.flush .table-wrap { margin: 0; }
.segmented { display: flex; gap: 4px; flex-wrap: wrap; }
.segmented a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: .85rem; }
.segmented a.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.segmented .count { opacity: .7; font-variant-numeric: tabular-nums; }
.status-select { min-height: 34px; padding: 5px 8px; font-size: .85rem; width: auto; }
.status-select.status-close { border-color: var(--high); }
.status-select.status-closed { border-color: var(--ok); }

/* Exposure detail ------------------------------------------------------------------- */
.explain { border-left: 6px solid var(--accent); }
.level-edge-critical { border-left-color: var(--critical); }
.level-edge-high { border-left-color: var(--high); }
.level-edge-medium { border-left-color: var(--medium); }
.level-edge-low { border-left-color: var(--low); }
.prose { color: var(--muted); font-size: .9rem; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 14px; font-size: .9rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.small-head { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.task { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); }
.task form { display: block; }
.task.done .task-title { text-decoration: line-through; color: var(--muted); }
.task.done .task-detail { display: none; }
.task-title { font-weight: 600; margin: 0 0 2px; }
.task-detail { margin: 0; color: var(--muted); font-size: .88rem; }
.prio-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 1px 6px; border-radius: 4px; vertical-align: middle; margin-left: 4px; }
.prio-label.prio-1 { background: var(--critical-soft); color: var(--critical); }
.prio-label.prio-2 { background: var(--high-soft); color: var(--high); }
.prio-label.prio-3 { background: var(--low-soft); color: var(--low); }
.check { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: var(--surface); color: transparent; display: grid; place-items: center; cursor: pointer; padding: 0; flex: none; }
.check:hover { border-color: var(--accent); color: var(--accent); }
.check[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: #fff; }
.task-group-item { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.status-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.timeline li { padding: 4px 0 10px 14px; position: relative; display: flex; flex-direction: column; font-size: .88rem; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.timeline .ev-status::before { background: var(--accent); }
.timeline .ev-note::before { background: var(--medium); }
.timeline .ev-task::before { background: var(--ok); }
.ev-when { font-size: .75rem; color: var(--muted); }

/* Sources, misc -------------------------------------------------------------------------- */
.source-list { list-style: none; margin: 0; padding: 0; }
.source-list li { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.source-list li:last-child { border-bottom: 0; }
.source-list p { margin: 0 0 2px; }
.empty { text-align: center; padding: 28px 16px; color: var(--muted); }
.empty h3 { color: var(--text); }
.help-list { margin: 12px 0 0; padding-left: 18px; }
.steps { padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }
.qr { background: #fff; padding: 12px; border-radius: var(--radius-sm); display: inline-block; margin-top: 8px; }
.qr svg { display: block; width: 200px; height: 200px; }
.secret { word-spacing: .3em; }
.pw-result { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); margin: 0; }
.pw-result.good { background: var(--ok-soft); color: var(--ok); }
.pw-result.bad { background: var(--critical-soft); color: var(--critical); }
details summary { cursor: pointer; }
pre { white-space: pre-wrap; font-size: .75rem; max-width: 420px; }

/* Privacy blur for screen sharing ------------------------------------------------------- */
.privacy .pii { filter: blur(6px); transition: filter .15s; }
.privacy .pii:hover { filter: none; }
.privacy .pii-soft { filter: blur(4px); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .sidebar, .topbar, .footer, .actions, form { display: none !important; } .shell { display: block; } }

/* Fixes from the first screenshot review ---------------------------------------- */
.nav-link.as-link { color: var(--sidebar-text); }
.nav-link.as-link:hover { color: #fff; text-decoration: none; }
.button { white-space: nowrap; }
@media (min-width: 861px) {
  /* Keep the sidebar colour running the full height of long pages. */
  .shell { background: linear-gradient(to right, var(--sidebar) 232px, transparent 232px); }
}

/* Accounts: quick views and import -------------------------------------------- */
.quick-views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .quick-views { grid-template-columns: 1fr; } }
.quick { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); box-shadow: var(--shadow); }
.quick:hover { text-decoration: none; border-color: var(--accent); }
.quick.active { border-color: var(--accent); background: var(--accent-soft); }
.quick-n { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 2ch; }
.facts-cell .badge { margin: 0 4px 4px 0; }
.facts-cell div { margin-top: 2px; }
.export-help { padding-left: 18px; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.import-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
@media (max-width: 700px) { .import-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.import-status { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); margin-top: 12px; }
.import-status.good { background: var(--ok-soft); color: var(--ok); }
.import-status.bad { background: var(--critical-soft); color: var(--critical); }
.diff-easy { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.diff-medium { background: var(--medium-soft); color: var(--medium); border-color: transparent; }
.diff-hard, .diff-limited { background: var(--high-soft); color: var(--high); border-color: transparent; }
.diff-impossible { background: var(--critical-soft); color: var(--critical); border-color: transparent; }
/* A flex table cell breaks row borders; keep the cell a cell and wrap the chips. */
.table td.classes { display: table-cell; }
.table td.classes .dc { display: inline-block; margin: 0 4px 4px 0; }
