/* ============================================================================
   Daily Operations — "Work queues" redesign (KAMO)
   ----------------------------------------------------------------------------
   A navy hero with a lead band of compliance gauges, a unified selectable
   queue grid grouped by category (Inventory / Compliance / Cash), and one
   detail-table panel that swaps content when a queue tile is picked.

   Everything is scoped under `#tab-daily_ops .do-v2-root` so the generic class
   names (.hero-tile, .qtile, .dp, …) and the reset can't leak into the rest of
   the app. This sheet is linked LAST in index.html so it wins at equal
   specificity. Bump the ?v= cache-bust in index.html when editing.
   ========================================================================== */

/* Single-column: the old two-pane (Operations Overview right rail) is no
   longer used here — Overview is its own tab — so collapse it. */
#tab-daily_ops .daily-ops-twopane { display: block; }
#tab-daily_ops .daily-ops-twopane__overview { display: none !important; }
#tab-daily_ops .daily-ops-twopane,
#tab-daily_ops .daily-ops-board {
  padding: 0; margin: 0; width: 100%; max-width: none;
}

/* ---- Design tokens + page canvas ---------------------------------------- */
#tab-daily_ops .do-v2-root {
  --well: #EEF3F9; --surface: #FFFFFF; --line: rgba(27, 66, 120, .14);
  --ink: #16294A; --ink-dim: #4A6386; --ink-faint: #8298B5;
  --cyan: #46B7E8; --cyan-mid: #1FA0D9; --cyan-deep: #1180B6;
  --green: #179C63; --amber: #C57E12; --red: #D63B57; --purple: #7A5FB8;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --display: 'Archivo', sans-serif; --body: 'Inter', sans-serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(22, 41, 74, .05), 0 6px 18px rgba(22, 41, 74, .09);

  font-family: var(--body);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(70, 183, 232, .07), transparent 60%),
    #FFFFFF;
  padding: 24px clamp(14px, 3vw, 36px) 60px;
  min-height: 100%;
}
#tab-daily_ops .do-v2-root * { margin: 0; padding: 0; box-sizing: border-box; }
#tab-daily_ops .do-v2-root button { font-family: inherit; cursor: pointer; }
#tab-daily_ops .do-v2-root svg { display: block; }

/* ---- Hero -------------------------------------------------------------- */
#tab-daily_ops .do-v2-root .hero-tile {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; box-shadow: 0 10px 30px rgba(11, 23, 48, .18);
  overflow: hidden; margin-bottom: 22px;
}
#tab-daily_ops .do-v2-root .page-head {
  position: relative;
  background: linear-gradient(135deg, #1C3A6A 0%, #13264A 45%, #0B1730 100%);
  padding: 24px 26px;
}
#tab-daily_ops .do-v2-root .page-head h1 {
  font-family: var(--display); font-weight: 800; font-size: 27px;
  letter-spacing: .01em; line-height: 1.1; color: #fff; padding-right: 80px;
}
#tab-daily_ops .do-v2-root .scope-chips {
  display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; align-items: center;
}
#tab-daily_ops .do-v2-root .scope-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px;
  font-weight: 700; color: #fff; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 9px;
  padding: 7px 12px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}
#tab-daily_ops .do-v2-root .scope-chip i {
  font-style: normal; font-weight: 600; font-size: 10.5px; letter-spacing: .09em; color: #8FA9CC;
}
#tab-daily_ops .do-v2-root .hero-actions {
  position: absolute; top: 18px; right: 18px; display: flex; align-items: center; gap: 10px;
}
#tab-daily_ops .do-v2-root .hero-export,
#tab-daily_ops .do-v2-root .hero-refresh {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px; color: #E5EEF9; cursor: pointer;
}
#tab-daily_ops .do-v2-root .hero-export:hover,
#tab-daily_ops .do-v2-root .hero-refresh:hover { background: rgba(255, 255, 255, .14); }
/* Spin the icon while a forced refresh is in flight. */
#tab-daily_ops .do-v2-root .hero-refresh.is-refreshing { pointer-events: none; opacity: .8; }
#tab-daily_ops .do-v2-root .hero-refresh.is-refreshing svg { animation: do-hero-refresh-spin .8s linear infinite; }
@keyframes do-hero-refresh-spin { to { transform: rotate(360deg); } }
#tab-daily_ops .do-v2-root .do-synced-line {
  display: block; margin-top: 12px; font-size: 11px; font-weight: 600;
  letter-spacing: .02em; color: #8FA9CC;
}

