/* Windline dashboard */
:root{
  --bg:#F6F8FB; --surface:#FFFFFF; --sunk:#F3F5F9; --ink:#0A2540; --body:#3C4F69; --muted:#6B7C93; --faint:#97A3B6;
  --line:#E6EBF1; --line-2:#D5DCE5; --accent:#635BFF; --accent-hi:#7A73FF; --accent-ink:#4B44D6; --accent-wash:rgba(99,91,255,.09);
  --good:#00A88F; --good-wash:rgba(0,168,143,.11); --fair:#E8920C; --fair-wash:rgba(245,165,36,.15); --tough:#E8334A; --tough-wash:rgba(240,56,79,.11);
  --navy:#0A2540; --wa:#25D366;
  --r:14px; --r-sm:10px;
  --sh-1:0 1px 1px rgba(10,37,64,.04),0 2px 6px rgba(10,37,64,.05);
  --sh-2:0 2px 5px rgba(10,37,64,.06),0 12px 28px -6px rgba(50,50,93,.18);
  --sh-3:0 30px 60px -12px rgba(50,50,93,.28),0 18px 36px -18px rgba(0,0,0,.3);
  --side:244px;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#0A1220; --surface:#111B2C; --sunk:#0D1625; --ink:#EEF2F7; --body:#B8C4D3; --muted:#8597AD; --faint:#64768C;
  --line:#1E2A3D; --line-2:#2A3850; --accent:#7C75FF; --accent-hi:#938DFF; --accent-ink:#A9A4FF; --accent-wash:rgba(124,117,255,.14);
  --good:#2BCBA8; --good-wash:rgba(43,203,168,.14); --fair:#FFB547; --fair-wash:rgba(255,181,71,.14); --tough:#FF6B7E; --tough-wash:rgba(255,107,126,.14);
  --sh-1:0 1px 2px rgba(0,0,0,.3); --sh-2:0 12px 28px -8px rgba(0,0,0,.55); --sh-3:0 30px 60px -12px rgba(0,0,0,.7);
}}
:root[data-theme="dark"]{
  --bg:#0A1220; --surface:#111B2C; --sunk:#0D1625; --ink:#EEF2F7; --body:#B8C4D3; --muted:#8597AD; --faint:#64768C;
  --line:#1E2A3D; --line-2:#2A3850; --accent:#7C75FF; --accent-hi:#938DFF; --accent-ink:#A9A4FF; --accent-wash:rgba(124,117,255,.14);
  --good:#2BCBA8; --good-wash:rgba(43,203,168,.14); --fair:#FFB547; --fair-wash:rgba(255,181,71,.14); --tough:#FF6B7E; --tough-wash:rgba(255,107,126,.14);
  --sh-1:0 1px 2px rgba(0,0,0,.3); --sh-2:0 12px 28px -8px rgba(0,0,0,.55); --sh-3:0 30px 60px -12px rgba(0,0,0,.7);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--body);font:15px/1.55 Inter,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;font-feature-settings:"cv11","ss01"}
body.locked{overflow:hidden}
h1,h2,h3,h4{color:var(--ink);margin:0;letter-spacing:-.02em;font-family:"Inter Tight",Inter,system-ui,sans-serif}
h1{font-size:28px;line-height:1.15;font-weight:700}
h2{font-size:17px;font-weight:600;letter-spacing:-.01em;font-family:Inter,system-ui,sans-serif}
h3{font-size:19px;font-weight:700}
h4{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-family:Inter,sans-serif}
p{margin:0}
a{color:inherit}
.muted{color:var(--muted)} .small{font-size:13px} .ink{color:var(--ink)}
img{max-width:100%;display:block}
svg{flex:none}
[hidden]{display:none!important}

