/* =====================================================================
   KPI demo - operations pages and the command centre (v0.7)
   Purpose : Styles for the Alerts, Decisions and Data pipeline pages, the
             full-width tabbed strip on the command centre, the new
             command centre header, and the shared pieces they use (alert
             timeline, level bars, decision cards, the animated pipeline).
             Motion is short and stops for "reduce motion".
   Related : js/modules/ops.js, js/modules/command.js, css/mapwin.css
             (dark stage tokens), css/map.css
   Version : 0.7
   ===================================================================== */

/* ---------- command centre header (v0.7: quieter, two figures removed) ---------- */
.cc-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: end; margin: 4px 0 18px; }
.cc-hero .cc-date { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.cc-hero .cc-date::before { content: ""; width: 26px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, var(--accent), var(--rule-b, #89a04a)); }
.cc-hero .cc-hi { font-family: var(--f-display); font-size: clamp(17px, 1.6vw, 20px); font-weight: 450; color: var(--ink-2); margin: 10px 0 4px; }
.cc-hero h1 { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -.012em; color: var(--ink); max-width: 30ch; margin: 0; }
.cc-hero .lede { margin: 10px 0 0; max-width: 64ch; color: var(--muted); font-size: 14px; }
.cc-hero .cc-mode { align-self: start; }
.cc-pulse { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 0 18px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cc-pulse a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 14px 16px; background: var(--surface); color: var(--ink); text-decoration: none; min-height: 76px; }
.cc-pulse a:hover { background: var(--surface-2); }
.cc-pulse a:hover .pv { color: var(--brand-ink); }
.cc-pulse .pi { grid-row: span 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-tint); color: var(--brand-ink); }
.cc-pulse .pi svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cc-pulse .pv { font-family: var(--f-display); font-size: 25px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 8px; }
.cc-pulse .pv small { font-size: 12.5px; font-weight: 500; color: var(--muted); font-family: var(--f-text); }
.cc-pulse .pl { font-size: 12.5px; color: var(--muted); }
.cc-pulse .p-alerts .pi { background: color-mix(in srgb, var(--critical) 14%, transparent); color: var(--critical); }
.cc-pulse .p-decide .pi { background: var(--gold-tint); color: var(--gold-ink); }
@media (max-width: 1000px) { .cc-pulse { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cc-hero { grid-template-columns: 1fr; } .cc-pulse { grid-template-columns: 1fr 1fr; } .cc-pulse a { grid-template-columns: 1fr; padding: 12px; } .cc-pulse .pi { display: none; } }

.cc-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 14px; }
.cc-chips .sep { width: 1px; height: 18px; background: var(--line-2); margin: 0 4px; }
.cc-chips .lab { font-size: 12.5px; color: var(--muted); margin-right: 2px; }
.dchip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 3px 12px 3px 9px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink); border: 1px solid var(--line-2); background: var(--surface); transition: border-color .15s, background .15s; }
.dchip:hover { border-color: var(--brand); color: var(--brand-ink); }
.dchip.lv3 { background: color-mix(in srgb, var(--critical) 9%, var(--surface)); border-color: color-mix(in srgb, var(--critical) 35%, transparent); }
.dchip.lv2 { background: color-mix(in srgb, var(--serious) 9%, var(--surface)); border-color: color-mix(in srgb, var(--serious) 35%, transparent); }

