html,body{min-width:1024px}button{cursor:pointer}button:disabled{cursor:default;opacity:.45!important}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #4478c9;outline-offset:3px}.artboard{height:100vh;min-height:790px}.brand{background:transparent;padding:0;text-align:left}.mode-tabs button{height:42px;min-width:135px;padding:0 17px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:700;color:#728b85;background:transparent}.mode-tabs button.active{background:var(--cream);color:var(--ink);border-radius:12px;box-shadow:0 3px 9px #39685907}.mode-tabs button.active .icon{color:var(--orange)}#content{display:flex;flex:1;min-height:0;position:relative}#content>main{width:100%}.mode-card{text-align:left}.mode-bottom>span:last-child{display:flex;align-items:center;gap:6px}.mode-bottom .icon{height:15px;width:15px}.leave-link{background:transparent;font-size:11px;color:#658674;margin-left:7px}.view-switch{display:flex;gap:3px;padding:4px}.view-switch button{background:transparent;font-size:10px;color:#668674;padding:4px 7px;border-radius:6px}.view-switch button:hover{background:var(--cream)}.between-dock{display:flex;align-items:center;justify-content:space-between;min-height:140px}.between-dock h2{font-size:23px;margin:10px 0}.between-dock p{font-size:11px;color:var(--muted);max-width:600px}.batting-dock{grid-template-columns:1fr 1fr 1fr 300px}.bat-setting{display:flex;flex-direction:column;justify-content:center;gap:13px;border-right:1px solid var(--line);padding-right:22px}.bat-setting:last-child{border:0;padding:0;align-items:center}.bat-setting .label b{margin-left:10px;font-size:16px;color:var(--ink)}input[type=range]{accent-color:var(--orange);width:100%;cursor:pointer}.shot-types,.formation-buttons{display:flex;gap:6px}.shot-types button{background:#f0f2e3;border:1px solid #e0e5d3;padding:12px 14px;flex:1;border-radius:10px;font-size:11px;color:#8a9c82}.shot-types button.selected{background:#fff0d9;color:var(--orange-dark);border-color:#f6bd8d}.control-dock{min-height:165px}.match-page{padding-top:25px}.action-button:disabled{background:#eef0e5!important;color:#98a68d!important;border-color:#e0e6d8!important;box-shadow:none!important}.runner-chips{flex-wrap:wrap}.field-status{max-width:250px}.field-tip{max-width:90%;white-space:normal;text-align:center}.match-subtitle{max-width:350px}.help-panel{position:absolute;top:93px;right:28px;width:360px;padding:20px;background:#fffdf2f5;border:1px solid #cfe1d0;border-radius:18px;z-index:5;box-shadow:0 15px 40px #395d4520}.help-panel>.icon-button{float:right}.help-panel h3{font-size:16px;margin:8px 0 15px}.help-panel p{font-size:11px;line-height:2}.help-panel small{display:block;color:#879b82;margin-top:12px;font-size:10px}#toast{position:fixed;bottom:42px;left:50%;transform:translate(-50%,20px);background:#2d4e42;color:#fff9e8;border-radius:14px;padding:12px 19px;font-size:12px;max-width:700px;opacity:0;pointer-events:none;z-index:30;transition:opacity .15s,transform .15s;box-shadow:0 6px 22px #264c3b20}#toast.show{opacity:1;transform:translate(-50%,0)}#replay-dialog{width:1080px;max-width:90vw;border:1px solid #d5e3d2;border-radius:24px;background:#e7f2e8;color:var(--ink);padding:22px}#replay-dialog::backdrop{background:#203f335a}.replay-head{display:flex;align-items:center;justify-content:space-between}.replay-head h2{margin-top:8px;font-size:21px}#replay-field{width:100%;height:530px;display:block}.replay-controls{display:flex;gap:16px;align-items:center;padding:15px;border-radius:15px;background:var(--cream)}.replay-controls input{flex:1}.replay-controls select{border:1px solid #dce4d5;border-radius:8px;padding:8px;background:#f4f8ec;color:var(--ink)}.replay-controls>span{font-size:12px;min-width:55px}.result-highlights button{text-align:left}.button:hover{filter:brightness(.985)}.text-link{background:transparent}.lesson-options button:hover{border-color:#95b996}.match-field canvas{touch-action:none}.live-status .connection{max-width:210px;text-align:right}.role-heading p{max-width:370px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.learning-runtime{padding-top:22px;padding-bottom:14px}.learning-runtime .learning-main{overflow-y:auto;padding-right:7px;gap:10px}.learning-runtime .lesson-field{height:auto;flex-shrink:0;display:flex;flex-direction:column}.learning-runtime .lesson-stage{height:clamp(450px,48vh,560px);min-height:450px;position:relative;overflow:hidden}.learning-runtime .lesson-stage canvas{width:100%;height:100%;display:block}.learning-runtime .lesson-viewbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#edf6eebf;border-bottom:1px solid #d5e6d6;min-height:54px}.learning-runtime .diagram-label{position:static;display:flex;max-width:40%;min-width:0}.learning-runtime .diagram-label .pill{font-size:11px;white-space:normal;line-height:1.5;padding:6px 11px}.lesson-camera-tools{display:flex;align-items:center;gap:7px;flex-shrink:0}.lesson-camera-tools button{display:flex;align-items:center;gap:6px;justify-content:center;min-height:34px;padding:5px 10px;border:1px solid #dce7d8;border-radius:9px;background:#fffdf3;color:#426475;font-size:11px;white-space:nowrap}.lesson-camera-tools .icon{width:15px;height:15px}.lesson-camera-switch{display:flex;gap:3px}.lesson-camera-switch button{background:transparent;border-color:transparent}.lesson-camera-switch button[aria-pressed=true]{background:#fff0df;border-color:#efd1b7;color:#bd683e;font-weight:700}.lesson-zoom-tools{display:flex;align-items:center;gap:2px;padding:0 4px;border-right:1px solid #d4e3d4}.lesson-zoom-tools button{font-size:18px;width:31px;padding:0}.lesson-zoom-tools span{font-size:11px;min-width:42px;text-align:center;color:#496777}.learning-runtime .lesson-toolbar{position:static;transform:none;align-self:center;display:flex;justify-content:center;gap:10px;margin:5px 0 7px;padding:3px 9px;box-shadow:none;min-height:37px}.learning-runtime .lesson-toolbar button{font-size:12px;min-height:32px}.learning-runtime .learning-progress{padding:12px 15px;margin:16px 0}.learning-runtime .category-list{gap:6px}.learning-runtime .category-item{padding:12px 14px}.learning-runtime .lesson-heading h2{font-size:23px}.learning-runtime .scenario-picker{max-width:360px}.learning-question{position:relative;padding:2px 3px;font-size:14px;line-height:1.7}.learning-question strong{display:inline-block;max-width:85%}.learning-question>.text-link{float:right;font-size:11px}.learning-question p{color:#87977f;font-size:11px;margin-top:7px}.learning-runtime .lesson-option{min-height:58px;padding:10px 12px;font-size:13px}.learning-runtime .lesson-feedback{padding:13px 16px;flex-shrink:0}.learning-event{color:#a28e5e!important;font-size:11px!important;margin-top:5px}.learning-time{font-size:10px;color:#81937e;padding:0 7px;white-space:nowrap}.learning-policy-note{font-size:10px;line-height:1.6;padding:9px 12px;background:#f7efd9;border-radius:10px;color:#a08753}.lesson-option.incorrect{background:#fff0df;border-color:#e2b496}.learning-runtime .lesson-compare .scenario-picker{margin-left:12px;font-size:11px;max-width:280px}.learning-runtime .lesson-compare .button{height:36px;font-size:11px}.learning-runtime .learning-layout{grid-template-columns:225px 1fr}.learning-runtime .lesson-field:fullscreen{width:100vw;height:100vh;border:0;border-radius:0;background:#daede1}.learning-runtime .lesson-field:fullscreen .lesson-stage{height:auto;flex:1;min-height:0}.learning-runtime .lesson-field:fullscreen .lesson-viewbar{padding:13px 22px}.learning-runtime .lesson-field:fullscreen .lesson-toolbar{margin:10px 0;min-height:42px}

