@charset "UTF-8";
:root { --paper:#f3f4ef; --ink:#172b34; --muted:#52666b; --border:#d9e1d8; --mint:#147860; --accent:#ccf062; --dark:#101e28; font-size:16px; color-scheme:light; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font:1rem/1.5 "Segoe UI",Arial,sans-serif; }
button,input,select { font:inherit; }
button,a,input,select { -webkit-tap-highlight-color:transparent; }
button { min-height:44px; padding:10px 14px; border:1px solid var(--border); border-radius:8px; background:white; color:var(--ink); cursor:pointer; font-weight:600; transition:background .15s,transform .15s; }
button:hover:not(:disabled) { background:#edf2e9; }
button:active:not(:disabled) { transform:translateY(1px); }
button:disabled { opacity:.58; cursor:not-allowed; }
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible { outline:3px solid #16856e; outline-offset:3px; }
button.active { background:#dceee4; color:#13664f; }
[hidden] { display:none!important; }
.topbar { min-height:76px; background:#fcfcf8; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; padding:14px 28px; gap:20px; }
.brand { text-decoration:none; display:flex; align-items:center; gap:12px; color:var(--ink); font-size:1.75rem; font-weight:800; letter-spacing:.5px; white-space:nowrap; }
.brand-mark { display:grid; place-items:center; background:var(--ink); color:var(--accent); width:42px; height:42px; border-radius:10px; font-size:2rem; }
.brand small { font-size:.8125rem; letter-spacing:1px; font-weight:650; }
.brand-slash { color:#68796c; font-weight:400; }
.top-status { display:flex; align-items:center; gap:8px; font-size:.8125rem; letter-spacing:.6px; color:var(--muted); }
.top-status i { height:8px; width:8px; background:var(--mint); border-radius:50%; }
.divider { margin:0 6px; color:#809083; }
.header-actions { display:flex; gap:12px; align-items:center; }
.text-button { background:transparent; border-color:transparent; font-size:.9375rem; }
.outline-button { background:transparent; font-size:.9375rem; }
main { max-width:1920px; margin:auto; padding:24px 28px 0; }
.page-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:24px; }
.eyebrow { font-size:.8125rem; letter-spacing:1.1px; font-weight:700; color:var(--mint); }
h1 { font-size:2.5rem; line-height:1.15; letter-spacing:-1px; margin:8px 0; }
h1 span { color:var(--mint); }
.page-heading p { margin:0; color:var(--muted); font-size:1rem; }
.demo-button { background:var(--ink); border-color:var(--ink); color:white; font-size:1rem; padding:12px 20px; }
.demo-button:hover:not(:disabled) { background:#25434a; }
.demo-button span { display:block; font-size:.8125rem; color:#d4e4dd; margin-top:2px; font-weight:400; }
.workspace { display:grid; grid-template-columns:300px minmax(0,1fr); grid-template-areas:"mission map" "mission insights"; gap:24px; align-items:start; }
.card { background:#fdfdf9; border:1px solid var(--border); border-radius:12px; overflow:hidden; min-width:0; }
.mission-panel { grid-area:mission; padding:20px; }
.map-panel { grid-area:map; }
.insight-panel { grid-area:insights; display:grid; grid-template-columns:1fr 1fr; gap:20px; min-width:0; }
.panel-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 12px; margin-bottom:16px; }
h2 { font-size:1.25rem; line-height:1.3; font-weight:700; margin:0; }
.tiny-label { font-size:.8125rem; line-height:1.5; letter-spacing:.3px; color:var(--muted); }
.field-label { display:block; font-size:.9375rem; color:var(--muted); margin-bottom:8px; font-weight:600; }
select { width:100%; min-height:48px; border:1px solid #b7c6b9; border-radius:8px; padding:10px 8px; background:#f5f7ef; color:var(--ink); font-size:1rem; }
.scenario-description { font-size:.9375rem; color:var(--muted); line-height:1.65; margin:12px 0 18px; }
.primary-button { width:100%; background:var(--accent); border-color:var(--accent); color:#243722; font-size:1rem; padding:12px 8px; }
.primary-button:hover:not(:disabled) { background:#bfe34d; }
.button-pair { display:flex; gap:10px; margin-top:10px; }
.button-pair button { width:50%; font-size:.9375rem; }
.setup-controls { border-top:1px solid var(--border); margin-top:20px; padding-top:16px; }
.setup-controls label { display:flex; justify-content:space-between; gap:10px; color:var(--muted); font-size:.9375rem; }
.setup-controls strong { color:var(--ink); font-weight:700; }
input[type=range] { width:100%; height:28px; margin:8px 0 16px; accent-color:var(--mint); cursor:pointer; }
.hosting-note { text-align:center; font-size:.8125rem; color:var(--muted); margin-top:2px; }
.hosting-note span { color:var(--mint); margin-right:4px; }
.route-section { border-top:1px solid var(--border); margin-top:20px; padding-top:18px; }
.section-label { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px; font-size:.8125rem; font-weight:700; margin-bottom:12px; }
.section-label span { font-weight:400; color:var(--muted); }
.checkpoints { list-style:none; padding:0; margin:0; }
.checkpoints li { position:relative; display:flex; align-items:center; gap:10px; min-height:48px; color:#52666b; font-size:1rem; line-height:1.35; padding:6px 0; }
.checkpoints li:not(:last-child)::after { content:''; position:absolute; top:36px; left:14px; width:1px; height:24px; background:#c4d1c3; }
.checkpoint-number { position:relative; z-index:1; border:1px solid #b6c7b6; background:#fafbf7; width:30px; height:30px; flex-shrink:0; border-radius:50%; display:grid; place-items:center; font-size:.875rem; }
.checkpoints li.current { color:var(--ink); font-weight:700; }
.checkpoints li.current .checkpoint-number { border-color:var(--mint); background:#dff2e7; color:#145a49; }
.checkpoints li.done .checkpoint-number { background:var(--mint); border-color:var(--mint); color:white; }
.checkpoint-temp { margin-left:auto; font-size:.875rem; font-weight:600; white-space:nowrap; }
.map-header { min-height:68px; padding:14px 20px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; }
.map-header>div:first-child { display:flex; align-items:center; gap:10px; }
.live-dot { display:inline-block; flex-shrink:0; width:8px; height:8px; border-radius:50%; background:#3eceaa; }
.view-switch { padding:3px; border:1px solid var(--border); border-radius:8px; display:flex; }
.view-switch button { border:0; background:transparent; font-size:.875rem; padding:8px 12px; min-height:38px; border-radius:5px; }
.view-switch button.active { background:#dfeadd; color:#244431; }
.map-wrap { position:relative; height:450px; background:var(--dark); overflow:hidden; }
#map { display:block; width:100%; height:100%; }
.map-badge { position:absolute; left:18px; top:16px; background:#132932f2; border:1px solid #627b83; border-radius:6px; padding:8px 10px; display:flex; align-items:center; gap:8px; color:#e4f0ec; font-size:.8125rem; font-weight:600; letter-spacing:.3px; }
.map-coordinates { position:absolute; right:18px; top:25px; color:#c2d4dc; font:.8125rem/1.4 Consolas,monospace; }
.map-scale { position:absolute; left:18px; bottom:60px; color:#b6cbd2; font-size:.75rem; }
.map-scale span { display:block; width:45px; height:6px; border:1px solid #b6cbd2; border-top:0; margin-bottom:5px; }
.map-legend { position:absolute; bottom:16px; left:18px; right:18px; display:flex; flex-wrap:wrap; gap:8px 18px; color:#d0dfdf; font-size:.8125rem; }
.map-legend span { display:flex; gap:7px; align-items:center; }
.map-legend i { display:inline-block; width:20px; height:3px; }
.legend-route { background:#80e5c7; }
.legend-trail { background:#749da5; }
.map-legend .legend-point { width:8px; height:8px; border:1px solid #dae5ce; border-radius:50%; }
.map-toolbar { min-height:64px; display:flex; flex-wrap:wrap; align-items:center; padding:12px 16px; gap:12px 18px; border-bottom:1px solid var(--border); justify-content:space-between; }
.map-toolbar button { font-size:.9375rem; padding:8px 12px; }
.toggle-label { font-size:.9375rem; display:flex; align-items:center; gap:8px; color:#334f54; cursor:pointer; }
.toggle-label input { accent-color:var(--mint); width:18px; height:18px; margin:0; }
.map-toolbar .return-button { color:#945022; border-color:#d6b294; }
.telemetry { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:20px 8px; }
.telemetry>div { padding:0 16px; border-right:1px solid var(--border); }
.telemetry>div:last-child { border:0; }
.telemetry span { display:block; font-size:.8125rem; font-weight:600; color:var(--muted); }
.telemetry strong { display:block; font-size:2.25rem; font-weight:650; letter-spacing:-.5px; line-height:1.2; margin:8px 0 6px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.telemetry strong small { font-size:1rem; margin-left:4px; color:var(--muted); font-weight:500; }
.telemetry>div>small { display:block; font-size:.8125rem; color:var(--muted); line-height:1.4; }
.battery-track { height:5px; background:#dce5d8; width:85%; margin-top:10px; border-radius:3px; }
.battery-track i { display:block; width:100%; height:100%; background:var(--mint); border-radius:inherit; }
.sensor-card,.findings-card { padding:20px; }
.sensor-view { height:220px; background:#10212a; position:relative; border-radius:8px; overflow:hidden; }
#sensor { width:100%; height:100%; display:block; }
.sensor-hud { position:absolute; top:14px; left:14px; right:14px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; color:#d7e6e3; font:.8125rem/1.4 Consolas,monospace; }
.sensor-reading { position:absolute; bottom:36px; left:16px; color:white; font:2.5rem/1.2 Consolas,monospace; }
.sensor-reading small { font-size:1rem; margin-left:4px; color:#d3e7e0; }
.heat-scale { position:absolute; bottom:14px; right:14px; left:16px; display:flex; align-items:center; gap:8px; font:.8125rem/1.4 Consolas,monospace; color:#d8e6e6; }
.heat-scale i { flex:1; height:6px; background:linear-gradient(90deg,#254779,#307f97,#81be81,#f0cc59,#e5643f); }
.sensor-cross { position:absolute; width:18px; height:18px; color:#a5c7c3; }
.cross-one { left:14px; top:44px; border-left:1px solid; border-top:1px solid; }
.cross-two { right:14px; bottom:38px; border-right:1px solid; border-bottom:1px solid; }
.sensor-card>p { font-size:.9375rem; color:var(--muted); margin:14px 0 0; line-height:1.6; }
.count-badge { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:#e0ebd8; color:#315d37; font-size:.9375rem; font-weight:700; }
.findings { min-height:210px; }
.empty-state { text-align:center; color:var(--muted); padding:28px 8px; }
.empty-state>span { font-size:2rem; color:#647b68; }
.empty-state strong { font-size:1rem; display:block; margin-top:8px; }
.empty-state p { font-size:.9375rem; line-height:1.6; }
.finding { border-top:1px solid var(--border); padding:14px 0; }
.finding:first-child { border-top:0; padding-top:0; }
.finding-top { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px; font-size:.875rem; font-weight:600; }
.finding .severity { color:#936018; }
.finding.critical .severity { color:#a23e2d; }
.finding strong { display:block; font-size:1rem; line-height:1.4; font-weight:700; margin-top:6px; }
.finding p { font-size:.875rem; color:var(--muted); margin:6px 0 0; line-height:1.4; }
.report-button { width:100%; font-size:.9375rem; background:#eef3e5; padding:10px; margin-top:12px; }
.bottom-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:24px; }
.events-card,.workflow-card { padding:20px; }
.events { height:180px; overflow:auto; scrollbar-width:thin; }
.event { display:flex; gap:12px; font-size:.9375rem; padding:8px 0; color:#425b60; line-height:1.5; }
.event time { font:.875rem/1.6 Consolas,monospace; color:#536d70; min-width:48px; }
.event.warning { color:#935b25; }
.event.critical { color:#a23e2d; }
.event.success { color:var(--mint); }
.pipeline { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; }
.pipeline span { font-size:.9375rem; padding:10px 14px; border:1px solid #c8d5c3; border-radius:7px; color:#4c6451; background:#f2f5ea; }
.pipeline span.active { background:#ddefc6; border-color:#9ebf79; color:#325228; font-weight:700; }
.pipeline b { color:#61795d; font-weight:400; }
.workflow-card p { font-size:.9375rem; color:#4f6754; margin:16px 0; }
.progress-track { height:5px; background:#dde7d3; }
.progress-track i { display:block; width:0; height:100%; background:var(--mint); transition:width .2s; }
.progress-label { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px; margin-top:10px; font-size:.8125rem; color:#4f6754; }
footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; padding:24px 0; color:#52674e; font-size:.8125rem; }
footer b { padding:0 7px; color:#68805f; }
.demo-caption { position:relative; display:flex; align-items:center; gap:24px; background:#152b34; border:1px solid #78958d; padding:18px 58px 18px 24px; margin-bottom:24px; border-radius:12px; color:#f1f6ef; }
.demo-caption>div { flex:1; }
.demo-caption .eyebrow { display:block; color:#c4f087; margin-bottom:8px; }
.demo-caption strong { display:block; font-size:1.125rem; line-height:1.5; font-weight:500; }
.demo-caption .continue-demo { flex-shrink:0; background:var(--accent); border-color:var(--accent); color:#243722; }
.demo-caption .end-demo { position:absolute; right:8px; top:8px; padding:8px; min-width:40px; background:transparent; border:0; color:#e0eee2; font-size:1.5rem; }
.mission-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.proximity-panel { margin-top:20px; padding-top:18px; border-top:1px solid var(--border); }
.proximity-state { display:block; font-size:.9375rem; color:var(--mint); }
.proximity-state.safety-hold { color:#9b4a23; }
.proximity-metrics { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; }
.proximity-metrics span { display:block; font-size:.8125rem; color:var(--muted); }
.proximity-metrics strong { display:block; font-size:1.75rem; font-variant-numeric:tabular-nums; }
.proximity-metrics small { font-size:.9375rem; margin-left:4px; }
.proximity-panel p { margin:8px 0 0; font-size:.8125rem; color:var(--muted); }
.proximity-note { line-height:1.5; }
#resultsDialog { max-width:1100px; }
.comparison-controls { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:20px 0; }
.comparison-controls select { width:auto; max-width:100%; }
.comparison-conditions,.comparison-note { font-size:.875rem; }
.comparison-table-wrap { overflow-x:auto; }
.comparison-scroll-hint { display:none; }
.comparison-table { width:100%; border-collapse:collapse; font-size:1rem; font-variant-numeric:tabular-nums; }
.comparison-table caption { text-align:left; margin-bottom:12px; font-weight:700; }
.comparison-table th,.comparison-table td { padding:12px 16px; border-bottom:1px solid var(--border); text-align:left; }
.comparison-table thead th { background:#e7efdb; }
.comparison-table tbody th { font-weight:600; }
.comparison-table tr:nth-child(even) { background:#f0f4ea; }
.comparison-takeaways { margin-top:20px; border-left:4px solid var(--mint); padding-left:16px; }
dialog { border:1px solid #b9cbb2; border-radius:16px; background:#fbfcf5; max-width:900px; width:calc(100% - 32px); max-height:calc(100dvh - 40px); padding:32px; color:var(--ink); box-shadow:0 20px 100px #0004; }
dialog::backdrop { background:#0b1828bb; backdrop-filter:blur(4px); }
dialog h2 { font-size:2rem; margin:12px 0; padding-right:20px; }
dialog p { font-size:1rem; line-height:1.75; color:#425d55; }
dialog h3 { font-size:1.125rem; margin:20px 0 8px; }
.dialog-lead { font-size:1.125rem; }
.dialog-close { position:absolute; right:12px; top:12px; border:0; background:transparent; font-size:1.5rem; }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.scope-note { background:#e7efdb; border-radius:8px; padding:18px; margin:16px 0; }
.scope-note strong { font-size:1rem; }
.scope-note p { margin-bottom:0; }
.keyboard-help { border-top:1px solid var(--border); padding-top:16px; }
kbd { background:#e2ead7; border:1px solid #bacaad; border-radius:4px; font-size:.875rem; padding:2px 5px; }
.toast { position:fixed; right:24px; bottom:24px; background:var(--ink); color:white; padding:16px 20px; max-width:400px; border-radius:8px; box-shadow:0 6px 25px #0003; z-index:10; font-size:1rem; }
@media(min-width:1700px) {
  .workspace { grid-template-columns:320px minmax(0,1fr) 340px; grid-template-areas:"mission map insights"; }
  .insight-panel { grid-template-columns:1fr; }
  .map-wrap { height:560px; }
}
@media(max-width:1400px) { .top-status { display:none; } }
@media(max-width:1050px) {
  .workspace { grid-template-columns:280px minmax(0,1fr); }
  .insight-panel { grid-template-columns:1fr; }
  .map-header h2 { font-size:1.125rem; }
  .map-wrap { height:420px; }
  .telemetry { grid-template-columns:1fr 1fr; gap:20px 0; }
  .telemetry>div:nth-child(2) { border:0; }
}
@media(max-width:780px) {
  .topbar { padding:12px 16px; gap:10px; flex-wrap:wrap; }
  .brand small,.brand-slash { display:none; }
  .brand { font-size:1.5rem; }
  .brand-mark { width:36px; height:36px; }
  .header-actions { gap:6px; }
  .header-actions button { font-size:.875rem; padding:8px; }
  main { padding:20px 16px 0; }
  .page-heading { align-items:flex-start; gap:16px; flex-wrap:wrap; }
  h1 { font-size:2rem; }
  .workspace { grid-template-columns:1fr; grid-template-areas:"map" "mission" "insights"; gap:20px; }
  .insight-panel { grid-template-columns:1fr 1fr; }
  .map-wrap { height:400px; }
  .map-header { padding:14px 16px; }
  .map-header h2 { font-size:1.125rem; }
  .map-coordinates { top:62px; font-size:.8125rem; }
  .telemetry { grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; }
  .telemetry>div { padding:0 10px; }
  .telemetry>div:nth-child(2) { border-right:1px solid var(--border); }
  .telemetry strong { font-size:1.875rem; }
  .checkpoints { display:grid; grid-template-columns:1fr 1fr; column-gap:24px; }
  .checkpoints li::after { display:none; }
  .bottom-grid { grid-template-columns:1fr; gap:20px; }
  .about-grid { grid-template-columns:1fr; gap:0; }
}
@media(max-width:520px) {
  .topbar { align-items:flex-start; }
  .header-actions { flex-wrap:wrap; margin-left:auto; }
  .header-actions .text-button { max-width:100px; line-height:1.25; }
  .eyebrow { font-size:.75rem; }
  .demo-button { width:100%; }
  .map-header { align-items:flex-start; }
  .map-header>div:first-child { width:100%; }
  .map-header h2 { font-size:1.125rem; }
  .map-wrap { height:380px; }
  .map-coordinates { right:14px; }
  .map-legend { font-size:.75rem; gap:8px 12px; }
  .map-scale { bottom:74px; }
  .map-toolbar { justify-content:flex-start; gap:12px; }
  .map-toolbar button { flex:1 1 100%; }
  .toggle-label { order:2; min-height:36px; }
  .telemetry { grid-template-columns:1fr 1fr; gap:20px 0; }
  .telemetry>div { padding:0 12px; }
  .telemetry>div:nth-child(2) { border:0; }
  .telemetry strong { font-size:2rem; }
  .insight-panel { grid-template-columns:1fr; }
  .checkpoints { grid-template-columns:1fr; }
  .mission-panel,.sensor-card,.findings-card,.events-card,.workflow-card { padding:18px; }
  dialog { padding:26px 20px; }
  dialog h2 { font-size:1.75rem; }
  .mission-actions { width:100%; }
  .mission-actions>button { width:100%; }
  .demo-caption { flex-direction:column; align-items:flex-start; gap:14px; padding:16px 46px 16px 16px; }
  .demo-caption strong { font-size:1rem; }
  .comparison-table th,.comparison-table td { padding:10px; font-size:.9375rem; }
  .comparison-scroll-hint { display:block; font-size:.875rem; }
  .toast { right:12px; bottom:12px; max-width:calc(100% - 24px); }
}
