/* ---- fonts: served from here, so the app needs nobody else to look right ---- */
@font-face{font-family:"Rubik";font-style:normal;font-weight:400 900;font-display:swap;
  src:url(fonts/rubik-hebrew.woff2) format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Rubik";font-style:normal;font-weight:400 900;font-display:swap;
  src:url(fonts/rubik-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Assistant";font-style:normal;font-weight:400 800;font-display:swap;
  src:url(fonts/assistant-hebrew.woff2) format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Assistant";font-style:normal;font-weight:400 800;font-display:swap;
  src:url(fonts/assistant-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

@font-face{font-family:"Karantina";font-style:normal;font-weight:700;font-display:swap;
  src:url(fonts/karantina-latin.woff2) format("woff2")}

/* ---- the palette ----------------------------------------------------------
   Decided with Tamir on 21.10 from three directions: the colours of "בלוקים"
   (deep green, sun yellow, near-black on a warm ground) in the layout of
   "מגרש" (a coloured band at the top, a ticket for a shared run, rows with
   the distance large in the runner's colour). It answers the board's most
   repeated complaint — white on white, black text, blue buttons — from five
   people. `--navy` keeps its name because a hundred rules use it for "the
   primary button"; it is no longer blue. */
:root{
  --on-accent:#FFFFFF;
  --bg:#F3F1EC; --surface:#FFFFFF; --surface-2:#F1EEE7;
  --line:#DFDACF; --line-soft:#EAE6DD;
  --ink:#14201F; --ink-2:#3B4745; --muted:#6B7674;
  --ember:#C8552B; --ember-tint:#F8E1D5;
  --navy:#14201F; --navy-tint:#E4E8E6;
  --pine:#26705A; --pine-tint:#DCEBE4;
  --sun:#F2B33D; --on-sun:#2A1D05;
  --gold:#9A6A07; --gold-tint:#FBEBC6;
  --rust:#A24631; --rust-tint:#F3DCD6;
  --band:#26705A; --band-edge:#26705A; --on-band:#FFFFFF; --band-soft:#FFFFFF24;
  --m1:#26705A; --m2:#C8552B; --m3:#B5820F; --m4:#1F7A8C; --m5:#8E4E8A; --m6:#4A5A63;
  --heb:"Assistant",-apple-system,"SF Hebrew","Heebo","Segoe UI",system-ui,sans-serif;
  --display:"Rubik","Assistant",-apple-system,"SF Hebrew",system-ui,sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
  /* Text on a filled accent stays dark: every accent lightens on the dark
     ground, and white on them fails contrast. */
    color-scheme:dark;
    --on-accent:#101A1B;
    --bg:#0E1513; --surface:#17211F; --surface-2:#1F2B28;
    --line:#2C3A37; --line-soft:#233230;
    --ink:#ECEFE9; --ink-2:#C2CCC8; --muted:#8C9895;
    --ember:#EB8A5A; --ember-tint:#3A2418;
    --navy:#F2B33D; --navy-tint:#33280F;
    --pine:#4FA487; --pine-tint:#16302A;
    --sun:#F2B33D; --on-sun:#2A1D05;
    --gold:#E5B54B; --gold-tint:#3A2E12;
    --rust:#D06B52; --rust-tint:#381C17;
    --band:#173D32; --band-edge:#173D32; --on-band:#ECEFE9; --band-soft:#FFFFFF1A;
    --m1:#4FA487; --m2:#EB8A5A; --m3:#D9A73F; --m4:#5FB3C2; --m5:#B07CA2; --m6:#8A9BA5;
  }
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --on-accent:#101A1B;
  --bg:#0E1513; --surface:#17211F; --surface-2:#1F2B28;
  --line:#2C3A37; --line-soft:#233230;
  --ink:#ECEFE9; --ink-2:#C2CCC8; --muted:#8C9895;
  --ember:#EB8A5A; --ember-tint:#3A2418;
  --navy:#F2B33D; --navy-tint:#33280F;
  --pine:#4FA487; --pine-tint:#16302A;
  --sun:#F2B33D; --on-sun:#2A1D05;
  --gold:#E5B54B; --gold-tint:#3A2E12;
  --rust:#D06B52; --rust-tint:#381C17;
  --band:#173D32; --band-edge:#173D32; --on-band:#ECEFE9; --band-soft:#FFFFFF1A;
  --m1:#4FA487; --m2:#EB8A5A; --m3:#D9A73F; --m4:#5FB3C2; --m5:#B07CA2; --m6:#8A9BA5;
}
*{box-sizing:border-box}
html,body{height:100%}
/* Double-tap to zoom, which the viewport meta does not cover: without this a
   quick double tap on a chip zooms instead of registering as two taps. */
body{touch-action:manipulation}
body{
  margin:0;direction:rtl;background:var(--bg);color:var(--ink);
  font-family:var(--heb);line-height:1.55;-webkit-font-smoothing:antialiased;
  display:flex;flex-direction:column;
  /* room for the iPhone home bar when installed to the home screen */
  padding-bottom:env(safe-area-inset-bottom);
}
/* …except when the bottom bar is showing, which already makes that room
   itself and paints it white. Both together left an empty strip of page
   colour under the bar inside the app (Tamir, 22.10: "we are not using the
   whole screen"). Safari has no inset there, which is why a browser never
   showed it. */
body:has(> nav:not([hidden])){padding-bottom:0}
.bar{
  flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:calc(12px + env(safe-area-inset-top)) 18px 12px;
  border-bottom:1px solid var(--line-soft);background:var(--surface);
}
.bar .who span{display:block;font-size:11px;color:var(--muted);letter-spacing:.1em}
.bar .who b{display:block;font-size:16px;font-weight:800}
.pill{
  font-family:var(--mono);font-size:11px;color:var(--ink-2);background:var(--surface-2);
  border:1px solid var(--line-soft);padding:5px 9px;border-radius:999px;white-space:nowrap;
}
main{flex:1 1 auto;overflow-y:auto;padding:16px 14px 24px;display:flex;flex-direction:column;gap:13px;max-width:520px;width:100%;margin:0 auto}
.card{background:var(--surface);border:1px solid var(--line-soft);border-radius:16px;padding:15px;display:flex;flex-direction:column;gap:11px}
.eyebrow{font-size:11px;letter-spacing:.14em;color:var(--muted);display:flex;align-items:center;gap:8px}
.eyebrow::after{content:"";flex:1;height:1px;background:var(--line-soft)}
h1{margin:0;font-size:19px;font-weight:800}
h2{margin:0;font-size:16px;font-weight:750}
p{margin:0;font-size:13px;color:var(--muted);line-height:1.5}
.num{font-family:var(--mono);font-variant-numeric:tabular-nums}
/* The card was a row — ring beside text — and the three numbers had nowhere to
   go but underneath each other, one per line. It is a column now, and they sit
   across the full width where three of them fit comfortably. */
.streak{display:flex;flex-direction:column;gap:14px}
.streak .top{display:flex;gap:15px;align-items:center}

.stats{display:flex;gap:8px}
.stat{flex:1 1 0;min-width:0;text-align:center;padding:9px 6px;border-radius:13px;
  background:var(--surface-2);border:1px solid var(--line-soft)}
.stat b{display:block;font-size:16px;font-weight:760;line-height:1.15}
.stat>span{display:block;font-size:10.5px;color:var(--muted);margin-top:3px}
.stat.ok{background:color-mix(in srgb, var(--pine) 11%, transparent);border-color:color-mix(in srgb, var(--pine) 26%, transparent)}
.stat.ok b{color:var(--pine)}
.stat.warn{background:color-mix(in srgb, var(--ember) 10%, transparent);border-color:color-mix(in srgb, var(--ember) 24%, transparent)}
.stat.warn b{color:var(--ember)}
.stat.hot b{color:var(--ember)}
.ring{position:relative;width:98px;height:98px;flex:0 0 auto}
/* Today opens on the reader: the ring centred and large, what is left under
   it, three numbers of their own, and the way to go and change them. */
.hero{align-items:center;text-align:center}
.hero .say{display:flex;flex-direction:column;gap:4px}
.hero .stats{align-self:stretch}
.ring.big{width:172px;height:172px}
.ring.big .core b{font-size:44px}
.ring.big .core span{font-size:12px;margin-top:4px}
.planrow{align-self:stretch;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.planrow>span{flex:1 1 auto;font-size:13px;font-weight:650;color:var(--ink-2)}
.btn.startrun{align-self:stretch;background:var(--pine);font-size:16px;padding:15px 16px}
.ring svg{transform:rotate(-90deg) scaleX(-1);display:block}
.ring .track{stroke:var(--surface-2)}
.ring .fill{stroke:var(--ember);stroke-linecap:round;transition:stroke-dashoffset .7s cubic-bezier(.2,.8,.2,1),stroke .4s}
.ring.safe .fill{stroke:var(--pine)}
.ring .core{position:absolute;inset:0;display:grid;place-content:center;text-align:center}
.ring .core b{font-family:var(--mono);font-size:28px;font-weight:700;line-height:1}
.ring .core span{font-size:10px;color:var(--muted);letter-spacing:.08em}
.say{display:flex;flex-direction:column;gap:6px;min-width:0}
.tag{font-size:11px;font-weight:700;padding:3px 8px;border-radius:999px;align-self:flex-start}
.tag.ok{background:var(--pine-tint);color:var(--pine)}
.tag.warn{background:var(--gold-tint);color:var(--gold)}
.tag.flat{background:var(--surface-2);color:var(--muted)}
.tag.bad{background:var(--rust-tint);color:var(--rust)}
.strip{display:flex;justify-content:space-between;gap:6px}
.strip .p{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:11px;color:var(--muted)}
.av{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:var(--on-accent);font-weight:800;font-size:15px;position:relative;flex:0 0 auto}
.av.sm{width:30px;height:30px;font-size:12px}
.av.off{opacity:.42;filter:grayscale(.5)}
.av[data-c="1"]{background:var(--m1)}.av[data-c="2"]{background:var(--m2)}
.av[data-c="3"]{background:var(--m3)}.av[data-c="4"]{background:var(--m4)}
.av[data-c="5"]{background:var(--m5)}
/* The group's own avatar. `--m6` is the colour already reserved for the member
   who is not one of the five, so the group does not borrow anybody's. */
.av[data-c="6"]{background:var(--m6)}
/* Beside a heading rather than a row of names, so it is larger and squarer —
   a group is a thing, not a face. */
.av.group{width:46px;height:46px;font-size:18px;border-radius:14px}
.av.group .face{border-radius:14px}
/* Over the initial, not instead of it: the letter is what shows while the
   photo loads and what stays if it never does. */
.av .face{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}
.av .badge{position:absolute;inset-block-end:-2px;inset-inline-start:-2px;width:15px;height:15px;border-radius:50%;display:grid;place-items:center;font-size:9px;border:2px solid var(--surface);background:var(--pine);color:var(--on-accent)}
.row{display:flex;align-items:center;gap:11px}
.row .grow{flex:1;min-width:0}
.row .grow>b{display:block;font-size:14px;font-weight:700}
.row .grow>span{display:block;font-size:12px;color:var(--muted)}
.bar-meter{height:9px;border-radius:99px;background:var(--surface-2);overflow:hidden;display:flex}
.bar-meter i{display:block;height:100%;transition:width .7s cubic-bezier(.2,.8,.2,1)}
.legend{display:flex;flex-wrap:wrap;gap:7px 13px;font-size:11.5px;color:var(--muted)}
.legend span{display:flex;align-items:center;gap:5px}
.legend i{width:8px;height:8px;border-radius:3px;display:block}
.feed{display:flex;flex-direction:column}
.fi{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid var(--line-soft)}
.fi:last-child{border-bottom:none;padding-bottom:0}
.fi .body{flex:1;min-width:0}
.fi .head{display:flex;align-items:baseline;gap:7px}
.fi .head b{font-size:14px;font-weight:750}
.fi .head time{font-size:11px;color:var(--muted);font-family:var(--mono)}
.fi .what{font-size:13px;color:var(--ink-2)}
.lgrow{display:flex;align-items:center;gap:11px;padding:9px 9px;border-radius:12px}
.lgrow.me{background:var(--navy-tint)}
.lgrow .pos{font-family:var(--mono);font-size:13px;color:var(--muted);width:18px;text-align:center}
.lgrow.me .pos{color:var(--navy)}
.lgrow .pts{font-family:var(--mono);font-size:15px;font-weight:700}
.mini{height:5px;border-radius:99px;background:var(--surface-2);overflow:hidden;margin-top:5px}
.mini i{display:block;height:100%;background:var(--ink-2);opacity:.45}
.lgrow.me .mini i{background:var(--navy);opacity:1}
/* settings rows and the push preview */
.setrow{display:flex;align-items:flex-start;gap:12px}
.setrow .grow{flex:1;min-width:0}
.setrow .grow b{display:block;font-size:14px;font-weight:720}
/* Direct child only: a descendant selector here turns every nested <span>
   into a block, so a line with a .num in it breaks around each number. */
.setrow .grow>span{display:block;font-size:12px;color:var(--muted);line-height:1.45}
.sw{width:46px;height:27px;border-radius:99px;background:var(--surface-2);border:1px solid var(--line);position:relative;flex:0 0 auto;margin-top:2px;transition:background .2s ease,border-color .2s ease;padding:0}
.sw .knob{position:absolute;top:2px;inset-inline-start:2px;width:21px;height:21px;border-radius:50%;background:var(--surface);box-shadow:0 1px 3px rgba(0,0,0,.28);transition:transform .2s ease}
.sw[aria-checked="true"]{background:var(--pine);border-color:var(--pine)}
.sw[aria-checked="true"] .knob{transform:translateX(-19px)}
/* What the week earned. Faces first, because the name is the award. */
.award{display:flex;gap:11px;align-items:flex-start;padding:9px 0;border-bottom:1px solid var(--line-soft)}
.award:last-child{border-bottom:0}
.award .who{display:flex;flex:0 0 auto}
.award .who>*{margin-inline-start:-9px}
.award .who>*:first-child{margin-inline-start:0}
.award .grow b{display:block;font-size:14px;font-weight:720}
.award .grow>span{display:block;font-size:12.5px;color:var(--ink-2);margin-top:1px}
.award .grow>span.quiet{font-size:11.5px;color:var(--muted)}

/* A member row that opens. The button resets rather than inherits, because a
   <button> that has to look exactly like a <div> is the whole job here. */
.member{border-bottom:1px solid var(--line-soft)}
.member:last-child{border-bottom:0}
.row.disclose{width:100%;background:none;border:0;padding:10px 0;font:inherit;color:inherit;text-align:inherit;cursor:pointer}
.member.open{background:var(--surface-2);border-radius:14px;padding:0 10px;margin:2px -10px}

.panel{padding:2px 0 12px;display:flex;flex-direction:column;gap:9px}
.facts{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12.5px;color:var(--ink-2)}
.quiet{color:var(--muted);font-size:12.5px;margin:0}

/* A member's week: what they did, plainly. The praise lives in the feed. */
.weekruns{display:flex;flex-direction:column;gap:5px}
.weekruns .one{display:flex;gap:6px;align-items:baseline;font-size:13px}
.weekruns .one>span:last-child{margin-inline-start:auto}

/* A run in the feed, which opens. */
.fi .body>.disclose{width:100%;background:none;border:0;padding:0;font:inherit;color:inherit;
  text-align:inherit;cursor:pointer}
.fi.open{background:var(--surface-2);border-radius:13px;padding:8px 10px;margin:0 -10px}
.rundetail{padding-top:9px;display:flex;flex-direction:column;gap:8px}

.chips{display:flex;flex-wrap:wrap;gap:7px}
.chip.chosen{background:var(--pine);border-color:var(--pine);color:var(--on-accent)}

/* Sections on the "אני" screen. A native <details>, so it keeps working from a
   keyboard and needs no script to open. */
.card.folds{padding:4px 0}
/* A card inside a fold (the קבוצה's "ניהול") reads as a section of it. */
.foldbody>.card{border:0;border-radius:0;background:none;box-shadow:none;padding:14px 0 4px}
.foldbody>.card+.card{border-top:1px solid var(--line-soft)}
/* A whole card folded under its own title says the title once. */
.fold[data-fold="body"] .foldbody>.card>.eyebrow:first-child,
.fold[data-fold="praise"] .foldbody>.card>.eyebrow:first-child{display:none}
.fold[data-fold="body"] .foldbody>.card,.fold[data-fold="praise"] .foldbody>.card{padding-top:0}
.fold{border-bottom:1px solid var(--line-soft)}
.fold:last-child{border-bottom:0}
/* A fold inside a fold — the ladders under "עוד הישגים" — takes its inset from
   the outer one instead of adding a second. */
.foldbody .fold>summary{padding-inline:0}
.foldbody .fold>.foldbody{padding-inline:0}
.ladderfold .tag{flex:0 0 auto;font-variant-numeric:tabular-nums}
.fold>summary{display:flex;align-items:center;gap:10px;padding:14px 18px;cursor:pointer;list-style:none}
.fold>summary::-webkit-details-marker{display:none}
/* Physical borders on purpose: the logical ones flip with the writing
   direction, which turned the caret into a sideways arrow in Hebrew. A
   disclosure points down when closed and up when open in every language. */
.fold>summary::after{content:"";flex:0 0 auto;width:8px;height:8px;
  border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);
  transform:rotate(45deg);transform-origin:center;transition:transform .18s ease;
  margin-inline-start:auto;margin-bottom:3px}
.fold[open]>summary::after{transform:rotate(-135deg);margin-bottom:-3px}
.fold>summary b{display:block;font-size:14.5px;font-weight:700}
.fold>summary span span{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.fold>summary:focus-visible{outline:2px solid var(--pine);outline-offset:-2px;border-radius:12px}
.foldbody{padding:0 18px 16px;display:flex;flex-direction:column;gap:11px}
/* A row that opens a screen rather than a fold ("הריצות שלי", 28.10): drawn
   as a summary, with the caret pointing onward — left, in Hebrew. */
.foldnav{appearance:none;border:0;background:none;font:inherit;color:inherit;text-align:start;width:100%;
  display:flex;align-items:center;gap:10px;padding:14px 18px;cursor:pointer}
.foldnav b{display:block;font-size:14.5px;font-weight:700}
.foldnav span span{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.foldnav::after{content:"";flex:0 0 auto;width:8px;height:8px;margin-inline-start:auto;
  border-left:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg)}
.foldnav:focus-visible{outline:2px solid var(--pine);outline-offset:-2px;border-radius:12px}
.myruns{display:flex;flex-direction:column;gap:0;padding-top:6px;padding-bottom:6px}
.myrun{padding-top:10px}
.myruns .dellink.small{padding-bottom:10px;border-bottom:1px solid var(--line-soft);align-self:stretch;text-align:start}
.myruns .dellink.small:last-child,.myruns .delask:last-child{border-bottom:0}
/* Two classes deep so `.setrow .grow b`, which makes a name a block, loses. */
.setrow .grow .myrunstats{display:flex;flex-wrap:wrap;gap:2px 16px;font-size:13px;color:var(--muted);margin-top:3px}
.setrow .grow .myrunstats b{display:inline;font-size:15px;color:var(--ink);font-weight:720}
.card.myrunsum{display:flex;flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:4px 18px;font-size:13px;color:var(--muted)}
.myrunsum b{font-size:17px;color:var(--ink);font-weight:760}
.rule{height:1px;background:var(--line-soft);margin:3px 0}

/* Writing to somebody about their run. */
.write{display:flex;gap:7px}
.write input{flex:1;min-width:0;font:inherit;font-size:16px;padding:11px 14px;min-height:46px;border-radius:999px;
  border:1px solid var(--line);background:var(--surface);color:var(--ink)}
.write input::placeholder{color:var(--muted)}
.write input:focus-visible{outline:2px solid var(--pine);outline-offset:1px}

/* What people said, when the run is yours. */
.said{display:flex;flex-direction:column;gap:6px}
.said .one{display:flex;gap:8px;align-items:baseline;font-size:13px}
.said .one b{flex:0 0 auto;color:var(--ink)}
.said .one span{color:var(--ink-2)}
/* The same words, folded onto the run's row: one line each, cut short. */
.praised{display:flex;flex-direction:column;gap:2px;margin-top:5px;font-size:12.5px;color:var(--ink-2)}
.praised span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Two classes deep so `.setrow .grow b`, which makes a name a block, loses. */
.praised span b{display:inline;font-size:inherit;color:var(--pine);font-weight:700}
/* The nudge buttons sit under a member's line, quieter than the chips that
   carry a setting — an offer, not a control. */
.chips.nudge{margin-top:7px}
.chips.nudge .chip{font-size:12px;padding:6px 10px;font-weight:600}
.chip{padding:8px 12px;border-radius:999px;font:inherit;font-size:13px;font-weight:600;background:var(--surface-2);border:1px solid var(--line-soft);color:var(--ink-2)}
.chip[aria-pressed="true"]{background:var(--navy);color:var(--on-accent);border-color:var(--navy)}
.push{background:var(--surface-2);border:1px solid var(--line-soft);border-radius:14px;padding:11px 12px;display:flex;flex-direction:column;gap:3px}
.push .ph{display:flex;align-items:center;gap:7px;font-size:10.5px;color:var(--muted)}
.push .ph b{font-size:10.5px;font-weight:700;letter-spacing:.06em;color:var(--ink-2)}
.push .ph .ic{width:16px;height:16px;border-radius:5px;flex:0 0 auto;background:var(--navy)}
.push .ph time{margin-inline-start:auto;font-family:var(--mono)}
.push strong{font-size:13.5px;font-weight:750}
.push p{margin:0;font-size:12.5px;color:var(--ink-2);line-height:1.45}

.btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 16px;border:none;border-radius:13px;font:inherit;font-weight:750;font-size:15px;background:var(--navy);color:var(--on-accent)}
.btn.ghost{background:var(--surface-2);color:var(--ink);border:1px solid var(--line)}
/* A link that is a button — the report mail — should not also be underlined. */
a.btn{text-decoration:none}
.btn[disabled]{opacity:.5}
button{cursor:pointer}
button:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
/* A layer of its own, because the run disc rises 16px above the bar into the
   space `main` scrolls through, and every positioned card in there paints over
   anything that is not positioned — the disc was cut wherever a card passed. */
/* A card that floats over the bottom edge rather than a strip across it
   (Tamir, the board oIWiCv7e, from a screenshot he liked): rounded, inset
   from the sides, and the disc in the middle sits in a notch. */
nav{
  position:relative;z-index:10;
  flex:0 0 auto;display:flex;align-items:flex-end;background:var(--surface);
  border:1px solid var(--line-soft);border-radius:22px;box-shadow:0 6px 24px #14201F1F;
  margin:0 12px calc(8px + env(safe-area-inset-bottom));padding:6px;
}
nav button{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 2px 6px;border:none;border-radius:14px;background:none;font:inherit;font-size:11px;font-weight:650;color:var(--muted)}
/* The chosen tab: a soft square behind it and a line along the bar's edge. */
nav button[aria-current="true"]{color:var(--ink);background:var(--surface-2)}
nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
nav button[aria-current="true"]::after{content:"";position:absolute;inset-block-end:-7px;inset-inline:32%;height:3px;border-radius:99px;background:var(--navy)}
/* The bar moves when it is used (the board, XphHou_5, Nikita): a press sinks
   the icon, the chosen tab's icon hops and its line grows out from the
   middle. Run on the attribute appearing, so a re-render of the same tab
   does not replay it. */
nav button{transition:color .2s;-webkit-tap-highlight-color:transparent}
nav button .ic{transition:transform .18s cubic-bezier(.3,1.6,.5,1)}
nav button:active .ic{transform:scale(.86)}
nav button[aria-current="true"] .ic svg{animation:navhop .45s cubic-bezier(.3,1.7,.5,1)}
nav button[aria-current="true"]::after{animation:navline .35s cubic-bezier(.2,1.2,.4,1)}
@keyframes navhop{0%{transform:translateY(0) scale(1)}40%{transform:translateY(-4px) scale(1.12)}100%{transform:none}}
@keyframes navline{from{transform:scaleX(0);opacity:0}}
#nav-run .ic.run{transition:transform .18s cubic-bezier(.3,1.6,.5,1)}
#nav-run:active .ic.run{transform:scale(.9) rotate(-6deg)}
@media (prefers-reduced-motion:reduce){
  nav button .ic,#nav-run .ic.run{transition:none}
  nav button[aria-current="true"] .ic svg,nav button[aria-current="true"]::after{animation:none}
}
.gate{margin:auto;max-width:340px;text-align:center;display:flex;flex-direction:column;gap:12px;padding:24px}
.err{background:var(--rust-tint);color:var(--rust);border-radius:12px;padding:11px 13px;font-size:13px;font-weight:650}
.field{display:flex;flex-direction:column;gap:8px;width:100%}
/* The UA stylesheet gives `[hidden]` `display:none`, and every author rule
   beats it — including the `display:flex` on the bar and the nav. So setting
   `.hidden = true` on them set an attribute and left them on the screen, which
   is what the gate and the door both do to get out of the way. */
[hidden]{display:none !important}

.gate input[type="text"],.gate input[type="number"]{font:inherit;font-size:14px;padding:12px;border-radius:12px;background:var(--surface-2);border:1px solid var(--line);color:var(--ink);width:100%;text-align:start}
@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms!important}}