/* logo */
.logo{display:inline-block;width:28px;height:28px;border-radius:7px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='15' fill='%230A2540'/%3E%3Crect x='.75' y='.75' width='62.5' height='62.5' rx='14.25' fill='none' stroke='%23FFFFFF' stroke-opacity='.16' stroke-width='1.5'/%3E%3Cg fill='none' stroke-width='4.4' stroke-linecap='round'%3E%3Cpath d='M11 22C21 18 29 26 39 22C44 20 47 19 52 20' stroke='%238B85FF'/%3E%3Cpath d='M11 33C21 29 29 37 39 33C46 30 54 31 54 37C54 42 47 43 46 39' stroke='%23FFFFFF'/%3E%3Cpath d='M11 44C19 41 25 47 33 44' stroke='%232BE0B4'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;position:relative;box-shadow:0 2px 8px rgba(10,37,64,.25);flex:none}
.logo.big{width:48px;height:48px;border-radius:11px}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font:700 17px/1 "Inter Tight",Inter,sans-serif;letter-spacing:-.02em}
.boot{min-height:100vh;display:grid;place-items:center}.boot .logo{animation:breathe 1.4s ease-in-out infinite}
@keyframes breathe{50%{transform:scale(.92);opacity:.7}}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 14px;border-radius:9px;border:0;font:600 14px/1 Inter,sans-serif;cursor:pointer;text-decoration:none;white-space:nowrap;transition:background .15s,box-shadow .15s,transform .1s,color .15s;-webkit-tap-highlight-color:transparent}
.btn svg{width:16px;height:16px}
.btn:active{transform:translateY(1px)}
.btn:disabled{opacity:.5;cursor:not-allowed}
.btn.primary{background:var(--accent);color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.08),inset 0 1px 0 rgba(255,255,255,.12),0 2px 6px -1px rgba(99,91,255,.45)}
.btn.primary:hover:not(:disabled){background:var(--accent-hi)}
.btn.ghost{background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-1)}
.btn.ghost:hover:not(:disabled){background:var(--sunk)}
.btn.danger{background:var(--tough);color:#fff}
.btn.danger-text{color:var(--tough)}
.btn.lg{height:44px;padding:0 20px;font-size:15px;border-radius:11px}
.btn.block{width:100%;height:42px}
.btn.icon-only{width:36px;padding:0}
.btn.google{width:100%;height:42px;background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-1);font-weight:600}
.btn.google svg{width:18px;height:18px}
.btn.apple{width:100%;height:42px;background:#000;color:#fff;font-weight:600;box-shadow:var(--sh-1)}.btn.apple:hover{background:#1d1d1f}
.btn.apple svg{width:15px;height:18px;margin-top:-2px}.btn.apple + .btn.google{margin-top:10px}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .btn.apple{background:#fff;color:#000}}
:root[data-theme="dark"] .btn.apple{background:#fff;color:#000}
.btn.wa{background:var(--wa);color:#fff}.btn.wa:hover{filter:brightness(1.05)}
.link{background:none;border:0;padding:0;color:var(--accent-ink);font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.link:hover{text-decoration:underline}.link:disabled{color:var(--faint);cursor:default;text-decoration:none}
.spin{width:15px;height:15px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:rot .7s linear infinite;opacity:.8}
@keyframes rot{to{transform:rotate(360deg)}}

/* forms */
label{display:grid;gap:6px;font-size:13px;font-weight:600;color:var(--ink);margin-top:14px}
label small{font-weight:400;font-size:12.5px}
.lab-row{display:flex;justify-content:space-between;align-items:baseline}
input,select,textarea{width:100%;font:400 15px/1.3 Inter,sans-serif;color:var(--ink);background:var(--surface);border:0;box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-1);border-radius:9px;padding:10px 12px;outline:none;transition:box-shadow .15s;min-height:40px}
textarea{resize:vertical;min-height:64px;line-height:1.45}
input:focus,select:focus,textarea:focus{box-shadow:inset 0 0 0 1px var(--accent),0 0 0 4px var(--accent-wash)}
input:disabled,select:disabled,textarea:disabled{color:var(--muted);background:var(--sunk)}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236B7C93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:16px;padding-right:34px}
input[type=date],input[type=time]{font-variant-numeric:tabular-nums}
.form-error{margin-top:14px;color:var(--tough);font-size:13.5px;font-weight:500;background:var(--tough-wash);padding:9px 12px;border-radius:9px}
.unit{position:relative}.unit input{padding-right:52px;font-variant-numeric:tabular-nums}.unit span{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:13px;color:var(--muted);font-weight:500;pointer-events:none}
.grid2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.grid2 input{min-width:0;width:100%} /* date inputs never push past their column on phones */
.grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
@media (max-width:520px){.grid3{grid-template-columns:1fr 1fr}.grid3 label:first-child{grid-column:1/-1}}
.btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.link:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
/* the name riders see: first and last, side by side even on a phone, and how a tap on the back shows it */
.name-note{margin-top:8px;font-size:12.5px;line-height:1.45;color:var(--muted)}
.name-prev{display:flex;align-items:center;gap:10px;margin-top:16px;padding:10px 12px;border-radius:12px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line);font-size:13.5px;color:var(--muted)}
.name-prev b{color:var(--ink);font-weight:600}.name-prev .avatar{width:30px;height:30px;font-size:11.5px}

/* preview banner */
.preview-bar{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:center;gap:8px;padding:7px 12px;background:#0A2540;color:#DDE5EE;font-size:12.5px;font-weight:500}
.preview-bar .dot{width:7px;height:7px;border-radius:50%;background:#FFC56E}
.hint{margin-top:16px;font-size:12.5px;color:var(--muted);background:var(--sunk);padding:9px 12px;border-radius:9px}

/* ---------- auth */
.auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}
.is-demo .auth{min-height:calc(100vh - 32px)}
.auth-main{display:flex;flex-direction:column;padding:32px clamp(20px,5vw,64px)}
.auth-card{width:100%;max-width:400px;margin:auto;padding:40px 0}
.auth-card h1{font-size:30px;letter-spacing:-.03em}
.auth-card>.muted{margin-top:8px;font-size:15px}
.nf-path{margin:16px 0 0;padding:9px 12px;border-radius:10px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line);font:500 13px/1.4 "JetBrains Mono",ui-monospace,monospace;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.auth-card .btn.apple{margin-top:28px}
.or{display:flex;align-items:center;gap:12px;margin:20px 0 4px;color:var(--faint);font-size:12.5px}
.or:before,.or:after{content:"";flex:1;height:1px;background:var(--line)}
.auth-card form .btn.block{margin-top:22px}
.ga-list{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:12px}
.ga-list li{position:relative;padding-left:26px;font-size:15px;line-height:1.5;color:var(--body)}
.ga-list li:before{content:"";position:absolute;left:4px;top:.55em;width:9px;height:9px;border-radius:50%;background:var(--accent)}
.ga-list b{color:var(--ink);font-weight:600}
.auth-card .btn.ga-dl{margin-top:28px;height:52px;font-size:16px;gap:10px}.ga-dl svg{width:20px;height:20px}
.ga-meta{margin:10px 0 0;font-size:13px;color:var(--muted);text-align:center}
.ga-play{display:flex;justify-content:center;margin-top:28px}
.gplay{--v:52px;display:inline-block;line-height:0;border-radius:calc(var(--v)*.14)}.gplay img{display:block;max-width:none;height:calc(var(--v)*1.4881);width:auto;margin:calc(var(--v)*-.244)}
.gplay:focus-visible{outline:3px solid var(--accent);outline-offset:3px}

.ga-tm{margin:18px 0 0;font-size:11.5px;color:var(--faint);text-align:center}
.switch{margin-top:22px;font-size:14px;color:var(--muted);text-align:center}
.agree{margin:12px 0 0;font-size:12.5px;line-height:1.5;color:var(--muted);text-align:center}.agree a{color:inherit;text-decoration:underline;text-underline-offset:2px} /* "By continuing you agree to the Terms and Privacy": links, no checkbox */
.auth-foot{font-size:12.5px;color:var(--faint)}.auth-foot a{color:inherit}
.mail-ic{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;background:var(--accent-wash);color:var(--accent-ink);margin-bottom:22px}.mail-ic svg{width:24px;height:24px}
.code{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:26px}
.code input{height:58px;text-align:center;font:600 24px/1 "JetBrains Mono",ui-monospace,monospace;padding:0;color:var(--ink)}
.code input:nth-child(3){margin-right:8px}
/* "No code yet?" under the code boxes, a minute after the code went: calm, with Apple and Google right there */
.nocode:not(:empty){margin-top:20px;padding:16px 16px 18px;border-radius:12px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line);animation:nocodeIn .4s ease both}
.nocode p{margin:0 0 14px;font-size:14px;line-height:1.5;color:var(--body)}.nocode p b{color:var(--ink);font-weight:600}
.auth-card .nocode .btn.apple{margin-top:0}.nocode .form-error{margin:12px 0 0}
@keyframes nocodeIn{from{opacity:0;transform:translateY(4px)}}
.auth-art{position:relative;overflow:hidden;background:radial-gradient(80% 60% at 70% 30%,#1B2F7A 0%,#0A2540 60%);color:#fff;display:flex;flex-direction:column;justify-content:flex-end;padding:56px}
.auth-art canvas{position:absolute;inset:0;width:100%;height:100%}
.auth-art-copy{position:relative;z-index:2;max-width:440px}
.kicker{font-size:12.5px;font-weight:600;color:#2BE0B4;letter-spacing:.02em}
.auth-art h2{color:#fff;font:700 clamp(28px,2.8vw,38px)/1.08 "Inter Tight",sans-serif;letter-spacing:-.035em;margin:12px 0 14px}
.auth-art p{color:#ADBDCC;font-size:15.5px;line-height:1.6}
.auth-phones{position:absolute;right:-30px;top:48px;width:330px;height:520px;z-index:1}
.phone{position:absolute;width:220px;aspect-ratio:375/812;border-radius:36px;padding:7px;background:#0B0F19;box-shadow:0 40px 80px -20px rgba(0,0,0,.7),inset 0 0 0 1.5px #343B4C}
.phone img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:30px}
.auth-phones .phone{right:40px;top:0;transform:rotate(4deg);z-index:2}
.auth-phones .phone.back{right:200px;top:60px;transform:rotate(-6deg);z-index:1;opacity:.85}
@media (max-height:760px){.auth-phones{transform:scale(.8);transform-origin:top right}}
@media (max-width:920px){.auth{grid-template-columns:1fr}.auth-art{display:none}}

/* ---------- app shell */
.shell{display:grid;grid-template-columns:var(--side) minmax(0,1fr);min-height:100vh}
.side{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:22px;padding:20px 14px;background:var(--surface);border-right:1px solid var(--line)}
.is-demo .side{top:32px;height:calc(100vh - 32px)}
.side .brand{padding:4px 8px}
.side nav{display:grid;gap:2px}
.side nav a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;text-decoration:none;color:var(--body);font-weight:500;font-size:14.5px}
.side nav a svg{width:18px;height:18px;color:var(--muted)}
.side nav a:hover{background:var(--sunk);color:var(--ink)}
.side nav a.on{background:var(--accent-wash);color:var(--accent-ink);font-weight:600}.side nav a.on svg{color:var(--accent)}
.side-foot{margin-top:auto}
.me{display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px;text-decoration:none}
.me:hover{background:var(--sunk)}
.me-txt{min-width:0;display:grid;line-height:1.3}.me-txt b{color:var(--ink);font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.me-txt small{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.avatar{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#2BE0B4,#635BFF);color:#fff;font:700 12.5px/1 Inter,sans-serif;text-decoration:none;letter-spacing:.02em}
.avatar.lg{width:56px;height:56px;font-size:19px}
.main{min-width:0;display:flex;flex-direction:column}
.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:12px;height:56px;padding:0 32px;background:color-mix(in srgb,var(--bg) 82%,transparent);backdrop-filter:saturate(1.4) blur(12px);-webkit-backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid transparent}
.is-demo .topbar{top:32px}
.crumbs{display:flex;align-items:center;gap:6px;font-size:13.5px;color:var(--muted);min-width:0}
.crumbs a{text-decoration:none;color:var(--muted)}.crumbs a:hover{color:var(--ink)}
.crumbs span{color:var(--ink);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crumbs svg{width:14px;height:14px;color:var(--faint)}
.mobile-only{display:none!important}
.page{padding:12px 32px 64px;max-width:1240px;width:100%}
@media (max-width:860px){
  .shell{grid-template-columns:1fr}.side{display:none}
  .mobile-only{display:inline-flex!important}
  .topbar{padding:0 16px;justify-content:space-between;border-bottom-color:var(--line);background:color-mix(in srgb,var(--surface) 88%,transparent)}
  .topbar .crumbs{display:none}
  .page{padding:20px 16px 48px}
}

/* cards & page heads */
.card{background:var(--surface);border-radius:var(--r);box-shadow:inset 0 0 0 1px var(--line),var(--sh-1)}
.card.pad{padding:24px}
.narrow{max-width:620px}
.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:12px 0 24px}
.page-head .muted{margin-top:6px}
.page-head.hide-btn>.btn{display:none}
.skel{background:linear-gradient(90deg,var(--sunk),var(--line),var(--sunk));background-size:200% 100%;animation:sh 1.2s linear infinite;border-radius:var(--r)}
.skel.card{height:220px;box-shadow:none}.skel.head{height:70px;margin:12px 0 24px;max-width:420px}.skel.card.tall{height:420px}
@keyframes sh{to{background-position:-200% 0}}
.error-card{color:var(--tough)}

/* tours list */
.tour-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
.tour-card{display:flex;flex-direction:column;text-decoration:none;color:inherit;overflow:hidden;transition:box-shadow .2s,transform .2s}
.tour-card:hover{box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-2);transform:translateY(-2px)}
/* the card's map: a street-map picture (drawn in main.js) over a plain route on the map's own paper colour while it loads */
.tc-map{height:150px;background:#F2F3F0;display:grid;place-items:center;position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.tc-map:after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(10,37,64,.08) 1px,transparent 1px);background-size:14px 14px}
.tc-map .rt{stroke:#635BFF;stroke-width:1.3}.tc-map .rt-glow{stroke:#fff;stroke-width:2.6;stroke-opacity:1}
.tc-map .rt-start{fill:#fff;stroke:#0A2540;stroke-width:.9}.tc-map .rt-end{fill:#0A2540;stroke:#fff;stroke-width:.9}
.tc-img{position:absolute;inset:0;z-index:2;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .35s}.tc-img.on{opacity:1}
.tc-none{position:relative;z-index:1;font-size:13px;color:#6B7C93}
.map-attrib{position:sticky;bottom:0;z-index:5;margin:auto 0 0;padding:10px 32px max(10px,env(safe-area-inset-bottom));font-size:11.5px;color:var(--faint);background:color-mix(in srgb,var(--bg) 92%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid var(--line)}.map-attrib a{color:var(--muted)} /* a slim credit line at the window's bottom edge: there on a short list, pinned while a long one scrolls (Wes) */
.main{min-height:100vh}
.dash-foot{display:flex;align-items:center;gap:12px}.dash-foot:not(:has(>span:not([hidden]))){display:none} /* the bar shows only when it has something */
.dash-foot .free-by{margin:0 0 0 auto;color:var(--muted)}.dash-foot .ptip>span{left:auto;right:-10px}.dash-foot .ptip>span::after{left:auto;right:12px}@media (max-width:760px){.map-attrib{padding-left:16px;padding-right:16px}}
@media (max-width:560px){.dash-foot{flex-wrap:wrap;justify-content:center;gap:2px 12px;padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom));font-size:11px;text-align:center}.dash-foot .free-by{order:-1;margin:0;white-space:nowrap}} /* phones: the sponsor line on one line, the map credit under it, never three ragged lines */
.thumb{width:100%;height:100%;position:relative;z-index:1}
.rt{fill:none;stroke:#8B85FF;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.rt-glow{fill:none;stroke:#8B85FF;stroke-width:5;stroke-opacity:.18;stroke-linecap:round;stroke-linejoin:round}
.rt-start{fill:#2BE0B4}.rt-end{fill:#fff}
.tc-body{padding:18px 20px 20px}
.tc-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.tc-top h3{font-size:17px;letter-spacing:-.015em;line-height:1.3}
.tc-body>.muted{font-size:13.5px;margin-top:4px}
.tc-stats{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:14px;font-size:13px;color:var(--muted)}
.tc-stats b{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
.tour-card.add{align-items:center;justify-content:center;gap:10px;min-height:240px;border:0;background:transparent;box-shadow:inset 0 0 0 1.5px var(--line-2);border-radius:var(--r);cursor:pointer;font:600 14.5px Inter,sans-serif;color:var(--muted);flex-direction:column}
.tour-card.add svg{width:22px;height:22px;padding:8px;box-sizing:content-box;border-radius:50%;background:var(--accent-wash);color:var(--accent)}
.tour-card.add:hover{color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--accent);background:var(--surface)}
.pill{display:inline-flex;align-items:center;gap:6px;flex:none;font:600 12px/1 Inter,sans-serif;padding:5px 9px;border-radius:999px}
.pill.live{color:var(--good);background:var(--good-wash)}.pill.live i{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 0 0 currentColor;animation:pulse 2s infinite}
.pill.draft{color:var(--muted);background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line)}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(0,168,143,.5)}70%{box-shadow:0 0 0 6px rgba(0,168,143,0)}100%{box-shadow:0 0 0 0 rgba(0,168,143,0)}}

/* empty state */
.empty{max-width:720px;margin:24px auto 0;padding:48px 40px 40px;text-align:center;overflow:hidden}
.empty-art{height:170px;margin:-48px -40px 32px;background:radial-gradient(120% 100% at 50% 0%,#1B2F7A,#0A2540);position:relative;display:grid;place-items:center}
.empty-art:after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(173,189,204,.18) 1px,transparent 1px);background-size:14px 14px}
.thumb.big{width:280px;height:170px}
.thumb.big .rt{stroke-width:1.2;stroke-dasharray:3 2.2;animation:dash 30s linear infinite}
@keyframes dash{to{stroke-dashoffset:-200}}
.empty h2{font:700 26px/1.2 "Inter Tight",sans-serif;letter-spacing:-.025em}
.empty>.muted{max-width:480px;margin:12px auto 26px;font-size:15.5px}
.empty-steps{list-style:none;display:flex;justify-content:center;flex-wrap:wrap;gap:10px 26px;padding:0;margin:32px 0 0;font-size:13.5px;color:var(--muted)}
.empty-steps li{display:flex;align-items:center;gap:8px}
.empty-steps b{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--sunk);color:var(--ink);font-size:12px;box-shadow:inset 0 0 0 1px var(--line)}

/* ---------- tour page */
.tour-head{align-items:center}
.th-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.url{display:inline-flex;align-items:center;gap:6px;margin-top:6px;color:var(--accent-ink);font-weight:500;font-size:14px;text-decoration:none}
.url svg{width:14px;height:14px}.url:hover{text-decoration:underline}
.th-title .muted{margin-top:6px;font-size:14px}
.th-actions{display:flex;gap:8px;flex:none}
.stats{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:20px}
.stats>div{padding:16px 20px;border-left:1px solid var(--line)}
.stats>div:first-child{border-left:0}
.stats small{display:block;font-size:12.5px;color:var(--muted);font-weight:500}
.stats b{display:block;margin-top:4px;font:600 22px/1.2 "Inter Tight",sans-serif;color:var(--ink);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.stats b.sm{font-size:17px;margin-top:7px}
.tour-cols{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:20px;align-items:start}
.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}
.card-head .muted{margin-top:3px}
.days-card{position:relative;overflow:hidden}
.day-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:14px;align-items:center;width:100%;padding:14px 20px;border:0;border-top:1px solid var(--line);background:none;text-align:left;font:inherit;color:inherit;cursor:pointer;transition:background .15s}
.day-row:first-child{border-top:0}
.day-row:hover{background:var(--sunk)}
.day-row.past{opacity:.55}
.day-num{width:46px;height:46px;border-radius:13px;display:grid;place-content:center;text-align:center;background:var(--accent-wash);color:var(--accent-ink);font:700 16px/1 "Inter Tight",sans-serif;transition:background .3s,color .3s}
.day-num small{display:block;font:700 8.5px/1 Inter,sans-serif;letter-spacing:.08em;opacity:.75;margin-bottom:3px}
.day-num.good{background:var(--good-wash);color:var(--good)}.day-num.fair{background:var(--fair-wash);color:var(--fair)}.day-num.tough{background:var(--tough-wash);color:var(--tough)}
.day-mid{display:grid;gap:2px;min-width:0}
.day-title{color:var(--ink);font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.005em}
.day-meta{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.day-wx{display:flex;align-items:flex-start;gap:8px;margin-top:5px;font-size:12.5px;color:var(--muted);line-height:1.45;font-variant-numeric:tabular-nums}
.day-wx em{display:block;font-style:normal;font-weight:600;color:var(--ink)}.day-wx em.fair{color:var(--fair)}.day-wx em.tough{color:var(--tough)}
.day-side{display:flex;align-items:center;gap:10px;color:var(--faint)}
.day-side svg{width:16px;height:16px}
.day-pace{text-align:right;font-size:12.5px;color:var(--muted);line-height:1.35;font-variant-numeric:tabular-nums}
.day-pace small{color:var(--faint);font-size:11.5px}
.chip{flex:none;font:700 10px/1 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:4px 7px;border-radius:6px}
.chip.good{color:var(--good);background:var(--good-wash)}.chip.fair{color:var(--fair);background:var(--fair-wash)}.chip.tough{color:var(--tough);background:var(--tough-wash)}.chip.wait{color:var(--muted);background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line)}
.shim{display:inline-block;width:170px;height:10px;border-radius:5px;margin-top:3px;background:linear-gradient(90deg,var(--sunk),var(--line),var(--sunk));background-size:200% 100%;animation:sh 1.2s linear infinite}
.drop-hint{display:flex;align-items:center;justify-content:center;gap:10px;margin:0;padding:14px 20px;border-top:1px dashed var(--line-2);font-size:13px;font-weight:500;color:var(--muted);cursor:pointer;background:var(--sunk)}
.drop-hint svg{width:18px;height:18px}.drop-hint:hover{color:var(--ink)}
/* bringing routes in: two equal app buttons and the paste line, always together */
.addfrom.stack{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;max-width:520px;margin:26px auto 0}
.af-or{display:flex;align-items:center;gap:12px;width:100%;font-size:12.5px;font-weight:500;color:var(--muted)}.af-or::before,.af-or::after{content:'';flex:1;height:1px;background:var(--line)}
.af-btns{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
.src-btn{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0;border:0;border-radius:6px;background:none;cursor:pointer;transition:transform .1s,box-shadow .15s}
@media (hover:hover){.src-btn:hover{box-shadow:0 4px 14px rgba(10,37,64,.16)}}.src-btn:active{transform:scale(.98)}.src-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.src-btn img.src-off{display:block;height:46px;width:auto}
.src-btn.st:not(.on){height:48px;width:auto;background:none;border-radius:0} /* Strava's official button as it comes: 48 px, its own width, nothing behind it, never moved (Strava's brand guidelines) */
.src-btn.st:not(.on) img.src-off{height:48px;width:auto}
@media (hover:hover){.src-btn.st:not(.on):hover{box-shadow:none}}.src-btn.st:not(.on):active{transform:none}
.addfrom.stack .src-btn{width:250px}.addfrom.stack .src-btn.st:not(.on){width:auto}.addfrom.stack .src-btn.rw .src-off{width:100%}.addfrom.stack .src-btn.on{width:auto}
.src-btn.rw .src-off{display:flex;align-items:center;justify-content:center;gap:8px;height:46px;min-width:186px;padding:0 18px;border-radius:6px;background:#22282E;color:#fff;white-space:nowrap}
.src-off small{font:600 10.5px/1 Inter,system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;opacity:.82}.src-off b{font:800 13.5px/1 Inter,system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase}.src-off em{font-style:normal;color:#FF7A1A}
.src-on{display:none;align-items:center;gap:8px;height:46px;padding:0 16px;border:1px solid var(--line-2);border-radius:6px;background:var(--surface);color:var(--ink);font:600 14.5px/1 Inter,system-ui,sans-serif}
.src-on::after{content:'';width:11px;height:6px;margin:-3px 0 0 2px;border:solid #00A88F;border-width:0 0 2px 2px;transform:rotate(-45deg)}
.src-btn.on .src-off{display:none}.src-btn.on .src-on{display:inline-flex}.src-btn.on{min-width:0}
.link-add{display:flex;align-items:center;gap:10px;width:100%;margin:0}
.link-add>svg{flex:none;width:17px;height:17px;color:var(--muted)}
.link-add input{flex:1;min-width:0;min-height:42px;font-size:14.5px}
.link-add .btn{flex:none}
.addfrom.bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;padding:14px 16px;border-top:1px solid var(--line);background:var(--sunk)}
.addfrom.bar .af-l{font-size:13px;font-weight:600;color:var(--muted)}
.addfrom.bar .af-btns{justify-content:flex-start}.addfrom.bar .link-add{flex:1 1 260px;width:auto}
#routeBox .addfrom.stack{margin-top:16px;max-width:none}
@media (max-width:560px){.link-add input{font-size:16px}.af-btns{width:100%}.src-btn{flex:1 1 100%}.addfrom .src-btn{width:100%}.src-btn.rw .src-off{width:100%}.src-btn img.src-off{margin:0 auto}.addfrom .src-btn.st:not(.on){flex:0 0 auto;width:auto}
  .af-btns:not(:has(.src-btn:not(.on))){flex-wrap:nowrap}.af-btns:not(:has(.src-btn:not(.on))) .src-btn{flex:1 1 0;width:auto}.src-btn.on .src-on{width:100%;justify-content:center} /* both connected: two equal buttons side by side */}
.drawer-panel .pick{display:flex;flex-direction:column;height:100%;min-height:0} /* like the editors' forms: header, a scrolling list, the Add button always in view */
.pick .d-body{display:flex;flex-direction:column;gap:10px;min-height:0}.pick-q{min-height:42px;flex:none}.pick-list{flex:none}
.pick-list h4{margin:10px 0 4px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.pick-list h4 small{text-transform:none;letter-spacing:0;font-weight:500}
.pick-row{display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border:0;border-radius:12px;background:none;color:var(--ink);text-align:left;font:inherit;cursor:pointer}
.pick-row:hover{background:var(--sunk)}.pick-row.on{background:var(--accent-wash)}
.pick-ck{flex:none;width:20px;height:20px;border-radius:6px;box-shadow:inset 0 0 0 1.5px var(--line-2);display:grid;place-items:center}.pick-ck.radio{border-radius:50%}
.pick-row.on .pick-ck{background:var(--accent);box-shadow:none}.pick-row.on .pick-ck::after{content:'';width:9px;height:5px;margin-top:-2px;border:solid #fff;border-width:0 0 2px 2px;transform:rotate(-45deg)}
.pick-t{min-width:0;display:flex;flex-direction:column;gap:2px}.pick-t b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pick-load{display:flex;align-items:center;gap:10px;padding:24px 4px;color:var(--muted)}
.app-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.app-row .src-btn{cursor:default;pointer-events:none}.app-row .src-btn{flex:none;width:auto;min-width:112px;justify-content:flex-start} /* the app names line up on the left, phone too */.app-row .grow{flex:1}
.order-hint{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;padding:12px 20px;border-bottom:1px solid var(--line);background:var(--accent-wash);font-size:13.5px;color:var(--ink)}
.order-hint svg{width:18px;height:18px;flex:none;color:var(--accent-ink)}.order-hint span{flex:1;min-width:180px}
.order-hint .quiet{color:var(--muted);font-weight:500}
.reordering .order-hint,.reordering .addfrom{display:none}
.drop-veil{position:absolute;inset:0;display:none;place-items:center;background:color-mix(in srgb,var(--accent) 10%,var(--surface) 90%);border:2px dashed var(--accent);border-radius:var(--r);z-index:5;text-align:center}
.drop-veil div{display:grid;gap:6px;justify-items:center;color:var(--accent-ink)}.drop-veil svg{width:32px;height:32px}.drop-veil b{font-size:16px}.drop-veil span{font-size:13px;color:var(--muted)}
.days-card.dragging .drop-veil{display:grid}
.days-empty{padding:44px 24px;text-align:center}
.de-ic{width:52px;height:52px;margin:0 auto 16px;border-radius:15px;display:grid;place-items:center;background:var(--accent-wash);color:var(--accent)}.de-ic svg{width:24px;height:24px}
.days-empty h3{font-size:18px}.days-empty .muted{max-width:380px;margin:8px auto 22px;font-size:14px}
.de-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.de-actions label{margin:0;font-size:14px}
.map-card{position:sticky;top:76px;overflow:hidden}
.is-demo .map-card{top:108px}
.map{height:min(560px,calc(100vh - 170px));min-height:340px;background:var(--sunk)}
.map-empty{height:100%;display:grid;place-items:center;align-content:center;gap:10px;text-align:center;color:var(--muted);font-size:13.5px;background:radial-gradient(120% 90% at 30% 20%,#18306E,#0A2540)}
.map-empty .thumb{width:80%;height:auto;max-height:70%}.map-empty span{color:#ADBDCC}
.map-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:12px 16px;border-top:1px solid var(--line);font-size:12.5px;color:var(--body)}
.map-legend span{display:inline-flex;align-items:center;gap:6px}
.leg{width:14px;height:4px;border-radius:2px}.leg.good{background:var(--good)}.leg.fair{background:var(--fair)}.leg.tough{background:var(--tough)}
.map-legend .muted{margin-left:auto}
/* Apple's terms: its mark and the link to its data sources wherever its forecast is shown, and that Windline's numbers are modified */
.map-credit{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;padding:10px 16px 12px;border-top:1px solid var(--line);font-size:11.5px;color:var(--muted)}
.awc{display:inline-flex;align-items:center;gap:12px;white-space:nowrap}.awc a{color:var(--body)}
.aw{display:inline-flex}.aw img{display:block;height:14px;width:auto}.aw .dk{display:none}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .aw .lt{display:none}:root:not([data-theme="light"]) .aw .dk{display:block}}
:root[data-theme="dark"] .aw .lt{display:none}:root[data-theme="dark"] .aw .dk{display:block}
.map-dot{width:22px;height:22px;border-radius:50%;background:#fff;color:#0A2540;display:grid;place-items:center;font:700 10.5px/1 Inter,sans-serif;box-shadow:0 0 0 2px #0A2540,0 3px 8px rgba(0,0,0,.25)}
.map-dot.fin{background:#0A2540;color:#fff;box-shadow:0 0 0 2px #fff,0 3px 8px rgba(0,0,0,.3)}
.maplibregl-ctrl-group{border-radius:9px!important;box-shadow:var(--sh-2)!important}
/* Tour notes (beta): a tour's instructions for its riders, below the days and the map */
.notes-card{margin-top:20px}
.notes-card h2{display:flex;align-items:center;gap:8px}
.beta-tag{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:6px;background:var(--accent-wash);color:var(--accent-ink);font:700 10.5px/1 Inter,sans-serif;letter-spacing:.07em;text-transform:uppercase}
.notes-body{padding:16px 20px 18px}
.notes-body textarea{display:block;min-height:300px;padding:14px 16px;font-size:14.5px;line-height:1.6;border-radius:12px;tab-size:2}
.notes-body textarea[readonly]{background:var(--sunk);color:var(--body);resize:none;box-shadow:inset 0 0 0 1px var(--line)}
.notes-body textarea::placeholder{color:var(--faint)}
.notes-foot{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-top:12px}
.notes-fmt{display:flex;align-items:center;flex-wrap:wrap;gap:6px;flex:1 1 320px;min-width:0;font-size:12.5px;color:var(--muted)}
.notes-fmt code{padding:3px 7px;border-radius:6px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line);font:500 11.5px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--body);white-space:nowrap}
.notes-fmt span{margin-left:4px}
.notes-count{margin-left:auto;font-size:12.5px;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}
.notes-count.near{color:var(--fair)}.notes-count.full{color:var(--tough);font-weight:600}
.notes-saved{font-size:12.5px;color:var(--faint)}.notes-saved:empty{display:none}
@media (max-width:560px){.notes-body{padding:14px 16px 16px}.notes-body textarea{min-height:260px;font-size:15px}.notes-fmt{flex-basis:100%}.notes-fmt span{flex-basis:100%;margin:2px 0 0}.notes-count{margin-left:0}.notes-foot .btn{margin-left:auto}}
@media (max-width:1080px){.tour-cols{grid-template-columns:1fr}.map-card{position:relative;top:0!important;order:-1}.map{height:320px;min-height:0}}
@media (max-width:560px){.map{height:260px}.map:has(.map-empty){height:150px}} /* phones: a shorter map, and a slim placeholder until there's a route */
@media (max-width:860px){
  .tour-head{flex-direction:column;align-items:stretch}
  .th-actions{width:100%;flex-wrap:wrap}.th-actions .btn:not(.icon-only){flex:1 1 auto}.th-actions .btn.icon-only{flex:none}
  .th-actions:has(> :nth-child(4)) .btn.primary{flex-basis:100%} /* four actions: the main one gets its own row instead of squeezing the rest */
  .stats{grid-template-columns:1fr 1fr}.stats>div:nth-child(3){border-left:0}.stats>div:nth-child(n+3){border-top:1px solid var(--line)}
  h1{font-size:24px}
  .page-head{flex-wrap:wrap}
}
@media (max-width:560px){
  .day-row{grid-template-columns:42px minmax(0,1fr) 16px;gap:12px;padding:13px 16px}
  .day-num{width:42px;height:42px}
  .day-pace{display:none}
  .card-head{padding:16px}
  .map-legend .muted{margin-left:0;flex-basis:100%}
}

/* ---------- overlays */
.overlay{position:fixed;inset:0;z-index:100;display:flex}
.scrim{position:absolute;inset:0;background:rgba(10,37,64,.42);opacity:0;transition:opacity .22s;backdrop-filter:blur(2px)}
.overlay.in .scrim{opacity:1}
.overlay.modal{align-items:center;justify-content:center;padding:16px}
.modal-panel{position:relative;width:100%;max-width:460px;max-height:calc(100vh - 32px);overflow:auto;background:var(--surface);border-radius:16px;box-shadow:var(--sh-3),inset 0 0 0 1px var(--line);opacity:0;transform:translateY(10px) scale(.98);transition:opacity .22s,transform .22s}
.overlay.in .modal-panel{opacity:1;transform:none}
.busy-panel{max-width:300px;padding:32px 24px 26px;display:grid;justify-items:center;gap:6px;text-align:center}
.busy-panel .logo{animation:breathe 1.4s ease-in-out infinite;margin-bottom:12px}
.busy-panel p{margin:0;font-weight:600;color:var(--ink)}
.m-body{padding:24px 24px 6px}
.m-body h3+.muted{margin-top:6px;font-size:14.5px}
.m-foot{display:flex;justify-content:flex-end;gap:8px;padding:18px 24px 20px}
.overlay.drawer{justify-content:flex-end}
.drawer-panel{position:relative;width:min(520px,100%);height:100%;background:var(--surface);box-shadow:var(--sh-3);transform:translateX(24px);opacity:0;transition:transform .25s cubic-bezier(.2,.8,.2,1),opacity .25s;display:flex;flex-direction:column}
.overlay.in .drawer-panel{transform:none;opacity:1}
.drawer-panel form{display:flex;flex-direction:column;height:100%}
.d-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid var(--line)}
.d-head h3{margin-top:2px}
.d-head small{font-size:12.5px}
.d-body{flex:1;overflow:auto;padding:4px 24px 24px;overscroll-behavior:contain}
.d-sec{padding:20px 0;border-bottom:1px solid var(--line)}
.d-sec:last-of-type{border-bottom:0}
.d-sec h4{margin-bottom:2px}
.d-sec label:first-of-type{margin-top:12px}.d-sec .grid2>label{margin-top:12px} /* both columns of a pair start level */
.d-sec>small{display:block;margin-top:8px;font-size:12.5px}
.d-foot{display:flex;align-items:center;gap:8px;padding:14px 24px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface)}
.grow{flex:1}
@media (max-width:560px){.drawer-panel{width:100%}.d-head,.d-body,.d-foot{padding-left:16px;padding-right:16px}.d-foot .btn.ghost.danger-text span{display:none}}
.upload{display:grid;justify-items:center;gap:6px;margin-top:12px;padding:28px 16px;border-radius:12px;border:1.5px dashed var(--line-2);background:var(--sunk);text-align:center;cursor:pointer;font-weight:500;color:var(--ink);transition:border-color .15s,background .15s}
.upload svg{width:26px;height:26px;color:var(--accent)}
.upload b{font-size:15px}.upload .muted{font-size:13px;font-weight:400}
.upload:hover,.upload.dragging{border-color:var(--accent);background:var(--accent-wash)}
.upload.loading{grid-auto-flow:column;justify-content:center;align-items:center;gap:10px;color:var(--muted);cursor:default}
.route-card{display:grid;grid-template-columns:132px minmax(0,1fr);gap:14px;align-items:center;margin-top:12px;padding:10px;border-radius:12px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line)}
.rc-map{height:84px;border-radius:9px;overflow:hidden;background:radial-gradient(120% 90% at 30% 20%,#18306E,#0A2540)}
.rc-info{display:grid;gap:3px;min-width:0}
.rc-info b{color:var(--ink);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc-info .muted{font-size:13px}.rc-info .link{justify-self:start;margin-top:4px}
.stop-presets{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px}
.stop-presets button{font:500 12.5px Inter,sans-serif;color:var(--body);background:var(--surface);border:0;box-shadow:inset 0 0 0 1px var(--line-2);padding:5px 10px;border-radius:999px;cursor:pointer}
.stop-presets button:hover{color:var(--accent-ink);box-shadow:inset 0 0 0 1px var(--accent)}
.finish{display:flex;align-items:flex-start;gap:10px;margin-top:16px;padding:12px 14px;border-radius:10px;background:var(--accent-wash);color:var(--ink);font-size:13.5px;line-height:1.45}
.finish svg{width:18px;height:18px;color:var(--accent);margin-top:1px}
.finish b{font-weight:700;font-variant-numeric:tabular-nums}
.danger-zone h4{color:var(--tough)}
.danger-zone .btn{margin-top:12px}
.d-sec .btn{margin-top:10px}
.addr{position:relative;display:flex;align-items:center;border-radius:9px;box-shadow:var(--sh-1);background:var(--sunk);overflow:hidden}
.addr::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px var(--line-2);pointer-events:none} /* over the field, whose own background would cover a ring on the box */
.addr:focus-within{box-shadow:0 0 0 4px var(--accent-wash)}.addr:focus-within::after{box-shadow:inset 0 0 0 1px var(--accent)}
.addr span{padding:0 0 0 12px;color:var(--muted);font-weight:500;font-size:14px;white-space:nowrap}
.addr input{box-shadow:none!important;background:var(--surface);border-radius:0;padding-left:4px;font-weight:600}
.avail{font-weight:500}.avail.good{color:var(--good)}.avail.bad{color:var(--tough)}
.pub-check{display:grid;gap:8px;margin-top:18px;padding:14px;border-radius:10px;background:var(--sunk);font-size:13.5px;color:var(--ink)}
.pub-check span{display:flex;align-items:center;gap:8px}.pub-check svg{width:16px;height:16px;color:var(--good)}
.share{text-align:center}
.share .muted{margin:8px auto 0;max-width:340px}
.burst{width:56px;height:56px;margin:4px auto 16px;border-radius:50%;display:grid;place-items:center;background:var(--good-wash);color:var(--good);animation:pop .5s cubic-bezier(.2,1.6,.4,1)}
.burst svg{width:26px;height:26px}
@keyframes pop{from{transform:scale(.4);opacity:0}}
.copyrow{display:flex;gap:8px;margin-top:20px}
.copyrow input{font:500 13.5px "JetBrains Mono",ui-monospace,monospace;background:var(--sunk)}
.share-btns{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.share-btns .btn{flex:1;height:40px}
.share+.m-foot .btn{width:100%}

/* account */
.acc-id{display:flex;align-items:center;gap:16px;padding-bottom:10px}
.acc-id div{display:grid;gap:2px}.acc-id b{color:var(--ink);font-size:17px}.acc-id .muted{font-size:13.5px}
.row-end{display:flex;justify-content:flex-end;margin-top:20px}
.sign-out{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}
.sign-out b{color:var(--ink)}
.delete-acc b{color:var(--tough)}
.del-list{margin:8px 0 14px;padding-left:18px;display:grid;gap:8px;color:var(--body)}.del-list code{font-size:12px;color:var(--muted)}

/* toasts */
#toasts{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:200;display:grid;gap:8px;justify-items:center;width:max-content;max-width:calc(100vw - 32px)}
.toast{display:flex;align-items:center;gap:10px;padding:11px 16px;border-radius:11px;background:#0A2540;color:#fff;font-size:14px;font-weight:500;box-shadow:var(--sh-3);opacity:0;transform:translateY(10px);transition:opacity .25s,transform .25s}
.toast.in{opacity:1;transform:none}
.toast svg{width:16px;height:16px;color:#2BE0B4}
.toast.err{background:#B42335}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media (max-width:860px){.tour-card.add{display:none}}

/* drawn route map (preview, or when the map library can't load) */
.svmap{width:100%;height:100%;display:block;background:radial-gradient(120% 90% at 30% 20%,#18306E,#0A2540)}
.sv-line{fill:none;stroke:#8B85FF;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;transition:stroke .4s,opacity .2s,stroke-width .2s}
.sv-glow{fill:none;stroke:#8B85FF;stroke-width:11;stroke-opacity:.16;stroke-linecap:round;stroke-linejoin:round;transition:stroke .4s}
.sv-line[data-rate=good],.sv-glow[data-rate=good]{stroke:#2BE0B4}.sv-line[data-rate=fair],.sv-glow[data-rate=fair]{stroke:#FFC56E}.sv-line[data-rate=tough],.sv-glow[data-rate=tough]{stroke:#FF7A8A}
.svmap.focus .sv-line{opacity:.3}.svmap.focus .sv-line.on{opacity:1;stroke-width:5}
.sv-dot circle{fill:#fff;stroke:#0A2540;stroke-width:2}.sv-dot text{font:700 9.5px Inter,sans-serif;fill:#0A2540;text-anchor:middle}
.sv-fin{fill:#0A2540;stroke:#fff;stroke-width:2.5}

/* ---------- free note, event types, regular rides ---------- */
.free-note{display:grid;gap:3px;margin:0 0 12px;padding:12px 12px 13px;border-radius:11px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line);font-size:12.5px;line-height:1.45;color:var(--muted)}
.free-note b{color:var(--ink);font-size:13px;font-weight:600}
.free-by{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:-1px 0 3px}.free-by[hidden]{display:none}
.free-by a.pl{display:inline-flex;align-items:center;gap:5px;color:var(--ink);font-weight:600}.free-by img{width:16px;height:16px;border-radius:4px;object-fit:contain;background:#fff}
.ptip{position:relative;display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--line);color:var(--muted);font:700 10.5px/1 Inter,system-ui,sans-serif;cursor:help;outline:none}
.ptip:focus-visible{box-shadow:0 0 0 2px var(--accent)}
.ptip>span{position:absolute;bottom:calc(100% + 10px);left:-14px;width:228px;padding:11px 13px;border-radius:12px;background:#0A2540;color:#E6EBF1;font:500 12.5px/1.5 Inter,system-ui,sans-serif;box-shadow:0 12px 32px rgba(10,37,64,.28);opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .15s,transform .15s;z-index:30;cursor:default}
.ptip>span::after{content:'';position:absolute;top:100%;left:16px;border:6px solid transparent;border-top-color:#0A2540}
.ptip>span b{color:#fff}.ptip>span a{color:#B9B4FF!important;font-weight:600}
.ptip>span{display:none}.ptip:hover>span,.ptip:focus>span,.ptip:focus-within>span{opacity:1;visibility:visible;transform:none;display:block}.free-note a{color:var(--accent-ink);text-decoration:none;font-weight:500}.free-note a:hover{text-decoration:underline}
.modal-panel.wide{max-width:580px}
.step-k{display:block;margin-bottom:8px;font:600 11.5px/1 Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-ink)}
.type-pick{display:grid;gap:10px;margin:18px 0 8px}
.type-opt{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;width:100%;padding:16px 16px 16px 14px;text-align:left;font:inherit;color:inherit;background:var(--surface);border:0;border-radius:13px;box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-1);cursor:pointer;transition:box-shadow .15s,transform .15s}
.type-opt:hover,.type-opt:focus-visible{outline:0;box-shadow:inset 0 0 0 1.5px var(--accent),0 0 0 4px var(--accent-wash),var(--sh-2);transform:translateY(-1px)}
.to-txt{display:grid;gap:4px;min-width:0}
.to-txt b{font:600 15.5px/1.25 "Inter Tight",Inter,sans-serif;color:var(--ink);letter-spacing:-.01em}
.to-txt>span{font-size:13.5px;line-height:1.45;color:var(--muted)}
.to-txt code{justify-self:start;margin-top:4px;padding:3px 7px;border-radius:6px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line);font:500 12px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--body);overflow-wrap:anywhere}
.to-txt code i{font-style:normal;color:var(--faint)}
.to-go svg{width:18px;height:18px;color:var(--faint);transition:transform .15s,color .15s}
.type-opt:hover .to-go svg{color:var(--accent);transform:translateX(2px)}
.to-ic{width:44px;height:44px;flex:none;border-radius:12px;display:grid;place-items:center}
.to-ic svg{width:22px;height:22px}
.to-ic.sm{width:34px;height:34px;border-radius:10px}.to-ic.sm svg{width:18px;height:18px}
.to-ic.ride{color:#0E9F6E;background:rgba(14,159,110,.11)}
.to-ic.race{color:#E5484D;background:rgba(229,72,77,.1)}
.to-ic.tour{color:var(--accent-ink);background:var(--accent-wash)}
.nt-head{display:flex;align-items:center;gap:12px}
.tbadge{display:inline-flex;align-items:center;gap:5px;margin-right:8px;padding:3px 8px 3px 6px;border-radius:999px;font:600 11.5px/1.2 Inter,sans-serif;vertical-align:1px}
.tbadge svg{width:13px;height:13px}
.tbadge.ride{color:#0E9F6E;background:rgba(14,159,110,.1)}
.tbadge.race{color:#D9363E;background:rgba(229,72,77,.09)}
.tbadge.tour{color:var(--accent-ink);background:var(--accent-wash)}
.th-sub{display:flex;align-items:center;flex-wrap:wrap;gap:4px 2px;margin-top:8px}
.th-sub .url,.th-title .th-sub .muted{margin-top:0;font-size:14px}
.note{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;margin:-4px 0 16px;font-size:14px;line-height:1.5;color:var(--body)}
.note svg{width:18px;height:18px;flex:none;margin-top:2px;color:#D9363E}.note b{color:var(--ink);font-weight:600}
.lab{display:grid;gap:6px;font-size:13px;font-weight:600;color:var(--ink);margin-top:14px}
.wk{display:flex;flex-wrap:wrap;gap:6px}
.wk-d{min-width:46px;padding:9px 0;border:0;border-radius:9px;font:600 13px/1 Inter,sans-serif;color:var(--body);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-1);cursor:pointer;transition:background .15s,color .15s,box-shadow .15s}
.wk-d:hover{box-shadow:inset 0 0 0 1px var(--accent)}
.wk-d.on{color:#fff;background:var(--accent);box-shadow:0 1px 2px rgba(50,50,93,.25),inset 0 0 0 1px rgba(0,0,0,.06)}
.ride-when{align-items:end}
.often{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:360px}.often button{padding:11px 0;border:0;border-radius:10px;font:600 14px/1 Inter,sans-serif;color:var(--body);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-1);cursor:pointer;transition:background .15s,color .15s,box-shadow .15s}
.often button:hover{box-shadow:inset 0 0 0 1px var(--accent)}.often button.on{color:#fff;background:var(--accent);box-shadow:0 1px 2px rgba(50,50,93,.25)}
.day-row.later .day-num{opacity:.85}
.avail{display:inline-flex;align-items:center;gap:6px}.avail svg{width:14px;height:14px}.avail b{font-weight:700}
.tc-body p.muted{display:flex;align-items:center;flex-wrap:wrap;gap:2px}
@media (max-width:560px){
  .type-opt{grid-template-columns:auto 1fr;gap:12px;padding:14px 12px}.to-go{display:none}
  .type-opt .to-ic{width:38px;height:38px;align-self:start}.type-opt .to-ic svg{width:19px;height:19px}
  .to-txt code{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;overflow-wrap:normal}
  .wk{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.wk-d{min-width:0;padding:10px 0;font-size:12.5px} /* one even row of seven, not 4 + 3 uneven */
}

/* ---------- reorder days ---------- */
.ch-actions{display:flex;gap:8px;flex:none}
.ch-actions .btn svg{width:16px;height:16px}
.reordering .drop-hint,.reordering .drop-veil{display:none!important}
.ro-row{display:grid;grid-template-columns:auto 46px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 16px 12px 8px;border-top:1px solid var(--line);background:var(--surface);position:relative;transition:background .2s,box-shadow .2s}
.ro-row:first-child{border-top:0}
.ro-row .day-num{background:var(--accent-wash);color:var(--accent-ink)}
.ro-row .day-num b{display:block;font:inherit}
.ro-grip{width:30px;height:40px;display:grid;place-items:center;border:0;border-radius:8px;background:none;color:var(--faint);cursor:grab;touch-action:none}
.ro-grip svg{width:18px;height:18px}
.ro-grip:hover{background:var(--sunk);color:var(--ink)}
.dragging,.dragging *{cursor:grabbing!important;user-select:none}
.ro-row.lift{z-index:2;background:var(--surface);box-shadow:0 0 0 1.5px var(--accent),0 14px 30px -10px rgba(50,50,93,.35);border-radius:12px}
.ro-row.flash{background:var(--accent-wash)}
.ro-btns{display:flex;gap:4px}
.ro-btns button{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:8px;background:var(--surface);color:var(--body);box-shadow:inset 0 0 0 1px var(--line-2);cursor:pointer}
.ro-btns button svg{width:16px;height:16px}
.ro-btns button:hover:not(:disabled){color:var(--accent-ink);box-shadow:inset 0 0 0 1px var(--accent)}
.ro-btns button:disabled{opacity:.35;cursor:default}
.ro-row .day-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:560px){
  .card-head{flex-wrap:wrap}.ch-actions{width:100%;flex-wrap:wrap}.ch-actions .btn{flex:1 1 auto;justify-content:center;min-width:0}
  .ro-row{grid-template-columns:auto 40px minmax(0,1fr) auto;gap:10px;padding-right:12px}
  .ro-btns{flex-direction:column;gap:4px}.ro-btns button{width:34px;height:28px} /* up over down at the row's end: one compact row per day */
}

/* the organiser's "would you recommend Windline?" card (main.js askNps) */
.nps{position:relative;padding:18px 20px;margin:0 0 18px}
.nps>b{display:block;color:var(--ink);font-size:15px;padding-right:30px}
.nps-x{position:absolute;top:12px;right:12px;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;display:grid;place-items:center}
.nps-x:hover{background:var(--sunk)}.nps-x svg{width:16px;height:16px}
.nps-scale{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:6px;margin-top:12px}
.nps-scale button{height:40px;border-radius:10px;border:1px solid var(--line-2);background:var(--surface);color:var(--ink);font:600 14px Inter,sans-serif;cursor:pointer}
.nps-scale button:hover{border-color:var(--accent);background:var(--accent-wash);color:var(--accent-ink)}
.nps-ends{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin-top:6px}
.nps-f textarea{width:100%;margin-top:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--line-2);background:var(--bg);color:var(--ink);font:14px/1.5 Inter,sans-serif;resize:vertical}
.nps-row{display:flex;gap:8px;margin-top:10px}
@media (max-width:560px){.nps-scale{grid-template-columns:repeat(6,minmax(0,1fr))}}

/* Account → Units */
.units-card{display:flex;flex-direction:column;gap:12px;margin-top:16px}
/* Account → Your livedot link */
/* Account → Your livedot link: the link big and whole in the brand type, Copy and Share beside it, one line, the change in small text,
   how it works behind a disclosure, Release quietly at the foot */
.ld-card{gap:14px}
.ld-card .ld-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ld-card .ld-apps{font-size:12.5px;color:var(--muted);font-weight:500}
.ld-card .ld-link{display:flex;align-items:center;justify-content:flex-start;gap:12px 20px;flex-wrap:wrap}
.ld-card .ld-url{font:700 30px/1.1 "Inter Tight",Inter,system-ui,sans-serif;letter-spacing:-.03em;color:var(--ink);text-decoration:none;overflow-wrap:anywhere;min-width:0;flex:0 1 auto}
.ld-card .ld-url:hover .ld-name{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.ld-card .ld-host{color:var(--muted);font-weight:600}
.ld-card .ld-btns{display:flex;gap:8px;flex:none}
.ld-card .ld-line{margin:-6px 0 0;color:var(--muted);font-size:14.5px}
.ld-card .ld-held{margin:-4px 0 0}
.ld-card .ld-form{display:flex;flex-direction:column;gap:8px;padding-top:16px;border-top:1px solid var(--line)}
.ld-card .ld-lab{font-weight:600;font-size:13.5px;color:var(--ink);margin:0}
.ld-card .ld-row{display:flex;gap:8px;align-items:stretch}
.ld-card .ld-row .addr{flex:1;min-width:0}
.ld-card .ld-row .btn{flex:none}
.ld-card .ld-st{min-height:20px;margin:0;display:flex;align-items:center;gap:6px;font-size:13.5px;flex-wrap:wrap}.ld-card .ld-st svg{width:15px;height:15px}.ld-card .ld-st:empty{min-height:0;display:none}
.ld-card .ld-small{margin:0;font-size:12.5px;color:var(--muted)}
.ld-card .ld-how{border-top:1px solid var(--line);padding-top:14px;font-size:13.5px;color:var(--muted)}
.ld-card .ld-how summary{cursor:pointer;font-weight:600;color:var(--ink);list-style:none;display:inline-flex;align-items:center;gap:8px}
.ld-card .ld-how summary::-webkit-details-marker{display:none}
.ld-card .ld-how summary::before{content:"";width:6px;height:6px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(-45deg);transition:transform .15s;margin-top:-1px}
.ld-card .ld-how[open] summary::before{transform:rotate(45deg);margin-top:-4px}
.ld-card .ld-how p{margin:10px 0 0;line-height:1.55;max-width:60ch}
@media (max-width:560px){.ld-card .ld-url{font-size:26px;flex-basis:100%}.ld-card .ld-row{flex-wrap:wrap}.ld-card .ld-row .btn{flex:1 1 100%}}
/* Your livedot link at sign-up, and as the sheet for an account with none (Wes, 20 Oct: everyone gets a livedot link at sign-up):
   the sign-up card's own type and spacing; livedot.me/ inside the field; the status line keeps its height while the check runs */
.ls-mark{display:block;width:48px;height:48px;margin-bottom:22px}
.ls{margin-top:26px}
.ls-addr{height:52px;border-radius:11px}
.ls-addr>span{padding-left:14px;font-size:16px}
.ls-addr input{height:100%;min-height:0;padding:0 14px 0 1px;font-size:16px;letter-spacing:-.005em}
.ls-addr input:disabled{background:var(--surface);color:var(--muted)}
.ls .ld-st{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-height:22px;margin:10px 0 0;font-size:13.5px;line-height:1.4}.ls .ld-st svg{width:15px;height:15px;flex:none}
.ls .ld-st .link{font:inherit;color:inherit;text-decoration:underline;text-underline-offset:2px;background:none;border:0;padding:0;cursor:pointer}
.ls-help{margin:12px 0 0;font-size:13.5px;line-height:1.5;color:var(--muted)}
.ls-have{margin:0;padding:16px 18px;border-radius:12px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line);color:var(--muted);font-size:14px}
.ls-have>span{display:block;font-weight:500}
.ls-url{display:block;margin-top:2px;font:700 26px/1.15 "Inter Tight",Inter,system-ui,sans-serif;letter-spacing:-.03em;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}.ls-url span{color:var(--muted);font-weight:600}.ls-url .ls-n{display:inline-block;color:inherit;font-weight:inherit} /* the name moves down whole, never split at its hyphen */
.ls-url:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}.ls-url:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.overlay.ldsheet{z-index:110}
.ldsheet-panel{position:relative;width:100%;height:100%;overflow:auto;overscroll-behavior:contain;background:var(--bg);opacity:0;transform:translateY(14px);transition:opacity .25s,transform .3s cubic-bezier(.2,.8,.2,1)}
.overlay.in .ldsheet-panel{opacity:1;transform:none}.ldsheet-panel:focus{outline:none}
.ldsheet-panel .auth{min-height:100%}.ldsheet-panel .auth-main{position:relative}
.ls-x{position:absolute;top:24px;right:clamp(16px,3vw,32px);z-index:3;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;padding:0;border:0;background:var(--surface);color:var(--ink);box-shadow:var(--sh-2),inset 0 0 0 1px var(--line);cursor:pointer}
.ls-x svg{width:16px;height:16px}.ls-x:hover{background:var(--sunk)}.ls-x:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.ldsheet-panel{transition:opacity .2s;transform:none}}
.u-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.u-row>span{color:var(--ink);font-weight:500;font-size:14.5px}
.u-seg{display:inline-flex;padding:3px;border-radius:11px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line)}
.u-seg button{border:0;background:transparent;color:var(--body);font:600 13.5px Inter,sans-serif;padding:7px 12px;border-radius:8px;cursor:pointer}
.u-seg button[aria-pressed="true"]{background:var(--surface);color:var(--ink);box-shadow:var(--sh-1)}

/* My Rides: private events */
.pill.private{background:rgba(10,37,64,.07);color:var(--ink)}
.list-h{grid-column:1/-1;margin:8px 0 -4px;font:700 17px/1.3 Inter,sans-serif;color:var(--ink);display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.list-h small{font-weight:400;font-size:13.5px;color:var(--muted)}
.who-for{display:grid;grid-template-columns:1fr 1fr;gap:8px}.who-for button{text-align:left;padding:12px 14px;border:0;border-radius:12px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-1);cursor:pointer;font:inherit;color:var(--ink);transition:box-shadow .15s,background .15s}
.who-for button b{display:block;font-size:14.5px}.who-for button small{display:block;font-size:12.5px;color:var(--muted);font-weight:400;margin-top:2px}.who-for button:hover{box-shadow:inset 0 0 0 1px var(--accent)}
.who-for button.on{box-shadow:inset 0 0 0 2px var(--accent);background:var(--accent-wash)}
@media (max-width:560px){.who-for{grid-template-columns:minmax(0,1fr)}}
.priv .copyrow{margin:14px 0 6px}.tgl{display:flex;gap:12px;align-items:flex-start;padding:14px 0;border-top:1px solid var(--line);cursor:pointer}.tgl input{width:auto;min-height:0;margin-top:3px;box-shadow:none;accent-color:var(--accent)}
.tgl b{display:block;font-size:14.5px;color:var(--ink)}.tgl small{display:block;font-size:13px;color:var(--muted);line-height:1.45;margin-top:2px}
/* an event's pages (one person, several pages; Wes 20 Oct): a row per page, its logo or monogram, its name, a quiet Coach / Club tag */
.pg-ticks{padding:14px 0 4px;border-top:1px solid var(--line)}
.pg-head b{display:block;font-size:14.5px;color:var(--ink)}.pg-head small{display:block;font-size:13px;color:var(--muted);line-height:1.45;margin-top:2px}
.pg-ticks .pg-row{display:flex;align-items:center;gap:12px;margin:10px 0 0;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);cursor:pointer;transition:border-color .15s,box-shadow .15s}
.pg-ticks .pg-row:hover{border-color:var(--line-2)}
.pg-ticks .pg-row:has(input:checked){border-color:color-mix(in srgb,var(--accent) 45%,var(--line));box-shadow:0 0 0 3px var(--accent-wash)}
.pg-ticks .pg-row:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.pg-row input{flex:none;width:auto;min-height:0;margin:0;box-shadow:none;accent-color:var(--accent)}
.pg-logo{position:relative;flex:none;width:32px;height:32px;border-radius:9px;background:var(--kit,#635BFF);display:grid;place-items:center;overflow:hidden;color:#fff;font:700 12px/1 Inter,sans-serif;letter-spacing:.02em}
.pg-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#fff}.pg-logo i{font-style:normal}
.pg-t{flex:1;min-width:0}.pg-t b{display:block;font-size:14.5px;font-weight:600;line-height:1.35;color:var(--ink);overflow-wrap:anywhere}.pg-t small{display:block;font-size:12.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pg-tag{flex:none;font-style:normal;font-size:11.5px;font-weight:600;letter-spacing:.02em;color:var(--muted);background:var(--sunk);border-radius:999px;padding:3px 9px}
.priv-act{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--line)}
.priv-share{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 0 0;border-top:1px solid var(--line)}.priv-share b{display:block;font-size:14.5px;color:var(--ink)}.priv-share small{display:block;font-size:13px;line-height:1.45}

/* clubs: your clubs, a club's rides and who's riding, and its managers' tools (main.js viewClubs / viewClub) */
.avatar{overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}
.club-list{display:grid;gap:10px;max-width:720px}
.club-card{display:flex;align-items:center;gap:14px;padding:14px 18px;text-decoration:none;color:var(--body);transition:box-shadow .15s}
.club-card:hover{box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-2)}
.club-card>svg{width:16px;height:16px;color:var(--faint);flex:none}
.club-logo{flex:none;width:44px;height:44px;border-radius:12px;background:var(--kit,#635BFF);display:grid;place-items:center;overflow:hidden;color:#fff;font:700 15px/1 Inter,sans-serif}
.club-logo img{width:100%;height:100%;object-fit:contain;background:#fff;padding:4px}
.club-logo.big{width:64px;height:64px;border-radius:16px;font-size:21px}
.club-t{flex:1;min-width:0;display:grid;gap:2px}.club-t b{color:var(--ink);font-size:15.5px}.club-t small{font-size:13px}
.club-empty{display:grid;justify-items:center;gap:8px;text-align:center;padding:44px 24px}.club-empty>svg{width:30px;height:30px;color:var(--accent-ink)}.club-empty p{max-width:420px}
#club{display:grid;gap:16px;max-width:760px}
.club-head::before{content:'';position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--kit) 72%,var(--sash) 72%)}
.club-acts{flex:none}
.cr-d{display:grid;justify-items:center;width:52px;padding:7px 0 6px;border-radius:10px;background:var(--sunk);box-shadow:inset 0 3px 0 var(--kit),inset 0 0 0 1px var(--line);font:600 10.5px/1.25 Inter,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.cr-d b{font:700 21px/1.1 "Inter Tight",Inter,sans-serif;letter-spacing:-.02em;color:var(--ink);text-transform:none}
.cr-m b{font-size:15px}.cr-m b a{color:var(--ink);text-decoration:none}.cr-m b a:hover{text-decoration:underline}
.cr-m small{display:block;font-size:13px;margin-top:1px}
.cr-who{display:flex;align-items:center;gap:10px;margin-top:10px;min-height:28px}
.faces{display:flex}
.face{width:28px;height:28px;margin-left:-6px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:var(--face,#635BFF);color:#fff;font:600 10.5px/1 Inter,sans-serif;letter-spacing:.02em;box-shadow:0 0 0 2px var(--surface)}.face.more{background:var(--sunk);color:var(--body);box-shadow:0 0 0 2px var(--surface),inset 0 0 0 1px var(--line-2);font-size:11px}
.face:first-child{margin-left:0}.face img{width:100%;height:100%;object-fit:cover}
.who-n{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 7px;font-size:13px;color:var(--muted)}.who-n b{color:var(--ink);font-weight:600}
.cr-act{display:grid;justify-items:end;gap:9px}
.btn.going{background:var(--good-wash);color:var(--good);box-shadow:inset 0 0 0 1px rgba(43,203,168,.4)}
.btn.going:hover:not(:disabled){background:rgba(43,203,168,.22)}
.every{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:500;color:var(--muted);cursor:pointer;white-space:nowrap}.every input{margin:0;width:15px;height:15px;min-height:0;padding:0;box-shadow:none;background:none;accent-color:var(--accent)}
.btn.small{height:30px;padding:0 11px;font-size:13px;border-radius:8px}.btn.small svg{width:14px;height:14px}
.pill.warn{color:var(--fair);background:var(--fair-wash)}
.mem-t{flex:1;min-width:0;display:grid}.mem-t b{color:var(--ink);font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mem-t small{font-size:12.5px}
.mem-a{display:flex;gap:8px;flex:none}
.seg{display:inline-flex;flex:none;padding:3px;border-radius:10px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line)}
.seg button{height:28px;padding:0 12px;border:0;border-radius:7px;background:none;color:var(--muted);font:600 13px/1 Inter,sans-serif;cursor:pointer}
.seg button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:var(--sh-1),inset 0 0 0 1px var(--line-2)}
/* profile photo: the account avatar is the button; the crop is a square, shown round */
.photo-pick{position:relative;flex:none;cursor:pointer;border-radius:50%}
.photo-pick:focus-within{outline:2px solid var(--accent);outline-offset:3px}
.photo-cam{position:absolute;right:-3px;bottom:-3px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;box-shadow:0 0 0 2px var(--surface)}
.photo-cam svg{width:12px;height:12px}
.photo-acts{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:4px;font-size:13px}.photo-acts .link{font-size:13px;cursor:pointer}.acc-id .photo-acts .muted{font-size:13px}
.link.danger-text{color:var(--tough)}
.crop-stage{position:relative;margin:18px auto 0;overflow:hidden;border-radius:14px;background:#05080F;touch-action:none;user-select:none;cursor:grab}
.crop-stage:active{cursor:grabbing}
.crop-img{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;pointer-events:none}
.crop-ring{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 999px rgba(5,8,15,.6),inset 0 0 0 2px rgba(255,255,255,.9);pointer-events:none}
.crop-zoom{display:flex;align-items:center;gap:12px;margin:16px 0 4px;color:var(--muted);font-size:17px}.crop-zoom input{flex:1;width:auto;min-height:0;height:20px;padding:0;border-radius:0;box-shadow:none!important;background:none;accent-color:var(--accent)}
.pill.mgr{color:var(--accent-ink);background:var(--accent-wash);padding:7px 11px;font-size:12.5px}
.top-ic{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;align-items:center;justify-content:center;color:var(--muted);margin-left:auto;margin-right:4px}.top-ic svg{width:20px;height:20px}.top-ic.on{color:var(--accent-ink);background:var(--accent-wash)}
.photo-acts button.link{line-height:inherit}
/* club view: one rhythm, 24px sides, every section the same head */
.club-head{position:relative;overflow:hidden;padding:0}
.ch-top{display:flex;align-items:flex-start;gap:20px;padding:30px 24px 24px}
.club-head .club-logo.big{background:#fff;box-shadow:inset 0 0 0 1px var(--line)}
.club-head .club-logo.big:not(:has(img)){background:var(--kit)}
.club-head h1{font-size:26px;line-height:1.15}
.club-head .club-t{gap:6px}
.ch-line{color:var(--body);font-size:14.5px;line-height:1.5;max-width:52ch}
.club-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin-top:4px;font-size:13.5px}
.ch-n{color:var(--ink);font-weight:600}
.club-acts{flex:none;padding-top:2px}
.ch-notify{display:flex;gap:12px;align-items:flex-start;padding:16px 24px;border-top:1px solid var(--line);background:var(--sunk);cursor:pointer}
.ch-notify input{width:auto;min-height:0;margin:3px 0 0;padding:0;box-shadow:none;accent-color:var(--accent)}
.ch-notify b{display:block;font-size:14px;color:var(--ink)}.ch-notify small{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.cs-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px 18px}
.cs-head h2{display:flex;align-items:center;gap:8px}.cs-head .muted{margin-top:4px}
.cs-count{font:600 12px/1 Inter,sans-serif;color:var(--muted);background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line);padding:4px 8px;border-radius:999px}
.cs-sub{display:flex;align-items:center;gap:8px;padding:20px 24px 10px;font:600 12.5px/1 Inter,sans-serif;color:var(--muted);letter-spacing:0}
.cs-empty{display:grid;justify-items:center;gap:6px;text-align:center;padding:28px 24px 32px;border-top:1px solid var(--line)}
.cs-empty>svg{width:22px;height:22px;color:var(--faint);margin-bottom:4px}.cs-empty b{color:var(--ink);font-size:14.5px}.cs-empty p{max-width:46ch}.cs-empty .btn{margin-top:8px}
.cs-invite{padding:18px 24px 20px;border-top:1px solid var(--line)}
.cs-label{display:block;font:600 12.5px/1 Inter,sans-serif;color:var(--muted);margin-bottom:8px}
.cs-invite .copyrow{margin:0 0 10px}.cs-invite .copyrow input{flex:1;min-width:0}.cs-invite .copyrow .btn{flex:none;height:auto}
.cr{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 24px;border-top:1px solid var(--line)}
.cr.cr-focus{background:var(--sunk);box-shadow:inset 3px 0 0 var(--accent)} /* opened from a manager's "is in for" notification */
.mem{display:flex;align-items:center;gap:12px;padding:12px 24px;border-top:1px solid var(--line)}
.cs-sub+.mem{border-top:0}
@media (max-width:560px){
  .ch-top{flex-wrap:wrap;gap:16px;padding:26px 16px 20px}.club-acts{width:100%}.club-acts .btn{width:100%}
  .ch-notify,.cs-head,.cs-invite,.mem{padding-left:16px;padding-right:16px}.cs-sub{padding-left:16px}
  .cs-head{flex-wrap:wrap}
  .cr{grid-template-columns:48px minmax(0,1fr);gap:12px;padding:14px 16px}.cr-act{grid-column:2;display:flex;align-items:center;gap:14px;justify-items:start}
}
.ch-wait{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
@media (max-width:560px){.ch-wait .btn{flex:1}}
.cr-now{display:flex;width:max-content;align-items:center;gap:6px;margin-bottom:3px;font:600 11.5px/1 Inter,sans-serif;color:var(--good);letter-spacing:.01em}
.cr-now i{width:6px;height:6px;border-radius:50%;background:currentColor;animation:crpulse 2s ease-out infinite}
@keyframes crpulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--good) 50%,transparent)}70%,100%{box-shadow:0 0 0 6px transparent}}
@media (prefers-reduced-motion:reduce){.cr-now i{animation:none}}
.cr.live .cr-d{background:color-mix(in srgb,var(--good) 10%,var(--sunk));box-shadow:inset 0 3px 0 var(--good),inset 0 0 0 1px var(--line)}
@media (max-width:560px){.sign-out{flex-direction:column;align-items:stretch;gap:12px}.sign-out .btn{justify-content:center}} /* phones: the words full width, the button under them */
/* ---------- the Windline 1000 by ProLend banner (Events) ---------- */
.w1k{position:relative;display:flex;align-items:center;gap:28px;margin:0 0 22px;padding:22px 56px 22px 26px;border-radius:18px;overflow:hidden;color:#E6EDF5;
  background:radial-gradient(120% 140% at 100% 0%,rgba(124,117,255,.42),transparent 55%),linear-gradient(115deg,#0E2A49,#081627);box-shadow:0 1px 2px rgba(10,37,64,.12),0 18px 40px -22px rgba(10,37,64,.55)}
.w1k-wind{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke-linecap:round;opacity:.16;pointer-events:none}.w1k-wind path{stroke:#8B85FF;stroke-width:1.6}.w1k-wind path:nth-child(2){stroke:#2BE0B4}
.w1k-main{position:relative;flex:1;min-width:0}
.w1k-name{display:block;font:800 21px/1.15 Inter,system-ui,sans-serif;letter-spacing:-.02em;color:#fff}.w1k-name small{font-size:15px;font-weight:600;color:#9FB2C8;letter-spacing:0}
.w1k p{margin:6px 0 0;font-size:14.5px;line-height:1.5;color:#B9C7D7;max-width:620px}.w1k p b{color:#2BE0B4}
.w1k-act{position:relative;display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none}
.w1k-act a{color:#C9D6E4;font-size:13.5px;font-weight:600}.w1k-act a.btn{color:#081627}
.btn.w1k-go{background:#2BE0B4;color:#081627;border:0;font-weight:700;box-shadow:0 6px 18px -6px rgba(43,224,180,.6)}.btn.w1k-go:hover{background:#4AF0C6}
.w1k-total{display:flex;align-items:baseline;gap:8px;margin-top:8px}.w1k-total b{font:800 38px/1 Inter,system-ui,sans-serif;letter-spacing:-.03em;color:#fff;font-variant-numeric:tabular-nums}
.w1k-total span{font-size:16px;font-weight:600;color:#9FB2C8}.w1k-total em{margin-left:6px;padding:3px 9px;border-radius:999px;background:rgba(43,224,180,.16);color:#2BE0B4;font:700 12px/1.4 Inter,sans-serif;font-style:normal;letter-spacing:.04em;text-transform:uppercase}
.w1k-bar{height:8px;margin-top:12px;border-radius:999px;background:rgba(255,255,255,.1);overflow:hidden;max-width:560px}.w1k-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2BE0B4,#5FB4E6,#7C75FF)}
.w1k p.w1k-meta{margin-top:9px;font-size:13.5px;color:#9FB2C8}
.w1k-days{position:relative;display:flex;align-items:flex-end;gap:4px;height:64px;width:210px;flex:none}
.w1k-days i{flex:1;border-radius:3px;background:#5FB4E6}.w1k-days i:nth-child(n+9){background:#8B85FF}.w1k-days i.rest{background:rgba(255,255,255,.14)}.w1k-days i.todo{background:rgba(255,255,255,.07)}
.w1k-x{position:absolute;top:12px;right:12px;width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:8px;background:rgba(255,255,255,.08);color:#C9D6E4;cursor:pointer}.w1k-x:hover{background:rgba(255,255,255,.16)}.w1k-x svg{width:14px;height:14px}
@media (max-width:760px){.w1k{flex-wrap:wrap;gap:16px;padding:18px 18px 18px}.w1k-main{flex:1 1 100%;padding-right:30px}.w1k-act{flex:1 1 100%;flex-direction:row;align-items:center;justify-content:space-between}.w1k-act .btn{flex:1 1 auto;justify-content:center}.w1k-days{width:100%;height:46px}.w1k-total b{font-size:32px}}
/* the Windline 1000's page (#/w1000): the live challenges (contract v1.3). The hero in the banner's night and wind; the rest in the dashboard's cards */
.w1k-page{max-width:1040px}
.w1k-hero{position:relative;margin:0 0 20px;padding:30px 32px 28px;border-radius:20px;overflow:hidden;color:#E6EDF5;
  background:radial-gradient(90% 120% at 100% 0%,rgba(124,117,255,.45),transparent 58%),radial-gradient(70% 90% at 0% 100%,rgba(43,224,180,.16),transparent 60%),linear-gradient(115deg,#0E2A49,#081627);
  box-shadow:0 1px 2px rgba(10,37,64,.12),0 24px 48px -24px rgba(10,37,64,.6)}
.w1k-hero.is-loading{min-height:200px}
.w1k-hero .w1k-wind{opacity:.13}
.w1k-hero-in{position:relative}
.w1k-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);color:#C9D6E4;font:600 12.5px/1 Inter,sans-serif;letter-spacing:.01em}
.w1k-chip i{width:7px;height:7px;border-radius:50%;background:#9FB2C8}.w1k-chip.ph-entries i{background:#8B85FF}.w1k-chip.ph-live i{background:#2BE0B4;box-shadow:0 0 0 0 rgba(43,224,180,.6);animation:w1kPulse 2s ease-out infinite}.w1k-chip.ph-uploads i{background:#FFB547}
@keyframes w1kPulse{0%{box-shadow:0 0 0 0 rgba(43,224,180,.55)}70%{box-shadow:0 0 0 8px rgba(43,224,180,0)}100%{box-shadow:0 0 0 0 rgba(43,224,180,0)}}
@media (prefers-reduced-motion:reduce){.w1k-chip.ph-live i{animation:none}}
.w1k-h{margin:16px 0 0;font:800 34px/1.08 "Inter Tight",Inter,system-ui,sans-serif;letter-spacing:-.03em;color:#fff}.w1k-h small{font:600 17px/1 Inter,sans-serif;letter-spacing:0;color:#9FB2C8}
.w1k-line{margin:10px 0 0;max-width:620px;font-size:16px;line-height:1.55;color:#B9C7D7}.w1k-line b{color:#2BE0B4;font-weight:700}
.w1k-cta{display:flex;align-items:center;flex-wrap:wrap;gap:14px 18px;margin-top:22px}
.w1k-cta .btn.lg{height:46px;padding:0 22px;font-size:15px;border-radius:12px}
.w1k-note{font-size:13.5px;color:#9FB2C8}
.w1k-soon{display:inline-flex;align-items:center;gap:9px;padding:11px 14px;border-radius:12px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);font-size:14.5px;font-weight:600;color:#E6EDF5}
.w1k-prog{display:flex;align-items:center;gap:30px;margin-top:24px}
.w1k-ring{position:relative;flex:none;width:156px;height:156px}
.w1k-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.w1k-ring circle{fill:none;stroke-width:11}.w1k-ring .trk{stroke:rgba(255,255,255,.1)}.w1k-ring .val{stroke:url(#w1kG);stroke-linecap:round;transition:stroke-dashoffset .8s cubic-bezier(.2,.8,.2,1)}
.w1k-ring-n{position:absolute;inset:0;display:grid;place-content:center;text-align:center}
.w1k-ring-n b{font:800 34px/1 "Inter Tight",Inter,sans-serif;letter-spacing:-.03em;color:#fff;font-variant-numeric:tabular-nums}.w1k-ring-n small{margin-top:5px;font-size:12px;font-weight:600;color:#9FB2C8}
.w1k-fin{position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);padding:4px 10px;border-radius:999px;background:#2BE0B4;color:#081627;font:800 11px/1.3 Inter,sans-serif;font-style:normal;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 6px 16px -6px rgba(43,224,180,.7)}
.w1k-stats{flex:1;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}
.w1k-stats>div{padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.055);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.w1k-stats dt{font:600 11.5px/1.2 Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#9FB2C8}
.w1k-stats dd{margin:8px 0 0;font:800 26px/1 "Inter Tight",Inter,sans-serif;letter-spacing:-.025em;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}.w1k-stats dd span{font:600 13px/1 Inter,sans-serif;letter-spacing:0;color:#9FB2C8}
.w1k-stats small{display:block;margin-top:8px;font-size:12.5px;line-height:1.4;color:#9FB2C8}
.w1k-bars{display:flex;align-items:flex-end;gap:5px;height:54px;margin-top:22px}
.w1k-bars i{flex:1;border-radius:3px;background:#5FB4E6}.w1k-bars i:nth-child(n+9){background:#8B85FF}.w1k-bars i.rest{background:rgba(255,255,255,.16)}.w1k-bars i.todo{background:rgba(255,255,255,.07)}
.w1k-attr{margin:12px 0 0;font-size:12.5px;color:#9FB2C8}
.w1k-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;align-items:start}
.w1k-col{display:grid;gap:20px;min-width:0}
.w1k-page .card{padding:22px 24px}
.w1k-page .card h2{font-size:16.5px;color:var(--ink)}
.w1k-page .card>.muted{margin-top:6px;max-width:720px;font-size:14px;line-height:1.55}
.w1k-page code{font:600 12.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace;padding:2px 5px;border-radius:5px;background:var(--sunk);color:var(--ink)}
.w1k-drop{display:flex;align-items:center;gap:14px;margin:16px 0 0;padding:18px;border-radius:14px;border:1.5px dashed var(--line-2);background:var(--sunk);cursor:pointer;transition:border-color .15s,background .15s}
.w1k-drop:hover,.w1k-drop.over{border-color:var(--accent);background:var(--accent-wash)}.w1k-drop:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.w1k-drop.off{cursor:default;opacity:.75}.w1k-drop.off:hover{border-color:var(--line-2);background:var(--sunk)}
.w1k-drop-ic{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line),var(--sh-1);color:var(--accent-ink)}.w1k-drop-ic svg{width:21px;height:21px}
.w1k-drop b{display:block;font-size:15px;color:var(--ink)}.w1k-drop small{display:block;margin-top:2px;font-size:13px;color:var(--muted)}
.w1k-up-note{margin-top:10px;font-size:13px;color:var(--muted)}
.w1k-help{margin-top:14px;font-size:13.5px}.w1k-help .link,.w1k-pub-st .link,.w1k-board-link .link{display:inline-flex;align-items:center;gap:5px}.w1k-page .link svg{width:13px;height:13px}
.w1k-ans{display:flex;gap:12px;margin-top:14px;padding:14px 16px;border-radius:12px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line)}
.w1k-ans-ic{flex:none;width:28px;height:28px;display:grid;place-items:center;border-radius:50%}.w1k-ans-ic svg{width:16px;height:16px}
.w1k-ans b{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:15px;color:var(--ink)}.w1k-ans b em{font-style:normal;font-weight:500;font-size:13.5px;color:var(--body)}
.w1k-ans small{display:block;margin-top:3px;font-size:13.5px;line-height:1.5;color:var(--body)}.w1k-ans small.w1k-ans-f{margin-top:4px;font-size:12px;color:var(--faint);word-break:break-all}
.w1k-ans.busy{align-items:center}.w1k-ans.busy .spin{flex:none;margin:0 6px;color:var(--accent)}
.w1k-ans.ok{background:var(--good-wash);box-shadow:inset 0 0 0 1px rgba(0,168,143,.25)}.w1k-ans.ok .w1k-ans-ic{background:var(--good);color:#fff}
.w1k-ans.wait{background:var(--fair-wash);box-shadow:inset 0 0 0 1px rgba(232,146,12,.28)}.w1k-ans.wait .w1k-ans-ic{background:var(--fair);color:#fff}
.w1k-ans.no{background:var(--tough-wash);box-shadow:inset 0 0 0 1px rgba(232,51,74,.25)}.w1k-ans.no .w1k-ans-ic{background:var(--tough);color:#fff}
.w1k-ans.once .w1k-ans-ic{background:var(--muted);color:#fff}
.w1k-sw{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;cursor:pointer}
.w1k-sw b{display:block;font:600 16.5px/1.3 Inter,sans-serif;color:var(--ink)}.w1k-sw small{display:block;margin-top:5px;font-size:14px;line-height:1.5;color:var(--muted)}
.w1k-sw input.sw{margin-top:2px}
.w1k-pub-st{margin-top:14px;padding-top:14px;border-top:1px solid var(--line);font-size:13.5px;line-height:1.55;color:var(--body)}.w1k-pub-st b{color:var(--ink)}
.w1k-rides-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.w1k-rides ul{list-style:none;margin:12px -24px -10px;padding:0}
.w1k-ride{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:4px 14px;padding:13px 24px;border-top:1px solid var(--line)}
.w1k-ic{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--sunk);color:var(--muted)}.w1k-ic svg{width:17px;height:17px}
.w1k-ic.rec{background:var(--accent-wash);color:var(--accent-ink)}.w1k-ic.file{background:var(--good-wash);color:var(--good)}.w1k-ic.strava{background:var(--sunk);color:var(--muted)}.w1k-ways li .w1k-ic.strava{background:var(--surface)} /* Strava: a neutral source, no orange mark (Strava review audit, 20 Oct) */
.w1k-ride-m .w1k-vs{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;text-decoration-color:var(--faint)}.w1k-ride-m .w1k-vs:hover{color:var(--ink);text-decoration-color:currentColor}
.w1k-ride-m{min-width:0}.w1k-ride-m b{display:block;font-size:14.5px;color:var(--ink)}.w1k-ride-m small{display:block;font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.w1k-why{display:block;margin-top:3px;font-size:13px;line-height:1.45;color:var(--body)}
.w1k-ride-km{font:700 15px/1 Inter,sans-serif;color:var(--ink);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.w1k-ride-km small{font-size:12px;font-weight:600;color:var(--muted)}.w1k-ride-km.off{color:var(--faint)}
.w1k-st{display:inline-flex;align-items:center;gap:5px;justify-self:end;padding:5px 9px 5px 7px;border-radius:999px;font:600 12px/1 Inter,sans-serif;white-space:nowrap}.w1k-st svg{width:13px;height:13px}
.w1k-st.st-ok{background:var(--good-wash);color:var(--good)}.w1k-st.st-wait{background:var(--fair-wash);color:var(--fair)}.w1k-st.st-no{background:var(--tough-wash);color:var(--tough)}.w1k-st.st-once{background:var(--sunk);color:var(--muted)}
.w1k-empty{margin-top:14px;padding:22px;border-radius:12px;background:var(--sunk);text-align:center}.w1k-empty b{display:block;color:var(--ink)}.w1k-empty span{display:block;margin-top:4px;font-size:13.5px;color:var(--muted);max-width:420px;margin-inline:auto}
.w1k-strava-h{display:flex;align-items:center;gap:12px}.w1k-strava-h b{display:block;font-size:16px;color:var(--ink)}.w1k-strava-h small{display:block;font-size:12.5px;color:var(--muted)}
.w1k-strava .muted{margin-top:12px!important}.w1k-strava .src-btn{margin-top:14px}
.w1k-ways h2{font-size:18px}.w1k-ways ol{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.w1k-ways li{display:grid;align-content:start;gap:4px;padding:16px;border-radius:14px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line)}.w1k-ways li .w1k-ic{margin-bottom:8px}
.w1k-ways li b{color:var(--ink);font-size:15px}.w1k-ways li span{font-size:13.5px;line-height:1.5;color:var(--body)}
.w1k-board-link{margin-top:16px;font-size:14px}
.w1k-links{display:flex;flex-wrap:wrap;gap:8px 20px;margin:22px 2px 8px;font-size:13.5px}.w1k-links a{color:var(--muted);font-weight:600;text-decoration:none}.w1k-links a:hover{color:var(--ink);text-decoration:underline}
@media (max-width:900px){.w1k-grid{display:flex;flex-direction:column}.w1k-col{display:contents}.w1k-rides{order:3}}
@media (max-width:760px){.w1k-hero{padding:22px 18px 22px;border-radius:18px}.w1k-h{font-size:27px}.w1k-h small{display:block;margin-top:6px;font-size:15px}.w1k-line{font-size:15px}
  .w1k-prog{flex-direction:column;align-items:stretch;gap:18px}.w1k-ring{width:140px;height:140px;align-self:center}
  .w1k-stats{grid-template-columns:minmax(0,1fr)}.w1k-stats>div{display:grid;grid-template-columns:1fr auto;align-items:baseline;column-gap:12px}.w1k-stats dd{margin:0;grid-row:1/3;grid-column:2;align-self:center;font-size:22px}.w1k-stats small{margin-top:4px}
  .w1k-cta .btn.lg{width:100%}.w1k-page .card{padding:18px}.w1k-rides ul{margin:12px -18px -6px}.w1k-ride{grid-template-columns:34px minmax(0,1fr) auto;padding:12px 18px}.w1k-ride .w1k-st{grid-column:2/4;justify-self:start}.w1k-ride-m small{white-space:normal}}

/* Fly the route (the day panel) */
.flyrow{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 4px;padding:12px 14px;border:0;border-radius:14px;background:linear-gradient(120deg,#0E2A49,#081627);color:#fff;text-align:left;cursor:pointer;font:inherit;box-shadow:0 10px 24px -14px rgba(8,22,39,.7)}
.flyrow:hover{background:linear-gradient(120deg,#123459,#0a1c31)}.flyrow .fic{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:rgba(43,224,180,.16);color:#2BE0B4;flex:none}.flyrow .fic svg{width:20px;height:20px}
.flyrow.tour-vid{margin:0 0 20px;text-decoration:none}.flyrow .ftx{flex:1;min-width:0}.flyrow b{display:block;font-weight:700;font-size:15px}.flyrow small{display:block;color:#B9C7D7;font-size:12.5px;line-height:1.35;margin-top:1px}.flyrow .fgo{color:#2BE0B4;font-size:22px;line-height:1}

/* Follow live (the owner's view) */
.livebar{display:flex;align-items:center;gap:12px;margin:-6px 0 18px;padding:12px 14px;border-radius:14px;background:linear-gradient(120deg,#0E2A49,#081627);color:#E6EDF5;font-size:13.5px;line-height:1.45}
.livebar .ldot{width:10px;height:10px;border-radius:50%;background:#2BE0B4;flex:none;box-shadow:0 0 0 4px rgba(43,224,180,.2)}.livebar .ltx{flex:1;min-width:0}.livebar b{color:#fff}
.livebar .btn{background:rgba(255,255,255,.1);color:#fff;border-color:transparent;flex:none}
.livelink{display:flex;align-items:center;gap:8px;margin:4px 0 10px;padding:8px 10px;border-radius:10px;background:var(--accent-wash,rgba(99,91,255,.08))}.livelink a{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;font-size:13px}
@media (max-width:640px){.livebar{flex-wrap:wrap}}

/* Historic weather (assets/historic.js): "When is this route best?" and the days beyond the forecast window */
.hy{margin-bottom:20px}
.hy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 0}
.hy-sub{margin-top:3px;font-size:13px;color:var(--muted)}
.hy-seg{display:flex;padding:3px;border-radius:10px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line);flex:none}
.hy-seg button{border:0;background:none;font:600 13px Inter,sans-serif;color:var(--muted);padding:6px 12px;border-radius:8px;cursor:pointer;transition:color .15s,background .15s}
.hy-seg button[aria-selected="true"]{background:var(--surface);color:var(--ink);box-shadow:var(--sh-1),inset 0 0 0 1px var(--line)}
.hy-body{padding:14px 20px 18px}
.hy-lead{font-size:15.5px;line-height:1.55;color:var(--body);max-width:68ch;min-height:48px}
.hy-lead b{color:var(--ink);font-weight:650}
.hy-wait{display:grid;gap:8px}
.hy-shim{display:block;height:12px;border-radius:6px;background:linear-gradient(90deg,var(--sunk),var(--line),var(--sunk));background-size:200% 100%;animation:hyShim 1.4s ease-in-out infinite}
.hy-shim.s{width:60%}
@keyframes hyShim{0%{background-position:100% 0}100%{background-position:-100% 0}}
.hy-chart{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;margin-top:22px;padding-top:22px}
.hy-col{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:none;padding:6px 0 4px;border-radius:10px;cursor:pointer;font:inherit;color:inherit;transition:background .15s}
.hy-col:hover{background:var(--sunk)}
.hy-col.on{background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line-2)}
.hy-col.mine{background:var(--accent-wash)}
.hy-col.mine.on{box-shadow:inset 0 0 0 1.5px var(--accent)}
.hy-col:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.hy-yours{position:absolute;top:-22px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:11px;font-weight:650;color:var(--accent-ink)}
.hy-top{height:16px;font-size:12px;font-variant-numeric:tabular-nums}
.hy-top b{font-weight:650;color:var(--ink)}.hy-top b.good{color:var(--good)}.hy-top b.fair{color:var(--fair)}.hy-top b.tough{color:var(--tough)}.hy-top b.rain{color:#3B82F6}
.hy-top small{font-size:10px;font-weight:500;color:var(--muted)}
.hy-bar{position:relative;width:100%;height:132px}
.hy-bar>i{position:absolute;left:50%;transform:translateX(-50%);width:min(22px,64%);border-radius:6px}
.hy-bar .hy-shim{bottom:0;animation-duration:1.6s}
.hy-zero{top:50%!important;height:1px!important;width:86%!important;border-radius:0!important;background:var(--line-2)}
.hy-fill.good{background:linear-gradient(to top,var(--good),color-mix(in srgb,var(--good) 70%,#fff))}
.hy-fill.fair{background:linear-gradient(to top,var(--fair),color-mix(in srgb,var(--fair) 70%,#fff))}
.hy-fill.tough{background:linear-gradient(to top,var(--tough),color-mix(in srgb,var(--tough) 70%,#fff))}
.hy-fill.rain{background:linear-gradient(to top,#2563EB,#60A5FA)}
.hy-bar em{position:absolute;left:50%;transform:translateX(-50%);font:600 10.5px Inter,sans-serif;font-style:normal;color:var(--muted);font-variant-numeric:tabular-nums}
.hy-col small{font-size:12px;font-weight:600;color:var(--muted)}
.hy-col.mine small,.hy-col.on small{color:var(--ink)}
.hy-chart.grow .hy-fill{animation:hyGrow .7s cubic-bezier(.2,.8,.2,1) both}
.hy-chart.grow .hy-col:nth-child(n){animation-delay:calc(var(--i,0) * 30ms)}
@keyframes hyGrow{from{clip-path:inset(100% 0 0 0)}to{clip-path:inset(0)}}
.hy-detail{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;margin-top:16px;padding:14px 16px;border-radius:12px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line);min-height:52px}
.hy-detail>b{color:var(--ink);font-size:15px}
.hy-of{font-size:12.5px;color:var(--muted)}
.hy-facts{display:flex;flex-wrap:wrap;gap:4px 14px;width:100%;font-size:14px;color:var(--body)}
.hy-facts span+span:before{content:"";display:inline-block;width:3px;height:3px;border-radius:50%;background:var(--faint);vertical-align:middle;margin:0 14px 0 -8px}
.hy-chip,.chip.hist{flex:none;font:700 10px/1 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:3px 7px;border-radius:6px;background:none;box-shadow:inset 0 0 0 1.5px currentColor}
.hy-chip.good,.chip.hist.good{color:var(--good)}.hy-chip.fair,.chip.hist.fair{color:var(--fair)}.hy-chip.tough,.chip.hist.tough{color:var(--tough)}
.chip.hist{background:none}
.hy-note{margin-top:14px;font-size:12.5px;line-height:1.5;color:var(--muted)}
.hy-note a{color:var(--accent-ink);font-weight:600;text-decoration:none}
.day-wx .hist-tag{display:block;font-size:12px;color:var(--muted);font-style:normal}
@media (prefers-reduced-motion:reduce){.hy-chart.grow .hy-fill,.hy-shim{animation:none}}
@media (max-width:640px){
  .hy-head{flex-direction:column;padding:16px 16px 0}.hy-seg{align-self:stretch}.hy-seg button{flex:1}
  .hy-body{padding:12px 16px 16px}.hy-chart{gap:2px}.hy-bar{height:110px}.hy-top{font-size:10px}.hy-top small{display:none}
  .hy-bar>i{width:min(14px,70%)}.hy-bar em{font-size:9.5px}.hy-yours{font-size:10px}
}
.day-num.hist{background:none!important;box-shadow:inset 0 0 0 1.5px currentColor}
.hy-chart.exact .hy-fill{border-radius:0}
.hy-chart.exact .hy-fill.good{border-radius:0 0 6px 6px}
.hy-chart.exact .hy-bar>i:first-child{border-radius:6px 6px 0 0}
.hy-chart.exact .hy-fill.good:only-child{border-radius:6px}
.hy-srcwrap:empty{display:none}
.hy-src{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;padding:10px 14px;border-radius:12px;font-size:13px;line-height:1.45;color:var(--body);background:var(--accent-wash)}
.hy-src b{color:var(--ink);font-weight:650}
.hy-src span{flex:1;min-width:220px}
.hy-src.ready{background:var(--good-wash);color:var(--body)}.hy-src.ready svg{color:var(--good);flex:none}
.hy-ring{width:16px;height:16px;border-radius:50%;border:2px solid color-mix(in srgb,var(--accent) 25%,transparent);border-top-color:var(--accent);animation:hySpin .9s linear infinite;flex:none}
@keyframes hySpin{to{transform:rotate(360deg)}}
.hy-prog{flex:0 0 100%!important;min-width:0!important;height:3px;border-radius:2px;background:color-mix(in srgb,var(--accent) 15%,transparent);overflow:hidden}
.hy-prog i{display:block;height:100%;background:var(--accent);border-radius:2px;transition:width 1.2s ease}
@media (prefers-reduced-motion:reduce){.hy-ring{animation:none}}
.hy-days{position:absolute;inset:0 0 2px;display:flex;flex-direction:column-reverse;align-items:center;gap:3px}
.hy-days i{flex:1;width:min(22px,64%);border-radius:4px;max-height:11px}
.hy-days i.good{background:var(--good)}.hy-days i.fair{background:var(--fair)}.hy-days i.tough{background:var(--tough)}
.hy-chart.grow .hy-days i{animation:hyPop .45s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--d) * 35ms)}
@keyframes hyPop{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.hy-chart.grow .hy-days i{animation:none}}
.hy-zero{top:auto!important}
@media (max-width:640px){.hy-facts{flex-direction:column;gap:3px}.hy-facts span+span:before{display:none}}
.hy-closed{margin-bottom:20px}
.hy-banner{display:flex;align-items:center;gap:14px;width:100%;border:0;background:none;padding:16px 20px;text-align:left;font:inherit;color:inherit;cursor:pointer;border-radius:var(--r);transition:background .15s}
.hy-banner:hover{background:var(--sunk)}
.hy-banner:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.hy-ic{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;flex:none;color:#fff;background:linear-gradient(135deg,#3B82F6,#2BCBA8 55%,#FBBF24)}
.hy-bt{flex:1;min-width:0}.hy-bt b{display:block;color:var(--ink);font-size:15.5px;font-weight:650}.hy-bt span{display:block;font-size:13.5px;color:var(--muted);margin-top:2px}
.hy-chev{color:var(--muted);flex:none;transition:transform .2s}
.hy-banner:hover .hy-chev{color:var(--ink);transform:translateY(2px)}
.hy-tools{display:flex;align-items:center;gap:8px}
.hy-hide{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;border:0;background:none;color:var(--muted);cursor:pointer}.hy-hide:hover{background:var(--sunk);color:var(--ink)}
.hy-mix{display:block;width:100%;font-size:14px;color:var(--body)}
@media (max-width:640px){.hy-tools{align-self:stretch}.hy-tools .hy-seg{flex:1}.hy-banner{padding:14px 16px}}
.tc-badges{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.tc-badges .pill{margin:0}

/* ---------- live races (main.js "live races"): a race's Live tracking card, the share picture, Your followers (#/live), taps on the back, Past ---------- */
.sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.modal-panel:focus,.drawer-panel:focus,.rto-panel:focus{outline:none}
.top-ic+.top-ic{margin-left:0}
/* the switch: a checkbox drawn as the apps' toggle (role="switch") */
input.sw{appearance:none;-webkit-appearance:none;flex:none;position:relative;width:42px;height:26px;min-height:0;margin:0;padding:0;border-radius:999px;background:var(--line-2);box-shadow:inset 0 0 0 1px rgba(10,37,64,.05);cursor:pointer;transition:background .18s}
input.sw::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(10,37,64,.3),0 1px 1px rgba(10,37,64,.08);transition:transform .18s cubic-bezier(.2,.8,.2,1)}
input.sw:checked{background:var(--accent)}input.sw:checked::after{transform:translateX(16px)}
input.sw:focus{box-shadow:inset 0 0 0 1px rgba(10,37,64,.05)}input.sw:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
input.sw:disabled{opacity:.6;cursor:default}
/* the card on a race's page */
.rl-card{margin-bottom:20px;scroll-margin-top:76px}.rl-card:focus{outline:none}.is-demo .rl-card{scroll-margin-top:108px}
.rl-head{display:flex;align-items:center;gap:14px;padding:18px 20px}
.rl-ic{width:40px;height:40px;flex:none;border-radius:12px;display:grid;place-items:center;background:var(--sunk);color:var(--muted);box-shadow:inset 0 0 0 1px var(--line);transition:background .2s,color .2s}
.rl-ic svg{width:20px;height:20px}.rl-ic.on{background:var(--accent-wash);color:var(--accent-ink);box-shadow:none}
.rl-ht{flex:1;min-width:0}.rl-ht .muted{margin-top:2px}
.rl-box{border-top:1px solid var(--line)}
.rl-form{padding:20px 20px 18px}
.rl-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.rl-col{min-width:0;display:grid;align-content:start}
.rl-col:first-child{padding-right:28px}.rl-col:last-child{padding-left:28px;border-left:1px solid var(--line)}
.rl-sec{padding:0 0 18px}
.rl-lab{display:block;margin-bottom:8px;font:600 13px/1.3 Inter,sans-serif;color:var(--ink)}
.rl-copy{margin:0}.rl-copy input{flex:1;min-width:0;color:var(--accent-ink);font-weight:600}.rl-copy .btn{flex:none;height:auto}
.rl-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.rl-note{margin-top:10px;font-size:12.5px;line-height:1.45;color:var(--muted)}
.rl-sw{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:16px 0;border-top:1px solid var(--line);font-weight:400;cursor:pointer}
.rl-sw b{display:block;font-size:14.5px;font-weight:600;color:var(--ink)}.rl-sw small{display:block;margin-top:2px;font-size:13px;line-height:1.45;color:var(--muted)}
.rl-who{min-width:0;margin:0;padding:0 0 16px;border:0}
.rl-race{padding:16px 0 4px;border-top:1px solid var(--line)}.rl-race .rl-field:last-child{margin-bottom:0}
.rl-who legend{float:left;width:100%;padding:0;margin-bottom:6px;font:600 14.5px/1.3 Inter,sans-serif;color:var(--ink)}.rl-who legend+*{clear:both}
.ck{display:flex;align-items:center;gap:10px;min-height:36px;margin:0;font:500 14px/1.3 Inter,sans-serif;color:var(--ink);cursor:pointer}
.ck input{flex:none;width:18px;height:18px;min-height:0;margin:0;padding:0;box-shadow:none;accent-color:var(--accent);cursor:pointer}
.ck input:focus{box-shadow:none}.ck input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.ck.fixed{color:var(--muted);cursor:default}.ck.fixed input{opacity:.55;cursor:default}
.rl-help{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:8px;font-size:13px}
.rl-field{margin:0 0 16px}.rl-field small{font-weight:400;line-height:1.45}
.rl-stage{margin:0 0 16px;padding:12px 14px;border-radius:10px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line);font-size:13.5px;line-height:1.45;color:var(--body)}
.rl-form .form-error{margin:0 0 14px}
.rl-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px;border-top:1px solid var(--line)}
.rl-app{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.45;color:var(--muted)}.rl-app svg{flex:none;width:16px;height:16px;margin-top:1px;color:var(--accent-ink)}
.rl-foot .btn{flex:none;min-width:96px}
.btn.primary.saved{background:var(--good-wash);color:var(--good);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--good) 40%,transparent)}.btn.primary.saved:hover:not(:disabled){background:color-mix(in srgb,var(--good) 18%,transparent)}
.rl-load{display:flex;align-items:center;gap:10px;padding:22px 20px;font-size:13.5px;color:var(--muted)}
.rl-err{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;padding:18px 20px;font-size:13.5px;color:var(--body)}
.rl-form.compact{padding:18px 0 0}
.rl-form.compact .rl-grid{grid-template-columns:minmax(0,1fr)}
.rl-form.compact .rl-col:first-child{padding-right:0}.rl-form.compact .rl-col:last-child{padding:16px 0 0;border-left:0;border-top:1px solid var(--line)}
.rl-drawer{display:flex;flex-direction:column;height:100%}.drawer-panel .rl-form{display:block;height:auto}
@media (max-width:760px){
  .rl-grid{grid-template-columns:minmax(0,1fr)}
  .rl-col:first-child{padding-right:0}.rl-col:last-child{padding:16px 0 0;border-left:0;border-top:1px solid var(--line)}
}
@media (max-width:560px){
  .rl-head{padding:16px}.rl-form{padding:16px}.rl-form.compact{padding:16px 0 0}
  .rl-acts{flex-direction:column}.rl-acts .btn{width:100%;height:auto;min-height:40px;padding:9px 12px;font-size:13.5px;white-space:normal;line-height:1.25;text-align:center}
  .rl-foot{flex-direction:column;align-items:stretch}.rl-foot .btn{width:100%;height:42px}
  .rl-copy input,.yf-link .copyrow input{padding-left:10px;padding-right:10px;font-size:13px} /* the whole link, on a phone */
}
/* the share picture */
.sp>.muted{margin-top:6px;font-size:14px}
.sp-pic{display:grid;place-items:center;margin-top:16px;aspect-ratio:1200/630;border-radius:12px;overflow:hidden;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line)}
.sp-pic img{display:block;width:100%;height:100%;object-fit:cover}
.sp-pic .rl-load{padding:0}.sp-pic .rl-err{justify-content:center;text-align:center;padding:16px}
.sp-foot{flex-wrap:wrap}
@media (max-width:560px){.sp-foot .btn{flex:1 1 auto}.sp-foot .btn.primary{flex-basis:100%;order:-1}}
/* taps on the back */
.tl{margin-top:16px}
.tapsum{display:flex;align-items:baseline;gap:12px;margin:0;padding:14px 16px;border-radius:14px;color:#fff;background:linear-gradient(90deg,#2BCBA8,#635BFF 58%,#8B5CF6)}
.tapsum b{flex:none;font:800 34px/1 "Inter Tight",Inter,sans-serif;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.tapsum span{font-size:14px;font-weight:600;line-height:1.35}
.tl-list{list-style:none;margin:12px 0 0;padding:0;border-radius:12px;overflow:hidden;box-shadow:inset 0 0 0 1px var(--line)}
.tl-row{display:flex;align-items:center;gap:12px;padding:10px 12px 10px 14px;border-top:1px solid var(--line)}.tl-row:first-child{border-top:0}
.tl-av{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);font:700 14px/1 Inter,sans-serif}
.tl-t{flex:1;min-width:0;display:grid}.tl-t b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14.5px;color:var(--ink)}.tl-t small{font-size:12.5px;color:var(--muted)}
.tl-n{flex:none;padding:4px 9px;border-radius:999px;background:var(--sunk);color:var(--ink);font:700 12px/1 Inter,sans-serif;font-variant-numeric:tabular-nums}
.tl-read{margin-top:12px}
.tl-blocked{flex:none;padding:6px 10px;border-radius:8px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line);color:var(--muted);font:600 12.5px/1 Inter,sans-serif}.tl-blocked:focus{outline:none}.tl-blocked:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.tl-none{font-size:14px;line-height:1.5;color:var(--muted)}
/* Read them out: big, clear names on dark, to read aloud */
.overlay.rto{z-index:120}.overlay.rto .scrim{display:none}
.rto-panel{position:relative;width:100%;height:100%;overflow:auto;background:#081627;color:#fff;opacity:0;transition:opacity .2s}.overlay.in .rto-panel{opacity:1}
.rto-top{position:sticky;top:0;display:flex;justify-content:flex-end;padding:16px 20px;background:linear-gradient(#081627 65%,rgba(8,22,39,0))}
.rto-done{border:0;padding:10px 18px;border-radius:10px;background:rgba(255,255,255,.12);color:#fff;font:600 15px/1 Inter,sans-serif;cursor:pointer}.rto-done:focus-visible{outline:2px solid #2BE0B4;outline-offset:2px}
.rto-body{max-width:760px;margin:0 auto;padding:4px 24px 56px}
.rto-body h2{color:#fff;font:800 clamp(34px,6vw,56px)/1.05 "Inter Tight",Inter,sans-serif;letter-spacing:-.02em}
.rto-t{margin-top:10px;color:#C3CFDC;font-size:clamp(18px,2.4vw,22px);text-wrap:balance}
.rto-body ul{list-style:none;display:grid;gap:14px;margin:30px 0 0;padding:0}
.rto-body li{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.rto-body li b{color:#fff;font:700 clamp(30px,5vw,46px)/1.15 Inter,sans-serif}.rto-body li em{flex:none;color:#2BE0B4;font:700 clamp(24px,4vw,36px)/1 Inter,sans-serif;font-style:normal}
.rto-more{margin-top:26px;color:#C3CFDC;font-size:clamp(20px,3vw,28px);line-height:1.3}
/* Past, folded under Events */
.pt-h:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.past-list{max-width:720px;overflow:hidden}
.past-row{display:flex;align-items:center;gap:12px;width:100%;padding:14px 18px;border:0;border-top:1px solid var(--line);background:none;text-align:left;font:inherit;color:inherit;cursor:pointer;transition:background .15s}
.past-row:first-child{border-top:0}.past-row:hover{background:var(--sunk)}.past-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.pr-t{flex:1;min-width:0;display:grid;gap:2px}.pr-t b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:600;color:var(--ink)}
.pr-c{font-size:13px;font-weight:600;color:var(--muted)}.pr-c.good{color:var(--good)}
.pr-tap{display:grid;color:var(--accent)}.pr-tap svg{width:18px;height:18px}
.past-row>svg{flex:none;width:16px;height:16px;color:var(--faint)}
.pr-ev{position:relative;gap:10px}.pr-ev:focus-within{background:var(--sunk)}
.pr-open{flex:1;min-width:0;display:flex;padding:0;border:0;background:none;font:inherit;text-align:left;color:inherit;cursor:pointer;outline:none}
.pr-open:after{content:"";position:absolute;inset:0} /* the whole row opens its sheet; Ride it again sits above */
.pr-ev:has(.pr-open:focus-visible){box-shadow:inset 0 0 0 2px var(--accent)}
.pr-again{position:relative;z-index:1;flex:none;display:inline-flex;align-items:center;gap:6px;height:30px;border:0;border-radius:8px;background:none;font:600 13px/1 Inter,sans-serif;cursor:pointer;transition:opacity .15s,background .15s,color .15s,box-shadow .15s}
.pr-again{padding:0 10px;color:var(--accent-ink);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-1)}
.pr-again:hover{box-shadow:inset 0 0 0 1px var(--accent),var(--sh-1)}.pr-again svg{width:14px;height:14px}
.pr-again:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.pr-chev{display:grid;color:var(--faint)}.pr-chev svg{width:16px;height:16px}
@media (hover:hover){.pr-again{opacity:0;transform:translateX(4px)}.pr-ev:hover .pr-again,.pr-ev:focus-within .pr-again{opacity:1;transform:none}}
@media (max-width:480px){.pr-ev{padding-right:12px}.pr-chev{display:none}}
.past-find{position:relative;padding:12px 14px;border-bottom:1px solid var(--line)}
.past-find svg{position:absolute;left:26px;top:50%;width:16px;height:16px;margin-top:-8px;color:var(--faint);pointer-events:none}
.past-find input{padding-left:36px;min-height:38px;font-size:14.5px}
.past-find+.past-none+.past-row,.past-find+.past-none[hidden]+.past-row{border-top:0}
.past-none{margin:0;padding:22px 18px;font-size:14px;color:var(--muted);text-align:center}
.past-row[hidden]{display:none}
/* Ride it again: a past tour's sheet, and a finished tour's or one-off's page */
.pt-acts{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 4px}
.pt-sub{margin-top:22px;padding-top:18px;border-top:1px solid var(--line);font-size:14px;font-weight:650;color:var(--ink)}
.pt-sub+.pt-days{margin-top:12px}
@media (max-width:480px){.pt-acts .btn{flex:1}}
.again{display:flex;align-items:center;gap:14px;margin:-4px 0 16px;padding:14px 16px}
.ag-ic{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--good-wash);color:var(--good)}.ag-ic svg{width:16px;height:16px}
.ag-t{flex:1;min-width:0;display:grid;gap:3px}.ag-t b{font-size:15px;font-weight:600;color:var(--ink)}.ag-t b span{font-weight:500;color:var(--muted)}
.ag-t small{font-size:13.5px;line-height:1.45;color:var(--body)}
.again .btn{flex:none}
@media (max-width:640px){.again{flex-wrap:wrap}.again .btn{width:100%}}
.ag-cmp{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:16px 0 4px;border-radius:12px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line)}
.ag-cmp>div{padding:11px 14px;min-width:0}.ag-cmp>div+div{border-left:1px solid var(--line)}
.ag-cmp dt{font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.ag-cmp dd{margin:3px 0 0;font-size:14px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}.ag-cmp dd.muted{color:var(--faint);font-weight:500}
.pt-days{display:grid;gap:10px;margin-top:16px}
.pt-day{border-radius:12px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.pt-h{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:13px 14px;border:0;border-radius:12px;background:none;text-align:left;font:600 14.5px/1.35 Inter,sans-serif;color:var(--ink);cursor:pointer}
.pt-h svg{flex:none;width:16px;height:16px;color:var(--faint);transition:transform .2s}.pt-h[aria-expanded="true"] svg{transform:rotate(180deg)}
.pt-taps{padding:0 14px 14px}
/* the Live page: Your followers, and following riders */
.live-cols{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;align-items:start;max-width:1080px}
.yf{overflow:hidden}.yf .mem .avatar{width:40px;height:40px;font-size:13.5px}
.yf-link .copyrow input{color:var(--accent-ink);font-weight:600}
.yf-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.yf-err{margin:0 24px 16px;padding:10px 12px;border-radius:9px;background:var(--tough-wash);color:var(--tough);font-size:13.5px}
.live-side{display:grid;gap:16px}
.ls-card .muted{margin-top:4px}.ls-card .btn{margin-top:14px}
.ls-help{list-style:none;display:grid;gap:8px;margin:10px 0 0;padding:0;font-size:14px}
@media (max-width:960px){.live-cols{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){.yf-err{margin:0 16px 14px}.yf .mem-a .btn{padding:0 10px}}
/* a club race you're riding: your goal and live tracking */
.cr-entry{display:inline-flex;align-items:center;gap:6px;font-size:13px}.cr-entry svg{width:15px;height:15px}

/* "Part of the livedot family" (handoffs/2026-10-16-livedot-family.md): the footer's own muted words, livedot's dot in its own green */
.ldf{display:inline-flex;align-items:center;gap:6px;color:inherit;text-decoration:none;white-space:nowrap}.ldf:hover{text-decoration:underline}
.ldf svg{flex:none;width:12px;height:12px}.ldf:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:3px}
.dash-foot .ldf-wrap{display:flex;align-items:center;margin:0 0 0 auto}.dash-foot .free-by:not([hidden])~.ldf-wrap{margin-left:0} /* level with the sponsor line beside it */
@media (max-width:560px){.dash-foot .ldf-wrap{margin:0}}

/* "Your livedot link" wherever the follow link was shown (the race's Live tracking card, Your followers): big and whole in the brand
   type, Copy and Share beside it; the follow code's link only without a handle, with a quiet way to get one */
.lk-big .lk-row{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap}
.lk-big .lk-url{font:700 24px/1.12 "Inter Tight",Inter,system-ui,sans-serif;letter-spacing:-.025em;color:var(--ink);text-decoration:none;overflow-wrap:anywhere;min-width:0}
.lk-big .lk-url:hover .lk-name{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.lk-big .lk-host{color:var(--muted);font-weight:600}
.lk-big .lk-btns{display:flex;gap:8px;flex:none}
.lk-get{margin:8px 0 0;font-size:12.5px;color:var(--muted)}
@media (max-width:560px){.lk-big .lk-url{font-size:22px;flex-basis:100%}}
.yf-acts [data-a=reset]{font-size:13px;font-weight:500;color:var(--muted);text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:3px}.yf-acts [data-a=reset]:hover{color:var(--ink)}

/* ================================================================ the Windline 1000's colour, mirrored from livedot (LiveDot LIVEDOT-DIRECTIVE.md §10b,
   public/assets/challenges.css "colour"). Live (16–31 Dec): a dark indigo field with three drifting glows; the number, bars and cards in
   colour. Not live (before, entries, uploads, done): a navy night through indigo and violet to a teal glow, with white type. The page's
   hero and the Events banner alike. */
.w1k-hero,.w1k{--g-a:#635BFF;--g-b:#8B5CF6;--g-c:#2BE0B4;isolation:isolate}
.w1k-hero::before,.w1k::before{content:'';position:absolute;inset:-20% -10%;z-index:-1;pointer-events:none;animation:w1kDrift 26s ease-in-out infinite alternate}
.w1k-hero::after,.w1k::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none}
@keyframes w1kDrift{0%{transform:translate3d(0,0,0) scale(1)}100%{transform:translate3d(4%,-3%,0) scale(1.06)}}
@media (prefers-reduced-motion:reduce){.w1k-hero::before,.w1k::before{animation:none}}
.w1k-hero .w1k-wind,.w1k .w1k-wind{opacity:.1}
/* live: the dark field */
.w1k-hero.ph-live,.w1k.ph-live{background:#160F4A}
.w1k-hero.ph-live::before,.w1k.ph-live::before{background:radial-gradient(42% 52% at 18% 62%,rgba(99,91,255,.58) 0,transparent 70%),radial-gradient(38% 46% at 82% 26%,rgba(139,92,246,.5) 0,transparent 72%),radial-gradient(30% 40% at 70% 92%,rgba(43,224,180,.3) 0,transparent 70%)}
.w1k-hero.ph-live::after,.w1k.ph-live::after{background:linear-gradient(180deg,rgba(0,0,0,.18),transparent 30%,transparent 70%,rgba(0,0,0,.22))}
.w1k-hero.ph-live .w1k-ring-n b,.w1k-hero.ph-live .w1k-stats dd,.w1k.ph-live .w1k-total b{background-image:linear-gradient(90deg,#FFFFFF 0%,#C9C6FF 38%,#8B85FF 70%,#2BE0B4 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.w1k-hero.ph-live .w1k-stats dd span,.w1k.ph-live .w1k-total span{-webkit-text-fill-color:#7FF0D6;color:#7FF0D6}
.w1k-hero.ph-live .w1k-stats>div{background:color-mix(in srgb,#635BFF 22%,rgba(255,255,255,.04));box-shadow:inset 0 0 0 1px color-mix(in srgb,#635BFF 40%,transparent)}
.w1k-hero.ph-live .w1k-chip{background:color-mix(in srgb,#635BFF 26%,rgba(255,255,255,.06));box-shadow:inset 0 0 0 1px color-mix(in srgb,#635BFF 40%,transparent);color:#fff}
.w1k-hero.ph-live .w1k-bars i,.w1k.ph-live .w1k-days i{background:var(--c);box-shadow:0 6px 18px -8px var(--c)}
.w1k-hero.ph-live .w1k-bars i.rest,.w1k-hero.ph-live .w1k-bars i.todo,.w1k.ph-live .w1k-days i.rest,.w1k.ph-live .w1k-days i.todo{background:color-mix(in srgb,var(--c) 20%,rgba(255,255,255,.04));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 34%,transparent)}
.w1k-hero.ph-live .w1k-ring .trk{stroke:color-mix(in srgb,#635BFF 24%,rgba(255,255,255,.06))}
/* not live: the colour is the field, the type white */
.w1k-hero:not(.ph-live),.w1k:not(.ph-live){background:linear-gradient(128deg,#0B0A2E 0%,#1A1466 22%,#3B32D0 46%,#7C3AED 66%,#3E3AB8 82%,#14B8A6 100%);color:#E6E4FF}
.w1k-hero:not(.ph-live)::before,.w1k:not(.ph-live)::before{background:radial-gradient(34% 46% at 92% 88%,rgba(20,184,166,.6) 0,transparent 70%),radial-gradient(30% 40% at 58% 40%,rgba(124,58,237,.35) 0,transparent 72%)}
.w1k-hero:not(.ph-live) .w1k-line,.w1k:not(.ph-live) p{color:#E6E4FF}
.w1k-hero:not(.ph-live) .w1k-line b,.w1k:not(.ph-live) p b{color:#7FF0D6}
.w1k-hero:not(.ph-live) .w1k-h small,.w1k-hero:not(.ph-live) .w1k-note,.w1k-hero:not(.ph-live) .w1k-stats dt,.w1k-hero:not(.ph-live) .w1k-stats small,.w1k-hero:not(.ph-live) .w1k-ring-n small,.w1k-hero:not(.ph-live) .w1k-attr,
.w1k:not(.ph-live) .w1k-name small,.w1k:not(.ph-live) p.w1k-meta,.w1k:not(.ph-live) .w1k-total span{color:#D2CEFF}
.w1k-hero:not(.ph-live) .w1k-stats dd span{color:#7FF0D6}
.w1k-hero:not(.ph-live) .w1k-chip{background:rgba(11,27,43,.42);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);color:#fff}
.w1k-hero:not(.ph-live) .w1k-stats>div{background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.w1k-hero:not(.ph-live) .w1k-bars i,.w1k:not(.ph-live) .w1k-days i{background:#fff}
.w1k-hero:not(.ph-live) .w1k-bars i.rest,.w1k-hero:not(.ph-live) .w1k-bars i.todo,.w1k:not(.ph-live) .w1k-days i.rest,.w1k:not(.ph-live) .w1k-days i.todo{background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.w1k-hero:not(.ph-live) .w1k-ring .trk{stroke:rgba(255,255,255,.16)}.w1k-hero:not(.ph-live) .w1k-ring .val{stroke:#fff}
.w1k-hero:not(.ph-live) .btn.w1k-go,.w1k:not(.ph-live) .btn.w1k-go{background:#fff;color:#0B1B2B;box-shadow:0 8px 22px -10px rgba(11,10,46,.7)}.w1k-hero:not(.ph-live) .btn.w1k-go:hover,.w1k:not(.ph-live) .btn.w1k-go:hover{background:#EEEDFF}
.w1k-hero:not(.ph-live) .w1k-soon{background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
.w1k:not(.ph-live) .w1k-act a:not(.btn){color:#fff}
.w1k:not(.ph-live) .w1k-bar{background:rgba(255,255,255,.16)}.w1k:not(.ph-live) .w1k-bar span{background:#fff}

/* Get found on livedot: a page's area, sports, sessions, beginners, pace groups and who it's for (main.js clubFind) */
.club-find{margin-top:16px}
.find-form{padding:0 24px 22px;border-top:1px solid var(--line)}
.find-hint{margin:18px 0 0;color:var(--ink);font-weight:600}
.find-form>label:first-of-type,.find-area label{margin-top:16px}
.ff-search{position:relative;display:block}
.ff-list{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 4px);margin:0;padding:4px;list-style:none;background:var(--surface);border-radius:10px;box-shadow:var(--sh-2,0 10px 30px rgba(10,37,64,.16)),inset 0 0 0 1px var(--line)}
.ff-list li{padding:9px 10px;border-radius:7px;font:500 14px/1.35 Inter,sans-serif;color:var(--ink);cursor:pointer}.ff-list li:hover,.ff-list li:focus{background:var(--sunk);outline:none}
.ff-list li.muted{cursor:default;color:var(--muted)}
.ff-picked{display:flex;align-items:center;gap:6px;margin:10px 0 4px;font-size:14px}.ff-picked svg{width:16px;height:16px;color:var(--accent)}.ff-picked .link{margin-left:8px}
.find-area>small{display:block;margin-top:6px;font-size:12.5px}
.find-auto{margin:6px 0 4px;color:var(--muted);font-size:13px}
.find-sports,.find-open{display:flex;flex-wrap:wrap;gap:4px 18px;margin:18px 0 0;padding:0;border:0}.find-sports legend,.find-open legend{width:100%;margin-bottom:6px;padding:0;font-size:13px;font-weight:600;color:var(--ink)}
.find-form .rl-sw{margin-top:16px}
.find-sessions{margin-top:18px}.find-sessions .cs-label{display:block;margin-bottom:6px}.find-sessions>p{margin:0 0 8px}
.fs-row{display:grid;grid-template-columns:130px 110px minmax(0,1fr) auto;gap:8px;align-items:center;margin-bottom:8px}
.find-foot{display:flex;justify-content:flex-end;margin-top:18px}
.find-nudge{display:block;margin-top:2px;font-size:12.5px;font-weight:600;color:var(--accent)}
@media (max-width:560px){.find-form{padding:0 16px 18px}.fs-row{grid-template-columns:1fr 1fr;padding-bottom:8px;border-bottom:1px solid var(--line)}.fs-row input:not([type=time]){grid-column:1/-1}.fs-row .btn{grid-column:1/-1;justify-self:start}}
/* A club's Biotree (main.js clubBiotree) */
.club-biotree h2{display:flex;align-items:center;gap:9px}.bt-mark{width:20px;height:20px;border-radius:6px;flex:none}
.bt-grid{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:24px;align-items:start}
.bt-handle{display:flex;align-items:center;gap:6px}.bt-handle input{flex:1;min-width:0}.bt-handle span{color:var(--muted);font-size:14px;white-space:nowrap}
.bt-alert{margin:4px 0 14px;padding:12px 14px;border-radius:12px;background:var(--warn-wash,#FFF7E6);box-shadow:inset 0 0 0 1px rgba(196,125,0,.25)}.bt-alert p{margin:0 0 8px;font-size:14px;color:var(--ink);font-weight:600}
.bt-sugg{display:flex;flex-wrap:wrap;gap:8px}.chip-btn{min-height:36px;padding:0 14px;border:0;border-radius:999px;background:var(--card,#fff);box-shadow:inset 0 0 0 1px var(--line-2,#d8dee8);font:600 14px Inter,sans-serif;color:var(--accent,#635BFF);cursor:pointer}.chip-btn:hover{box-shadow:inset 0 0 0 2px var(--accent,#635BFF)}
.bt-prev{display:grid;justify-items:center;gap:6px;padding:20px 16px;border-radius:18px;background:linear-gradient(180deg,#F2FBF6,#fff);box-shadow:inset 0 0 0 1px var(--line,#e6ebf1);text-align:center}
.bt-ph{width:56px;height:56px;border-radius:50%;overflow:hidden;background:#fff;box-shadow:0 1px 3px rgba(10,37,64,.15)}.bt-ph img{width:100%;height:100%;object-fit:contain}
.bt-prev b{font-size:15px;color:var(--ink)}.bt-prev small{font-size:12.5px;color:var(--muted);line-height:1.35}
.bt-prev ul{list-style:none;margin:6px 0 4px;padding:0;width:100%;display:grid;gap:6px}.bt-prev li{padding:9px 10px;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px var(--line,#e6ebf1);font-size:13px;font-weight:600;color:#0A2540}
.bt-done{padding:16px 24px 22px;border-top:1px solid var(--line)}.bt-done .find-foot{display:flex;gap:10px;flex-wrap:wrap}@media (max-width:560px){.bt-done{padding:14px 16px 18px}}
@media (max-width:720px){.bt-grid{grid-template-columns:minmax(0,1fr)}.bt-prev{order:-1}}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .bt-prev{background:var(--card)}:root:not([data-theme="light"]) .bt-prev li{background:var(--bg);color:var(--ink)}:root:not([data-theme="light"]) .bt-alert{background:rgba(255,183,77,.1)}}
:root[data-theme="dark"] .bt-prev{background:var(--card)}:root[data-theme="dark"] .bt-prev li{background:var(--bg);color:var(--ink)}:root[data-theme="dark"] .bt-alert{background:rgba(255,183,77,.1)}
.club-biotree{margin-top:16px}
.bt-code{margin:-4px 0 14px;padding:12px 14px;border-radius:12px;background:var(--accent-wash,#F0EFFF)}.bt-code label{margin-bottom:6px}.bt-code input{max-width:200px;letter-spacing:.2em;font-weight:700}.bt-code p{margin:0}
.bt-link{padding:18px 24px 22px;border-top:1px solid var(--line)}.bt-link .cs-sub{margin:0 0 10px;font-size:15px}.bt-link .copyrow input{min-width:0}.bt-free{margin:-6px 0 12px;color:var(--good,#2F9E5B)}.bt-sent{margin:0 0 8px;font-weight:600;color:var(--ink)}@media (max-width:560px){.bt-link{padding:16px}}
.bt-lh{margin:0 0 10px;font-weight:600;color:var(--ink);font-size:14.5px}.bt-lrow{display:flex;gap:8px;flex-wrap:wrap}.bt-lrow input{flex:1 1 220px;min-width:0}
.bt-free.hint{background:none;padding:0;margin:-6px 0 12px;font-weight:600}

/* Account → Club and coach (teamCard): two search-selects and a preview of the one line followers see */
.tc-row>span:first-child{flex:1 1 180px}
.tc-pick{position:relative;flex:0 1 280px;min-width:0;width:280px;max-width:100%}
.tc-btn{display:flex;align-items:center;gap:8px;width:100%;min-height:38px;padding:7px 10px 7px 12px;border:0;border-radius:10px;background:var(--surface);color:var(--ink);font:500 14px/1.3 Inter,sans-serif;text-align:left;cursor:pointer;box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-1)}
.tc-btn:hover{box-shadow:inset 0 0 0 1px var(--faint),var(--sh-1)}.tc-btn:focus-visible,.tc-btn[aria-expanded="true"]{outline:none;box-shadow:inset 0 0 0 1px var(--accent),0 0 0 3px var(--accent-wash)}
.tc-val{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.tc-val>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-chev{display:flex;flex:none;color:var(--muted)}.tc-chev svg{width:14px;height:14px;transform:rotate(90deg);transition:transform .15s}.tc-btn[aria-expanded="true"] .tc-chev svg{transform:rotate(-90deg)}
.tc-ic{display:inline-flex;align-items:center;justify-content:center;flex:none;width:16px;height:16px;color:var(--muted)}.tc-ic img{width:16px;height:16px;border-radius:4px;object-fit:cover;box-shadow:0 0 0 1px var(--line)}
.tc-dot{width:10px;height:10px;border-radius:3px;background:var(--line-2)}
.tc-pop{position:absolute;z-index:30;right:0;top:calc(100% + 6px);width:min(320px,calc(100vw - 48px));padding:6px;background:var(--surface);border-radius:12px;box-shadow:var(--sh-2),inset 0 0 0 1px var(--line);animation:tcIn .12s ease-out}
@keyframes tcIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.tc-pop{animation:none}.tc-chev svg{transition:none}}
.tc-q{width:100%;box-sizing:border-box;margin:0 0 6px;padding:8px 10px;border:0;border-radius:8px;background:var(--sunk);color:var(--ink);font:500 14px Inter,sans-serif;box-shadow:inset 0 0 0 1px var(--line)}.tc-q:focus{outline:none;box-shadow:inset 0 0 0 1px var(--accent),0 0 0 3px var(--accent-wash)}
.tc-pop ul{list-style:none;margin:0;padding:0;max-height:248px;overflow:auto;outline:none}
.tc-pop li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;cursor:pointer;color:var(--ink);font:500 14px/1.3 Inter,sans-serif}
.tc-pop li.on,.tc-pop li:hover{background:var(--sunk)}.tc-pop li.quiet{color:var(--body)}
.tc-t{display:flex;flex-direction:column;min-width:0;flex:1}.tc-t>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tc-t small{color:var(--muted);font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-ck{display:flex;flex:none;color:var(--accent-ink)}.tc-ck svg{width:16px;height:16px}
.tc-empty,.tc-none{margin:4px 10px 8px;color:var(--muted);font-size:13px;line-height:1.45}.tc-empty a,.tc-join{color:var(--accent-ink);font-weight:600;text-decoration:none}.tc-empty a:hover,.tc-join:hover{text-decoration:underline}
.tc-join{font-size:14px}
.tc-prev{display:flex;align-items:center;gap:12px;margin-top:2px;padding:12px 14px;border-radius:12px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line)}
.tc-av{position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:50%;overflow:hidden;background:var(--accent);color:#fff;font:700 13px Inter,sans-serif}.tc-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tc-who{display:flex;flex-direction:column;min-width:0;flex:1}.tc-who b{color:var(--ink);font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-tag{flex:none;align-self:flex-start;color:var(--faint);font:600 11px Inter,sans-serif;letter-spacing:.04em;text-transform:uppercase}
.tc-who .tm{display:flex;align-items:center;gap:6px;min-width:0;margin-top:2px;font-size:13px;line-height:18px;color:var(--muted);white-space:nowrap;overflow:hidden}
.tc-who .tm-club,.tc-who .tm-coach{display:inline-flex;align-items:center;gap:5px;min-width:0}.tc-who .tm-club{flex:0 100 auto}.tc-who .tm-coach{flex:0 1 auto}
.tc-who .tm-club>span,.tc-who .tm-coach>span{overflow:hidden;text-overflow:ellipsis}.tc-who .tm img{width:16px;height:16px;border-radius:4px;object-fit:cover;flex:none;box-shadow:0 0 0 1px var(--line)}.tc-who .tm svg{flex:none}.tc-who .tm-sep{color:var(--faint)}
.tc-who .tm-none{color:var(--faint)}
.tc-skel{display:flex;flex-direction:column;gap:10px}.tc-skel i{display:block;height:38px;border-radius:10px;background:var(--sunk);animation:tcPulse 1.2s ease-in-out infinite}
@keyframes tcPulse{50%{opacity:.55}}@media (prefers-reduced-motion:reduce){.tc-skel i{animation:none}}
@media (max-width:560px){.tc-pick{flex:1 1 100%;width:100%}.tc-pop{left:0;right:auto;width:100%}}

/* invite your coach, and a coach's athletes (coachteam.js) */
.tc-inv{margin:2px 0 10px}.tc-inv>.link{font-size:13px}
.tc-invf{display:grid;gap:10px;margin-top:10px;padding:14px;border-radius:12px;border:1px solid var(--line)}.tc-invf label{display:grid;gap:4px;font-size:13px;font-weight:600}
.tc-invb{display:flex;gap:8px;flex-wrap:wrap}
.ca-list{list-style:none;margin:0;padding:0 20px 8px}.ca-list li{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}.ca-list li:first-child{border-top:0}
.ca-n{flex:1;min-width:0;display:grid}.ca-n small{font-size:12.5px}.ca-h{margin:8px 20px 0;font-size:13px;color:var(--muted)}

/* a page set up for you: Claim your page, You're the manager, and a link that doesn't work (claims.js; Wes, 20 Oct) */
.claim{max-width:540px;margin:28px auto 0}
.claim-card{position:relative;overflow:hidden;padding:44px 40px 36px;border-radius:20px;box-shadow:inset 0 0 0 1px var(--line),var(--sh-2)}
.claim-card::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#00A88F,#635BFF 55%,#A960EE)}
.claim-card h1{font-size:30px;line-height:1.14;letter-spacing:-.025em;margin:18px 0 0;text-wrap:balance}
.claim-ic{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--accent);color:#fff;box-shadow:0 8px 20px -8px rgba(99,91,255,.7)}.claim-ic svg{width:22px;height:22px}
.claim-ic.ok{background:var(--good);box-shadow:0 8px 20px -8px rgba(0,168,143,.7)}.claim-ic.off{background:var(--sunk);color:var(--muted);box-shadow:inset 0 0 0 1px var(--line)}
.claim-kick{margin:18px 0 -10px;font:700 12px/1 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--good)}
.claim-lead{margin:12px 0 0;font-size:15.5px;line-height:1.6;color:var(--body)}
.claim-who{display:flex;align-items:center;gap:12px;margin:26px 0 20px;padding:14px 16px;border-radius:12px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line)}
.claim-who .avatar{width:40px;height:40px;font-size:14px}.claim-who .tx{flex:1;min-width:0}.claim-who b{display:block;color:var(--ink);font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.claim-who small{display:block;font-size:12.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.claim-card .form-error{margin:0 0 12px}.claim-card .btn.block{width:100%;height:46px;font-size:15px}
.claim-note{margin:14px 0 0;font-size:13px;line-height:1.55;color:var(--muted);text-align:center}
.claim-next{list-style:none;margin:26px 0 0;padding:0;border-radius:12px;overflow:hidden;box-shadow:inset 0 0 0 1px var(--line)}
.claim-next li{display:flex;gap:14px;align-items:flex-start;padding:14px 16px}.claim-next li+li{box-shadow:0 -1px 0 var(--line)}
.claim-next .n{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--accent-wash);color:var(--accent-ink);font:800 14px/1 Inter,sans-serif}
.claim-next b{display:block;color:var(--ink);font-size:14.5px}.claim-next small{display:block;margin-top:2px;font-size:13.5px;line-height:1.5;color:var(--muted)}
.claim-acts{display:flex;gap:10px;margin-top:26px;flex-wrap:wrap}.claim-acts .btn{height:44px;padding:0 18px;font-size:15px}
.claim-foot{margin:18px 0 0;text-align:center;font-size:13px;color:var(--muted)}
@media (max-width:560px){.claim{margin-top:6px}.claim-card{padding:34px 22px 26px}.claim-card h1{font-size:26px}.claim-acts .btn{flex:1 1 100%}}

/* ---- spaces (Wes, 20 Oct): Rides, then Clubs / Coaching / Organising with the pages you run, and Move to… (as RunFast's) */
/* a page's crest: its logo, or its initials in its colour; the same mark in the menu, the space, the chip and the Move to sheet */
.crest{flex:none;position:relative;width:36px;height:36px;border-radius:10px;background:var(--kit,#635BFF);display:grid;place-items:center;overflow:hidden;color:#fff;font:700 13px/1 Inter,sans-serif;letter-spacing:.01em;box-shadow:inset 0 0 0 1px rgba(10,37,64,.08)}
.crest i{font-style:normal}.crest img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;padding:3px}
.crest.xs{width:18px;height:18px;border-radius:5px;font-size:8.5px}.crest.md{width:44px;height:44px;border-radius:12px;font-size:15px}
.crest.lg{width:58px;height:58px;border-radius:16px;font-size:20px;box-shadow:0 10px 24px -14px rgba(10,37,64,.55)}
.crest.me{background:var(--accent-wash);color:var(--accent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 30%,transparent)}.crest.me svg{width:19px;height:19px}
.side-spaces{display:contents}
.side nav a.sub{padding:5px 10px 5px 34px;gap:9px;font-size:13.5px;color:var(--muted)}.side nav a.sub:hover{color:var(--ink)}
.side nav a.sub.on{background:none;color:var(--ink);font-weight:600}
.side nav a.sub span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top-icons{margin-left:auto;align-items:center;gap:2px}.top-icons .top-ic{margin:0}
/* the event's home, beside its type */
.home-chip{display:inline-flex;align-items:center;gap:6px;margin-right:8px;padding:2px 9px 2px 3px;border-radius:999px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line);color:var(--body);font:600 12px/1.6 Inter,sans-serif;text-decoration:none}
.home-chip:hover{color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-2)}
/* the ••• menu */
.ev-more{position:relative;display:inline-flex}
.ev-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:40;min-width:208px;padding:6px;background:var(--surface);border-radius:12px;box-shadow:var(--sh-3),inset 0 0 0 1px var(--line);display:grid}
.ev-menu button{display:flex;align-items:center;gap:10px;height:38px;padding:0 10px;border:0;border-radius:8px;background:none;color:var(--ink);font:500 14px Inter,sans-serif;cursor:pointer;text-align:left;white-space:nowrap}
.ev-menu button svg{width:17px;height:17px;color:var(--muted)}.ev-menu button:hover,.ev-menu button:focus-visible{background:var(--sunk);outline:none}
/* where it lives, in settings and in New … for a page */
.home-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line)}
.home-row .hr-t{flex:1;min-width:0;display:grid}.home-row b{color:var(--ink);font-size:14.5px}.home-row small{color:var(--muted);font-size:13px}
.home-row.on-page{margin:6px 0 4px}
/* a page's space: its events first, Add beside the name */
.club-acts{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.space-grid{display:grid;border-top:1px solid var(--line)}
.sp-row{display:flex;align-items:center;gap:14px;padding:12px 24px;text-decoration:none;color:var(--body);border-top:1px solid var(--line)}.sp-row:first-child{border-top:0}
.sp-row:hover{background:var(--sunk)}.sp-row>svg{width:16px;height:16px;color:var(--faint)}
.sp-map{flex:none;width:64px;height:44px;border-radius:9px;background:#F2F3F0;display:grid;place-items:center;overflow:hidden;box-shadow:inset 0 0 0 1px var(--line)}.sp-map svg{width:100%;height:100%}
.sp-t{flex:1;min-width:0;display:grid;gap:3px}.sp-t b{color:var(--ink);font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sp-t small{color:var(--muted);font-size:13px;display:flex;align-items:center;flex-wrap:wrap;gap:2px}
.sp-past{border-top:1px solid var(--line)}.sp-past summary{padding:12px 24px;cursor:pointer;color:var(--muted);font:600 13.5px Inter,sans-serif}.sp-past .sp-row:first-of-type{border-top:1px solid var(--line)}
.space-none{display:grid;justify-items:start;gap:6px;margin:16px 24px 22px;padding:20px;border-radius:12px;background:var(--sunk)}
.space-none b{color:var(--ink);font-size:15px}.space-none span{color:var(--muted);font-size:13.5px;max-width:56ch}.space-none .btn{margin-top:6px}
/* I'm riding, from your clubs and groups */
.riding-card .rc-kit{background:color-mix(in srgb,var(--kit) 10%,var(--sunk))}
.kindin{display:inline-flex;align-items:center;gap:4px;margin-right:8px;padding:3px 9px 3px 6px;border-radius:999px;background:var(--good-wash);color:var(--good);font:600 11.5px/1.2 Inter,sans-serif;vertical-align:1px}.kindin svg{width:12px;height:12px}
/* Move to…: a list of homes, then a sheet that names the one it's going to */
.mv-list{display:grid;gap:8px;margin-top:16px}
.mv-opt{display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border:0;border-radius:12px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);text-align:left;cursor:pointer;font:inherit;color:inherit;transition:box-shadow .12s,background .12s}
.mv-opt:hover:not(:disabled),.mv-opt:focus-visible{box-shadow:inset 0 0 0 1.5px var(--accent);background:var(--accent-wash);outline:none}
.mv-opt:disabled{cursor:default}.mv-opt:disabled:not(.here){opacity:.45}.mv-opt.here{background:var(--sunk);box-shadow:none}
.mv-t{flex:1;min-width:0;display:grid}.mv-t b{color:var(--ink);font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mv-t small{color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mv-here{flex:none;font:600 11.5px Inter,sans-serif;color:var(--muted);padding:3px 8px;border-radius:999px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);font-style:normal}
.mv-go{flex:none;color:var(--faint)}.mv-go svg{width:16px;height:16px}.mv-opt:hover:not(:disabled) .mv-go{color:var(--accent)}
.mv-priv{display:grid;gap:2px;margin-top:14px;padding:12px 14px;border-radius:12px;background:var(--fair-wash);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--fair) 35%,transparent)}.mv-priv b{color:var(--ink)}.mv-priv span{color:var(--body);font-size:13.5px}
.mv-pair{display:grid;grid-template-columns:1fr auto 1fr;align-items:start;gap:10px;margin-top:16px;padding:18px 14px;border-radius:14px;background:var(--sunk)}
.mv-end{display:grid;justify-items:center;gap:8px;text-align:center;min-width:0}.mv-end .crest{width:48px;height:48px;border-radius:13px;font-size:16px}.mv-end .crest.me svg{width:22px;height:22px}
.mv-end b{color:var(--ink);font-size:14px;line-height:1.3;max-width:100%;overflow-wrap:anywhere}
.mv-arrow{color:var(--accent);margin-top:14px}.mv-arrow svg{width:20px;height:20px}
.mv-facts{margin:16px 0 0;padding:0;list-style:none;display:grid;gap:7px}
.mv-facts li{position:relative;padding-left:20px;color:var(--body);font-size:14px}.mv-facts li:before{content:"";position:absolute;left:3px;top:.6em;width:6px;height:6px;border-radius:50%;background:var(--accent)}
@media (max-width:860px){.ev-menu{left:0;right:auto}}

/* No start time in the past (20 Oct): the line under a time that has already passed, with the 12-hour fix as one tap */
.t-past{display:flex;align-items:center;gap:10px;margin:10px 0 2px;padding:9px 9px 9px 12px;border-radius:var(--r-sm);background:var(--tough-wash);color:var(--ink);font-size:13.5px;line-height:1.4;font-weight:500}
.t-past>svg{width:17px;height:17px;color:var(--tough)}
.t-past>span{flex:1;min-width:0}
.t-past .tp-fix{flex:none;appearance:none;border:0;border-radius:8px;background:var(--surface);color:var(--accent-ink);font:600 13px/1 Inter,system-ui,sans-serif;padding:9px 11px;box-shadow:0 0 0 1px var(--line-2),var(--sh-1);cursor:pointer;font-variant-numeric:tabular-nums;white-space:nowrap}
.t-past .tp-fix:hover{color:var(--accent);box-shadow:0 0 0 1px var(--accent),var(--sh-1)}
.t-past .tp-fix:focus-visible{outline:none;box-shadow:0 0 0 3px var(--accent-wash),0 0 0 1px var(--accent)}
input[aria-invalid="true"],input[aria-invalid="true"]:focus{box-shadow:inset 0 0 0 1px var(--tough),0 0 0 4px var(--tough-wash)}
.t-past-bar{margin:0 0 18px;padding:12px 14px}
.t-past-bar b{font-weight:600}

/* Email a route (Wes, 21 Oct): "Email any GPX to routes@windline.tech", on Rides and in New, with Copy */
.email-in{display:flex;align-items:center;gap:12px;margin:18px 0 0;padding:12px 14px;border-radius:14px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line),var(--sh-1)}
.email-in .ei-ic{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:var(--accent-ink);background:var(--accent-wash)}.email-in .ei-ic svg{width:18px;height:18px}
.email-in .ei-t{flex:1;min-width:0;display:grid;gap:2px}.email-in b{color:var(--ink);font-size:14.5px;font-weight:650}
.email-in .ei-addr{color:var(--accent-ink);overflow-wrap:anywhere}.email-in small{color:var(--muted);font-size:13px;line-height:1.45}
.email-in .ei-copy{flex:none}
.m-body .email-in{margin-top:14px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line)}
@media (max-width:560px){.email-in{flex-wrap:wrap}.email-in .ei-t{flex-basis:calc(100% - 46px)}.email-in .ei-copy{margin-left:46px}}
/* Kind of event, while it's a draft (kind.js) */
.kind-pick{display:grid;gap:8px}.kind-pick button{display:flex;align-items:center;gap:12px;text-align:left;padding:10px 12px;border:0;border-radius:12px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2);cursor:pointer;font:inherit;font-size:14.5px;font-weight:600;color:var(--ink);transition:box-shadow .15s,background .15s}
.kind-pick button:hover{box-shadow:inset 0 0 0 1px var(--accent)}.kind-pick button.on{box-shadow:inset 0 0 0 2px var(--accent);background:var(--accent-wash)}
.kind-pick button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.kind-warn{margin:10px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink);background:var(--sunk);padding:10px 12px;border-radius:10px;box-shadow:inset 3px 0 0 var(--accent)}

/* ---- one race, one event (main.js iorMount, foldBanner): "Is it one of these?", the one question, You're in, the fold-in banner */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ior h3{font-size:22px;letter-spacing:-.025em}
.ior-sub{margin:6px 0 0;max-width:52ch}.ior-sub .link{white-space:nowrap}
.ior-back{display:inline-flex;align-items:center;gap:4px;margin:0 0 12px -2px;font-size:13px;color:var(--muted)}.ior-back svg{width:15px;height:15px}.ior-back:hover{color:var(--ink)}
.ior-search{position:relative;display:block;margin:18px 0 6px}
.ior-search svg{position:absolute;left:13px;top:50%;width:17px;height:17px;transform:translateY(-50%);color:var(--faint);pointer-events:none}
.ior-search input{height:46px;padding-left:40px;font-size:15.5px;border-radius:12px}
.ior-search input::-webkit-search-cancel-button{cursor:pointer}
.ior-wrap{min-height:212px}
.ior-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.ior-card{display:flex;align-items:center;gap:14px;border-radius:14px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);transition:box-shadow .15s,transform .15s}
.ior-card.skel-card{padding:14px 16px}
.ior-hit{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:14px;width:100%;padding:14px 14px 14px 16px;cursor:pointer;border-radius:14px}
.ior-card:hover{box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-2);transform:translateY(-1px)}
.ior-hit:focus-visible{box-shadow:0 0 0 2px var(--accent),0 0 0 6px var(--accent-wash)}
.ior-ic{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:var(--accent-wash);color:var(--accent-ink)}.ior-ic svg{width:21px;height:21px}
.ior-ic.lg{width:56px;height:56px;border-radius:16px}.ior-ic.lg svg{width:28px;height:28px}
.ior-t{flex:1;min-width:0;display:grid;gap:3px}
.ior-t b{color:var(--ink);font:650 15.5px/1.3 "Inter Tight",Inter,sans-serif;letter-spacing:-.01em;overflow-wrap:anywhere}
.ior-m{display:flex;flex-wrap:wrap;align-items:baseline;min-width:0;color:var(--muted);font-size:13px;line-height:1.45;font-variant-numeric:tabular-nums}.ior-m span{white-space:nowrap}.ior-m i{font-style:normal;margin:0 6px;color:var(--faint)}
.ior-c{justify-self:start;margin-top:3px;padding:2px 8px;border-radius:999px;font-size:11.5px;font-weight:600;background:var(--sunk);color:var(--muted)}
.ior-c.checking{background:var(--fair-wash);color:#9A5B00}.ior-c.checked{background:var(--good-wash);color:var(--good)}
:root[data-theme="dark"] .ior-c.checking{color:var(--fair)}
.ior-go{flex:none}.ior-go .btn{pointer-events:none;height:34px;padding:0 16px}.ior-go .kindin{margin:0}
.ior-empty{display:grid;gap:4px;place-items:center;text-align:center;padding:44px 16px 36px;color:var(--muted);font-size:14px}.ior-empty b{color:var(--ink);font-size:15px}
.ior-foot{justify-content:center}
.ior-out{display:inline-flex;align-items:center;gap:4px;font-size:14.5px}.ior-out svg{width:16px;height:16px;transition:transform .15s}.ior-out:hover svg{transform:translateX(2px)}
.ior-race{display:flex;align-items:center;gap:14px;padding:16px;border-radius:14px;background:var(--sunk);box-shadow:inset 0 0 0 1px var(--line)}
.ior-q{border:0;margin:22px 0 0;padding:0;display:grid;gap:10px}
.ior-q legend{padding:0;margin-bottom:12px;color:var(--ink);font:650 18px/1.3 "Inter Tight",Inter,sans-serif;letter-spacing:-.015em}
.ior-opt{display:flex;gap:12px;align-items:flex-start;margin:0;padding:14px 16px;border-radius:13px;cursor:pointer;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2);font-weight:400;transition:box-shadow .15s,background .15s}
.ior-opt input{width:18px;height:18px;min-height:0;margin:2px 0 0;padding:0;box-shadow:none;accent-color:var(--accent);flex:none}
.ior-opt span{display:grid;gap:2px}.ior-opt b{color:var(--ink);font-size:15px}.ior-opt small{color:var(--muted);font-size:13px;line-height:1.4}
.ior-opt:has(input:checked){background:var(--accent-wash);box-shadow:inset 0 0 0 1.5px var(--accent)}
.ior-later{margin:14px 0 0;color:var(--muted);font-size:13px}
.ior-done{text-align:center}.ior-done h3{margin-top:14px}.ior-done>p{margin:8px auto 0;max-width:46ch}
.ior-tick{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--good-wash);color:var(--good)}.ior-tick svg{width:28px;height:28px}
.ior-share{margin:22px auto 0;max-width:460px;text-align:left}.ior-share .rl-acts{margin-top:12px}
.ior-fold{display:flex;align-items:center;gap:16px;margin:0 0 18px;padding:16px 18px;border-radius:16px;background:linear-gradient(135deg,rgba(99,91,255,.10),rgba(99,91,255,.03));box-shadow:inset 0 0 0 1px rgba(99,91,255,.28)}
.ior-fic{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--accent);color:#fff;box-shadow:0 4px 12px -4px rgba(99,91,255,.6)}.ior-fic svg{width:22px;height:22px}
.ior-ft{flex:1;min-width:0;display:grid;gap:3px}.ior-ft b{color:var(--ink);font:650 15.5px/1.35 "Inter Tight",Inter,sans-serif;letter-spacing:-.01em}.ior-ft small{color:var(--body);font-size:13px;line-height:1.4}
.ior-fa{flex:none;display:flex;gap:8px}
.in-kit{display:grid;place-items:center;background:linear-gradient(135deg,var(--accent-wash),transparent)}
.in-card{border:0;padding:0;margin:0;width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer;display:block}
@media (max-width:640px){
  .ior h3{font-size:20px}
  .ior-hit{padding:12px 12px 12px 14px;gap:12px}.ior-ic{width:36px;height:36px}.ior-go .btn{height:32px;padding:0 13px}
  .ior-fold{flex-wrap:wrap;padding:14px}.ior-fa{width:100%}.ior-fa .btn{flex:1}
}
.focus-hi{border-radius:12px;box-shadow:0 0 0 3px var(--accent,#635BFF);background:color-mix(in srgb,var(--accent,#635BFF) 8%,transparent);transition:box-shadow .3s,background .3s}

/* Your race, live (the Live page): the race answer as the Garmin shows it, navy with the live green (handoffs/2026-10-27-garmin-next) */
.rm-host:empty{display:none}.rm-host{margin:0 0 20px}
.rm{position:relative;overflow:hidden;border-radius:18px;padding:20px 22px 18px;color:#fff;background:radial-gradient(120% 140% at 85% -20%,rgba(47,211,155,.22),rgba(47,211,155,0) 55%),#0B1B2B;box-shadow:0 1px 2px rgba(11,27,43,.3),0 22px 44px -22px rgba(11,27,43,.6),inset 0 0 0 1px rgba(255,255,255,.07)}
.rm header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.rm-live{display:inline-flex;align-items:center;gap:8px;font-size:11.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#2FD39B}
.rm-live i,.rm-watch .dot{width:8px;height:8px;border-radius:50%;background:#2FD39B;box-shadow:0 0 0 0 rgba(47,211,155,.6);animation:pulse 2s infinite}
.rm-ago{font-size:12.5px;color:rgba(255,255,255,.55)}
.rm-big{display:flex;align-items:baseline;gap:4px;line-height:1;margin:4px 0 14px}
.rm-big b{font:800 64px/1 "Inter Tight",Inter,system-ui,sans-serif;letter-spacing:-.04em}.rm-big sup{font:800 26px/1 "Inter Tight",Inter,system-ui,sans-serif;letter-spacing:-.02em;position:relative;top:-6px}
.rm-big span{margin-left:10px;font-size:20px;font-weight:600;color:rgba(255,255,255,.6)}
.rm-sides{list-style:none;margin:0;padding:0}
.rm-sides li{display:flex;align-items:center;gap:10px;padding:11px 0;border-top:1px solid rgba(255,255,255,.1);font-size:17px}
.rm-sides li:last-child{border-bottom:1px solid rgba(255,255,255,.1)}
.rm-ar{display:grid;place-items:center;width:14px}.rm-ar svg{width:12px;height:12px}.rm-sides .up .rm-ar{color:#2FD39B}.rm-sides .dn .rm-ar{color:#FF6B7E}
.rm-sides b{font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rm-gap{margin-left:auto;font-size:13px;color:rgba(255,255,255,.6);white-space:nowrap}.rm-gap i{font-style:normal;font-size:19px;font-weight:700;color:#fff}
.rm-bar{height:6px;border-radius:3px;background:rgba(255,255,255,.14);margin:16px 0 7px;overflow:hidden}.rm-bar i{display:block;height:100%;border-radius:3px;background:#2FD39B;transition:width 1s}
.rm-km{display:flex;justify-content:space-between;font-size:12.5px;color:rgba(255,255,255,.6)}
.rm-watch{display:flex;align-items:center;gap:7px;margin-top:14px;font-size:14px;color:rgba(255,255,255,.75)}.rm-watch b{color:#fff}.rm-watch .dot{animation:none;box-shadow:none}.rm-d{color:#2FD39B;font-weight:600}
.rm-fin{display:grid;gap:4px;padding:6px 0 10px}.rm-k{font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#2FD39B}.rm-fin b{font:800 50px/1 "Inter Tight",Inter,system-ui,sans-serif;letter-spacing:-.03em}.rm-fin span:last-child{font-size:18px;font-weight:600;color:rgba(255,255,255,.7)}
@media (max-width:520px){.rm{padding:18px 18px 16px}.rm-big b{font-size:56px}}
@media (prefers-reduced-motion:reduce){.rm-live i{animation:none}.rm-bar i{transition:none}}
.rm{font-variant-numeric:tabular-nums}

/* Folding sections on the Rides home (Wes, 2 Nov): one header row each (name, count, chevron); the first with something in it is open */
.fsec{margin-top:6px}.fsec:first-child{margin-top:0}
.fsec-h{margin:0;font:inherit}
.fsec-b{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;color:var(--ink);font:700 17px/1.3 Inter,sans-serif;text-align:left;cursor:pointer}
.fsec-b svg{flex:none;width:18px;height:18px;margin-left:auto;color:var(--muted);transition:transform .22s ease,color .15s}
.fsec-b[aria-expanded="true"] svg{transform:rotate(180deg)}
.fsec-b:hover svg{color:var(--ink)}
.fsec-b:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:8px}
.fsec-body{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .24s ease,visibility 0s .24s}
.fsec.open>.fsec-body{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .24s ease,visibility 0s}
.fsec-in{min-height:0;overflow:hidden;margin:0 -8px;padding:0 8px}
.fsec-sub{margin:14px 0 0;font-size:13.5px}
.fsec-grid{margin:16px 0 8px}
.fsec-in>.past-list{margin:16px 0 8px}
.fsec:not(.all) .fsec-grid>:nth-child(n+4):not(.add){display:none}
.fsec-more{display:flex;align-items:center;width:100%;min-height:44px;margin:0 0 8px;padding:0;border:0;border-radius:8px;background:none;color:var(--accent-ink);font:600 14px/1 Inter,sans-serif;text-align:left;cursor:pointer}
.fsec-more:hover{color:var(--accent)}.fsec-more:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
@media (prefers-reduced-motion:reduce){.fsec-body,.fsec.open>.fsec-body{transition:none}.fsec-b svg{transition:none}}
/* an event with no route yet shows its kind icon on the tile, never an empty box; at most two lines under a card's name (Wes, 2 Nov) */
.to-ic.lg{position:relative;z-index:1;width:56px;height:56px;border-radius:16px}.to-ic.lg svg{width:28px;height:28px}
.tc-body p.tc-badges{flex-wrap:nowrap;min-width:0;overflow:hidden}.tc-badges>.tbadge,.tc-badges>.pill,.tc-badges>.kindin{flex:none}
.tc-badges .tcw{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-stats{flex-wrap:nowrap;overflow:hidden}.tc-stats>span{white-space:nowrap;flex:none}.tc-stats>span:last-child{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
/* Export GPX and Send to Strava on a finished ride (./gpx-export.js draws the buttons; 4 Nov 2026) */
.pt-gx{margin:14px 0 4px;padding-top:14px;border-top:1px solid var(--line)}
.ride-gx{margin:-4px 0 16px;padding:14px 16px}

/* ride or run for a cause (causeui.js): one paste; the name and picture fill in by themselves */
.czf{margin-top:16px}
.czf-l{font-size:13.5px;font-weight:600;color:var(--ink);margin-bottom:6px}
.czf-in{width:100%;box-sizing:border-box}
.czf-hint{margin:6px 0 0;font-size:13px;line-height:1.45;color:var(--muted)}
.czf-err{margin:8px 0 0;font-size:13.5px;font-weight:600;color:var(--tough)}
.czf-busy{display:flex;align-items:center;gap:8px}
.czf-spin{width:13px;height:13px;flex:none;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:czfrot .7s linear infinite}
@keyframes czfrot{to{transform:rotate(360deg)}}
.czf-card{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2);min-width:0}
.czf-p{flex:none;width:52px;height:52px;border-radius:11px;object-fit:cover;background:var(--sunk);display:grid;place-items:center;font-weight:700;font-size:19px;color:var(--muted)}
.czf-t{min-width:0;flex:1;display:flex;flex-direction:column;gap:1px}
.czf-t small{font-size:12.5px;font-weight:500;color:var(--muted)}
.czf-t b{color:var(--ink);font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.czf-h{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.czf-name{width:100%;box-sizing:border-box;margin-bottom:4px;font-weight:600}
.czf-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:10px;font-size:13.5px}
.czf-sub:empty{display:none}
.cz-card .czf{margin-top:10px}
.rl-cz .czf{margin-top:0}
.ior-cause{margin:22px auto 0;max-width:460px;text-align:left;width:100%}
.ior-cause .czf{margin-top:0}
/* Strava's row in Connected apps: Post my rides to Strava, or its one Connect (12 Nov 2026) */
.app-sub{padding:0 0 12px}.app-sub .src-btn{width:auto}.app-sub p{margin:0 0 10px}label.app-sub{padding:12px 0 14px}
/* My trackers (the tracker engine, 12 Nov 2026): inReach, SPOT and Garmin LiveTrack on Account; the race card's row; the organiser's CSV */
.trk-card .trk-add{display:grid;gap:12px;padding:14px 0;border-top:1px solid var(--line)}.trk-card .trk-add label{margin:0}
.trk-card .trk-addr{margin-top:10px;max-width:440px}.trk-card .trk-help{margin:14px 0 0}
.rl-trk{display:flex;align-items:center;gap:10px;padding:16px 0;border-top:1px solid var(--line)}.rl-trk .grow{flex:1;min-width:0}
.rl-trk b{display:block;font-size:14.5px;font-weight:600;color:var(--ink)}.rl-trk small{display:block;margin-top:2px;font-size:13px;line-height:1.45;color:var(--muted)}
.trk-file{display:inline-block;margin:12px 0 0;cursor:pointer}.trk-file .btn{pointer-events:none}
.trk-rows summary{cursor:pointer;margin-top:12px;font-weight:600;font-size:14px}
.trk-card .trk-warn{color:var(--ink);font-weight:600}
/* Garmin LiveTrack (13 Nov 2026): one address across Windline, RunFast and AdventureLive; the Connect taps */
.lt-card .lt-works{margin:10px 0 0;color:var(--ink);font-weight:600}.lt-card .lt-last{margin:10px 0 0}
.lt-card .lt-h{margin:14px 0 0;font-weight:600;color:var(--ink)}.lt-card .lt-taps{margin:6px 0 0;padding-left:20px;color:var(--muted);line-height:1.6}.lt-card .lt-note{margin:6px 0 0}.lt-card .lt-taps b{color:var(--ink);font-weight:600}.lt-card .row-end{margin-top:14px}
@media (max-width:640px){.trk-card .app-row,.rl-trk{flex-wrap:wrap}.trk-card .trk-addr{max-width:none;width:100%}}

/* "Add your course" from a claim: the course found on the organiser's website, a draft until they use it (livedot organiser engine, 20 Nov) */
.cc{display:flex;gap:16px;align-items:stretch;padding:14px;border-radius:14px;background:var(--soft,#F6F9FC);box-shadow:inset 0 0 0 1px var(--line,rgba(10,37,64,.09))}
.cc-map{flex:none;width:150px;border-radius:10px;background:var(--card,#fff);display:grid;place-items:center;padding:8px}.cc-map svg{width:100%;height:auto;max-height:130px}
.cc-tx{flex:1;min-width:0}.cc-tx p{margin:4px 0 0;font-size:14px;line-height:1.45}.cc-k{margin:0!important;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.cc-tx h4{margin:2px 0 0;font-size:22px;line-height:1.2;text-transform:none;letter-spacing:0;color:var(--ink)}.cc-tx h4 small{font-size:14px;font-weight:600;color:var(--muted);margin-left:6px}.cc-l{font-weight:600;color:var(--ink)}
.cc-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
@media (max-width:560px){.cc{flex-direction:column}.cc-map{width:100%}.cc-acts .btn{flex:1;justify-content:center}}
/* the lap format's No set finish: the switch beside its words (it was an unstyled checkbox) */
label.toggle{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:var(--soft,#F6F9FC);cursor:pointer}label.toggle input.sw{margin-top:1px}
/* the confirm card: the course on the satellite map, full width, the words under it */
.cc{flex-direction:column}
.cc-map{position:relative;flex:none;width:100%;height:240px;padding:0;border-radius:12px;overflow:hidden;background:#1F2A35;display:block}
.cc-map.flat{display:grid;place-items:center;background:var(--soft,#F6F9FC)}.cc-map.flat svg{width:auto;height:100%;max-height:220px}
.cc-map .maplibregl-canvas{outline:none}
.cc-credit{position:absolute;right:6px;bottom:4px;margin:0!important;padding:1px 6px;border-radius:6px;background:rgba(255,255,255,.78);color:#33475B!important;font-size:10.5px!important;line-height:1.5!important;z-index:2}.cc-credit a{color:inherit}
.cc-start{position:absolute;left:8px;top:8px;z-index:2;display:inline-flex;align-items:center;gap:6px;padding:3px 9px 3px 7px;border-radius:999px;background:rgba(14,27,38,.72);color:#fff;font-size:12px;font-weight:600}.cc-start:before{content:"";width:9px;height:9px;border-radius:50%;background:#2FA884;box-shadow:0 0 0 2px #fff}
@media (max-width:560px){.cc-map{height:200px}}
