:root {
  --bg: #000;
  --panel: #0b0b0d;
  --panel-2: #111114;
  --line: #222226;
  --line-2: #2e2e33;
  --text: #f3f3f4;
  --muted: #8b8b92;
  --dim: #55555c;
  --alex: #3b82f6;
  --sebi: #ef4444;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: "Barlow", system-ui, sans-serif;
  min-height: 100dvh;
  background:
    radial-gradient(120% 50% at 50% -10%, rgba(255,255,255,.09), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 2px, transparent 2px 6px),
    #000;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { display: block; }

.app {
  max-width: 460px;
  margin: 0 auto;
  min-height: 100dvh;
  padding: calc(14px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: .32em; color: #d8d8dc;
}
.stripes { display: flex; gap: 3px; }
.stripes i { width: 4px; height: 14px; background: #fff; transform: skewX(-20deg); border-radius: 1px; }
.stripes i + i { opacity: .45; }
.top-right { display: flex; align-items: center; gap: 10px; }
.today { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px; border-radius: 99px;
  border: 1px solid var(--line-2); background: var(--panel);
  font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  transition: border-color .2s, background .2s;
}
.pill svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.pill:active { background: #1a1a1e; }

/* ---------- hero ---------- */
.hero { padding-top: 18px; }
.title { margin: 0; font-family: var(--cond); text-transform: uppercase; line-height: .9; }
.app.wait .title { display: none; }
.app.wait .hero { min-height: 112px; }
.title .l0 { display: block; overflow: hidden; font-size: 18px; font-weight: 600; letter-spacing: .22em; color: var(--muted); padding-bottom: 8px; }
.title .l0 > span { display: inline-block; }
.title .l0 b { color: #fff; font-weight: 700; }
.intro .title .l0 > span { animation: rise .9s var(--ease) both; }
.app.compact .title .l0 { font-size: 14px; padding-bottom: 4px; }
.title .l1, .title .l2 { display: block; overflow: hidden; }
.title .l1 > span, .title .l2 > span { display: inline-block; }
.title .l1 { font-size: 26px; font-weight: 600; letter-spacing: .06em; color: #a9a9b0; padding-bottom: 4px; }
.title .l2 { font-size: clamp(52px, 16vw, 68px); font-weight: 800; letter-spacing: -.005em; }
.title em, .title .l2 > span {
  font-style: normal;
  background: linear-gradient(176deg, #ffffff 0%, #e8e9ec 38%, #7d828a 52%, #d9dce0 64%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.title em {
  background-image: linear-gradient(100deg, #9da2aa 0%, #fff 20%, #9da2aa 40%, #e9ebee 70%, #fff 100%);
  background-size: 250% 100%;
  animation: chrome 4.5s var(--ease) 1.4s infinite;
}
@keyframes chrome { 0% { background-position: 100% 0; } 60%, 100% { background-position: -150% 0; } }

.wash { margin: 8px -8px 0; height: 150px; transition: height .55s var(--ease), opacity .4s, margin .55s var(--ease); }
.wash-svg { width: 100%; height: 100%; overflow: visible; }
.app.compact .wash { height: 0; opacity: 0; margin-top: 0; }
.app.compact .title .l1 { font-size: 18px; }
.app.compact .title .l2 { font-size: 40px; }
.title .l1, .title .l2 { transition: font-size .5s var(--ease); }

/* car wash animation */
.gantry path, .gantry rect { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.gantry .sign { fill: #fff; stroke: none; }
.gantry text { font-family: var(--cond); font-weight: 800; font-size: 9px; letter-spacing: 2.5px; fill: #000; }
.curtains rect { fill: #fff; opacity: .13; transform-box: fill-box; transform-origin: 50% 0; animation: sway 1.6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.17s); }
@keyframes sway { from { transform: skewX(-9deg) scaleY(.94); } to { transform: skewX(9deg) scaleY(1.04); } }
.spray line { stroke: #fff; stroke-width: 1.4; stroke-linecap: round; opacity: 0; animation: drop 1.1s linear infinite; animation-delay: calc(var(--i) * .18s); }
@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .7; } 85% { opacity: .5; } 100% { transform: translateY(58px); opacity: 0; } }
.bubbles circle { fill: none; stroke: #fff; stroke-width: 1; opacity: 0; animation: bubble 2.6s ease-out infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes bubble { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: .8; } 100% { transform: translateY(-62px) scale(1.4); opacity: 0; } }

.car-move { animation: drive 7s var(--ease) infinite; }
@keyframes drive {
  0% { transform: translateX(-110px); }
  30% { transform: translateX(114px); animation-timing-function: linear; }
  62% { transform: translateX(124px); animation-timing-function: cubic-bezier(.6, 0, .9, .6); }
  100% { transform: translateX(350px); }
}
.car-move .body { fill: #000; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.car-move .glass { fill: rgba(255,255,255,.14); stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; }
.car-move .line { stroke: rgba(255,255,255,.35); stroke-width: 1; }
.car-move .lamp { fill: #fff; }
.car-move .tail { fill: #ff3b3b; }
.car-move .beam { opacity: .9; }
.wheel > circle:first-child { fill: #000; stroke: #fff; stroke-width: 1.8; }
.wheel .spin path { stroke: rgba(255,255,255,.55); stroke-width: 1.2; }
.wheel .hub { fill: #fff; }
.spin { transform-box: fill-box; transform-origin: center; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dirt circle { fill: #6d6457; opacity: .9; }
.dirt { animation: clean 7s linear infinite; }
@keyframes clean { 0%, 33% { opacity: 1; } 56%, 97% { opacity: 0; } 100% { opacity: 1; } }
.sparkles path { fill: #fff; opacity: 0; transform-box: fill-box; transform-origin: center; animation: sparkle 7s linear infinite; animation-delay: calc(var(--i) * .25s); }
@keyframes sparkle { 0%, 60% { opacity: 0; transform: scale(.2) rotate(0); } 68% { opacity: 1; transform: scale(1.15) rotate(45deg); } 78%, 100% { opacity: 0; transform: scale(.3) rotate(90deg); } }

/* ---------- intro ---------- */
.intro .title .l1 > span, .intro .title .l2 > span { animation: rise .9s var(--ease) both; }
.intro .title .l1 > span { animation-delay: .1s; }
.intro .title .l2 > span { animation-delay: .25s; }
.intro .wash { animation: fadeUp 1s var(--ease) .45s both; }
.intro .top { animation: fade .8s ease .05s both; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- stage & card transitions ---------- */
.stage { position: relative; margin-top: 18px; flex: 1; }
.card { width: 100%; }
.card.in { animation: cardIn .55s var(--ease) both; }
.card.in-back { animation: cardInBack .55s var(--ease) both; }
.card.out, .card.out-back { position: absolute; top: 0; left: 0; pointer-events: none; }
.card.out { animation: cardOut .35s ease-in both; }
.card.out-back { animation: cardOutBack .35s ease-in both; }
@keyframes cardIn { from { opacity: 0; transform: translateX(42px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes cardInBack { from { opacity: 0; transform: translateX(-42px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes cardOut { to { opacity: 0; transform: translateX(-42px); filter: blur(4px); } }
@keyframes cardOutBack { to { opacity: 0; transform: translateX(42px); filter: blur(4px); } }

.loader { display: grid; place-items: center; padding-top: 50px; }
.ignite { width: 120px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.ignite i { display: block; width: 40%; height: 100%; background: #fff; animation: ignite 1s ease-in-out infinite; }
@keyframes ignite { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* step header + gauge */
.step-head { display: flex; align-items: baseline; justify-content: space-between; }
.step-num { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .12em; }
.step-num span { color: var(--dim); margin-left: 3px; }
.step-label { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .28em; color: var(--muted); text-transform: uppercase; }
.gauge { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 10px 0 18px; }
.gauge i { height: 3px; border-radius: 2px; background: var(--line); transform: skewX(-30deg); position: relative; overflow: hidden; }
.gauge i.on::after { content: ""; position: absolute; inset: 0; background: #fff; animation: fill .6s var(--ease) both; transform-origin: left; }
.gauge i.on.done::after { animation: none; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.q { font-family: var(--cond); font-weight: 700; font-size: 30px; letter-spacing: .01em; text-transform: uppercase; margin: 0 0 14px; }
.back {
  display: inline-flex; align-items: center; gap: 4px; height: 32px; margin: -6px 0 6px -4px; padding: 0 4px;
  font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.note {
  display: flex; align-items: center; gap: 10px; margin: -4px 0 14px; padding: 10px 14px;
  border-radius: 12px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  background: color-mix(in srgb, var(--c) 12%, transparent); font-size: 14px;
}
.note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }

/* ---------- dropdown ---------- */
.dd { border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); transition: border-color .3s, box-shadow .3s; }
.dd[data-open="true"] { border-color: #4a4a52; box-shadow: 0 18px 50px -20px rgba(255,255,255,.12); }
.dd-field { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; text-align: left; min-height: 72px; }
.dd-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dd-label { font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.dd-value { font-size: 20px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-value.ph { color: var(--dim); }
.chev { width: 22px; height: 22px; flex: none; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.dd[data-open="true"] .chev { transform: rotate(180deg); }
.dd-list { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.dd[data-open="true"] .dd-list { grid-template-rows: 1fr; }
.dd-inner { min-height: 0; overflow: hidden; }
.dd[data-open="true"] .dd-inner { overflow-y: auto; max-height: 46vh; overscroll-behavior: contain; }
.dd-inner::before { content: ""; display: block; height: 1px; margin: 0 18px; background: var(--line); }
.dd-opt {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 18px; min-height: 54px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.04);
  opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .45s var(--ease), background .2s;
}
.dd-opt:last-child { border-bottom: 0; }
.dd[data-open="true"] .dd-opt { opacity: 1; transform: none; transition-delay: var(--d); }
.dd-opt:active { background: rgba(255,255,255,.05); }
.dd-opt .t { display: block; font-size: 17px; }
.dd-opt .s { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.dd-opt .dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); transition: all .25s; }
.dd-opt.sel .dot { border-color: #fff; background: radial-gradient(circle, #fff 0 4px, transparent 5px); }

/* ---------- buttons ---------- */
.actions { margin-top: 18px; display: grid; gap: 10px; }
.btn {
  position: relative; overflow: hidden; width: 100%; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #f4f4f5; color: #000;
  font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: .18em; text-transform: uppercase;
  transition: transform .15s, background .3s, color .3s, opacity .3s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:not(:disabled):active { transform: scale(.98); }
.btn:not(:disabled):active svg { transform: translateX(4px); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.75) 50%, transparent 70%); transform: translateX(-100%); }
.btn.ready::after { animation: sheen 1s var(--ease) .1s; }
@keyframes sheen { to { transform: translateX(100%); } }
.btn:disabled { background: #151518; color: #4d4d54; cursor: default; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn.busy { color: transparent; }
.btn.busy::before { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid #000; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.tint { background: var(--c); color: #fff; }

/* ---------- map ---------- */
.map-wrap { position: relative; height: min(46vh, 340px); border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #0a0a0a; }
#map, .map { position: absolute; inset: 0; background: #0a0a0a; }
.map .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.9) contrast(1.25); }
.map .leaflet-control-attribution { background: rgba(0,0,0,.6); color: #666; font-size: 9px; }
.map .leaflet-control-attribution a { color: #888; }
.hud { position: absolute; inset: 0; pointer-events: none; z-index: 500; }
.hud::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.75) 100%); }
.hud .corner { position: absolute; width: 18px; height: 18px; border: 2px solid #fff; opacity: .8; }
.hud .tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.hud .tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.hud .bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.hud .br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.hud .coords { position: absolute; top: 14px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: #cfcfd4; }
.hud .scan { position: absolute; left: 0; right: 0; height: 60px; top: -60px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.1), transparent); animation: scan 2.4s linear 2; }
.hud .status { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: .3em; color: #fff; text-transform: uppercase; }
.hud .status.blink { animation: blink 1s steps(2) infinite; }
@keyframes scan { to { top: 100%; } }
@keyframes blink { 50% { opacity: .25; } }

.pin { position: relative; width: 64px; height: 64px; display: grid; place-items: center; }
.pin .ring { position: absolute; inset: 8px; border-radius: 50%; border: 1.5px solid #fff; animation: ring 2s ease-out infinite; }
.pin .ring.r2 { animation-delay: 1s; }
@keyframes ring { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.pin .badge {
  position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #000;
  display: grid; place-items: center; box-shadow: 0 0 0 4px #000, 0 0 30px rgba(255,255,255,.6);
  animation: pinDrop .7s cubic-bezier(.3, 1.6, .5, 1) both;
}
.pin .badge svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pinDrop { from { transform: translateY(-40px) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

.loc-title { margin-top: 16px; font-family: var(--cond); font-weight: 700; font-size: 26px; text-transform: uppercase; line-height: 1.05; }
.loc-region { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .26em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.tip {
  margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; border: 1px dashed #3a3a40;
  display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 600;
  opacity: 0; animation: fadeUp .7s var(--ease) 2.2s both;
}
.tip svg { width: 26px; height: 26px; flex: none; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tip b { background: linear-gradient(100deg, #fff 0%, #fff 40%, #8d929a 50%, #fff 60%, #fff 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: chrome 3s var(--ease) 2.8s infinite; }

/* ---------- confirm ticket ---------- */
.ticket { border: 1px solid var(--line-2); border-radius: 18px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); overflow: hidden; }
.row { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-bottom: 1px solid var(--line); opacity: 0; animation: fadeUp .5s var(--ease) both; animation-delay: calc(var(--i) * 80ms + 120ms); }
.row:last-child { border-bottom: 0; }
.row .k { font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.row .v { font-size: 18px; font-weight: 500; }
.row .v.addr { font-size: 16px; line-height: 1.35; }
.row a.maps { margin-top: 6px; align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; color: #fff; font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid #555; padding-bottom: 2px; }
.perf { height: 0; border-top: 2px dashed var(--line-2); margin: 0 14px; position: relative; }
.line-preview { padding: 14px 18px; font-family: var(--mono); font-size: 12px; color: #bdbdc4; word-break: break-word; background: rgba(255,255,255,.02); }

/* ---------- done / blocked ---------- */
.center { text-align: center; padding-top: 6px; }
.check { width: 92px; height: 92px; margin: 6px auto 12px; }
.check circle { fill: none; stroke: #fff; stroke-width: 2.5; stroke-dasharray: 280; stroke-dashoffset: 280; animation: draw .8s var(--ease) .1s forwards; }
.check path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s var(--ease) .75s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.big { font-family: var(--cond); font-weight: 800; font-size: 40px; text-transform: uppercase; line-height: .95; margin: 0; }
.sub { color: var(--muted); font-size: 16px; margin: 10px 0 0; line-height: 1.4; }
.logline { margin: 20px auto 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: #d0d0d6; word-break: break-word; }

.barrier { width: 210px; height: 120px; margin: 4px auto 14px; }
.barrier .post { fill: #fff; }
.barrier .arm { transform-box: view-box; transform-origin: 38px 58px; animation: lower 1.2s cubic-bezier(.5, 0, .3, 1.35) .2s both; }
.barrier .arm rect.base { fill: #fff; }
.barrier .arm rect.red { fill: #ef4444; }
.barrier .light { fill: #ef4444; animation: blink 1s steps(2) infinite 1.3s; }
.barrier .ground { stroke: url(#bgFloor); stroke-width: 1; }
@keyframes lower { from { transform: rotate(-70deg); } to { transform: rotate(0); } }

/* ---------- schedule ---------- */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel); margin-bottom: 14px; }
.seg button { height: 42px; border-radius: 10px; font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; align-items: center; justify-content: center; transition: background .3s, color .3s; }
.seg button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.seg button.on { background: var(--c); color: #fff; }
.seg button.on::before { background: #fff; }
.cal { border: 1px solid var(--line-2); border-radius: 18px; padding: 14px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; }
.cal-head button:disabled { opacity: .25; }
.cal-head svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cal-title { font-family: var(--cond); font-weight: 700; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-dow span { text-align: center; font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: .1em; color: var(--dim); padding-bottom: 6px; }
.day {
  position: relative; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--cond); font-weight: 600; font-size: 17px; background: rgba(255,255,255,.03); border: 1px solid transparent;
  transition: background .25s, transform .2s, box-shadow .25s, border-color .25s;
}
.day:active:not(:disabled) { transform: scale(.92); }
.day.empty { background: none; }
.day.past { color: #3a3a40; background: none; }
.day.today { border-color: #fff; }
.day.b-Alex { background: var(--alex); color: #fff; }
.day.b-Sebi { background: var(--sebi); color: #fff; }
.day.done::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.day.done.past::after { background: #5a5a62; }
.day.sel { box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--c); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 2px 0; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.legend i.dotw { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.legend i.ring { background: none; border: 1.5px solid #fff; }
.sched-info { min-height: 22px; margin: 14px 2px 0; font-size: 15px; color: #d6d6db; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
