/* =============================================================================
   DASHBOARD ▸ OVERVIEW (ovx-* page, ovc-* attention card).
   Six tiles on top, then "Needs your attention" (critical banner, What arrived,
   review items — or the green ALL CLEAR state) beside MITRE ATT&CK insights,
   which is styled in dashboard-overview-sections.css.
   Colours come from --theme-* tokens (global-theme.css); the module hues below
   are the only local palette, tuned per theme so text in that hue keeps
   contrast on both dark and light cards.
   Desktop first: 1920 → 3440, no page max-width (fills like the real app).
   ============================================================================= */

.ovx {
    --ovx-threat: #f85149;
    --ovx-vuln: #e3a33b;
    --ovx-id: #2dd4bf;
    --ovx-ep: #58a6ff;
    --ovx-net: #a371f7;
    --ovx-rule: #f778ba;
    --ovx-muted: #8b949e;
    --ovx-good: #3fb950;
    --ovx-warn: #d29922;
    --ovx-bad: #f85149;
    --ovx-sev-crit: #f85149;
    --ovx-sev-high: #e3a33b;
    --ovx-sev-med: #367fd3;
    --ovx-sev-low: #4b5563;
    --ovx-radius: 14px;
    --ovx-gap: 18px;
    color: var(--theme-text-primary);
    display: flex;
    flex-direction: column;
    gap: var(--ovx-gap);
}
[data-theme="light"] .ovx {
    --ovx-threat: #dc2626;
    --ovx-vuln: #c2710c;
    --ovx-id: #0d9488;
    --ovx-ep: #2563eb;
    --ovx-net: #7c3aed;
    --ovx-rule: #db2777;
    --ovx-muted: #64748b;
    --ovx-good: #16a34a;
    --ovx-warn: #c2710c;
    --ovx-bad: #dc2626;
    --ovx-sev-crit: #dc2626;
    --ovx-sev-high: #f59e0b;
    --ovx-sev-med: #3b82f6;
    --ovx-sev-low: #cbd5e1;
}

/* ------------------------------------------------------------ primitives */
/* zero-specificity reset so component classes keep their own font sizes */
:where(.ovx) button { font: inherit; }
.ovx [role="link"] { cursor: pointer; }
.ovx [role="link"]:focus-visible, .ovx button:focus-visible { outline: 2px solid var(--theme-accent-blue-light); outline-offset: 2px; }
.ovx .ovx-go { color: var(--theme-text-muted); font-size: 16px; transition: transform .15s ease, color .15s ease; }
.ovx [role="link"]:hover > .ovx-go { color: var(--theme-text-primary); transform: translateX(2px); }
.ovx-go-ph { width: 10px; }

.ovx-card {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border-color);
    border-radius: var(--ovx-radius);
    box-shadow: var(--theme-shadow-sm);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.ovx-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px 12px; }
.ovx-card-title { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .1px; color: var(--theme-text-primary); display: flex; align-items: center; gap: 9px; }
.ovx-card-title i { color: var(--theme-text-muted); font-size: 13px; }
.ovx-card-sub { margin: 3px 0 0; font-size: 12.5px; color: var(--theme-text-secondary); }
.ovx-card-body { padding: 4px 20px 18px; flex: 1; min-width: 0; }

.ovx-link { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 3px 0; color: var(--theme-text-link); font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ovx-link:hover { color: var(--theme-text-link-hover); }

.ovx-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .2px; white-space: nowrap; }
.ovx-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ovx-status--bad { color: var(--ovx-bad); }
.ovx-status--warn { color: var(--ovx-warn); }
.ovx-status--good { color: var(--ovx-good); }

