/* FirstRelay design tokens: the one shared set; the e2e flows check its contrast pairs (apps/web/e2e/a11y.ts).
   Colours are light-dark(light, dark): every .fr surface follows the system (prefers-color-scheme). data-theme=field forces the dark (field) palette, e.g. the phone call card at night when the member chooses; data-theme=desk forces the light (desk) palette. */
html{font-size:100%}@supports (font:-apple-system-body){html{font:-apple-system-body}}
body{margin:0}
.fr{color-scheme:light dark;--bg:light-dark(#F4F6F9,#0D1117);--s1:light-dark(#FFFFFF,#151B23);--s2:light-dark(#EEF1F5,#1D2530);--hair:light-dark(#D9DFE7,#2C3643);--line:light-dark(#6B7686,#8A96A6);--t1:light-dark(#111820,#EDF1F6);--t2:light-dark(#3A4452,#C3CCD8);--t3:light-dark(#4D5866,#A3AEBC);--link:light-dark(#0B5CB5,#7CC2FF);--action:light-dark(#0B5CB5,#5CB2FF);--on-action:light-dark(#FFFFFF,#06121F);--ok:light-dark(#116329,#3FB950);--ok-bg:light-dark(#E6F4EA,#0F2A17);--ok-t:light-dark(#116329,#7EE2A0);--on-ok:light-dark(#FFFFFF,#04140A);--check:light-dark(#704900,#F5B93E);--check-bg:light-dark(#FFF1CC,#2B2210);--check-t:light-dark(#5A3B00,#FFD789);--on-check:light-dark(#FFFFFF,#1E1500);--none:light-dark(#4D5866,#8A96A6);--none-bg:light-dark(#EEF1F5,#1D2530);--none-t:light-dark(#3A4452,#D5DCE5);--crit:light-dark(#9E2A14,#FF7A5C);--crit-bg:light-dark(#FDECE8,#3A1A12);--crit-t:light-dark(#8E2410,#FF9C85);--crit-fill:#A51A1A;--on-crit-fill:#FFFFFF;--on-crit:light-dark(#FFFFFF,#1A0600);--wx:light-dark(#FFE3A3,#F5B93E);--on-wx:light-dark(#5A3B00,#1E1500);--drill-a:light-dark(#E3E8EE,#D5DCE5);--drill-b:light-dark(#C5CDD8,#AEB8C5);--on-drill:light-dark(#111820,#0D1117);--focus:light-dark(#111820,#FFFFFF);--focus-in:light-dark(#FFFFFF,#0D1117);--font:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;--display:"Space Grotesk",Inter,system-ui,sans-serif;--sp-1:.25rem;--sp-2:.5rem;--sp-3:.75rem;--sp-4:1rem;--sp-5:1.5rem;--sp-6:2rem;--r-s:.4rem;--r-m:.75rem;--r-l:1rem;--r-pill:999px;--fs-h2:2.75rem;--fs-h1:4rem;background:var(--bg);color:var(--t1);font-family:var(--font);font-size:var(--fs-m);line-height:1.45;box-sizing:border-box}
[data-theme=field]{color-scheme:dark}
[data-theme=desk]{color-scheme:light}
[data-scale=phone]{--fs-xs:.875rem;--fs-s:.9375rem;--fs-m:1.0625rem;--fs-alert:1.0625rem;--fs-l:1.25rem;--fs-xl:1.75rem;--fs-addr:2.5rem;--tap:3rem;--respond:5.5rem}
[data-scale=officer]{--fs-xs:1.0625rem;--fs-s:1.0625rem;--fs-m:1.0625rem;--fs-alert:1.0625rem;--fs-l:1.25rem;--fs-xl:1.75rem;--fs-addr:2.5rem;--tap:3rem;--respond:5.5rem}
[data-scale=desk]{--fs-xs:.875rem;--fs-s:.9375rem;--fs-m:1rem;--fs-alert:1.0625rem;--fs-l:1.125rem;--fs-xl:1.875rem;--fs-addr:1.5rem;--tap:3rem;--respond:3.5rem}
[data-scale=display]{--fs-xs:1.5rem;--fs-s:1.875rem;--fs-m:2.25rem;--fs-alert:1.875rem;--fs-l:3rem;--fs-xl:6rem;--fs-addr:9.5rem;--tap:3rem;--respond:3rem}
.fr a{color:var(--link)}
.fr :focus-visible{outline:3px solid var(--focus);outline-offset:2px;box-shadow:0 0 0 5px var(--focus-in)}
.fr input::placeholder{color:var(--t3)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.g{width:1.25em;height:1.25em;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.25em}
.gf{fill:currentColor;stroke:none}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:var(--tap);padding:0 1rem;border-radius:var(--r-m);border:1px solid var(--line);background:var(--s2);color:var(--t1)!important;font:700 var(--fs-m)/1.2 var(--font);text-decoration:none;cursor:pointer;box-sizing:border-box;text-align:center}
.btn:disabled{opacity:.45;cursor:not-allowed}
.btn-p{background:var(--action);border-color:var(--action);color:var(--on-action)!important}
.btn-r{min-height:var(--respond);font-weight:800}
.tw{display:inline-flex;align-items:center;gap:.4em;padding:.2em .6em;border-radius:4px;font-weight:800;letter-spacing:.06em;font-size:var(--fs-alert);line-height:1.3}
.tw-confirmed{background:var(--ok);color:var(--on-ok);border:2px solid var(--ok)}
.tw-check{background:var(--check-bg);color:var(--check-t);border:2px dashed var(--check)}
.tw-none{background:var(--none-bg);color:var(--none-t);border:2px solid var(--none)}
.strip{display:flex;align-items:center;gap:.6rem;min-height:2.75rem;padding:0 1.1rem;font-weight:800;letter-spacing:.05em;font-size:var(--fs-alert)}
.st-drill{background:repeating-linear-gradient(135deg,var(--drill-a) 0 10px,var(--drill-b) 10px 20px);color:var(--on-drill)}
.st-crit{background:var(--crit);color:var(--on-crit)}
.st-check{background:var(--check);color:var(--on-check)}
.st-off{background:var(--s2);color:var(--t1);border-bottom:2px solid var(--line)}
.wx{background:var(--wx);color:var(--on-wx)}
.w-ok{color:var(--ok-t);font-weight:800}.w-check{color:var(--check-t);font-weight:800}.w-crit{color:var(--crit-t);font-weight:800}.w-mute{color:var(--t3);font-weight:700}
.card{background:var(--s1);border:1px solid var(--hair);border-radius:var(--r-l)}
.sh-act{border:3px solid var(--crit)}.sh-watch{border:3px dashed var(--check)}.sh-ok{border:1px solid var(--hair)}
.sh-band{display:flex;align-items:center;gap:.5rem;padding:.35rem .9rem;border-radius:var(--r-s);background:var(--crit);color:var(--on-crit);font-weight:800;letter-spacing:.04em}
.lbl{margin:0;font-size:var(--fs-xs);font-weight:800;letter-spacing:.1em;color:var(--t3);text-transform:uppercase}
.bd{display:inline-flex;align-items:center;justify-content:center;min-width:2.5em;padding:.1em .5em;border-radius:var(--r-s);background:var(--t1);color:var(--bg);font-weight:800}
@media print{.noprint{display:none!important}.fr{background:#fff!important;min-height:0!important;padding:0!important}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
