.monitor-main{max-width:1560px;padding-top:32px}.panel-nav{display:flex;gap:24px;margin-left:auto;font-size:13px}.panel-nav a{color:var(--muted);text-decoration:none;padding:12px 0}.panel-nav a.selected{color:var(--accent);border-bottom:2px solid var(--accent)}.refresh-status{display:flex;align-items:flex-end;flex-direction:column;gap:8px}.refresh-status small{font-size:11px}.pill{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;padding:6px 9px;border:1px solid var(--line);border-radius:20px;color:var(--muted);background:#202b35}.pill.good{color:#b4d6ab;border-color:#415d43;background:#22342b}.pill.warn{color:#e2c68d;border-color:#655738;background:#342e23}.pill.blue{color:#a3c5ed;background:#233246;border-color:#3a526c}.section-line{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-line h2,.resources h2{font-size:17px;font-weight:550;margin:0 0 4px}.section-line p{font-size:12px}.filters{display:flex;gap:12px}.filters label,.journal-select{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted)}.filters select{max-width:250px}.metric-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.metric{padding:21px 18px;background:var(--panel);border:1px solid var(--line);border-radius:10px;min-width:0}.metric-label{font-size:11px;color:var(--muted);margin-bottom:13px}.metric-value{font-size:29px;font-weight:450;font-variant-numeric:tabular-nums;letter-spacing:-.04em;white-space:nowrap}.metric-detail{font-size:11px;color:var(--muted);margin-top:9px;min-height:16px}.coverage-note{padding:12px 0;font-size:11px;color:#b5a88c}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:20px;margin:24px 0}.surface{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:22px;min-width:0}.muted{color:var(--muted);font-size:12px}.camera-status-row{display:grid;grid-template-columns:minmax(130px,1fr) 140px 90px 100px;gap:14px;align-items:center;border-top:1px solid var(--line);padding:17px 0}.camera-status-row strong{font-size:13px;font-weight:550}.camera-status-row small{display:block;font-size:11px;color:var(--muted);margin-top:7px}.camera-status-row .summary{font-size:12px;color:var(--muted);text-align:right}.camera-status-row button{font-size:11px}.detector-progress{border:1px solid #3b4f43;border-radius:8px;background:#1d2c25;padding:15px;margin-top:12px;font-size:12px;line-height:1.6}.detector-progress p{font-size:11px}.detector-progress progress{margin-top:10px}.resource-row{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:12px 0}.resource-row span{color:var(--muted)}.resource-row strong{font-weight:500;white-space:nowrap}.resources h2{margin-bottom:8px}.resources p{font-size:11px;line-height:1.7}.resources>p:first-of-type{margin:9px 0 13px}.worker-line{display:flex;flex-wrap:wrap;gap:10px;border-top:1px solid var(--line);margin-top:15px;padding-top:14px;font-size:10px;color:var(--muted)}progress{appearance:none;width:100%;height:5px;display:block;border:0;border-radius:8px;background:#29373d;overflow:hidden}progress::-webkit-progress-bar{background:#29373d}progress::-webkit-progress-value{background:var(--accent);border-radius:8px}progress::-moz-progress-bar{background:var(--accent)}.clips-section,.journal-section{margin-bottom:24px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-weight:500;padding:12px 10px;border-bottom:1px solid var(--line)}td{padding:14px 10px;border-bottom:1px solid #29343f80;white-space:nowrap}td:first-child{white-space:normal;min-width:180px}td small{display:block;margin-top:6px;font-size:11px;color:var(--muted)}td .secondary{white-space:nowrap}.section-footnote{font-size:11px!important;color:var(--muted);line-height:1.7;margin-top:15px}.event-item{display:grid;grid-template-columns:145px minmax(0,1fr) 155px;gap:20px;padding:20px 0;border-top:1px solid var(--line)}.event-time{font-size:12px;color:var(--muted);line-height:1.7}.event-body h3{font-size:13px;margin:0 0 8px;font-weight:550}.event-body p{font-size:13px;line-height:1.7;color:#c4d0da;white-space:pre-line;overflow-wrap:anywhere}.event-meta{display:flex;gap:9px;flex-wrap:wrap;margin-top:10px;font-size:10px;color:var(--muted)}.event-actions{text-align:right}.event-actions .secondary{margin-top:12px}.event-actions small{display:block;font-size:10px;line-height:1.6;margin-top:10px}.empty{text-align:center;font-size:13px;color:var(--muted);padding:35px 20px}.preview-dialog{width:1040px;max-width:calc(100vw - 32px);max-height:90vh;overflow:auto}.preview-dialog video,.preview-dialog img{width:100%;height:auto;max-height:65vh;background:#060c11;object-fit:contain;border-radius:8px}.preview-dialog .section-line{align-items:flex-start}.preview-dialog h2{font-size:18px}.preview-dialog #preview-status{padding:25px 0}.panel-error{background:#432e2b;color:#f0c6bb;border:1px solid #714c43;border-radius:8px;padding:13px 18px;margin-bottom:22px;font-size:12px}.monitor-main .heading h1{font-size:32px}.monitor-main footer{margin-top:24px}
@media(max-width:1200px){.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-columns{grid-template-columns:minmax(0,1fr) 290px}.camera-status-row{grid-template-columns:minmax(110px,1fr) 120px 70px}.camera-status-row button{grid-column:1/-1;justify-self:start}.metric-value{font-size:27px}}
@media(max-width:800px){.dashboard-columns{grid-template-columns:1fr}.section-line{align-items:flex-start;flex-wrap:wrap}.filters{flex-wrap:wrap}.monitor-main .heading{align-items:flex-start;gap:15px}.monitor-main .heading h1{font-size:25px}.refresh-status small{max-width:100px;text-align:right}.panel-nav{gap:15px}.panel-nav a{font-size:12px}.topbar{gap:15px}.topbar>.quiet{margin-left:auto}.event-item{grid-template-columns:110px minmax(0,1fr)}.event-actions{grid-column:2;text-align:left}.event-actions small{display:inline-block;margin-left:9px}.resources{display:block}}
@media(max-width:520px){.monitor-main{padding-left:16px;padding-right:16px}.topbar{height:auto;min-height:76px;flex-wrap:wrap;padding:16px}.brand{font-size:12px}.brand-mark{font-size:29px}.panel-nav{order:3;width:100%;justify-content:space-between;margin:0}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{padding:16px}.metric-value{font-size:26px}.surface{padding:17px}.filters label{align-items:flex-start;flex-direction:column;gap:6px}.filters select{max-width:155px}.camera-status-row{grid-template-columns:minmax(0,1fr) 112px;gap:10px}.camera-status-row .summary{text-align:left;font-size:11px}.camera-status-row button{grid-column:auto;justify-self:end}.camera-status-row strong{font-size:12px}.event-item{grid-template-columns:1fr;gap:8px}.event-time{font-size:11px}.event-actions{grid-column:auto}.refresh-status{display:none}.journal-select{align-items:flex-start;flex-direction:column;gap:7px}.journal-select select{max-width:230px}.preview-dialog{padding:17px}.monitor-main .heading h1{font-size:27px}.coverage-note{line-height:1.7}}

.history-form{flex-wrap:wrap;justify-content:flex-start;align-items:end;gap:16px}.history-form label{display:grid;gap:7px}.history-form input{padding:11px;background:#111c28;border:1px solid #314052;border-radius:8px;color:inherit;font:inherit;min-width:0}.history-section{margin-top:24px}.history-section .event-item{grid-template-columns:1fr auto}@media(max-width:700px){.history-form{display:grid;grid-template-columns:1fr}.history-section .event-item{grid-template-columns:1fr}}

.results-section{margin-top:24px}.results-section td small{display:block;margin-top:6px;color:var(--muted,#8e9eae)}

.bounded-list{overflow:auto;max-height:min(var(--six-rows,36rem),70vh);overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#4a5f70 transparent}.bounded-list:focus-visible{outline:2px solid var(--accent);outline-offset:3px}#results-scroll th{position:sticky;top:0;background:var(--panel);z-index:1}

.notification-settings{margin:1rem 0 1.5rem}.notification-settings summary{display:flex;gap:1rem;justify-content:space-between;cursor:pointer}.notification-settings summary span{color:var(--muted,#91a1b5)}.notification-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.65rem;margin:1rem 0 1.5rem}.notification-option{display:flex;align-items:center;gap:.7rem;min-height:44px;padding:.6rem;background:#111a23;border-radius:9px}.notification-option input{width:20px;height:20px;flex:0 0 20px;accent-color:#b5d6a7}.settings-actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}.notification-settings p{color:#a3b1c0;max-width:75ch}@media(max-width:600px){.notification-settings summary{flex-direction:column;gap:.3rem}.notification-options{grid-template-columns:1fr}}

.notification-settings .notification-option{flex-direction:row;justify-content:flex-start}.notification-settings .notification-option span{text-align:left}.notification-settings .notification-option input{margin:0}

.resources .resource-row strong{white-space:normal;text-align:right;max-width:60%;overflow-wrap:anywhere}

.quota-section{margin:24px 0}.quota-counters{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.quota-card{padding:16px;background:#111a23;border-radius:9px;min-width:0}.quota-card strong{font-size:13px}.quota-card small{display:block;color:var(--muted);margin-top:12px}.quota-percent{font-size:19px;margin:13px 0}.quota-section td{white-space:normal;min-width:100px}.quota-section .bounded-list{max-height:400px}

.notification-table-scroll{overflow-x:auto;margin:14px 0}.notification-matrix{width:100%;border-collapse:collapse;min-width:640px}.notification-matrix th,.notification-matrix td{padding:7px 9px;border-bottom:1px solid #26313d;text-align:center}.notification-matrix th:first-child{min-width:180px;text-align:left;position:sticky;left:0;background:#17202a;z-index:1}.notification-matrix th label{display:flex;flex-direction:row;align-items:center;gap:9px;font-size:13px;margin:0}.notification-matrix input{width:18px;height:18px;margin:0;accent-color:#b5d6a7}.notification-matrix thead th{font-size:12px;white-space:nowrap}.notification-group th{font-size:11px;color:#91a1b5;text-transform:uppercase;padding-top:15px!important}.notification-settings .settings-actions{margin-top:12px}.event-record-link{display:block;margin-top:8px;font-size:13px}.journal-section{scroll-margin-top:24px}.event-detail{max-width:720px;width:calc(100% - 36px);color:inherit;background:#17202a;border:1px solid #394651;border-radius:12px;padding:24px}.event-detail::backdrop{background:#0009}.event-full-description{font-size:17px;line-height:1.5}.forecast-card{margin:14px 0}.forecast-card small{line-height:1.5}.notification-settings summary{align-items:center}@media(max-width:600px){.notification-matrix{min-width:540px}.notification-matrix th:first-child{min-width:150px}.notification-matrix th,.notification-matrix td{padding:7px 6px}.notification-matrix th label{font-size:12px}.panel-nav{flex-wrap:wrap;gap:9px}.event-detail{padding:16px}}

/* Shared identity colors: camera hue is independent of processing status. */
.camera-identity{color:var(--camera-color);border-left:3px solid var(--camera-color);padding-left:9px}.camera-chip{font-size:12px;display:inline-flex;padding:6px 10px;border-radius:4px;background:#111a23}.camera-legend{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 22px}
.pill.violet,.state-choice.violet{color:#d2b4f5;background:#30263e;border-color:#72548c}.pill.slate,.state-choice.slate{color:#bbc8d8;background:#26313e;border-color:#536477}.pill.amber,.state-choice.amber{color:#f0cc8d;background:#3a3121;border-color:#826a38}.pill.red,.state-choice.red{color:#f2aaa7;background:#402a30;border-color:#8c5358}
.state-filters{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.state-choice{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 11px;border:1px solid #3e5265;border-radius:8px;background:#202c38;color:#d3dfec;font-size:12px;margin:0;cursor:pointer}.state-choice input{width:17px;height:17px;margin:0;accent-color:currentColor}.state-choice:has(input:not(:checked)){opacity:.55}.state-filter-actions{display:flex;flex-wrap:wrap;gap:10px}
.monitor-main>.surface,.monitor-main>.dashboard-columns{margin-top:24px;margin-bottom:24px}.event-actions{display:flex;align-items:flex-end;flex-direction:column;gap:12px}.event-actions .secondary{margin:0}.section-line{gap:18px;flex-wrap:wrap}.panel-nav{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center}.panel-nav a{padding:9px 2px}.topbar{gap:20px;height:auto;min-height:92px;padding-top:14px;padding-bottom:14px}.history-form{margin-bottom:22px;gap:18px}.history-form label{margin-top:0}.history-form .primary{min-height:45px}.surface{padding:24px}.journal-section{margin-top:24px}.journal-page .monitor-main>.heading{margin-bottom:24px}.journal-page .monitor-main>#global-filters{margin-bottom:20px}.journal-page .monitor-main>.journal-section{margin-top:20px}.journal-page .monitor-main>:not(.heading):not(#global-filters):not(#journal):not(#page-error):not(footer){display:none!important}body:not(.journal-page) #journal{display:none}
.section-footnote,#coverage-note,#quota-note,#quota-app-limit,#quota-collector,#analysis-limit-note,#sampling-note,.resources>p:not(#tokens-reserved),.quota-card>small,.forecast-card>small{display:none!important}.notification-settings summary span{display:none}.event-meta{margin-top:12px}.history-section .event-item{gap:24px}.journal-page #event-list{max-height:calc(100vh - 400px);min-height:260px}
@media(max-width:700px){.topbar{align-items:flex-start;flex-wrap:wrap}.panel-nav{order:3;width:100%;gap:8px 16px}.surface{padding:18px}.event-actions{align-items:flex-start}.state-filter-actions{width:100%}.state-choice{font-size:11px}.journal-page #event-list{max-height:65vh}.history-form .primary{width:100%}}
.state-choice.good{color:#b8dcae;background:#23372d;border-color:#52755c}.state-choice.blue{color:#a6cdf6;background:#22354b;border-color:#4b7196}.state-choice.warn{color:#f0cc8d;background:#3a3121;border-color:#826a38}.state-choice input{accent-color:#b4d6ab}.event-actions .pill{white-space:normal;text-align:center}.event-actions small{margin:0}.journal-page .refresh-status{display:none}

select:has(option[value="1072618270"]:checked){color:#90baf3}.settings-camera:has(input[value="1072618270"]) strong{color:#90baf3}#archive-dialog:has(#archive-camera option[value="1072618270"]:checked) h2{color:#90baf3}
select:has(option[value="1072596345"]:checked){color:#85d3c4}.settings-camera:has(input[value="1072596345"]) strong{color:#85d3c4}#archive-dialog:has(#archive-camera option[value="1072596345"]:checked) h2{color:#85d3c4}
select:has(option[value="1072625193"]:checked){color:#dab0e8}.settings-camera:has(input[value="1072625193"]) strong{color:#dab0e8}#archive-dialog:has(#archive-camera option[value="1072625193"]:checked) h2{color:#dab0e8}
select:has(option[value="1072990306"]:checked){color:#eac184}.settings-camera:has(input[value="1072990306"]) strong{color:#eac184}#archive-dialog:has(#archive-camera option[value="1072990306"]:checked) h2{color:#eac184}
select:has(option[value="1078997408"]:checked){color:#edacb7}.settings-camera:has(input[value="1078997408"]) strong{color:#edacb7}#archive-dialog:has(#archive-camera option[value="1078997408"]:checked) h2{color:#edacb7}
select:has(option[value="1056796446"]:checked){color:#b9c68e}.settings-camera:has(input[value="1056796446"]) strong{color:#b9c68e}#archive-dialog:has(#archive-camera option[value="1056796446"]:checked) h2{color:#b9c68e}