/* ---- Lead band: open count + gauges ------------------------------------ */
#tab-daily_ops .do-v2-root .lead-band { display: flex; align-items: stretch; background: var(--surface); }
#tab-daily_ops .do-v2-root .lead-stat {
  flex: none; width: 200px; padding: 20px 22px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
}
#tab-daily_ops .do-v2-root .lead-stat .v {
  font-family: var(--display); font-weight: 800; font-size: 42px; line-height: .95;
  letter-spacing: -.02em; color: var(--ink);
}
#tab-daily_ops .do-v2-root .lead-stat .l {
  font-size: 12px; color: var(--ink-dim); text-transform: uppercase;
  letter-spacing: .06em; font-weight: 600; margin-top: 6px;
}
#tab-daily_ops .do-v2-root .lead-stat .sub { font-size: 11.5px; color: var(--ink-faint); margin-top: 8px; }
#tab-daily_ops .do-v2-root .gauges { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); }
#tab-daily_ops .do-v2-root .gauge-tile {
  padding: 16px 14px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; border-right: 1px solid var(--line);
}
#tab-daily_ops .do-v2-root .gauge-tile:last-child { border-right: none; }
#tab-daily_ops .do-v2-root .gauge-ring { position: relative; width: 74px; height: 74px; }
#tab-daily_ops .do-v2-root .gauge-ring svg { transform: rotate(-90deg); }
#tab-daily_ops .do-v2-root .gauge-ring .gv {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 17px;
}
#tab-daily_ops .do-v2-root .gauge-tile .gl {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-dim); text-align: center;
}
#tab-daily_ops .do-v2-root .gauge-tile .gtag {
  font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px;
}
#tab-daily_ops .do-v2-root .tag-ok { color: var(--green); background: rgba(23, 156, 99, .1); }
#tab-daily_ops .do-v2-root .tag-warn { color: var(--amber); background: rgba(197, 126, 18, .1); }
#tab-daily_ops .do-v2-root .tag-bad { color: var(--red); background: rgba(214, 59, 87, .1); }
#tab-daily_ops .do-v2-root .tag-none { color: var(--ink-faint); background: var(--well); }
#tab-daily_ops .do-v2-root .gauges-compact { display: none; }

@media (max-width: 880px) {
  #tab-daily_ops .do-v2-root .lead-band { flex-direction: column; }
  #tab-daily_ops .do-v2-root .lead-stat { width: auto; border-right: none; border-bottom: 1px solid var(--line); }
  #tab-daily_ops .do-v2-root .gauges { display: none; }
  #tab-daily_ops .do-v2-root .gauges-compact { display: block; padding: 14px 16px 18px; }
}

/* Compact compliance health card (mobile) */
#tab-daily_ops .do-v2-root .health-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px;
  box-shadow: 0 1px 2px rgba(22, 41, 74, .05), 0 5px 14px rgba(22, 41, 74, .06); padding: 13px 15px;
}
#tab-daily_ops .do-v2-root .hc-head { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
#tab-daily_ops .do-v2-root .hc-head .hc-ic { display: flex; color: var(--cyan-deep); }
#tab-daily_ops .do-v2-root .hc-head .hc-title { font-family: var(--display); font-weight: 800; font-size: 13.5px; }
#tab-daily_ops .do-v2-root .hc-head .hc-sub { margin-left: auto; font-size: 11px; color: var(--ink-faint); font-weight: 600; }
#tab-daily_ops .do-v2-root .hc-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
#tab-daily_ops .do-v2-root .hc-name {
  width: 104px; flex: none; font-size: 12.5px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 8px; min-width: 0;
}
#tab-daily_ops .do-v2-root .hc-name .ni { display: flex; color: var(--ink-faint); flex: none; }
#tab-daily_ops .do-v2-root .hc-name .ni svg { width: 15px; height: 15px; }
#tab-daily_ops .do-v2-root .hc-name .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tab-daily_ops .do-v2-root .hc-track { flex: 1; height: 8px; background: var(--well); border-radius: 4px; overflow: hidden; }
#tab-daily_ops .do-v2-root .hc-fill { height: 100%; border-radius: 4px; }
#tab-daily_ops .do-v2-root .hc-pct { flex: none; width: 50px; text-align: right; font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1; }

