/* Teaching Baseball — illustrated coaching edition
   Presentation only: does not change lesson data, saved plans, or rules. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght,SOFT,WONK@9..144,600,20,0;9..144,700,20,0;9..144,800,20,0&display=swap');
:root{
 --ink:#153d2d;--green:#0c482e;--paper:#f9f6ee;--white:#fffdf7;
 --muted:#5c6b5e;--line:#d8dacb;--lime:#e2ebb9;--red:#c9734b;
 --blue:#5d8573;--radius:17px;--shadow:0 9px 28px rgba(31,53,30,.065);
 --tb-cream:#f9f6ee;--tb-parchment:#f0e9dc;--tb-olive:#a8bd6d;
 --tb-clay:#c67150;--tb-sage:#e6edd7;--tb-outline:#d8d8c4;
 --tb-serif:'Fraunces',Georgia,'Times New Roman',serif;
 --tb-sans:'DM Sans',system-ui,sans-serif;
}
html{scroll-padding-top:96px}body{background:var(--tb-cream);color:var(--ink);font:14px/1.65 var(--tb-sans);background-image:radial-gradient(ellipse at 84% 2%,#e5ebd355,transparent 45%),radial-gradient(ellipse at 0 76%,#e9ddc838,transparent 40%)}
button,input,select,textarea{font-family:var(--tb-sans)}h1,h2,h3,.display{font-family:var(--tb-serif);font-weight:700;line-height:1.13;letter-spacing:-.035em}
h1{font-size:clamp(2.2rem,4.8vw,4.4rem)}h2{font-size:clamp(1.4rem,2.6vw,2rem)}h3{font-size:clamp(1.1rem,1.8vw,1.4rem)}
a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:3px solid #b86541!important;outline-offset:3px}
a:hover:not(.btn){text-decoration-color:#b86541}
button{transition:background .17s,border-color .17s,transform .17s}
.btn,.context-button,.tab,.choice,.prompt-chip{border-radius:11px}
.btn{font-size:13px;font-weight:700;padding:11px 17px;min-height:43px}
.btn.primary{background:#0b482e;color:#fffef4;border-color:#0b482e;box-shadow:0 3px 0 #082d1e}
.btn.primary:hover{background:#15663f}
.btn.lime{background:var(--lime);border-color:#c3d09e}
.text-link{font-size:12px}
.pill,.eyebrow{color:#526742;letter-spacing:.055em}
.pill{background:#e8efbd;color:#315439;border-radius:40px;padding:5px 10px;text-transform:none}
.pill.blue{background:#e6eee7;color:#345e5b}.pill.red{background:#f8e5d9;color:#a04f32}
.card,.rule-row,.activity,.policy-strip,.modal,.plan-panel{border-radius:16px;box-shadow:var(--shadow)}
.card{background:#fffdf8;border:1px solid #dddccb;padding:22px}
.card:focus-within{border-color:#b1bf94}
.card h2,.card h3{color:#153d2d}
.card p,.lesson-body p{line-height:1.65}
.page-heading h1{font-family:var(--tb-serif);font-size:clamp(2.1rem,4vw,3.6rem)}
.page-heading p{color:#526252}
.page-heading .eyebrow{font-size:11px;letter-spacing:.08em}
.form-label{font-size:11px;color:#4d634c}
select,input[type=text],input[type=number],textarea{border:1px solid #c6ccbb;border-radius:10px;background:#fffdf9}
.note{background:#f0f1e2;border:1px solid #dfe2d2;border-radius:12px;color:#405844}
.note.warn{background:#f8eee3;color:#7a5433}
.feedback{background:#e9efdd;border:1px solid #ccd8be;border-radius:13px}
.tabs{gap:8px}.tab.active,.choice.selected{background:#e4eccd;color:#153d2d;border-color:#8bab75}
.hero,.case-scene{background:#154831}.hero-art{background:radial-gradient(ellipse,#4a866c,transparent 68%)}
.section-title h2{font-size:29px}
/* Desktop: use the approved horizontal masthead, without changing existing routes. */
@media(min-width:901px){
 .shell{display:block;min-height:100vh}
 .sidebar{position:relative;inset:auto;width:100%;min-height:82px;height:auto;display:flex;flex-direction:row;align-items:center;gap:18px;padding:10px max(22px,calc((100vw - 1510px)/2));z-index:24;background:#fffdf7;color:#133d2b;border-bottom:1px solid #d9dccd;box-shadow:0 3px 18px #29422d09}
 .sidebar .brand{margin:0;flex:0 0 auto;display:flex;gap:10px}
 .sidebar .brandmark{height:49px;width:49px;border-radius:50%;transform:none;background:#f9f6eb;border:2px solid #174e32;box-shadow:inset 0 0 0 3px #fff;position:relative}
 .sidebar .brandmark:before,.sidebar .brandmark:after{content:'';position:absolute;width:18px;height:34px;top:6px;border:2px dashed #c87859;border-top:0;border-bottom:0;opacity:.75}
 .sidebar .brandmark:before{left:6px;border-right:0;border-radius:50% 0 0 50%}
 .sidebar .brandmark:after{right:6px;border-left:0;border-radius:0 50% 50% 0}
 .sidebar .brandmark span{transform:none;font:700 13px var(--tb-serif);color:#16432d;letter-spacing:-.04em}
 .sidebar .brand strong{font:700 22px/1.04 var(--tb-serif);letter-spacing:-.03em}
 .sidebar .brand strong br{display:none}
 .sidebar .brand small{font:700 8px var(--tb-sans);letter-spacing:2.3px;color:#54714a;margin-top:5px;text-transform:uppercase}
 .sidebar .nav-label,.sidebar .sidebar-bottom{display:none}
 .sidebar nav{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:2px;margin-left:auto;min-width:0}
 .sidebar .nav-link{display:flex;align-items:center;gap:7px;padding:10px 11px;margin:0;color:#284835;border-radius:12px;font-size:12px;font-weight:700;line-height:1.15}
 .sidebar .nav-link .nav-icon{display:none}
 .sidebar .nav-link:hover{background:#f0f2e5}
 .sidebar .nav-link.active{background:#e3edcf;color:#0d4c30}
 .main{width:100%;margin:0;grid-column:auto}
 .topbar{min-height:47px;padding:8px max(30px,calc((100vw - 1420px)/2));background:#fbf9f3;border-bottom:1px solid #e8e5d9}
 .content{max-width:1470px;padding:30px clamp(24px,4vw,65px) 60px}
 .breadcrumb{color:#58665a;font-size:12px}
}
@media(min-width:901px) and (max-width:1220px){
 .sidebar{gap:8px;padding:10px 18px}.sidebar .brand strong{font-size:17px}.sidebar .brandmark{height:40px;width:40px}
 .sidebar .nav-link{font-size:11px;padding:10px 7px}.content{padding-left:29px;padding-right:29px}
}
/* Mobile navigation remains the existing operable drawer. */
.tb-throw-demo{margin:14px 0 22px;padding:14px;border:1px solid #dbdcc7;border-radius:16px;background:linear-gradient(110deg,#fffef9,#f5f2e8)}
.tb-throw-demo__figure{margin:0;border:1px solid #dbe0cd;border-radius:12px;overflow:hidden;background:#fffdf9}
.tb-throw-demo__figure svg{display:block;width:100%;height:auto;max-height:250px}
.tb-throw-demo [data-throw-pose]{display:none}
.tb-throw-demo [data-throw-pose].is-active{display:inline}
.tb-throw-demo__caption{padding:12px 15px}
.tb-throw-demo__caption b{display:block;color:#153e2c;font:700 18px var(--tb-serif)}
.tb-throw-demo__caption p{margin:5px 0 0;color:#465d4a;font-size:13px;line-height:1.45}
.tb-throw-demo__controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tb-throw-demo__timeline{display:block;margin-top:12px;color:#395d3e;font-weight:700;font-size:12px}
.tb-throw-demo__timeline input{display:block;width:100%;margin:7px 0 0;accent-color:#1d6541}
.tb-throw-demo__status{margin:5px 0;color:#536950;font-size:12px;line-height:1.45}
@media(max-width:900px){
 .shell{display:block}
 .sidebar{position:fixed;inset:0 auto 0 0;width:min(290px,86vw);height:100vh;background:#123e2c;color:#fffef5;transform:translateX(-100%);padding:28px 20px}
 .sidebar.open{transform:translateX(0);box-shadow:10px 0 60px #112b1d80}
 .sidebar .brand strong{font-family:var(--tb-serif);font-size:22px}
 .sidebar .nav-link{font-size:14px;min-height:44px}
 .sidebar .brandmark{transform:rotate(45deg)}
 .main{width:100%;grid-column:auto}
 .topbar{background:#fffdf6;min-height:64px;padding:10px 16px}
 .mobile-menu{display:block;background:transparent;border:0;color:#124a30;font-size:23px}
 .mobile-home{display:inline-flex;font:700 19px/1.1 var(--tb-serif);white-space:nowrap}
 .mobile-home span{color:#a97145;margin-left:4px}
 .top-actions{gap:7px}
 .top-actions .context-button{max-width:170px;font-size:10px}
 .content{padding:22px 17px 45px}
}
@media(max-width:600px){
 .topbar .sport-selector{font-size:9px}.sport-selector select{font-size:11px;max-width:150px}
 .page-heading h1{font-size:37px}.card{padding:18px}
 .btn{min-height:44px}
}
/* Editorial home cover, deliberately leaving all existing controls and their event handlers untouched. */
.clubhouse .page-heading{background:linear-gradient(115deg,#fffdf8 0%,#f3f0e4 59%,#e7edd3 100%);border:1px solid #dcdcc8;border-radius:24px;padding:clamp(25px,4vw,55px);min-height:290px;position:relative;align-items:flex-start;overflow:hidden;box-shadow:var(--shadow);margin-bottom:22px}
.clubhouse .page-heading>div{position:relative;z-index:2;max-width:59%}
.clubhouse .page-heading .eyebrow{font-size:12px;color:#6e835d}
.clubhouse .page-heading h1{font-size:clamp(40px,5vw,66px);margin:15px 0}
.clubhouse .page-heading p{font-size:clamp(14px,1.4vw,17px);max-width:45ch;color:#314d3b}
.clubhouse .page-heading:after{content:'';position:absolute;right:3%;bottom:-12px;width:42%;height:105%;background:url('media/athlete-field.webp') center bottom/contain no-repeat;pointer-events:none}
.clubhouse .page-heading>a{position:absolute;left:clamp(25px,4vw,55px);bottom:28px;z-index:3;background:#154930;color:white;border-color:#154930}
.club-context{border-radius:13px;background:#ecf0df;border:1px solid #d9dfcb}
.club-priorities>.card{background:#fffef9;min-height:270px}
.club-priorities>.card:nth-child(1){background:linear-gradient(142deg,#fffef9,#f2f1e6)}
.club-priorities>.card:nth-child(2){background:linear-gradient(142deg,#fffef9,#eaf1e4)}
.club-priorities>.card:nth-child(3){background:linear-gradient(142deg,#fffef9,#f8eee3)}
.club-priorities h2{line-height:1.15}
.club-shortcuts .btn{background:#f3f1e6;border-color:#dedfce}
.club-recent>.card{box-shadow:none}
@media(max-width:650px){
 .clubhouse .page-heading{min-height:350px;padding:22px 23px 110px}
 .clubhouse .page-heading>div{max-width:100%;padding-right:12%}
 .clubhouse .page-heading:after{width:46%;height:49%;right:-2%;bottom:0;opacity:.94}
 .clubhouse .page-heading>a{left:22px;bottom:24px;max-width:55%;font-size:11px}
 .clubhouse .page-heading h1{font-size:41px;margin:13px 0}
}
/* Home/Start Here: one clear illustrated entrance and legible topic gallery. */
.field-entry{max-width:1280px}
.field-home .field-hero{position:relative;background:linear-gradient(110deg,#fffef8 0%,#f8f4ea 57%,#e8eecf 100%);border:1px solid #dbdfca;border-radius:24px;padding:clamp(20px,3vw,44px) clamp(24px,4vw,49px);min-height:0;overflow:hidden}
.field-home .field-hero>h1,.field-home .field-hero>.field-lead,.field-home .field-hero>.field-actions,.field-home .field-hero>.eyebrow,.field-home .field-hero>.field-context{max-width:100%;position:relative;z-index:2}
.field-home .field-hero:after{content:none}
.field-home .field-hero .eyebrow{color:#607b57}
.field-home .field-hero h1{font-family:var(--tb-serif);font-weight:800;color:#17442f;font-size:clamp(34px,4.3vw,62px);line-height:1.05}
.field-home .field-hero p{color:#385340}
.field-entry h1{font-family:var(--tb-serif);font-size:clamp(35px,5vw,63px);letter-spacing:-.03em}
.field-entry h2{font-family:var(--tb-serif);font-size:clamp(24px,2.8vw,32px)}
.field-entry p,.field-entry li{color:#35513f}
.field-entry .field-action-note,.field-entry .subtle{color:#677466}
.field-entry .btn.primary,.field-entry button.btn.primary{background:#104a2e;color:#fffdf4}
.field-entry details,.sample-practice,.field-sample,.field-topic{border-color:#d8d9c5!important;border-radius:16px!important;background:#fffdf8;box-shadow:var(--shadow)}
.sample-practice{background:#f0f1e5;padding:30px}
.sample-practice-block[open]{background:#fffdf5}
.sample-practice .field-quick-diagram{border-radius:12px}
.field-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:stretch}
.field-topic{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:250px;padding-top:130px!important;overflow:hidden;border:1px solid #d8dfcb;transition:transform .2s,box-shadow .2s}
.field-topic:hover{transform:translateY(-2px);box-shadow:0 18px 30px #324a281b}
.field-topic:before{content:'';position:absolute;top:7px;left:15%;width:70%;height:132px;background:url('media/athlete-ready.webp') center/contain no-repeat;pointer-events:none}
.field-topic[href*="throwing"]:before{background-image:url('media/athlete-throw.webp')}
.field-topic[href*="hitting"]:before{background-image:url('media/athlete-hit.webp')}
.field-topic[href*="fielding"]:before{background-image:url('media/athlete-field.webp')}
.field-topic[href*="baserunning"]:before{background-image:url('media/athlete-run.webp')}
.field-topic[href*="catching"]:before{background-image:url('media/athlete-ready.webp')}
.field-topic[href*="response"]:before{background-image:url('media/athlete-throw.webp')}
.field-topic h2{font-size:24px;color:#123f2c}
.field-topic p,.field-topic .field-meta{font-size:12px}
.field-quick-diagram{background:#fbf8ee;border-radius:12px}
.field-cue,.sample-say,.practice-print-say{border-radius:12px}
/* Each illustrated movement card conveys a real athlete pose rather than an icon person. */
.tb-motion-study{border:1px solid #dbdcc7;border-radius:18px;overflow:hidden;background:linear-gradient(110deg,#fffef9,#f5f2e8);box-shadow:0 6px 24px #173c2510;padding:22px;margin:14px 0 22px}
.tb-motion-study__header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}
.tb-motion-study__header h3{margin:0;font-size:23px;color:#143e2c}
.tb-motion-study__header small{font-weight:700;font-size:10px;letter-spacing:.1em;color:#69815a;text-transform:uppercase}
.tb-motion-study__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tb-motion-study__step{margin:0;border:1px solid #dbe0cd;background:#fffdf9;border-radius:14px;overflow:hidden;min-width:0}
.tb-motion-study__step--focus{background:#ecf2dc;border-color:#acbe93}
.tb-motion-study__image{height:180px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 105%,#dfe8c0 0%,#f8f7eb 48%,transparent 75%)}
.tb-motion-study__image img{max-width:100%;height:95%;object-fit:contain}
.tb-motion-study__copy{padding:11px 12px 14px}
.tb-motion-study__copy b{font:700 15px var(--tb-serif);display:block;color:#153e2c}
.tb-motion-study__copy p{font-size:12px!important;margin:5px 0 0!important;color:#465d4a!important;line-height:1.45!important}
.tb-motion-study__number{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border-radius:50%;background:#1d6541;color:white;font:700 12px var(--tb-sans);margin-right:4px}
.tb-motion-study__note{font:600 12px/1.5 var(--tb-sans)!important;color:#576a55!important;margin:14px 0 0!important}
.tb-motion-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(230px,.92fr);align-items:center;gap:12px;border:1px solid #dfe0d0;border-radius:17px;background:#fffdf8;padding:10px 20px}
.tb-motion-hero img{height:250px;width:100%;object-fit:contain}
.tb-motion-hero ul{list-style:none;margin:0;padding:0}
.tb-motion-hero li{padding:9px 0 9px 22px;position:relative;border-bottom:1px solid #e9e9d9;font-size:14px!important}
.tb-motion-hero li:last-child{border:0}
.tb-motion-hero li:before{content:'✓';position:absolute;left:0;color:#1e7650;font-weight:800}
.tb-lesson-illustration{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:15px;align-items:center;padding:15px 20px;background:linear-gradient(100deg,#f6f2e7,#e7edd7);border:1px solid #d7dcc6;border-radius:18px;margin:12px 0 22px}
.tb-lesson-illustration img{width:100%;height:150px;object-fit:contain}
.tb-lesson-illustration__title{font:700 22px/1.15 var(--tb-serif);color:#16442e;margin:0 0 7px}
.tb-lesson-illustration p{font:400 13px/1.5 var(--tb-sans);color:#426247}
.tb-illustrated-card{position:relative;overflow:hidden}
.tb-illustrated-card:before{content:'';position:absolute;right:8px;bottom:2px;height:110px;width:110px;opacity:.2;background:url('media/athlete-throw.webp') center/contain no-repeat;pointer-events:none}
.tb-illustrated-card>*{position:relative;z-index:1}
/* Lesson curriculum and connected learning */
.learning-nav,.section-navigation{background:#f0efe3;border:1px solid #e2e1d2;border-radius:14px;padding:7px!important;gap:5px!important}
.content .learning-nav .btn,.section-navigation a{border-radius:9px!important;font-size:12px!important;font-weight:700!important}
.content .learning-nav .btn[aria-current=page],.section-navigation a[aria-current=page]{background:#144e35!important;border-color:#144e35!important;color:#fffdf5!important}
.curriculum-see,.curriculum-ready{background:#fffdf9}
.curriculum-lesson-nav{background:#f2f1e7;padding:12px;border-radius:14px}
.curriculum-card{background:linear-gradient(145deg,#fffdfa,#f1f1e6)}
.curriculum-card h3{font-family:var(--tb-serif)}
.curriculum-entry,.learning-start{background:#e9eee0;border-radius:16px;border:1px solid #d3dac9}
.learning-work,.learning-workspace,.learning-workspace .card{border-radius:16px}
.practice-plan,.plan-panel,.drill-card,.practice-checkout,.practice-coaching{background:#fffefa;border-color:#d7dac9}
.practice-flow .btn.primary,.practice-plan .btn.primary{background:#164c33}
.practice-print-sheet{font-family:var(--tb-sans)}
/* Keep tactical diagrams legible as diagrams. Players/roles remain explicit. */
.lab-page .field-panel,.field-panel{border:1px solid #395f45;background:#16452f;box-shadow:0 8px 26px #25482c1a}
.lab-page-heading h1{font-family:var(--tb-serif);font-size:38px}
.lab-page .situation-strip,.lab-stage{background:#f5f5ec;border-color:#d5ddca}
.lab-page .lab-playback{border-radius:0 0 13px 13px;background:#fffdf7}
.lab-page .lab-workspace .player-editor,.lab-page .lab-editor-area .card{background:#fffefa;border-radius:14px}
.lab-page .lab-whatif-options .btn{border-color:#c3ccaf}
.field-panel svg .field-player circle,.field-panel svg .participant-token>circle{stroke:#183f2d}
#lab-field{border-radius:14px;overflow:hidden}
/* Resources, coach guidance, players and practice all share the editorial components */
.rule-row{background:#fffdf7;border-color:#dddccc}
.rule-row h3{font-size:24px}
.standard-card,.club-recent .card,.club-priorities .card{border:1px solid #d8dccd}
.player-card,.player-plan,.player-notes-list>article{border-radius:16px}
.progress-track{background:#e8e9d9}.progress-track div{background:#1f704b}
.case-scene{background:linear-gradient(130deg,#15513a,#0f3628)}
.case-scene blockquote{font-family:var(--tb-serif)}
.guide-layout .chat-log{background:#e8eadc}
.bubble{border-radius:14px}
.bubble.user{background:#194e37}
.footer-note{margin-top:52px;color:#607064}
.footer-note span:first-child{font-family:var(--tb-serif);font-size:12px;color:#29513a}
@media(max-width:900px){
 .tb-motion-study__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .field-home .field-hero>h1,.field-home .field-hero>.field-lead,.field-home .field-hero>.field-actions,.field-home .field-hero>.eyebrow,.field-home .field-hero>.field-context{max-width:100%}
 .field-home .field-hero:after{content:none}
 .field-topics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .field-home .field-hero{min-height:0;padding:22px 20px}
 .field-home .field-hero>h1,.field-home .field-hero>.field-lead,.field-home .field-hero>.field-actions,.field-home .field-hero>.eyebrow,.field-home .field-hero>.field-context{max-width:100%}
 .field-home .field-hero h1{font-size:35px}
 .field-home .field-hero:after{content:none}
 .field-home .field-hero .field-actions{gap:8px}
 .field-topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .field-topic{min-height:218px;padding:105px 12px 14px!important}
 .field-topic:before{height:106px;left:9%;width:82%}
 .field-topic h2{font-size:19px}
 .field-topic p{font-size:11px!important;line-height:1.4!important}
 .field-topic .field-meta{font-size:10px!important}
 .sample-practice{padding:19px}
 .tb-motion-study{padding:13px}
 .tb-motion-study__header h3{font-size:21px}
 .tb-motion-study__grid{grid-template-columns:1fr;gap:9px}
 .tb-motion-study__step{display:grid;grid-template-columns:40% 1fr}
 .tb-motion-study__image{height:140px}
 .tb-motion-study__copy{align-self:center;padding:12px}
 .tb-motion-hero{grid-template-columns:1fr;padding:10px}
 .tb-motion-hero img{height:210px}
 .tb-throw-demo{padding:10px}
 .tb-throw-demo__caption{padding:10px 12px}
 .tb-lesson-illustration{grid-template-columns:1fr 118px;gap:10px;padding:12px}
 .tb-lesson-illustration img{height:116px}
 .tb-lesson-illustration__title{font-size:18px}
 .tb-lesson-illustration p{font-size:11px}
}
@media print{
 /* Printed coaching sheets stay legible, not decorative. Preserve existing print layout. */
 .sidebar,.topbar,.tb-lesson-illustration,.tb-illustrated-card:before{display:none!important}
 .print-plan,.practice-print-sheet{display:block!important}
 .tb-motion-study__image{height:90px}
}
@media(prefers-reduced-motion:reduce){.field-topic,.btn{transition:none!important}}

/* Final editorial composition / responsive refinements */
.sidebar .brand strong{font-family:var(--tb-serif);font-weight:700;font-size:clamp(16px,1.8vw,25px);text-transform:none;letter-spacing:-.04em}
.sidebar .brand strong small{font-family:var(--tb-sans);font-weight:700;text-transform:uppercase;letter-spacing:.15em}
.clubhouse .page-heading .tb-hero-tagline{font:700 clamp(20px,2.7vw,34px)/1.12 var(--tb-serif);color:#22583c;letter-spacing:-.025em;margin:8px 0 12px;max-width:26ch}
.tb-heading-portrait{margin:0;align-self:stretch;flex:0 0 26%;min-width:140px;max-width:290px;max-height:240px;display:flex;align-items:flex-end;justify-content:center;background:radial-gradient(ellipse at 50% 85%,#e8eece 0%,#fffefa 68%);border-radius:18px}
.tb-heading-portrait img{display:block;max-width:100%;height:100%;max-height:235px;object-fit:contain}
.page-heading:has(.tb-heading-portrait){align-items:center;padding:16px 26px;background:linear-gradient(110deg,#fffefa,#f2f0e3);border:1px solid #dedfcf;border-radius:18px}
.page-heading:has(.tb-heading-portrait)>div{flex:1;min-width:0}
.page-heading:has(.tb-heading-portrait) h1{font-size:clamp(28px,4vw,55px);max-width:100%;overflow-wrap:break-word;margin:9px 0}
.tb-technical-appendix{background:#f7f6ed;border:1px solid #dfe3d4;border-radius:12px;margin-top:16px;padding:12px 16px}
.tb-technical-appendix summary{cursor:pointer;font-size:13px;line-height:1.4;font-weight:700;color:#395d3e;min-height:30px}
.tb-technical-appendix[open]{padding-bottom:16px}
.tb-technical-appendix .ready-demo,.tb-technical-appendix .movement-strip{margin-top:16px}
.tb-tool-note{padding:12px 20px;margin:12px 0 23px;background:linear-gradient(112deg,#f3f2e6,#eaf0d9);border:1px solid #dce0cd;border-radius:17px;min-height:100px}
.tb-tool-note b{display:block;color:#214d34;font:700 19px/1.2 var(--tb-serif)}
.tb-tool-note p{color:#536950;font-size:13px;line-height:1.5;margin:6px 0 0}
.field-lesson .tb-lesson-illustration{margin-top:17px}
.field-lesson .field-cue{border-radius:15px}
.field-entry .sample-practice h2,.field-entry .field-topic h2{font-family:var(--tb-serif)}
@media(max-width:900px){.sidebar .brand strong{font-size:22px}}
@media(max-width:600px){
 .topbar{display:grid;grid-template-columns:max-content minmax(0,1fr);grid-template-rows:auto auto;gap:8px 11px;align-items:center;padding:11px 16px}
 .topbar .mobile-menu{grid-column:1;grid-row:1;min-width:44px;min-height:44px;width:auto;padding:0 8px 0 0;font:600 14px/1.2 var(--tb-sans,system-ui,sans-serif);white-space:nowrap}
 .topbar .mobile-home{grid-column:2;grid-row:1;width:auto;min-width:0;flex-direction:row;gap:4px;justify-content:flex-start;font-size:20px;line-height:1.2;white-space:nowrap}
 .topbar .top-actions{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:nowrap;gap:9px;align-items:end;width:100%;min-width:0;justify-content:space-between}
 .topbar .sport-selector{flex:1 1 150px;max-width:195px;width:auto;min-width:0;font-size:9px!important}
 .topbar .sport-selector select{display:block;width:100%;max-width:100%;min-width:0;font-size:11px!important;min-height:39px;padding:7px!important}
 .topbar .context-button{flex:1 1 150px;min-width:0;max-width:180px;min-height:39px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:8px!important}
 .topbar .context-button span{display:none}
 .clubhouse .page-heading .tb-hero-tagline{font-size:22px;max-width:17ch}
 .page-heading:has(.tb-heading-portrait){display:grid;grid-template-columns:minmax(0,1fr) 105px;padding:14px}
 .page-heading:has(.tb-heading-portrait)>div{min-width:0}
 .page-heading:has(.tb-heading-portrait) h1{font-size:clamp(27px,8vw,39px);line-height:1.13;overflow-wrap:normal}
 .page-heading:has(.tb-heading-portrait) .eyebrow{font-size:9px}
 .tb-heading-portrait{grid-column:2;grid-row:1;min-width:0;width:104px;height:175px;max-height:175px}
 .tb-heading-portrait img{max-height:170px}
 .tb-tool-note{padding:10px 13px}
 .tb-tool-note b{font-size:16px}
 .tb-tool-note p{font-size:11px}
 .tb-lesson-illustration{grid-template-columns:minmax(0,1fr) 100px}
 .tb-lesson-illustration img{height:112px}
 .field-entry h1{font-size:clamp(30px,9vw,43px);line-height:1.12}
 .field-home .field-hero h1{font-size:clamp(31px,8vw,40px)}
}

/* Illustration-rich catalog: every authored lesson remains a real link, not a decorative tile. */
[data-field-chapter] .tb-illustrated-lesson-card{
 position:relative;overflow:hidden;min-height:204px;padding:21px 145px 22px 22px;
 background:linear-gradient(115deg,#fffef9 0%,#fffef9 60%,#e8eeda 100%);
 border:1px solid #d9dfcf;
}
.tb-illustrated-lesson-card .tb-lesson-thumbnail{
 position:absolute;right:10px;bottom:7px;width:135px;height:175px;object-fit:contain;pointer-events:none;
}
.tb-illustrated-lesson-card h3{font-family:var(--tb-serif);font-size:clamp(18px,1.9vw,23px);line-height:1.2}
.tb-illustrated-lesson-card p{font-size:13px;max-width:38ch}
.tb-illustrated-lesson-card .btn{margin-top:12px}
.curriculum-card{position:relative;overflow:hidden}
.curriculum-card:before{content:'';position:absolute;right:-7px;top:-13px;width:125px;height:130px;background:url('media/athlete-field.webp') center/contain no-repeat;opacity:.17;pointer-events:none}
.field-topic[href*="catching"]:before{background-image:url('media/athlete-catcher.webp')}
.field-topic[href*="fielding"]:before{background-image:url('media/athlete-field.webp')}
@media(min-width:651px){.clubhouse .page-heading{min-height:365px}.clubhouse .page-heading>a{bottom:24px}.clubhouse .page-heading:after{height:108%}}
@media(max-width:650px){
 .clubhouse .page-heading{min-height:360px;padding-bottom:132px}
 .clubhouse .page-heading .tb-hero-tagline{max-width:15ch}
 .clubhouse .page-heading>a{bottom:22px}
 [data-field-chapter] .tb-illustrated-lesson-card{min-height:186px;padding:19px 105px 18px 17px}
 .tb-illustrated-lesson-card .tb-lesson-thumbnail{right:1px;width:108px;height:150px;bottom:5px}
 .tb-illustrated-lesson-card h3{font-size:20px}
 .tb-illustrated-lesson-card p{font-size:12px}
}

/* Route-change headings receive programmatic focus for accessibility.
   Keep the focus cue visible, but integrate it with the editorial design. */
.page-heading h1[tabindex="-1"]:focus-visible,.field-entry h1[tabindex="-1"]:focus-visible,
.clubhouse h1[tabindex="-1"]:focus-visible{
 outline:2px solid transparent!important;
 box-shadow:inset 0 -3px 0 #a8be8c!important;
 border-radius:2px;
}
@media(min-width:651px){.clubhouse .page-heading{min-height:385px}}

@media(max-width:600px){.main:has(.lab-page) .content{padding-top:6px}}
.tb-practice-technical{margin-top:12px;padding-top:8px;border-top:1px solid #e0e1d1}

@media(max-width:600px){
 /* Put Play above the fold in the field-first Lab, without shrinking the interactive diamond. */
 .main:has(.lab-page) .topbar{padding:5px 14px;row-gap:2px}
 .main:has(.lab-page) .topbar .mobile-home{font-size:18px}
 .main:has(.lab-page) .topbar .sport-selector select,
 .main:has(.lab-page) .topbar .context-button{min-height:34px!important;padding:5px 8px!important}
}

@media(max-width:600px){
 .topbar .mobile-home{display:inline-flex!important;align-items:center;flex-wrap:nowrap;white-space:nowrap;font-size:18px;line-height:1.15;min-height:26px}
 .topbar .mobile-home span{display:inline!important;margin-left:0;color:#17432e;font-size:inherit;line-height:inherit}
 .main:has(.lab-page) .topbar{padding:6px 14px;row-gap:3px}
 .main:has(.lab-page) .topbar .sport-selector select,
 .main:has(.lab-page) .topbar .context-button{min-height:39px!important;padding:7px 8px!important}
}

@media(max-width:600px){
 .main:has(.lab-page) .lab-page-heading{margin-bottom:0!important}
 .main:has(.lab-page) .lab-page-heading h1{font-size:27px;line-height:1.06}
 .main:has(.lab-page) .field-panel{padding-top:1px}
}

@media(max-width:600px){.main:has(.lab-page) .lab-page-heading h1{font-size:25px;line-height:1.1}.main:has(.lab-page) .topbar{padding:4px 14px;row-gap:2px}}

@media(max-width:600px){.main:has(.lab-page) .topbar{padding:2px 14px;row-gap:0}}

/* Generated illustration assets from the approved design previews. */
.clubhouse .page-heading:after{background-image:url('media/athlete-ready.webp')!important;background-size:contain;background-position:center bottom}
.field-home .field-hero:after{content:none}
.field-topic:before{background-image:url('media/athlete-ready.webp')}
.field-topic[href*="throwing"]:before{background-image:url('media/athlete-throw.webp')}
.field-topic[href*="hitting"]:before{background-image:url('media/athlete-hit.webp')}
.field-topic[href*="fielding"]:before{background-image:url('media/athlete-field.webp')}
.field-topic[href*="baserunning"]:before{background-image:url('media/athlete-run.webp')}
.field-topic[href*="catching"]:before{background-image:url('media/athlete-catcher.webp')}
.field-topic[href*="response"]:before{background-image:url('media/athlete-ready.webp')}
.tb-illustrated-card:before{background-image:url('media/athlete-throw.webp')}
.curriculum-card:before{background-image:url('media/athlete-field.webp')}
.tb-motion-study__image{background:linear-gradient(135deg,#fffefa,#f3f3e6)}
.tb-motion-study__image img{max-height:97%;max-width:97%;width:auto;object-fit:contain;image-rendering:auto}
.tb-motion-study__step--focus{border-color:#a0bb8b;background:#f2f5e7}
.tb-motion-hero img{object-fit:contain;filter:drop-shadow(0 8px 12px #29492b13)}
.tb-ready-editorial{background:#fffefa;border:1px solid #dcdcc8;border-radius:18px;margin:12px 0 16px;padding:22px;box-shadow:0 9px 23px #273f2620}
.tb-ready-feature{display:grid;grid-template-columns:minmax(120px,1fr) minmax(220px,1.6fr) minmax(120px,1fr);gap:12px;align-items:center}
.tb-ready-primary{width:100%;max-height:350px;margin:auto;display:block;filter:drop-shadow(0 11px 12px #5d713625)}
.tb-ready-labels{display:grid;gap:24px}
.tb-ready-labels span{display:block;background:#f1f3e2;border:1px solid #d9e0bd;border-radius:14px;padding:13px}
.tb-ready-labels b{font:700 20px/1.25 var(--tb-serif);display:block;color:#174d34}
.tb-ready-labels small{display:block;font:500 13px/1.48 var(--tb-sans);color:#455c48;margin-top:5px}
.tb-tool-note img,.tb-lesson-illustration img,.tb-lesson-thumbnail{mix-blend-mode:multiply}
.tb-player-editorial-heading,.tb-coaching-editorial-heading{background:linear-gradient(100deg,#fffef8,#eaf0d7);border:1px solid #d9e0cb;border-radius:16px;padding:20px}
@media(min-width:601px) and (max-width:900px){
  .shell{display:block!important;grid-template-columns:none!important}
  .sidebar{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:68px!important;max-height:none!important;transform:none!important;transition:none!important;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:10px!important;padding:10px 14px!important;overflow:visible!important;background:#fffdf7!important;color:#153d2d!important;border-bottom:1px solid #dde0d2!important}
  .sidebar .nav-close,.sidebar .nav-label,.sidebar .sidebar-bottom{display:none!important}
  .sidebar .brand{margin:0!important;flex:none!important;gap:6px!important}
  .sidebar .brandmark{width:37px!important;height:37px!important;min-width:37px!important}
  .sidebar .brand strong{font-size:15px!important;line-height:1!important}
  .sidebar nav{display:flex!important;flex:1 1 auto!important;flex-flow:row nowrap!important;justify-content:flex-end!important;align-items:center!important;gap:1px!important;margin:0!important;min-width:0!important}
  .sidebar .nav-link{font:700 10px/1.1 var(--tb-sans)!important;color:#284b36!important;display:flex!important;gap:0!important;white-space:nowrap!important;min-height:35px!important;padding:7px 4px!important;margin:0!important;transform:none!important}
  .sidebar .nav-link.active{background:#e2ecd0!important;color:#0e4c30!important}
  .sidebar .nav-link .nav-icon{display:none!important}
  .main{width:100%!important;grid-column:auto!important}
  .main .topbar{padding:11px 22px!important}
  .main .topbar :is(.mobile-menu,.mobile-home){display:none}
  .main .content{padding:22px 24px!important;max-width:none!important}
  .lab-page .lab-field-canvas .lab-editor-area{pointer-events:none}
  .lab-page .lab-field-canvas .lab-editor-area :is(button,input,select,textarea,summary,label,a){pointer-events:auto}
  #toast:not(:empty){left:12px!important;right:12px!important;width:auto!important;pointer-events:none!important}
}
@media(max-width:600px){
  .tb-ready-editorial{padding:11px}
  .tb-ready-feature{grid-template-columns:1fr 1fr;gap:10px}
  .tb-ready-feature .tb-ready-primary{grid-column:1/-1;grid-row:1;height:240px}
  .tb-ready-labels{gap:8px}
  .tb-ready-labels span{padding:10px}
  .tb-ready-labels b{font-size:17px}
  .tb-ready-labels small{font-size:11px}
  .tb-motion-study__image{background:#fffefa}
}
