@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/vendor/fonts/archivo-latin-wdth-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/vendor/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0F2236;
  --ink-2: #1B3550;
  --firn: #EEF3F6;
  --paper: #FFFFFF;
  --glacier: #9ED6EA;
  --glacier-soft: #DDF0F7;
  --hivis: #FF5A1F;
  --hivis-dark: #C94413;
  --pine: #1F8A5B;
  --signal: #D6333A;
  --amber: #A45F00;
  --muted: #56697B;
  --line: #D2DEE6;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tap: 3.5rem;
  --r: 12px;
  --r-big: 22px;
}

* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--firn);
  color: var(--ink);
  font: 400 1rem/1.5 var(--font);
  font-stretch: 100%;
  padding-bottom: calc(7rem + env(safe-area-inset-bottom));
}
h1, h2, h3 { font-weight: 850; font-stretch: 125%; line-height: 1.02; margin: 0 0 .5rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 8vw, 2.9rem); }
h2 { font-size: 1.35rem; margin-top: 1.75rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .75rem; max-width: 68ch; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 2px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }

.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1rem; padding-top: calc(.7rem + env(safe-area-inset-top));
  background: var(--ink) url(/topo-dark.svg) center / cover; color: var(--firn);
}
.top .org { font-weight: 850; font-stretch: 125%; font-size: 1.05rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top .where { font-size: .8rem; color: var(--glacier); text-align: right; line-height: 1.2; }
.net { font-size: .78rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: var(--hivis); color: #fff; }

main { max-width: 46rem; margin: 0 auto; padding: 1.25rem 1rem; }
main.wide { max-width: 74rem; }

.dock {
  position: fixed; left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom)); z-index: 6;
  display: grid; grid-template-columns: 1fr 1fr 1.35fr 1fr 1fr; align-items: center;
  background: var(--ink); border-radius: var(--r-big); padding: .35rem;
  box-shadow: 0 10px 30px rgba(15, 34, 54, .28);
}
.dock a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  min-height: var(--tap); text-decoration: none; color: #9FB3C4; font-size: .72rem; font-weight: 600; border-radius: 14px;
}
.dock a svg { width: 1.45rem; height: 1.45rem; }
.dock a[aria-current="page"] { color: #fff; background: var(--ink-2); }
.dock a.scan {
  min-height: 4.4rem; margin: -1.6rem .2rem 0; border-radius: 20px;
  background: var(--hivis); color: #fff; font-size: .95rem; font-weight: 850; font-stretch: 125%;
  box-shadow: 0 5px 0 var(--hivis-dark), 0 10px 22px rgba(255, 90, 31, .35);
}
.dock a.scan svg { width: 2rem; height: 2rem; }
.dock a.scan:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--hivis-dark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: var(--tap); padding: 0 1.3rem; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--ink); color: #fff;
  font-weight: 800; font-stretch: 112%; letter-spacing: .01em; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--ink-2); }
