@font-face{font-family:Manrope;src:url('/static/fonts/manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}
:root{--canvas:#08090b;--panel:#121418;--ink:#edf0f3;--muted:#9aa1a9;--accent:#edf0f3;--navy:#edf0f3;--accent-hover:#cdd4dc;--line:#30343a;font-family:Manrope,'Segoe UI',sans-serif;color-scheme:dark}
html,body{background:var(--canvas);color:var(--ink);min-height:100%;font-family:Manrope,'Segoe UI',sans-serif}body{margin:0;isolation:isolate}body::after{content:'';position:fixed;inset:13px;border:1px solid #ffffff23;border-radius:20px;pointer-events:none;z-index:90}body:not(.aircraft-page){padding:15px 0 20px;background:#08090b}
#siteHeader{width:calc(100% - 90px);max-width:none;margin:0 45px;padding:14px 0;min-height:84px;position:relative;top:auto;border:0;border-bottom:1px solid #282c31;border-radius:0;box-shadow:none;background:transparent;backdrop-filter:none;display:flex;align-items:center;gap:40px}#siteHeader .brand,#siteHeader .brand img{width:92px;height:53px;object-fit:contain}#siteHeader .navigation{margin-left:auto}#siteHeader #menuPanel{gap:18px}#siteHeader #menuPanel a,#siteHeader #menuPanel button{font:500 12px Manrope,sans-serif;letter-spacing:0;color:#a7adb6;padding:12px 9px;min-height:44px;gap:7px;border-radius:5px;background:none}#siteHeader #menuPanel [aria-current="page"]{color:#fff}#siteHeader #menuPanel [aria-current="page"]::after{height:1px;bottom:6px;left:9px;right:9px;background:#ccd3dc}#siteHeader #menuPanel a:hover,#siteHeader #menuPanel button:hover{color:#fff}.pixel-icon{width:17px;height:17px;opacity:.85}.page-heading{margin:34px 45px 27px; }.page-heading h1{font-size:clamp(25px,2.4vw,38px);font-weight:500;line-height:1.15;letter-spacing:-1.3px;margin:0}.page-heading p{font-size:12px;color:#89929c;margin:0;max-width:440px}
.dashboard main,.statistics-page main{width:calc(100% - 90px);max-width:none;margin:0 45px 30px;gap:20px}.dashboard main{grid-template-columns:minmax(0,1fr) 360px}.camera-card,.controls,.lower-panel,.stats-panel,.stat-card{background:#121418;border:1px solid #2a2e34;border-radius:12px;box-shadow:0 5px 18px #0002}.camera-card{overflow:hidden}.camera-heading{padding:17px 22px;border-bottom:1px solid #2a2e34;background:#15171b}.camera-heading h2{font-size:14px;font-weight:550}.camera{background:#0c0e11;min-height:390px;height:clamp(360px,46vh,560px);border:0;border-radius:0}.camera-heading button{border-color:#383e46;background:#1b1e23}.camera-dot{background:#9ca8b5;box-shadow:none}.preview-eyebrow{font:11px Manrope,sans-serif;letter-spacing:0;text-transform:none;color:#8a939f}#cameraEmpty h3{font:500 clamp(24px,2.8vw,38px)/1.2 Manrope,sans-serif;letter-spacing:-1.2px}#cameraEmpty p{font-size:13px;line-height:1.8;color:#8d96a0}.view-corner{opacity:.35}.camera-card .actions{background:#15171b;border-top:1px solid #292e35;padding:15px 20px}.controls{padding:24px}.control-title{font-size:14px}.control,.audio-top{border-color:#2a3037}.mini-icon{background:#1c2026;border:1px solid #343b44;border-radius:8px}.telemetry-grid{gap:14px}.telemetry-grid>div{background:#111419;border:1px solid #2a3037;border-radius:9px}.telemetry-grid strong{font-family:Manrope,sans-serif;font-size:27px;letter-spacing:-1px}.controls h2,.lower-panel h2{font-size:16px;font-weight:600}.controls p,.controls small,.lower-panel p{color:#9ba4af}.stats-panel{padding:23px}.summary-grid{gap:16px}.stat-card{padding:23px}.stat-card strong{font:500 clamp(26px,2.8vw,39px)/1.1 Manrope,sans-serif;letter-spacing:-1.5px;color:#edf0f3}.stat-card span,.stat-card small{font-size:12px;color:#9ba4af}.charts{gap:20px}.statistics-page h2{font-size:16px;letter-spacing:-.3px;font-weight:600}.stats-panel p{font-size:12px;color:#949eaa;line-height:1.7}.filters{padding:18px 22px;gap:18px}.filters label{font-size:11px;font-weight:500;color:#aeb6c0}.filters input,.filters select{background:#0d1014;border:1px solid #3a414b;border-radius:6px;padding:10px;color:#e5eaf0;font:12px Manrope,sans-serif;min-height:40px}button,input,select{font-family:Manrope,sans-serif}button.primary,#apply,#startFlight,#viewCamera{background:#e5e9ee;color:#11151b;border-color:#e5e9ee;box-shadow:none}.actions button,.audio-actions button,.flight-actions button{border-radius:6px}.switch[aria-checked=true]{background:#dce2e9}.switch[aria-checked=true]::after{background:#15191e}.filters button{border-radius:6px;padding:10px 18px}table{font-size:12px}th{background:#181c22;color:#a4adb8;font-weight:500}td,th{border-color:#2a3038}tbody tr:hover{background:#191e25}caption{font-size:11px;color:#84909d}
.chart-interaction-hint{font-size:11px;color:#8e99a6}dialog{background:#14181e;border:1px solid #454e59;color:#eef1f5;border-radius:14px}.detection-panel{background:#1a2028;color:#e9eef5;border-color:#606e7e}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #d7e5f4;outline-offset:4px}
@media(min-width:1800px){.dashboard main{grid-template-columns:minmax(0,1fr) 420px}.controls{padding:30px}.camera{height:54vh}}
@media(max-width:1000px){#siteHeader{gap:16px}.dashboard main{grid-template-columns:minmax(0,1fr) 310px}.page-heading{align-items:flex-start;flex-direction:column;gap:10px}}
@media(max-width:850px){.dashboard main{grid-template-columns:minmax(0,1fr)}.charts{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){body::after{inset:7px;border-radius:13px}#siteHeader{width:calc(100% - 44px);margin:0 22px;padding:6px 0;gap:12px;min-height:74px}#siteHeader .brand,#siteHeader .brand img{width:58px;height:38px}#siteHeader .navigation{max-width:calc(100% - 64px);width:auto}#siteHeader #menuPanel{gap:2px;flex-wrap:wrap}#siteHeader #menuPanel a,#siteHeader #menuPanel button{font-size:9px;padding:8px 6px;min-height:38px;flex-direction:row}#siteHeader #menuPanel .pixel-icon{display:none}.page-heading{margin:26px 22px 22px}.page-heading h1{font-size:28px}.page-heading p{font-size:11px}.dashboard main,.statistics-page main{width:calc(100% - 44px);margin:0 22px 24px;gap:15px}.controls,.stats-panel,.stat-card{padding:18px}.camera{height:350px;min-height:300px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card strong{font-size:28px}.stat-card span,.stat-card small{font-size:10px}.filters{gap:12px}.filters label{min-width:120px}.table-scroll{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Monochrome pixel drone cursor, centered on the crosshair hotspot. */
@media(hover:hover) and (pointer:fine) {
  html,body { cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%223.5%22%20stroke-linecap%3D%22square%22%3E%3Cpath%20d%3D%22M9%209l5%205m4%204%205%205M23%209l-5%205m-4%204-5%205%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22square%22%3E%3Cpath%20d%3D%22M9%209l5%205m4%204%205%205M23%209l-5%205m-4%204-5%205%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22black%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M4%203h6v2h2v5h-2v2H4v-2H2V5h2ZM22%203h6v2h2v5h-2v2h-6v-2h-2V5h2ZM4%2021h6v2h2v5h-2v2H4v-2H2v-5h2ZM22%2021h6v2h2v5h-2v2h-6v-2h-2v-5h2Z%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M14%2012h4v2h2v4h-2v2h-4v-2h-2v-4h2Z%22%20fill%3D%22white%22%20stroke%3D%22black%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M15%2015h2v2h-2Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E") 16 16,auto; }
  a[href],button:not(:disabled),summary,select:not(:disabled),label[for],input[type=range]:not(:disabled),input[type=checkbox]:not(:disabled),input[type=radio]:not(:disabled) {
    cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%223.5%22%20stroke-linecap%3D%22square%22%3E%3Cpath%20d%3D%22M9%209l5%205m4%204%205%205M23%209l-5%205m-4%204-5%205%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22square%22%3E%3Cpath%20d%3D%22M9%209l5%205m4%204%205%205M23%209l-5%205m-4%204-5%205%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22black%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M4%203h6v2h2v5h-2v2H4v-2H2V5h2ZM22%203h6v2h2v5h-2v2h-6v-2h-2V5h2ZM4%2021h6v2h2v5h-2v2H4v-2H2v-5h2ZM22%2021h6v2h2v5h-2v2h-6v-2h-2v-5h2Z%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M14%2012h4v2h2v4h-2v2h-4v-2h-2v-4h2Z%22%20fill%3D%22white%22%20stroke%3D%22black%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M15%2015h2v2h-2Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20d%3D%22M15%206h2v3h-2Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E") 16 16,pointer;
  }
  input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=file]):not(:disabled),textarea,[contenteditable=true] { cursor:text; }
}
@media(forced-colors:active) {
  html,body { cursor:auto; }
  a[href],button:not(:disabled),summary,select:not(:disabled),label[for] { cursor:pointer; }
}

.star-background::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 17px 91px, #ffffff94 1px, transparent 1.5px),
    radial-gradient(circle at 122px 37px, #ffffff70 .8px, transparent 1.3px),
    radial-gradient(circle at 81px 136px, #ffffffad 1.2px, transparent 1.7px);
  background-size: 149px 169px, 193px 151px, 211px 223px;
}
@media (forced-colors:active) {
  .star-background::before { display: none; }
}


#siteHeader #menuPanel a,
#siteHeader #menuPanel button {
  transition: background-color .2s ease, color .2s ease;
}

@media (max-width: 600px) {
  #siteHeader { gap: 8px 12px; flex-wrap: wrap; }
  #siteHeader .navigation { flex: 1 1 100%; max-width: none; }
  #siteHeader #menuPanel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 64px), 1fr));
    gap: 4px;
  }
  #siteHeader #menuPanel a,
  #siteHeader #menuPanel button {
    justify-content: center;
    min-height: 44px;
    padding-inline: 4px;
    font-size: 11px;
  }
  .dashboard .actions,
  .dashboard .route-actions { flex-wrap: wrap; }
  .dashboard .actions button,
  .dashboard .route-actions button { flex: 1 1 auto; }
  .statistics-page .filters > * { min-width: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  #siteHeader .brand img { animation: aid-logo-intro 1.2s step-end; }
}
@keyframes aid-logo-intro {
  from { content: url("/static/aid-logo-intro.gif"); }
  to { content: normal; }
}