/* ---- Work-queues card -------------------------------------------------- */
#tab-daily_ops .do-v2-root .queue-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 16px 16px 6px; margin: 0 0 14px;
}
#tab-daily_ops .do-v2-root .qc-head {
  display: flex; align-items: center; gap: 11px; font-family: var(--display);
  font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 14px;
}
#tab-daily_ops .do-v2-root .qc-head .qc-ic { display: flex; color: var(--cyan-deep); }
#tab-daily_ops .do-v2-root .qc-head .qc-meta { font-family: var(--body); font-weight: 600; font-size: 11.5px; color: var(--ink-faint); }

/* Single horizontal scroller at every width — paired with the category nav. */
#tab-daily_ops .do-v2-root .queue-grid {
  display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px; padding: 2px 2px 14px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; position: relative;
}
#tab-daily_ops .do-v2-root .queue-grid::-webkit-scrollbar { display: none; }
#tab-daily_ops .do-v2-root .qtile { flex: 0 0 200px; scroll-snap-align: start; }

/* Vertical separator between category groups in the scroller. */
#tab-daily_ops .do-v2-root .queue-sep {
  flex: 0 0 1px; align-self: stretch; margin: 8px 7px; background: var(--line); scroll-snap-align: none;
}

/* Category nav — scroll-spies and jumps the grid to each category group. */
#tab-daily_ops .do-v2-root .queue-nav { display: flex; gap: 8px; padding: 0 2px 12px; }

/* Prev/next arrows flanking the queue scroller (shown only when it overflows). */
#tab-daily_ops .do-v2-root .queue-scroll-wrap { position: relative; }
#tab-daily_ops .do-v2-root .queue-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; padding: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-dim);
  box-shadow: 0 2px 10px rgba(22, 41, 74, .18); cursor: pointer;
  transition: opacity .12s, border-color .12s, color .12s;
}
#tab-daily_ops .do-v2-root .queue-arrow--prev { left: -7px; }
#tab-daily_ops .do-v2-root .queue-arrow--next { right: -7px; }
#tab-daily_ops .do-v2-root .queue-scroll-wrap.has-overflow .queue-arrow { display: inline-flex; }
#tab-daily_ops .do-v2-root .queue-arrow:hover { border-color: var(--cyan-mid); color: var(--cyan-deep); }
#tab-daily_ops .do-v2-root .queue-arrow:disabled { opacity: 0; pointer-events: none; }
#tab-daily_ops .do-v2-root .qn-chip {
  flex: 1 1 0; min-width: 0; justify-content: center; font-family: var(--body); font-size: 12px;
  font-weight: 700; letter-spacing: .02em; color: var(--ink-dim); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 10px; display: inline-flex;
  align-items: center; gap: 7px; white-space: nowrap; cursor: pointer; position: relative;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation;
}
#tab-daily_ops .do-v2-root .qn-chip.cat-inventory { --cat: #C57E12; --cat-grad: linear-gradient(135deg, #D98F1E, #A8690E); }
#tab-daily_ops .do-v2-root .qn-chip.cat-compliance { --cat: #179C63; --cat-grad: linear-gradient(135deg, #1BB173, #127A4E); }
#tab-daily_ops .do-v2-root .qn-chip.cat-cash { --cat: #1180B6; --cat-grad: linear-gradient(135deg, #1FA0D9, #1180B6); }
#tab-daily_ops .do-v2-root .qn-chip .qn-ic { display: flex; color: var(--cat, var(--ink-faint)); }
#tab-daily_ops .do-v2-root .qn-chip .qn-ic svg { width: 15px; height: 15px; }
#tab-daily_ops .do-v2-root .qn-chip .qn-ct { font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); }
#tab-daily_ops .do-v2-root .qn-chip.active { background: var(--cat-grad); color: #fff; border-color: transparent; }
#tab-daily_ops .do-v2-root .qn-chip.active .qn-ic,
#tab-daily_ops .do-v2-root .qn-chip.active .qn-ct { color: rgba(255, 255, 255, .9); }
#tab-daily_ops .do-v2-root .qn-pop {
  display: none; position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) scale(.92); transform-origin: bottom center;
  background: #13264A; color: #fff; font-size: 11px; font-weight: 600; padding: 5px 10px;
  border-radius: 7px; white-space: nowrap; opacity: 0; pointer-events: none; z-index: 30;
  box-shadow: 0 6px 18px rgba(11, 23, 48, .3);
}

