/* ============================================================================
   Marketing-site skin
   The console follows the Roxas Labs site: paper and ink (or graphite), hairline
   rules, square corners, mono labels, Archivo headings, no glow, blur or gradient.
   Status is plain colored text with a small square, never a boxed badge.
   ========================================================================= */
html { -webkit-font-smoothing: antialiased; }
body { background: var(--bg-0); font-family: var(--font); }
*, *::before, *::after { border-radius: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.ambient, .auth-fx { display: none !important; }
:focus-visible { outline: 2px solid var(--fp); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--display); }
h1 { font-size: 30px; font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
h2 { font: 500 11.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-faint); }
h3 { font-weight: 700; letter-spacing: -.02em; }
a { color: var(--fg); }
a:hover { color: var(--link-hover); }
p a, .hint a, .cell-sub a, .rule-desc a, .sub a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.section > h2::before { display: none; }

/* chrome ------------------------------------------------------------------ */
.sidebar { background: var(--bg-0); border-right: 1px solid var(--rule-hard); }
.sidebar.is-overview { border-right-color: var(--rule-hard); }
.brand { font-family: var(--display); font-weight: 800; }
.brand .brand-mark { filter: none; color: var(--fg); }
.sb-toggle { color: var(--fg-faint); }
:root[data-sb-pinned] .sb-toggle { color: var(--fg); }
.sb-nav a { font-weight: 500; }
.sb-nav a:hover { background: var(--panel-2); }
.sb-nav a.active { background: var(--raise); color: var(--fg); }
.sb-nav a.active::before { box-shadow: none; background: var(--fg); }
.sb-nav a.active .sb-ic { color: var(--fg); }
.sb-nav .badge { background: var(--fg); color: var(--bg-0); }
.tenant-switch select, .scope-switch select { background: var(--panel); border-color: var(--line-strong); box-shadow: none; }
.tenant-switch select:hover, .scope-switch select:hover { border-color: var(--fg); }
.scope-switch.at-overview select { color: var(--fg); background: var(--panel); border-color: var(--fg); box-shadow: none; }
.topstrip { background: var(--bg-0); border-bottom: 1px solid var(--rule-hard); }
.greeting { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.theme-toggle, :root[data-theme="light"] .theme-toggle { color: var(--fg-dim); border-color: var(--line-strong); background: transparent; }
.theme-toggle:hover { color: var(--fg); border-color: var(--fg); background: var(--panel-2); }
.theme-toggle svg, :root[data-theme="light"] .theme-toggle svg { fill: none; }
.theme-toggle .ic-sun { display: none; }
:root[data-theme="night"] .theme-toggle .ic-moon { display: none; }
:root[data-theme="night"] .theme-toggle .ic-sun { display: block; }
.theme-toggle.login-theme { background: var(--bg-0); }
.usermenu .avatar { background: var(--fg); color: var(--bg-0); font-family: var(--display); }
.usermenu .role { font-family: var(--mono); letter-spacing: .08em; }

/* surfaces ---------------------------------------------------------------- */
.panel, .card, .tile, .stat, .kpi, .table-wrap, .t-hero, .incident-hero, .pending-hero, .theme-card, .approvals-alert {
  background: var(--panel); box-shadow: none; border: 1px solid var(--line);
}
.table-wrap { border-top: 1px solid var(--rule-hard); }
.tile:hover { transform: none; border-color: var(--fg); }
.card > h3 { font-family: var(--mono); font-weight: 500; color: var(--fg-faint); }
.stat .n, .kpi .k-val { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; }
.stat .l, .kpi .k-label { font-family: var(--mono); letter-spacing: .1em; font-size: 10.5px; }
.kpi.accent::after, .kpi.bad::after { display: none; }
.kpi.accent { border-top: 3px solid var(--fg); }
.kpi.bad { border-top: 3px solid var(--tp); }
.t-hero::before, .incident-hero::before, .pending-hero::before { width: 4px; background: var(--vd, var(--fg)); box-shadow: none; }
.t-hero.v-tp::before { background: var(--tp); }
.t-hero-grid, .hero-grid { display: none; }
.panel.glow::before { display: none; }
.eyebrow { font-family: var(--mono); letter-spacing: .12em; }

/* tables ------------------------------------------------------------------ */
thead th { background: var(--panel); border-bottom: 1px solid var(--rule-hard); font-family: var(--mono); font-weight: 500; letter-spacing: .1em; }
tbody td { border-bottom: 1px solid var(--line); }
tbody tr:hover { background: var(--panel-2); }
tr.row-link:hover td:first-child { box-shadow: inset 3px 0 0 var(--fg); }
tr.row-awaiting { box-shadow: inset 3px 0 0 var(--bp); background: transparent; }
.col-grip:hover::after, body.col-resizing .col-grip::after { background: var(--fg); }
.rulename { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
.approvals-alert { border-left: 4px solid var(--bp); }
.approvals-alert .a-icon { background: transparent; color: var(--bp); border: 1.5px solid var(--bp); }

/* status: plain colored text with a square, never a boxed badge ----------- */
.pill {
  border: 0; padding: 0; background: none; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.pill::before { width: 7px; height: 7px; }
.pill.v-true_positive, .pill.v-benign_positive, .pill.v-false_positive, .pill.v-undetermined,
.pill.plain, .pill.ok, .pill.err, .pill.wait { border-color: transparent; background: none; }
.pill.wait { color: var(--bp); }
.status::before, .review::before { border-radius: 0; box-shadow: none; }
.review { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.sev { font-family: var(--mono); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 11.5px; }
.badge { background: var(--fg); color: var(--bg-0); }

/* controls ---------------------------------------------------------------- */
.btn { background: transparent; border: 1px solid var(--line-strong); color: var(--fg); }
.btn:hover { border-color: var(--fg); }
.btn.primary { background: var(--fg); color: var(--bg-0); border-color: var(--fg); }
.btn.primary:hover { background: var(--fg-dim); border-color: var(--fg-dim); }
.btn.approve { border-color: var(--fp); color: var(--fp); background: transparent; }
.btn.approve:hover { background: var(--fp); color: var(--bg-0); }
.btn.deny, .btn.danger { border-color: var(--tp); color: var(--tp); background: transparent; }
.btn.deny:hover, .btn.danger:hover { background: var(--tp); color: var(--bg-0); border-color: var(--tp); }
.btn.ghost { background: transparent; }
input[type=text], input[type=password], input[type=search], input[type=email], input[type=number], input[type=date], textarea, .select, .combo .combo-input {
  background: var(--panel); border-color: var(--line-strong); box-shadow: none;
}
input:focus-visible, textarea:focus-visible, .select:focus-visible { border-color: var(--fg); box-shadow: none; outline: 2px solid var(--fp); outline-offset: 1px; }
.chip, .fchip { background: transparent; border: 1px solid var(--line-strong); color: var(--fg); }
.drop-menu, .combo-list, .respond-pop, .confirm-card, .mitre-pop { box-shadow: var(--shadow); border-color: var(--line-strong); }
.confirm-veil { background: rgba(14, 17, 21, .45); }
.subnav a.on, .pager .pg.on { background: var(--fg); color: var(--bg-0); border-color: var(--fg); }
.seg label:has(input:checked) { background: var(--fg); color: var(--bg-0); }
.flash { border-left-width: 4px; background: var(--panel); }
.flash.ok { background: var(--ok-bg); } .flash.error { background: var(--err-bg); }

/* data fills: solid, never gradient --------------------------------------- */
.hbar .track > span, .bars .bar > span, .mitre-col__bar span, .iv-bar > i { background: var(--fg); }
.iv-bar, .hbar .track { background: var(--panel-2); }
ol.steps li::after, ol.tl li::after { background: var(--line-strong); }

/* sign-in ----------------------------------------------------------------- */
.login-card { background: var(--panel); border: 1px solid var(--line); border-top: 1px solid var(--rule-hard); box-shadow: none; max-width: 400px; }
.login-card::before { display: none; }
.login-card .brand { color: var(--fg); }
.auth-welcome h1, :root[data-theme="light"] .auth-welcome h1 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.035em; background: none; -webkit-text-fill-color: currentColor; color: var(--fg);
}

/* status-carrying tags: plain text with a square, no outline -------------- */
:root { --cover: var(--fp); }
.tag, .sev-chip {
  border: 0; padding: 0; background: none; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.tag::before, .sev-chip::before { content: ""; width: 7px; height: 7px; background: currentColor; flex: none; }
.tag.sev-tag, .tag.review-tag { border: 0; }
.sev-strip { gap: 6px 22px; }
.status { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }

/* settings: theme cards ---------------------------------------------------- */
.theme-card { background: var(--panel); border: 1px solid var(--line); }
.theme-card:hover { border-color: var(--fg); }
.theme-card.is-selected { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.theme-card.is-selected .theme-card__name::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 9px; vertical-align: 1px; background: var(--fp); }
.theme-card__swatch { background-image: none; border: 1px solid var(--line-strong); }
.theme-card__dot { box-shadow: none; }

/* sign-in headline: no glow -------------------------------------------------- */
.auth-welcome h1 { text-shadow: none; filter: none; }

/* MITRE coverage: a flat tint of the "covered" color, scaled by --n -------- */
.mitre-cell:hover { transform: none; }
.mitre-cell.is-covered {
  border-color: color-mix(in srgb, var(--cover) calc(55% + var(--n, 0) * .3%), var(--line-strong));
  background: color-mix(in srgb, var(--cover) calc(12% + var(--n, 0) * .34%), var(--panel));
  box-shadow: none;
}
.mitre-cell.is-covered:hover { box-shadow: none; }
.mitre-cell:focus-visible { box-shadow: none; outline: 2px solid var(--fp); outline-offset: 1px; }
.mitre-legend-swatch.is-covered {
  border-color: color-mix(in srgb, var(--cover) calc(55% + var(--n, 0) * .3%), var(--line-strong));
  background: color-mix(in srgb, var(--cover) calc(12% + var(--n, 0) * .34%), var(--panel)); box-shadow: none;
}
.mitre-pop-branch-row.is-covered .mitre-pop-branch-dot { background: color-mix(in srgb, var(--cover) calc(40% + var(--n, 0) * .4%), var(--panel)); box-shadow: none; }
.mitre-col__bar span { background: var(--cover); }

/* charts: flat fills --------------------------------------------------------- */
.area-chart .fill { fill: color-mix(in srgb, var(--fg) 7%, transparent); }
.hbar .track > span, .bars .bar > span, .iv-bar > i { background: var(--fg); }

/* attestation report (its own inline styles load first, so these follow them) */
.att-bar { background: var(--panel); border: 1px solid var(--line); border-top: 1px solid var(--rule-hard); box-shadow: none; }
.att-bar a { color: var(--fg); } .att-bar a:hover { color: var(--link-hover); }
.att-hero { background: var(--panel); box-shadow: none; border: 1px solid var(--line); animation: none; }
.att-hero::before { width: 4px; background: var(--vd, var(--fg)); box-shadow: none; }
.att-hero .grid-fx { display: none; }
.att-hero h1 { background: none; color: var(--fg); -webkit-text-fill-color: currentColor; }
.att-hero .eyebrow { font-family: var(--mono); letter-spacing: .12em; }
.att-hero .v-badge { background: transparent; box-shadow: none; animation: none; border: 1.5px solid var(--vd, var(--fg)); }
.att h2 { padding-left: 0; border-bottom: 1px solid var(--rule-hard); font-family: var(--mono); font-weight: 500; }
.att h2::before { display: none; }
.att .kpi, .att .vstat { background: var(--panel); box-shadow: none; animation: none; }
.att .kpi::before { display: none; }
.att .kpi:hover { transform: none; border-color: var(--line); }
.att .kpi .n, .att .vstat .n { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; }
.att .kpi.tone .n { text-shadow: none; }
.att .tbl { box-shadow: none; border-top: 1px solid var(--rule-hard); }
.att thead th { background: var(--panel); border-bottom: 1px solid var(--rule-hard); font-family: var(--mono); font-weight: 500; }
.att tbody tr:nth-child(even) { background: var(--panel); }
.att tbody tr:hover { background: var(--panel-2); }
.att .pill, .att .pill.tactic, .att .pill.saved { border: 0; background: none; padding: 0; margin: 0 14px 5px 0; color: var(--fg-dim); font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.att .pill.saved { color: var(--fp); } .att .pill.tactic { color: var(--fg); }
.att code.evt { background: var(--panel-2); border: 1px solid var(--line); color: var(--fg); }
.integrity { background: var(--panel); box-shadow: none; animation: none; border: 1px solid var(--line); }
.integrity::before { width: 4px; background: var(--ic, var(--fg)); box-shadow: none; }
.integrity.ok, .integrity.bad { border-color: var(--line); animation: none; }
.integrity .verdict .dot { box-shadow: none; }
.integrity .note .mono { background: var(--panel-2); border-color: var(--line); }

/* ------------------------------------------------------------------ incident page
   Black header bar, then a main column plus a right rail. Section tones: summary is
   open text, steps sit on a mid slab, reasoning is a pull-quote, evidence is the
   deepest grey, entities stay white. --attn (cobalt) marks anything waiting on a person. */
.tag.review-tag { color: var(--attn); }
.inc-head { position: relative; background: #0e1115; color: #f3f4f5; padding: 30px 0 28px; box-shadow: 0 0 0 100vmax #0e1115; clip-path: inset(0 -100vmax); }
.inc-head.pull { margin-top: -34px; padding-top: 34px; }
.inc-head-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.inc-head-title { min-width: 0; flex: 1 1 520px; }
.inc-head .eyebrow { color: rgba(243, 244, 245, .6); }
.inc-head h1 { color: #f3f4f5; margin: 10px 0 8px; font-size: 34px; line-height: 1.15; }
.inc-head p { margin: 0; color: rgba(243, 244, 245, .72); max-width: 72ch; line-height: 1.6; }
.inc-head-meta { display: flex; gap: 34px; flex-wrap: wrap; margin: 0; }
.inc-head-meta dt { font: 400 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(243, 244, 245, .55); }
.inc-head-meta dd { margin: 6px 0 0; font-weight: 600; color: #f3f4f5; }
.inc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; padding-top: 32px; }
.inc-main { min-width: 0; }
.inc-main .section:first-child, .inc-sec-first { margin-top: 0; }
.sec-h { display: flex; align-items: center; gap: 10px; }
.sq { width: 9px; height: 9px; display: inline-block; flex: none; background: var(--fg-faint); }
.sq.tp { background: var(--tp); } .sq.fp { background: var(--fp); } .sq.attn { background: var(--attn); }
.inc-lead { font: 400 1.18rem/1.65 var(--font); color: var(--fg); padding: 6px 0 10px; white-space: pre-wrap; }
.inc-quote { margin: 0; padding: 2px 0 2px 18px; border-left: 3px solid var(--tp); font-style: italic; color: var(--fg-dim); line-height: 1.7; white-space: pre-wrap; }
.tone-hi { background: var(--panel); } .tone-mid { background: var(--panel-2); } .tone-lo { background: var(--raise); }
.panel.flush { padding: 0 20px; }
ol.stp { list-style: none; margin: 0; padding: 0; }
ol.stp li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
ol.stp li:first-child { border-top: 0; }
ol.stp li > i { font: 500 .74rem var(--mono); font-style: normal; color: var(--fg-faint); padding-top: 2px; }
ol.stp .step-what { display: block; font-weight: 550; color: var(--fg); }
ol.stp .step-why { display: block; margin-top: 2px; font-size: 12.5px; color: var(--fg-faint); }
.stp-plain { margin: 0; padding: 14px 0; }
.inc-rail { display: grid; gap: 18px; align-content: start; position: sticky; top: 20px; }
.rail-card { background: var(--panel); border: 1px solid var(--line); padding: 18px 20px; display: grid; gap: 0; }
.rail-verdict { border-top: 1px solid var(--rule-hard); }
.rail-lbl { font: 500 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-faint); }
.rail-vword { margin-top: 8px; font: 800 1.6rem/1 var(--display); letter-spacing: -.03em; color: var(--vd, var(--fg)); text-transform: capitalize; }
.rail-conf { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; color: var(--fg-dim); }
.rail-tags { display: flex; gap: 6px 16px; flex-wrap: wrap; margin-top: 14px; }
.rail-status { display: grid; gap: 6px; margin-top: 18px; }
.rail-status .select-wrap, .rail-status .select { width: 100%; }
.rail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rail-actions form { display: inline; }
.rail-wait .wait-table, .rail-wait .wait-table tbody { display: block; width: 100%; }
.rail-wait .wait-table tr { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.rail-wait .wait-table tr:first-child { border-top: 0; padding-top: 4px; }
.rail-wait .wait-table td { display: block; padding: 0; border: 0; white-space: normal !important; }
.rail-wait .wait-table td:nth-child(3) { display: none; }
.rail-wait .action-label { font: 800 1.15rem/1.2 var(--display); letter-spacing: -.02em; color: var(--fg); }
.rail-wait .wait-table [data-decision-cell] { display: flex; gap: 8px; margin-top: 8px; }
.rail-wait.is-awaiting { background: color-mix(in srgb, var(--attn) 14%, var(--panel)); border: 2px solid var(--attn); }
.wait-k { display: inline-flex; align-items: center; gap: 8px; font: 600 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--attn); margin-bottom: 8px; }
.wait-k::before { content: ""; width: 9px; height: 9px; background: var(--attn); }
.rail-wait .btn.approve { background: var(--fp); color: var(--accent-ink); border-color: var(--fp); }
.rail-glance { background: var(--raise); }
.rail-glance .kvl { margin-top: 12px; grid-template-columns: 112px minmax(0, 1fr); }
.kvl { display: grid; gap: 8px 14px; margin: 0; font-size: 13px; }
.kvl dt { color: var(--fg-faint); font: 400 .7rem var(--mono); letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.kvl dd { margin: 0; color: var(--fg); }
@media (max-width: 1000px) { .inc-grid { grid-template-columns: minmax(0, 1fr); } .inc-rail { position: static; } }
.section > h2.sec-h { padding-left: 0; }
.rail-verdict.v-true_positive { --vd: var(--tp); } .rail-verdict.v-benign_positive { --vd: var(--bp); }
.rail-verdict.v-false_positive { --vd: var(--fp); } .rail-verdict.v-undetermined { --vd: var(--und); }
.rail-wait tr.row-awaiting { box-shadow: none; }
.rail-wait .wait-table td:first-child { padding-left: 0 !important; }
.rail-wait .pill.wait { color: var(--attn); padding-left: 0; }
.rail-wait .params-plain { color: var(--fg-dim); font-size: 13px; }
.inc-main .section > h2 { padding-left: 0; }
.rail-wait .wait-table, .rail-wait .wait-table tbody, .rail-wait .wait-table tr, .rail-wait .wait-table td { background: transparent; }
.rail-glance .kvl { grid-template-columns: 128px minmax(0, 1fr); }
.flash ~ #incident-main .inc-head.pull { margin-top: 0; padding-top: 30px; }

/* agent actions work log: fixed columns so the query/input column gets real width
   and long detail text (ARM URLs) wraps inside the table instead of running off the edge */
.work-log { table-layout: fixed; width: 100%; }
.work-log th:nth-child(1) { width: 48px !important; }
.work-log th:nth-child(2) { width: 168px !important; }
.work-log th:nth-child(3) { width: 200px !important; }
.work-log th:nth-child(4) { width: auto !important; }
.work-log th:nth-child(5) { width: 110px !important; }
.work-log th:nth-child(6) { width: 30% !important; }
.work-log td, .work-log th { overflow-wrap: anywhere; word-break: break-word; }
.work-log td:nth-child(2) { white-space: normal !important; }
.work-log pre.kql, .work-log .params { max-width: 100%; }

/* ------------------------------------------------------------ tenant overview
   Black header with the headline stats, a funnel strip, then a main column and a right rail.
   Anything that opens an incident or filters the list shows it quietly: a tint, a slim left
   bar and a small arrow. Hover colours are opaque and never transition, so they cannot flash. */
.c-tp { color: var(--tp); }
.ov-dim { color: var(--fg-faint); }
.ov-head { position: relative; background: #0e1115; color: #f3f4f5; padding: 30px 0 30px; box-shadow: 0 0 0 100vmax #0e1115; clip-path: inset(0 -100vmax); }
.ov-head.pull { margin-top: -34px; padding-top: 34px; }
.flash ~ .ov-head.pull { margin-top: 0; padding-top: 30px; }
.ov-head .eyebrow { color: rgba(243, 244, 245, .6); }
.ov-head h1 { color: #f3f4f5; margin: 10px 0 0; font-size: 34px; line-height: 1.15; }
.ov-meta { margin: 8px 0 0; color: rgba(243, 244, 245, .65); font-size: 13.5px; }
.ov-paused { color: #ff7a6b; }
.ov-head-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 40px; margin-top: 26px; max-width: 1000px; }
.ov-lbl { display: block; font: 500 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-faint); }
.ov-head .ov-lbl { color: rgba(243, 244, 245, .6); }
.ov-head-stats b { display: block; font: 800 2.4rem/1 var(--display); letter-spacing: -.04em; margin-top: 10px; color: #f3f4f5; }
.ov-hsub { display: block; font-size: 12.5px; color: rgba(243, 244, 245, .6); margin-top: 8px; line-height: 1.45; }

.ov2 { padding-top: 0; }
.ov-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule-hard); border-bottom: 1px solid var(--line); margin: 32px 0 26px; }
.ov-st { padding: 18px 20px 16px; border-left: 1px solid var(--line); cursor: pointer; outline: none; position: relative; }
.ov-st:first-child { border-left: 0; padding-left: 0; }
.ov-st b { display: block; font: 800 2.4rem/1 var(--display); letter-spacing: -.04em; margin-top: 10px; }
.ov-ssub { display: block; font-size: 12.5px; color: var(--fg-faint); margin-top: 8px; }
.ov-ssub .delta { background: none; padding: 0; color: var(--fg-faint); font-weight: 500; }
.ov-fp b { color: var(--fp); } .ov-attn b { color: var(--attn); } .ov-tp b { color: var(--tp); }
.ov-st:hover, .ov-st:focus-visible { background: var(--panel-2); } .ov-st.on { background: var(--panel-2); box-shadow: inset 0 -3px 0 var(--attn); }

.ov2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.ov2-main { min-width: 0; }
.ov2-rail { display: grid; gap: 18px; align-content: start; position: sticky; top: 20px; }
.ov-h { margin: 30px 0 12px; } .ov2-main > .ov-open + .ov-h, .ov2-main > .ov-clear + .ov-h { margin-top: 26px; }
.ov-aside { margin-left: auto; font: 400 .66rem var(--mono); letter-spacing: .1em; color: var(--fg-faint); }
.ov-box { border: 1px solid var(--line); background: var(--panel); padding: 14px 16px; }
.ov-box.ov-flush { padding: 4px 20px 6px; }

/* open now */
.ov-open { background: color-mix(in srgb, var(--attn) 14%, var(--panel)); border: 2px solid var(--attn); padding: 18px 20px; }
.ov-k { display: inline-flex; align-items: center; gap: 8px; font: 600 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--attn); }
.ov-k::before { content: ""; width: 9px; height: 9px; background: var(--attn); }
.ov-open-t { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13.5px; }
.ov-open-t tr, .ov-open-t tr:hover { background: transparent !important; transition: none !important; }
.ov-open-t td { padding: 11px 12px 11px 0; border-top: 1px solid color-mix(in srgb, var(--attn) 28%, transparent); background: transparent; transition: none; }
.ov-open-t tr:first-child td { border-top: 0; }
.ov-open-t tr.clk:hover td, .ov-open-t tr.clk:focus-visible td { background: color-mix(in srgb, var(--attn) 22%, var(--panel)); }
.ov-open-t a { color: var(--fg); text-decoration: none; }
.ov-more-open { margin: 10px 0 0; font-size: 12.5px; color: var(--fg-dim); }
.ov-clear { border: 1px solid var(--line); background: var(--panel); padding: 14px 18px; font-size: 13.5px; } .ov-ok { color: var(--fp); font: 600 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-right: 10px; }

/* shared table + click affordance */
.ov-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ov-t th { text-align: left; font: 500 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-faint); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule-hard); }
.ov-t td { padding: 11px 12px 11px 0; border-top: 1px solid var(--line); }
.ov-t tbody tr:first-child td { border-top: 0; }
.ov-t .n { text-align: right; font-variant-numeric: tabular-nums; }
.ov-t tr, .ov-t tr:hover { background: transparent; transition: none; }
.ov-recent td.n, .ov-recent th.n { padding-right: 8px; }
.ov-t tr.clk, .ov-t tr[data-ov-rule] { cursor: pointer; outline: none; }
.ov-t tr.clk:hover td, .ov-t tr.clk:focus-visible td, .ov-t tr[data-ov-rule]:hover td, .ov-t tr[data-ov-rule]:focus-visible td { background: color-mix(in srgb, var(--attn) 9%, var(--panel)); }
.clk:hover td:first-child, .clk:focus-visible td:first-child, tr[data-ov-rule]:hover td:first-child, tr.ov-sel td:first-child { box-shadow: -10px 0 0 -7px var(--attn); }
tr.ov-sel td { background: color-mix(in srgb, var(--attn) 13%, var(--panel)); }
tr.ov-dimmed td { opacity: .45; }
td.chv { width: 26px; padding-right: 0 !important; text-align: right; }
td.chv svg { width: 16px; height: 16px; display: block; margin-left: auto; stroke: var(--fg-faint); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .45; transition: transform .12s ease, opacity .12s ease, stroke .12s ease; }
.clk:hover td.chv svg, .clk:focus-visible td.chv svg { opacity: 1; stroke: var(--attn); transform: translateX(3px); }
.v-text.v-true_positive { color: var(--tp); } .v-text.v-false_positive { color: var(--fp); } .v-text.v-undetermined { color: var(--und); } .v-text.v-benign_positive { color: var(--fg-dim); }
.ov-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; } .ov-chips:empty { display: none; }
.ov-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--fg); color: var(--bg-0); border: 0; font: 500 .7rem var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; } .ov-chip::after { content: "\00d7"; font-size: 1rem; line-height: 1; }
.ov-none { margin: 0; padding: 18px 0; color: var(--fg-faint); }
.ov-showmore { display: flex; justify-content: center; padding: 10px 0 12px; border-top: 1px solid var(--line); } .ov-showmore button { appearance: none; background: none; border: 0; cursor: pointer; color: var(--fg-dim); font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; } .ov-showmore button:hover { color: var(--fg); }

/* incident chart: heavy blue line, tinted fill, reads out the hovered day */
.ov-chart-in { position: relative; }
.ov-chart .area-chart .fill { fill: color-mix(in srgb, var(--attn) 18%, transparent); }
.ov-chart .area-chart .line { stroke: var(--attn); stroke-width: 2.6; vector-effect: non-scaling-stroke; }
.ov-chart .area-chart .dot { fill: var(--attn); r: 5; }
.ov-chro { font: 500 .72rem var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--fg-dim); min-height: 18px; margin-bottom: 6px; }
.ov-cur { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--attn); display: none; pointer-events: none; }