.btn.quiet { background: transparent; color: var(--ink); }
.btn.quiet:hover { background: var(--glacier-soft); }
.btn.hot, .btn.go { background: var(--hivis); border-color: var(--hivis); color: #fff; }
.btn.hot:hover, .btn.go:hover { background: var(--hivis-dark); border-color: var(--hivis-dark); }
.btn.danger { background: var(--signal); border-color: var(--signal); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn.block { width: 100%; }
.btn.small { min-height: 2.75rem; padding: 0 1rem; font-size: .9rem; }
.row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.row > .grow { flex: 1; }
.stack > * + * { margin-top: .75rem; }

.panel { background: var(--paper); border-radius: var(--r-big); padding: 1.1rem; margin: 0 0 1rem; }
.panel.alert { box-shadow: inset 5px 0 0 var(--signal); }
.panel.note { box-shadow: inset 5px 0 0 var(--glacier); }
.panel.done { box-shadow: inset 5px 0 0 var(--pine); }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.list > li { background: var(--paper); border-radius: var(--r); }
.list a, .list .item { display: flex; align-items: center; gap: .85rem; padding: .8rem 1rem; min-height: var(--tap); color: inherit; text-decoration: none; }
.list a:hover { background: var(--glacier-soft); border-radius: var(--r); }
.list .main { flex: 1; min-width: 0; }
.list .main b { font-weight: 750; }
.list .sub { color: var(--muted); font-size: .88rem; }
.list .item.wrap { flex-wrap: wrap; }
.list .item.wrap > select { flex-basis: 100%; }
.empty { color: var(--muted); padding: 1rem; }

.tag {
  display: inline-block; font-weight: 850; font-stretch: 112%; font-variant-numeric: tabular-nums;
  padding: .12rem .5rem; border-radius: 6px; background: var(--ink); color: #fff; letter-spacing: .02em; white-space: nowrap;
  transform: rotate(-2deg);
}
.tag.big { font-size: 2.4rem; padding: .15rem .8rem; border-radius: 10px; }
.pill { display: inline-block; font-size: .78rem; font-weight: 750; padding: .15rem .6rem; border-radius: 999px; background: var(--firn); color: var(--ink); white-space: nowrap; }
.pill.ok { background: #D7EFE3; color: var(--pine); }
.pill.warn { background: #FFE6D6; color: var(--hivis-dark); }
.pill.bad { background: var(--signal); color: #fff; }
.pill.info { background: var(--glacier-soft); color: var(--ink); }

label.field { display: block; margin: 0 0 .9rem; }
label.field > span { display: block; font-size: .88rem; font-weight: 700; margin-bottom: .3rem; }
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), select, textarea {
  width: 100%; min-height: var(--tap); padding: .6rem .9rem; border: 2px solid var(--line); border-radius: var(--r); background: #fff; font-size: 1rem;
}
textarea { min-height: 6rem; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; }
.check { display: flex; gap: .75rem; align-items: flex-start; padding: .55rem 0; cursor: pointer; }
.check input { width: 1.6rem; height: 1.6rem; flex: none; margin: .05rem 0 0; accent-color: var(--hivis); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .75rem; }
.hint { font-size: .86rem; color: var(--muted); }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0 0 .9rem; }
.chips button { min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; cursor: pointer; font-weight: 650; }
.chips button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }

.money { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; font-variant-numeric: tabular-nums; }
.money .v { text-align: right; font-weight: 700; }
.money .total { font-weight: 850; font-stretch: 125%; font-size: 1.45rem; }

.qr { display: block; width: min(18rem, 80vw); height: auto; margin: .5rem auto; background: #fff; padding: .5rem; border-radius: var(--r); }
.video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-big); background: var(--ink); }
.scanframe { position: relative; margin-bottom: .85rem; border-radius: var(--r-big); overflow: hidden; background: var(--ink) url(/topo-dark.svg) center / cover; line-height: 0; }
.reticle {
  position: absolute; inset: 17%; pointer-events: none; border-radius: 14px;
  box-shadow: 0 0 0 999px rgba(7, 17, 28, .5);
}
.reticle i { position: absolute; width: 1.9rem; height: 1.9rem; border: 3px solid #fff; }
.reticle i:nth-child(1) { top: -3px; left: -3px; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.reticle i:nth-child(2) { top: -3px; right: -3px; border-left: 0; border-bottom: 0; border-radius: 0 14px 0 0; }
.reticle i:nth-child(3) { bottom: -3px; left: -3px; border-right: 0; border-top: 0; border-radius: 0 0 0 14px; }
.reticle i:nth-child(4) { bottom: -3px; right: -3px; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.reticle .sweep {
  position: absolute; left: 6%; right: 6%; height: 2px; top: 0; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--hivis), transparent);
}
.scanframe.live .reticle .sweep { animation: sweep 2.4s ease-in-out infinite; }
@keyframes sweep {
  0% { top: 4%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 96%; opacity: 0; }
}
.scanframe.hit .reticle { box-shadow: 0 0 0 999px rgba(7, 17, 28, .72); }
.scanframe.hit .reticle i { border-color: var(--hivis); }
.scanframe.hit .reticle .sweep { animation: none; opacity: 0; }
.camtools { position: absolute; top: .6rem; right: .6rem; display: flex; flex-direction: column; gap: .45rem; }
.camtool {
  display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(7, 17, 28, .55); color: #fff; cursor: pointer;
}
.camtool svg { width: 1.3rem; height: 1.3rem; }
.camtool.on { background: var(--hivis); border-color: var(--hivis); color: var(--ink); }
.scanstate {
  position: absolute; left: 50%; bottom: .7rem; transform: translateX(-50%); margin: 0; max-width: 92%;
  padding: .3rem .8rem; border-radius: 999px; background: rgba(7, 17, 28, .68); color: #fff;
  font-size: .78rem; font-weight: 650; line-height: 1.4; text-align: center; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.scanframe.hit .scanstate { background: var(--hivis); color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .scanframe.live .reticle .sweep { animation: none; opacity: .9; top: 50%; }
}
.sig { width: 100%; height: 10rem; background: #fff; border: 2px dashed var(--line); border-radius: var(--r); touch-action: none; }

.hero {
  margin: -1.25rem -1rem 1.25rem; padding: 1.4rem 1rem 1.6rem;
  background: var(--ink) url(/topo-dark.svg) center / cover; color: #fff;
  border-radius: 0 0 var(--r-big) var(--r-big);
}
.hero h1 { margin-bottom: .25rem; }
.hero .kicker { color: var(--glacier); font-weight: 650; font-size: .95rem; margin-bottom: .35rem; }
.hero .row { margin-top: 1rem; }
.hero .btn.quiet { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn.quiet:hover { background: rgba(255, 255, 255, .1); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1rem; }
.stats a { display: block; padding: .6rem .7rem; border-radius: var(--r); background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.stats b { display: block; font-size: 2rem; font-weight: 850; font-stretch: 125%; line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { font-size: .8rem; color: var(--glacier); }
.stats a.alarm { background: var(--signal); }
.stats a.alarm span { color: #fff; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 1.6rem 0 .6rem; }
.section-head h2 { margin: 0; }
.section-head .hint { white-space: nowrap; }

.ticket {
  position: relative; display: grid; grid-template-columns: 4.6rem 1fr auto; align-items: stretch;
  background: var(--paper); border-radius: var(--r); color: inherit; text-decoration: none; overflow: hidden;
}
.ticket .stub {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
  background: var(--glacier); border-right: 2px dashed var(--firn); padding: .6rem .3rem;
  font-weight: 850; font-stretch: 125%; font-size: 1.35rem;
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; left: calc(4.6rem - 9px); width: 18px; height: 18px; border-radius: 50%; background: var(--firn);
}
.ticket::before { top: -9px; }
.ticket::after { bottom: -9px; }
.ticket .body { padding: .75rem .9rem; min-width: 0; }
.ticket .body b { display: block; font-weight: 800; font-stretch: 112%; font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket .meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin-top: .25rem; font-size: .85rem; color: var(--muted); }
.ticket .go { display: flex; align-items: center; padding: 0 .9rem; }
.ticket .go span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; background: var(--hivis); color: #fff; font-weight: 800; font-size: .9rem; }
.ticket:hover .go span { background: var(--hivis-dark); }

.pips { display: inline-flex; gap: 3px; vertical-align: middle; }
.pips i { width: 7px; height: 14px; border-radius: 2px; background: var(--line); transform: skewX(-12deg); }
.pips i.on { background: var(--ink); }
.stub .pips i { background: rgba(15, 34, 54, .2); }
.stub .pips i.on { background: var(--ink); }
.stance { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: .25rem; }

.rideline {
  display: grid; grid-template-columns: 2.6rem 1fr auto; gap: .8rem; align-items: center;
  background: var(--paper); border-radius: var(--r); padding: .55rem .9rem .55rem .6rem; color: inherit; text-decoration: none;
}
.rideline .mini { display: flex; justify-content: center; }
.rideline b { font-weight: 800; font-stretch: 112%; }
.countdown { text-align: right; line-height: 1.05; }
.countdown b { display: block; font-size: 1.5rem; font-weight: 850; font-stretch: 125%; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .75rem; color: var(--muted); }
.countdown.late b { color: var(--signal); }
.countdown.late span { color: var(--signal); font-weight: 700; }
.rideline.late { box-shadow: inset 5px 0 0 var(--signal); }

.gear-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .75rem; }
.gearcard {
  position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-big);
  color: inherit; text-decoration: none; overflow: hidden;
}
.gearcard .stage {
  display: flex; align-items: center; justify-content: center; min-height: 13.5rem; padding: .9rem .5rem .5rem;
  background: var(--glacier-soft) url(/topo-light.svg) center / cover;
}
.gearcard .stage .gfx.board { transform: rotate(-8deg); filter: drop-shadow(6px 8px 0 rgba(15, 34, 54, .12)); }
.gearcard:hover .stage .gfx.board { transform: rotate(-3deg); }
.gearcard .info { padding: .7rem .85rem .9rem; display: grid; gap: .35rem; }
.gearcard .model { font-weight: 800; font-stretch: 112%; line-height: 1.15; }
.gearcard .brand { font-size: .8rem; color: var(--muted); }
.gearcard .size { display: flex; align-items: baseline; gap: .2rem; }
.gearcard .size b { font-size: 1.9rem; font-weight: 850; font-stretch: 125%; line-height: 1; font-variant-numeric: tabular-nums; }
.gearcard .size span { font-size: .8rem; color: var(--muted); }
.gearcard .size em { margin-left: auto; font-style: normal; font-size: .78rem; font-weight: 700; color: var(--muted); }
.gearcard .corner { position: absolute; top: .6rem; left: .6rem; right: .6rem; display: flex; justify-content: space-between; align-items: flex-start; gap: .3rem; }
.gearcard.unavailable .stage { filter: grayscale(.85); opacity: .75; }

.gearphoto { display: block; max-width: 100%; height: auto; object-fit: contain; }
.stage.photo, .hero-stage.photo, .stage-mini.photo { background: #fff; }
.gearcard .stage.photo .gearphoto { max-height: 12.5rem; }
.hero-stage.photo { padding: .45rem; max-width: 14rem; min-height: 0; }
.hero-stage.photo .gearphoto { max-height: 11rem; }
.stage-mini.photo .gearphoto { max-height: 76px; margin: 0 auto; }
.list .item.modelrow { align-items: flex-start; }
.list .item.modelrow .main { flex: 1 1 100%; min-width: 0; }
.shots { display: flex; flex-wrap: wrap; gap: .4rem; flex-basis: 100%; }
.shot {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem; padding: 0; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; overflow: hidden;
}
.shot img { max-width: 100%; max-height: 100%; object-fit: contain; }
.shot .pick { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: .15rem; border: 0; background: none; cursor: pointer; }
.shot.on { border-color: var(--ink); border-width: 2px; }
.shot.on b {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .05rem 0; text-align: center;
  font-size: .55rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
}
.shot .x {
  position: absolute; top: 0; right: 0; width: 1.15rem; height: 1.15rem; padding: 0; line-height: 1;
  border: 0; border-bottom-left-radius: var(--r); background: var(--ink); color: var(--paper);
  font-size: .8rem; cursor: pointer;
}
.shot.none { background: var(--glacier-soft); border-style: dashed; }
.no-scroll { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 90; display: flex; background: rgba(7, 17, 28, .985); }
.lb-inner { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; }
.lb-strip { flex: 1; display: flex; min-height: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-strip::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; padding: 3.5rem 1rem 1rem; }
.lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-close {
  position: absolute; top: .7rem; right: .7rem; z-index: 2; width: 2.75rem; height: 2.75rem; padding: 0; line-height: 1;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(7, 17, 28, .6); color: #fff;
  font-size: 1.5rem; cursor: pointer;
}
.lb-dots { display: flex; justify-content: center; gap: .5rem; padding: .9rem 1rem calc(1.1rem + env(safe-area-inset-bottom)); }
.lb-dot { width: .6rem; height: .6rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .35); cursor: pointer; }
.lb-dot.on { background: #fff; }
button.hero-stage.zoom { border: 0; cursor: zoom-in; }
.shot.ro { text-decoration: none; }
.shot.ro:hover { border-color: var(--ink); }
.sub-head { margin: 1rem 0 .15rem; font-size: .82rem; }
.shot.add { border-style: dashed; font-size: 1.5rem; font-weight: 300; color: var(--muted); cursor: pointer; }
.shot.add:hover { border-color: var(--ink); color: var(--ink); }
.profile { color: var(--ink); display: block; }
.flex { display: flex; align-items: center; gap: 2px; }
.flex i { flex: 1; height: 8px; border-radius: 2px; background: var(--line); }
.flex i.on { background: var(--hivis); }
.flex .flex-end { font-size: .66rem; color: var(--muted); padding: 0 .2rem; }

.gearrow { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: .9rem; align-items: center; }
.gearrow .mini { display: flex; justify-content: center; }
.specs { display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: center; margin-top: .3rem; font-size: .85rem; color: var(--muted); }
.specs b { color: var(--ink); font-weight: 800; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.kpi { background: var(--paper); border-radius: var(--r-big); padding: .9rem 1rem; }
.kpi b { display: block; font-size: 2.1rem; font-weight: 850; font-stretch: 125%; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi span { color: var(--muted); font-size: .88rem; }
.kpi.lead { background: var(--ink) url(/topo-dark.svg) center / cover; color: #fff; }
.kpi.lead span { color: var(--glacier); }
.bars { list-style: none; padding: 0; margin: 0; }
.bars li { display: grid; grid-template-columns: 7.5rem 1fr 2.5rem; gap: .5rem; align-items: center; padding: .22rem 0; font-size: .9rem; }
.bars .bar { height: .8rem; background: var(--firn); border-radius: 999px; overflow: hidden; }
.bars .bar i { display: block; height: 100%; background: var(--ink); width: 0; border-radius: 999px; }
.bars li:first-child .bar i { background: var(--hivis); }
.bars .n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1rem; }

table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--muted); }
.scroll { overflow-x: auto; }
details summary { cursor: pointer; padding: .4rem 0; font-weight: 650; }

.toast {
  position: fixed; left: 50%; bottom: calc(8rem + env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 40; max-width: calc(100% - 2rem); padding: .8rem 1.2rem; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 750;
}
.toast.bad { background: var(--signal); }
.sheet-back { position: fixed; inset: 0; z-index: 30; background: rgba(15, 34, 54, .6); display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--firn); width: 100%; max-width: 40rem; max-height: 92vh; overflow-y: auto; border-radius: var(--r-big) var(--r-big) 0 0; padding: 1.3rem 1rem calc(1.3rem + env(safe-area-inset-bottom)); }
.sheet h2 { margin-top: 0; }

.login-wrap { min-height: 100vh; background: var(--ink) url(/topo-dark.svg) center / cover; color: #fff; padding: 12vh 1rem 2rem; }
.login { max-width: 24rem; margin: 0 auto; }
.login h1 { font-size: 2.6rem; }
.login .panel { color: var(--ink); }
.login .btn.quiet { color: #fff; border-color: rgba(255, 255, 255, .5); }

.labels { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .5rem; }
.label { background: #fff; border: 1px solid var(--line); padding: .5rem; text-align: center; break-inside: avoid; }
.label img { width: 100%; height: auto; }
.poster { text-align: center; }
.poster h1 { font-size: clamp(2.6rem, 9vw, 4.5rem); }
.poster .qr { width: min(26rem, 90vw); }

@media (prefers-reduced-motion: no-preference) {
  .sheet { animation: rise .18s ease-out; }
  .gearcard .stage .gfx.board { transition: transform .25s ease; }
  @keyframes rise { from { transform: translateY(2rem); } to { transform: none; } }
}
@media (max-width: 22rem) {
  .gear-grid { grid-template-columns: 1fr 1fr; }
  .stats b { font-size: 1.6rem; }
}
@media (min-width: 60rem) {
  body.staff { padding-bottom: 0; padding-left: 6.5rem; }
  body.public, body.signin { padding-bottom: 0; }
  .dock {
    top: 0; bottom: 0; left: 0; right: auto; width: 6.5rem; border-radius: 0; box-shadow: none;
    grid-template-columns: 1fr; grid-auto-rows: min-content; align-content: start; gap: .35rem;
    padding: 1rem .6rem; background: var(--ink) url(/topo-dark.svg) center / cover;
  }
  .dock::before {
    content: ""; display: block; height: 3rem; margin: 0 auto 1.4rem; width: 3rem;
    background: url(/icon.svg) center / contain no-repeat;
  }
  .dock a { min-height: 4rem; font-size: .76rem; }
  .dock a.scan { margin: .4rem 0 .6rem; min-height: 5rem; }
  body.staff .top { padding: .9rem 2rem; background: var(--ink); }
  body.staff .top .org { font-size: 1.15rem; }
  main { padding: 1.75rem 2rem 3rem; }
  main.wide { max-width: 78rem; }
  .hero { margin: 0 0 1.75rem; border-radius: var(--r-big); padding: 2rem 2.2rem; }
  .hero.split-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: end; }
  .hero.split-hero h1 { font-size: clamp(3rem, 4.4vw, 4.4rem); margin: 0; }
  .hero.split-hero .stats { margin-top: 0; }
  .hero.split-hero .stats b { font-size: 2.6rem; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 2.5rem; align-items: start; }
  .split .section-head { margin-top: 0; }
  .gear-grid { grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: 1rem; }
  .gearcard .stage { min-height: 15rem; }
  .ticket .body b { font-size: 1.15rem; }
  .sheet-back { align-items: center; }
  .sheet { border-radius: var(--r-big); max-height: 86vh; padding: 1.6rem 1.6rem 1.8rem; }
  .toast { bottom: 2rem; left: calc(50% + 3.25rem); }
  body.public main { max-width: 36rem; padding-top: 1.5rem; }
  body.public .hero { padding: 2.2rem 2rem 4.4rem; }
  .login-wrap { display: grid; place-items: center; padding: 2rem; }
  .login { width: 100%; }
}
@media print {
  .top, .dock, .noprint { display: none !important; }
  body { background: #fff; padding: 0; }
  main { max-width: none; padding: 0; }
}

.login-wrap .hint { color: var(--glacier); }
.hero .profile { color: var(--glacier); }
.hero .flex i { background: rgba(255, 255, 255, .2); }
.hero .flex i.on { background: var(--hivis); }
.hero .flex .flex-end, .hero p { color: var(--glacier); }
.hero .gfx.board { transform: rotate(-8deg); }
.list .item .mini { flex: none; display: flex; justify-content: center; width: 3.4rem; }
.hero-stage { display: flex; align-items: center; justify-content: center; min-width: 8rem; min-height: 9rem; padding: .6rem; border-radius: var(--r-big); background: var(--glacier-soft) url(/topo-light.svg) center / cover; }
.hero-stage .gfx.board { transform: rotate(-8deg); }
.gearcard .corner .pill { font-size: .7rem; max-width: 58%; overflow: hidden; text-overflow: ellipsis; }
.chips.dark { flex-wrap: nowrap; overflow-x: auto; margin: .75rem -1rem .5rem; padding: 0 1rem .2rem; scrollbar-width: none; }
.chips.dark button { flex: none; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.chips.dark button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.hero form .shrink { width: auto; max-width: 42%; }
.toolbar { margin: 0 0 1rem; }
.feed { display: grid; gap: .55rem; }
.feed .ticket:hover .stub { background: #B7E1F0; }
.hero input, .hero select { color: var(--ink); }
a.onDark { color: var(--glacier); }
.hero .tag { background: #fff; color: var(--ink); }
.hero .sub { color: var(--glacier); margin: .4rem 0 0; font-size: .92rem; }
.list .item .mini.stage-mini { width: 5rem; align-self: stretch; border-radius: var(--r); background: var(--glacier-soft) url(/topo-light.svg) center / cover; padding: .4rem 0; }
.mini.photo { background: #fff; border-radius: var(--r); padding: .2rem; }
.rideline .mini.photo { width: 3.4rem; }
.mini.photo .gearphoto { max-height: 64px; }
.list .item .mini.stage-mini.photo .gearphoto { max-height: 104px; }
.stage-mini .gfx.board { transform: rotate(-6deg); }
@media (max-width: 59.99rem) {
  .list .item .mini.stage-mini .gfx { height: 76px; }
}
@media (min-width: 60rem) {
  .rental-split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .sticky { position: sticky; top: 5.5rem; }
  .rental-split .list .item { align-items: stretch; }
  body.public main:has(.joinlayout) { max-width: 72rem; }
  .joinlayout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
  .joinlayout .hero { position: sticky; top: 5rem; min-height: 32rem; display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem; }
  .joinlayout .hero h1 { font-size: clamp(3.4rem, 5.6vw, 5.4rem); }
  .joinlayout .lift { margin-top: 0; }
}
.cardgrid { display: grid; gap: .55rem; }
.ticket .go span.quiet { background: var(--firn); color: var(--ink); min-width: 3rem; justify-content: center; }
.navtiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.navtiles a { display: flex; flex-direction: column; gap: .5rem; padding: 1rem; min-height: 7.5rem; border-radius: var(--r-big); background: var(--paper); color: inherit; text-decoration: none; }
.navtiles a:hover { background: var(--glacier-soft); }
.navtiles svg { width: 2rem; height: 2rem; color: var(--hivis); }
.navtiles b { font-weight: 850; font-stretch: 112%; font-size: 1.05rem; }
.navtiles span { font-size: .82rem; color: var(--muted); }
.campcard { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: center; background: var(--paper); border-radius: var(--r-big); padding: .8rem; }
.campcard img { width: 100%; height: auto; border-radius: 8px; }
.campcard h3 { margin: .1rem 0 .3rem; font-size: 1.2rem; }
.campcard .nums { display: flex; gap: 1.2rem; margin: .4rem 0 .6rem; }
.campcard .nums b { display: block; font-size: 1.5rem; font-weight: 850; font-stretch: 125%; line-height: 1; }
.campcard .nums span { font-size: .75rem; color: var(--muted); }
.topmodels { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.topmodels li { display: grid; grid-template-columns: 2.4rem 1fr 2.5rem; gap: .6rem; align-items: center; }
.topmodels .bar { height: .7rem; background: var(--firn); border-radius: 999px; overflow: hidden; margin-top: .25rem; }
.topmodels .bar i { display: block; height: 100%; background: var(--ink); border-radius: 999px; width: 0; }
.topmodels li:first-child .bar i { background: var(--hivis); }
.topmodels b { font-weight: 750; font-size: .9rem; }
.topmodels .n { text-align: right; font-weight: 850; font-stretch: 125%; font-size: 1.2rem; }
.poster-sheet {
  max-width: 44rem; margin: 0 auto; padding: 2.4rem 2rem 2rem; border-radius: var(--r-big); text-align: center;
  background: var(--ink) url(/topo-dark.svg) center / cover; color: #fff;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.poster-sheet .kicker { color: var(--glacier); font-weight: 700; }
.poster-sheet h1 { font-size: clamp(3rem, 10vw, 5.6rem); line-height: .92; margin: .3rem 0 .6rem; }
.poster-sheet .camp { color: var(--glacier); font-size: 1.3rem; font-weight: 700; margin-bottom: 1.6rem; }
.poster-card { max-width: 22rem; margin: 0 auto; background: #fff; color: var(--ink); border-radius: var(--r-big); overflow: hidden; }
.poster-card .band { background: var(--hivis); color: #fff; font-weight: 850; font-stretch: 125%; padding: .7rem; font-size: 1.2rem; }
.poster-card .qr { width: 100%; margin: 0; padding: 1rem 1.4rem .4rem; }
.poster-card p { margin: 0 auto; padding: 0 1rem 1rem; font-weight: 700; }
.poster-steps { display: flex; justify-content: center; gap: 1.6rem; margin-top: 1.6rem; font-weight: 800; font-stretch: 112%; }
.poster-steps span b { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-right: .4rem; border-radius: 50%; background: var(--hivis); color: #fff; }
.masonry > * { break-inside: avoid; }
@media (min-width: 60rem) {
  .dock a.scan span { font-size: .8rem; font-stretch: 100%; }
  .cardgrid { grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr)); gap: .75rem; }
  .navtiles { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; }
  .masonry { columns: 2 26rem; column-gap: 1.25rem; }
  .masonry > * { display: inline-block; width: 100%; }
  .scanframe { max-width: 30rem; }
  .campgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr)); gap: .75rem; }
}
@media print {
  .poster-sheet { max-width: none; border-radius: 0; min-height: 100vh; }
}
.hero label.field > span { color: var(--glacier); }
.hero .field { margin-bottom: .7rem; }
.rideline.nomini { grid-template-columns: minmax(0, 1fr) auto; padding-left: 1rem; }
.topmodels .bar { display: block; }
.hero .pips i { background: rgba(255, 255, 255, .25); }
.hero .pips i.on { background: var(--hivis); }
.poster-sheet h1 { font-size: clamp(2.8rem, 7vw, 4.6rem); }
.split > section > .section-head:first-child, .split > div > .section-head:first-child { margin-top: .2rem; }
.list .item select[data-role] { width: auto; flex: none; min-width: 8.5rem; }
.kpi { min-width: 0; }
@media (max-width: 59.99rem) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi b { font-size: clamp(1.4rem, 7vw, 2rem); font-stretch: 112%; white-space: nowrap; }
}
.chips.dark.brandchips { margin-top: -.2rem; }
.chips.dark.brandchips button { font-weight: 850; font-stretch: 112%; }
.langs { display: flex; gap: .2rem; flex: none; }
.langs button {
  min-height: 2.5rem; min-width: 2.5rem; padding: 0 .35rem; font-size: .8rem; font-weight: 750;
  border-radius: 999px; border: 1px solid rgba(238, 243, 246, .3); background: transparent; color: var(--firn); cursor: pointer;
}
.langs button[aria-pressed="true"] { background: var(--firn); color: var(--ink); }
.langs button:hover:not([aria-pressed="true"]) { border-color: var(--glacier); }
.top .where { max-width: 38vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.login-top { display: flex; justify-content: flex-end; max-width: 24rem; margin: -8vh auto 6vh; }
@media (max-width: 26rem) {
  .top .where { display: none; }
}
.themepick { border: 0; padding: 0; margin: .4rem 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.themepick legend { font-size: .88rem; font-weight: 700; margin-bottom: .35rem; padding: 0; }
.themepick label { position: relative; display: grid; gap: .3rem; padding: .7rem; border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; }
.themepick input { position: absolute; opacity: 0; }
.themepick label:has(input:checked) { border-color: var(--ink); }
.themepick label:has(input:focus-visible) { outline: 3px solid var(--hivis); outline-offset: 2px; }
.swatch { display: flex; height: 2.2rem; border-radius: 4px; overflow: hidden; }
.swatch i { flex: 1; }
.swatch-glacier i:nth-child(1) { background: #0F2236; }
.swatch-glacier i:nth-child(2) { background: #9ED6EA; }
.swatch-glacier i:nth-child(3) { background: #FF5A1F; }
.swatch-fabrik i:nth-child(1) { background: #000; }
.swatch-fabrik i:nth-child(2) { background: #fff; box-shadow: inset 0 0 0 1px #DADAD6; }
.swatch-fabrik i:nth-child(3) { background: #8C8C8C; }
.signout {
  display: inline-flex; align-items: center; gap: .55rem; flex: none; min-height: 2.5rem; padding: 0 .7rem;
  border: 1px solid rgba(238, 243, 246, .3); border-radius: 999px; background: transparent; color: var(--firn); cursor: pointer;
}
.signout:hover { border-color: var(--glacier); }
.signout svg { width: 1.15rem; height: 1.15rem; }
.signout .who { display: none; text-align: right; line-height: 1.1; }
.signout .who b { display: block; font-size: .8rem; font-weight: 700; }
.signout .who small { font-size: .68rem; color: var(--glacier); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 60rem) {
  .signout .who { display: block; }
}
.list .item.acct select { flex: 0 1 12rem; min-width: 9rem; }
.list .item.acct .acct-actions { flex-basis: 100%; }

.tiles { display: grid; gap: .45rem; margin: 0 0 1rem; border: 0; padding: 0; }
.tiles legend { font-size: .88rem; font-weight: 700; margin-bottom: .35rem; padding: 0; }
.tiles.four { grid-template-columns: repeat(2, 1fr); }
.tiles.two { grid-template-columns: repeat(2, 1fr); }
.tiles label { position: relative; cursor: pointer; }
.tiles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tiles .tile {
  display: flex; align-items: center; gap: .6rem; min-height: 3.6rem; padding: .5rem .8rem;
  border: 2px solid var(--line); border-radius: var(--r); background: #fff; font-weight: 700;
}
.tiles input:checked + .tile { border-color: var(--ink); background: var(--ink); color: #fff; }
.tiles input:checked + .tile .pips i { background: rgba(255, 255, 255, .25); }
.tiles input:checked + .tile .pips i.on { background: var(--hivis); }
.tiles input:focus-visible + .tile { outline: 3px solid var(--hivis); outline-offset: 2px; }
.tiles .tile small.hint { display: block; line-height: 1.25; font-weight: 500; margin-top: .15rem; }
.tiles label { min-width: 0; }
.tiles .tile { min-width: 0; }
.tiles.four .tile { flex-direction: column; align-items: flex-start; justify-content: center; gap: .35rem; }
.tiles.four, .tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gfx.stancefig { flex: none; width: auto; }
.gfx.stancefig .boot { fill: none; stroke: currentColor; }
.gfx.stancefig .boot.lead { fill: var(--hivis); stroke: var(--hivis); }
.tiles .tile .stance-label { display: block; }
.tiles .tile .stance-label small { display: block; line-height: 1.25; font-weight: 500; margin-top: .15rem; }
.tiles .span2 { grid-column: 1 / -1; }
.tiles .span2 .tile { justify-content: center; min-height: 2.9rem; font-weight: 650; font-size: .92rem; }
.tiles .span2 input:checked + .tile { background: var(--glacier-soft); color: var(--ink); border-color: var(--ink); }
.stancepick .tile { flex-direction: column; align-items: center; justify-content: center; gap: .15rem; text-align: center; padding: .7rem .5rem; }
.stancepick .stance-label { font-size: .95rem; }
.tiles .tile small.hint { color: inherit; opacity: .7; }