/* ---- the story sheet ---------------------------------------------------- */
/* Full-bleed and above the nav, because a 9:16 preview needs the height and
   the tab bar underneath it is not reachable while this is open anyway. */
.storysheet{position:fixed;inset:0;z-index:70;background:#000000CC;
  display:flex;align-items:flex-end;justify-content:center;padding:0}
.storybox{background:var(--surface);width:100%;max-width:560px;max-height:94vh;max-height:94dvh;
  border-radius:20px 20px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom));
  display:flex;flex-direction:column;gap:12px;overflow-y:auto;overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch}
/* A flex column squeezes its children to fit before it ever scrolls, so the
   preview shrank, the buttons under it were cut, and there was nothing to
   scroll to. Nothing in here gives up its height. */
.storybox>*{flex-shrink:0}
.storyhead{display:flex;align-items:center;justify-content:space-between}
.storyhead b{font-size:18px}
/* The preview is an <img> and not the <canvas> it was drawn on, so that a long
   press offers "Save to Photos" — on any device where the share sheet is not
   reachable, this is the only way the picture gets out. */
/* Sized by the height that is left as well as the width, so on a short phone
   the share buttons are still on screen without scrolling. */
#story-img{width:min(100%,340px,calc(56dvh * 9 / 16));align-self:center;border-radius:14px;
  border:1px solid var(--line);background:var(--surface-2);aspect-ratio:9/16;
  object-fit:contain}