/* ---------- the full-width strip: tabs ---------- */
.ops-strip { margin: 0 0 20px; }
.ops-tabs { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 8px; position: relative; z-index: 1; }
.ops-tab { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 4px 12px; text-align: left; padding: 14px 16px 18px; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--surface); color: var(--ink); font: inherit; overflow: hidden; transition: background .2s var(--ease), transform .2s var(--ease); }
.ops-tab:hover { background: var(--surface-2); }
.ops-tab[aria-selected="false"] { transform: translateY(6px); }
.ops-tab[aria-selected="false"]:hover { transform: translateY(3px); }
.ops-tab[aria-selected="true"] { background: #0b2d29 radial-gradient(120% 140% at 20% 0%, #155a52 0%, #0b2d29 60%); color: #fff; border-color: rgba(143, 240, 224, .2); }
.ops-tab .ot-ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-ink); transition: background .2s; }
.ops-tab .ot-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ops-tab[aria-selected="true"] .ot-ic { background: rgba(143, 240, 224, .14); color: #9ff3e5; }
.ops-tab.t-alerts .ot-ic { color: var(--critical); background: color-mix(in srgb, var(--critical) 12%, transparent); }
.ops-tab.t-alerts[aria-selected="true"] .ot-ic { color: #ff8f86; background: rgba(229, 83, 75, .18); }
.ops-tab.t-decisions .ot-ic { color: var(--gold-ink); background: var(--gold-tint); }
.ops-tab.t-decisions[aria-selected="true"] .ot-ic { color: #e4d36b; background: rgba(228, 211, 107, .16); }
.ops-tab .ot-txt { grid-row: span 2; display: flex; flex-direction: column; min-width: 0; }
.ops-tab .ot-l { font-family: var(--f-display); font-size: 16px; font-weight: 700; }
.ops-tab .ot-d { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ops-tab[aria-selected="true"] .ot-d { color: #a9cdc5; }
.ops-tab .ot-n { grid-row: span 2; font-family: var(--f-display); font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.ops-tab .ot-lv, .ops-tab .ot-dots, .ops-tab .ot-spark { position: absolute; left: 16px; right: 16px; bottom: 7px; height: 4px; display: flex; gap: 2px; }
.ot-lv i { border-radius: 2px; }
.ot-lv .lv3 { background: var(--critical); } .ot-lv .lv2 { background: var(--serious); } .ot-lv .lv1 { background: var(--warn); } .ot-lv .lv0 { background: var(--good); }
.ops-tab .ot-dots { gap: 5px; height: 6px; }
.ot-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.ot-dots .g-over { background: var(--critical); } .ot-dots .g-today { background: var(--gold); } .ot-dots .g-tom { background: var(--brand); } .ot-dots .g-week { background: var(--muted); }
.ops-tab .ot-spark { align-items: flex-end; height: 14px; bottom: 5px; gap: 2px; }
.ot-spark i { flex: 1; border-radius: 1.5px 1.5px 0 0; background: var(--brand); opacity: .55; }
.ops-tab[aria-selected="true"] .ot-spark i { background: #6fecd8; opacity: .8; }
.ops-tab:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }

/* the panel under the tabs (dark stage) */
.ops-panel { position: relative; border-radius: 0 0 16px 16px; padding: 16px; margin-top: -1px; border: 1px solid rgba(143, 240, 224, .2); border-top: 0;
  background: radial-gradient(110% 120% at 20% 0%, #155a52 0%, #0b2d29 42%, #061c19 100%); color: var(--ink); min-height: 340px; }
.ops-panel.swap { animation: opsIn .32s var(--ease); }
@keyframes opsIn { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.op-grid { display: grid; gap: 16px; }
.al-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 250px; }
.dc-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) 210px; }
.op-map { position: relative; border-radius: 12px; overflow: hidden; background: rgba(0, 0, 0, .16); border: 1px solid rgba(255, 255, 255, .06); }
.op-map .map-box { height: 330px; }
.op-list { min-width: 0; max-height: 340px; overflow: auto; padding-right: 2px; }
.op-sum { display: flex; flex-direction: column; gap: 14px; }
.op-sum .btn { align-self: flex-start; }
.op-cards { display: grid; gap: 10px; align-content: start; }
.op-pipe-foot { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; margin-top: 12px; }
.op-hour { background: rgba(0, 0, 0, .16); border-radius: 12px; padding: 8px 10px 4px; }
.op-late .pin { max-width: 100%; }
.ops-strip.simple .op-map .kpm-ctl { display: none; }
@media (max-width: 1100px) { .al-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .al-grid .op-sum { grid-column: span 2; flex-direction: row; flex-wrap: wrap; align-items: flex-end; } .al-grid .op-sum .lvbars { flex: 1; min-width: 260px; } .dc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dc-grid .op-sum { grid-column: span 2; } }
@media (max-width: 760px) {
  .ops-tabs { gap: 4px; }
  .ops-tab { grid-template-columns: 1fr auto; padding: 10px 10px 14px; gap: 2px 6px; }
  .ops-tab .ot-ic { display: none; }
  .ops-tab .ot-l { font-size: 13.5px; } .ops-tab .ot-d { display: none; } .ops-tab .ot-n { font-size: 20px; }
  .ops-tab[aria-selected="false"] { transform: none; }
  .al-grid, .dc-grid, .op-pipe-foot { grid-template-columns: 1fr; } .al-grid .op-sum, .dc-grid .op-sum { grid-column: auto; }
  .op-map .map-box { height: 280px; }
  .ops-panel { padding: 12px; }
}

/* map expand button on a dark map */
.map-expand.on-dark { background: rgba(4, 22, 19, .82); border-color: rgba(255, 255, 255, .16); color: #dcefe9; }
.map-expand.on-dark:hover { color: #fff; border-color: rgba(143, 240, 224, .5); }

/* ---------- alerts ---------- */
.alist { list-style: none; margin: 0; padding: 0; }
.al { display: grid; grid-template-columns: 62px 24px minmax(0, 1fr) auto; gap: 4px 10px; align-items: start; padding: 10px 6px; border-bottom: 1px solid var(--line); }
.al:last-child { border-bottom: 0; }
.al-t { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.al-i { padding-top: 1px; }
.al-x { font-weight: 600; font-size: 13.5px; line-height: 1.35; }
.al-m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.al-m a { color: var(--brand-ink); }
.al.new { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); border-radius: 8px; }
.al.lv3 .al-x { color: var(--ink); }
.ticker .al { animation: alIn .5s var(--ease) both; animation-delay: calc(var(--d, 0) * 70ms); }
@keyframes alIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.srcpill { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.srcpill svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.srcpill.field { border-color: var(--gold-line); color: var(--gold-ink); background: var(--gold-tint); }
.dark-stage .srcpill.field, .ops-panel .srcpill.field { background: rgba(228, 211, 107, .14); border-color: rgba(228, 211, 107, .4); color: #e4d36b; }
.ops-panel .al { border-bottom-color: rgba(255, 255, 255, .08); }
.ops-panel .al-m a { color: #9ff3e5; }

.lvbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.lvbars li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 30px; align-items: center; gap: 10px; font-size: 13px; }
.lvbars .lb { display: flex; align-items: center; gap: 6px; }
.lvbars b { font-family: var(--f-display); font-size: 18px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.lvbars .track { height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
.lvbars .track i { display: block; height: 100%; width: var(--w); border-radius: 4px; animation: grow .8s var(--ease) both; }
@keyframes grow { from { width: 0; } }
.lvbars .lv3 i { background: var(--critical); } .lvbars .lv2 i { background: var(--serious); } .lvbars .lv1 i { background: var(--warn); } .lvbars .lv0 i { background: var(--good); }

.ops-head h1 { max-width: 44ch; }
.ops-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; margin-bottom: 16px; }
.ops-stage { position: relative; border-radius: 16px; overflow: hidden; min-height: 300px; }
.ops-stage .map-box { height: clamp(380px, 52vh, 520px); }
.ops-stage.small .map-box { height: 320px; }
.ops-stage .map-expand { left: 12px; top: 12px; }
.ops-stage .mw-legend { left: 12px; bottom: 12px; }
.ops-side h2 { font-size: 15px; margin: 0 0 12px; }
.srclist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.srclist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; }
.srclist .pin, .late .pin { max-width: 100%; min-width: 0; }
.srclist .pin .t, .late .pin .t { white-space: normal; }
.srclist b { font-variant-numeric: tabular-nums; }
.ops-time .fchips { margin-bottom: 8px; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 600; }
.fchip span { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 500; }
.fchip:hover { border-color: var(--brand); color: var(--brand-ink); }
.fchip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.fchip[aria-pressed="true"] span { color: inherit; }
.al-day { font-size: 13px; color: var(--muted); font-weight: 600; margin: 16px 0 2px; }
.ring { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; }
.ring.gold { color: #e4d36b; }
.dummy.on-dark { color: #cfe5df; border-color: rgba(255, 255, 255, .3); }
@media (max-width: 1000px) { .ops-hero { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .al { grid-template-columns: 44px 20px minmax(0, 1fr); } .al .icon-btn { display: none; } }

/* ---------- decisions ---------- */
.dcard { position: relative; padding: 12px 14px 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: opacity .26s var(--ease), transform .26s var(--ease); }
.dcard::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 3px 3px 0; background: var(--muted); }
.dcard.g-over::before { background: var(--critical); } .dcard.g-today::before { background: var(--gold); } .dcard.g-tom::before { background: var(--brand); }
.dcard.done { opacity: .78; } .dcard.done::before { background: var(--good); }
.dcard.leaving { opacity: 0; transform: translateX(24px); }
.dcard h3 { font-size: 14px; font-weight: 650; line-height: 1.35; margin: 6px 0 4px; }
.dc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.dc-id { font-weight: 650; font-variant-numeric: tabular-nums; }
.dc-due { display: inline-flex; align-items: center; gap: 4px; }
.dc-due svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.g-over .dc-due { color: var(--critical); font-weight: 650; } .g-today .dc-due { color: var(--gold-ink); font-weight: 650; }
.dc-m { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; }
.dc-m a { color: var(--brand-ink); }
.dc-act { display: flex; flex-wrap: wrap; gap: 6px; }
.ops-panel .dcard { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.ops-panel .dc-m a { color: #9ff3e5; }
.ops-panel .g-today .dc-due { color: #e4d36b; }
.duebar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.duebar li { padding: 10px 10px 9px; border-radius: 10px; background: var(--surface-2); border-top: 3px solid var(--muted); }
.duebar b { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 800; line-height: 1.1; }
.duebar span { font-size: 12px; color: var(--muted); }
.duebar .g-over { border-color: var(--critical); } .duebar .g-today { border-color: var(--gold); } .duebar .g-tom { border-color: var(--brand); } .duebar .g-done { border-color: var(--good); }
.duebar .zero { opacity: .55; }
.duebar.v { grid-template-columns: 1fr 1fr; }
.ops-panel .duebar li { background: rgba(255, 255, 255, .05); }
.ops-side .duebar { grid-template-columns: 1fr 1fr; }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.kcol { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 10px; }
.kcol h2 { display: flex; align-items: center; justify-content: space-between; font-size: 14px; margin: 0; }
.kcol h2 span { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.kempty { font-size: 12.5px; color: var(--muted); margin: 0; padding: 14px 6px; text-align: center; border: 1px dashed var(--line-2); border-radius: 10px; }
.ops-panel .kempty { border-color: rgba(255, 255, 255, .18); }
@media (max-width: 1200px) { .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dsteps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: ds; }
.dsteps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13px; color: var(--ink-2); counter-increment: ds; }
.dsteps li::before { content: counter(ds); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-ink); font-weight: 700; font-size: 12px; }
.ops-side h3 { font-size: 13.5px; margin: 18px 0 0; }
@media (max-width: 760px) { .kanban { grid-template-columns: 1fr; } .duebar { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- data pipeline: the animated flow ---------- */
.flow-panel { border-radius: 16px; border: 0; margin-bottom: 16px; }
.flow-panel .panel-head h2 { color: #fff; }
.flow { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 26px 56px; align-items: center; padding: 8px 4px; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.fl-path { fill: none; stroke: var(--c); stroke-opacity: .32; stroke-width: 1.6; stroke-dasharray: 3 5; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -16; } }
.fl-col { position: relative; z-index: 1; display: grid; gap: 10px; }
.fl-node { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(4, 22, 19, .72); border: 1px solid rgba(255, 255, 255, .12); }
.fl-node b { display: block; font-size: 13.5px; color: #fff; }
.fl-node span { display: block; font-size: 12px; color: #a9cdc5; }
.fl-node em { font-style: normal; font-family: var(--f-display); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.fl-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(143, 240, 224, .14); color: #9ff3e5; }
.fl-ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.src-pmru .fl-ic { background: rgba(251, 138, 60, .18); color: #fdba74; } .src-pmru { border-color: rgba(251, 138, 60, .4); }
.src-file .fl-ic { background: rgba(159, 214, 142, .16); color: #b9e3a9; }
.src-field .fl-ic { background: rgba(228, 211, 107, .16); color: #e4d36b; }
.fl-node.big { grid-template-columns: auto minmax(0, 1fr); padding: 14px; }
.fl-node.end { border-color: rgba(143, 240, 224, .45); box-shadow: 0 0 0 4px rgba(111, 236, 216, .06), 0 0 24px rgba(111, 236, 216, .12); }
.fl-node.held { margin-top: 26px; border-style: dashed; border-color: rgba(239, 138, 95, .5); grid-template-columns: auto minmax(0, 1fr); }
.fl-node.held .fl-ic { background: rgba(239, 138, 95, .16); color: #f3a585; }
.flow.compact { gap: 14px 46px; }
.flow.compact .fl-node { padding: 8px 10px; }
.flow.compact .fl-node span { font-size: 11.5px; }
.flow.compact .fl-ic { width: 30px; height: 30px; }
.flow.compact .fl-node.held { margin-top: 14px; }
@media (max-width: 900px) {
  .flow, .flow.compact { grid-template-columns: 1fr; gap: 10px; }
  .flow .fl-col.fl-mid::before, .flow .fl-col.fl-end::before { content: ""; justify-self: center; width: 2px; height: 14px; background: rgba(143, 240, 224, .4); }
  .flow-lines { display: none; }
  .fl-node.held { margin-top: 0; }
}
.late { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.late li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; }
.late-t { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--serious-ink, var(--muted)); }
.late-t svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }

@media (prefers-reduced-motion: reduce) {
  .ops-panel.swap, .ticker .al, .lvbars .track i, .fl-path, .dcard { animation: none !important; transition: none !important; }
  .ops-tab { transition: none; }
}
