/* Agent Watch. Light theme, 2px outlines, status colours: exploited red, PoC amber, reported slate. */
.aw .sp-stage { padding: 12px; gap: 8px; }
.aw-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.aw-key { display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--ax-mono); font-size: 11.5px; color: var(--ax-muted); }
.aw-key span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.aw-key i { width: 10px; height: 10px; border-radius: 50%; }
.aw-key i.ring { background: #fff; border: 2px solid #334155; }
.aw-wrap { position: relative; flex: 1 1 auto; min-height: 0; border: 2px solid var(--ax-line); border-radius: 14px; background: #fff; overflow: auto; }
.aw-wrap svg { display: block; width: 100%; height: 100%; min-width: 640px; min-height: 260px; }
.aw-lane { fill: transparent; cursor: pointer; }
.aw-lane:nth-of-type(4n+1) { fill: #f8fafc; }
.aw-lane.is-on { fill: #ecfdf5; }
.aw-ll { font-family: var(--ax-display, inherit); font-size: 12.5px; font-weight: 600; fill: #334155; cursor: pointer; }
.aw-yr { stroke: #cbd5e1; stroke-width: 1; }
.aw-yt { font-family: var(--ax-mono); font-size: 11px; font-weight: 800; fill: #0f172a; }
.aw-mt { font-family: var(--ax-mono); font-size: 10.5px; fill: #94a3b8; }
.aw-dot { stroke: #fff; stroke-width: 1.5; cursor: pointer; opacity: .9; transform-box: fill-box; transform-origin: center; animation: awPop .45s cubic-bezier(.2,.9,.3,1.3) both; animation-delay: var(--d, 0ms); transition: opacity .15s; }
.aw-dot:hover { opacity: 1; stroke: #0f172a; stroke-width: 2; }
.aw-dot.s-exploited { fill: #dc2626; }
.aw-dot.s-poc { fill: #f59e0b; }
.aw-dot.s-confirmed { fill: #7c3aed; }
.aw-dot.is-dim { opacity: .15; pointer-events: none; }
.aw-dot:focus-visible { outline: none; stroke: #0f172a; stroke-width: 3; }
.aw-dot.s-reported { fill: #94a3b8; }
.aw-dot.is-inc { stroke: #0f172a; stroke-width: 2; }
@keyframes awPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: .9; } }
.aw-tip { position: absolute; z-index: 5; max-width: 300px; padding: 8px 10px; border: 2px solid #0f172a; border-radius: 10px; background: #fff; pointer-events: none; display: grid; gap: 2px; font-size: 12.5px; line-height: 1.4; }
.aw-tip[hidden] { display: none; }
.aw-tip b { font-size: 13px; color: #0f172a; }
.aw-tip span { font-family: var(--ax-mono); font-size: 11.5px; color: var(--ax-muted); }
.aw-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.aw-s { display: flex; flex-direction: column; justify-content: center; min-height: 58px; padding: 6px 10px; border: 2px solid var(--ax-line); border-radius: 12px; background: #fff; }
.aw-s b { font-size: 24px; line-height: 1.1; font-weight: 800; font-family: var(--ax-mono); }
.aw-s span { font-size: 11.5px; color: var(--ax-muted); }
.aw-s.is-red b { color: #b91c1c; }
.aw-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; }
.aw-filters .cw-search, .aw-q { flex: 1 1 220px; min-height: 40px; border: 2px solid var(--ax-line); border-radius: 12px; padding: 6px 12px; font: inherit; font-size: 14px; background: #fff; }
.aw-q:focus { outline: none; border-color: var(--ax-accent); }
.aw-sel { min-height: 40px; border: 2px solid var(--ax-line); border-radius: 12px; padding: 6px 10px; font: inherit; font-size: 14px; font-weight: 700; background: #fff; color: var(--ax-ink); }
.aw-cnt { font-family: var(--ax-mono); font-size: 12px; color: var(--ax-muted); margin: 0 0 6px; }
.aw-tbl table { min-width: 860px; }
.aw-tbl td, .aw-tbl th { padding: 7px 10px; font-size: 13px; line-height: 1.45; }
.aw-tbl td.aw-t b { margin-left: 6px; font-size: 13.5px; }
.aw-tbl .nw { white-space: nowrap; font-family: var(--ax-mono); font-size: 12px; }
.aw-row { cursor: pointer; }
.aw-row:hover td { background: #f6fbf9; }
.aw-row.is-open td { background: #f0fdf4; }
.aw-row.is-flash td { animation: awFlash 1.6s ease-out; }
@keyframes awFlash { 0%, 40% { background: #bbf7d0; } 100% { background: #f0fdf4; } }
.aw-tg { width: 34px; text-align: center; font-size: 18px; font-weight: 700; color: var(--ax-accent); transition: transform .2s; }
.aw-row.is-open .aw-tg { transform: rotate(45deg); }
.aw-det td { background: #f0fdf4; padding: 0 14px 12px; }
.aw-det-in { position: sticky; left: 12px; max-width: min(1100px, calc(100vw - 72px)); display: grid; gap: 4px; font-size: 13.5px; line-height: 1.55; animation: awIn .22s ease-out; }
@keyframes awIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.aw-det-in p { margin: 0; overflow-wrap: break-word; }
.aw-src { font-size: 12.5px; color: var(--ax-muted); }
.aw-src a { color: var(--ax-accent); }
.aw-pill { display: inline-block; font-family: var(--ax-mono); font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.aw-pill.s-exploited { background: #dc2626; color: #fff; }
.aw-pill.s-confirmed { background: #ede9fe; color: #5b21b6; }
.aw-pill.s-poc { background: #fde68a; color: #713f12; }
.aw-pill.s-reported { background: #e2e8f0; color: #334155; }
.aw-empty { padding: 18px; text-align: center; color: var(--ax-muted); }
.aw-vecs { display: grid; gap: 3px; }
.aw-v { display: grid; grid-template-columns: minmax(0, 1fr) 70px 24px; align-items: center; gap: 8px; min-height: 28px; padding: 2px 8px; border: 2px solid transparent; border-radius: 8px; background: none; font: inherit; font-size: 12.5px; text-align: left; color: var(--ax-ink); cursor: pointer; }
.aw-v:hover { border-color: var(--ax-line); }
.aw-v[aria-pressed="true"] { border-color: var(--ax-accent); background: #ecfdf5; }
.aw-v .bar { height: 6px; border-radius: 3px; background: #f1f5f9; overflow: hidden; display: flex; }
.aw-v .bar i { display: block; height: 100%; transition: width .4s cubic-bezier(.2,.8,.2,1); }
.aw-v .bar i.x { background: #dc2626; } .aw-v .bar i.c { background: #7c3aed; } .aw-v .bar i.p { background: #f59e0b; } .aw-v .bar i.r { background: #94a3b8; }
.aw-v b { font-family: var(--ax-mono); font-size: 12px; text-align: right; }
.aw-k2 { font-family: var(--ax-mono); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-dim); }
@media (prefers-reduced-motion: reduce) { .aw-dot, .aw-det-in, .aw-row.is-flash td { animation: none; } .aw-tg { transition: none; } }
@media (max-width: 640px) { .aw-wrap svg { min-height: 440px; } .aw .sp-stage { min-height: 520px; } }
