/* journal, calendar, day drawer, skills, one skill, settings, about, privacy. Shared components are in bead.css.
   Colors come only from the bead.css tokens (including --seg-on for pressed segments), so dark mode follows them. */

/* the 30 px segments get a 44 px tall touch target */
.journal .seg button, .set-seg button { position: relative; }
.journal .seg button::after, .set-seg button::after { content: ''; position: absolute; left: 0; right: 0; top: -7px; bottom: -7px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.hair { height: 1px; background: var(--line); flex: none; }
.cal-nav:disabled { opacity: 0.28; cursor: default; }

/* ---------- journal: strands ---------- */
.jr-month { display: flex; flex-direction: column; gap: 10px; }
.jr-month:first-of-type { padding-top: 4px; }
.jr-month-head { display: flex; justify-content: space-between; align-items: baseline; }
.jr-month-name { font-size: 17px; }
.jr-month-count, .jr-cap { font-size: 13px; color: var(--ink-2); }
.jr-beads { display: block; max-width: 100%; cursor: pointer; overflow: visible; }
.jr-empty { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; }
.jr-legend { padding-top: 8px; }

/* ---------- journal: calendar ---------- */
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-right: -12px; }
.cal-title { font-size: 34px; }
.cal-head-right { display: flex; align-items: center; gap: 0; }
.cal-head-right .sub { margin-right: 6px; }
.cal { display: flex; flex-direction: column; gap: 6px; }
.cal-dow, .cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-dow { text-align: center; font-size: 12px; color: var(--ink-2); }
.cal-grid { display: flex; flex-direction: column; }
.cal-day { height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; padding: 0; border: none; background: transparent; color: var(--ink-2); font-size: 11px; position: relative; }
button.cal-day { cursor: pointer; border-radius: 12px; }
button.cal-day:active { background: var(--paper-3); }
.cal-n { line-height: 14px; }
.cal-day.today .cal-n { color: var(--ink); font-weight: 500; }
.cal-mark { width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; position: relative; }
.cal-mark svg { display: block; }
.cal-ring { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; border: 1px solid var(--ink); }
.cal-slot { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--accent); }