.ovx-delta { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ovx-delta i { font-size: 10px; }
.ovx-delta em { font-style: normal; font-weight: 500; color: var(--theme-text-muted); margin-left: 4px; }
.ovx-delta--good { color: var(--ovx-good); }
.ovx-delta--bad { color: var(--ovx-bad); }
.ovx-delta--flat { color: var(--theme-text-muted); }

.ovx-hot { font-size: 12px; font-weight: 600; }
.ovx-hot--bad { color: var(--ovx-bad); }
.ovx-hot--warn { color: var(--ovx-warn); }
.ovx-hot--muted { color: var(--theme-text-secondary); font-weight: 500; }

.ovx-tone--good { color: var(--ovx-good); background: color-mix(in srgb, var(--ovx-good) 14%, transparent); }
.ovx-tone--bad { color: var(--ovx-bad); background: color-mix(in srgb, var(--ovx-bad) 14%, transparent); }
.ovx-tone--warn { color: var(--ovx-warn); background: color-mix(in srgb, var(--ovx-warn) 14%, transparent); }
.ovx-tone--info { color: var(--ovx-ep); background: color-mix(in srgb, var(--ovx-ep) 14%, transparent); }
.ovx-tone--id { color: var(--ovx-id); background: color-mix(in srgb, var(--ovx-id) 14%, transparent); }
.ovx-tone--net { color: var(--ovx-net); background: color-mix(in srgb, var(--ovx-net) 14%, transparent); }
.ovx-tone--neutral { color: var(--theme-text-secondary); background: var(--theme-bg-subtle-strong); }
.ovx-tone-fg--good { color: var(--ovx-good); }
.ovx-tone-fg--warn { color: var(--ovx-warn); }
.ovx-tone-fg--bad { color: var(--ovx-bad); }

.ovx-spark { display: block; color: var(--mod, var(--theme-accent-blue-light)); overflow: visible; }

.ovx-ring { position: relative; flex: none; }
.ovx-ring svg { width: 100%; height: 100%; display: block; }
.ovx-ring-track { fill: none; stroke: var(--theme-bg-subtle-strong); }
.ovx-ring-val { fill: none; stroke-linecap: round; transition: stroke-dasharray .6s ease; }
.ovx-ring--good .ovx-ring-val { stroke: var(--ovx-good); }
.ovx-ring--warn .ovx-ring-val { stroke: var(--ovx-warn); }
.ovx-ring--bad .ovx-ring-val { stroke: var(--ovx-bad); }
.ovx-ring--ep .ovx-ring-val { stroke: var(--ovx-ep); }
.ovx-ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ovx-ring-center strong { font-size: 28px; font-weight: 800; letter-spacing: -1px; color: var(--theme-text-primary); }
.ovx-ring-center span { margin-top: 5px; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.ovx-ring--bad .ovx-ring-center span { color: var(--ovx-bad); }
.ovx-ring--warn .ovx-ring-center span { color: var(--ovx-warn); }
.ovx-ring--good .ovx-ring-center span { color: var(--ovx-good); }
.ovx-ring-center .ovx-ring-sm { font-size: 15px; letter-spacing: 0; }

/* ================================================================= tiles */
.ovx-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--ovx-gap); }
.ovx-tile {
    position: relative;
    display: flex; flex-direction: column; gap: 10px;
    padding: 16px 18px 14px;
    border-radius: var(--ovx-radius);
    border: 1px solid var(--theme-border-color);
    background: linear-gradient(180deg, color-mix(in srgb, var(--mod) 9%, transparent) 0%, transparent 42%), var(--theme-bg-card);
    box-shadow: var(--theme-shadow-sm);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    min-width: 0;
}
.ovx-tile[role="link"]:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--mod) 45%, var(--theme-border-color)); box-shadow: var(--theme-shadow-md); }
.ovx-tile-head { display: flex; align-items: center; gap: 10px; }
.ovx-mod-icon { width: 28px; height: 28px; border-radius: 8px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--mod); background: color-mix(in srgb, var(--mod) 16%, transparent); font-size: 13px; }
.ovx-mod-title { font-size: 13.5px; font-weight: 700; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ovx-tile-figs { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.ovx-tile-val { font-size: 30px; font-weight: 800; letter-spacing: -1px; line-height: 1; font-variant-numeric: tabular-nums; }
.ovx-tile-val small { font-size: 14px; font-weight: 600; color: var(--theme-text-secondary); margin-left: 4px; letter-spacing: 0; }
.ovx-tile-label { font-size: 12px; color: var(--theme-text-secondary); flex: 1; }
.ovx-tile-viz { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 64px; }
.ovx-tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--theme-border-subtle); min-width: 0; }
.ovx-tile-foot .ovx-hot { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ovx-tile-note { font-size: 11.5px; color: var(--theme-text-muted); white-space: nowrap; }
.ovx-tile-spark { width: 100%; height: 58px; }

.ovx-tile--posture { cursor: default; }
.ovx-tile-posture { display: flex; align-items: center; gap: 16px; flex: 1; }
.ovx-tile-subs { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ovx-tile-subs > div { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--theme-text-secondary); cursor: pointer; }
.ovx-tile-subs > div:hover { color: var(--theme-text-primary); }
.ovx-tile-subs strong { font-variant-numeric: tabular-nums; }

.ovx-minibars { display: flex; align-items: flex-end; gap: 3px; height: 62px; }
.ovx-minibars span { flex: 1; height: 100%; display: flex; flex-direction: column-reverse; gap: 1px; }
.ovx-minibars i { display: block; border-radius: 2px; }
.ovx-minibars .b-rest { background: color-mix(in srgb, var(--ovx-threat) 26%, var(--theme-bg-subtle-strong)); }
.ovx-minibars .b-hot { background: var(--ovx-threat); }
.ovx-minibars span:hover i { filter: brightness(1.2); }

.ovx-seg { display: flex; gap: 2px; height: 12px; border-radius: 999px; overflow: hidden; }
.ovx-seg i { display: block; flex-basis: 0; min-width: 3px; }
.ovx-seg-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; margin-top: 10px; font-size: 11.5px; color: var(--theme-text-secondary); }
.ovx-seg-legend span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.ovx-seg-legend span i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.ovx-seg-legend strong { margin-left: auto; color: var(--theme-text-primary); font-variant-numeric: tabular-nums; }
.k-kev { background: #b91c1c; }
[data-theme="light"] .k-kev { background: #7f1d1d; }
.k-crit { background: var(--ovx-sev-crit); }
.k-high { background: var(--ovx-sev-high); }
.k-med { background: var(--ovx-sev-med); }
.k-other { background: var(--theme-text-disabled); }
.k-good { background: var(--ovx-good); }

.ovx-epviz { display: flex; align-items: center; gap: 14px; }
.ovx-epviz-legend { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; color: var(--theme-text-secondary); }
.ovx-epviz-legend span { display: flex; align-items: center; gap: 6px; }
.ovx-epviz-legend i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.ovx-epviz-legend strong { margin-left: auto; color: var(--theme-text-primary); }

/* ========================================================= page layout
   Needs your attention beside ATT&CK insights: two equal cards in one row that
   stretches both to the same height (nothing floats or sticks). */
.ovx-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ovx-gap); align-items: stretch; }
.ovx-slot { display: flex; flex-direction: column; min-width: 0; }
.ovx-slot > .ovx-card { flex: 1; }