/* rail */
.ov-donut { display: flex; gap: 18px; align-items: center; margin-top: 12px; }
.ov-lg-list { display: grid; gap: 2px; flex: 1; min-width: 0; }
.ov-lg { appearance: none; background: transparent; border: 0; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto 38px; gap: 8px; align-items: center; padding: 6px 6px; margin: 0 -6px; cursor: pointer; font: 400 13px var(--font); color: var(--fg); text-align: left; text-transform: capitalize; }
.ov-lg em { font: 400 .72rem var(--mono); color: var(--fg-faint); text-align: right; font-style: normal; }
.ov-lg:hover, .ov-lg:focus-visible { background: var(--panel-2); outline: none; } .ov-lg.on { background: var(--panel-2); box-shadow: inset 3px 0 0 var(--attn); } .ov-lg-list.has-on .ov-lg:not(.on) { opacity: .5; }
.ov-sevbar { display: flex; gap: 2px; height: 10px; margin: 12px 0 10px; } .ov-sevbar i { display: block; height: 100%; }
.ov-tactics { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font: 500 .7rem var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--fg-dim); }
.ov-rt { margin-top: 6px; } .ov-rt td { padding-left: 0; }
.ov-sublbl { display: block; font: 500 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-faint); margin-top: 14px; }
.ov-bud-top { display: flex; justify-content: space-between; font-size: 13px; margin-top: 8px; }
.ov-gauge { position: relative; height: 8px; background: var(--line); margin: 8px 0 2px; } .ov-gauge i { position: absolute; left: 0; top: 0; bottom: 0; } .ov-gauge u { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--attn); left: 80%; }
.ov-fine { font-size: 12.5px; color: var(--fg-faint); line-height: 1.5; margin: 10px 0 0; }
.ov-paused-box { margin-top: 14px; padding: 12px; border: 1px solid var(--line); background: var(--panel-2); font-size: 13px; }
.ov-chain { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font: 600 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; } .ov-chain::before { content: ""; width: 7px; height: 7px; background: currentColor; } .ov-chain.ok { color: var(--fp); } .ov-chain.bad { color: var(--tp); }
.ov-assure-btns { display: grid; gap: 8px; margin-top: 14px; }
.ov-hash { margin-top: 10px; font: 400 .72rem var(--mono); word-break: break-all; color: var(--fg-dim); background: var(--panel-2); padding: 8px 10px; border: 1px solid var(--line); }
@media (max-width: 1000px) { .ov2-grid { grid-template-columns: minmax(0, 1fr); } .ov2-rail { position: static; } .ov-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ov-st:nth-child(odd) { border-left: 0; padding-left: 0; } .ov-head-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ov-open-t, .ov-t { background: transparent; }
.ov-showmore[hidden], .ov-none[hidden] { display: none; }
.ov-donut svg.donut { width: 120px; height: 120px; flex: none; }

/* a fieldset used only to disable a form's controls as one block */
fieldset.plain-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
