/* Interaction improvements layered over the original visual theme. */
[hidden] { display:none !important; }
.lesson-search-field { max-width:540px; }
.brand-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.nav-toggle { display:none; }
.btn { min-height:42px; }
.btn.hero-secondary { background:transparent; border-color:#668375; color:#e5f0e7; white-space:normal; text-align:left; }
.btn.hero-secondary:hover { background:#29493d; }
.hero .actions { align-items:flex-start; }
.hero .actions .btn { max-width:100%; }
.small { font-size:13px; }
.tiny { font-size:11px; }
.subtitle { line-height:1.7; }
.field-help { line-height:1.6; }
.session-size { margin:0; min-width:145px; flex-shrink:0; }
.practice-start .row { align-items:flex-start; }
.disclosure { border:1px solid var(--line); border-radius:10px; padding:15px 18px; background:#fcfcf9; }
.disclosure > summary { cursor:pointer; font-size:13px; font-weight:650; list-style-position:inside; }
.disclosure > summary::marker { color:var(--green); }
.disclosure > summary:focus-visible { outline:3px solid #b68a3d; outline-offset:6px; }
.disclosure > .card-grid { padding-top:5px; }
.draft-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 12px; background:#edf2e5; border:1px solid #d4dfc3; border-radius:7px; font-size:11px; margin-bottom:18px; }
.draft-bar .plan-log { flex-shrink:0; }
.choice { display:flex; align-items:center; gap:13px; min-height:56px; }
.answer-key { display:inline-grid; place-items:center; width:25px; height:25px; border:1px solid #d4dcd0; border-radius:5px; font-size:11px; color:var(--muted); flex-shrink:0; }
.answer-mark { margin-left:auto; font-size:21px; font-weight:700; }
.binary-choices { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.binary-choices .choice { min-height:83px; justify-content:center; font-size:22px; font-weight:700; margin-top:0; }
.binary-choices .call-choice:not(.correct):not(.wrong) { background:#e6efdd; border-color:#a5be91; }
.binary-choices .fold-choice:not(.correct):not(.wrong) { border-color:#d8b9b1; }
.binary-choices .answer-key { font-size:12px; font-weight:400; }
.choice:disabled { opacity:.7; }
.choice.correct, .choice.wrong { opacity:1; }
.decision-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:25px 0 15px; padding:20px 0; border-top:1px solid #4a6a5e; border-bottom:1px solid #4a6a5e; }
.decision-facts span, .decision-facts small { display:block; color:#c4d6c9; font-size:12px; }
.decision-facts strong { display:block; font-family:Georgia,serif; font-size:36px; color:var(--lime); font-weight:400; margin:5px 0; line-height:1.2; }
.decision-facts small { font-size:10px; }
.practice-next { position:sticky; bottom:0; background:linear-gradient(transparent,var(--paper) 20%); padding:20px 0 10px; display:flex; justify-content:flex-end; z-index:2; }
.practice-next .btn { min-width:190px; }
.answer-history { display:flex; gap:6px; min-height:22px; margin-top:15px; }
.showdown-table { margin-top:22px; }
.equity-cards { background:var(--ink); border-radius:10px; padding:20px; margin:20px 0; }
.equity-cards .showdown-table { margin-top:0; }
.showdown-hands { display:grid; grid-template-columns:1fr 1fr; gap:24px; text-align:center; }
.showdown-hands h3 { font-size:13px; font-weight:500; margin-bottom:10px; color:#d7e5d9; }
.showdown-hands p { font-size:12px; margin-top:10px; color:var(--lime); }
.card-row { display:flex; justify-content:center; gap:7px; }
.poker-card { background:#fffdf2; color:#17382e; border-radius:6px; width:56px; min-height:78px; display:flex; flex-direction:column; align-items:center; justify-content:center; box-shadow:0 3px 7px #0002; flex-shrink:0; }
.poker-card strong { font-size:23px; font-family:Georgia,serif; line-height:1.2; }
.poker-card > span { font-size:24px; line-height:1.2; }
.poker-card.red { color:#b1383b; }
.poker-card.best-hero { box-shadow:inset 0 -5px #8abf63,0 3px 7px #0002; }
.poker-card.best-villain { box-shadow:inset 0 5px #edb961,0 3px 7px #0002; }
.poker-card.best-hero.best-villain { box-shadow:inset 0 -5px #8abf63,inset 0 5px #edb961,0 3px 7px #0002; }
.board-label { margin:22px 0 10px; text-align:center; font-size:10px; letter-spacing:1.5px; color:#b7d1bf; }
.showdown-table .best-five-legend { text-align:center; font-size:10px; margin-top:12px; }
.showdown-choices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.showdown-choices .choice { position:relative; flex-direction:column; justify-content:center; gap:8px; min-height:88px; margin-top:0; padding:12px 8px; font-size:14px; line-height:1.3; text-align:center; }
.showdown-choices .answer-key { width:21px; height:21px; }
.showdown-choices .answer-mark { position:absolute; top:5px; right:7px; font-size:18px; }
.review-focus { border:1px solid #bccc9e; background:#edf2e0; border-radius:10px; padding:20px; margin-top:20px; }
.focus-recommendation { border-color:#c2d1ab; }
.review-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:15px; align-items:center; padding:17px 0; border-bottom:1px solid var(--line); }
.review-row h3 { font-size:13px; font-weight:500; line-height:1.6; margin-top:7px; overflow-wrap:anywhere; }
.review-row .actions { flex-wrap:nowrap; }
.history-dot { width:20px; height:20px; border-radius:50%; display:grid; place-items:center; font-size:11px; }
.history-dot.ok { background:#d8e9bd; color:#2e582f; }
.history-dot.miss { background:#f0dcd4; color:#963e32; }
.range-layout > section, .grid-equal > *, .grid-2 > * { min-width:0; }
.range-scroll { overflow-x:auto; max-width:100%; padding:4px; margin:-4px; }
.range-scroll-hint { display:none; }
.stat-value { overflow-wrap:anywhere; }
#main { scroll-margin-top:95px; }
@media(max-width:800px) {
  .sidebar { position:sticky; top:0; z-index:20; padding:14px 20px; max-height:90vh; }
  .nav-toggle { display:inline-flex; align-items:center; gap:9px; border:1px solid #617b6d; color:#e3ebe2; background:transparent; padding:9px 12px; border-radius:7px; font-size:13px; min-height:42px; }
  .nav-toggle:hover { background:#254439; }
  .sidebar nav { display:none; overflow:visible; margin:14px 0 0; padding:0; grid-template-columns:1fr 1fr; gap:6px; }
  .nav-open .sidebar nav { display:grid; }
  .sidebar nav a { font-size:13px; min-height:46px; white-space:normal; line-height:1.4; padding:11px 12px; }
  .sidebar nav a span { display:none; }
  .topbar { height:40px; }
  .range-matrix { min-width:520px; }
  .range-cell { font-size:12px; min-height:40px; }
  .range-cell small { font-size:9px; }
  .range-scroll-hint { display:block; margin-top:13px; }
  .decision-facts { gap:9px; }
}
@media(max-width:500px) {
  .review-row { grid-template-columns:minmax(0,1fr); gap:10px; }
  .poker-card { width:43px; min-height:65px; border-radius:5px; }
  .poker-card strong { font-size:21px; }
  .poker-card > span { font-size:21px; }
  .card-row { gap:5px; }
  .practice-start .row { display:block; }
  .session-size { margin-top:18px; max-width:190px; }
  .practice-start .actions { display:grid; }
  .practice-start .btn { width:100%; }
  .hero .actions { display:grid; }
  .hero .btn { justify-content:center; text-align:center; }
  .decision-facts strong { font-size:29px; }
  .decision-facts span { font-size:11px; }
  .decision-facts small { font-size:9px; }
  .binary-choices { gap:10px; }
  .binary-choices .choice { font-size:20px; min-height:76px; gap:9px; }
  .binary-choices .answer-key { width:20px; height:22px; }
  .practice-next .btn { width:100%; }
  .draft-bar { align-items:flex-start; }
  .draft-bar .plan-log { padding:0; }
  #toast { max-width:calc(100vw - 32px); right:16px; bottom:16px; }
}
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; } }
.hand-text { white-space:pre-wrap; overflow-wrap:anywhere; }
@media print { .sidebar, .draft-bar, .practice-next, .answer-key { display:none; } .disclosure { break-inside:avoid; } }
