/* ── Argus rich results ─────────────────────────────────────────────────── */
.rc { font-size: 12.5px; }
.rc .rc-title { font-weight: 650; font-size: 13px; margin: 2px 0 6px; display: flex; align-items: center; gap: 8px; }
.rc .rc-item { display: flex; gap: 8px; padding: 7px 0; border-top: 1px solid var(--border); align-items: flex-start; }
.rc .rc-item:first-child { border-top: none; }
.rc .rc-t { font-weight: 600; color: var(--text); text-decoration: none; line-height: 1.4; display: block; }
.rc .rc-s { color: var(--text-2); font-size: 11.5px; line-height: 1.45; margin-top: 2px; }
.rc .rc-m { color: var(--text-3); font-size: 11px; line-height: 1.45; margin-top: 3px; }
.rc .rc-b { flex: 1; min-width: 0; }
.rc .rc-pill { flex-shrink: 0; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 6px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); margin-top: 2px; }
.rc .rc-pill.rc-bad { background: rgba(239,68,68,.12); color: #B91C1C; border-color: transparent; }
.rc .rc-pill.rc-warn { background: rgba(245,158,11,.14); color: #B45309; border-color: transparent; }
.rc .rc-pill.rc-info { background: rgba(59,130,246,.12); color: #1D4ED8; border-color: transparent; }
.rc .rc-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.rc .rc-acts a { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface); color: var(--accent); text-decoration: none; }
.rc .rc-kpi { font-size: 11.5px; color: var(--text-2); margin-top: 4px; }
.rc .rc-kpi b { color: var(--text); margin-right: 2px; }
.rc .rc-status { border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; color: #fff; }
.rc .rc-status .rc-title, .rc .rc-status .rc-s { color: #fff; }
.rc .rc-status .rc-pill { background: rgba(255,255,255,.2); color: #fff; border-color: transparent; }
.rc .rc-quiet { background: linear-gradient(135deg, #047857, #10B981); }
.rc .rc-watch { background: linear-gradient(135deg, #B45309, #F59E0B); }
.rc .rc-attention { background: linear-gradient(135deg, #B91C1C, #EF4444); }
.rc .rc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 6px 0 8px; }
.rc .rc-stats div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 6px 4px; text-align: center; }
.rc .rc-stats b { display: block; font-size: 15px; }
.rc .rc-stats span { font-size: 9.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.rc .rc-sec { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin: 10px 0 2px; }
.rc .rc-canvas { width: 100%; height: 170px; display: block; margin: 6px 0 2px; }
.rc .rc-canvas.rc-mini { height: 90px; }
.rc .rc-rng { display: flex; gap: 4px; align-items: center; margin-bottom: 2px; }
.rc .rc-rng button { font: inherit; font-size: 10.5px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; }
.rc .rc-rng button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.rc .rc-rng a { font-size: 11px; }
.rc .rc-legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 10.5px; color: var(--text-2); }
.rc .rc-legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
.rc .rc-note { display: inline-block; margin: 2px 0 6px; padding: 3px 8px; border-radius: 6px; background: rgba(100,116,139,.12); color: var(--text-2); font-size: 11px; }
/* ── the agent's cards: plan, bars, figure, metrics, table, forecast, confirm; grounding; starters ── */
.rc .rc-plan { list-style: none; margin: 0; padding: 0 }
.rc .rc-plan li { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; font-size: 12.5px; line-height: 1.4 }
.rc .rc-plan li i { flex-shrink: 0; width: 15px; height: 15px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--border-2); box-sizing: border-box }
.rc .rc-plan li.in_progress i { border-color: var(--accent); border-top-color: transparent; animation: rc-spin .9s linear infinite }
.rc .rc-plan li.done i { background: #10B981; border-color: #10B981; position: relative }
.rc .rc-plan li.done i::after { content: ''; position: absolute; left: 4px; top: 1.5px; width: 3px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) }
.rc .rc-plan li.done span, .rc .rc-plan li.skipped span { color: var(--text-3) }
.rc .rc-plan li.skipped span { text-decoration: line-through }
@keyframes rc-spin { to { transform: rotate(360deg) } }
@media (prefers-reduced-motion: reduce) { .rc .rc-plan li.in_progress i { animation-duration: 3s } }
.rc .rc-bars { display: flex; flex-direction: column; gap: 7px }
.rc .rc-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline; text-decoration: none; color: inherit }
.rc .rc-bar .l { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px }
.rc .rc-bar .v { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 12px }
.rc .rc-bar .track { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--surface-2); position: relative; overflow: hidden }
.rc .rc-bar .track b { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--accent) }
.rc .rc-bar .track .ref { position: absolute; top: -2px; bottom: -2px; width: 0; border-left: 1.5px dashed var(--text-3) }
.rc .rc-bar .s { grid-column: 1 / -1; font-size: 11px; color: var(--text-3); line-height: 1.35 }
.rc a.rc-bar:hover .l { color: var(--accent) }
.rc .rc-fig { position: relative; margin: 4px 0 2px }
.rc .rc-fig svg { display: block; width: 100%; height: auto; overflow: visible }
.rc .rc-fig .ax { font-size: 10px; fill: var(--text-3) }
.rc .rc-fig .grid { stroke: var(--border); stroke-width: 1 }
.rc .rc-fig .tip { position: absolute; pointer-events: none; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.14);
  padding: 6px 8px; font-size: 11px; display: none; white-space: nowrap; z-index: 3 }
.rc .rc-fig .tip b { font-variant-numeric: tabular-nums }
.rc .rc-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin: 4px 0 }
.rc .rc-metrics div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px }
.rc .rc-metrics b { display: block; font-size: 19px; font-weight: 750; letter-spacing: -.01em; font-variant-numeric: tabular-nums }
.rc .rc-metrics span { display: block; font-size: 11.5px; color: var(--text-2); line-height: 1.3; margin-top: 2px }
.rc .rc-metrics em { display: block; font-style: normal; font-size: 10.5px; color: var(--text-3); margin-top: 3px }
.rc .rc-tablewrap { overflow-x: auto; margin: 4px 0; border: 1px solid var(--border); border-radius: 8px }
.rc table.rc-table { border-collapse: collapse; width: 100%; font-size: 11.5px }
.rc table.rc-table th { text-align: left; font-weight: 650; color: var(--text-2); background: var(--surface-2); padding: 6px 8px; white-space: nowrap; position: sticky; top: 0 }
.rc table.rc-table td { padding: 6px 8px; border-top: 1px solid var(--border); white-space: nowrap; font-variant-numeric: tabular-nums }
.rc table.rc-table td:first-child { white-space: normal; min-width: 150px; font-weight: 600 }
.rc .rc-fc + .rc-fc { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border) }
.rc .rc-fc .vc { margin-top: 4px }
.rc .rc-chances { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px }
.rc .rc-chances span { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2) }
.rc .rc-chances span.hi { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.3); color: #B91C1C }
.rc .rc-chances span.mid { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.3); color: #B45309 }
.rc .rc-foot { display: flex; gap: 10px; align-items: center; margin-top: 6px; font-size: 11px }
.rc .rc-foot a { font-weight: 600; color: var(--accent); text-decoration: none }
.rc-confirm { border-left: 3px solid #F59E0B; padding-left: 10px }
.rc-confirm details { margin-top: 4px } .rc-confirm summary { font-size: 11px; color: var(--text-3); cursor: pointer }
.rc-confirm .rc-confirm-acts { margin-top: 10px; align-items: center }
.argus-grounding { font-size: 10.5px; color: var(--text-3); margin: 3px 2px 0; line-height: 1.45 }
.argus-grounding .argus-unverified { color: #B45309; display: block; margin-top: 2px }
.argus-starter { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 12px 8px }
.argus-starter h4 { margin: 0 0 2px; font-size: 13px }
.argus-starter > p { margin: 0 0 8px; font-size: 11.5px; color: var(--text-2); line-height: 1.45 }
.argus-starter .g { margin: 8px 0 0 }
.argus-starter .g b { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); margin-bottom: 4px }
.argus-starter button { display: block; width: 100%; text-align: left; font: inherit; font-size: 12px; line-height: 1.35; color: var(--text); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 9px; padding: 6px 9px; margin-bottom: 4px; cursor: pointer }
.argus-starter button:hover { border-color: var(--accent); color: var(--accent) }
:root[data-theme="dark"] .rc .rc-chances span.hi { color: #FCA5A5 } :root[data-theme="dark"] .rc .rc-chances span.mid { color: #FCD34D }
:root[data-theme="dark"] .argus-grounding .argus-unverified { color: #FCD34D }

.argus-bubble li.sub { margin-left: 14px; list-style: circle }
