:root {
  color-scheme: dark;
  --bg: #050b13;
  --surface: rgba(11, 24, 39, 0.78);
  --surface-strong: #0b1827;
  --surface-soft: rgba(18, 39, 58, 0.58);
  --line: rgba(135, 183, 209, 0.15);
  --line-bright: rgba(66, 216, 196, 0.42);
  --text: #edf8fb;
  --muted: #8aa3b2;
  --cyan: #57e8d1;
  --cyan-soft: #82f6e3;
  --blue: #4a9eff;
  --warning: #efc46e;
  --danger: #ff7c85;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--text); background: radial-gradient(circle at 16% 10%, rgba(25, 91, 115, .24), transparent 32%), radial-gradient(circle at 85% 82%, rgba(18, 104, 91, .16), transparent 27%), var(--bg); }
button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ambient { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.ambient::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(115, 194, 214, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(115, 194, 214, .055) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
.ambient span { position: absolute; width: 420px; aspect-ratio: 1; border: 1px solid rgba(87, 232, 209, .08); border-radius: 50%; filter: blur(.2px); }
.ambient span:nth-child(1) { left: -220px; top: -200px; }
.ambient span:nth-child(2) { right: -260px; top: 10%; width: 600px; }
.ambient span:nth-child(3) { left: 40%; bottom: -500px; width: 760px; }

.login-screen { position: relative; z-index: 1; min-height: 100vh; display: grid; grid-template-columns: 1.2fr .8fr; }
.login-brand { min-height: 100vh; padding: clamp(48px, 7vw, 112px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(5, 13, 23, .16), rgba(5, 13, 23, .92)), linear-gradient(0deg, rgba(5, 13, 23, .58), rgba(5, 13, 23, .04)), url("./assets/photovoltaic-line.png") center/cover; }
.login-brand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(5, 12, 22, .18), transparent 45%), repeating-linear-gradient(90deg, transparent 0 119px, rgba(93, 229, 208, .035) 120px); pointer-events: none; }
.login-brand > * { position: relative; z-index: 1; }
.eyebrow, .kicker { margin: 0 0 14px; color: var(--cyan); font-size: 12px; letter-spacing: .22em; font-weight: 600; }
.collaboration-label { margin: 2px 0 18px; color: #cce5e7; font-size: clamp(17px, 1.45vw, 24px); font-weight: 500; letter-spacing: .14em; text-shadow: 0 4px 24px rgba(0,0,0,.42); }
.login-brand h1 { margin: 0; max-width: none; font-size: clamp(40px, 4.2vw, 68px); line-height: 1.14; font-weight: 500; letter-spacing: -.04em; white-space: nowrap; text-shadow: 0 5px 40px rgba(0,0,0,.46); }
.brand-copy { max-width: 640px; margin: 28px 0 0; color: #c6d8e0; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.9; }
.brand-mark { position: relative; width: 42px; height: 42px; flex: none; }
.large-mark { width: 72px; height: 72px; margin-bottom: 30px; }
.mark-orbit { position: absolute; inset: 3px; border: 1px solid rgba(87, 232, 209, .72); border-radius: 50%; }
.mark-orbit::before, .mark-orbit::after { content: ""; position: absolute; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 18px var(--cyan); }
.mark-orbit::before { width: 7px; height: 7px; top: 3px; right: 6px; }
.mark-orbit::after { width: 4px; height: 4px; bottom: 5px; left: 5px; }
.mark-core { position: absolute; inset: 14px; border: 2px solid var(--cyan); transform: rotate(45deg); box-shadow: 0 0 18px rgba(87,232,209,.35) inset; }
.network-visual { width: min(620px, 80%); height: 150px; margin-top: 64px; position: relative; display: flex; justify-content: space-between; align-items: center; }
.network-line { position: absolute; left: 16%; right: 16%; top: 50%; height: 1px; background: linear-gradient(90deg, var(--cyan), rgba(74,158,255,.8)); box-shadow: 0 0 14px rgba(87,232,209,.6); }
.network-pulse { position: absolute; width: 12px; height: 12px; top: calc(50% - 6px); left: 20%; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 22px 6px rgba(87,232,209,.4); animation: travel 3.2s ease-in-out infinite; }
@keyframes travel { 0% { left: 20%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 78%; opacity: 0; } }
.site-node { position: relative; z-index: 2; padding: 18px 22px 18px 48px; min-width: 188px; background: rgba(7, 20, 32, .84); border: 1px solid rgba(87,232,209,.22); backdrop-filter: blur(14px); }
.site-node i { position: absolute; left: 20px; top: 24px; width: 10px; height: 10px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 12px var(--cyan); }
.site-node span, .site-node small { display: block; }
.site-node span { font-size: 15px; font-weight: 600; }
.site-node small { margin-top: 5px; color: var(--muted); }

.login-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px clamp(28px, 5vw, 86px); background: rgba(5, 12, 21, .82); backdrop-filter: blur(20px); }
.login-card { width: 100%; max-width: 470px; }
.mobile-collaboration { display: none; }
.login-meta { margin-bottom: 56px; color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 9px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(87,232,209,.9); display: inline-block; }
.login-card h2 { margin: 0; font-size: clamp(25px, 2vw, 32px); font-weight: 500; letter-spacing: -.02em; }
.system-name { margin: 10px 0 44px; color: var(--muted); line-height: 1.65; }
.login-card label { display: block; margin: 0 0 10px; color: #aec3ce; font-size: 14px; }
.input-wrap { position: relative; margin-bottom: 24px; }
.input-wrap > .icon { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: #7895a5; }
.input-wrap input, .replay-filter input, .replay-filter select { width: 100%; height: 54px; border: 1px solid var(--line); background: rgba(14,31,46,.72); color: var(--text); padding: 0 48px; border-radius: 4px; transition: border-color .2s, background .2s; }
.input-wrap input:focus, .replay-filter input:focus, .replay-filter select:focus { border-color: var(--line-bright); background: rgba(17,38,55,.95); }
.icon-button { position: absolute; right: 10px; top: 8px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.form-row { display: flex; justify-content: space-between; align-items: center; margin: 5px 0 26px; color: var(--muted); font-size: 13px; }
.form-row .check-label { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); cursor: pointer; }
.check-label input { accent-color: var(--cyan); }
.primary-button, .secondary-button { min-height: 48px; border-radius: 3px; cursor: pointer; border: 1px solid transparent; font-weight: 600; letter-spacing: .04em; transition: transform .2s, background .2s, box-shadow .2s; }
.primary-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; color: #042019; background: linear-gradient(95deg, #45d9c1, #79ecd8); box-shadow: 0 10px 34px rgba(54,208,184,.2); }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 14px 42px rgba(54,208,184,.28); }
.secondary-button { padding: 0 18px; color: var(--cyan-soft); background: rgba(87,232,209,.07); border-color: rgba(87,232,209,.2); }
.secondary-button:hover { background: rgba(87,232,209,.13); }
.form-error { min-height: 20px; margin: 10px 0 0; color: var(--danger); font-size: 13px; text-align: center; }
.demo-note { margin: 20px 0 0; color: #6f8a99; text-align: center; font-size: 12px; }
.login-footer { width: 100%; max-width: 470px; margin: 58px 0 0; color: #516977; font-size: 12px; }
.mobile-brand { display: none; }

.app-shell { position: relative; z-index: 1; min-height: 100vh; display: grid; grid-template-columns: 94px minmax(0, 1fr); grid-template-rows: 96px minmax(0, 1fr); }
.topbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 0 28px 0 26px; border-bottom: 1px solid var(--line); background: rgba(5,12,21,.82); backdrop-filter: blur(20px); }
.topbar-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.topbar-brand > div:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.topbar-brand strong { font-size: clamp(19px, 1.35vw, 24px); font-weight: 600; letter-spacing: .01em; }
.topbar-brand span { color: var(--muted); font-size: clamp(12px, .85vw, 15px); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.connection { display: flex; align-items: center; gap: 10px; padding: 0 18px; border-right: 1px solid var(--line); }
.connection div { display: flex; flex-direction: column; gap: 2px; }
.connection b { font-size: 13px; font-weight: 500; }
.connection small { color: var(--muted); font-size: 11px; }
.clock { min-width: 154px; color: #bdd0d8; font-variant-numeric: tabular-nums; font-size: 13px; text-align: center; }
.topbar-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(15,31,45,.55); color: var(--muted); border-radius: 3px; cursor: pointer; }
.topbar-button:hover { color: var(--cyan); border-color: rgba(87,232,209,.3); }
.sidebar { grid-row: 2; padding: 22px 14px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); background: rgba(7,16,27,.72); }
.sidebar nav { display: grid; gap: 10px; }
.nav-item { border: 0; cursor: pointer; background: transparent; color: #6e8795; }
.sidebar .nav-item { min-height: 68px; padding: 10px 4px; border-left: 2px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12px; }
.nav-item:hover, .nav-item.active { color: var(--cyan-soft); }
.sidebar .nav-item.active { border-left-color: var(--cyan); background: linear-gradient(90deg, rgba(87,232,209,.11), transparent); }
.sidebar-bottom { display: grid; gap: 12px; }
.mini-stat { padding: 13px 8px; border-top: 1px solid var(--line); }
.mini-stat span { display: block; color: #657f8e; font-size: 10px; }
.mini-stat strong { display: block; margin-top: 4px; font-size: 18px; font-weight: 500; }
.mini-stat small { color: #6f8c9c; font-size: 9px; }
.sidebar-bottom p { margin: 4px 0 0; color: #66808d; font-size: 9px; text-align: center; }
.sidebar-bottom p .status-dot { margin-right: 5px; width: 5px; height: 5px; }
.workspace { padding: clamp(22px, 2.5vw, 38px); overflow: hidden; }
.view { max-width: 1680px; margin: 0 auto; }
.view-heading { min-height: 62px; margin-bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; }
.view-heading h1 { margin: 0; font-size: clamp(32px, 2.8vw, 46px); font-weight: 500; letter-spacing: -.025em; }
.view-heading .kicker { margin-bottom: 8px; }
.heading-actions { display: flex; gap: 12px; align-items: center; }
.latency { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.latency i { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 10px var(--cyan); }
.panel { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(13,29,45,.84), rgba(7,18,29,.88)); box-shadow: var(--shadow); }
.monitor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 16px; }
.main-feed { min-width: 0; }
.feed-visual { position: relative; overflow: hidden; aspect-ratio: 16 / 8.35; background: #07101a; }
.feed-visual > img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.78) contrast(1.04) brightness(.78); transition: transform .65s ease, object-position .65s ease; }
.live-frame, .preview-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #050b13; pointer-events: none; }
.live-frame { z-index: 1; }
.preview-frame { z-index: 1; }
.feed-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,13,22,.24), transparent 28%, transparent 62%, rgba(4,11,19,.72)), linear-gradient(90deg, rgba(17,74,82,.08), transparent 40%); }
.camera-1 > img { object-position: 20% center; transform: scale(1.08); }
.camera-2 > img { object-position: 38% center; transform: scale(1.15); }
.camera-3 > img { object-position: 58% center; transform: scale(1.05); }
.camera-4 > img { object-position: 76% center; transform: scale(1.14); }
.camera-5 > img { object-position: 86% center; transform: scale(1.2); }
.camera-6 > img { object-position: center; transform: scale(1); }
.camera-card.camera-1 img { object-position: 20% center; transform: scale(1.08); }
.camera-card.camera-2 img { object-position: 38% center; transform: scale(1.15); }
.camera-card.camera-3 img { object-position: 58% center; transform: scale(1.05); }
.camera-card.camera-4 img { object-position: 76% center; transform: scale(1.14); }
.camera-card.camera-5 img { object-position: 86% center; transform: scale(1.2); }
.camera-card.camera-6 img { object-position: center; transform: scale(1); }
.scanline { position: absolute; z-index: 2; left: 0; right: 0; height: 1px; top: -5%; background: linear-gradient(90deg, transparent, rgba(87,232,209,.8), transparent); box-shadow: 0 0 18px rgba(87,232,209,.5); animation: scan 5s linear infinite; opacity: .4; }
@keyframes scan { to { top: 105%; } }
.feed-top, .feed-bottom { position: absolute; z-index: 3; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; }
.feed-top { top: 18px; color: #c8d8de; font-size: 12px; letter-spacing: .14em; }
.live-badge, .replay-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; font-size: 10px; letter-spacing: .15em; background: rgba(4,14,23,.72); border: 1px solid rgba(87,232,209,.24); }
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.replay-badge { color: var(--warning); border-color: rgba(239,196,110,.32); }
.feed-bottom { bottom: 18px; align-items: flex-end; }
.feed-bottom div:first-child { display: flex; flex-direction: column; gap: 4px; }
.feed-bottom strong { font-size: 18px; font-weight: 500; }
.feed-bottom span { color: #a5bac5; font-size: 12px; }
.feed-quality { color: #b8cbd3; font-size: 11px; letter-spacing: .1em; }
.demo-watermark { position: absolute; z-index: 3; right: 20px; bottom: 49px; padding: 4px 7px; color: rgba(226,241,246,.62); background: rgba(6,15,24,.52); font-size: 10px; letter-spacing: .12em; }
.feed-focus { position: absolute; z-index: 3; width: 86px; height: 56px; left: 50%; top: 50%; transform: translate(-50%,-50%); opacity: .34; }
.feed-focus i { position: absolute; width: 15px; height: 15px; border-color: var(--cyan); border-style: solid; }
.feed-focus i:nth-child(1) { left: 0; top: 0; border-width: 1px 0 0 1px; }.feed-focus i:nth-child(2) { right: 0; top: 0; border-width: 1px 1px 0 0; }.feed-focus i:nth-child(3) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }.feed-focus i:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.feed-toolbar { min-height: 82px; display: grid; grid-template-columns: repeat(3, minmax(120px, 210px)); align-items: center; gap: 26px; padding: 14px 22px; }
.feed-toolbar > div { border-right: 1px solid var(--line); }
.metric-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.feed-toolbar strong { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.feed-toolbar .good { color: var(--cyan); }
.activity-panel { padding: 22px; }
.panel-title { display: flex; align-items: flex-start; justify-content: space-between; }
.panel-title h2 { margin: 0; font-size: 17px; font-weight: 500; }
.panel-title .kicker { margin-bottom: 5px; font-size: 9px; }
.panel-title > span { padding: 5px 7px; color: var(--cyan); border: 1px solid rgba(87,232,209,.15); font-size: 10px; }
.health-ring { width: 142px; height: 142px; margin: 30px auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--cyan) 0 88%, rgba(87,232,209,.08) 88%); position: relative; filter: drop-shadow(0 0 15px rgba(87,232,209,.12)); }
.health-ring::before { content: ""; position: absolute; inset: 7px; background: #0b1927; border-radius: 50%; }
.health-ring > div { position: relative; z-index: 1; text-align: center; }
.health-ring strong { display: block; font-size: 31px; font-weight: 400; }
.health-ring small { color: var(--cyan); font-size: 13px; }
.health-ring span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.status-list { margin: 0; }
.status-list > div { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--line); }
.status-list dt { color: #93a9b5; font-size: 12px; }
.status-list dd { margin: 0; color: var(--cyan); font-size: 11px; }
.status-list dd i { display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: var(--cyan); }
.event-block { margin-top: 20px; padding: 14px; background: rgba(87,232,209,.045); border-left: 2px solid rgba(87,232,209,.4); }
.event-block span, .event-block time { color: var(--muted); font-size: 9px; }
.event-block time { float: right; }
.event-block p { margin: 9px 0 0; color: #b7c8d0; font-size: 11px; line-height: 1.55; }
.camera-strip { margin-top: 16px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.camera-card { padding: 0; border: 1px solid var(--line); background: rgba(10,23,36,.72); text-align: left; cursor: pointer; overflow: hidden; transition: border-color .2s, transform .2s; }
.camera-card:hover, .camera-card.active { transform: translateY(-2px); border-color: rgba(87,232,209,.5); }
.camera-card .thumb { position: relative; display: block; aspect-ratio: 16/8.5; overflow: hidden; }
.camera-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,12,20,.68), transparent 60%); }
.camera-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) brightness(.66); }
.live-runtime .demo-watermark { display: none; }
.camera-card.active img { filter: saturate(.85) brightness(.78); }
.camera-card .thumb i { position: absolute; z-index: 2; left: 10px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 7px var(--cyan); }
.camera-card .thumb em { position: absolute; z-index: 2; right: 8px; top: 7px; color: rgba(220,236,242,.72); font-style: normal; font-size: 9px; }
.camera-card > span:last-child { display: flex; justify-content: space-between; padding: 10px 11px; color: #a7bbc4; font-size: 11px; }
.camera-card small { color: #617b89; }

.archive-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }.archive-note .icon { width: 17px; color: var(--cyan); }
.replay-grid { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 16px; }
.replay-filter { padding: 22px; }
.replay-filter > label, .time-fields label { display: block; margin: 22px 0 9px; color: #91a9b5; font-size: 12px; }
.replay-filter select, .replay-filter input { height: 46px; padding: 0 12px; color-scheme: dark; }
.time-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.replay-filter .primary-button { margin-top: 28px; }
.recording-legend { margin-top: 28px; display: grid; gap: 11px; color: var(--muted); font-size: 10px; }
.recording-legend span { display: flex; align-items: center; gap: 7px; }
.recording-legend i { width: 18px; height: 3px; background: #517287; }.recording-legend span:last-child i { background: var(--cyan); }
.replay-content { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: 16px; }
.replay-player { min-width: 0; }
.replay-player .feed-visual { aspect-ratio: 16/8.7; }
.play-control { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; }
.play-control button { width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: var(--text); background: rgba(4,12,20,.56); backdrop-filter: blur(8px); cursor: pointer; }
.timeline { padding: 16px 20px 20px; }
.timeline-meta { display: flex; justify-content: space-between; margin-bottom: 10px; }
.timeline-meta strong { font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }.timeline-meta span { color: var(--muted); font-size: 11px; }
.timeline input { width: 100%; accent-color: var(--cyan); }
.timeline-scale { display: flex; justify-content: space-between; margin-top: 5px; color: #55707e; font-size: 9px; }
.replay-results { padding: 20px; }
.record-item { width: 100%; margin-top: 13px; padding: 12px 0; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px; color: #93a9b5; background: transparent; border: 0; border-top: 1px solid var(--line); text-align: left; cursor: pointer; }
.record-icon { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); }.record-icon .icon { width: 13px; }
.record-item strong, .record-item small { display: block; }.record-item strong { color: #c3d3da; font-size: 11px; font-weight: 500; }.record-item small { margin-top: 4px; color: #657e8b; font-size: 9px; }.record-item b { color: #617987; font-size: 9px; font-weight: 500; }
.record-item.active .record-icon { color: var(--cyan); border-color: rgba(87,232,209,.4); }.record-item.active b { color: var(--cyan); }

.overview-hero { min-height: 390px; display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; position: relative; }
.overview-hero::before { content: ""; position: absolute; inset: 0; opacity: .15; background: url("./assets/photovoltaic-line.png") center/cover; mask-image: linear-gradient(90deg, transparent, black); }
.overview-copy { padding: clamp(36px,5vw,72px); position: relative; z-index: 1; }
.section-index { color: var(--cyan); font-size: 11px; letter-spacing: .12em; }
.overview-copy h2 { margin: 22px 0 20px; font-size: clamp(32px,3vw,48px); font-weight: 400; line-height: 1.28; letter-spacing: -.035em; }
.overview-copy p { max-width: 520px; color: #8fa8b4; font-size: 15px; line-height: 1.9; }
.flow-map { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 50px; }
.flow-node { min-width: 170px; padding: 24px; border: 1px solid var(--line); background: rgba(6,16,26,.78); backdrop-filter: blur(10px); }
.flow-node.highlight { border-color: rgba(87,232,209,.4); box-shadow: 0 0 30px rgba(87,232,209,.08); }
.flow-node span, .flow-node strong, .flow-node small { display: block; }.flow-node span { color: var(--cyan); font-size: 10px; }.flow-node strong { margin: 8px 0; font-size: 17px; font-weight: 500; }.flow-node small { color: var(--muted); }
.flow-link { width: 110px; position: relative; text-align: center; }.flow-link::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 1px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }.flow-link i { position: absolute; top: -16px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: flow 2.4s linear infinite; }.flow-link b { color: #71909e; font-size: 9px; font-weight: 400; }
@keyframes flow { from { left: 0; } to { left: calc(100% - 8px); } }
.capability-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 16px; }
.capability { min-height: 180px; padding: 24px; position: relative; }.capability > span { color: var(--cyan); font-size: 10px; letter-spacing: .13em; }.capability h3 { margin: 28px 0 12px; font-size: 18px; font-weight: 500; }.capability p { margin: 0; color: #79929f; font-size: 12px; line-height: 1.7; }.capability.future { border-style: dashed; }
.mobile-nav { display: none; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; transform: translate(-50%, 20px); padding: 11px 18px; color: #dff7f2; background: rgba(11,32,43,.94); border: 1px solid rgba(87,232,209,.3); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; font-size: 13px; }.toast.show { opacity: 1; transform: translate(-50%,0); }
.fade-in { animation: fade-in .35s ease both; }@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 1180px) {
  .login-screen { grid-template-columns: 1fr 1fr; }.login-brand { padding: 54px; }.login-brand h1 { font-size: clamp(29px, 3.65vw, 44px); }.collaboration-label { font-size: clamp(15px, 1.55vw, 19px); }.network-visual { width: 100%; }.site-node { min-width: 160px; padding-left: 42px; }
  .monitor-layout { grid-template-columns: 1fr; }.activity-panel { display: grid; grid-template-columns: 1fr 150px 1fr; align-items: center; gap: 20px; }.activity-panel .panel-title { grid-column: 1/-1; }.health-ring { margin: 0; width: 120px; height: 120px; }.event-block { margin: 0; }.camera-strip { grid-template-columns: repeat(3,1fr); }
  .replay-content { grid-template-columns: 1fr; }.replay-results { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }.replay-results .panel-title { grid-column: 1/-1; }.record-item { grid-template-columns: 30px 1fr; }.record-item b { display: none; }
  .capability-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  .login-screen { display: block; }.login-brand { display: none; }.login-panel { min-height: 100vh; padding: 28px 22px; }.mobile-brand { width: 100%; max-width: 470px; margin-bottom: 50px; display: flex; align-items: center; gap: 12px; color: #b8cbd3; font-size: 13px; }.login-meta { margin-bottom: 22px; }.mobile-collaboration { display: block; margin: 0 0 28px; color: var(--cyan); font-size: 14px; font-weight: 500; letter-spacing: .08em; }.login-footer { margin-top: 34px; }
  .app-shell { display: block; padding-bottom: 76px; }.topbar { height: 68px; padding: 0 16px; position: sticky; top: 0; z-index: 30; }.topbar-brand .brand-mark { width: 34px; height: 34px; }.topbar-brand strong { max-width: 220px; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.topbar-brand span, .connection, .clock, #fullscreenButton { display: none; }.topbar-actions { gap: 0; }.topbar-button { border: 0; background: transparent; }
  .sidebar { display: none; }.workspace { padding: 22px 14px; overflow: visible; }.view-heading { align-items: flex-start; gap: 14px; }.heading-actions { flex-direction: column; align-items: flex-end; }.heading-actions .secondary-button { min-height: 38px; font-size: 12px; }.monitor-layout { display: block; }.main-feed .feed-visual { aspect-ratio: 16/10; }.feed-toolbar { grid-template-columns: repeat(3,1fr); gap: 10px; padding: 12px; }.activity-panel { margin-top: 12px; display: block; }.activity-panel .health-ring, .activity-panel .event-block { display: none; }.status-list { margin-top: 18px; }.camera-strip { grid-template-columns: repeat(2,1fr); }.camera-card:last-child { grid-column: span 2; }.camera-card .thumb { aspect-ratio: 16/9; }
  .replay-grid { display: block; }.replay-filter { margin-bottom: 12px; }.replay-results { grid-template-columns: 1fr; }.archive-note { display: none; }
  .overview-hero { grid-template-columns: 1fr; min-height: 0; }.flow-map { padding: 28px 20px 42px; }.flow-node { min-width: 125px; padding: 16px; }.flow-link { width: 46px; }.capability-grid { grid-template-columns: 1fr; }
  .mobile-nav { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: 70px; display: grid; grid-template-columns: repeat(3,1fr); padding-bottom: env(safe-area-inset-bottom); background: rgba(5,13,22,.96); border-top: 1px solid var(--line); backdrop-filter: blur(18px); }.mobile-nav .nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 11px; }.mobile-nav .icon { width: 19px; }
}

@media (max-width: 480px) {
  .login-card h2 { font-size: 23px; }.system-name { font-size: 14px; }.view-heading h1 { font-size: 27px; }.feed-top, .feed-bottom { left: 12px; right: 12px; }.feed-bottom strong { font-size: 15px; }.demo-watermark { right: 12px; bottom: 45px; }.feed-toolbar { gap: 6px; }.feed-toolbar > div { padding-right: 4px; }.feed-toolbar strong { font-size: 12px; }.camera-strip { gap: 8px; }.flow-map { flex-direction: column; }.flow-link { height: 58px; width: 1px; }.flow-link::before { top: 0; bottom: 0; left: 0; height: auto; width: 1px; }.flow-link i { top: 0; left: -3px; animation: flow-mobile 2.4s linear infinite; }.flow-link b { display: none; }@keyframes flow-mobile { from { top: 0; } to { top: calc(100% - 8px); } }.capability { min-height: 150px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } }
