/* Training v2.0 (27 Nov 2026): intro, Skill card, Diagnosis, plan path extras, step page. Tokens only, so light and dark both work. */
.t2Page { display: flex; flex-direction: column; gap: 14px; }
.t2Page > .rmHead { margin-bottom: 2px; }
.t2Skel { display: flex; flex-direction: column; gap: 12px; padding: 14px 0; }
.t2Skel .skel { display: block; height: 18px; }
.t2Eyebrow { color: var(--brand-text); }
.t2H2 { font: 700 26px/1.05 var(--font-num); text-transform: none; letter-spacing: 0.01em; }
.card h2.t2H2 { font-size: 26px; text-transform: none; }
.t2Sub { margin-top: 4px; font-size: 14.5px; color: var(--text-2); }
.t2Num { font-weight: 800; color: var(--text); background: color-mix(in srgb, var(--gold-fill) 26%, transparent); border-radius: 4px; padding: 0 3px; white-space: nowrap; }
.t2Msg { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* intro */
.t2Intro { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.t2IntroH { font: 700 32px/1.02 var(--font-num); text-transform: none; text-wrap: balance; }
.card h1.t2IntroH { font-size: 32px; text-transform: none; }
.t2IntroP { font-size: 17px; line-height: 1.4; color: var(--text-2); }
.t2IntroDone { font-size: 14.5px; color: var(--brand-text); font-weight: 600; }
.t2Start { margin-top: 4px; text-decoration: none; min-height: 56px; font-size: 17px; }
.t2Free { font-size: 14px; color: var(--text-3); text-align: center; }
.t2One summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--brand-text); }
.t2Rts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.t2Rt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.t2RtTxt { display: flex; flex-direction: column; min-width: 0; }
.t2RtTxt small { font-size: 14px; color: var(--text-3); }
.t2RtGo { text-decoration: none; flex: none; }
.t2After { display: flex; flex-direction: column; gap: 10px; }
.t2Gets { list-style: none; counter-reset: g; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.t2Gets li { counter-increment: g; position: relative; padding-left: 38px; display: flex; flex-direction: column; gap: 1px; }
.t2Gets li::before { content: counter(g); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); display: grid; place-items: center; font: 700 14px var(--font-ui); }
.t2Gets b { font-size: 16.5px; }
.t2Gets span { font-size: 14.5px; color: var(--text-2); }

/* the Skill card */
.t2Skill { display: flex; flex-direction: column; gap: 6px; }
.t2Again { text-decoration: none; border-radius: var(--r-pill); }
.t2Rows { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; }
.t2Row { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.t2Row:first-child { border-top: 0; padding-top: 4px; }
.t2RowTop { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.t2RowTop > b { font-size: 17px; }
.t2Score { font: 700 24px/1 var(--font-num); letter-spacing: 0.01em; }
.t2Score.dim { font: 500 14px var(--font-ui); color: var(--text-3); }
.t2Bar { position: relative; display: block; height: 10px; border-radius: 6px; background: var(--surface-3); overflow: visible; }
.t2Bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--line-3); }
.t2Bar.lv-beginner i { background: var(--text-3); }
.t2Bar.lv-league i { background: var(--brand); }
.t2Bar.lv-club i { background: var(--brand-hi); }
.t2Bar.lv-pro i { background: var(--gold-fill); }
.t2Bar.empty i { width: 0; }
.t2Tick { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--text-2); opacity: 0.55; border-radius: 1px; }
.t2RowBot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.t2Chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font: 700 14px var(--font-ui); letter-spacing: 0.04em; background: var(--surface-2); color: var(--text-2); }
.t2Chip.lv-league { background: var(--brand-soft); color: var(--brand-text); }
.t2Chip.lv-club { background: var(--brand); color: var(--on-brand); }
.t2Chip.lv-pro { background: var(--gold-fill); color: var(--gold-ink); }
.t2Next { font-size: 14px; color: var(--text-3); }
a.t2Next { color: var(--brand-text); }
.t2BA { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--text-3); padding: 6px 10px; border-radius: var(--r-s); background: var(--surface-2); }
.t2BA b { font: 700 16px var(--font-num); color: var(--text); letter-spacing: 0.02em; }
.t2BA.up b { color: var(--ok); }
.t2BA.down b { color: var(--danger); }
.t2Open { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; margin-top: 4px; }