/* ========================================================== mockup bar / tip / toast */
.ovx-dock {
    position: fixed; right: 22px; bottom: 22px; z-index: 1200;
    display: flex; align-items: center; gap: 4px;
    padding: 6px 6px 6px 14px; border-radius: 14px;
    background: var(--theme-bg-dropdown); border: 1px solid var(--theme-border-strong);
    box-shadow: var(--theme-shadow-xl); backdrop-filter: blur(10px);
    color: var(--theme-text-primary); font-size: 12.5px;
    transition: transform .25s ease, opacity .25s ease;
}
.ovx-dock.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.ovx-dock-k { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: var(--theme-text-muted); margin-right: 6px; }
.ovx-dock-sep { width: 1px; height: 22px; background: var(--theme-border-color); margin: 0 4px; }
.ovx-dock-btn, .ovx-dock-hide { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--theme-text-secondary); padding: 7px 11px; border-radius: 9px; cursor: pointer; font-size: 12.5px; font-weight: 600; transition: background .15s ease, color .15s ease; }
.ovx-dock-hide { padding: 7px 9px; font-size: 14px; }
.ovx-dock-btn:hover, .ovx-dock-hide:hover { background: var(--theme-bg-subtle-hover); color: var(--theme-text-primary); }
.ovx-dock-btn.is-on { background: var(--theme-danger); color: #fff; }
.ovx-dock-btn.is-on.is-good { background: var(--theme-success-dark); }
.ovx-dock-btn.is-on.is-neutral { background: var(--theme-accent-blue); }

.ovx-tip { position: fixed; left: 0; top: 0; z-index: 1300; pointer-events: none; max-width: 320px; padding: 8px 11px; border-radius: 9px; background: var(--theme-modal-bg); color: var(--theme-text-primary); border: 1px solid var(--theme-border-strong); box-shadow: var(--theme-shadow-lg); font-size: 12px; line-height: 1.45; white-space: pre-line; opacity: 0; transition: opacity .12s ease; }
[data-theme="light"] .ovx-tip { background: #fff; }

@keyframes ovx-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.ovx-toast { position: fixed; left: 50%; bottom: 26px; z-index: 1300; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 11px 14px 11px 16px; border-radius: 12px; background: var(--theme-modal-bg); color: var(--theme-text-primary); border: 1px solid var(--theme-border-strong); box-shadow: var(--theme-shadow-xl); font-size: 13px; animation: ovx-in .25s ease both; transition: opacity .3s ease; }
[data-theme="light"] .ovx-toast { background: #fff; }
.ovx-toast .fa { color: var(--theme-success); }
.ovx-toast.is-out { opacity: 0; }

/* ========================================================== the two cards (ovc-*)
   Shared card chrome for Needs your attention and ATT&CK insights. */
.ovc-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px 14px; }
.ovc-head > div { flex: 1; min-width: 0; }
.ovc-head h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--theme-text-primary); }
.ovc-head p { margin: 3px 0 0; font-size: 12.5px; color: var(--theme-text-secondary); }
.ovc-head p b { color: var(--ovx-bad); }
.ovc-head-ic { width: 42px; height: 42px; flex: none; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; color: var(--ovx-bad); background: color-mix(in srgb, var(--ovx-bad) 14%, transparent); }
.ovc-att.is-clear .ovc-head-ic { color: var(--ovx-good); background: color-mix(in srgb, var(--ovx-good) 14%, transparent); }
.ovc-btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--theme-border-color); background: var(--theme-bg-subtle); color: var(--theme-text-primary); font-size: 12.5px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.ovc-btn:hover { border-color: var(--theme-border-strong); background: var(--theme-bg-subtle-hover); }
.ovc-body { flex: 1; display: flex; flex-direction: column; padding: 0 20px 18px; min-width: 0; }

