:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;color:#30352d;background:#faf9f6;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,select,textarea{font:inherit}button,a{transition:background .18s,color .18s,transform .18s}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #de862e;outline-offset:4px}a{color:inherit;text-decoration:none}button{border:0;background:none}header{height:88px;border-bottom:1px solid #e9e7e1;display:flex;align-items:center;justify-content:space-between;gap:25px;padding:0 max(5%,calc((100vw - 1280px)/2));white-space:nowrap}.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:800;letter-spacing:-1px}.brand-light{font-weight:500}.brand sup{font-size:11px;color:#b8a389;margin-left:5px}.tiger.small{width:41px;height:39px}.tiger{width:160px;height:148px}nav{display:flex;gap:28px;height:100%;align-items:center}nav button{display:flex;align-items:center;gap:8px;height:100%;font-size:13px;color:#85877f;border-bottom:2px solid transparent;padding:0 5px}nav button.active{border-color:#df8938;color:#30352d}nav button:hover{color:#c46d24}.header-actions{display:flex;align-items:center;gap:19px}.login{display:flex;align-items:center;gap:12px;background:#30382d;color:#fff;border-radius:7px;padding:12px 16px;font-size:12px}.username{font-size:12px;max-width:100px;overflow:hidden;text-overflow:ellipsis}.icon{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;color:#85877e;font-size:15px}.icon:hover{background:#eae7df;border-radius:5px}main{max-width:1280px;margin:auto;padding:0 30px}.intro{display:flex;justify-content:space-between;align-items:center;height:235px;padding:12px 30px 0 0}.eyebrow{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:700;letter-spacing:2px;color:#8e907f}.eyebrow>span{width:6px;height:6px;border-radius:50%;background:#a0ac82}h1{font-size:42px;font-weight:800;letter-spacing:-1.5px;margin:15px 0 14px;line-height:1.4}h1>span{color:#d58135}.intro p{font-size:13px;color:#95968c;letter-spacing:.5px}.intro-art{position:relative;display:flex;align-items:center;margin-right:28px}.intro-art>.tiger{transform:rotate(7deg)}.bubble{border:1px solid #e6e1d6;background:#fffdf7;border-radius:13px 13px 0 13px;padding:13px;font-size:11px;transform:rotate(-6deg);margin-right:-8px;margin-top:-62px}.bubble span{margin-left:12px;color:#d8953c}.spark{position:absolute;right:-14px;top:1px;color:#db903c;font-size:32px}.tiny-key{position:absolute;right:-20px;bottom:5px;transform:rotate(15deg);border:1px solid #ded7c8;border-bottom-width:3px;border-radius:6px;padding:5px 10px;color:#aaa28f;background:#f6f0e4}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 282px;gap:24px}.practice-panel{background:#fff;border:1px solid #e3e4dd;border-radius:14px;overflow:hidden;box-shadow:0 6px 25px #292b2503}.panel-top{height:64px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eeeee8;padding:0 24px;gap:10px}.mode-tabs{display:flex;height:100%;gap:24px}.mode-tabs button{display:flex;align-items:center;gap:7px;font-size:12px;color:#91938b;border-bottom:2px solid transparent;padding:0}.mode-tabs button.selected{color:#d7893e;border-bottom-color:#de9144}.small-label{font-size:10px;color:#a5a69d}.settings{display:flex;justify-content:space-between;padding:20px 25px 0;gap:10px}.settings>div{display:flex;gap:10px;align-items:center;color:#999b91}.settings select{background:#f5f5f0;color:#777d6e;font-size:11px;border:0;border-radius:6px;padding:9px}.divider{height:16px;width:1px;background:#e8e9e1;margin:0 4px}.time{font-size:11px;padding:5px 8px;border-radius:5px}.time.selected{background:#f9eddd;color:#c98033}.exercise{padding:22px 30px 20px}.exercise-meta{display:flex;justify-content:space-between;align-items:center}.status{font-size:10px;display:flex;align-items:center;gap:6px;color:#a2a398}.status i{width:5px;height:5px;background:#b4bd9e;border-radius:50%}.countdown{color:#c78b43;font-size:25px;font-weight:500}.countdown small{color:#a9a99c;font-size:10px}.typing-text{font-family:'Courier New',monospace;font-size:25px;line-height:1.85;letter-spacing:.8px;color:#b6b7ad;height:143px;overflow:hidden;margin:21px 0 12px;overflow-wrap:anywhere}.typing-text .correct{color:#4d6351}.typing-text .wrong{color:#c45d55;background:#ffe7e1}.cursor{border-left:2px solid #e59c48;margin-left:-2px}.typing-input{display:block;width:100%;height:35px;resize:none;border:0;border-bottom:1px solid #eeeae0;background:transparent;color:#6b745e;font-size:12px;outline-offset:1px;padding:7px}.typing-input:disabled{opacity:.65}.exercise-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:20px;gap:12px}.exercise-bottom>span{font-size:10px;color:#abae9f}.exercise-bottom kbd{border:1px solid #dedfd6;border-radius:4px;padding:2px 5px;font-size:11px;margin-right:4px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:#f2a14c;border:1px solid #e79a47;border-radius:7px;padding:11px 21px;color:#553b1d;font-size:12px;font-weight:600;box-shadow:0 2px 0 #c5863733}.primary:hover{background:#ed9234;transform:translateY(-1px)}.keyboard{margin:7px auto 20px;max-width:500px;display:flex;flex-direction:column;align-items:center;gap:5px}.keyboard>div{display:flex;gap:5px}.keyboard span{width:36px;height:31px;border:1px solid #e4e6dd;border-bottom:3px solid #e1e3d9;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:10px;color:#9a9f8d;background:#fafbf7}.keyboard span.home-key{background:#f7eddd;border-color:#ead9b7;color:#b79863;text-decoration:underline;text-underline-offset:4px}.keyboard span.next-key{background:#f0a754;color:#fff;border-color:#d48e3d}.keyboard span.space{width:206px;font-size:8px;letter-spacing:2px;height:25px}.panel-footer{padding:15px 24px;border-top:1px solid #eeeFE8;display:flex;justify-content:space-between;font-size:9px;color:#a0a58f}.green-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#9eae83;margin-right:4px}aside{display:flex;flex-direction:column;gap:17px}.daily-card{background:#f3f4eb;border:1px solid #e5e8d9;border-radius:12px;padding:22px}.card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.card-title>span{display:flex;align-items:center;gap:7px}.card-title svg{color:#ce883d}.tag{font-size:8px;letter-spacing:1px;color:#a5a98d}.daily-card h3{font-size:20px;margin:22px 0 8px;font-weight:600;letter-spacing:-.5px}aside p{font-size:11px;color:#929780;line-height:1.9;margin:5px 0}.goal-row{display:flex;align-items:center;justify-content:space-between;margin-top:23px}.goal-row strong{font-size:23px;font-weight:600}.goal-row small{font-size:10px;color:#a0a68d;font-weight:400}.goal-row>span{font-size:10px;color:#8d987a}.progress-track{height:6px;background:#e5e8d9;border-radius:10px;overflow:hidden;margin:12px 0 19px}.progress-track i{display:block;height:100%;background:#97aa73;border-radius:10px}.week{display:flex;justify-content:space-between;text-align:center}.week>div{display:flex;flex-direction:column;gap:9px}.week span{font-size:9px;color:#9ca38b}.week b{width:23px;height:23px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e8ebde;color:#b9bea9;font-size:11px}.week b.today{background:#eddab5;color:#c38434}.week b.completed{background:#91a575;color:white}.daily-card .gentle{border-top:1px dashed #daddce;padding-top:13px;margin-top:17px;font-size:10px}.tip-card{padding:20px 22px;background:#fff9ef;border:1px solid #eee3d2;border-radius:12px}.tip-card .card-title{color:#b38950;font-size:11px}.tip-card h3{font-size:15px;margin:17px 0 8px;font-weight:500}.tip-card p{color:#a19683}.tip-keys{display:flex;align-items:center;gap:6px;margin-top:15px}.tip-keys kbd{border:1px solid #e6d4b4;border-bottom-width:3px;border-radius:5px;padding:4px 9px;color:#b4986b;background:#fffdf8}.tip-keys span{font-size:9px;color:#b5a78b;margin-left:7px}.account-card{display:flex;justify-content:space-between;align-items:center;padding:5px 4px;font-size:11px;color:#8b9380}.account-card small{display:block;font-size:9px;color:#a9ad9d;margin-top:6px}.routes{margin:36px 0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:15px}.section-heading h2{font-size:17px;font-weight:600;margin:0}.section-heading>span{display:flex;align-items:center;gap:8px;font-size:10px;color:#a2a697}.route-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.route-card{display:flex;align-items:center;text-align:left;padding:23px 16px;border:1px solid #e6e7e0;border-radius:10px;gap:13px}.route-card:hover{transform:translateY(-3px);border-color:#cfbb9c}.route-card>svg{margin-left:auto;flex-shrink:0;color:#a0a38f}.mint{background:#f0f4ee}.peach{background:#faf0e6}.lavender{background:#f1f0f6}.route-icon{font-size:28px}.route-card small{font-size:9px;color:#9ca38b}.route-card h3{font-size:13px;font-weight:600;margin:7px 0}.route-card p{font-size:9px;color:#a1a396;margin:0;line-height:1.7}.faq{display:flex;gap:24px;margin:20px 0 30px;border-top:1px solid #e6e7df;padding-top:18px}.faq details{flex:1;font-size:11px;color:#959b88}.faq summary{cursor:pointer}.faq p{line-height:1.9;max-width:520px}footer{max-width:1220px;margin:0 auto;padding:25px 0;border-top:1px solid #e6e7df;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:10px;color:#a4a898}footer .brand{font-size:15px;color:#7f8774}footer .tiger.small{width:25px;height:25px;filter:grayscale(.6);opacity:.7}.footer-dot{margin:0 13px}.notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#30382d;color:white;border-radius:10px;padding:15px 20px;font-size:12px;z-index:20;max-width:90vw;box-shadow:0 5px 20px #0002;display:flex;gap:20px;align-items:center}.notice button{color:#fff;font-size:22px}.content-panel{background:#fff;border:1px solid #e4e6dc;border-radius:14px;padding:30px;margin-bottom:30px}.content-panel>p{font-size:12px;color:#909781;line-height:1.8}.lesson{display:flex;width:100%;text-align:left;align-items:center;border-bottom:1px solid #e8eadd;padding:25px 10px;gap:25px}.lesson:hover{background:#faf7ee}.lesson>b{font-size:28px;color:#d59649}.lesson>div{flex:1}.lesson h3{font-size:18px}.lesson p{font-size:12px;color:#959c88;line-height:1.9}.secondary{display:inline-flex;gap:8px;align-items:center;font-size:12px;border:1px solid #dfe3d6;border-radius:5px;padding:8px 12px;margin-left:10px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:25px 0}.stat-grid>div{display:flex;flex-direction:column;padding:20px;background:#f5f6ee;border-radius:10px;gap:12px}.stat-grid svg{width:20px;color:#a1ad8c}.stat-grid strong{font-size:35px;font-weight:500}.stat-grid span{font-size:12px;color:#939c82}.chart{display:flex;gap:30px;align-items:flex-end;height:190px;border-bottom:1px solid #e9ecdf;padding:12px 20px}.chart>div{display:flex;flex:1;flex-direction:column;align-items:center;gap:10px;font-size:10px;color:#969d88}.chart i{display:block;width:70%;max-width:50px;background:#c0cdac;border-radius:5px 5px 0 0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th,td{padding:14px 12px;border-bottom:1px solid #e7eadf;white-space:nowrap}th{color:#929b83;font-weight:500}.empty{text-align:center;padding:35px}.empty .tiger{margin:auto}.empty p{font-size:14px;color:#99a18b}.result{text-align:center;height:212px;padding:8px}.result-badge{color:#c38d43;font-size:10px;letter-spacing:2px}.result h2{font-size:20px;margin:8px}.result>div{display:flex;justify-content:center;gap:50px}.result strong{font-size:40px;font-weight:500}.result small{display:block;font-size:10px;color:#9ba38c}.result p{font-size:10px;color:#9ba38c}.large .typing-text{font-size:32px}.large{font-size:18px}.focus-mode aside,.focus-mode .intro,.focus-mode .routes,.focus-mode .faq,.focus-mode footer{display:none}.focus-mode .workspace{grid-template-columns:1fr;margin:40px auto;max-width:1000px}.dark{background:#20251f;color:#e1e6d9;min-height:100vh}.dark header,.dark footer{border-color:#3d4437}.dark .practice-panel,.dark .content-panel{background:#292f26;border-color:#454a3e}.dark nav button.active{color:#e9e9df}.dark .daily-card,.dark .stat-grid>div,.dark .mint{background:#30392c;border-color:#48503c}.dark .tip-card,.dark .peach{background:#3c3428;border-color:#504537}.dark .lavender{background:#34313e}.dark .keyboard span,.dark select{background:#343a2f;border-color:#4e5841}.dark .typing-text .correct{color:#c2d6a1}.dark .panel-top,.dark .panel-footer,.dark .typing-input{border-color:#414a38}.dark .bubble{background:#3a3c2c;border-color:#51543d}.dark .faq{border-color:#464d3f}.dark .lesson:hover{background:#343a2f}
@media(min-width:1500px){main{max-width:1330px}.workspace{grid-template-columns:minmax(0,1fr) 300px}.typing-text{font-size:27px}.intro{height:250px}}
@media(max-width:1050px){header{padding:0 25px;gap:15px}nav{gap:15px}.brand{font-size:21px}.small-label{display:none}.workspace{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.mode-tabs{gap:18px}.exercise{padding:20px}.route-card{gap:9px;padding:18px 12px}.route-icon{font-size:23px}.route-card p{font-size:9px}.intro-art{margin:0}.settings{padding:18px 15px 0}.settings>div{gap:5px}footer{margin:0 30px}.route-card>svg{display:none}}
@media(max-width:800px){header{height:auto;min-height:75px;flex-wrap:wrap;padding:16px 20px 0;gap:10px}.brand{font-size:23px}nav{order:3;width:100%;justify-content:center;gap:35px;height:45px}nav button{font-size:12px}.header-actions{margin-left:auto}.workspace{grid-template-columns:1fr}aside{display:grid;grid-template-columns:1fr 1fr;gap:15px}.account-card{grid-column:1/-1;padding:6px 10px}.intro{height:200px;padding:0}.intro-art .tiger{width:110px}.bubble{display:none}.intro h1{font-size:32px}.intro p{font-size:11px;max-width:310px;line-height:1.9}.eyebrow{font-size:8px;letter-spacing:1.5px}.spark{font-size:22px}.tiny-key{right:0;bottom:10px}.route-grid{grid-template-columns:1fr}.route-card{padding:19px;gap:20px}.route-card p{font-size:11px}.route-icon{font-size:30px}.route-card>svg{display:block}.route-card h3{font-size:15px}.route-card small{font-size:10px}.section-heading>span{display:none}footer>span:nth-child(2){display:none}.stat-grid{grid-template-columns:1fr 1fr}.faq{flex-direction:column;gap:15px}}
@media(max-width:480px){main{padding:0 15px}.header-actions{gap:8px}.login{font-size:10px;padding:10px}.intro h1{font-size:28px}.intro-art{width:95px}.intro-art .tiger{width:95px}.intro p{max-width:230px}.eyebrow{font-size:7px}.intro{height:185px}.mode-tabs{gap:20px}.panel-top{padding:0 15px;height:55px}.mode-tabs button{font-size:11px}.settings{flex-wrap:wrap}.settings>div{gap:3px}.settings select{font-size:10px;padding:7px}.settings .icon{width:25px}.exercise{padding:15px}.typing-text{font-size:23px;height:128px;margin-top:14px}.keyboard{max-width:100%;padding:0 10px}.keyboard>div{gap:4px}.keyboard span{width:26px;height:29px}.keyboard span.space{width:155px}.exercise-bottom>span{font-size:8px}.primary{padding:10px 14px;font-size:11px}.daily-card,.tip-card{padding:16px}.card-title{font-size:11px}.tag{display:none}.daily-card h3{font-size:18px}.tip-card h3{font-size:14px}.week b{width:17px;height:17px;font-size:9px}.tip-keys{flex-wrap:wrap}.tip-keys span{font-size:8px}.panel-footer{padding:13px 15px;font-size:8px}.section-heading h2{font-size:16px}.content-panel{padding:20px 15px}.chart{gap:8px;padding:12px 0}.chart small{font-size:8px}.content-panel h3{font-size:16px}.lesson{gap:15px}.lesson p{font-size:11px}.lesson h3{font-size:15px}.secondary{font-size:10px;padding:6px}.stat-grid strong{font-size:28px}.result strong{font-size:35px}.result>div{gap:30px}footer{margin:0 20px}.username{max-width:60px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.typing-text{position:relative}
.auth-main{max-width:580px;padding:55px 20px}.auth-main>.brand{margin-bottom:35px}.auth-card{padding:30px}.auth-card h1{font-size:25px;letter-spacing:0;margin-top:25px}.auth-tabs{height:45px}.auth-card form{display:flex;flex-direction:column;gap:20px;margin:25px 0}.auth-card form label{display:flex;flex-direction:column;gap:8px;font-size:13px}.auth-card input{font:inherit;border:1px solid #daddd1;border-radius:7px;padding:12px;min-width:0;background:#fff}.auth-card .honeypot{position:absolute;left:-10000px}.auth-error{color:#ad4030!important}.recovery-code{display:block;overflow-wrap:anywhere;background:#f3f4eb;padding:20px;margin:20px 0;line-height:1.8}.saved-check{display:flex;gap:8px;align-items:center;font-size:13px;margin:20px 0}

.typing-text{cursor:text}.typing-input{height:52px;min-height:52px;border:1px solid #d7ddcc;border-radius:8px;background:#fafbf7;padding:13px;font-size:16px;line-height:24px}.typing-input:focus{outline:2px solid #e3a04c;outline-offset:2px;background:#fff}.typing-input:disabled{background:#f6f6f0}.dark .typing-input{background:#30392c}.dark .typing-input:focus{background:#30392c}.auth-card .primary{margin-block:16px}

/* The native input stays accessible for keyboards and IMEs; the prompt is the visual editor. */
.typing-surface{position:relative;cursor:text;border-radius:8px}
.typing-surface:focus-within{outline:2px solid #e3a04c55;outline-offset:6px}
.typing-surface .typing-text{margin-bottom:0;padding:2px 0}
.typing-surface .typing-input{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;opacity:0;resize:none;caret-color:transparent;font-size:16px}
.typing-hint{font-size:11px;line-height:1.7;color:#777e6d;margin:14px 0 0}
.typing-text .composing{color:#a47122;text-decoration:underline;text-decoration-style:dotted;background:#fcf1d7}
.is-running .cursor{animation:tiger-caret 1s step-end infinite}
@keyframes tiger-caret{50%{border-left-color:transparent}}
@media(prefers-reduced-motion:reduce){.is-running .cursor{animation:none}}
.dark .typing-hint{color:#b1baa4}.dark .typing-text .wrong{background:#663a34;color:#ffbbb0}
@media(max-width:360px){aside{grid-template-columns:1fr}.header-actions{gap:2px}header{padding-inline:12px}.keyboard>div{gap:3px}.keyboard span{width:23px}.mode-tabs{gap:12px}}

/* Localized copy must wrap without squeezing typing controls. */
.language-switch{font:inherit;font-size:12px;border:1px solid #dce1d3;border-radius:7px;padding:8px;max-width:160px;min-width:0;background:#f6f7ef;color:inherit}
header{height:auto;min-height:88px;gap:18px}.brand{direction:ltr;flex-shrink:0}.header-actions{gap:10px}nav{min-height:70px;gap:18px}nav button{white-space:normal;min-height:60px}.login{white-space:normal;text-align:center}
.panel-top{height:auto;min-height:64px}.mode-tabs{height:auto;flex-wrap:wrap;gap:0 18px}.mode-tabs button{min-height:48px}.small-label{max-width:160px;text-align:end}.settings{flex-wrap:wrap}.settings>div{flex-wrap:wrap}.exercise-bottom{flex-wrap:wrap}.exercise-bottom .primary{margin-inline-start:auto}.typing-hint{overflow-wrap:anywhere}.section-heading{flex-wrap:wrap}.route-card,.lesson,table{text-align:start}.intro{gap:20px}.intro h1{font-size:clamp(28px,3vw,42px)}.intro p{max-width:600px}.intro-art{flex-shrink:0}.content-panel>p .language-switch{margin:8px}.auth-main>.language-switch{display:block;margin-inline-start:auto;margin-bottom:18px}.auth-tabs{height:auto}.auth-card input[name=username],.auth-card input[name=password],.auth-card input[name=recovery]{direction:ltr}.chart small{text-align:center}.dark .language-switch{background:#343a2f;color:#e1e6d9;border-color:#4e5841}
.typing-text[dir=rtl]{font-family:inherit;letter-spacing:0;text-align:right}.typing-text[dir=rtl] .cursor{border-left:0;margin-left:0;border-right:2px solid #e59c48;margin-right:-2px}.is-running .typing-text[dir=rtl] .cursor{animation:tiger-caret-rtl 1s step-end infinite}@keyframes tiger-caret-rtl{50%{border-right-color:transparent}}
html[dir=rtl] .intro,html[dir=rtl] .header-actions{direction:rtl}html[dir=rtl] .route-card>svg{margin-left:0;margin-right:auto}html[dir=rtl] .secondary{margin-left:0;margin-right:10px}html[dir=rtl] .header-actions{margin-left:0}html[dir=rtl] .lesson>svg{transform:scaleX(-1)}
@media(max-width:1100px){header{flex-wrap:wrap;padding:14px 24px 0}nav{order:3;width:100%;justify-content:center;min-height:44px;gap:28px}nav button{min-height:44px}.header-actions{margin-inline-start:auto}.small-label{display:none}}
@media(max-width:800px){.intro{height:auto;min-height:200px;padding-block:22px}.intro h1{letter-spacing:-.5px}.intro-art{max-width:100px}.mode-tabs{gap:0 14px}.panel-top{padding-block:4px}}
@media(max-width:600px){header{padding:14px 15px 0;gap:12px}.header-actions{width:100%;margin:0;justify-content:space-between}.header-actions .login{margin-inline-start:auto}nav{gap:14px}nav button{flex:1;justify-content:center;font-size:12px}.intro h1{font-size:28px}.intro-art{display:none}.intro p{max-width:none}.intro{min-height:170px}.panel-top{padding-inline:14px}.mode-tabs{column-gap:14px}.mode-tabs button{font-size:11px}.daily-card,.tip-card{overflow-wrap:anywhere}.card-title{flex-wrap:wrap}.goal-row{flex-wrap:wrap}.goal-row small{font-size:10px}.stat-grid>div{min-width:0;padding:14px}.stat-grid span{overflow-wrap:anywhere}.lesson{gap:12px}.lesson>svg{flex-shrink:0}.section-heading .secondary{margin:0}.faq details{overflow-wrap:anywhere}.auth-card{padding:22px}.auth-card h1{font-size:23px}.auth-card .primary{max-width:100%;white-space:normal}.auth-card .secondary{margin-inline-start:0;max-width:100%;white-space:normal}.recovery-code{font-size:13px}.typing-text{line-height:1.8}.username{max-width:90px}}
@media(prefers-reduced-motion:reduce){.is-running .typing-text[dir=rtl] .cursor{animation:none}}
/* Keep the bot-trap field out of view without creating an RTL scroll range. */
.auth-card .honeypot{left:0;top:0;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.intro h1>span{margin-inline-start:.18em}
/* Expanded practice and learning tools. */
.practice-launchers,.training-filters,.current-exercise,.retry-panel{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.practice-launchers{margin-bottom:18px}.practice-launchers>span,.current-exercise{font-size:12px;color:#68715e}.practice-options{padding:14px 24px;border-bottom:1px solid #e9e7e1}.practice-options>summary{cursor:pointer;font-size:13px;font-weight:650}.training-filters{margin:14px 0}.training-filters label{display:flex;align-items:center;gap:8px;font-size:13px}.training-filters select,.training-filters input[type=number]{max-width:100%;min-width:0;font:inherit;padding:8px;border:1px solid #dce0d3;border-radius:7px;background:transparent;color:inherit}.training-filters input[type=number]{width:90px}.current-exercise{padding:12px 24px 0}.custom-text{padding:16px 24px}.custom-text textarea{display:block;width:100%;min-height:150px;margin-top:8px;padding:12px;background:transparent;color:inherit;border:1px solid #dce0d3;border-radius:8px}.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}.article-card{border:1px solid #e0e3d8;border-radius:14px;padding:18px;min-width:0}.article-card>div{display:flex;justify-content:space-between;gap:8px;align-items:center}.article-card p{line-height:1.8;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.article-card small{color:#7b826f}.favorite{font-size:26px;color:#c67c27}.favorite[aria-pressed=true]{color:#dc8d30}.growth-card{display:flex;align-items:center;gap:12px;border:1px solid #edd4b0;background:#fff6e8;padding:18px;border-radius:14px;margin-bottom:18px}.growth-card h3{font-size:16px;margin:0 0 8px}.growth-card p{font-size:12px;line-height:1.7;margin:0 0 8px}.growth-card small{font-size:10px;color:#81705a}.growth-tiger{font-size:40px}.reward-badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.reward-badges span{font-size:10px;border:1px solid #e0d8cc;color:#897f70;border-radius:20px;padding:4px 7px}.reward-badges .earned{background:#f5a548;color:#3b2e1b;border-color:#e79b3e}.weak-keys{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.weak-keys>span{padding:8px 12px;background:#f6eee5;border-radius:8px}.weak-keys small{color:#81705a}.finger-guide{padding:18px;margin:18px 0;background:#f6f6f1;border-radius:12px;text-align:center}.finger-guide>div{display:flex;justify-content:center;gap:5px;margin:5px 0}.finger-guide kbd{padding:8px 10px;border-radius:5px}.finger-guide small{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:10px}.finger-0{background:#fde1db!important;color:#663b35}.finger-1{background:#e6def9!important;color:#514266}.finger-2{background:#dce8fd!important;color:#364766}.finger-3{background:#e1edd6!important;color:#3f5033}.retry-panel{padding:14px;background:#fff1db;border:1px solid #eac387;border-radius:10px;margin-bottom:18px}.dark .growth-card,.dark .retry-panel{background:#3b3529;border-color:#645239}.dark .article-card{border-color:#56604c}.dark .finger-guide,.dark .weak-keys>span{background:#35402f}.dark .practice-options{border-color:#4b5543}.dark .practice-launchers>span,.dark .current-exercise{color:#c0c9b6}.dark .growth-card small,.dark .article-card small{color:#c2bcae}@media(max-width:900px){.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.article-grid{grid-template-columns:1fr}.practice-options,.current-exercise,.custom-text{padding-inline:15px}.finger-guide kbd{padding:6px;font-size:12px}.finger-guide{padding:12px 5px}.training-filters{gap:8px}.training-filters select{max-width:100%;font-size:12px}.growth-card{padding:14px}.growth-tiger{font-size:32px}}

/* A native input anchored to the visible caret keeps IME candidate windows nearby. */
.typing-surface .typing-input{inset:auto;width:2px;height:30px;overflow:hidden;white-space:pre;pointer-events:none;font-size:16px;line-height:1;padding:0;opacity:0}
.typing-text .cursor{position:relative}
.ime-preview{position:absolute;inset-inline-start:0;top:100%;z-index:2;max-width:220px;overflow:hidden;white-space:nowrap;font-family:system-ui,sans-serif;font-size:12px;line-height:1.2;color:#765019;background:#fff2d7;border-radius:4px;padding:0 3px;text-decoration:underline;text-decoration-style:dotted;letter-spacing:0;pointer-events:none}
.dark .ime-preview{color:#ffe3ab;background:#51412a}

.typing-text[dir="rtl"] .cursor{border-left:0;margin-left:0;border-right:2px solid #e59c48;margin-right:-2px}
.is-running .typing-text[dir="rtl"] .cursor{animation-name:tiger-caret-rtl}
@keyframes tiger-caret-rtl{50%{border-right-color:transparent}}
/* Preserve line breaks and repeated spaces in user-supplied practice passages. */
.typing-surface .typing-text{white-space:pre-wrap}

.article-search{width:100%;max-width:36rem;margin:0 0 1rem;padding:.75rem;border:1px solid var(--line,#ddd);border-radius:.6rem;background:transparent;color:inherit}.article-source{font-size:.8rem;gap:.5rem;flex-wrap:wrap}.article-source a{color:inherit;text-underline-offset:3px}.literature-note{font-size:.85rem;opacity:.8}.article-card h3{overflow-wrap:anywhere}

.seo-overview{margin:2rem 0;padding:1.5rem;border:1px solid var(--line,#ddd);border-radius:1rem}.seo-overview h2{font-size:1.2rem}.locale-links{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.2rem 0}.locale-links a,.seo-overview>a{text-decoration:underline;text-underline-offset:3px}.article-directory{max-width:1200px;margin:2rem auto;padding:0 1.25rem}.article-directory h1{font-size:clamp(1.5rem,4vw,2.5rem)}.directory-card h2{font-size:1.1rem;overflow-wrap:anywhere}.directory-card>p{display:block;-webkit-line-clamp:unset;max-height:none;overflow:visible;white-space:normal}.directory-card>.secondary{display:inline-block;text-align:center}.article-directory .article-grid{margin-top:1.5rem}

/* Compact, one-use captcha: click the image to refresh. */
.auth-card .captcha-field{display:grid;gap:8px}
.auth-card .captcha-row{display:flex;align-items:center;gap:10px;min-width:0}
.auth-card .captcha-row input{flex:1;width:0;height:46px;padding:10px;direction:ltr;font-size:16px;letter-spacing:2px;text-transform:uppercase}
.auth-card .captcha-row input:focus-visible{outline:2px solid #de862e;outline-offset:2px}
.captcha-image-button{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 144px;width:144px;height:46px;padding:0;border:1px solid #e3dfd3;border-radius:8px;background:#f4f0df}
.captcha-image-button img{display:block;width:100%;height:100%;border-radius:7px;object-fit:contain}
.captcha-image-button:hover:not(:disabled){border-color:#d8953c;box-shadow:0 0 0 2px #f7ead9}
.captcha-refresh-icon{position:absolute;inset-inline-end:-5px;top:-5px;display:grid;place-items:center;width:21px;height:21px;border:1px solid #e3dfd3;border-radius:50%;background:#fffdf7;color:#8a7659;pointer-events:none}
.captcha-placeholder{font-size:11px;padding:4px 12px;text-align:center;line-height:1.3}

/* Focused practice fills the visible viewport, including above a mobile keyboard. */
.practice-expanded>header.site-header,.practice-expanded>footer,.practice-expanded main>*:not(.workspace):not(.notice),.practice-expanded .workspace>aside{display:none}
.practice-expanded .practice-panel{position:fixed;inset:0;z-index:50;width:100%;height:var(--practice-viewport-height,100dvh);margin:0;border:0;border-radius:0;background:#faf9f6;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
.practice-expanded .panel-top,.practice-expanded .settings,.practice-expanded .practice-options,.practice-expanded .custom-text,.practice-expanded .current-exercise,.practice-expanded .keyboard,.practice-expanded .panel-footer{display:none!important}
.practice-focus-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 28px;color:#89917e;font-size:12px;flex-shrink:0}
.practice-focus-bar>div{display:flex;align-items:center;gap:12px}.focus-exit{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;border:1px solid #dddcd3;border-radius:9px;background:#fff;font-size:12px}.focus-exit kbd{font:inherit;font-size:10px;color:#929887;border:1px solid #e5e5dc;border-radius:4px;padding:2px 4px}
.practice-expanded .exercise{width:min(100%,1100px);margin:auto;padding:24px 40px 40px;flex-shrink:0}
.practice-expanded .typing-text{font-size:clamp(24px,3vw,36px);height:clamp(130px,30dvh,300px);line-height:1.9}
.practice-expanded.large .typing-text{font-size:clamp(30px,3.6vw,44px)}
.practice-expanded .exercise-bottom{margin-top:22px}.practice-expanded .notice{z-index:60}
.dark.practice-expanded .practice-panel{background:#20251f}.dark .focus-exit{background:#30392c;border-color:#48503c}.dark .focus-exit kbd{border-color:#48503c}
@media(max-width:600px){.practice-focus-bar{padding:12px 16px}.practice-focus-bar>span,.focus-exit kbd{display:none}.practice-focus-bar>div{width:100%;gap:10px}.focus-exit{margin-inline-start:auto}.practice-expanded .exercise{padding:12px 22px 24px}.practice-expanded .typing-text{height:clamp(120px,25dvh,220px)}.practice-expanded .exercise-bottom{gap:12px}.practice-expanded .exercise-bottom>span{font-size:11px}}
@media(max-height:500px){.practice-focus-bar{padding-block:6px}.practice-expanded .exercise{padding-top:0;padding-bottom:12px}.practice-expanded .typing-text{height:100px}.practice-expanded .typing-hint{margin-top:8px}.practice-expanded .exercise-bottom{margin-top:8px}}

.practice-guides{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}.practice-guides h3{font-size:15px;line-height:1.6;margin:0 0 8px}.practice-guides p{line-height:1.9;margin:0;overflow-wrap:anywhere}@media(max-width:800px){.practice-guides{grid-template-columns:1fr;gap:18px}}

nav .guide-nav-link{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 5px;font-size:13px;white-space:normal;color:#7a5b32;max-width:145px;text-align:center}nav .guide-nav-link:hover{color:#9a5015;text-decoration:underline}.dark nav .guide-nav-link{color:#e3b983}.home-guide-link{display:inline-block;margin-inline-start:20px;text-decoration:underline;text-underline-offset:4px}@media(max-width:600px){nav .guide-nav-link{flex:1;font-size:12px;overflow-wrap:anywhere}.home-guide-link{margin:12px 0;display:block}}
@media(max-width:600px){header>nav{gap:8px}header>nav button,header>nav .guide-nav-link{min-width:0;overflow-wrap:anywhere;flex:1}header>nav button svg{flex-shrink:0}}
.seo-overview{overflow-wrap:anywhere}

/* Shared language control and header placement on app and static reading pages. */
.site-language{position:relative;direction:ltr;z-index:80;width:132px;color:#30352d;text-align:left;justify-self:end}
.site-language summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;height:38px;padding:0 10px;border:1px solid #dce1d3;border-radius:8px;background:#f6f7ef;font-size:12px;cursor:pointer;white-space:nowrap}
.site-language summary::-webkit-details-marker{display:none}.site-language summary:focus-visible{outline:3px solid #de862e;outline-offset:3px}.site-language summary[aria-disabled=true]{opacity:.5;cursor:not-allowed}
.site-language-options{position:absolute;right:0;top:calc(100% + 6px);width:180px;max-height:min(440px,65vh);overflow:auto;background:#fff;border:1px solid #dce1d3;border-radius:10px;padding:6px;box-shadow:0 10px 30px #30352d26}
.site-language-options a{display:block;padding:9px 12px;border-radius:6px;font-size:13px;line-height:1.5;color:inherit}.site-language-options a:hover{background:#f6f0e5}.site-language-options a[aria-current=page]{background:#f9eddd;color:#80531f;font-weight:700}
.dark .site-language{color:#e1e6d9}.dark .site-language summary,.dark .site-language-options{background:#30392c;border-color:#48503c}.dark .site-language-options a:hover{background:#48503c}
header.site-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto 132px;direction:ltr;width:100%;max-width:none;min-height:88px;height:auto;padding:16px max(5%,calc((100vw - 1280px)/2));gap:16px;align-items:center}
.site-header>.brand{grid-column:1;grid-row:1}.site-header>nav{grid-column:2;grid-row:1;width:auto;order:initial;min-height:0;justify-content:center}.site-header>.header-actions{grid-column:3;grid-row:1;margin:0;width:auto}.site-header>.site-language{grid-column:4;grid-row:1}
html[dir=rtl] .site-header>nav{direction:rtl}
@media(max-width:1100px){header.site-header{grid-template-columns:minmax(0,1fr) 132px;padding:14px 24px;gap:12px}.site-header>.site-language{grid-column:2}.site-header>nav{grid-column:1/-1;grid-row:2;flex-wrap:wrap}.site-header>.header-actions{grid-column:1/-1;grid-row:3;justify-content:flex-end}}
@media(max-width:600px){header.site-header{padding:14px 15px;gap:12px 8px}.site-header>.brand{font-size:20px;gap:5px}.site-header>.brand .tiger.small{width:27px;height:27px}.site-header>.brand sup{display:none}.site-header>nav{gap:8px}.site-header>nav a{overflow-wrap:anywhere}.site-header>.header-actions{justify-content:flex-end;gap:12px}}
@media(max-width:600px){header.site-header{grid-template-columns:minmax(0,1fr) 120px}.site-header>.brand{font-size:18px}.site-header>.site-language{width:120px}}
.site-header>nav{height:auto}.site-header>nav button{height:44px;min-height:44px}
header.site-header{grid-template-rows:56px;align-content:start}
@media(max-width:1100px){header.site-header{grid-template-rows:38px}}

.learning-site{min-height:100vh}.learning-skip{position:absolute;left:12px;top:-100px;z-index:50;background:#30382d;color:white;padding:12px}.learning-skip:focus{top:12px}.learning-header{max-width:1280px;margin:auto;padding:20px 30px;min-height:86px}.learning-header nav{order:initial;width:auto;height:auto;min-height:0;gap:24px}.learning-header nav a{font-size:14px}.learning-main{max-width:1160px;padding:0 28px}.learning-hero{padding:65px 0 35px;max-width:850px}.learning-eyebrow{color:#976027;font-size:13px;font-weight:700;letter-spacing:1px}.learning-hero h1{font-size:44px;letter-spacing:-1px;line-height:1.45}.learning-hero h1 span{color:#a45e23}.learning-hero>p:not(.learning-eyebrow){font-size:16px;line-height:1.9;color:#616759}.learning-start{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:26px}.learning-start>a:not(.primary){font-size:14px;text-decoration:underline;text-underline-offset:4px}.learning-categories{height:auto;min-height:0;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start;padding:16px 0 25px;border-bottom:1px solid #e4e3da}.learning-categories a{border:1px solid #dcded2;border-radius:30px;padding:10px 16px;background:#fff;font-size:14px}.learning-categories a:hover{background:#f8ead6}.learning-categories span{color:#747c68;margin-left:6px;font-size:12px}.learning-category{padding-top:32px;scroll-margin-top:20px}.learning-category>h2{font-size:25px;margin-bottom:8px}.learning-category>p{font-size:15px;color:#616759;line-height:1.8;margin:0 0 20px}.learning-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.learning-card{display:flex;flex-direction:column;padding:24px;background:white;border:1px solid #e2e4d9;border-radius:15px;min-width:0}.learning-card:hover{border-color:#d39b5a}.learning-card-label{font-size:12px;color:#69725e}.learning-card h3{font-size:19px;line-height:1.65;margin:14px 0 10px}.learning-card h3 a:hover{color:#9b591c}.learning-card p{font-size:14px;line-height:1.85;color:#626b57;margin:0 0 22px}.learning-read{margin-top:auto;color:#97571c;font-size:14px;font-weight:600}.learning-editorial{background:#f0f3e9;border-radius:16px;margin:42px 0;padding:26px;line-height:1.9}.learning-editorial h2{font-size:20px}.learning-editorial p{font-size:14px}.learning-editorial a,.learning-body a,.learning-sources a{text-decoration:underline;text-underline-offset:4px}.learning-footer{max-width:1104px;padding:24px;font-size:12px;flex-wrap:wrap;color:#616759}.learning-breadcrumb{height:auto;min-height:0;justify-content:flex-start;gap:10px;flex-wrap:wrap;margin:30px 0;font-size:13px;color:#626b57}.learning-article{max-width:800px;margin:auto;background:white;border:1px solid #e2e4d9;border-radius:18px;padding:36px 42px}.learning-article h1{font-size:32px;letter-spacing:0;line-height:1.6;overflow-wrap:anywhere}.learning-summary{font-size:17px;line-height:1.9;color:#626b57}.learning-byline{font-size:12px;color:#69725e;line-height:1.8}.learning-toc{display:block;height:auto;min-height:0;background:#f4f5ed;border-radius:12px;padding:20px 24px;margin:26px 0;font-size:14px}.learning-toc ol{padding-left:23px;margin-bottom:0;line-height:2.2}.learning-toc a:hover{text-decoration:underline}.learning-body{font-size:17px;line-height:2;color:#353d31;overflow-wrap:anywhere}.learning-body section{scroll-margin-top:20px}.learning-body h2{font-size:23px;line-height:1.6;margin-top:32px}.learning-body p{margin:14px 0}.learning-sources{border-top:1px solid #e4e6db;margin-top:32px;padding-top:16px;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.learning-sources h2{font-size:19px}.learning-sources li{margin-bottom:14px}.learning-sources li p{color:#626b57;margin:4px 0}.learning-sources ul{padding-left:20px}.learning-cta{display:flex;flex-wrap:wrap;gap:18px;align-items:center;background:#fff4e5;border-radius:12px;padding:22px;margin-top:28px}.learning-cta h2{font-size:20px;margin:0 0 8px}.learning-cta p{font-size:14px;line-height:1.8;margin:0}.learning-cta>a:not(.primary){font-size:13px;text-decoration:underline}.learning-pagination{display:grid;grid-template-columns:1fr 1fr;height:auto;min-height:0;gap:24px;max-width:800px;margin:24px auto;font-size:14px;line-height:1.8}.learning-pagination a{padding:16px;border:1px solid #e2e4d9;border-radius:12px}.learning-pagination small{display:block;color:#8b5724;margin-bottom:6px}.learning-related{margin:40px 0}.learning-related h2{font-size:23px}
@media(max-width:850px){.learning-header{flex-wrap:wrap}.learning-header nav{flex-wrap:wrap;gap:16px;justify-content:flex-start}.learning-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-hero h1{font-size:36px}.learning-article{padding:28px}}
@media(max-width:560px){.learning-header{padding:20px}.learning-header nav{width:100%;gap:14px}.learning-header nav a{font-size:12px}.learning-header nav .primary{margin-left:auto;padding:10px}.learning-main{padding:0 18px}.learning-hero{padding:30px 0}.learning-hero h1{font-size:29px}.learning-categories{gap:8px}.learning-categories a{font-size:13px;padding:8px 12px}.learning-grid{grid-template-columns:1fr}.learning-card{padding:22px}.learning-article{padding:22px 18px;border-radius:12px}.learning-article h1{font-size:26px}.learning-body{font-size:16px;line-height:1.95}.learning-body h2{font-size:21px}.learning-toc{padding:16px}.learning-pagination{grid-template-columns:1fr;gap:12px}.learning-footer>span:nth-child(2){display:inline}}
.learning-keywords{font-size:13px;color:#626b57;line-height:1.8}.learning-keywords span{display:inline-block;background:#f1f3eb;padding:3px 8px;border-radius:6px;margin:3px}.learning-translation{font-size:12px;line-height:1.8;color:#626b57;border-top:1px solid #e4e6db;padding-top:14px}.learning-header{white-space:normal}.learning-header .brand{white-space:nowrap}.learning-header nav{flex-wrap:wrap;justify-content:flex-start}.learning-header nav a{max-width:240px}.learning-start .primary{text-align:center}.learning-toc ol{padding-inline-start:23px;padding-inline-end:0}[dir=rtl] .learning-skip{left:auto;right:12px}[dir=rtl] .learning-sources ul{padding-left:0;padding-right:20px}[dir=rtl] .learning-categories span{margin-left:0;margin-right:6px}@media(max-width:560px){.learning-header nav{gap:12px}.learning-header nav .primary{margin-left:0;margin-inline-start:auto}.learning-article h1{font-size:24px}.learning-header nav a{max-width:100%}.learning-hero h1{overflow-wrap:anywhere}.learning-card h3{overflow-wrap:anywhere}}

header.learning-header.site-header{max-width:none}.learning-header.site-header nav{height:auto;min-height:0}.learning-header.site-header nav a{font-size:13px}