/* the Diagnosis */
.t2Diag { display: flex; flex-direction: column; gap: 10px; border: 1.5px solid color-mix(in srgb, var(--gold-fill) 55%, var(--line)); background: color-mix(in srgb, var(--gold-fill) 6%, var(--surface)); }
.t2Diag .t2Eyebrow { color: var(--gold-text); }
.t2Lines { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.t2Line { display: flex; gap: 12px; align-items: flex-start; }
.t2LineN { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-fill); color: var(--gold-ink); font: 700 15px var(--font-ui); margin-top: 1px; }
.t2LineBody { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.t2LineP { font-size: 17px; line-height: 1.4; color: var(--text); overflow-wrap: anywhere; }
.t2Fix { min-height: 40px; display: inline-flex; align-items: center; font-size: 15px; }
.t2Clean { font-size: 16px; color: var(--text-2); }

/* the plan section */
.t2Plan { gap: 10px; }
.t2PlanHead { display: flex; align-items: center; justify-content: space-between; }
.t2St.st-passed { color: var(--ok); font-weight: 600; }
.t2St.st-target { color: var(--brand-text); font-weight: 600; }
.t2PathBA { font: 700 15px var(--font-num); letter-spacing: 0.02em; color: var(--text-3); }
.t2PathBA.up { color: var(--ok); }
.rmRow.lock .rmBub { color: var(--text-3); }
.t2Keep { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 0; }
.t2Keep .save { width: 100%; }
.t2Week { align-self: center; min-height: 44px; display: inline-flex; align-items: center; }

/* the step page */
.t2StepPage { width: 100%; max-width: 560px; margin: 0 auto; }
.t2StepHead { display: flex; flex-direction: column; gap: 4px; }
.t2StepH { font: 700 34px/1 var(--font-num); text-transform: none; }
.t2StepSt { font-size: 15px; color: var(--text-2); }
.t2StepSt.st-passed { color: var(--ok); font-weight: 600; }
.t2Sec { display: flex; flex-direction: column; gap: 10px; }
.t2SecH { display: flex; align-items: center; gap: 10px; font: 700 24px/1 var(--font-num); text-transform: none; letter-spacing: 0.01em; }
.card h2.t2SecH { font-size: 24px; text-transform: none; }
.t2SecN { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font: 700 15px var(--font-ui); }
.t2Why { font-size: 16.5px; line-height: 1.4; padding: 10px 12px; border-radius: var(--r-m); background: color-mix(in srgb, var(--gold-fill) 12%, var(--surface)); border-left: 4px solid var(--gold-fill); }
.t2Lesson { display: flex; flex-direction: column; gap: 10px; }
.t2LWhat { font-size: 16.5px; line-height: 1.45; color: var(--text); }
.t2LPrin { font-size: 16.5px; line-height: 1.45; color: var(--text-2); }
.t2Fig { margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; }
.t2Dg { width: 100%; height: auto; display: block; border-radius: var(--r-m); max-height: 300px; }
.t2Rail { fill: #4a2f1b; }
.t2Cloth { fill: #1d6b45; }
.t2Baulk { stroke: rgba(255,255,255,0.55); stroke-width: 0.006; }
.t2Pocket { fill: #0b0c0b; }
.t2Pocket.on { stroke: #f2c318; stroke-width: 0.012; }
.t2Ring { fill: rgba(242,195,24,0.18); stroke: #f2c318; stroke-width: 0.008; stroke-dasharray: 0.03 0.02; }
.t2Ball { stroke: rgba(0,0,0,0.35); stroke-width: 0.004; }
.t2Arrow { fill: none; stroke-linecap: round; }
.t2Arrow.aim { stroke: #ffffff; stroke-dasharray: 0.04 0.025; }
.t2Arrow.object { stroke: #f2c318; }
.t2Arrow.white { stroke: #f1ece0; stroke-dasharray: 0.012 0.03; stroke-width: 0.012; }
.t2Ah.aim { fill: #ffffff; } .t2Ah.object { fill: #f2c318; } .t2Ah.white { fill: #f1ece0; }
.t2DgText { fill: #fff; paint-order: stroke; stroke: rgba(0,0,0,0.65); stroke-width: 0.012; stroke-linejoin: round; font-family: var(--font-ui); font-weight: 600; }
.t2Key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--text-3); }
.t2Key span { display: inline-flex; align-items: center; gap: 6px; }
.t2Key span::before { content: ''; width: 18px; height: 0; border-top: 3px dashed var(--text-2); }
.t2Key .obj::before { border-top: 3px solid var(--gold-text); }
.t2Key .wht::before { border-top: 3px dotted var(--text-3); }
.t2How { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.4; }
.t2Watch { text-decoration: none; }
.t2Lvls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t2Lvl { min-height: 64px; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 14px; border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--text); text-decoration: none; }
.t2Lvl b { font-size: 17px; }
.t2Lvl small { font-size: 14px; color: var(--text-2); }
a.t2Lvl:hover { background: var(--brand-soft); }
.t2Lvl.off { box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--text-3); background: var(--surface-2); }
.t2Last { font-size: 15px; color: var(--text-2); }
.t2Last b { color: var(--text); }
.t2Tgt { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 17px; }
.t2Big { font: 700 44px/1 var(--font-num); color: var(--brand-text); }
.t2Prog { display: block; height: 14px; border-radius: 8px; background: var(--surface-3); overflow: hidden; }
.t2Prog i { display: block; height: 100%; background: var(--brand); border-radius: 8px; transition: width .4s var(--ease); }
.t2Result { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: var(--r-m); background: var(--surface-2); font-size: 16px; }
.t2Result.pass { background: var(--brand-soft); }
.t2BAline { font: 700 24px/1.1 var(--font-num); letter-spacing: 0.01em; }
.t2BAline.up { color: var(--ok); }
.t2Take, .t2NextStep { text-decoration: none; }
.t2UnlockStatic { position: static; transform: none; width: 100%; left: auto; top: auto; }
@media (max-width: 420px) { .t2H2, .card h2.t2H2 { font-size: 24px; } .t2IntroH, .card h1.t2IntroH { font-size: 29px; } .t2StepH { font-size: 31px; } }
@media (prefers-reduced-motion: reduce) { .t2Prog i { transition: none; } }
/* r21s: the early read (under 5 shots of a skill): a dashed chip and bar, never a level */
.t2Chip.lv-early { background: transparent; color: var(--text-2); border: 1px dashed var(--line, currentColor); }
.t2Bar.lv-early i { opacity: 0.55; }
.t2Early { margin: 2px 0 10px; font: 500 14px var(--font-ui); color: var(--text-2); }
.t2Bar.lv-early i { background: var(--text-3); }

/* r25b: the money moments (passing step 1 and step 2). Step 1: the two buttons are the same size; step 2: one primary and a small Not now */
.t2Money { border: 1px solid var(--brand); }
.t2MoneyH { font-size: 20px; line-height: 1.25; margin: 0 0 12px; }
.t2MoneyP { margin: 0 0 12px; color: var(--text-2); }
.t2MoneyBtns { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 10px; }
.t2MoneyBtns .btn { width: 100%; height: auto; min-height: 52px; padding: 10px 12px; white-space: normal; line-height: 1.25; text-align: center; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
@media (max-width: 520px) { .t2MoneyBtns { grid-template-columns: 1fr; } }
.t2MoneySmall { margin: 10px 0 0; text-align: center; }
.t2Money .t2MoneyGo { text-decoration: none; display: flex; align-items: center; justify-content: center; }
.t2NotNow { display: block; margin: 8px auto 0; min-height: 44px; padding: 0 16px; color: var(--text-2); }
/* r25c "At the table" (training2/table.js) */
.t2Table .t2TblName { font-size: 18px; margin: 4px 0 2px; }
.t2TblTgt { margin: 6px 0; }
.t2TblForm { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 6px; }
.t2TblF { display: flex; flex-direction: column; gap: 4px; flex: 1 1 120px; min-width: 0; }
.t2TblF .input { width: 100%; box-sizing: border-box; }
.t2TblLog { flex: 1 1 100%; }
.t2TblMsg:empty { display: none; }
.t2TblTrend { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.t2TblBars { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: flex-end; height: 120px; }
.t2TblBar { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; }
.t2TblBar i { display: block; width: 100%; max-width: 30px; background: var(--brand-soft, #cfe5d7); border-radius: 4px 4px 0 0; }
.t2TblBar.hit i { background: var(--brand, #1c5a3e); }
.t2TblBar b { font-size: 14px; }
.t2TblBar small { font-size: 14px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* 3 Dec 2026: the guided step (one screen, one main button; step.js). Tokens only, light and dark. */
.t2GHead { gap: 6px; }
.t2Dots { list-style: none; margin: 2px 0 2px; padding: 0; display: flex; gap: 6px; }
.t2Dots li { flex: 1 1 0; height: 6px; border-radius: 3px; background: var(--surface-3); }
.t2Dots li.done { background: var(--brand); }
.t2Dots li.here { background: var(--brand-text); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 35%, transparent); }
.t2Guide { display: flex; flex-direction: column; gap: 12px; }
.t2Go { text-decoration: none; min-height: 52px; font-size: 17px; display: flex; align-items: center; justify-content: center; margin-top: 4px; }
.t2Again2 { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; color: var(--brand-text); }
.t2LvlNow { font-size: 16px; color: var(--text-2); }
.t2LvlNow b { font: 700 22px/1 var(--font-num); color: var(--text); letter-spacing: 0.01em; }
.t2Steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.t2Steps4 i { display: block; height: 10px; border-radius: 5px; background: var(--surface-3); }
.t2Steps4 i.done { background: var(--brand); }
.t2Steps4 i.here { background: color-mix(in srgb, var(--brand) 40%, var(--surface-3)); }
.t2LvlLine { font-size: 16px; line-height: 1.4; padding: 10px 12px; border-radius: var(--r-m); background: var(--surface-2); color: var(--text); }
.t2Whole { margin-top: 2px; }
.t2WholeS { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; color: var(--brand-text); list-style: none; }
.t2WholeS::-webkit-details-marker { display: none; }
.t2Whole[open] .t2WholeS { margin-bottom: 10px; }