.ovc-spot { border-radius: 12px; border: 1px solid var(--theme-border-color); background: var(--theme-bg-subtle); box-shadow: inset 3px 0 0 var(--ovx-bad); cursor: pointer; }
.ovc-spot:hover { border-color: var(--theme-border-strong); }
.ovc-spot-main { display: flex; align-items: center; gap: 14px; padding: 16px 16px 14px 18px; }
.ovc-spot-ic { width: 46px; height: 46px; flex: none; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ovx-bad); background: color-mix(in srgb, var(--ovx-bad) 14%, transparent); }
.ovc-spot-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ovc-spot-text em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: var(--ovx-bad); }
/* between the 17px card title and the 14px section headings: the eyebrow, red rule and button carry the urgency */
.ovc-spot-text strong { font-size: 15px; font-weight: 700; color: var(--theme-text-primary); }
.ovc-spot-text span { font-size: 12.5px; color: var(--theme-text-secondary); }
.ovc-spot-cta { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 8px; background: var(--ovx-bad); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.ovc-spot-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 11px 18px 12px; border-top: 1px solid var(--theme-border-subtle); font-size: 12.5px; color: var(--theme-text-secondary); }
.ovc-spot-facts span { display: inline-flex; align-items: center; gap: 7px; }
.ovc-spot-facts .fa { color: var(--theme-text-muted); }
.ovc-spot-facts .is-ok .fa { color: var(--ovx-good); }

.ovc-sub { display: flex; align-items: center; justify-content: space-between; margin: 18px 2px 4px; }
.ovc-sub h4 { margin: 0; font-size: 14px; font-weight: 700; color: var(--theme-text-primary); }
.ovc-rows { display: flex; flex-direction: column; }
.ovc-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 104px 14px; align-items: center; gap: 14px; padding: 11px 6px; border-top: 1px solid var(--theme-border-subtle); cursor: pointer; }
.ovc-row:first-child { border-top: 0; }
.ovc-row[role="link"]:hover { background: var(--theme-bg-subtle-hover); border-radius: 9px; }
.ovc-row-ic { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: var(--mod); background: color-mix(in srgb, var(--mod) 14%, transparent); }
.ovc-row-ic--ok { width: 26px; height: 26px; border-radius: 50%; font-size: 11px; color: var(--ovx-good); background: color-mix(in srgb, var(--ovx-good) 14%, transparent); }
.ovc-row-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
/* item titles sit one step below the 14px section headings (Other items for your review) */
.ovc-row-main strong { font-size: 13px; font-weight: 600; color: var(--theme-text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ovc-row-main span { font-size: 12px; color: var(--theme-text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ovc-row-main b { color: var(--theme-text-primary); }
.ovc-row-ago { font-size: 12px; color: var(--theme-text-muted); text-align: right; white-space: nowrap; }
.ovc-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 76px; height: 26px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.ovc-pill--critical { color: var(--ovx-sev-crit); background: color-mix(in srgb, var(--ovx-sev-crit) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ovx-sev-crit) 35%, transparent); }
.ovc-pill--high { color: var(--ovx-sev-high); background: color-mix(in srgb, var(--ovx-sev-high) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ovx-sev-high) 35%, transparent); }
.ovc-pill--medium { color: var(--ovx-warn); background: color-mix(in srgb, var(--ovx-warn) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ovx-warn) 35%, transparent); }
.ovc-pill--low { color: var(--ovx-ep); background: color-mix(in srgb, var(--ovx-ep) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ovx-ep) 32%, transparent); }
[data-theme="light"] .ovc-pill--high { color: #c2410c; }

.ovc-clear { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 12px; background: color-mix(in srgb, var(--ovx-good) 9%, transparent); border: 1px solid color-mix(in srgb, var(--ovx-good) 30%, transparent); }
.ovc-clear-ic { width: 46px; height: 46px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; background: var(--ovx-good); }
.ovc-clear strong { display: block; font-size: 16px; color: var(--theme-text-primary); }
.ovc-clear > div > span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--theme-text-secondary); }
.ovc-rows--clear { margin-top: 12px; }
.ovc-rows--clear .ovc-row { grid-template-columns: 26px minmax(0, 1fr); padding: 8px 6px; cursor: default; }
.ovc-rows--clear .ovc-row-main strong { font-weight: 600; color: var(--theme-text-secondary); }