/* PC runtime: ordinary pages scroll; the match keeps the field above a compact dock. */
html,body{overflow-y:auto;scrollbar-gutter:stable}.artboard{height:auto;min-height:100vh;overflow:visible}.artboard[data-page=match]{height:100vh;min-height:720px}.artboard:not([data-page=match]) #content{flex:1;min-height:auto}.artboard:not([data-page=match]) .page{min-height:auto}.artboard[data-page=learn] .learning-layout{height:auto;min-height:760px}.learning-runtime .learning-main{overflow:visible}.artboard[data-page=result] .result-layout{min-height:560px}.topbar{height:74px;min-height:74px;padding:0 24px}.product-footer{height:27px;min-height:27px;padding:0 24px}.brand{font-size:22px}.brand-mark{width:44px;height:44px}.mode-tabs button{min-width:126px;padding:0 14px}.header-tools{gap:7px}.class-link{display:flex;gap:6px;align-items:center;font-size:11px;color:#538674;padding:8px 10px;border:1px solid #cce5db;border-radius:10px}.class-link .icon{width:15px;height:15px}.nickname{margin-right:1px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
.match-page{padding:12px 20px 0;min-height:0}.match-meta{top:14px;left:22px;right:22px;grid-template-columns:265px 1fr 320px;min-height:0;pointer-events:none;gap:12px}.match-meta>*{pointer-events:auto}.match-meta .scoreboard{justify-self:center;min-width:332px;padding:13px 16px 10px;border-radius:20px}.score-top{gap:13px}.score-top strong{font-size:35px}.score-bottom{margin-top:10px;gap:7px}.ready-count{text-align:center;color:#db743f;font-size:10px;margin-top:7px}.ready-count strong{font-size:21px;letter-spacing:1px;padding:0 3px}.batter-card{display:grid;grid-template-columns:80px 1fr;column-gap:9px;align-items:center;padding:12px 12px 9px;background:#fffdf5eb;border:1px solid #e4eee2;border-radius:22px;box-shadow:0 5px 22px #315d4b08}.batter-card canvas{width:80px;height:111px;grid-row:1}.batter-information{min-width:0}.batter-information>.label{font-size:11px;color:#2c4757}.batter-information h2{font-size:24px;letter-spacing:-1px;margin:6px 0 8px}.batter-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.batter-stats span{display:flex;flex-direction:column;align-items:center;font-size:10px;color:#ba6b3d;background:#fff0df;border:1px solid #f6dfc7;border-radius:10px;padding:6px 3px}.batter-stats span:nth-child(2){color:#3677cb;background:#eef6ff;border-color:#d7eafa}.batter-stats span:nth-child(3){color:#377e65;background:#edf7ec;border-color:#d7ebd8}.batter-stats b{font-size:21px;line-height:1.2;margin-top:2px}.batter-card>p{grid-column:1/-1;font-size:9px;text-align:center;color:#759384;line-height:1.5}.live-status{padding-top:0;gap:8px}.camera-tools{display:flex;align-items:center;justify-content:flex-end;gap:5px}.view-switch{gap:0;padding:3px;border-radius:10px}.view-switch button{font-size:10px;padding:6px 8px}.view-switch button[aria-pressed=true]{background:#fff2df;color:#bf683f;box-shadow:0 0 0 1px #eed2b1;border-radius:7px}.zoom-tools{display:flex;align-items:center;gap:2px;border:1px solid #d4e6d6;background:#f5f9ed;border-radius:10px;height:33px}.zoom-tools button{width:25px;height:30px;background:transparent;font-size:17px;color:#38616c}.zoom-tools span{font-size:10px;min-width:35px;text-align:center}.camera-tools .icon-button{width:32px;height:33px}.connection{font-size:9px}.match-field{margin:0;min-height:380px}.field-status{top:184px;left:12px;font-size:10px;padding:7px 11px;max-width:280px;background:#fffaf0df}.field-tip{bottom:9px;font-size:10px;padding:7px 11px}.field-legend{left:4px;bottom:9px;font-size:9px}.control-dock{min-height:132px;padding:15px 20px;gap:18px;border-radius:23px;grid-template-columns:205px 1fr 235px;box-shadow:0 8px 22px #2f69520d}.dock-context{padding-right:15px;gap:11px}.dock-context h2{font-size:18px;margin:6px 0 4px}.dock-context p{font-size:10px}.dock-action{gap:8px}.dock-extra{padding-left:16px;gap:7px}.action-button{min-height:56px;padding:8px 10px;font-size:12px}.base-buttons .action-button{min-width:0;flex-wrap:wrap;row-gap:3px}.base-buttons .action-button small{flex-basis:100%;margin:0;background:transparent;width:auto;height:auto;line-height:1.3;color:#7991a0;font-size:10px}.base-buttons .action-button.selected-blue small{color:#eef7ff}.guide-close{background:#fff3bd;border-color:#eacb6c;color:#807244}.guide-close small{color:#b09a44!important}.run-buttons .action-button small{font-size:9px}.match-bottom{height:27px;margin-top:5px;font-size:9px}.between-dock{min-height:132px}.between-dock h2{font-size:20px;margin:6px 0}.between-dock p{max-width:570px}.defense-prep-dock{grid-template-columns:205px 1fr 260px}.defense-live-dock{grid-template-columns:205px 1fr 220px}.formation-buttons .action-button{font-size:11px;min-height:49px;padding:8px}.dock-extra p{font-size:10px;line-height:1.8}.batting-dock{grid-template-columns:minmax(140px,.85fr) minmax(180px,1.05fr) minmax(200px,1.65fr) minmax(195px,1.15fr);gap:14px;min-height:134px}.bat-setting{padding-right:14px;gap:10px;min-width:0}.bat-setting .label{font-size:13px;display:flex;gap:7px;align-items:center;color:#294658}.bat-setting .label i{width:22px;height:22px;display:grid;place-items:center;background:#f8814e;color:white;border-radius:50%;font-size:11px;font-style:normal}.bat-setting .label small{font-size:9px;font-weight:400;color:#87a08f}.bat-setting .label b{font-size:15px;margin-left:auto;color:#e57242}.direction-setting>b{font-size:12px;text-align:center;color:#627f87}.shot-types button{padding:11px 8px;font-size:11px;color:#7f938c;min-height:41px}.shot-types button.selected{background:var(--orange);border-color:var(--orange);color:white}.gauge-setting{gap:7px}.power-gauge{height:16px;border-radius:10px;background:#e8e8e2;overflow:hidden}.power-gauge i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ffc07d,#ff7847);border-radius:10px}.contact-gauge{height:15px;position:relative;background:linear-gradient(90deg,#e0e3e3,#c4d0d0);border-radius:10px;margin-top:2px}.contact-gauge i{position:absolute;top:0;height:100%;left:82%;width:16%;background:#ffa269;border:1px solid #f2864a}.contact-gauge b{position:absolute;width:4px;height:23px;background:#255266;border-radius:3px;top:-4px;left:0;transform:translateX(-50%)}.contact-labels{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#839586}.contact-labels strong{font-weight:500;color:#c37940}.swing-setting{align-items:stretch!important;padding:0!important;gap:10px}.swing-setting .button{font-size:16px;min-height:61px;border-radius:13px;padding:0 14px;width:100%}.swing-setting .button.charging{filter:brightness(.97);transform:translateY(2px);box-shadow:0 2px 0 #d8653b}.swing-setting>span{font-size:9px;text-align:center;color:#6d8e80;line-height:1.4}.help-panel{position:fixed;top:88px;right:25px;width:340px;background:#fffef7f5;padding:19px;z-index:20}.help-panel .eyebrow{font-size:10px;display:block;padding-top:8px}.help-panel p{font-size:12px;line-height:1.9}.help-navigation{display:flex;justify-content:space-between;align-items:center;margin-top:16px}.help-navigation .button{height:36px;font-size:11px}.sound-panel{position:fixed;top:83px;right:75px;z-index:25;width:245px;background:#fffdf6;border:1px solid #d2e6d7;border-radius:16px;padding:14px;box-shadow:0 9px 26px #254c3920}.sound-panel>div{display:flex;justify-content:space-between;align-items:center;font-size:13px}.sound-panel>label{display:flex;align-items:center;gap:10px;font-size:12px;margin-top:14px}.sound-panel>small{display:block;font-size:9px;color:#829c8a;margin-top:14px}.sound-panel input[type=range]{flex:1}.match-page:fullscreen{height:100vh;padding:14px 20px 0;background:radial-gradient(ellipse at 80% 33%,#edf7f1 0%,transparent 55%),var(--mint)}.match-page:fullscreen .match-field{min-height:0}.match-page:fullscreen .match-meta{top:16px}.match-page:fullscreen .field-status{top:184px}

.player-avatar-slot{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:22px;height:22px;margin-right:5px}.player-avatar-slot>*{max-width:22px;max-height:22px}
.batter-stats small{font-size:9px;line-height:13px;min-height:26px;display:grid;place-items:center;text-align:center;word-break:keep-all}.power-gauge i,.contact-gauge b{will-change:transform}

/* Approved PC two-stage batting and brief event cues. */
.batting-dock[data-stage=contact]{grid-template-columns:minmax(105px,.55fr) minmax(145px,.75fr) minmax(330px,2.25fr) minmax(195px,1.15fr)}
.batting-dock[data-stage=contact] .shot-types button{padding:9px 5px}.batting-dock[data-stage=contact] input:disabled{opacity:.55}.batting-dock[data-stage=contact] [data-shot]:disabled{cursor:default;opacity:.65}.batting-dock[data-stage=contact] [data-shot].selected:disabled{opacity:.9}
.next-stage{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;line-height:1.5;color:#879990;margin:0}.next-stage span{font-size:9px;color:#9aaba1}
.locked-power{display:flex;align-items:center;justify-content:space-between;gap:10px;line-height:1.3}.locked-power strong{font-size:15px;color:#d76e3f;background:#fff0df;border-radius:7px;padding:4px 9px}.locked-power .text-link{font-size:10px;padding:4px;color:#4579a8}.legacy-note{font-size:8px;color:#8a9b90;text-align:center}
.ready-count.closing{font-size:15px;color:#df602b;font-weight:700}.ready-count.closing strong{font-size:31px;padding:0 4px}.ready-count small{display:inline-block;font-size:9px;color:#b7763d;background:#fff1d1;border-radius:7px;margin-left:8px;padding:5px 7px;vertical-align:middle}.scoreboard.closing{outline:2px solid #f1ad57;animation:deadline-glow 1s ease-in-out infinite}
@keyframes deadline-glow{0%,100%{box-shadow:0 0 5px #f0bd6c35}50%{box-shadow:0 0 17px #f0bd6c85}}
.field-moment{position:absolute;left:50%;bottom:49px;transform:translateX(-50%);padding:8px 16px;border:1px solid #e7c299;border-radius:11px;background:#fff9eaeF;color:#b56436;box-shadow:0 3px 13px #78634015;font-size:14px;font-weight:700;pointer-events:none;white-space:nowrap}
.match-field[data-cue=hit],.match-field[data-cue=power-lock],.match-field[data-cue=run]{box-shadow:inset 0 0 0 2px #efaf6955}.match-field[data-cue=catch],.match-field[data-cue=throw],.match-field[data-cue=tagstart]{box-shadow:inset 0 0 0 2px #6eacdb55}.match-field[data-cue=safe] .field-moment,.match-field[data-cue=run] .field-moment{color:#3b8c70;border-color:#92c9ae}.match-field[data-cue=force] .field-moment,.match-field[data-cue=tagout] .field-moment,.match-field[data-cue=flyout] .field-moment,.match-field[data-cue=appeal] .field-moment{color:#be6546}
.sound-panel{width:290px}.sound-panel #sound-status{margin-left:auto;font-size:11px;color:#417f73}.sound-panel #volume-value{min-width:33px;font-size:12px;color:#3d697c}.sound-panel #test-sound{width:100%;min-height:36px;height:36px;margin-top:15px;font-size:12px}.sound-panel #sound-feedback{font-size:10px;line-height:1.5;color:#789583;margin:9px 0 0;min-height:15px}
@media(prefers-reduced-motion:reduce){.scoreboard.closing{animation:none;box-shadow:0 0 8px #f0bd6c55}}

/* The complete learning flow fits a 1440 x 941 PC while preserving the 450px field. */
.learning-runtime .learning-event{min-height:14px}

/* Home: three freely accessible activities in the learning order. */
.artboard[data-page=home]{height:100vh;min-height:0;overflow:hidden}
.artboard[data-page=home] .page-home{padding:16px 48px 12px;gap:16px}
.page-home .home-hero{min-height:0;flex:1;grid-template-columns:.8fr 1.2fr}
.page-home .hero-copy{padding:0 0 0 16px}
.page-home .hero-copy h1{font-size:clamp(38px,3.1vw,49px);line-height:1.22;margin:14px 0 17px}
.page-home .hero-copy p{font-size:14px;line-height:1.8}
.page-home .hero-actions{margin-top:20px}
.page-home .hero-actions .button{min-height:49px;padding:0 23px;font-size:15px}
.page-home .hero-field{height:100%;min-height:280px;max-height:420px}
.page-home .home-flow{flex-shrink:0}
.page-home .home-section-heading{margin:0 5px 12px;align-items:center}
.page-home .home-section-heading h2{font-size:19px;margin:0 0 5px}
.page-home .home-section-heading p{font-size:11px;margin:0}
.page-home .mode-card{min-height:218px;padding:19px 24px 18px;text-align:left;transition:transform .15s,border-color .15s,box-shadow .15s}
.page-home .mode-card:hover{transform:translateY(-3px);border-color:#9fc3ab;box-shadow:0 8px 22px #315d4b16}
.page-home .mode-card:active{transform:translateY(-1px)}
.page-home .mode-step{display:inline-grid;place-items:center;width:37px;height:29px;margin-right:9px;border-radius:9px;background:#e2ede0;color:#577e68;font-size:17px;font-weight:800;vertical-align:middle}
.page-home .mode-card>.eyebrow{font-size:11px;vertical-align:middle}
.page-home .mode-card .mode-icon{width:52px;height:52px;right:23px;top:22px;border-radius:16px}
.page-home .mode-card h3{font-size:24px;margin:12px 0 7px}
.page-home .mode-card p{font-size:12px;line-height:1.7;margin:0}
.page-home .mode-card .mode-bottom{margin-top:15px;padding-top:12px;font-size:11px}
.page-home .mode-bottom>span:last-child{font-weight:700;display:flex;align-items:center;gap:5px}
.page-home .mode-card.learn{border:2px solid #97b99b;background:#fffef1;padding:18px 23px 17px}
.page-home .mode-card.learn .mode-bottom>span:last-child{color:#52795b}
.page-home .mode-card.practice .mode-step{background:#ffead7;color:#c97b4c}
.page-home .mode-card.duel{background:#eef5f8;color:#315468;border-color:#cbdfe8}
.page-home .mode-card.duel .mode-step,.page-home .mode-card.duel .mode-icon{background:#dceaf1;color:#5686a2}
.page-home .mode-card.duel .eyebrow,.page-home .mode-card.duel p,.page-home .mode-card.duel .mode-bottom{color:#72909e}
.page-home .mode-card.duel .mode-bottom{border-color:#d1e1e9}
.page-home .daily-situation{flex-shrink:0;padding:12px 20px}
@media(max-height:920px){.artboard[data-page=home] .page-home{padding-top:12px;gap:12px}.page-home .mode-card{min-height:205px}.page-home .hero-field{max-height:360px}.page-home .hero-copy h1{font-size:40px}}
@media(prefers-reduced-motion:reduce){.page-home .mode-card{transition:none}.page-home .mode-card:hover{transform:none}}
.artboard[data-page=learn] .learning-runtime{padding-top:8px;padding-bottom:8px}.artboard[data-page=learn] .learning-runtime .learning-main{gap:4px}.artboard[data-page=learn] .learning-runtime .lesson-heading h2{font-size:20px;line-height:1.25;margin-top:0}.learning-runtime .lesson-heading .eyebrow{font-size:9px;line-height:1.2}.artboard[data-page=learn] .learning-runtime .lesson-viewbar{min-height:40px;padding:3px 12px}.artboard[data-page=learn] .learning-runtime .lesson-toolbar{min-height:28px;margin:2px 0}.learning-runtime .lesson-compare>label{display:flex;align-items:center;gap:8px}.artboard[data-page=learn] .learning-runtime .lesson-compare .scenario-picker{margin-left:0}.learning-runtime .learning-question p{margin-top:2px;line-height:1.4;font-size:10px}
.artboard[data-page=learn]{height:100vh;min-height:0;overflow:hidden}.artboard[data-page=learn] .learning-runtime{height:calc(100vh - 101px);min-height:0;padding-top:10px;padding-bottom:10px}.artboard[data-page=learn] .learning-layout{height:100%;min-height:0}.learning-runtime .learning-main{gap:6px;min-height:0}.learning-runtime .lesson-heading h2{font-size:21px;margin-top:3px}.learning-runtime .lesson-viewbar{min-height:42px;padding:5px 12px}.learning-runtime .diagram-label .pill{padding:4px 9px;font-size:10px}.lesson-camera-tools button{min-height:29px;font-size:10px;padding:4px 8px}.lesson-zoom-tools button{font-size:17px;padding:0}.learning-runtime .lesson-toolbar{min-height:32px;margin:3px 0;padding:2px 9px;gap:8px}.learning-runtime .lesson-toolbar button{height:28px;min-height:28px;font-size:11px}.learning-runtime .learning-question{font-size:12px;line-height:1.5;padding:1px 3px}.learning-runtime .lesson-option{min-height:48px;padding:7px 11px;font-size:12px}.learning-runtime .lesson-feedback{padding:8px 13px;gap:9px}.learning-runtime .lesson-feedback h3{font-size:13px;line-height:1.4;margin-bottom:3px}.learning-runtime .lesson-feedback p{font-size:11px;line-height:1.5}.learning-runtime .lesson-feedback .remember{font-size:10px;line-height:1.4;margin-top:3px}.learning-runtime .learning-event{font-size:10px!important;line-height:1.4!important;margin-top:2px}.learning-runtime .learning-policy-note{padding:4px 9px;font-size:10px;line-height:1.4}.learning-runtime .lesson-compare{padding:0 3px;font-size:10px}.learning-runtime .lesson-compare .button{height:30px;min-height:30px;padding:5px 11px;font-size:10px}.learning-runtime .lesson-compare .scenario-picker{padding:6px 9px;font-size:10px}.learning-runtime .lesson-scene-picker .scenario-picker{padding:6px 10px;font-size:10px}.learning-runtime .lesson-field:fullscreen .lesson-toolbar{margin:10px 0;min-height:42px}

/* Approved learning judgment card: one panel advances from choice to motion to review. */
.artboard[data-page=learn] .learning-runtime .learning-main{gap:8px;overflow:visible;padding-right:0}
.artboard[data-page=learn] .learning-runtime .lesson-heading{flex-shrink:0;min-height:38px;margin:0}
.artboard[data-page=learn] .learning-runtime .lesson-heading h2{font-size:23px;line-height:1.25}
.artboard[data-page=learn] .learning-runtime .lesson-field{flex:1;min-height:420px;height:auto;border-radius:20px}
.artboard[data-page=learn] .learning-runtime .lesson-stage{flex:1;height:auto;min-height:0}
.artboard[data-page=learn] .learning-runtime .lesson-viewbar{flex-shrink:0;min-height:40px}
.artboard[data-page=learn] .learning-runtime .lesson-toolbar{flex-shrink:0;min-height:32px;margin:3px 0}
.learning-runtime .lesson-decision{position:relative;flex-shrink:0;display:flex;flex-direction:column;gap:9px;padding:13px 17px;background:linear-gradient(115deg,#fffef7,#fffcf1);border:1px solid #bcded2;border-radius:20px;box-shadow:0 4px 18px #3b675406}
.learning-runtime .lesson-decision[data-learning-phase=review]{gap:5px;padding-top:10px;padding-bottom:10px}
.learning-runtime .learning-steps-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.learning-runtime .learning-steps{display:flex;align-items:center;gap:24px;list-style:none;padding:0;margin:0;color:#8c9da1;font-size:13px;font-weight:700}
.learning-runtime .learning-steps li{display:flex;align-items:center;gap:8px;position:relative}
.learning-runtime .learning-steps li:not(:last-child):after{content:'→';position:absolute;right:-18px;color:#c2ceca;font-weight:400}
.learning-runtime .learning-steps li>span{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;background:#e3e9e4;color:#879b93;font-size:16px}
.learning-runtime .learning-steps li.active{color:#dc6c39}.learning-runtime .learning-steps li.active>span{background:var(--orange);color:#fffdf5}.learning-runtime .learning-steps li.complete>span{background:#dcece2;color:#5d8570}
.learning-runtime .learning-hint-button{display:flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;min-height:34px;padding:5px 12px;border:1px solid #cce5ec;border-radius:10px;background:#e9f4f7;color:#467291;font-size:12px;font-weight:700}.learning-runtime .learning-hint-button .icon{width:17px;height:17px}
.learning-runtime .learning-question{display:flex;align-items:flex-start;gap:13px;padding:0;font-size:inherit;line-height:1.35}.learning-runtime .learning-question>div{min-width:0}
.learning-runtime .question-number{display:flex;align-items:center;justify-content:center;flex-shrink:0;min-width:61px;min-height:35px;padding:3px 9px;border-radius:10px;background:#f68954;color:white;font-size:18px;font-weight:800;line-height:1.4;white-space:nowrap}
.learning-runtime .learning-question h3{font-size:clamp(21px,1.4vw,24px);font-weight:800;line-height:1.4;letter-spacing:-.8px;margin:0;color:var(--ink);word-break:keep-all}
.learning-runtime .learning-question .question-instruction{font-size:12px;color:#81978f;line-height:1.5;margin:3px 0 0}
.learning-runtime .learning-hint{position:absolute;right:17px;top:53px;z-index:3;width:min(550px,72%);padding:14px 17px;border:1px solid #bad8e5;border-radius:13px;box-shadow:0 9px 25px #315d4b17;background:#f1f9fc;color:#467184;font-size:14px;line-height:1.7;margin:0}
.learning-runtime .lesson-options{gap:10px}.learning-runtime .lesson-option{min-height:64px;padding:10px 15px;border:1px solid #b9ddd2;border-radius:14px;gap:12px;background:#fffef8;color:var(--ink);font-size:clamp(16px,1.1vw,18px);font-weight:700;line-height:1.5;text-align:left;word-break:keep-all;transition:background .12s,border-color .12s}
.learning-runtime .lesson-option:hover{background:#f0f8ef;border-color:#86bba5}.learning-runtime .lesson-option:active{background:#e5f2e8}.learning-runtime .option-letter{width:39px;height:39px;border-radius:50%;background:#e4efe4;color:#386774;font-size:20px;font-weight:800}
.learning-runtime .lesson-chosen{display:flex;align-items:center;gap:8px;min-height:27px;padding:2px 0;color:#557875;font-size:13px;line-height:1.5}.learning-runtime .chosen-label{font-size:11px;color:#8a9b94}.learning-runtime .chosen-letter{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border-radius:8px;background:#e3eee4;font-size:14px;font-weight:800}.learning-runtime .lesson-chosen strong{font-size:14px}.learning-runtime .chosen-result{margin-left:auto;display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap}.learning-runtime .chosen-result .icon{width:15px;height:15px}.learning-runtime .lesson-chosen.correct{color:#50805e}.learning-runtime .lesson-chosen.incorrect{color:#bf7046}
.learning-runtime .learning-motion{padding:8px 12px;border:1px solid #dae8de;border-radius:12px;background:#eef6ed;min-height:71px}.learning-runtime .learning-motion>div:first-child{display:flex;align-items:center;gap:10px}.learning-runtime .motion-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#dfece2;color:#5e8c76;flex-shrink:0}.learning-runtime .motion-mark .icon{width:20px;height:20px}.learning-runtime .learning-motion h4{font-size:15px;line-height:1.4;margin:0}.learning-runtime .learning-motion p{font-size:12px;line-height:1.5;color:#7c9386;margin:2px 0 0}.learning-runtime .learning-motion-track{height:4px;overflow:hidden;border-radius:4px;background:#d4e6d8;margin-top:8px}.learning-runtime .learning-motion-track i{display:block;transform:scaleX(0);transform-origin:left;width:100%;height:100%;background:#83b298}
.learning-runtime .lesson-decision .lesson-feedback{padding:8px 11px;border:1px solid #dce8d8;border-radius:12px;gap:9px;background:#f5f8ed}.learning-runtime .lesson-decision .feedback-icon{width:28px;height:28px;border-radius:9px}.learning-runtime .lesson-decision .feedback-icon .icon{width:17px;height:17px}.learning-runtime .lesson-decision .lesson-feedback h3{font-size:16px;line-height:1.4;letter-spacing:-.4px;margin:0 0 3px}.learning-runtime .lesson-decision .lesson-feedback p{font-size:13px;line-height:1.5;margin:0}.learning-runtime .lesson-decision .lesson-feedback .remember{font-size:12px;line-height:1.4;margin:3px 0 0}.learning-runtime .lesson-decision .learning-event{min-height:0;font-size:10px!important;line-height:1.4!important;margin:2px 0 0}
.learning-runtime .lesson-decision .learning-policy-note{font-size:11px;line-height:1.4;padding:4px 8px;border-radius:8px;margin:0}
.learning-runtime .lesson-decision .lesson-compare{min-height:34px;padding:0;font-size:12px;gap:14px}.learning-runtime .lesson-decision .lesson-compare>label{gap:10px;min-width:0}.learning-runtime .lesson-decision .lesson-compare .scenario-picker{font-size:12px;min-height:32px;padding:5px 9px;max-width:360px;margin-left:0}.learning-runtime .lesson-decision .lesson-compare .button{font-size:12px;min-height:34px;height:34px;padding:5px 15px;flex-shrink:0}
.artboard[data-page=learn] .learning-runtime .lesson-field:fullscreen{height:100vh;min-height:0;flex:none}.artboard[data-page=learn] .learning-runtime .lesson-field:fullscreen .lesson-stage{flex:1;min-height:0}.artboard[data-page=learn] .learning-runtime .lesson-field:fullscreen .lesson-toolbar{min-height:42px;margin:10px 0}
