/* The Today page (wtp3, 28 Nov 2026): Home for a signed-in player with a plan. Light design (tokens.css), baize green as the one accent, no gold.
   Nothing under 14 px; every tap target 48 px or more. */
.todayCols { display: flex; flex-direction: column; gap: var(--sec-gap, 24px); }
.todayCols > .gsSlot { order: 0; min-width: 0; }              /* phones: the checklist sits below Today, above the story shots */
.tdMain { display: flex; flex-direction: column; gap: 16px; min-width: 0; order: -1; }
.tdShots { display: flex; flex-direction: column; gap: var(--sec-gap, 24px); min-width: 0; order: 1; }
@media (min-width: 1024px) {
  .todayCols.gsOn { display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 32px; row-gap: var(--sec-gap, 24px); align-items: start; }
  .todayCols.gsOn > .tdMain { grid-column: 1; grid-row: 1; }
  .todayCols.gsOn > .tdShots { grid-column: 1; grid-row: 2; }
  .todayCols.gsOn > .gsSlot { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--top-h, 72px) + 20px); }
}

.tdHero { display: flex; flex-direction: column; gap: 14px; padding: var(--card-pad, 20px); }
.tdHero .eyebrow { display: block; }
.tdHi { margin: 0; font: 800 28px/34px var(--font-ui); letter-spacing: -0.01em; color: var(--text); }
.tdStats { display: flex; align-items: center; gap: 20px; }
.tdRing { position: relative; flex: none; width: 112px; height: 112px; }
.tdRing svg { display: block; width: 100%; height: 100%; }
.tdRing circle { fill: none; stroke-width: 9; }
.tdRingBg { stroke: var(--surface-2); }
.tdRingFg { stroke: var(--brand); stroke-linecap: round; transition: stroke-dasharray 0.5s var(--ease, ease); }
.tdRingTxt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-variant-numeric: tabular-nums; }
.tdRingTxt b { font: 800 34px/36px var(--font-num); color: var(--text); }
.tdRingTxt span { font: 600 14px/18px var(--font-ui); color: var(--text-2); }
.tdFacts { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tdStreak { display: flex; align-items: center; gap: 8px; font: 700 18px/24px var(--font-ui); color: var(--text); }
.tdFlame { display: inline-grid; color: var(--brand); }
.tdFlame svg { width: 22px; height: 22px; fill: currentColor; }
.tdStreakSub { color: var(--text-2); font: 500 14px/20px var(--font-ui); }
.tdWeek { display: flex; justify-content: space-between; gap: 6px; max-width: 380px; }
.tdDay { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.tdDay i { display: inline-grid; box-sizing: border-box; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-3); background: var(--surface); color: transparent; }
.tdDay i svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.tdDay em { font: 600 14px/16px var(--font-ui); font-style: normal; color: var(--text-2); }
.tdDay.on i { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.tdDay.today i { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); border-color: var(--brand); }
.tdDay.today em { color: var(--text); font-weight: 800; }
.tdDay.future i { border-style: dashed; border-color: var(--line); }
.tdStart { margin-top: 2px; }

.tdTasks { display: flex; flex-direction: column; gap: 10px; padding: var(--card-pad, 20px); }
.tdTasksHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tdTasksHead h2 { margin: 0; font: 800 22px/28px var(--font-ui); color: var(--text); }
.tdCount { font: 700 15px/20px var(--font-ui); color: var(--text); font-variant-numeric: tabular-nums; }
.tdList { list-style: none; margin: 0 -8px; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tdRow { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px; border-radius: 12px; color: var(--text); text-decoration: none; }
.tdRow:hover { background: var(--surface-2); }
.tdDot { flex: none; display: inline-grid; box-sizing: border-box; width: 28px; height: 28px; place-items: center; border-radius: 50%; border: 2px solid var(--line-3); background: var(--surface); color: transparent; }
.tdDot svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tdLab { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tdLab b { font: 700 17px/22px var(--font-ui); }
.tdLab small { font: 500 14px/20px var(--font-ui); color: var(--text-2); }
.tdChev { flex: none; display: inline-grid; color: var(--text-2); }
.tdChev svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tdRow.done .tdLab b { color: var(--text-2); font-weight: 600; }
.tdRow.done .tdDot { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.tdRow.done .tdChev { opacity: 0.5; }
.tdRow.next { background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.tdRow.next .tdDot { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.tdRow.next .tdChev { color: var(--brand-text); }
.tdRow.lock .tdLab b { color: var(--text-2); font-weight: 600; }
.tdRow.lock .tdDot { background: var(--surface-2); color: var(--text-2); border-color: var(--line); }
.tdRow.lock .tdDot svg { width: 15px; height: 15px; stroke-width: 2.2; }
.tdFun { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 52px; padding: 8px 12px; border-radius: 12px; text-decoration: none; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.tdFun b { font: 700 16px/22px var(--font-ui); }
.tdFun span:not(.tdChev) { flex: 1; min-width: 0; color: var(--text-2); font: 500 15px/22px var(--font-ui); }
.tdFun:hover { background: var(--surface-2); }

.tdMore { display: flex; flex-direction: column; gap: 14px; padding: var(--card-pad, 20px); }
.tdMore h2 { margin: 0; font: 800 22px/28px var(--font-ui); color: var(--text); }
.tdMoreRow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tdMoreTxt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.tdMoreTxt b { font: 700 17px/22px var(--font-ui); }
.tdMoreTxt span { font: 500 15px/22px var(--font-ui); color: var(--text-2); }
.tdDrills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tdDrill { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 14px; border-radius: 14px; text-decoration: none; color: var(--text); background: var(--surface-2); }
.tdDrill b { font: 700 16px/22px var(--font-ui); }
.tdDrill span { font: 500 14px/20px var(--font-ui); color: var(--text-2); }
.tdDrill:hover { background: var(--brand-soft); }
@media (max-width: 420px) { .tdDrills { grid-template-columns: 1fr; } .tdRing { width: 96px; height: 96px; } .tdStats { gap: 14px; } }

/* the Training tab's "7 days free" badge (non-payers who have not used the trial) */
.trialBadge { display: inline-block; box-sizing: border-box; padding: 0 8px; height: 20px; border-radius: 10px; background: var(--brand); color: var(--on-brand); font: 700 14px/20px var(--font-ui); white-space: nowrap; }
.topnav .trialBadge { margin-left: 8px; vertical-align: middle; }
.tabbar .trialBadge { position: absolute; top: 0; left: 50%; transform: translateX(-12%); box-shadow: 0 0 0 2px var(--nav-bg); pointer-events: none; }
@media (min-width: 1024px) { .tabbar .trialBadge { position: static; transform: none; margin-left: 6px; box-shadow: none; } }
/* build 8 polish: in the side rail (phones held sideways) the badge sits inside its tab, under the label, instead of
   spilling over the rail's edge and the Training icon; the rail's labels fit its 76 px tabs ("Community") */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 899px) {
  .tabbar .trialBadge { position: static; transform: none; box-shadow: none; height: 18px; padding: 0 6px; font: 700 12px/18px var(--font-ui); margin-top: 1px; }
  .tabbar a:not(.railLogo) { width: 76px; font-size: 13px; }
}