/* ========================================================== What arrived (Insights attention)
   14 days of arrivals stacked by attention class, the last review marked. */
.ovc-sub h4 em, .ovi-title em { font-style: normal; font-weight: 500; color: var(--theme-text-muted); }
.ovc-sub-note { font-size: 12.5px; color: var(--theme-text-secondary); }
.ovc-sub-note b { color: var(--ovx-bad); }


.ovc-flow-wrap { margin-bottom: 4px; }
.ovc-flow-wrap .ovc-sub { margin-bottom: 10px; }
.ovc-flow { position: relative; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; align-items: end; height: 104px; padding: 0 2px; border-bottom: 1px solid var(--theme-border-color); }
.ovc-flow-col { display: flex; align-items: flex-end; height: 100%; cursor: default; }
.ovc-flow-stack { display: flex; flex-direction: column-reverse; width: 100%; min-height: 2px; border-radius: 4px 4px 0 0; overflow: hidden; opacity: .42; transition: opacity .15s; }
.ovc-flow-stack i { display: block; min-height: 3px; background: var(--mod); box-shadow: inset 0 1px 0 rgba(0, 0, 0, .25); }
.ovc-flow-col.is-after .ovc-flow-stack { opacity: 1; }
.ovc-flow-col:hover .ovc-flow-stack { opacity: .85; }
.ovc-flow-col.is-after:hover .ovc-flow-stack { opacity: 1; }
.ovc-flow-mark { position: absolute; top: -6px; bottom: -1px; width: 0; border-left: 2px dashed var(--theme-text-secondary); pointer-events: none; }
.ovc-flow-mark em { position: absolute; top: 0; right: 8px; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--theme-border-subtle); background: var(--theme-bg-card); font-style: normal; font-size: 11px; font-weight: 600; white-space: nowrap; color: var(--theme-text-secondary); }
.ovc-flow-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--theme-text-muted); }
.ovc-flow-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12px; color: var(--theme-text-secondary); }
.ovc-flow-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ovc-flow-legend i { width: 9px; height: 9px; border-radius: 3px; background: var(--mod); }
.ovc-flow-legend b { color: var(--theme-text-primary); font-variant-numeric: tabular-nums; }
.ovc-att.is-clear .ovc-flow-wrap { margin-top: 6px; }

.ovc-row--item { grid-template-columns: 34px minmax(0, 1fr) auto 92px 14px; }



/* ========================================================== Essential tiles (mockup comparison)
   Status, the main number and one line on why it matters — no mini-charts,
   legends or trend chips. */
.ovx-tiles--essential .ovx-tile { gap: 12px; padding: 14px 18px 12px; }
.ovx-tiles--essential .ovx-tile-figs { flex-direction: column; align-items: flex-start; gap: 5px; }
.ovx-tiles--essential .ovx-tile-val { font-size: 32px; }
.ovx-tiles--essential .ovx-tile-label { font-size: 12.5px; }
.ovx-tiles--essential .ovx-tile--posture .ovx-tile-label { font-weight: 700; text-transform: uppercase; letter-spacing: .5px; font-size: 11.5px; }
.ovx-tiles--essential .ovx-tile-foot { margin-top: auto; }

/* ========================================================== Plain style (mockup comparison)
   Same layout, colours and meaning — no gradient tints, halos, pulse or hover lifts.
   Status stays readable through the top accent bar, severity dots and numbers. */
.ovx--plain .ovx-tile { background: var(--theme-bg-card); }
.ovx--plain .ovx-tile[role="link"]:hover { transform: none; box-shadow: var(--theme-shadow-sm); border-color: var(--theme-border-strong); }

/* ========================================================== responsive (desktop first) */
@media (min-width: 2400px) {
    .ovx { --ovx-gap: 22px; }
}
@media (max-width: 1700px) {
    .ovx-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1300px) {
    .ovx-row { grid-template-columns: 1fr; }
}
