/* Larger reading sizes and the hand-sketch palette. */
:root{--muted:#596475;--lp:#d17b77;--lr:#d6d176;--lm:#71c57b;--li:#75c9cb;--ri:#ba7fce;--rm:#d17b77;--rr:#d6d176;--rp:#71c57b;--thumb:#8783d1}
body{font-size:16px}
.nav-item{font-size:16px;color:#596475}
.nav-caption,.breadcrumb,.eyebrow{font-size:12px;color:#656779;letter-spacing:1px}
.page-heading p{font-size:16px}.heading-label{font-size:14px;color:#596475}
.language-switch button{font-size:14px;color:#596475}
.section-line h2{font-size:17px}.section-line>span{font-size:14px;color:#596475}
.daily-card strong,.daily-card p,.daily-card small,.profile strong,.profile small{font-size:13px}
.daily-card p{line-height:1.6}.daily-card small,.profile small{color:#596475}
.daily-card{padding:16px 12px}.profile strong{max-width:120px}
.text-button,.small-primary{font-size:14px}
.primary,.secondary{font-size:15px}
.lesson-info strong{font-size:17px}.lesson-info p{font-size:14px;line-height:1.5;max-width:850px}
.lesson-info{align-items:flex-start;gap:11px}.lesson-info>.text-button{align-self:center}
.lesson-icon{margin-top:3px}
.stats-bar{padding:13px 22px;gap:5px}.stat{flex-direction:column;gap:3px;align-items:flex-start}
.stat strong{font-size:28px}.stat small{font-size:14px;color:#596475;margin:0}
.timer-stat{flex-direction:row;align-items:center}.timer-stat>div{display:block}
.timer-stat small{display:block}.error-stat strong{color:#596475}
#targetText{font-size:28px;line-height:1.65;color:#626e7d}
.char.correct{color:#267553}.char.current{color:#242132}
.typing-footer>span{font-size:14px;color:#596475;line-height:1.45}
.typing-footer{min-height:52px;gap:15px}.typing-footer>div{flex-shrink:0}
.keyboard-heading,.toggle{font-size:14px;color:#596475}
.keyboard-heading{max-width:920px;gap:16px}
.keyboard{max-width:920px}.key{height:36px;font-size:17px;color:#222936}
.key.special{font-size:12px;color:#303746}.key .shift-symbol{font-size:11px;left:4px;top:0;opacity:1}
.key[data-finger]:not([data-finger=""]){background:var(--finger)}
.key.next{box-shadow:0 2px 0 #75717e,0 0 0 2px #fff,0 0 0 4px #39324d}
.key.home:after{opacity:.8}
.hands-section{max-width:710px;gap:26px;margin-top:14px}
.hands{gap:42px}.hand{width:150px;height:152px}
.hand-outline{fill:none;stroke:#131820;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.finger{stroke:none}.finger.active{stroke:#262033;stroke-width:3;filter:drop-shadow(0 0 3px #30223f80)}
.hand-caption,.hand-caption span{font-size:14px;color:#596475}
.hand-caption strong{font-weight:600}.hand-caption span{letter-spacing:3px}
.finger-legend{font-size:13px;color:#596475;gap:20px;margin-top:8px}
.finger-legend i{width:12px;height:12px;border:1px solid #74788960}
.page-footer{font-size:13px;color:#596475;gap:20px}
.course-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:15px 0}
.course-toolbar label{display:flex;align-items:center;gap:12px;font-size:14px;color:#596475}
.course-toolbar select{font-size:15px;min-width:290px;max-width:100%}
.lesson-path{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 12px}
.pair-button{min-width:95px;border:1px solid #dfe3ea;background:#fff;border-radius:10px;padding:9px 15px;text-align:left}
.pair-button strong{display:block;font:600 20px/1.3 Consolas,monospace;white-space:nowrap}
.pair-button small{display:block;font-size:13px;color:#596475;margin-top:3px}
.pair-button.current{background:#fff0e8;border-color:#c7795d;box-shadow:0 0 0 1px #c7795d}
.pair-button.complete small{color:#267553}
.lesson-stages{display:flex;gap:10px;margin-bottom:22px;flex-wrap:wrap}
.stage-button{display:flex;align-items:center;gap:9px;font-size:15px;padding:9px 13px;border:1px solid #dee2e9;border-radius:8px;color:#596475;background:#fff}
.stage-button>span{display:grid;place-items:center;border-radius:50%;background:#edf0f4;width:25px;height:25px;font-size:13px}
.stage-button.current{background:#eee9f8;color:#5e467c;border-color:#ac98c8}
.stage-button.complete>span{background:#e0eee5;color:#267553}
.pair-builder{display:flex;gap:22px;margin:24px 0}
.pair-builder label{display:flex;flex-direction:column;gap:8px;font-size:15px}
.pair-builder select{font-size:24px;min-width:150px}
.control-label,.segmented button,.mode-controls select{font-size:15px;color:#596475}
.library-intro p,.book-author,.book-preview,.book-body button,.library-note{font-size:14px;color:#596475}
.book-meta,.book-cover>span{font-size:13px}.book-body h3{font-size:18px}
.book-cover>strong{font-size:25px}.book-meta{color:#596475;flex-wrap:wrap}
.book-preview{line-height:1.7}.book-cover{height:150px}.book-cover>span{letter-spacing:.5px}
.library-intro small{font-size:13px}.library-note{line-height:1.65}
.summary-card span,.history-card table,.badge strong,.badge small{font-size:14px}
.summary-card strong{font-size:34px}.badge small{color:#625c51}
.chart-column span{font-size:13px}.history-card th{color:#596475}
.history-card h2 small{font-size:14px}
dialog{width:min(680px,calc(100vw - 32px))}dialog p,.help-steps li,.result-detail,.profile-choice,.form-error{font-size:15px}
.result-stats small{font-size:14px}.result-tip{font-size:15px!important}.formula{font-size:13px!important}
.focus-cover>span{font-size:14px}.toast{font-size:15px}
@media(min-width:951px){
 .practice-active .topbar{height:52px}.practice-active main{padding:14px 30px}
 .practice-active .lesson-info{margin-bottom:10px}
 .practice-active .lesson-info>.text-button{display:none}
 .practice-active .exercise-area{padding:10px 24px;min-height:106px}
 .practice-active #textViewport{height:86px}
 .practice-active .typing-footer{padding:7px 22px;min-height:46px}
 .practice-active .stats-bar{padding-top:10px;padding-bottom:10px}
 .practice-active .key{height:30px}
 .practice-active .hand{width:133px;height:135px}
 .practice-active .keyboard-heading{margin-top:11px;margin-bottom:9px}
 .practice-active .hands-section{margin-top:10px}
 .practice-active .finger-legend{margin-top:4px}
}
@media(min-width:951px) and (max-height:750px){
 .practice-active .topbar{height:44px}.practice-active main{padding-top:10px}
 .practice-active .key{height:26px}.practice-active .hand{width:118px;height:120px}
 .practice-active .lesson-info p{line-height:1.4}
}
@media(max-width:1190px){
 .nav-item{font-size:14px;padding:12px 9px;gap:8px}
 .stat small{font-size:13px}.lesson-info p{max-width:100%}
 .stats-bar{padding-left:16px;padding-right:16px}
 .sidebar-bottom .daily-card{padding:12px 9px}.daily-card strong,.daily-card p,.daily-card small{font-size:12px}
}
@media(max-width:950px){
 .nav-item{font-size:0;padding:14px}.key{font-size:15px;height:33px}.key.special{font-size:11px}
 .practice-active .page-heading,.practice-active #learnControls,.practice-active #speedControls,.practice-active .page-footer{display:none}
 .hands{gap:20px}.hands-section{gap:16px}.hand{width:132px;height:135px}
 .breadcrumb{font-size:11px}.page-footer{font-size:12px}
}
@media(max-width:650px){
 body{font-size:15px}.breadcrumb{display:none}.topbar{justify-content:flex-end}
 .course-toolbar{align-items:stretch;flex-direction:column;gap:10px}
 .course-toolbar label{flex-wrap:wrap;gap:7px}.course-toolbar select{width:100%;min-width:0}
 .course-toolbar .secondary{align-self:flex-start}
 .pair-button{min-width:82px;padding:8px 12px}.pair-button strong{font-size:19px}
 .lesson-stages{gap:7px}.stage-button{font-size:14px;padding:7px 9px;gap:6px}
 .section-line{gap:10px;align-items:flex-start}.section-line h2{font-size:16px}.section-line>span{font-size:13px}
 .page-heading p{font-size:15px}.eyebrow{font-size:11px}.lesson-info strong{font-size:16px}.lesson-info p{font-size:14px}
 .stats-bar{padding:12px 9px;gap:0}.stat{padding-left:7px}.timer-stat{padding:0}
 .stat strong{font-size:25px}.stat small{font-size:12px}
 #targetText{font-size:24px;line-height:1.6}
 .typing-footer{flex-wrap:wrap;align-items:center;padding:12px;gap:8px}
 .typing-footer>span{font-size:13px;max-width:none;flex:1;min-width:180px}
 .typing-footer>div{margin-left:auto}.small-primary{font-size:14px}
 .keyboard-heading{font-size:13px;align-items:flex-start}.toggle{font-size:13px;white-space:nowrap}
 .keyboard{overflow-x:auto}.key-row{min-width:620px}.key{height:32px;font-size:15px}
 .key.special{font-size:11px}.key .shift-symbol{font-size:10px}
 .hands-section{gap:8px;flex-wrap:wrap}.hands{gap:15px;order:-1;width:100%;justify-content:center}
 .hand{width:132px;height:136px}.hand-caption{width:43%;text-align:center}.hand-caption span{font-size:13px}
 .finger-legend{font-size:12px;gap:9px;flex-wrap:wrap}.finger-legend i{width:10px;height:10px}
 .book-grid{grid-template-columns:1fr}.book-body{padding:18px}.book-cover>strong{max-width:200px}
 .library-intro{align-items:flex-start;flex-wrap:wrap}.library-intro p{font-size:14px}
 .page-footer{flex-direction:column;font-size:12px}.page-footer>span:last-child{max-width:none;text-align:left}
 .history-card td,.history-card th{font-size:13px}.summary-card span{font-size:13px}
 .badge-row{grid-template-columns:1fr}.badge{padding:16px}.badge strong,.badge small{font-size:14px}
 .pair-builder{gap:12px}.pair-builder select{min-width:110px}.result-stats small{font-size:12px}
}