/* A transparent sticker previewed on a pale surface is white type on near-white.
   The chequerboard says "no background" and gives the type something to read
   against; mid-greys rather than the usual light pair, for the same reason. */
#story-img.bare{aspect-ratio:auto;max-height:52vh;background-color:#6E7573;
  background-image:
    linear-gradient(45deg,#5A615F 25%,transparent 25%,transparent 75%,#5A615F 75%),
    linear-gradient(45deg,#5A615F 25%,transparent 25%,transparent 75%,#5A615F 75%);
  background-size:36px 36px;background-position:0 0,18px 18px}
.chips.modes{justify-content:center}
.storyfoot{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.storyfoot .quiet{flex:1;min-width:0}
/* The templates as small pictures of themselves, drawn with the real run, in
   a row that scrolls sideways (board: "להציג תצוגה מקדימה של כל הסטורים"). */
.storythumbs{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 6px;scroll-snap-type:x proximity;
  scrollbar-width:none;flex-shrink:0}
.storythumbs::-webkit-scrollbar{display:none}
.sthumb{appearance:none;border:0;background:none;padding:0;font:inherit;color:var(--ink);cursor:pointer;
  display:flex;flex-direction:column;align-items:center;gap:5px;flex:0 0 auto;scroll-snap-align:start}
.sthumb-img{display:block;width:72px;aspect-ratio:9/16;border-radius:12px;overflow:hidden;
  background:var(--surface-2);border:2px solid transparent;box-shadow:0 1px 3px #14201F1F}
.sthumb-img img{display:block;width:100%;height:100%;object-fit:cover}
.sthumb-label{font-size:12.5px;font-weight:650;color:var(--ink-2)}
.sthumb.chosen .sthumb-img{border-color:var(--ink)}
.sthumb.chosen .sthumb-label{color:var(--ink);font-weight:800}
.sthumb[disabled]{opacity:.4;cursor:default}
.sthumb:focus-visible .sthumb-img{outline:2px solid var(--ink);outline-offset:2px}
/* The switches as switches: a box that is ticked or not, so nobody has to
   guess whether a lit chip means on (board: "הבחירות ייראו ככפתורים"). */
.stoggles{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.stoggle{appearance:none;font:inherit;font-size:13.5px;font-weight:700;color:var(--ink);cursor:pointer;
  display:inline-flex;align-items:center;gap:8px;padding:8px 12px 8px 14px;border-radius:12px;
  background:var(--surface-2);border:1.5px solid var(--line)}
.stoggle i{width:18px;height:18px;border-radius:6px;border:2px solid var(--muted);display:grid;place-items:center;flex:0 0 auto}
.stoggle.on{border-color:var(--pine);background:var(--pine-tint)}
.stoggle.on i{background:var(--pine);border-color:var(--pine)}
.stoggle.on i::after{content:"";width:5px;height:9px;border:solid var(--on-accent);border-width:0 2px 2px 0;
  transform:translateY(-1px) rotate(45deg)}
.stoggle[disabled]{opacity:.45;cursor:default}
/* "העתק" says it worked where the finger is. */
#story-copy.copied{background:var(--pine);color:var(--on-accent);border-color:transparent}
.chip.go{background:var(--pine);color:var(--on-accent);border-color:transparent;font-weight:700}
.chip.pick{align-self:center;cursor:pointer}
.chip[disabled]{opacity:.4}

/* ---- the profile photo, in the "אני" screen ---------------------------- */
.facepick{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.facepick .av{width:64px;height:64px;font-size:24px}

/* ---- the run button, and the screen behind it --------------------------- */
/* An action, not a tab: a filled disc that sits above the bar's own line, so
   the eye finds it without reading. */
#nav-run{flex:0 0 auto;gap:4px;color:var(--ink);padding-inline:6px}
/* The same colour as "התחל ריצה" on היום, which is the same action: yellow
   under בלוקים and מגרש (Idan asked for it to match the other buttons; Tamir,
   22.10: by the look). Under שחר that button is white, so the disc keeps the
   look's orange — see the looks below. */
#nav-run .ic.run{width:46px;height:46px;border-radius:50%;background:var(--sun);color:var(--on-sun);
  display:grid;place-items:center;margin-block-start:-28px;
  /* The notch: a ring of the page's own colour cut around the disc. */
  box-shadow:0 0 0 6px var(--bg),0 4px 14px 6px #14201F26}
/* ✕ while the card of actions is open; the disc is the way out too. */
#nav-run .ic.run .x{display:none;width:22px;height:22px;stroke-width:2.2}
body.acting #nav-run .ic.run .mark{display:none}
body.acting #nav-run .ic.run .x{display:block;animation:actx .3s cubic-bezier(.3,1.6,.5,1)}
@keyframes actx{from{transform:rotate(-90deg) scale(.6)}}
#nav-run .ic.run svg{width:24px;height:24px;stroke-width:1.9}
/* `currentColor` through the mask, so the one place the logo's colour is
   decided is the `color` on the disc — and the artwork itself is stored once,
   colourless. The aspect ratio is the artwork's own, 653x457. */
#nav-run .ic.run .mark{
  /* Inside the 24x24 box the stroked icon used, so nothing on the bar grew.
     The artwork is 653x457, so 24 wide is 17 tall. */
  width:24px;height:17px;background:currentColor;
  /* Centred by its weight, not its box. The speed lines on the left are
     hairlines and the R carries the ink, so the box's centre sat the mark
     visibly to the right (Tamir, 24.10). The ink's centre is 3px right of
     the box's at this size; 2px back is where it looks centred. */
  transform:translateX(-2px);
  -webkit-mask:url(run-mark.png) center/contain no-repeat;
          mask:url(run-mark.png) center/contain no-repeat;
}
#nav-run.live .ic.run{background:var(--ember);color:#FFFFFF;box-shadow:0 0 0 6px var(--bg),0 4px 14px 6px #C25A284D;
  animation:runpulse 1.8s ease-in-out infinite}
@keyframes runpulse{50%{box-shadow:0 0 0 6px var(--bg),0 4px 22px 6px #C25A2899}}
@media (prefers-reduced-motion:reduce){#nav-run.live .ic.run{animation:none}}

.runsheet{position:fixed;inset:0;z-index:60;background:var(--bg);
  padding:calc(14px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));
  display:flex;flex-direction:column;gap:12px;overflow:auto}
.runhead{display:flex;align-items:center;justify-content:space-between}
.runhead b{font-size:18px}
.runmap{width:100%;flex:1 1 auto;min-height:190px;border-radius:14px;
  border:1px solid var(--line);background:var(--surface)}
.runfix{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
/* Four cells, because four numbers is what a runner reads at a glance. */
.runstats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.runstats div{background:var(--surface);border:1px solid var(--line-soft);border-radius:14px;
  padding:12px;display:flex;flex-direction:column;align-items:center;gap:2px}
.runstats b{font-size:34px;line-height:1.05;font-variant-numeric:tabular-nums}
.runstats span{font-size:12px;color:var(--muted)}
.runfoot{display:flex;gap:10px}
.runfoot .chip{flex:1;justify-content:center;padding:13px;font-size:16px}
.quiet.warn{color:var(--rust)}
.runlast{background:var(--surface);border:1px solid var(--line-soft);border-radius:16px;
  padding:12px;display:flex;flex-direction:column;gap:10px}
.runlast .runhead b{font-size:15px}
.runlast .runstats b{font-size:26px}

/* A group in the switcher. Reads as a row, behaves as a button; the active one
   is marked by weight and a rule rather than by colour, so nothing about the
   list suggests one group is better than another. */
.grouprow {
  display: block; width: 100%; text-align: inherit;
  background: none; border: 0; border-radius: 14px;
  padding: 10px 8px; margin: 0 -8px; font: inherit; color: inherit;
  cursor: pointer;
}
.grouprow + .grouprow { border-top: 1px solid var(--line); border-radius: 0; }
.grouprow.on { background: var(--surface-2); }
.grouprow.on b { font-weight: 700; }

/* The selected value in a row of choices. Weight and ground, not colour: the
   chips are a setting, not a result, and nothing here should read as a score. */
.chip.num.on { background: var(--ink); color: var(--surface); font-weight: 700; }

/* The way back out of one קבוצה. It sits above the first card rather than
   inside it: the card is about the group, and this is about leaving it. */
.btn.back{align-self:flex-start;padding:7px 13px;font-size:13px}
/* A row that opens something is a button, and a button inside a card must not
   inherit the shape of one — these are headers you press, not controls. */
.card>button.row{background:none;border:0;padding:0;width:100%;text-align:inherit;font:inherit;color:inherit;cursor:pointer}

/* A ladder: the rungs you have, the one you are on, and the rest. Dimmed with
   a number is a target; dimmed without one is a mystery. */
/* Ten rungs do not fit across a phone. They wrap rather than shrink, because
   a rung whose number is clipped to ".0000" is worse than a second row. */
.rungs{display:flex;gap:5px;flex-wrap:wrap}
.rungs i{flex:1 1 50px;min-width:50px;height:30px;display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:11px;font-style:normal;border-radius:9px;
  background:var(--surface-2);border:1px solid var(--line-soft);color:var(--muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 3px}
.rungs i.got{background:color-mix(in srgb, var(--pine) 13%, transparent);
  border-color:color-mix(in srgb, var(--pine) 32%, transparent);color:var(--pine);font-weight:700}
.rungs i.next{border-color:color-mix(in srgb, var(--ember) 45%, transparent);
  border-style:dashed;color:var(--ember)}
.rungs i.top.got{background:color-mix(in srgb, var(--gold) 15%, transparent);
  border-color:color-mix(in srgb, var(--gold) 40%, transparent);color:var(--gold)}
/* The name of a section that is a run of cards, not one card. */
.eyebrow.group-head{margin:6px 2px -4px}

/* ---- "איך עושים הכול" -------------------------------------------------- */
.barright{display:flex;align-items:center;gap:7px}
/* A question mark, at the size of the date beside it. Deliberately quiet: it
   is there when somebody looks for it and does not compete with the day. */
.pill.help{font-family:var(--heb);font-size:14px;font-weight:700;line-height:1;
  padding:5px 10px;cursor:pointer;color:var(--muted)}
.pill.help:hover{color:var(--ink);border-color:var(--line)}
/* The day's pill carries a weekday in words now ("יום חמישי 22.10"), and the
   mono face spaced the Hebrew letters out like a code. */
.helplist{display:flex;flex-direction:column;gap:8px}
/* One open at a time is wrong here — somebody comparing two answers should be
   able to hold both — so these are plain disclosures with no name grouping. */
.helpq{border:1px solid var(--line-soft);border-radius:13px;background:var(--surface-2)}
.helpq summary{list-style:none;cursor:pointer;padding:12px 13px;font-size:14px;
  display:flex;align-items:center;gap:9px}
.helpq summary::-webkit-details-marker{display:none}
.helpq summary::after{content:"+";margin-inline-start:auto;color:var(--muted);
  font-family:var(--mono);font-size:15px}
.helpq[open] summary::after{content:"–"}
.helpq[open] summary{border-bottom:1px solid var(--line-soft)}
.helpa{padding:12px 13px;display:flex;flex-direction:column;gap:9px}
.helpa p{font-size:13px;color:var(--ink-2);line-height:1.6}
.helpa ul{margin:0;padding-inline-start:18px;display:flex;flex-direction:column;gap:5px}
.helpa li{font-size:13px;color:var(--ink-2);line-height:1.55}
.helpa b{color:var(--ink)}
/* What is true for this reader, as opposed to what is true in general. It is
   the half that a pasted message cannot have, so it is marked as its own kind
   of line rather than blending into the prose above it. */
.helpnow{background:var(--surface);border:1px solid var(--line-soft);
  border-radius:10px;padding:9px 11px;font-size:12.5px}
/* A certificate is the one tag here that is gold, because the card is. */
.tag.gold{color:var(--gold);border-color:color-mix(in srgb, var(--gold) 38%, transparent);
  background:color-mix(in srgb, var(--gold) 13%, transparent)}

/* The door: signed in, in no קבוצה. Wider than the gate because it carries two
   real choices rather than one field. */
.door{max-width:26rem}
.door .card{text-align:start;margin-block:.9rem}
.door .card b{display:block;margin-bottom:.15rem}
.door label{display:block;margin-top:.7rem;font-size:.85rem;color:var(--muted)}
.door label input{display:block;width:100%;margin-top:.25rem}
.door .setrow{display:flex;gap:.7rem}
.door .setrow label{flex:1}
.door .btn.go{width:100%;margin-top:.9rem}

/* The invite code is read aloud and typed, so it is set wide and monospaced —
   the alphabet already avoids the characters people ask about. */
.invite{font-family:var(--mono);letter-spacing:.18em;font-size:1.5rem;cursor:pointer}

.btn.danger{background:var(--rust-tint);color:var(--rust);border-color:var(--rust)}
/* The same warning in chip form, for the confirmation that removes somebody
   from a קבוצה — it sits beside "בטל", and the two must not look alike. */
.chip.danger{background:var(--rust);color:var(--on-accent);border-color:transparent;font-weight:700}
.fold label{display:block;margin:.7rem 0 .3rem;font-size:.85rem;color:var(--muted)}
.fold label input{display:block;width:100%;margin-top:.25rem}


/* A run's photographs and the words with it.
   ------------------------------------------------------------------ */

/* A row that scrolls rather than a grid that reflows: one, two or three
   photographs should look deliberate at every count, and a grid of one is a
   photograph with a hole beside it. */
.shots{display:flex;gap:7px;margin-top:9px;overflow-x:auto;padding-bottom:2px}
.shots img{width:104px;height:104px;object-fit:cover;border-radius:12px;flex:0 0 auto;background:var(--surface-2)}
.shots.picked img{opacity:.85;outline:2px dashed var(--line);outline-offset:-2px}

/* What somebody wrote about their own run, read by the rest of the קבוצה. */
.said-note{margin-top:8px;padding:9px 11px;border-radius:12px;background:var(--surface-2);
  color:var(--ink);font-size:14px;line-height:1.45;white-space:pre-wrap}

.note{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.note textarea{font:inherit;font-size:14px;line-height:1.45;padding:10px 11px;border-radius:12px;
  background:var(--surface-2);border:1px solid var(--line);color:var(--ink);width:100%;
  resize:vertical;min-height:62px;text-align:start}
.note .chips{justify-content:flex-start}

/* ---- the week that was held --------------------------------------------- */
/* Arrives on its own, over whatever the reader opened the app to do, so the
   close button is the widest thing on it and the backdrop dismisses too. */
/* The streak coming back after a lifeline (held.js, `rescue`). */
.rescue{position:fixed;inset:0;z-index:56;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  padding:24px;text-align:center;background:radial-gradient(circle at 50% 40%,#26705AF2,#101A1BF5 70%);color:#fff;animation:rescue-in .3s ease-out}
/* Slower than it was (the board, Foj9ATqp), and it stays until tapped. */
.rescue-buoy{font-size:96px;line-height:1;animation:buoy-drop 1.6s cubic-bezier(.2,.8,.3,1.2) both}
.rescue-count{font:800 64px/1 var(--display);display:flex;align-items:center;gap:10px;opacity:0;animation:fade-up .6s 1.3s ease-out forwards}
.rescue-count b{min-width:1.2ch;display:inline-block}
.rescue-title{font:800 34px/1.1 var(--display);margin:6px 0 0;opacity:0;animation:fade-up .6s 2.8s ease-out forwards}
.rescue-who{max-width:320px;margin:0;font-size:17px;line-height:1.5;opacity:0;animation:fade-up .6s 3.4s ease-out forwards;color:#FFFFFFD9}
.rescue-tap{margin:18px 0 0;font-size:13px;color:#FFFFFF99;opacity:0;animation:fade-up .6s 4.4s ease-out forwards}
@keyframes rescue-in{from{opacity:0}to{opacity:1}}
@keyframes buoy-drop{0%{transform:translateY(-60vh) rotate(-200deg)}70%{transform:translateY(8px) rotate(10deg)}100%{transform:none}}
@keyframes fade-up{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.rescue,.rescue-buoy,.rescue-count,.rescue-title,.rescue-who,.rescue-tap{animation:none;opacity:1}}
.heldsheet{position:fixed;inset:0;z-index:55;background:#101A1BCC;
  display:flex;align-items:flex-end;justify-content:center}
.heldbox{background:var(--surface);width:100%;max-width:520px;max-height:96vh;overflow:auto;
  border-radius:22px 22px 0 0;padding:14px 20px calc(22px + env(safe-area-inset-bottom));
  display:flex;flex-direction:column;gap:14px}
/* No sheet is dragged, so a handle promised a swipe that did nothing (the board, 0LZzdS8m). */
.held-grab{display:none}

.held-head{display:flex;flex-direction:column;gap:3px}
.held-head h1{margin:0;font-size:27px;font-weight:800;line-height:1.2}
.held-eyebrow{font-size:11px;font-weight:700;letter-spacing:.1em;color:var(--ember)}
.num.big{font-size:34px;font-weight:700;line-height:1}

.held-topline{display:flex;align-items:baseline;gap:8px}
.held-topline span{font-size:13px;color:var(--muted)}
.held-people{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.held-people li{display:flex;align-items:center;gap:11px;padding:6px 0}
.held-people b{flex:1 1 auto;min-width:0;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.held-of{font-size:12px;color:var(--muted)}

.held-rows{margin:0;display:flex;flex-direction:column;gap:9px}
.held-rows.boxed{background:var(--surface-2);border-radius:14px;padding:13px 14px}
.held-rows>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.held-rows dt{font-size:13px;color:var(--ink-2)}
.held-rows dd{margin:0;font-size:15px;font-weight:700;color:var(--ink);text-align:start}

.held-foot{display:flex;gap:8px;margin-top:auto;padding-top:4px}
/* The answer is the big one, the way out the small one (Dana, 22.10: "סיום"
   sat small beside a wide "אחר כך"). */
.held-go{flex:1 1 auto}
.held-close{flex:0 0 auto;padding-inline:18px}

/* ---- the interview: how to address you, weight, height ------------------ */
/* One question to a screen, so the answer is the biggest thing on it. */
.heldbox.intro{min-height:min(560px,88vh);min-height:min(560px,88dvh)}
.heldbox.intro>*{flex-shrink:0}
.heldbox.intro .held-eyebrow{color:var(--gold)}
.intro-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.intro-later{appearance:none;border:0;background:none;font:inherit;font-size:13px;
  font-weight:650;color:var(--muted);padding:6px 2px;cursor:pointer}
.intro-steps{display:flex;gap:6px}
.intro-steps i{flex:1;height:4px;border-radius:99px;background:var(--line-soft)}
.intro-steps i.on{background:var(--sun)}
.heldbox.intro .held-head p{margin:4px 0 0;color:var(--ink-2);font-size:15px}
.intro-picks{display:flex;flex-direction:column;gap:9px}
.intro-pick{appearance:none;font:inherit;font-size:17px;font-weight:700;color:var(--ink);
  background:var(--surface-2);border:1px solid var(--line);border-radius:15px;
  padding:16px;text-align:start;cursor:pointer}
.intro-pick:active{background:var(--line-soft)}
.intro-pick.chosen{border-color:var(--navy);box-shadow:inset 0 0 0 1px var(--navy)}
.intro-pick:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.wheels.one{grid-template-columns:minmax(0,220px);justify-content:center}

/* ---- the first minutes: what a run is, background, goal, tour ----------- */
.intro-rules{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.intro-rules li{display:flex;gap:11px;align-items:flex-start;font-size:15px;line-height:1.45;color:var(--ink)}
.intro-rules li::before{content:"";flex:0 0 8px;height:8px;margin-top:7px;border-radius:99px;background:var(--sun)}
.intro-rules b{font-weight:750}
.intro-ask{font-size:14px;font-weight:700;color:var(--ink-2);margin:4px 0 -4px}
.intro-picks.row{flex-direction:row;flex-wrap:wrap;gap:8px}
.intro-picks.row .intro-pick{padding:10px 14px;font-size:15px;flex:0 0 auto}
.intro-picks.row .intro-pick.num{min-width:46px;text-align:center}
.intro-goal{background:var(--surface-2);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.intro-goal .num.big{color:var(--ink)}
.intro-goal .km{display:flex;align-items:center;gap:8px}
.intro-goal input{width:88px;font-size:17px;min-height:44px}
.tour-where{align-self:flex-start;font-size:13px;font-weight:800;color:var(--navy);
  background:var(--surface-2);border:1px solid var(--line);border-radius:99px;padding:5px 12px}
.heldbox.tourbox{min-height:min(420px,70vh);min-height:min(420px,70dvh)}
#tour-host .heldsheet{z-index:60}
.heldbox.firstgroup .held-head h1{font-size:29px}
canvas.confetti{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:70}

/* ---- managing the words you want to be called --------------------------- */
/* The chip switches the word on and off; the cross beside it takes the word
   off the list altogether. Two actions on one thing, so they are two targets
   rather than a tap and a long press nobody discovers. */
.praise-word{display:inline-flex;align-items:center;gap:2px}
.praise-drop{border:none;background:none;cursor:pointer;padding:4px 6px;line-height:1;
  font-size:16px;color:var(--muted);border-radius:999px}
.praise-drop:hover{color:var(--rust)}
.praise-pick{align-items:center}

/* ---- the run sheet ------------------------------------------------------ */
/*
   A run used to open as a fold inside its own row in the feed, which put the
   whole of it — the numbers, the words, the photographs, the praise — into the
   gap between two other people's mornings. Tamir asked for a sheet from the
   bottom with every detail and a quick way to praise, and then for the thing
   that decides its shape: *"כל המידע מופיע על המסך בלי דחיסות"*. So it is tall
   by default rather than sized to its content, the body scrolls on its own, and
   the action sits in a dock that nothing overlaps.
*/
.runsheet{position:fixed;inset:0;z-index:50;background:#000000CC;
  display:flex;align-items:flex-end;justify-content:center}
/* Grown by its content up to nearly the whole screen, with a floor so a run
   carrying almost nothing still reads as a sheet rather than a stub. A fixed
   92vh met the brief and looked broken on a bare run: half a screen of empty
   surface between the last line and the praise. */
.runbox{background:var(--surface);width:100%;max-width:560px;max-height:92vh;min-height:46vh;
  border-radius:22px 22px 0 0;display:flex;flex-direction:column;overflow:hidden;
  border-top:1px solid var(--line)}
/* A handle, because the sheet reads as something you could pull — and the only
   honest way to say "this came from the bottom edge". */
.runbox .grip{padding:9px 0 3px;display:grid;place-items:center;flex:0 0 auto}
.runbox .grip i{width:38px;height:4px;border-radius:999px;background:var(--line)}
.runhead{display:flex;align-items:center;gap:12px;padding:6px 22px 14px;flex:0 0 auto}
.runhead .grow{min-width:0}
.runhead b{display:block;font-size:17px}
.runhead span{display:block;font-size:12.5px;color:var(--muted)}
.runbody{flex:1 1 auto;overflow:auto;-webkit-overflow-scrolling:touch;
  padding:4px 22px 24px;display:flex;flex-direction:column;gap:16px}
/* Wider margins and more air between the blocks (the board, Gq4cuPC1): at 16
   the sheet read as a form crammed to the edges. */
.rundock{flex:0 0 auto;padding:11px 16px calc(11px + env(safe-area-inset-bottom));
  border-top:1px solid var(--line-soft);background:var(--surface)}
.rundock .eyebrow{display:block;margin-bottom:6px}

/* The track, for your own run only — a GPS trace is private to whoever ran it,
   and the payload carries it for nobody else. */
/* `flex-shrink:0`: inside the scrolling run sheet, with `overflow:hidden`,
   the card was squeezed to a hairline whenever the sheet was long. */
.runtrack{background:var(--surface-2);border:1px solid var(--line-soft);
  border-radius:14px;overflow:hidden;flex-shrink:0}
.runtrack svg{display:block;width:100%;height:auto;color:var(--pine)}
/* The same card with the phone's map in it (`hydrateMaps`). */
.runtrack.map{padding:0;overflow:hidden}
.runtrack.map img{display:block;width:100%;height:180px;object-fit:cover}

.runstats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.runstats .one{background:var(--surface-2);border:1px solid var(--line-soft);
  border-radius:12px;padding:10px 6px;text-align:center}
.runstats b{display:block;font-size:20px;font-weight:800;letter-spacing:-.3px}
.runstats span{display:block;font-size:11px;color:var(--muted);margin-top:1px}

.runlines{display:flex;flex-direction:column}
.runlines div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;
  border-bottom:1px solid var(--line-soft);font-size:13.5px}
.runlines div:first-child{border-top:1px solid var(--line-soft)}
.runlines span{color:var(--muted)}
.runlines b{font-weight:600}

/* The praise row scrolls sideways rather than wrapping to three lines: the
   dock has to stay one predictable height, or the body jumps when the list
   somebody chose happens to be longer. */
.praisebar{display:flex;gap:7px;overflow-x:auto;padding-block:2px;scrollbar-width:none}
.praisebar::-webkit-scrollbar{display:none}
.praisebar .chip{flex:0 0 auto;font-size:14px;font-weight:600;padding:9px 15px}

/* ---- the invitation, written out ---------------------------------------- */
/* A code and a bare URL made the owner write the message around them, which is
   work at the moment somebody is being generous. This is the whole thing, and
   the only interaction it needs is a tap to copy. `pre` because the line breaks
   are the message: WhatsApp keeps them, and so must the box. */
.invite-draft{
  margin:10px 0 0;padding:13px 14px;background:var(--surface-2);
  border:1px solid var(--line-soft);border-radius:14px;cursor:pointer;
  font:inherit;font-size:13.5px;line-height:1.6;color:var(--ink-2);
  white-space:pre-wrap;overflow-wrap:anywhere;
}
.invite-draft:hover{border-color:var(--line)}
/* Selectable on purpose. When the clipboard API refuses — and inside a web
   view it sometimes does — the way out is a long press on the text itself, and
   that only works if the text can be selected and the callout is allowed. */
.invite-draft{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
/* The send button under the draft. A link rather than a button because the
   shell only hands an off-host address to the system when the navigation came
   from activating a link — and that hand-off is what opens WhatsApp. */
.btn.send{display:block;text-align:center;text-decoration:none;margin-top:10px}

/* ---- the body wheels ---------------------------------------------------- */
/*
   Weight and height, picked by scrolling. Two number fields side by side read
   as a form, which is the wrong shape for two facts somebody gives once.

   Scroll snapping does the work: the browser already owns the momentum and the
   settling, and nothing written here would do them as well. The pads above and
   below the list are half a track high, which is what lets the first and last
   numbers reach the middle.
*/
.wheels{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:4px}
.wheel{--tick:38px}
.wheel.unset{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 8px;
  border-radius:16px;background:var(--surface-2)}
.wheel.unset .unset-note{font-size:15px;font-weight:700;color:var(--muted)}
.wheel-case{position:relative}
.wheel-top{display:flex;align-items:baseline;gap:6px;justify-content:center;
  font-size:13px;color:var(--muted);margin-bottom:6px}
.wheel-top i{font-style:normal;font-size:11.5px;opacity:.75}

.wheel-track{
  height:calc(var(--tick) * 3);overflow-y:auto;overflow-x:hidden;
  scroll-snap-type:y mandatory;scrollbar-width:none;
  background:var(--surface-2);border:1px solid var(--line-soft);border-radius:14px;
  position:relative;z-index:1;
  /* The ends fade rather than cut, so the column reads as a wheel turning past
     the opening instead of a list that happens to be clipped. */
  -webkit-mask-image:linear-gradient(to bottom,transparent,#000 32%,#000 68%,transparent);
  mask-image:linear-gradient(to bottom,transparent,#000 32%,#000 68%,transparent);
}
.wheel-track::-webkit-scrollbar{display:none}
.wheel-track:focus-visible{outline:2px solid var(--pine);outline-offset:2px}
.wheel-pad{height:var(--tick);flex:0 0 auto}

.tick{
  display:block;width:100%;height:var(--tick);line-height:var(--tick);
  scroll-snap-align:center;border:0;background:none;padding:0;cursor:pointer;
  font:inherit;font-size:17px;font-weight:600;color:var(--muted);
  font-variant-numeric:tabular-nums;transition:color .12s linear,transform .12s linear;
}
.tick.on{color:var(--ink);font-size:22px;font-weight:800;transform:scale(1.02)}

/* The band marks where the chosen number sits. Behind the numbers and not over
   them: a strip drawn on top dims the one thing it is pointing at. */
.wheel-band{
  position:absolute;inset-inline:0;top:var(--tick);height:var(--tick);
  border-block:1px solid var(--line);border-radius:9px;
  background:color-mix(in srgb, var(--pine) 9%, transparent);
  pointer-events:none;z-index:0;
}
@media (prefers-reduced-motion:reduce){ .tick{transition:none} }

/* ---- shared runs ---------------------------------------------------------- */
/* A day first: the calendar page is the one shape on these cards no other
   card has, so a shared run is recognised before it is read. */
.evday{flex:0 0 auto;width:50px;border-radius:12px;overflow:hidden;border:1px solid var(--line);
  text-align:center;background:var(--surface);display:block}
.evday i{display:block;font-style:normal;font-size:10.5px;font-weight:750;background:var(--ember);
  color:var(--on-accent);padding:2px 0}
.evday b{display:block;font-size:21px;line-height:1.15;padding:2px 0 0;color:var(--ink)}
.evday span{display:block;font-size:10px;color:var(--muted);padding-bottom:3px}
.eyebrow.hot{color:var(--ember)}
.evlist{display:flex;flex-direction:column;gap:2px}
.evrow{appearance:none;border:0;background:none;font:inherit;color:inherit;text-align:start;width:100%;
  display:flex;align-items:center;gap:12px;padding:8px 0;cursor:pointer}
.evrow+.evrow{border-top:1px solid var(--line-soft)}
.evrow .grow{display:flex;flex-direction:column;gap:2px;min-width:0}
.evrow .grow>b{font-size:16px}
.evrow .grow>span{font-size:13px;color:var(--ink-2)}
.evrow:focus-visible{outline:2px solid var(--navy);outline-offset:2px;border-radius:12px}
.evwho{display:flex;align-items:center;gap:8px;margin-top:3px}
.evfaces{display:flex}
.evfaces .av{width:26px;height:26px;font-size:11px;border:2px solid var(--surface);margin-inline-start:-7px}
.evfaces .av:first-child{margin-inline-start:0}
.av.guest{background:var(--surface-2);color:var(--ink-2);border:1.5px dashed var(--line)}
.evbtns{display:flex;gap:8px}
.evbtns .btn{flex:1}
.evbtns .btn.go,.evsheet .btn.go{background:var(--pine)}
.evsheet .btn.wide{width:100%}
.evplace{display:flex;flex-direction:column;gap:2px}
.evplace b{font-size:17px}
.evnote{margin:0;font-size:14.5px;color:var(--ink-2);white-space:pre-wrap}
/* A run that happened, opened: the people first (the board, UPHW9EX1). */
.evrecap{flex-shrink:0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;
  padding:20px 16px 18px;border-radius:20px;background:linear-gradient(160deg,var(--pine-tint),var(--surface-2))}
.evrecap-faces{display:flex;justify-content:center;direction:ltr}
.evrecap-faces .av{width:56px;height:56px;font-size:22px;border:3px solid var(--surface);margin-inline-start:-14px;box-shadow:0 2px 8px #0000001F}
.evrecap-faces .av:first-child{margin-inline-start:0}
.evrecap h2{margin:4px 0 0;font:800 28px/1.15 var(--display);color:var(--pine)}
.evrecap-names{margin:0;font-size:16px;font-weight:650}
.evrecap-nums{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;margin-top:6px}
.evrecap-nums div{background:var(--surface);border-radius:14px;padding:12px 8px}
.evrecap-nums b{display:block;font-size:34px;font-weight:850;letter-spacing:-.5px;line-height:1.05}
.evrecap-nums span{font-size:12.5px;color:var(--muted)}
.evrecap .btn{margin-top:4px;width:100%}
.evstats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.evstats div{background:var(--surface-2);border-radius:13px;padding:10px;text-align:center}
.evstats b{display:block;font-size:26px;font-weight:850;letter-spacing:-.4px}
.evstats span{font-size:12px;color:var(--muted)}
.evlines{display:flex;flex-direction:column}
.evline{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:9px;padding:7px 0;
  border-bottom:1px solid var(--line-soft);font-size:14px}
.evline:last-child{border-bottom:0}
.evline .num{font-variant-numeric:tabular-nums}
.evshare{display:flex;flex-direction:column;gap:8px}
.evform{gap:12px}
.evfield{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:700;color:var(--ink-2)}
.evfield .quiet{font-weight:500;font-size:12px}
.evlab{display:block}
.evfield input,.evfield select,.evfield textarea{font:inherit;font-size:16px;font-weight:500;padding:11px 12px;
  border-radius:12px;border:1px solid var(--line);background:var(--surface-2);color:var(--ink);width:100%}
.evfield textarea{resize:vertical}
.evfield input:focus-visible,.evfield select:focus-visible,.evfield textarea:focus-visible{outline:2px solid var(--navy);outline-offset:1px}
.evtwo{display:grid;grid-template-columns:1fr 1fr;gap:10px}

/* ==== the new look (21.10): the colours of "בלוקים", the layout of "מגרש" ==== */
/* Headings and every number in Rubik; running text in Assistant, which is the
   body face through `--heb`. Shir: the text was small and weak — so the body
   steps up a size and the numbers get weight. */
body{font-size:15px}
h1,h2,.bar .who b{font-family:var(--display);letter-spacing:-.2px}
h1{font-size:21px}
p{font-size:14px}
.num{font-family:var(--display);font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}
.card{border-radius:20px;border-color:transparent;box-shadow:0 1px 2px #14201F0D}

/* The header is the band's colour on every screen; on Today the band carries
   straight on under it, so the top of the app is one green block. */
.bar{background:var(--band);color:var(--on-band);border-bottom:0}
.bar .who span{color:var(--on-band);opacity:.75}
.bar .pill{background:var(--band-soft);color:var(--on-band);border-color:transparent}

/* Avatars are rounded squares now, the shape the chosen direction used. */
.av{border-radius:32%}
.av .face{border-radius:inherit}

/* ---- Today: the band ---- */
.band{margin:-16px -14px 0;padding:8px 18px 42px;border-radius:0 0 32px 32px;
  background:var(--band);color:var(--on-band);display:flex;flex-direction:column;gap:16px}
.bandtop{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center}
/* The week as one huge number, the way Tamir picked it on 21.10: the runs done
   tall and narrow, the runs asked small beside them, and a bar for each. */
.bignum{display:flex;flex-direction:column;gap:8px;align-items:stretch}
.bignum b{font-family:"Karantina",var(--display);font-weight:700;font-size:118px;line-height:.8;
  letter-spacing:-1px;color:var(--on-band);direction:ltr;text-align:center}
.bignum small{font-size:56px;opacity:.55}
.bignum .bars{display:flex;gap:6px;direction:ltr}
.bignum .bars i{flex:1;min-width:22px;height:9px;border-radius:99px;background:var(--band-soft)}
.bignum .bars i.on{background:var(--on-band)}
.band.safe .bignum .bars i.on{background:var(--sun)}
.band h1{color:var(--on-band);font-size:24px;line-height:1.15;font-weight:800;text-wrap:balance}
.band p{color:var(--on-band);opacity:.82;font-size:14.5px}
.bandstats{display:flex;flex-wrap:wrap;gap:7px}
.bandstats span{background:var(--band-soft);border-radius:99px;padding:7px 14px;font-size:14px}
.bandstats b{font-weight:800}

/* The start button sits across the band's lower edge, so it reads as the
   thing the band is for. */
.btn.startrun.lift{margin:-36px 6px 0;position:relative;z-index:1;align-self:stretch;
  background:var(--sun);color:var(--on-sun);font-family:var(--display);font-weight:800;font-size:17px;
  padding:15px 16px;border-radius:17px;box-shadow:0 8px 20px #14201F2E}
.planrow{justify-content:center;gap:20px;margin-top:-2px}
.planlink{appearance:none;background:none;border:0;padding:4px 2px;font:inherit;font-size:14px;font-weight:700;
  color:var(--ink);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;
  text-decoration-color:var(--sun);cursor:pointer}

/* ---- a shared run, as a ticket ---- */
.ticket{display:grid;grid-template-columns:78px 1fr;background:var(--surface);border-radius:20px;overflow:hidden;
  box-shadow:0 1px 2px #14201F0D}
.ticket .stub{appearance:none;border:0;font:inherit;cursor:pointer;background:var(--stub,var(--sun));color:var(--on-stub,var(--on-sun));
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:12px 0;
  border-inline-end:2px dashed var(--surface)}
.ticket .stub small{font-size:12px;font-weight:700}
.ticket .stub b{font-size:32px;font-weight:900;line-height:1}
.ticket .tbody{padding:12px 14px;display:flex;flex-direction:column;gap:10px;min-width:0}
.ticket .tmain{appearance:none;border:0;background:none;padding:0;font:inherit;color:inherit;text-align:start;
  display:flex;flex-direction:column;gap:3px;cursor:pointer}
.ticket .tmain>b{font-family:var(--display);font-size:17px;font-weight:700}
.ticket .tmain>span{font-size:13.5px;color:var(--ink-2)}
.ticket .eyebrow::after{display:none}

/* ---- runs: the distance large, in the runner's colour ---- */
.fi{align-items:center}
.fikm{flex:0 0 auto;text-align:center;color:var(--c, var(--ink));min-width:48px}
.fikm b{display:block;font-size:22px;font-weight:800;line-height:1}
.fikm span{display:block;font-size:10.5px;color:var(--muted);margin-top:2px}
.fi .head b{font-size:15px}
.fi .head time{font-family:var(--display)}
/* `main` is a flex column that scrolls, and a child that clips its overflow
   — the ticket does, for its corners — gets squeezed to nothing instead of
   scrolled to. Nothing in it gives up its height. */
main>*{flex-shrink:0}

/* ---- sheets that rise from the bottom (21.10, three bugs off the board) ----
   The run sheet, a shared run and its form share `.runsheet` with the web
   recording screen, and inherited its padding and its scrolling. A box up to
   92% of the screen plus that padding was taller than the screen, and pinned
   to the bottom of a scroller it overflowed at the top — where nobody can
   scroll to. "ריצה חדשה נחתכת", "event נחתך בחלקו העליון". The box now fits
   inside the screen below the notch, and only its own body scrolls. */
.runsheet.bottomsheet{padding:calc(env(safe-area-inset-top) + 10px) 0 0;gap:0;overflow:hidden}
.bottomsheet .runbox{max-height:100%}
.storybox{max-height:calc(100dvh - env(safe-area-inset-top) - 10px)}
/* Story sharing is opened from inside the run sheet, so it has to sit above
   it: at the same layer it opened behind, and the run had to be closed to
   find it. */

/* ---- phase 2: the same band on the קבוצה, achievements and אני ---- */
.bandhead{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bandback{appearance:none;border:0;background:var(--band-soft);color:var(--on-band);font:inherit;
  font-size:13.5px;font-weight:700;padding:7px 12px;border-radius:99px;cursor:pointer}
.bandpill{background:var(--sun);color:var(--on-sun);font-size:12.5px;font-weight:800;padding:5px 11px;border-radius:99px}
.bandname{display:flex;align-items:center;gap:12px}
.bandname .av{width:48px;height:48px;font-size:19px;box-shadow:0 0 0 3px var(--band-soft)}
.bandname h1{font-size:22px}
.bandname p{margin-top:2px}
/* A big number that is not a fraction of runs: kilometres, achievements. It
   sits on its own line, with what it counts written under it. */
.bignum.wide{align-items:flex-start;gap:6px}
.bignum.wide b{font-size:104px;text-align:end}
.bignum .caption{font-size:13.5px;color:var(--on-band);opacity:.82;margin-top:-2px}
.gbar{display:flex;align-self:stretch;height:12px;border-radius:99px;overflow:hidden;background:var(--band-soft);
  direction:rtl;margin-top:6px}
.gbar i{display:block;height:100%}
.gbar i+i{box-shadow:inset -2px 0 0 var(--band-edge)}
.bandstats .dot{display:inline-block;width:9px;height:9px;border-radius:3px;margin-inline-end:6px;vertical-align:middle}
.bandlink{appearance:none;align-self:flex-start;border:0;background:none;color:var(--on-band);font:inherit;
  font-size:14px;font-weight:700;padding:2px 0;cursor:pointer;
  text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;text-decoration-color:var(--sun)}
/* The band ends the screen's top; what follows starts clear of its curve. */
.band+*{margin-top:4px}

/* ---- the three looks (21.10) ------------------------------------------------
   Tamir: offer all three directions and let each person pick, under "אני".
   They share the layout; a look is the band, the yellow-or-white button on it,
   and nothing else, so every screen and every module built on the tokens
   follows without knowing a look exists. "בלוקים" is the base palette above.
   Each look is written three times — light, dark by the system, dark by
   choice — with selectors one step more specific than the base dark blocks,
   so a look's dark band wins in the dark and its light band never leaks in. */
:root[data-skin="track"]{--band:#0E3A63;--band-edge:#0E3A63}
:root[data-skin="dawn"]{--band:linear-gradient(160deg,#E8743B 0%,#D9533A 45%,#7B3B6E 100%);--band-edge:#D9533A;
  --sun:#FFFFFF;--on-sun:#B8432A}
@media (prefers-color-scheme:dark){
  :root[data-skin="track"]:not([data-theme="light"]){--band:#0C2A47;--band-edge:#0C2A47}
  :root[data-skin="dawn"]:not([data-theme="light"]){--band:linear-gradient(160deg,#9A4424 0%,#8A3326 45%,#4A2445 100%);
    --band-edge:#8A3326;--sun:#F6E7DF;--on-sun:#8A3326}
}
:root[data-skin="track"][data-theme="dark"]{--band:#0C2A47;--band-edge:#0C2A47}
:root[data-skin="dawn"][data-theme="dark"]{--band:linear-gradient(160deg,#9A4424 0%,#8A3326 45%,#4A2445 100%);
  --band-edge:#8A3326;--sun:#F6E7DF;--on-sun:#8A3326}
/* The header bar and the band are one block; a gradient would restart at the
   seam, so the bar takes the gradient's first colour under "שחר". */
:root[data-skin="dawn"] .bar{background:#E8743B}
@media (prefers-color-scheme:dark){:root[data-skin="dawn"]:not([data-theme="light"]) .bar{background:#9A4424}}
:root[data-skin="dawn"][data-theme="dark"] .bar{background:#9A4424}

:root[data-skin="bloom"]{--band:linear-gradient(160deg,#F28AB3 0%,#D9578F 48%,#8E5CC2 100%);--band-edge:#D9578F;
  --sun:#FFFFFF;--on-sun:#B83F78;--stub:#D9578F;--on-stub:#FFFFFF}
@media (prefers-color-scheme:dark){
  :root[data-skin="bloom"]:not([data-theme="light"]){--band:linear-gradient(160deg,#9C4670 0%,#7E3362 48%,#4E3477 100%);
    --band-edge:#7E3362;--sun:#F8E4EE;--on-sun:#7E3362;--stub:#E58AB4;--on-stub:#2E0E1E}
}
:root[data-skin="bloom"][data-theme="dark"]{--band:linear-gradient(160deg,#9C4670 0%,#7E3362 48%,#4E3477 100%);
  --band-edge:#7E3362;--sun:#F8E4EE;--on-sun:#7E3362;--stub:#E58AB4;--on-stub:#2E0E1E}
:root[data-skin="bloom"] .bar{background:#F28AB3}
@media (prefers-color-scheme:dark){:root[data-skin="bloom"]:not([data-theme="light"]) .bar{background:#9C4670}}
:root[data-skin="bloom"][data-theme="dark"] .bar{background:#9C4670}
:root[data-skin="bloom"] #nav-run .ic.run{background:#D9578F;color:#FFFFFF}
@media (prefers-color-scheme:dark){:root[data-skin="bloom"]:not([data-theme="light"]) #nav-run .ic.run{background:#E58AB4;color:#2E0E1E}}
:root[data-skin="bloom"][data-theme="dark"] #nav-run .ic.run{background:#E58AB4;color:#2E0E1E}

/* ---- choosing a look ---- */
.skinpicks{display:flex;flex-direction:column;gap:9px}
.skinpick{appearance:none;font:inherit;color:inherit;text-align:start;cursor:pointer;display:flex;align-items:center;gap:12px;
  background:var(--surface-2);border:2px solid transparent;border-radius:18px;padding:8px}
.skinpick.chosen{border-color:var(--ink)}
.skinpick:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.skinswatch{flex:0 0 auto;width:96px;height:66px;border-radius:13px;position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:center;color:#FFFFFF}
.skinswatch b{font-family:"Karantina",var(--display);font-size:46px;line-height:.8;direction:ltr}
.skinswatch small{font-size:24px;opacity:.6}
.skinswatch i{position:absolute;bottom:8px;inset-inline:18px;height:7px;border-radius:99px}
.sw-blocks{background:#26705A}.sw-blocks i{background:#F2B33D}
.sw-track{background:#0E3A63}.sw-track i{background:#F2B33D}
.sw-dawn{background:linear-gradient(160deg,#E8743B 0%,#D9533A 45%,#7B3B6E 100%)}.sw-dawn i{background:#FFFFFF}
.sw-bloom{background:linear-gradient(160deg,#F28AB3 0%,#D9578F 48%,#8E5CC2 100%)}.sw-bloom i{background:#FFFFFF}
.skintext{display:flex;flex-direction:column;gap:2px}
.skintext b{font-family:var(--display);font-size:17px}
.skintext span{font-size:13.5px;color:var(--muted)}
/* The ticket's stub and the run button take a look's colour too. Under "שחר"
   the button on the band is white, and a white stub vanished into its card. */
:root[data-skin="dawn"]{--stub:#D9533A;--on-stub:#FFFFFF}
:root[data-skin="dawn"] #nav-run .ic.run{background:#D9533A;color:#FFFFFF}
@media (prefers-color-scheme:dark){
  :root[data-skin="dawn"]:not([data-theme="light"]){--stub:#EB8A5A;--on-stub:#2A1206}
  :root[data-skin="dawn"]:not([data-theme="light"]) #nav-run .ic.run{background:#EB8A5A;color:#2A1206}
}
:root[data-skin="dawn"][data-theme="dark"]{--stub:#EB8A5A;--on-stub:#2A1206}
:root[data-skin="dawn"][data-theme="dark"] #nav-run .ic.run{background:#EB8A5A;color:#2A1206}

/* ---- Android in a browser (phase 0) ---- */
.androidcard{border:2px dashed var(--line)}
.androidcard .chip{align-self:flex-start}

/* The owner's pinned message on the קבוצה screen. */
.board{display:flex;flex-direction:column;gap:8px;border-inline-start:4px solid var(--pine)}
.boardtext{color:var(--ink);font-size:15px;line-height:1.55;white-space:pre-line}
.boardform{display:flex;flex-direction:column;gap:8px}
.boardform textarea{font:inherit;font-size:15px;padding:10px 12px;border-radius:12px;resize:vertical;
  border:1px solid var(--line);background:var(--surface);color:var(--ink)}
.boardform textarea:focus-visible{outline:2px solid var(--pine);outline-offset:1px}

/* Three kinds of control, and this is the third (Tamir, 22.10): a filled
   button is the one thing a screen is for, a chip is a choice, and "see more"
   is a link — not another big grey button competing with the real ones. */
.morelink{appearance:none;background:none;border:0;padding:4px 0;align-self:flex-start;cursor:pointer;
  font:inherit;font-size:14px;font-weight:700;color:var(--ink);display:inline-flex;align-items:center;gap:6px}
.morelink::after{content:"‹";font-size:19px;line-height:1;opacity:.6;margin-top:-2px}

/* Typing fields tall enough to aim at, and 16px so iOS does not zoom the page
   into them (Dana, 22.10: make the fields taller). */
.gate input[type="text"],.gate input[type="number"],.door label input,.fold label input,
.note textarea,.boardform textarea,.profilename input,.setup input[type="text"]{font-size:16px;min-height:46px}
/* Every typing field in a card, the invite code included (Dana, 23.10: "and
   the code field?"). */
.card input[type="text"],.card input[type="number"],.card input:not([type]){font-size:16px;min-height:46px}
.door .field input{font-size:16px;min-height:46px;padding:11px 12px;border-radius:12px;
  border:1px solid var(--line);background:var(--surface);color:var(--ink);font-family:inherit}
.door label input,.fold label input,.profilename input{padding:11px 12px;border-radius:12px;
  border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-size:16px}
.write .chip{min-height:46px;padding-inline:16px}

/* One look for every field you type into (Dana, 23.10: "the background is too
   black and not pretty"). A field sat on the card's own colour, or on the
   browser's, which in the dark is black — a hole in the card. Now it is a
   step lighter than the card in both themes, with a thin edge, and the
   app's green ring while you type. */
.card input[type="text"],.card input[type="number"],.card input[type="email"],.card input:not([type]),
.card textarea,.card select,.door .field input,.door label input,.fold label input,.profilename input,
.write input,.note textarea,.boardform textarea,.evfield input,.evfield select,.evfield textarea,
.gate input[type="text"],.gate input[type="number"]{
  -webkit-appearance:none;appearance:none;background:var(--surface-2);color:var(--ink);
  border:1px solid var(--line);border-radius:12px;font-family:inherit;
  transition:border-color .15s ease,box-shadow .15s ease}
.write input{border-radius:999px}
/* A field inside its label takes the line under it, full width, rather than
   squeezing in beside the words (the invite code sat a third wide). */
.card label:has(> input[type="text"],> input[type="number"],> input:not([type])){display:block}
.card label > input[type="text"],.card label > input[type="number"],.card label > input:not([type]){
  display:block;width:100%;margin-top:6px;padding:11px 12px;box-sizing:border-box}
.card input::placeholder,.card textarea::placeholder,.door input::placeholder,.write input::placeholder{color:var(--muted);opacity:1}
.card input:focus,.card textarea:focus,.card select:focus,.door input:focus,.fold input:focus,
.write input:focus,.evfield input:focus,.evfield textarea:focus,.gate input:focus{
  outline:none;border-color:var(--pine);box-shadow:0 0 0 3px color-mix(in srgb,var(--pine) 22%,transparent)}

/* ---- cropping a profile photo (crop.js) -------------------------------- */
.cropsheet{position:fixed;inset:0;z-index:66;background:#0B1213E6;display:flex;align-items:center;justify-content:center;
  padding:24px 16px calc(24px + env(safe-area-inset-bottom))}
.cropbox{display:flex;flex-direction:column;align-items:center;gap:12px;color:#FFFFFF;width:100%;max-width:380px}
.cropbox b{font-size:20px;font-weight:800}
.cropbox p{margin:0;font-size:14px;opacity:.75;text-align:center}
.cropstage{position:relative;overflow:hidden;border-radius:18px;touch-action:none;background:#000;cursor:grab}
.cropstage img{position:absolute;top:0;left:0;transform-origin:0 0;user-select:none;-webkit-user-select:none;pointer-events:none;max-width:none}
.cropring{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 999px #0B1213A6;border:2px solid #FFFFFFCC;pointer-events:none}
.cropbox input[type=range]{width:100%;accent-color:var(--sun)}
.cropfoot{display:flex;gap:10px;width:100%}
.cropfoot .btn{flex:1 1 auto;background:#FFFFFF;color:#10243A;border:0}
.cropfoot .btn.ghost{flex:0 0 auto;background:transparent;color:#FFFFFF;border:1px solid #FFFFFF66;padding-inline:20px}

/* ---- the bell beside "Rutz" (bell.js) ---------------------------------- */
.bar .who{display:flex;align-items:center;gap:10px}
.bell{appearance:none;border:0;background:var(--band-soft);color:var(--on-band);width:34px;height:34px;border-radius:99px;
  display:inline-flex;align-items:center;justify-content:center;position:relative;cursor:pointer;padding:0}
.bell svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bellcount{position:absolute;top:-3px;inset-inline-end:-3px;min-width:17px;height:17px;padding:0 4px;border-radius:99px;
  background:var(--ember);color:#FFFFFF;font-style:normal;font-size:10.5px;font-weight:800;line-height:17px;text-align:center;
  box-shadow:0 0 0 2px var(--band-edge)}
.belllist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.bellitem{appearance:none;width:100%;text-align:start;font:inherit;color:var(--ink);background:var(--surface-2);
  border:1px solid transparent;border-radius:14px;padding:11px 13px;display:grid;grid-template-columns:1fr auto;gap:2px 10px;cursor:pointer}
.bellitem:disabled{cursor:default;opacity:1}
.bellitem b{font-size:14.5px;font-weight:750}
.bellitem span{grid-column:1/-1;font-size:13.5px;color:var(--ink-2)}
.bellitem time{grid-row:1;grid-column:2;font-size:12px;color:var(--muted)}
.belllist li.new .bellitem{border-color:var(--ember);background:var(--ember-tint)}

/* ---- a weekly shared run ------------------------------------------------- */
.evweekly{font-size:11px;font-weight:800;color:var(--ink-2);background:var(--surface-2);border:1px solid var(--line);
  padding:2px 7px;border-radius:99px;margin-inline-start:4px;vertical-align:middle}
.evseries{display:flex;flex-direction:column;gap:5px;background:var(--surface-2);border-radius:14px;padding:12px 14px}
.evseries>b{font-size:16px}
.chip.danger{color:var(--rust)}

/* ---- how the first run gets here ----------------------------------------- */
.firstrun{margin:2px 0 4px;padding-inline-start:20px;display:flex;flex-direction:column;gap:8px;font-size:14.5px;line-height:1.5}
.firstrun li::marker{color:var(--ember);font-weight:800}
.firstrun .chip{margin-top:5px;display:inline-flex}

/* The קבוצה a row on "היום" came from, when there is more than one. */
.fi .fgroup{font-size:11.5px;font-weight:650;color:var(--muted)}

/* The reader's קבוצות above the open one (groupSwitch). */
.gswitch{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 0 12px;padding-bottom:2px}
.gswitch::-webkit-scrollbar{display:none}
.gswitch .chip{flex:none;white-space:nowrap;background:transparent;color:var(--on-band);border-color:var(--band-soft);opacity:.8}
.gswitch .chip[aria-current="true"]{background:var(--on-band);color:var(--band);border-color:transparent;opacity:1}

/* The card of actions over the bar (openActions). The bar stays above the
   dimmed page so its disc, now ✕, closes what it opened. */
.actsheet{position:fixed;inset:0;z-index:65;background:#14201F40;animation:fade-in .2s ease-out}
body.acting nav{z-index:66}
.actcard{position:fixed;inset-inline:16px;bottom:110px;max-width:520px;margin-inline:auto;
  background:var(--surface);border-radius:22px;box-shadow:0 10px 36px #14201F33;
  padding:16px 8px 14px;display:flex;flex-wrap:wrap;justify-content:center;row-gap:14px;
  transform-origin:50% 100%;animation:actup .32s cubic-bezier(.2,1.3,.4,1)}
/* The point under the card, towards the disc. */
.actcard::after{content:"";position:absolute;bottom:-7px;inset-inline-start:calc(50% - 8px);width:16px;height:16px;
  background:var(--surface);transform:rotate(45deg);border-radius:3px}
.actbtn{flex:0 0 25%;appearance:none;border:0;background:none;font:inherit;color:var(--ink);cursor:pointer;
  display:flex;flex-direction:column;align-items:center;gap:7px;font-size:12.5px;font-weight:650;line-height:1.25;text-align:center;
  -webkit-tap-highlight-color:transparent}
.actic{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:var(--on-accent);
  transition:transform .18s cubic-bezier(.3,1.6,.5,1)}
.actbtn.main .actic{background:var(--sun);color:var(--on-sun)}
.actbtn:active .actic{transform:scale(.88)}
.actic svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@keyframes actup{from{opacity:0;transform:translateY(14px) scale(.94)}}
@keyframes fade-in{from{opacity:0}}
@media (prefers-reduced-motion:reduce){.actcard,.actsheet,body.acting #nav-run .ic.run .x{animation:none}}

/* The three tabs inside a קבוצה (groupTabs). */
.gtabs{display:flex;gap:4px;padding:4px;margin:0 0 12px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line-soft);position:sticky;top:0;z-index:3}
.gtabs button{flex:1;appearance:none;border:0;background:none;font:inherit;font-size:14px;font-weight:650;color:var(--ink-2);padding:9px 6px;border-radius:999px;white-space:nowrap}
.gtabs button[aria-selected="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0000001A}
.gtabs .num{font-size:12px;opacity:.75}
.setsub{margin:6px 0 0;color:var(--on-band);opacity:.8;font-size:14px}

/* A body field with an answer, and the way to close an open wheel (answered). */
.wheel.unset .set-note{font-size:15px;color:var(--ink-2)}
.wheel.unset .set-note b{font-size:26px;color:var(--ink)}
.wheeldone{justify-content:center;margin-top:8px}

/* Deleting your own run (deleteRun). */
.dellink{appearance:none;border:0;background:none;font:inherit;font-size:13px;font-weight:650;color:var(--bad,#B3261E);padding:6px 0;text-decoration:underline;text-underline-offset:3px;align-self:flex-start}
.dellink.small{font-size:12px;padding:0 0 8px}
.delask{border:1px solid var(--line-soft);border-radius:14px;padding:12px;margin:6px 0 10px;background:var(--surface-2)}
.delask p{margin:0 0 8px;font-size:14px}
.chip.danger{background:#B3261E;color:#fff;border-color:transparent}

/* The progress chart (app.js, chartCard): one series, thin bars with rounded
   tops, a 2px gap, a recessive average line. Time runs right to left. */
.chart .gtabs{position:static;margin:0}
.chart-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.chart-total{font:800 40px/1 var(--display);color:var(--ink)}
.chart-head span{font-weight:700;color:var(--ink-2)}
.chart-head p{margin:4px 0 0}
.chart-nav{display:flex;gap:6px}
.chart-nav .chip{min-width:40px;font-size:20px;line-height:1}
.chart-nav .chip:disabled{opacity:.35}
.chart-plot{position:relative;height:150px;display:flex;align-items:flex-end;gap:2px;border-bottom:1px solid var(--line)}
.chart-bar{flex:1;height:100%;display:flex;align-items:flex-end;appearance:none;border:0;background:none;padding:0;cursor:pointer;min-width:0}
.chart-bar i{display:block;width:100%;max-width:28px;margin:0 auto;background:var(--pine);opacity:.85;border-radius:4px 4px 0 0}
.chart-bar.on i{opacity:1;background:var(--ink)}
.chart-bar.future{cursor:default}
.chart-avg{position:absolute;inset-inline:0;border-top:2px dashed var(--muted);opacity:.5;pointer-events:none}
.chart-ticks{display:flex;gap:2px;margin-top:-4px}
.chart-ticks span{flex:1;text-align:center;font-size:11px;color:var(--muted);min-width:0}

/* The "about" step of the interview, as a grouped list (StepsApp, 25.10). */
.setup-group{background:var(--surface-2);border-radius:14px;overflow:hidden}
.setup-row{display:flex;align-items:center;gap:12px;width:100%;appearance:none;border:0;background:none;font:inherit;
  color:var(--ink);padding:14px 14px;text-align:start;cursor:pointer}
.setup-row + .setup-row,.setup-edit + .setup-row{border-top:1px solid var(--line-soft)}
.setup-row b{flex:1;font-size:16px;font-weight:700}
.setup-ic{width:26px;text-align:center;font-size:19px}
.setup-val{color:var(--muted);font-size:15px;display:flex;align-items:center;gap:6px}
.setup-val i{font-style:normal;font-size:18px;transition:transform .15s}
.setup-row.open .setup-val i{transform:rotate(-90deg)}
.setup-edit{padding:4px 14px 14px}
.setup-note{margin:-4px 4px 0;font-size:13px;color:var(--muted)}
/* "Tap here" under the system's own question, which covers the middle. */
.perm-hint{position:fixed;inset-inline:0;bottom:22%;z-index:80;text-align:center;color:#fff;font-weight:700;font-size:16px;
  pointer-events:none;animation:hint-bob 1.2s ease-in-out infinite;text-shadow:0 1px 3px #0009}
.perm-hint b{display:block;font-size:26px;line-height:1}
@keyframes hint-bob{0%,100%{transform:none}50%{transform:translateY(-6px)}}
@media (prefers-reduced-motion:reduce){.perm-hint{animation:none}}

/* "שאל": the earlier conversations (ask.js). */
.askthreads{display:flex;flex-direction:column;gap:8px}
.askthreads #ask-new{align-self:flex-start}
.askthread{background:var(--surface);border-radius:14px;padding:12px 14px;text-align:start}
.askthread b{display:block;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.askthread span{font-size:12px;color:var(--muted)}

/* "ריצות" (runs.js, 26.10): the list and one run, on screens of their own. */
.evopen{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.evto{flex-wrap:wrap}
.runscreen{display:flex;flex-direction:column;gap:12px;padding-bottom:84px}
.runtop{display:flex;align-items:center;justify-content:space-between}
.runfilters{display:flex;gap:8px;align-items:center}
.runarea{flex:1;min-width:0;display:flex;align-items:center;gap:6px;background:var(--surface);border:1px solid var(--line-soft);
  border-radius:999px;padding:4px 12px}
.runarea select{flex:1;min-width:0;appearance:none;border:0;background:none;font:inherit;font-weight:650;color:var(--ink);padding:6px 0}
.runwhen{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.runwhen .chip{flex:none}
.runsep{margin-top:6px}
.runempty{display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center;padding:36px 18px;
  background:var(--surface);border-radius:20px;color:var(--ink-2)}
.runempty b{font-size:17px;color:var(--ink)}

.runcard{display:flex;gap:14px;align-items:stretch;width:100%;appearance:none;border:0;text-align:start;font:inherit;color:var(--ink);
  background:var(--surface);border-radius:20px;padding:14px;box-shadow:0 1px 2px #14201F0D;cursor:pointer;transition:transform .12s}
.runcard:active{transform:scale(.985)}
.rundate{flex:none;width:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:14px;
  background:var(--pine-tint);color:var(--pine);padding:8px 2px;text-align:center}
.rundate i{font-style:normal;font-size:11px;font-weight:750}
.rundate b{font:800 26px/1.05 var(--display)}
.rundate span{font-size:11px;font-weight:650;opacity:.85}
.rundate.big{width:72px;padding:10px 4px;background:#FFFFFF26;color:inherit}
.rundate.big b{font-size:32px}
.runmain{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.runmain > b{font-size:17px;line-height:1.25}
.runwhere{font-size:14px;color:var(--ink-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.runchips{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px}
.runchips span{font-size:12px;font-weight:650;color:var(--ink-2);background:var(--surface-2);border-radius:999px;padding:3px 9px}
.runfoot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:6px;font-size:12.5px;color:var(--muted)}
.runfab{position:fixed;inset-inline:16px;bottom:calc(86px + env(safe-area-inset-bottom));z-index:6;max-width:520px;margin:0 auto;
  box-shadow:0 8px 24px #14201F33}

.runhero{background:var(--band);color:var(--on-band);border-radius:24px;padding:18px;display:flex;flex-direction:column;gap:14px;overflow:hidden}
.runhero.withmap{padding-top:12px}
.runheromap{background:#FFFFFF14;border-radius:16px;padding:8px}
.runheromap svg{display:block;width:100%;height:auto;max-height:200px}
.runherorow{display:flex;gap:14px;align-items:center}
.runhero .eyebrow{color:inherit;opacity:.75}
.runhero h1{margin:2px 0;font:800 26px/1.15 var(--display)}
.runherowhen{font-weight:650;opacity:.9}
.runinfo{gap:14px}
.runinforow{display:flex;gap:12px;align-items:flex-start}
.runinforow > div{display:flex;flex-direction:column;gap:2px}
.runic{width:28px;text-align:center;font-size:18px;line-height:1.3}
.runpeople{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.runpeople li{display:flex;align-items:center;gap:10px}
.runpeople li b{flex:1}
.runshare .chips,.runmanage .chips{flex-wrap:wrap}
.runreport{align-self:center}
.runbar{position:fixed;inset-inline:0;bottom:calc(70px + env(safe-area-inset-bottom));z-index:6;display:flex;gap:8px;
  padding:10px 16px;background:var(--bg);border-top:1px solid var(--line-soft)}
.runbar .btn{flex:1}

/* After the run (runs.js, recapHTML / celebrate). */
.runrecap h2{margin:4px 0 0;font:800 22px/1.25 var(--display)}
.recaphead{display:flex;flex-direction:column;gap:8px}
.recapfaces{display:flex}
.recapfaces .av{margin-inline-start:-8px;box-shadow:0 0 0 2px var(--surface)}
.recapfaces .av:first-child{margin-inline-start:0}
.recapmoments{display:flex;flex-direction:column;gap:6px}
.recapmoments span{background:var(--gold-tint);color:var(--ink);border-radius:12px;padding:8px 12px;font-size:14px;font-weight:600}
.runpeople .num.quiet{font-size:14px}
.runconnect h2{margin:2px 0;font:800 20px/1.25 var(--display)}
.runpick{display:flex;flex-direction:column;gap:6px}
.runpick label{display:flex;align-items:center;gap:8px;font-weight:650}
.runinvite{display:flex;gap:8px;align-items:center}
.runinvite select,.runinvite input{flex:1;min-width:0;font:inherit;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink)}
.runinvite .btn{flex:none}
.recapintro{position:fixed;inset:0;z-index:70;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  padding:24px;text-align:center;color:#fff;background:radial-gradient(circle at 50% 40%,#26705AF2,#101A1BF5 70%);animation:rescue-in .3s ease-out}
.recapring{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:320px;margin-bottom:8px}
.recapring .av{width:52px;height:52px;font-size:22px;opacity:0;transform:scale(.4);animation:face-in .45s cubic-bezier(.2,.9,.3,1.3) forwards;
  box-shadow:0 0 0 3px #FFFFFF55}
.recapkm{font:800 72px/1 var(--display)}
.recapunit{font-weight:700;opacity:.85}
.recapintro h1{margin:8px 0 0;font:800 34px/1.1 var(--display);opacity:0;animation:fade-up .4s 1.4s ease-out forwards}
.recapintro p{margin:0;opacity:0;animation:fade-up .4s 1.7s ease-out forwards;color:#FFFFFFD9}
@keyframes face-in{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.recapintro,.recapring .av,.recapintro h1,.recapintro p{animation:none;opacity:1;transform:none}}
.runpeople .av,.recapfaces .av,.recapring .av{background:var(--pine)}

/* "חדש ב-Rutz": the runs screen (newsSheet, 26.10). */
.newslist{list-style:none;margin:4px 0;padding:0;display:flex;flex-direction:column;gap:12px}
.newslist li{display:flex;gap:12px;align-items:flex-start}
.newslist li > span{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:12px;background:var(--pine-tint);font-size:18px}
.newslist li div{display:flex;flex-direction:column;gap:2px}
.newslist li div span{font-size:14px;color:var(--ink-2)}

/* A button that reads as a link inside a sentence (the photo hint, _yCPbMoK). */
.linkish{appearance:none;border:0;background:none;padding:0;font:inherit;color:var(--navy);
  font-weight:700;text-decoration:underline;cursor:pointer}

/* Adding a route from a file (routefile.js). */
.routefile{display:flex;flex-direction:column;gap:6px;margin-top:4px}
.routefile .chips{align-items:center}

/* A praise just sent (the board, -g1bWA-m). */
.eyebrow.sent{display:inline-block;color:var(--pine);font-size:13px;font-weight:800;animation:sentpop .45s cubic-bezier(.2,1.6,.4,1)}
@keyframes sentpop{0%{transform:scale(.85);opacity:0}100%{transform:none;opacity:1}}