@media (max-width: 1024px) {
  #tab-daily_ops .do-v2-root .queue-grid { gap: 10px; }
  #tab-daily_ops .do-v2-root .qtile { flex: 0 0 184px; }
}
@media (max-width: 460px) {
  #tab-daily_ops .do-v2-root .qn-chip .qn-label,
  #tab-daily_ops .do-v2-root .qn-chip .qn-ct { display: none; }
  #tab-daily_ops .do-v2-root .qn-chip { padding: 10px 0; gap: 0; }
}

/* ---- Queue tiles ------------------------------------------------------- */
#tab-daily_ops .do-v2-root .qtile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 14px 15px; text-align: left; cursor: pointer;
  height: 104px; display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .12s, box-shadow .12s; position: relative; overflow: hidden;
}
#tab-daily_ops .do-v2-root .qtile:hover { border-color: rgba(27, 66, 120, .3); }
#tab-daily_ops .do-v2-root .qtile.sel {
  border-color: var(--cyan-mid);
  box-shadow: 0 0 0 2px var(--cyan-mid), 0 0 0 7px rgba(70, 183, 232, .16), 0 0 22px 4px rgba(70, 183, 232, .42);
}
#tab-daily_ops .do-v2-root .qtile .qtop { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
#tab-daily_ops .do-v2-root .qtile .qic { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex: none; }
#tab-daily_ops .do-v2-root .qtile .qcount { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; }
#tab-daily_ops .do-v2-root .qtile.cat-inventory { --cat: #C57E12; --cat-tint: rgba(197, 126, 18, .12); }
#tab-daily_ops .do-v2-root .qtile.cat-compliance { --cat: #179C63; --cat-tint: rgba(23, 156, 99, .12); }
#tab-daily_ops .do-v2-root .qtile.cat-cash { --cat: #1180B6; --cat-tint: rgba(70, 183, 232, .14); }
#tab-daily_ops .do-v2-root .qtile::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--cat, var(--line));
}
#tab-daily_ops .do-v2-root .qtile .qic { background: var(--cat-tint); color: var(--cat); }
#tab-daily_ops .do-v2-root .qtile .qcount { color: var(--cat); }
#tab-daily_ops .do-v2-root .qtile.clear { background: #FBFCFE; }
#tab-daily_ops .do-v2-root .qtile.clear .qic { background: var(--well); color: var(--ink-faint); }
#tab-daily_ops .do-v2-root .qtile.clear .qcount { color: var(--ink-faint); }
#tab-daily_ops .do-v2-root .qtile .qcount.hp-red { color: var(--red); }
#tab-daily_ops .do-v2-root .qtile .qcount.hp-amber { color: var(--amber); }
#tab-daily_ops .do-v2-root .qtile .qcount.hp-green { color: var(--green); }
#tab-daily_ops .do-v2-root .qtile .qcount.hp-none { color: var(--ink-faint); }
#tab-daily_ops .do-v2-root .qtile .qt {
  font-weight: 700; font-size: 13px; line-height: 1.2; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
#tab-daily_ops .do-v2-root .qtile .qsrc { font-size: 10.5px; color: var(--ink-faint); margin-top: 2px; }
#tab-daily_ops .do-v2-root .qtile .qexp {
  position: absolute; top: 12px; right: 14px; font-size: 9px; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; color: var(--red); background: rgba(214, 59, 87, .1); padding: 2px 6px; border-radius: 999px;
}
#tab-daily_ops .do-v2-root .qtile .qclear-tag {
  display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--green);
}

/* ---- Per-tile ingestion-status indicator ------------------------------- */
/* Small status glyph in the top-right corner: green check = ingested today,
   amber clock = not yet today, red triangle = never ingested. The headline
   count sits in the same top row, so reserve a little space on the right of
   .qtop so the badge never overlaps the number. Hover/focus shows the native
   tooltip (last-updated, absolute + relative); aria-label exposes it to SRs. */
