:root { color-scheme: dark; --bg:#101c2e; --panel:#17263b; --ink:#f4f7fb; --muted:#9baabd; --teal:#5ce0c0; --line:#2d4058; --red:#ff6b6b; }
* { box-sizing:border-box; }
body { margin:0; background:radial-gradient(ellipse at 72% 12%,#1b3444 0,transparent 38%),var(--bg); color:var(--ink); font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
.shell { max-width:1040px; margin:auto; padding:0 28px 50px; }
.topbar { height:72px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--line); }
.brand { color:var(--ink); text-decoration:none; font-size:14px; font-weight:800; letter-spacing:2.2px; }.brand span { color:var(--teal); font-size:10px; }
.account { color:var(--muted); font-size:12px; }
.account-tools { display:flex; align-items:center; gap:12px; }.sign-out { min-height:34px; padding:0 12px; font-size:10px; }
.intro { padding:42px 0 22px; }.eyebrow { color:var(--teal); font-size:10px; font-weight:800; letter-spacing:1.8px; }.intro h1 { margin:14px 0 10px; font-size:clamp(34px,6vw,52px); line-height:1.02; letter-spacing:-1.3px; }.intro p { max-width:520px; color:var(--muted); font-size:14px; line-height:1.6; margin:0; }
.auth-card,.journey-card,.lookup-card { background:rgba(23,38,59,.92); border:1px solid var(--line); border-radius:18px; padding:22px; margin-top:18px; box-shadow:0 18px 50px #06101c55; }
.card-title { color:var(--muted); font-size:9px; letter-spacing:1.4px; font-weight:800; }
label { display:block; color:var(--muted); font-size:11px; margin-top:18px; } input { width:100%; border:1px solid var(--line); border-radius:10px; background:#101d30; color:var(--ink); padding:13px 12px; margin-top:7px; outline:none; } input:focus { border-color:var(--teal); }
.actions { display:flex; gap:10px; margin-top:16px; }.button { border:0; border-radius:10px; min-height:44px; padding:0 17px; font-weight:800; cursor:pointer; }.primary { background:var(--teal); color:#0d2630; }.secondary { border:1px solid #416175; background:transparent; color:var(--teal); }.message { color:var(--muted); font-size:12px; margin-top:12px; min-height:18px; }.message.error { color:var(--red); }
.journey-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:16px; }.journey-heading h2 { font-size:20px; margin:7px 0 0; }.status { border-radius:30px; padding:8px 12px; background:#22374a; color:var(--teal); text-transform:uppercase; font-size:9px; letter-spacing:1px; font-weight:800; }.status.alert { background:#462a34; color:var(--red); }
#map { height:440px; width:100%; border-radius:12px; overflow:hidden; background:#203448; }.journey-meta { display:flex; justify-content:space-between; gap:12px; padding-top:17px; }.journey-meta div { min-width:0; }.meta-label { display:block; color:var(--muted); font-size:8px; letter-spacing:1.1px; font-weight:800; margin-bottom:6px; }.journey-meta strong { font-size:12px; font-weight:600; overflow-wrap:anywhere; }.emergency { margin-top:16px; background:#462a34; color:#ffaaaa; border:1px solid #8a4854; border-radius:10px; padding:12px; font-size:12px; font-weight:800; }
.journey-meta strong.stale { color:var(--red); }.event-history { margin-top:22px; border-top:1px solid var(--line); padding-top:17px; }.event-history ol { list-style:none; margin:8px 0 0; padding:0; }.event-row { display:flex; flex-direction:column; gap:5px; padding:12px 0; border-bottom:1px solid var(--line); }.event-row strong { color:#ffaaaa; font-size:12px; }.event-row span,.event-empty { color:var(--muted); font-size:10px; line-height:1.5; }.event-row .event-delivery { color:#ffaaaa; }.event-row .event-delivery.accepted { color:var(--teal); }
.lookup-card { display:flex; align-items:end; gap:14px; }.lookup-card label { margin:0; flex:1; }.lookup-card .button { flex:none; }
footer { color:#7f90a4; font-size:10px; line-height:1.5; text-align:center; margin:26px auto 0; max-width:620px; }
.leaflet-container { background:#172a3d; font:12px inherit; }.leaflet-control-attribution { font-size:8px!important; }
.evidence-button { align-self:flex-start; min-height:34px; padding:0 12px; margin-top:5px; font-size:10px; }.evidence-player { max-width:100%; width:480px; margin-top:6px; }
@media(max-width:640px) { .shell { padding:0 16px 34px; }.topbar { height:62px; }.intro { padding-top:30px; }.auth-card,.journey-card,.lookup-card { padding:16px; } #map { height:340px; }.lookup-card { display:block; }.lookup-card .button { width:100%; margin-top:14px; }.journey-meta { display:block; }.journey-meta div+div { margin-top:12px; } }
