/* AuroraCockpit Layout V2.1: premium instrument finish.
 * Design-only overlay; no telemetry, routing, vision, or alert behavior changes.
 * Preserve the five PWA destinations and provide Tactical as a separate instrument view.
 */
html.layout-v2 {
  --text:#ecfff9;
  --muted:#b8cfca;
  --muted2:#88a8a2;
  --aurora:#7dffd5;
  --ice:#78c9ff;
  --wait:#ffd58a;
  --line:rgba(143,235,211,.15);
  --focus:#b7ffe4;
  --panel:rgba(8,26,30,.88);
  --premium-shadow:0 18px 52px rgba(0,0,0,.28),inset 0 1px 0 rgba(233,255,250,.055);
}
html.layout-v2 body {background:#02090b;font-size:16px;color:var(--text);line-height:1.55}
html.layout-v2 .console {
  background:
    radial-gradient(ellipse 900px 550px at 49% -9%,rgba(81,187,166,.155),transparent 70%),
    radial-gradient(ellipse 850px 680px at 94% 44%,rgba(40,108,132,.075),transparent 72%),
    linear-gradient(165deg,#030c10 0%,#071417 49%,#02090b 100%);
}
html.layout-v2 .console:before {
  opacity:.52;
  background-image:linear-gradient(rgba(137,238,215,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(137,238,215,.025) 1px,transparent 1px);
  background-size:52px 52px;
}
html.layout-v2 .console-shell {max-width:1580px;padding:24px 28px 44px}
html.layout-v2 .console-header {border-bottom:1px solid rgba(180,246,231,.10);padding-bottom:22px}
html.layout-v2 .brand-mark {
  width:48px;height:48px;flex-basis:48px;border-radius:14px;
  border:1px solid rgba(125,255,213,.26);
  background:radial-gradient(circle at 32% 20%,rgba(125,255,213,.20),transparent 72%),#091c20;
  color:#a2ffe0;box-shadow:0 0 30px rgba(88,227,189,.06),inset 0 1px rgba(255,255,255,.06);
}
html.layout-v2 .brand h1 {font:700 clamp(23px,2.2vw,30px)/1.1 var(--display);letter-spacing:.065em;color:#f5fffc}
html.layout-v2 .brand p {font:600 10px/1.3 var(--mono);letter-spacing:.14em;color:#91bfae}
html.layout-v2 .control-button {
  border:1px solid rgba(184,242,228,.14);border-radius:10px;
  background:linear-gradient(160deg,rgba(29,54,58,.72),rgba(7,24,29,.88));
  color:#d6ebe6;font:600 13px/1.2 var(--sans);letter-spacing:.025em;
  box-shadow:inset 0 1px rgba(255,255,255,.04);
}
html.layout-v2 .control-button:hover {border-color:rgba(125,255,213,.45);color:#fff}
html.layout-v2 .v2-preview-ribbon {border-bottom:1px solid rgba(182,235,222,.07);margin-bottom:9px}
html.layout-v2 .v2-preview-ribbon strong {color:#c7eadc}
html.layout-v2 .nav-status-row {grid-template-columns:minmax(0,1fr) minmax(305px,.48fr);gap:16px;margin:12px 0 21px;align-items:stretch}
html.layout-v2 .v2-mode-bar {display:grid;grid-template-columns:minmax(0,1fr) minmax(165px,185px);gap:10px;min-width:0}
html.layout-v2 #pwaBottomNav.pwa-bottom-nav {gap:7px}
html.layout-v2 #pwaBottomNav .pwa-nav-button {
  border:1px solid rgba(165,225,212,.12);border-radius:11px;
  background:linear-gradient(180deg,rgba(28,52,57,.59),rgba(6,21,25,.87));
  color:#b6cec8;min-height:56px;transition:background .18s,border-color .18s,color .18s;
}
html.layout-v2 #pwaBottomNav .pwa-nav-button.active {
  border-color:rgba(125,255,213,.48);color:#e8fff5;
  background:linear-gradient(165deg,rgba(33,101,89,.37),rgba(11,48,47,.75));
  box-shadow:inset 0 -2px 0 rgba(125,255,213,.68),inset 0 1px rgba(255,255,255,.06);
}
html.layout-v2 #pwaBottomNav .pwa-nav-label {font:700 13px/1.2 var(--display);letter-spacing:.025em}
html.layout-v2 .status-strip {
  padding:11px 6px;border:1px solid rgba(165,225,212,.12);border-radius:12px;
  background:linear-gradient(165deg,rgba(19,41,45,.78),rgba(5,20,24,.91));
  box-shadow:inset 0 1px rgba(255,255,255,.035);
}
html.layout-v2 .status-strip>div+div {border-color:rgba(160,217,206,.12)}
html.layout-v2 .status-strip p {font:600 10px var(--mono);letter-spacing:.075em;color:#91b7ab}
html.layout-v2 .status-strip strong {font:600 13px/1.55 var(--mono);color:#ebfff6}
html.layout-v2 .v2-tactical-launcher {
  display:flex;align-items:center;gap:10px;min-width:0;min-height:56px;padding:9px 12px;
  border:1px solid rgba(120,201,255,.30);border-radius:12px;
  background:linear-gradient(145deg,rgba(39,84,95,.50),rgba(7,30,38,.88));
  color:#e9f9ff;box-shadow:inset 0 1px rgba(217,245,255,.065);
  cursor:pointer;text-align:left;transition:background .18s,border-color .18s,box-shadow .18s;
}
html.layout-v2 .v2-tactical-launcher:hover,html.layout-v2 .v2-tactical-launcher[aria-pressed="true"] {
  border-color:rgba(120,201,255,.70);
  background:linear-gradient(145deg,rgba(42,106,122,.57),rgba(10,44,52,.95));
  box-shadow:0 0 30px rgba(89,188,227,.075),inset 0 1px rgba(255,255,255,.07);
}
html.layout-v2 .v2-tactical-symbol {display:grid;place-items:center;width:29px;height:29px;flex-shrink:0;color:#9fdcff}
html.layout-v2 .v2-tactical-symbol svg {width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
html.layout-v2 .v2-tactical-copy {display:flex;flex-direction:column;min-width:0;gap:1px}
html.layout-v2 .v2-tactical-copy strong {font:700 14px/1.2 var(--display);letter-spacing:.06em}
html.layout-v2 .v2-tactical-copy small {font:500 11px/1.4 var(--sans);color:#b8d6de;white-space:nowrap}
html.layout-v2 .v2-tactical-arrow {margin-left:auto;font:600 20px/1 var(--sans);color:#a6d7ee}
html.layout-v2[data-v2-destination="tactical"] #pwaBottomNav .pwa-nav-button.active {box-shadow:none;color:#b6cec8;background:linear-gradient(180deg,rgba(28,52,57,.59),rgba(6,21,25,.87));border-color:rgba(165,225,212,.12)}
html.layout-v2 .panel,html.layout-v2 .mission-camera-evidence {
  border:1px solid rgba(157,231,211,.145);border-radius:17px;
  background:linear-gradient(153deg,rgba(21,48,52,.75) 0%,rgba(8,28,32,.90) 42%,rgba(4,19,23,.96) 100%);
  box-shadow:var(--premium-shadow);overflow:visible;
}
html.layout-v2 .panel:before {
  top:-1px;left:-1px;width:20px;height:20px;border-top:2px solid rgba(125,255,213,.44);border-left:2px solid rgba(125,255,213,.44);
  background:none;border-radius:16px 0 0 0;
}
html.layout-v2 .panel:after {
  right:-1px;bottom:-1px;width:17px;height:17px;border-right:2px solid rgba(125,255,213,.26);border-bottom:2px solid rgba(125,255,213,.26);
  background:none;border-radius:0 0 16px 0;
}
html.layout-v2 .driver-grid {gap:19px}
html.layout-v2 .mission-panel,html.layout-v2 .vector-panel {padding:24px 22px}
html.layout-v2 .mission-panel[data-state="WAIT"] {border-color:rgba(255,213,138,.27);background:linear-gradient(155deg,rgba(62,49,36,.40),rgba(9,28,31,.90) 48%,rgba(4,19,23,.96))}
html.layout-v2 .mission-panel[data-state="GO"],html.layout-v2 .mission-panel[data-state="MOVE"] {border-color:rgba(125,255,213,.36)}
html.layout-v2 .mission-state {font:700 clamp(48px,5.8vw,86px)/1 var(--display);letter-spacing:-.025em!important;margin:20px 0}
html.layout-v2 .mission-panel[data-state="WAIT"] #missionState {color:#ffda93;text-shadow:0 0 32px rgba(255,194,101,.12)!important}
html.layout-v2 .mission-panel[data-state="GO"] #missionState,html.layout-v2 .mission-panel[data-state="MOVE"] #missionState {color:#adffe1;text-shadow:0 0 36px rgba(125,255,213,.15)!important}
html.layout-v2 .mission-command strong {color:#f4fffc;font-size:24px}
html.layout-v2 .mission-command span {color:#c1d6d1}
html.layout-v2 .section-label,html.layout-v2 .small-label,html.layout-v2 .vector-heading p {color:#96b6ae}
html.layout-v2 .mission-camera-evidence {border-radius:15px;padding:20px;background:linear-gradient(145deg,rgba(20,53,55,.68),rgba(7,25,30,.93))}
html.layout-v2 .mission-camera-coverage>div {border-radius:9px;background:rgba(3,17,22,.48);border-color:rgba(160,234,215,.12)}
html.layout-v2 #radar.radar {
  border:1px solid rgba(125,255,213,.31);background-color:#051317;
  box-shadow:0 0 0 5px rgba(125,255,213,.035),0 16px 50px rgba(0,0,0,.23),inset 0 0 70px rgba(69,175,152,.08);
}
html.layout-v2 .v2-radar-readings {border-color:rgba(150,233,208,.14)}
html.layout-v2 .radar-temporal {border-color:rgba(150,233,208,.14)}
html.layout-v2 .primary-chase-panel,html.layout-v2 .backup-panel {padding:20px}
html.layout-v2 .v2-details {
  border:1px solid rgba(157,231,211,.13);border-radius:12px;
  background:linear-gradient(160deg,rgba(16,37,41,.7),rgba(5,19,23,.87));
}
html.layout-v2 .v2-details summary {font:600 13px/1.5 var(--sans);color:#d4eae4}
html.layout-v2 .v2-details .panel {box-shadow:none;border-radius:0 0 12px 12px}
html.layout-v2 .v2-instruments {
  overflow:hidden;border:1px solid rgba(157,231,211,.15);border-radius:15px;
  background:linear-gradient(155deg,rgba(16,42,46,.87),rgba(5,20,25,.93));
  box-shadow:var(--premium-shadow);
}
html.layout-v2 .v2-instruments>div {padding:21px 23px}
html.layout-v2 .v2-instruments>div+div {border-color:rgba(157,231,211,.12)}
html.layout-v2 .v2-instruments span {font:600 11px/1.5 var(--sans);letter-spacing:.065em;color:#91b7ad}
html.layout-v2 .v2-instruments strong {font:600 29px/1.5 var(--mono);color:#edfff9}
html.layout-v2 .v2-instrument-button {font:700 13px var(--display);letter-spacing:.04em;color:#9fdcff;min-height:52px}
html.layout-v2 .alert-watchbar {border-radius:15px;border-color:rgba(143,235,211,.17);background:linear-gradient(105deg,rgba(32,72,72,.60),rgba(8,27,34,.89));box-shadow:var(--premium-shadow)}
html.layout-v2 .alert-watchbar button {border-radius:9px}
html.layout-v2 .route-button,html.layout-v2 .vector-cloud-launch,html.layout-v2 .radar-temporal-actions button {border-radius:9px}
html.layout-v2 #tacticalView .v2-tactical-toolbar {
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:5px 2px 0;margin-top:6px;flex-wrap:wrap;
}
html.layout-v2 .v2-tactical-toolbar span {font:600 11px/1.4 var(--mono);letter-spacing:.12em;color:#86bed7}
html.layout-v2 .v2-tactical-return {
  min-height:45px;padding:10px 15px;border:1px solid rgba(148,218,231,.2);
  border-radius:10px;background:rgba(19,46,53,.67);font:600 13px var(--sans);color:#e6f9f8;cursor:pointer;
}
html.layout-v2 .v2-tactical-return:hover {border-color:rgba(120,201,255,.64)}
html.layout-v2 #tacticalView .tactical-overview-panel {margin-top:14px;padding:29px;border-radius:19px}
html.layout-v2 .tactical-overview-heading p {font:600 11px/1.4 var(--mono);letter-spacing:.12em;color:#95bebb}
html.layout-v2 .tactical-overview-heading h2 {font:700 clamp(26px,3vw,38px)/1.15 var(--display);letter-spacing:.02em}
html.layout-v2 .tactical-overview-heading>div:first-child>span {font:500 16px/1.5 var(--sans);color:#b9d2cd;max-width:680px}
html.layout-v2 .tactical-health-strip {gap:8px}
html.layout-v2 .tactical-health-strip>span {min-height:35px;padding:6px 11px;border:1px solid rgba(162,231,223,.14);background:rgba(12,33,39,.78);border-radius:999px;font-size:10px;color:#bfd2d1}
html.layout-v2 .tactical-health-strip strong {font-size:11px;color:#a1f3d9}
html.layout-v2 .tactical-gauge-deck {grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}
html.layout-v2 .tactical-gauge {
  min-height:294px;border:1px solid rgba(149,234,213,.14);border-radius:16px;
  padding:22px 17px 20px;
  background:radial-gradient(ellipse at 50% 24%,rgba(113,216,194,.09),transparent 57%),linear-gradient(155deg,rgba(13,35,40,.97),rgba(3,17,22,.96));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}
html.layout-v2 .tactical-gauge-ring {width:min(160px,72%);filter:drop-shadow(0 0 14px rgba(105,205,187,.075))}
html.layout-v2 .tactical-gauge-copy p {font:600 11px/1.45 var(--mono);letter-spacing:.10em;color:#91bdb5}
html.layout-v2 .tactical-gauge-copy strong {font:700 18px/1.4 var(--display);color:#f4fffb}
html.layout-v2 .tactical-gauge-copy span {font:500 14px/1.5 var(--sans);color:#b8d2cc}
html.layout-v2 .tactical-support-grid {gap:14px}
html.layout-v2 .tactical-support-card,html.layout-v2 .tactical-model-panel,html.layout-v2 .forecast-panel {border-radius:15px;padding:22px}
html.layout-v2 .support-card-heading p {font:600 11px/1.4 var(--mono);color:#9fc6be}
html.layout-v2 .model-row,html.layout-v2 .forecast-hour {border-radius:9px}
html.layout-v2 .camera-list-item {border-radius:11px}
html.layout-v2 #cloudDeckDialog[open] {border:1px solid rgba(147,220,201,.24);border-radius:18px;background:#06161b;box-shadow:0 30px 100px rgba(0,0,0,.55)}
html.layout-v2 #cloudDeckDialog .cloud-deck-shell {background:linear-gradient(150deg,#0b2125,#041318)!important}
html.layout-v2 #cloudDeckDialog .cloud-layer-tabs button,html.layout-v2 #cloudDeckDialog select,html.layout-v2 #cloudDeckDialog .cloud-refresh-button {border-radius:9px}
html.layout-v2 #cloudDeckDialog .cloud-layer-tabs button.active {border-color:rgba(125,255,213,.66);background:linear-gradient(145deg,#214a45,#113b3b)}
html.layout-v2 #cloudDeckDialog .cloud-map-wrap {border-radius:14px;border-color:rgba(148,226,208,.17);box-shadow:inset 0 1px rgba(255,255,255,.035)}
html.layout-v2 #cloudDeckDialog .cloud-side-card {border-radius:12px;background:linear-gradient(155deg,rgba(23,52,53,.8),rgba(7,26,33,.91));border-color:rgba(149,223,209,.13)}
html.layout-v2 #cloudDeckDialog .cloud-map-topline {background:rgba(5,23,29,.93)!important}
html.layout-v2 #cloudDeckDialog .cloud-map-legend {background:rgba(5,21,26,.94)!important}
html.layout-v2 #alertDialog {border:1px solid rgba(147,220,201,.25);border-radius:18px;background:linear-gradient(150deg,#0d2529,#05161a);box-shadow:0 25px 85px rgba(0,0,0,.55)}
html.layout-v2 #alertDialog button,html.layout-v2 #alertDialog select {border-radius:9px}
@media(max-width:1100px){
  html.layout-v2 .nav-status-row {grid-template-columns:1fr}
  html.layout-v2 .v2-mode-bar {grid-template-columns:minmax(0,1fr) minmax(165px,185px)}
}
@media(max-width:760px){
  html.layout-v2 .console-shell {padding:16px 14px calc(98px + env(safe-area-inset-bottom,0px))!important}
  html.layout-v2 .brand-mark {width:39px;height:39px;flex-basis:39px;border-radius:11px}
  html.layout-v2 .brand h1 {font-size:23px}
  html.layout-v2 .control-button {border-radius:9px;font-size:12px}
  html.layout-v2 .nav-status-row {display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:12px 0 15px}
  html.layout-v2 .nav-status-row .status-strip {order:0}
  html.layout-v2 .v2-mode-bar {display:block;order:1}
  html.layout-v2 .v2-tactical-launcher {width:100%;min-height:52px;padding:9px 13px;border-radius:12px}
  html.layout-v2 .v2-tactical-copy {flex-direction:row;align-items:baseline;gap:12px}
  html.layout-v2 .v2-tactical-copy small {font-size:12px}
  html.layout-v2 #pwaBottomNav.pwa-bottom-nav {
    position:fixed!important;inset:auto 0 0!important;
    border:1px solid rgba(133,219,199,.18);border-bottom:0;border-radius:18px 18px 0 0;
    background:linear-gradient(180deg,rgba(11,33,40,.96),rgba(3,17,23,.985));
    -webkit-backdrop-filter:blur(20px) saturate(120%);backdrop-filter:blur(20px) saturate(120%);
    box-shadow:0 -12px 38px rgba(0,0,0,.32);
  }
  html.layout-v2 #pwaBottomNav .pwa-nav-button {border-radius:9px}
  html.layout-v2 #pwaBottomNav .pwa-nav-label {font-size:11px}
  html.layout-v2 .status-strip {border-radius:11px}
  html.layout-v2 .driver-grid {gap:12px}
  html.layout-v2 .panel,html.layout-v2 .mission-camera-evidence {border-radius:14px}
  html.layout-v2 .mission-panel {padding:18px 16px}
  html.layout-v2 .mission-state {font-size:47px}
  html.layout-v2 .mission-command strong {font-size:21px}
  html.layout-v2 .mission-camera-evidence {padding:16px}
  html.layout-v2 .vector-panel {padding:18px 14px}
  html.layout-v2 .v2-instruments {border-radius:13px}
  html.layout-v2 .v2-instruments>div {padding:15px 16px}
  html.layout-v2 .v2-instruments strong {font-size:24px}
  html.layout-v2 .v2-tactical-toolbar {align-items:center}
  html.layout-v2 #tacticalView .tactical-overview-panel {padding:19px 15px;margin-top:12px}
  html.layout-v2 .tactical-overview-heading {display:flex;flex-direction:column;gap:13px}
  html.layout-v2 .tactical-overview-heading h2 {font-size:29px}
  html.layout-v2 .tactical-overview-heading>div:first-child>span {font-size:15px}
  html.layout-v2 .tactical-health-strip {justify-content:flex-start}
  html.layout-v2 .tactical-health-strip>span {font-size:9px;min-height:32px}
  html.layout-v2 .tactical-gauge-deck {grid-template-columns:minmax(0,1fr)!important;gap:10px;margin-top:18px}
  html.layout-v2 .tactical-gauge {
    display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;
    align-items:center;min-height:0;padding:17px 15px;text-align:left;border-radius:13px;
  }
  html.layout-v2 .tactical-gauge-ring {width:105px;max-width:100%;margin:0}
  html.layout-v2 .tactical-gauge-copy {text-align:left}
  html.layout-v2 .tactical-gauge-copy strong {font-size:17px}
  html.layout-v2 .tactical-gauge-copy span {font-size:13px}
  html.layout-v2 .tactical-support-card,html.layout-v2 .tactical-model-panel,html.layout-v2 .forecast-panel {padding:18px 15px}
  html.layout-v2 #cloudDeckDialog[open],html.layout-v2 #alertDialog {border-radius:0;border:0}
  html.layout-v2 .v2-dialog-nav {background:linear-gradient(180deg,#0b2329,#041319);border-top:1px solid rgba(125,255,213,.27)}
  html.layout-v2 .v2-dialog-nav .pwa-nav-button {border-radius:9px}
  html.layout-v2 .v2-dialog-nav .pwa-nav-label {font-size:11px}
}
@media(max-width:350px){
  html.layout-v2 .v2-tactical-copy {gap:7px}
  html.layout-v2 .v2-tactical-copy strong {font-size:12px}
  html.layout-v2 .v2-tactical-copy small {font-size:11px}
  html.layout-v2 .tactical-gauge {grid-template-columns:92px minmax(0,1fr);gap:11px;padding:15px 12px}
  html.layout-v2 .tactical-gauge-ring {width:88px}
  html.layout-v2 .tactical-gauge-copy strong {font-size:15px}
}
@media(prefers-reduced-motion:reduce){
  html.layout-v2 .v2-tactical-launcher {transition:none}
}


/* The forecast origin stays visible between the brand and live clock. */
html.layout-v2 .header-location {display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:170px;max-width:300px;min-height:64px;flex:1;padding:10px 16px;border:1px solid rgba(120,230,200,.28);border-radius:10px;background:rgba(9,36,31,.65);color:#ddfff2;text-align:left;cursor:pointer}
html.layout-v2 .header-location-label {font:600 12px/1.2 var(--mono);letter-spacing:.08em;color:#9abeb2}
html.layout-v2 #headerLocationName {font:700 18px/1.2 var(--display);overflow-wrap:anywhere}
html.layout-v2 #headerLocationDetail {font:500 12px/1.4 var(--mono);color:#b9d6cb}
html.layout-v2 .location-arrival {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;margin:0 0 18px;border:1px solid rgba(120,230,200,.3);border-radius:12px;background:#0b211d;color:#edfff7}
html.layout-v2 .location-arrival[hidden] {display:none}
html.layout-v2 .location-arrival strong {font:700 20px/1.3 var(--display)}
html.layout-v2 .location-arrival p {margin:6px 0 0;font-size:14px;line-height:1.5;color:#b9d6cb}
html.layout-v2 .location-arrival-actions {display:flex;gap:10px;flex-shrink:0}
html.layout-v2 .location-arrival button {min-height:48px;padding:12px 18px;border:1px solid #5d9e87;border-radius:8px;background:#153c30;color:#eefff7;font:600 14px/1.3 var(--display);cursor:pointer}
html.layout-v2 #arrivalUseLocation {background:#b5f3d5;color:#09271b}
html.layout-v2 :is(.header-location,.location-arrival button):focus-visible {outline:3px solid #b5f3d5;outline-offset:3px}
@media(min-width:761px) and (max-width:1250px){html.layout-v2 .console-header{flex-wrap:wrap}html.layout-v2 .header-location{max-width:none}html.layout-v2 .header-actions{margin-left:auto}}
@media(max-width:760px){
 html.layout-v2 .header-location {order:3;flex-basis:100%;max-width:none;min-width:0;min-height:60px;padding:10px 14px}
 html.layout-v2 .location-arrival {align-items:stretch;flex-direction:column;gap:14px;padding:16px}
 html.layout-v2 .location-arrival-actions {flex-wrap:wrap}
 html.layout-v2 .location-arrival button {flex:1;min-width:120px}
}