#tab-daily_ops .do-v2-root .qtile .qtop { padding-right: 18px; }
#tab-daily_ops .do-v2-root .qtile .qstatus {
  position: absolute; top: 11px; right: 12px; z-index: 2;
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 0; cursor: pointer; opacity: .85; transition: opacity .12s;
}
#tab-daily_ops .do-v2-root .qtile .qstatus:hover,
#tab-daily_ops .do-v2-root .qtile .qstatus:focus-visible { opacity: 1; }
#tab-daily_ops .do-v2-root .qtile .qstatus:focus-visible {
  outline: 2px solid var(--cyan-mid); outline-offset: 1px;
}
#tab-daily_ops .do-v2-root .qtile .qstatus.is-ok { color: var(--green); background: rgba(23, 156, 99, .12); }
#tab-daily_ops .do-v2-root .qtile .qstatus.is-pending { color: var(--amber); background: rgba(197, 126, 18, .14); }
#tab-daily_ops .do-v2-root .qtile .qstatus.is-error { color: var(--red); background: rgba(214, 59, 87, .12); }

/* Floating status tooltip — lives on <body> so it can't be clipped by the
   tile's overflow:hidden or the queue strip's scroll. Positioned in JS. */
.do-qstatus-tip {
  position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
  max-width: 240px; padding: 6px 9px; border-radius: 8px;
  background: #1B2A44; color: #fff; font-size: 11.5px; line-height: 1.35;
  font-weight: 600; white-space: nowrap; box-shadow: 0 6px 20px rgba(16, 33, 60, .28);
  opacity: 0; transform: translateY(2px); transition: opacity .1s, transform .1s;
}
.do-qstatus-tip.show { opacity: 1; transform: translateY(0); }
/* Little pointer arrow toward the badge. */
.do-qstatus-tip::after {
  content: ''; position: absolute; left: 50%; margin-left: -5px;
  border: 5px solid transparent;
}
.do-qstatus-tip[data-place="top"]::after { top: 100%; border-top-color: #1B2A44; }
.do-qstatus-tip[data-place="bottom"]::after { bottom: 100%; border-bottom-color: #1B2A44; }

/* ---- Detail panel ------------------------------------------------------ */
/* Chat-bubble tail: a triangle connecting the selected Work Queues tile to the
   table below (tile = pointer target, table = bubble). It lives on a NON-clipped
   wrapper because the panel itself has overflow:hidden; this lets the triangle
   sit above the panel's top edge. Purely additive — the wrapper adds no box of
   its own, so the table keeps its exact size and never reflows. The tip points
   up at the tile; the base overlaps the panel's top border so there's no seam.
   Horizontal position (--do-tail-x) is set in JS to center it under the tile. */
#tab-daily_ops .do-v2-root .detail-panel-wrap { position: relative; }
/* The tail carries the SAME horizontal gradient as the .dp-head bar and spans
   the full panel width; a clip-path then cuts an upward triangle out of it at
   the tile's x (--do-tail-x). Because the gradient maps 0→100% across the same
   width as the bar, the visible sliver always matches the bar color directly
   above it — so the tail stays seamless as the selected tile moves left↔right. */
#tab-daily_ops .do-v2-root .detail-panel-wrap::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 100%;
  margin-bottom: -4px; height: 23px;
  background: linear-gradient(90deg, #26508A 0%, #15294E 38%, #0A1428 72%, #0F1E3A 100%);
  clip-path: polygon(
    calc(var(--do-tail-x, 50%) - 15px) 100%,
    var(--do-tail-x, 50%) 0,
    calc(var(--do-tail-x, 50%) + 15px) 100%);
  pointer-events: none; opacity: 0; z-index: 4; transition: opacity .12s ease;
}
#tab-daily_ops .do-v2-root .detail-panel-wrap.has-tail::before { opacity: 1; }
#tab-daily_ops .do-v2-root .detail-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); overflow: hidden;
}
#tab-daily_ops .do-v2-root .dp-head {
  position: relative; display: flex; align-items: center; min-height: 56px; padding: 9px 16px;
  background: linear-gradient(90deg, #26508A 0%, #15294E 38%, #0A1428 72%, #0F1E3A 100%);
}
#tab-daily_ops .do-v2-root .dp-head .dp-ic { display: flex; color: var(--cyan); margin-right: 11px; }
#tab-daily_ops .do-v2-root .dp-head h2 { font-family: var(--display); font-weight: 800; font-size: 16px; color: #fff; letter-spacing: .01em; }
#tab-daily_ops .do-v2-root .dp-head .dp-count {
  margin-left: 10px; font-family: var(--mono); font-size: 11.5px; color: #9DB9D8; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 7px; padding: 3px 8px;
}
#tab-daily_ops .do-v2-root .dp-head .dp-actions { margin-left: auto; display: flex; gap: 8px; }
#tab-daily_ops .do-v2-root .dp-btn {
  height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 9px; color: #fff; font-size: 12px; font-weight: 600;
}
#tab-daily_ops .do-v2-root .dp-btn:hover { background: rgba(255, 255, 255, .16); }
#tab-daily_ops .do-v2-root .dp-btn.is-active { background: rgba(70, 183, 232, .28); border-color: rgba(70, 183, 232, .5); }
@media (max-width: 600px) {
  #tab-daily_ops .do-v2-root .dp-btn .dp-btn-label { display: none; }
  #tab-daily_ops .do-v2-root .dp-btn { padding: 0 9px; gap: 0; }
}