/* ---------- day drawer ---------- */
.scrim.in { animation: scrim-in 0.2s ease-out; }
.drawer.in { animation: drawer-in 0.26s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes scrim-in { from { opacity: 0; } }
@keyframes drawer-in { from { transform: translate(-50%, 40px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.day-drawer:focus { outline: none; }
.day-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.day-head-left { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.day-when { font-size: 13px; color: var(--ink-2); }
.day-n { font-family: var(--serif); font-size: 30px; line-height: 1; }
.day-head-right { display: flex; align-items: center; gap: 10px; text-align: right; }
.day-state { font-size: 13px; color: var(--ink-2); max-width: 170px; line-height: 1.35; }
.day-bead { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; flex: none; }
.day-bead svg { display: block; }
.day-parts { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.day-part { display: grid; grid-template-columns: minmax(0, 1fr) 104px minmax(64px, auto); align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); font-size: 15px; gap: 8px; }
.day-part-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.day-part-level { font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.day-part-level svg { display: block; flex: none; }
.day-part-value { text-align: right; }
.day-notes { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.day-notes:empty { display: none; }
.day-up, .day-seal { display: inline-flex; align-items: center; gap: 7px; }
.day-up svg, .day-seal svg { display: block; flex: none; }
.day-seal { color: var(--ink); }
.day-note { width: 100%; border: none; border-bottom: 1px solid var(--line); background: transparent; resize: none; font-size: 15px; line-height: 1.45; padding: 10px 0; min-height: 44px; border-radius: 0; overflow: hidden; box-sizing: border-box; }
.day-note::placeholder { color: var(--ink-3); }
.day-note:focus { outline: none; border-bottom-color: var(--ink-2); }

/* ---------- skills: see css/progress.css ---------- */

/* ---------- one skill ---------- */
.skill .page { gap: 16px; }
.ci-head { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.ci-label { font-size: 13px; color: var(--ink-2); }
.ci-big { font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1.1; letter-spacing: -0.3px; }
.ci-none { font-size: 17px; color: var(--ink-2); padding: 6px 0 4px; }
.ci-chart { display: block; max-width: 100%; overflow: visible; }
.ci-band { fill: var(--paper-3); }
.ci-base { stroke: var(--line); stroke-width: 1; }
.ci-line { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.ci-dot { fill: var(--ink); }
.ci-text { font-family: var(--sans); font-size: 11px; fill: var(--ink-2); }
.ex-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 4px; }
.ex-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 56px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ex-row.locked { grid-template-columns: 14px minmax(0, 1fr); gap: 12px; align-items: start; }
.ex-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ex-name { font-size: 15px; }
.ex-rule { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.ex-meta { font-size: 12px; color: var(--ink-2); padding-top: 1px; }
.ex-lock-dot { width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; border: 1.5px solid var(--ink-3); }
.ex-practice { position: relative; height: 36px; border-radius: 18px; border: 1px solid var(--ink); background: transparent; font-size: 13px; padding: 0 12px; }
.ex-practice::after { content: ''; position: absolute; inset: -4px 0; }
.ex-practice:active { background: var(--paper-3); }

/* ---------- strand: one skill per row, the band it reached with its material ---------- */
.moves.moves-1 { grid-template-columns: minmax(0, 1fr); }
.move-to { display: inline-flex; align-items: center; gap: 7px; }
.move-to svg { display: block; flex: none; }

/* ---------- settings ---------- */
.settings .page { gap: 22px; }
.set-group { display: flex; flex-direction: column; gap: 8px; }
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.set-label { display: flex; flex-direction: column; gap: 2px; }
.set-sub { font-size: 13px; color: var(--ink-2); }
.set-note, .set-status { padding-top: 2px; }
.sp-status .set-label > span:not(.sp-fine) + .sp-fine { margin-top: 4px; }
.set-status { color: var(--ink); }
.set-action { width: 100%; border-left: none; border-right: none; border-top: none; background: transparent; text-align: left; padding: 8px 0; }
.set-action:active { background: var(--paper-3); }
.set-time { height: 36px; border: 1px solid var(--line); border-radius: 18px; background: transparent; padding: 0 12px; font-size: 15px; min-width: 112px; }
.set-time:focus { outline: none; border-color: var(--ink-2); }
.set-confirm { display: flex; flex-direction: column; gap: 12px; padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.set-confirm-btns { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.set-confirm .btn { height: 48px; font-size: 15px; }
.set-about { padding-top: 12px; }
.set-seg-row { gap: 12px; }
.set-seg { flex: none; }
.set-link { justify-content: space-between; color: var(--ink); text-decoration: none; }
.set-chev { flex: none; color: var(--ink-3); margin-right: 2px; }
.set-notice { color: var(--ink); padding: 2px 0 2px 12px; border-left: 2px solid var(--ink-3); margin-bottom: 4px; }
.set-goal .set-sub { color: var(--ink); }
.set-goal[aria-expanded='true'] .set-chev { transform: rotate(90deg); }
.set-goals { display: flex; flex-direction: column; padding: 4px 0 8px; border-bottom: 1px solid var(--line); }
.set-goal-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 0 2px; border: none; background: transparent; text-align: left; font-size: 15px; color: var(--ink); }
.set-goal-opt i { width: 20px; height: 20px; border-radius: 50%; border: 1.2px solid var(--slot); flex: none; position: relative; }
.set-goal-opt.on i { border-color: var(--ink); }
.set-goal-opt.on i::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); }
.set-goal-opt:active { background: var(--paper-3); }

/* thin on/off switch inside a 44 px target */
.set-switch { width: 52px; height: 44px; margin-right: -4px; border: none; background: transparent; padding: 0; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.set-switch i { width: 42px; height: 24px; border-radius: 12px; border: 1px solid var(--ink-3); position: relative; transition: background 0.18s, border-color 0.18s; }
.set-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-3); transition: transform 0.18s, background 0.18s; }
.set-switch[aria-checked='true'] i { background: var(--ink); border-color: var(--ink); }
.set-switch[aria-checked='true'] i::after { transform: translateX(18px); background: var(--paper); }

/* ---------- about ---------- */
.about .page { gap: 22px; }
.ab-id { display: flex; align-items: center; gap: 14px; }
.ab-bead { width: 40px; height: 40px; flex: none; }
.ab-bead svg { display: block; }
.ab-id-text { display: flex; flex-direction: column; gap: 2px; }
.ab-name { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.ab-version { font-size: 13px; color: var(--ink-2); }
.ab-disclaimer { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.ab-drawer { padding-top: 0; gap: 10px; }
.ab-drawer:focus { outline: none; }
.ab-drawer-head { position: sticky; top: 0; z-index: 1; display: flex; flex-direction: column; gap: 6px; margin: 0 -24px; padding: 12px 24px 4px; background: var(--paper-2); }
.ab-drawer-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ab-drawer-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.ab-done { height: 44px; min-width: 44px; border: none; background: transparent; padding: 0 0 0 12px; font-size: 15px; color: var(--ink); }
.ab-licenses { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--sans); font-size: 12px; line-height: 1.55; color: var(--ink-2); }
.ab-licenses:focus { outline: none; }

/* ---------- privacy ---------- */
.privacy .page { gap: 18px; }
.pv-head { display: flex; flex-direction: column; gap: 10px; }
.pv-date { margin: 0; font-size: 13px; color: var(--ink-2); }
.pv-intro { margin: 0; font-size: 15px; line-height: 1.55; }
.pv-section { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.pv-section h2 { margin: 0; font-size: 15px; font-weight: 600; }
.pv-section p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pv-section a { color: inherit; text-underline-offset: 3px; }

/* ---------- the bottom tabs (ui/tabs.js): Today · Train · You — three words on paper, a hairline above ---------- */
.tabbar {
  position: fixed; z-index: 10; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 12px var(--safe-bottom);
  background-color: var(--paper); background-image: var(--grain); box-shadow: 0 -1px 0 var(--line);
}
.tab { position: relative; height: 54px; border: none; background: transparent; font-size: 15px; letter-spacing: 0.2px; color: var(--ink-2); }
.tab.on { color: var(--ink); font-weight: 600; }
.tab.on::before { content: ''; position: absolute; top: 0; left: 50%; width: 22px; height: 2px; margin-left: -11px; border-radius: 0 0 2px 2px; background: var(--ink); }
.tab:active { background: var(--paper-3); }
.tab:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: 10px; }
/* a tab's page leaves room for the bar */
.screen.has-tabs .page { padding-bottom: calc(var(--safe-bottom) + 78px); }

/* ---------- Today (screens/home.js) ---------- */
.page.today .home-ring { margin-top: 4px; }
.page.today .today-level { margin: 12px 0 0; font-size: 27px; line-height: 1.1; text-align: center; }
.today-act { width: 100%; max-width: 340px; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; }
.today-act > p { margin: 0; text-align: center; }
.today-sub { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.today-quiet { min-height: 44px; font-size: 15px; color: var(--ink); text-decoration-color: var(--ink-3); }
.today-goal { margin-top: 4px !important; display: inline-flex; align-items: center; gap: 9px; font-size: 14px; line-height: 1.3; color: var(--ink); }
.today-dots { display: inline-flex; align-items: center; gap: 5px; }
.today-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.3px solid var(--ink-3); box-sizing: border-box; }
.today-dots i.on { background: var(--ink); border-color: var(--ink); }
.today-intro { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); max-width: 280px; }
.page.today .home-alt { margin: 2px 0 -8px; }
.page.today .home-label { margin-top: 14px; }

/* the one card: a level reached today, the next new challenge, or the levels since the placement */
.today-card {
  width: 100%; max-width: 340px; margin-top: 18px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px;
  align-items: center; padding: 11px 16px 11px 12px; border-radius: 18px; text-align: left; color: var(--ink); font: inherit;
}
.today-card.is-placed { grid-template-columns: minmax(0, 1fr); padding-left: 16px; }
button.today-card:active { transform: scale(0.99); }
.tc-pic { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex: none; }
.tc-pic svg { display: block; }
.tc-icon { border-radius: 12px; background: var(--stage); }
.today-card .tc-icon .ex-icon { color: var(--stage-ink); }
.tc-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tc-main { font-size: 16px; line-height: 1.3; }
.tc-main.serif { font-size: 22px; line-height: 1.1; }
.tc-sub { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }

@media (max-height: 700px) {
  .page.today .today-level { margin-top: 8px; font-size: 24px; }
  .today-act { margin-top: 10px; gap: 6px; }
  .today-card { margin-top: 12px; padding-top: 9px; padding-bottom: 9px; }
}

/* ---------- You (screens/you.js): where you stand and everything kept ---------- */
.page.you { gap: 16px; padding-top: calc(var(--safe-top) + 12px); }
.you-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-right: -12px; }
.you-head { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; min-width: 0; }
.you-gear { color: var(--ink); flex: none; }
.page.you .you-level { margin-top: 2px; }
.you-since { margin: -4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 14px; line-height: 1.4; }
.you-since b { font-weight: 600; }
.you-since .muted { font-size: 13px; }
.page.you .you-proof { margin-top: 4px; }
.you-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 4px; }
.you-row {
  width: 100%; min-height: 54px; padding: 8px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  border: none; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font-size: 16px; color: var(--ink);
}
.you-row:active { background: var(--paper-3); }
.you-row-l { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.you-row-l .seal-icon { display: block; flex: none; }
.you-row-r { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 13px; color: var(--ink-2); }
.you-val { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.you-val small { font-size: 12px; }
.you-chev { display: block; flex: none; color: var(--ink-3); }
/* Settings › Your training: a control under its label, full width (Bead v3 phase 1) */
.set-seg-row.stack { flex-direction: column; align-items: stretch; gap: 10px; }
.set-seg-row.stack .set-seg { display: flex; }
.set-seg-row.stack .set-seg button { flex: 1 1 0; padding: 0 6px; }
.set-ages { gap: 6px; }
.set-ages .chip { height: 36px; min-width: 0; padding: 0 12px; font-size: 14px; }

/* ---------- Today, v3 phase 2: the streak pill, its one note, the Benchmark card ---------- */
.page.today .home-when { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding-top: 6px; }
.page.today .home-when:not(.has-pill) { padding-top: 10px; }
.home-date { font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.home-when:not(.has-pill) .home-date { color: var(--ink); font-size: 16px; }
.streak-pill {
  position: relative; height: 32px; padding: 0 13px 0 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--card);
  display: inline-flex; align-items: center; gap: 0; font-size: 14px; color: var(--ink); white-space: nowrap; flex: none;
}
.streak-pill::after { content: ''; position: absolute; left: 0; right: 0; top: -6px; bottom: -6px; }
.streak-pill:active { transform: scale(0.97); }
.streak-pill b { font-weight: 600; display: inline-block; }
.streak-pill .sp-dot { width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.streak-pill.is-up b.tick { animation: streak-tick 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes streak-tick { 0% { transform: translateY(6px); opacity: 0; } 60% { transform: translateY(-2px); opacity: 1; } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .streak-pill.is-up b.tick { animation: none; } }
.today-streak-note { font-size: 13px; line-height: 1.45; color: var(--ink); max-width: 300px; }
.today-card.is-benchmark { grid-template-columns: 44px minmax(0, 1fr) auto; }
.today-card.is-benchmark .tc-main { font-size: 17px; }
.tc-go { align-self: center; height: 36px; padding: 0 14px; border-radius: 18px; background: var(--ink); color: var(--paper); font-size: 14px; display: inline-flex; align-items: center; }

/* ---------- You, v3 phase 2: the three skills, the Benchmark, the next seal ---------- */
.you-sec { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.you-sec-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 22px; }
.you-more { border: none; background: transparent; color: var(--ink-2); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -11px 0; padding: 0; }
.you-skills { gap: 0; }
.you-skills .you-sec-h { margin-bottom: 2px; }
.you-skill {
  width: 100%; min-height: 54px; display: grid; grid-template-columns: 82px 40px minmax(0, 1fr) auto 7px; gap: 10px; align-items: center;
  padding: 6px 0; border: none; border-top: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; font: inherit;
}
.you-skill:last-child { border-bottom: 1px solid var(--line); }
.you-skill:active { background: var(--paper-3); }
.ys-name { font-size: 16px; }
.ys-lv { font-size: 30px; line-height: 1; text-align: right; }
.ys-bar { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ys-steps { display: flex; gap: 3px; }
.ys-steps i { flex: 1 1 0; height: 4px; border-radius: 2px; background: var(--slot); opacity: 0.6; }
.ys-steps i.done, .ys-steps i.now { opacity: 1; }
.ys-steps i.done { background: var(--ink-2); }
.ys-steps i.now { background: var(--accent); }
.ys-band { font-size: 11.5px; color: var(--ink-2); }
.ys-wk { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.ys-wk.up { color: var(--ink); font-weight: 600; }
.you-bench { padding: 12px 14px; border-radius: 18px; border: 1px solid var(--card-edge); background: var(--card); box-shadow: var(--card-shadow); }
.you-bench-n { font-size: 12px; color: var(--ink-2); }
.yb-rows { display: flex; flex-direction: column; }
.yb-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'name vals' 'name word'; column-gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); }
.yb-name { grid-area: name; font-size: 14.5px; align-self: center; }
.yb-vals { grid-area: vals; font-size: 14px; text-align: right; white-space: nowrap; }
.yb-vals b { font-weight: 600; }
.yb-first { color: var(--ink-2); }
.yb-word { grid-area: word; font-size: 11.5px; color: var(--ink-2); text-align: right; }
.yb-word:empty { display: none; }
.yb-word.up { color: var(--ink); font-weight: 600; }
.yb-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 40px; padding-top: 4px; }
.yb-when { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink); }
.yb-when svg { display: block; flex: none; }
.yb-go { height: 40px; padding: 0 18px; font-size: 14px; background: var(--ink); color: var(--paper); }
.yb-note { margin-top: 2px; }
.you-seals { padding: 10px 0 12px; border: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; font: inherit; }
.you-seals:active { background: var(--paper-3); }
.ysl-body { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ysl-next { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ysl-face, .ysl-r { display: inline-flex; flex: none; }
.ysl-face svg, .ysl-r svg { display: block; overflow: visible; }
.ysl-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 13.5px; line-height: 1.35; }
.ysl-k { font-size: 11px; color: var(--ink-2); letter-spacing: 1.2px; text-transform: uppercase; }
.ysl-recent { display: inline-flex; gap: 4px; flex: none; }
.page.you .you-rows { margin-top: 0; }

/* ---------- Streak (screens/streak.js) ---------- */
.streak .page { gap: 16px; }
.stk-head { display: flex; align-items: baseline; gap: 12px; margin-top: -4px; }
.stk-big { font-size: 84px; line-height: 0.9; letter-spacing: -1px; }
.stk-unit { font-size: 17px; color: var(--ink-2); }
.stk-note { margin: -6px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
.stk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stk-stats > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.stk-stats > div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.stk-stats .v { font-size: 30px; line-height: 1; }
.stk-stats .k { font-size: 12px; color: var(--ink-2); }
.stk-cal { display: flex; flex-direction: column; gap: 2px; }
.stk-dow, .stk-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.stk-dow { font-size: 11.5px; color: var(--ink-2); text-align: center; padding-bottom: 4px; }
.stk-day { height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px; font-size: 11px; color: var(--ink-3); border-radius: 12px; position: relative; }
.stk-day.is-trained, .stk-day.is-rest, .stk-day.is-repaired { color: var(--ink-2); }
.stk-day.is-future { opacity: 0.35; }
.stk-day.is-today { box-shadow: inset 0 0 0 1px var(--ink); }
.stk-day.is-today .stk-n { color: var(--ink); font-weight: 600; }
.stk-n { line-height: 14px; padding-top: 4px; }
.stk-mark { width: 12px; height: 12px; display: flex; align-items: center; justify-content: center; }
.stk-mark svg, .stk-legend svg, .stk-rest svg { display: block; }
.sk-dot { fill: var(--ink); }
.sk-ring { fill: none; stroke: var(--ink-2); stroke-width: 1.2; }
.sk-half { fill: var(--ink-2); }
.stk-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-2); margin-top: -6px; }
.stk-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.stk-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.stk-row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.stk-row > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.stk-row b { font-weight: 500; font-size: 15px; color: var(--ink); }
.stk-rest { display: inline-flex; gap: 4px; align-items: center; }
.stk-rest i { width: 10px; height: 10px; border-radius: 50%; border: 1.2px solid var(--ink-2); box-sizing: border-box; }
.stk-rest i.on { background: var(--ink); border-color: var(--ink); }
.stk-seal { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper-2); }
.stk-seal-face { display: flex; flex: none; }
.stk-seal-face svg { display: block; overflow: visible; }
.stk-seal-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.35; }
.stk-how ul { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.stk-show { margin-top: 2px; }

/* ---------- Journal, v3: a day's rounds by workout ---------- */
.day-group { padding: 10px 0 2px; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.day-again { font-size: 12px; color: var(--ink-2); }

/* ---------- one skill, v3: what the level is on, the Benchmark tests ---------- */
.sk1-on { margin: -8px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink); }
.sk1-bench { display: flex; flex-direction: column; gap: 14px; }
.ci-big-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ci-big-row .ci-big { font-size: 32px; }
.ci-word { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.ci-word.up { color: var(--ink); font-weight: 600; }
.ci-dot.is-early { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.stk-head.is-quiet .stk-big { color: var(--ink-2); }
.ci-big-row .ci-big.is-long { font-size: 24px; }