#tab-daily_ops .do-v2-root .dp-filterbar { display: none; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #FBFDFF; }
#tab-daily_ops .do-v2-root .dp-filterbar.is-open { display: block; }
#tab-daily_ops .do-v2-root .dp-filter-input {
  width: 100%; font-family: var(--body); font-size: 13px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; background: #fff; outline: none;
}
#tab-daily_ops .do-v2-root .dp-filter-input:focus { border-color: var(--cyan-mid); box-shadow: 0 0 0 3px rgba(70, 183, 232, .16); }

#tab-daily_ops .do-v2-root .dp-scroll { overflow: auto; max-height: 460px; }
#tab-daily_ops .do-v2-root table.dp { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 680px; }
#tab-daily_ops .do-v2-root table.dp thead th {
  position: sticky; top: 0; background: var(--well); color: var(--ink-dim); font-size: 10px;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: left;
  padding: 11px 14px; white-space: nowrap; border-bottom: 1px solid var(--line); z-index: 1;
}
#tab-daily_ops .do-v2-root table.dp thead th.r { text-align: right; }
#tab-daily_ops .do-v2-root table.dp thead th.th-sort { cursor: pointer; user-select: none; -webkit-user-select: none; }
#tab-daily_ops .do-v2-root table.dp thead th.th-sort:hover { color: var(--ink); }
#tab-daily_ops .do-v2-root .th-in { display: inline-flex; align-items: center; gap: 5px; }
#tab-daily_ops .do-v2-root .th-ar { font-size: 10px; opacity: .4; }
#tab-daily_ops .do-v2-root table.dp thead th.sorted { color: var(--cyan-deep); }
#tab-daily_ops .do-v2-root table.dp thead th.sorted .th-ar { opacity: 1; color: var(--cyan-deep); }
#tab-daily_ops .do-v2-root table.dp tbody td { padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; white-space: nowrap; color: var(--ink); }
#tab-daily_ops .do-v2-root table.dp tbody td.r { text-align: right; }
#tab-daily_ops .do-v2-root table.dp tbody td.m { font-family: var(--mono); font-size: 11.5px; color: var(--ink-dim); }
#tab-daily_ops .do-v2-root table.dp tbody td.wrap { white-space: normal; min-width: 200px; }
#tab-daily_ops .do-v2-root table.dp tbody tr:last-child td { border-bottom: none; }
#tab-daily_ops .do-v2-root table.dp tbody tr:hover td { background: #F4F9FE; }

#tab-daily_ops .do-v2-root .opus-tag,
#tab-daily_ops .do-v2-root .rsn {
  font-family: var(--mono); font-weight: 600; font-size: 11px; color: var(--ink-dim);
  background: var(--well); border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px;
}
#tab-daily_ops .do-v2-root .rsn { padding: 2px 6px; }
#tab-daily_ops .do-v2-root .amt-neg { color: var(--red); font-family: var(--mono); font-weight: 600; }
#tab-daily_ops .do-v2-root .val-pos { color: var(--green); font-family: var(--mono); font-weight: 600; }
#tab-daily_ops .do-v2-root .age-pill { font-family: var(--mono); font-weight: 600; font-size: 11px; border-radius: 6px; padding: 3px 7px; }
#tab-daily_ops .do-v2-root .age-old { color: var(--red); background: rgba(214, 59, 87, .09); }
#tab-daily_ops .do-v2-root .age-mid { color: var(--amber); background: rgba(197, 126, 18, .1); }
#tab-daily_ops .do-v2-root .age-ok { color: var(--ink-dim); background: var(--well); }
#tab-daily_ops .do-v2-root .st-pill {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  border-radius: 7px; padding: 4px 9px; color: var(--green); background: rgba(23, 156, 99, .1); border: 1px solid rgba(23, 156, 99, .3);
}
#tab-daily_ops .do-v2-root .qty-b { font-family: var(--mono); font-weight: 600; }
#tab-daily_ops .do-v2-root .cv-ok { color: var(--green); font-family: var(--mono); font-weight: 600; }
#tab-daily_ops .do-v2-root .cv-warn { color: var(--amber); font-family: var(--mono); font-weight: 600; }
#tab-daily_ops .do-v2-root .yn { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-radius: 7px; padding: 4px 9px; }
#tab-daily_ops .do-v2-root .yn-y { color: var(--green); background: rgba(23, 156, 99, .1); border: 1px solid rgba(23, 156, 99, .3); }
#tab-daily_ops .do-v2-root .yn-n { color: var(--red); background: rgba(214, 59, 87, .09); border: 1px solid rgba(214, 59, 87, .3); }
#tab-daily_ops .do-v2-root .dp-foot {
  padding: 10px 16px; font-size: 11.5px; color: var(--ink-faint); border-top: 1px solid var(--line);
  background: #FBFDFF; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
#tab-daily_ops .do-v2-root .dp-foot b { color: var(--ink-dim); font-weight: 700; }
#tab-daily_ops .do-v2-root .dp-empty { padding: 40px 20px; text-align: center; color: var(--ink-faint); }
#tab-daily_ops .do-v2-root .dp-empty .ico { color: var(--green); margin-bottom: 8px; display: flex; justify-content: center; }

/* ---- Loading / error / empty states ------------------------------------ */
#tab-daily_ops .do-v2-root .do-skeleton-root {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 10px 16px;
}
#tab-daily_ops .do-v2-root .do-skeleton-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
#tab-daily_ops .do-v2-root .do-skeleton-row:last-child { border-bottom: none; }
#tab-daily_ops .do-v2-root .do-skeleton-circle { width: 36px; height: 36px; border-radius: 9px; flex: none; }
#tab-daily_ops .do-v2-root .do-skeleton-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
#tab-daily_ops .do-v2-root .do-skeleton-lines i { height: 10px; border-radius: 5px; display: block; }
#tab-daily_ops .do-v2-root .do-skeleton-lines i:first-child { width: 45%; }
#tab-daily_ops .do-v2-root .do-skeleton-lines i:last-child { width: 70%; }
#tab-daily_ops .do-v2-root .do-skeleton-circle,
#tab-daily_ops .do-v2-root .do-skeleton-lines i {
  background: linear-gradient(90deg, #EEF3F9 25%, #E2EAF4 37%, #EEF3F9 63%);
  background-size: 400% 100%; animation: doV2Shimmer 1.3s ease infinite;
}
@keyframes doV2Shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

#tab-daily_ops .do-v2-root .do-error-boundary {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: var(--r); box-shadow: var(--shadow); padding: 22px 24px;
}
#tab-daily_ops .do-v2-root .do-error-title { font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--ink); margin-bottom: 8px; }
#tab-daily_ops .do-v2-root .do-error-msg { font-size: 13px; color: var(--red); margin-bottom: 6px; }
#tab-daily_ops .do-v2-root .do-error-hint { font-size: 12px; color: var(--ink-faint); margin-bottom: 14px; }
#tab-daily_ops .do-v2-root .do-btn {
  height: 36px; padding: 0 16px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--well); color: var(--ink); font-weight: 600; font-size: 13px;
}
#tab-daily_ops .do-v2-root .do-btn:hover { border-color: var(--cyan-mid); }
#tab-daily_ops .do-v2-root .do-empty-state {
  margin-top: 14px; padding: 26px 20px; text-align: center; color: var(--ink-faint);
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); font-size: 13px;
}
