@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800&display=swap');
:root{--bg:#f6f7f9;--ink:#202c37;--muted:#667680;--line:#e7ecef;--teal:#087e83;--teal-dark:#08676d;font-family:'Golos Text','Segoe UI',sans-serif;color:var(--ink);font-synthesis:none;font-size:16px}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.7}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #dca335;outline-offset:4px}h1,h2,p{margin-top:0}h1{font-size:clamp(1.8rem,2.25vw,2.6rem);font-weight:600;letter-spacing:-1.3px;line-height:1.25;margin-bottom:12px}h1>span{color:var(--teal)}h2{font-weight:600}p{line-height:1.65}small,.small{font-size:.875rem}.muted{color:var(--muted)}.app-shell{display:flex;min-height:100vh}.sidebar{width:264px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:35px 23px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;font-size:2rem;font-weight:700;letter-spacing:-1px}.brand-mark{background:var(--teal);color:white;border-radius:12px;display:grid;place-items:center;width:45px;height:47px;font-size:1.25rem;font-weight:500;letter-spacing:-2px}.brand-caption{display:block;font-size:.6rem;font-weight:500;letter-spacing:1px;color:var(--muted);margin-top:4px}.course{display:flex;gap:11px;align-items:center;padding:18px 0 29px;margin-top:33px}.course strong,.local-profile strong{font-size:.875rem;font-weight:500}.course small,.local-profile small{display:block;color:var(--muted);font-size:.75rem;margin-top:5px}.flag{background:#e6f6f8;color:#ba8518;border:1px solid #d2edef;font-size:1.6rem;width:40px;height:40px;text-align:center;border-radius:50%}.nav-label{font-size:.7rem;letter-spacing:1.5px;color:var(--muted);margin:6px 13px 15px}.nav-item{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-bottom:8px;border-radius:10px;color:#60717d;font-size:.9rem;font-weight:500}.nav-item>span:first-child{font-size:1.25rem}.nav-item.active{background:#e8f4f3;color:var(--teal-dark)}.nav-item:hover{background:#f1f6f6}.nav-arrow{margin-left:auto}.sidebar-note{margin-top:auto;padding:34px 13px 30px}.note-symbol{font-size:2.8rem;color:#c7983e;display:block;margin-bottom:17px}.sidebar-note strong{font-size:1rem;line-height:1.6;font-weight:500}.sidebar-note p{font-size:.8rem;color:var(--muted);margin:12px 0}.note-line{display:block;width:32px;border-top:2px solid #d7dfdf;margin:22px 0 12px}.sidebar-note small{font-size:.7rem;color:var(--muted)}.local-profile{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);padding-top:21px}.local-profile>span:first-child{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#f3eee5;color:#93733e;font-size:.85rem}.online-dot{height:6px;width:6px;background:#49a48d;border-radius:50%;margin-left:auto}.workspace{min-width:0;flex:1}.topbar{height:83px;border-bottom:1px solid var(--line);padding:0 46px;display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:var(--muted)}.topbar strong{font-weight:500;color:var(--ink)}.breadcrumb{margin:0 15px;color:#9aa9b3}.language-pill{background:#fff;border:1px solid var(--line);border-radius:30px;padding:8px 13px;color:#566771;font-size:.75rem}.language-pill i,.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--teal);margin-right:7px}main{max-width:1450px;margin:auto;padding:41px 46px 25px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{color:var(--muted);font-size:.9rem;margin-bottom:0}.eyebrow{font-size:.7rem;color:var(--teal);font-weight:600;letter-spacing:1.8px;margin-bottom:13px}.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:44px;border:1px solid transparent;padding:11px 18px;border-radius:9px;font-size:.875rem;font-weight:500;white-space:nowrap}.primary{background:var(--teal);color:#fff;box-shadow:0 3px 5px #087e8312}.primary:hover{background:var(--teal-dark)}.secondary{background:#fff;border-color:#dfe6e9;color:#41515b}.secondary:hover{background:#f5f9f9;border-color:#b5cfce}.full{width:100%}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:27px}.stat{border:1px solid var(--line);background:#fff;border-radius:13px;padding:21px 24px;display:flex;align-items:center;gap:16px}.stat-icon{display:grid;place-items:center;width:45px;height:45px;background:#edf2f8;color:#688099;border-radius:12px;font-size:1.5rem}.stat-icon.mint{background:#e9f5f1;color:#348e78}.stat-icon.orange{background:#fff4e5;color:#a77535}.stat div>span{display:block;color:var(--muted);font-size:.8rem}.stat strong{display:block;font-size:1.7rem;font-weight:600;margin-top:5px}.stat small{font-size:.8rem;color:var(--muted);font-weight:400}.practice-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:25px;align-items:start}.practice-panel{border:1px solid var(--line);background:white;border-radius:18px;overflow:hidden;box-shadow:0 7px 25px #25374603}.panel-top{display:flex;justify-content:space-between;align-items:center;padding:22px 27px;border-bottom:1px solid #eef1f3;color:var(--muted);font-size:.75rem}.panel-top>span:first-child{font-size:.7rem;letter-spacing:1.3px;font-weight:500}.question-content{padding:28px 45px 23px;text-align:center}.direction-badge{display:inline-flex;gap:15px;align-items:center;background:#f3f7f7;color:#526b6f;padding:7px 12px;border-radius:6px;font-size:.7rem;letter-spacing:1.3px}.direction-badge span{font-size:1rem;color:var(--teal)}.question-label{font-size:.875rem;color:var(--muted);margin:23px 0 9px}.question-word{font-size:clamp(2.3rem,3.5vw,3.4rem);font-weight:500;letter-spacing:-1.3px;margin:0 0 14px;overflow-wrap:anywhere}.word-streak{display:flex;justify-content:center;align-items:center;gap:10px;color:var(--muted);font-size:.75rem;margin-bottom:28px}.streak-dots{display:flex;gap:5px;align-items:center;justify-content:center}.streak-dots>span{width:17px;height:5px;border-radius:5px;background:#e0e8eb}.streak-dots>span.filled{background:#399d89}.options{display:flex;flex-direction:column;gap:9px}.option{display:flex;align-items:center;gap:17px;width:100%;min-height:58px;padding:10px 14px;background:white;border:1px solid #dbe3e8;border-radius:10px;text-align:left;color:#34434e;font-size:1rem;transition:border-color .16s,background .16s,transform .16s}.option:hover{border-color:var(--teal);background:#f0f8f6;transform:translateX(2px)}.option-number{border:1px solid #e1e8ec;border-radius:6px;width:28px;height:28px;display:grid;place-items:center;flex-shrink:0;font-size:.75rem;color:var(--muted)}.option-arrow{margin-left:auto;color:#718793}.option>span:nth-child(2){overflow-wrap:anywhere;min-width:0}.practice-bottom{display:flex;align-items:center;justify-content:space-between;background:#fcfdfd;border-top:1px solid var(--line);padding:18px 27px;gap:10px}.text-button{color:var(--teal);border:0;background:transparent;font-size:.875rem;padding:8px 0;font-weight:500}.text-button:hover{text-decoration:underline}.keyboard-hint{color:var(--muted);font-size:.7rem}kbd{font:inherit;border:1px solid #dce3e8;border-radius:4px;background:#fff;padding:2px 5px}.settings-panel{border:1px solid var(--line);background:white;border-radius:15px;padding:23px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.section-heading h2{font-size:1rem;margin:0}.section-heading>span{color:#71818b;font-size:1.2rem}label,legend{font-size:.875rem;font-weight:500}select,input[type=text],textarea{width:100%;border:1px solid #dce4e7;background:#fff;border-radius:8px;color:var(--ink);padding:12px;margin-top:9px}select{font-size:.875rem;cursor:pointer}fieldset{padding:0;margin:22px 0;border:0;min-width:0}legend{padding:0;margin-bottom:12px}.choice-picker{display:flex;gap:5px}.choice-picker label{flex:1;cursor:pointer}.choice-picker input{position:absolute;opacity:0;width:1px;height:1px}.choice-picker span{height:35px;display:grid;place-items:center;border:1px solid #e1e7eb;border-radius:6px;font-size:.875rem;color:#5c6e77}.choice-picker input:checked+span{color:white;background:var(--teal);border-color:var(--teal)}.choice-picker input:focus-visible+span{outline:3px solid #e0a63a;outline-offset:2px}.mastery-panel{background:#eaf3ef;border:1px solid #e0eae5;border-radius:15px;margin-top:20px;padding:24px;position:relative;overflow:hidden}.mastery-symbol{font-size:2rem;color:#55907f;display:block;margin-bottom:15px}.mastery-panel h2{font-size:1.4rem;line-height:1.4;letter-spacing:-.6px;margin-bottom:19px}.mastery-panel .streak-dots{justify-content:start;margin-bottom:17px}.mastery-panel .streak-dots>span{width:26px}.mastery-panel .streak-dots>b{font-weight:400;font-size:.8rem;color:var(--teal);margin-left:6px}.mastery-panel p{font-size:.875rem;line-height:1.7;color:#536e62;margin-bottom:11px}.mastery-panel p:last-child{margin-bottom:0}.empty-state,.feedback-card{text-align:center;padding:48px 35px;min-height:510px;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-symbol,.result-icon{display:grid;place-items:center;background:#edf6f3;color:var(--teal);height:76px;width:76px;border-radius:23px;font-size:2.5rem;margin-bottom:27px}.empty-state h2,.feedback-card h2{font-size:1.65rem;letter-spacing:-.5px}.empty-state p,.feedback-card p{max-width:420px;font-size:.9rem;color:var(--muted)}.empty-state .button{margin:12px 0}.empty-state form{margin-top:8px}.feedback-card .button{margin-top:17px;min-width:230px}.answer-word{font-size:2.4rem;color:var(--teal);margin-bottom:25px;overflow-wrap:anywhere;max-width:100%}.feedback-card .streak-dots{margin-bottom:18px}.incorrect .result-icon{background:#fff1df;color:#a77529}.incorrect .eyebrow{color:#98611f}.notice{background:#e5f4ef;color:#226954;padding:14px 18px;border:1px solid #c5e3d9;border-radius:9px;font-size:.875rem;margin-bottom:20px}.error-summary{color:#ad3939;background:#fff1f1;border:1px solid #f0cdcd;border-radius:9px;padding:14px 18px;font-size:.875rem;margin-bottom:18px}.error-summary:empty{display:none}.error-summary ul{margin:0;padding-left:18px}footer{max-width:1450px;margin:0 auto;padding:0 46px 24px;font-size:.75rem;color:var(--muted);display:flex;justify-content:space-between}footer span{color:var(--muted)}.skip-link{position:fixed;left:20px;top:-100px;background:var(--teal);color:white;padding:15px;z-index:20}.skip-link:focus{top:10px}.dictionary-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}.dictionary-panel,.entry-panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px}.dictionary-toolbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:23px}.tabs{display:flex;gap:4px;background:#f4f7f8;padding:4px;border-radius:8px}.tabs a{padding:8px 12px;font-size:.8rem;color:#5d717e;border-radius:6px}.tabs a.active{background:#fff;color:var(--teal);box-shadow:0 1px 4px #00000008}.search-form{display:flex;gap:6px;align-items:center;flex:1;min-width:180px}.search-form input{margin:0;min-width:0;font-size:.875rem}.search-form button{min-height:40px;padding:8px 12px}.word-table{width:100%;border-collapse:collapse;table-layout:fixed}.word-table th{text-align:left;color:var(--muted);font-weight:500;font-size:.7rem;letter-spacing:1px;padding:10px 9px 14px;border-bottom:1px solid var(--line)}.word-table td{border-bottom:1px solid #edf0f2;padding:18px 9px;font-size:.875rem;overflow-wrap:anywhere}.word-table th:nth-child(3){width:105px}.word-table th:last-child{width:90px}.word-table .kazakh{font-weight:600}.word-table .russian{color:#5b707d}.status-pill{display:inline-block;background:#eaf5ee;color:#306e55;border-radius:20px;font-size:.75rem;padding:5px 8px}.word-progress{color:var(--muted);font-size:.75rem;margin-bottom:6px;display:block}.word-table .streak-dots{justify-content:flex-start;gap:3px}.word-table .streak-dots>span{width:12px;height:4px}.row-actions{display:flex;gap:7px;align-items:center}.icon-button{border:1px solid #e4ebee;background:#fff;color:#486975;width:32px;height:32px;border-radius:6px;display:grid;place-items:center;font-size:.9rem}.icon-button:hover{background:#edf6f4}.table-footer{font-size:.8rem;color:var(--muted);padding-top:20px}.entry-panel h2{font-size:1.15rem}.entry-panel label{display:block;margin-top:17px}.entry-panel .button{margin-top:18px}.entry-panel textarea{resize:vertical;min-height:145px;font-size:.875rem;line-height:1.6}.entry-panel p{font-size:.875rem;color:var(--muted)}.entry-panel details{border-top:1px solid var(--line);margin-top:27px;padding-top:23px}.entry-panel summary{font-size:.9rem;color:var(--teal);cursor:pointer;font-weight:500}.entry-panel details p{margin:14px 0 0}.entry-panel .field-hint{font-size:.75rem;margin-top:9px}.edit-form{max-width:560px}.edit-form label{display:block;margin-top:22px}.edit-actions{display:flex;gap:12px;margin-top:25px}.danger-zone{margin-top:40px;padding-top:23px;border-top:1px solid var(--line)}.danger-zone summary{color:#a6514d;cursor:pointer;font-size:.875rem}.danger-zone p{font-size:.875rem;margin-top:15px;color:var(--muted)}.danger{background:#ad4545;color:white}.empty-list{padding:45px 10px;text-align:center;color:var(--muted);font-size:.9rem}
@media(min-width:1600px){main{padding-top:50px}.question-content{padding-left:75px;padding-right:75px}.practice-grid{grid-template-columns:minmax(0,1fr) 315px}.question-word{margin-top:20px;margin-bottom:20px}.option{min-height:64px}}
@media(max-width:1200px){.sidebar{width:225px;padding-left:16px;padding-right:16px}.topbar{padding:0 28px}main{padding:30px 28px 25px}.page-heading{align-items:flex-start}.page-heading>.button{font-size:.8rem;padding:10px 12px}.practice-grid{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.question-content{padding:25px}.stats{gap:12px}.stat{padding:18px 15px;gap:10px}.stat-icon{width:35px;height:35px}.stat div>span{font-size:.75rem}.dictionary-grid{grid-template-columns:1fr}.entry-panel{display:grid;grid-template-columns:1fr 1fr;gap:25px}.entry-panel details{border-top:0;border-left:1px solid var(--line);padding:0 0 0 25px;margin:0}.entry-panel>h2{grid-column:1/-1;margin-bottom:0}footer{padding:0 28px 20px}}
@media(max-width:960px){.sidebar{width:195px}.brand{font-size:1.7rem}.brand-caption{font-size:.49rem}.course strong{font-size:.75rem}.course small{font-size:.7rem}.practice-grid{grid-template-columns:1fr}.practice-aside{display:grid;grid-template-columns:1fr 1fr;gap:18px}.mastery-panel{margin-top:0}.stats .stat-icon{display:none}.page-heading{flex-wrap:wrap}.sidebar-note{padding-left:6px;padding-right:0}.local-profile strong{font-size:.75rem}.local-profile small{font-size:.7rem}.question-content{padding:30px 50px}.empty-state{min-height:440px}}
@media(max-width:680px){.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:15px 20px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:1.5rem;gap:8px}.brand-mark{width:34px;height:36px;font-size:1rem;border-radius:9px}.brand-caption,.course,.nav-label,.sidebar-note,.local-profile,.nav-arrow{display:none}.sidebar nav{display:flex;gap:5px}.nav-item{font-size:.75rem;padding:9px 10px;margin:0;gap:5px}.nav-item>span:first-child{font-size:1rem}.topbar{height:58px;padding:0 20px;font-size:.75rem}.language-pill{font-size:.7rem}main{padding:25px 18px 20px}.page-heading{margin-bottom:22px;gap:17px}h1{font-size:1.9rem;letter-spacing:-.9px}.eyebrow{font-size:.7rem;letter-spacing:1.2px}.page-heading p{font-size:.875rem}.stats{gap:8px;margin-bottom:20px}.stat{padding:14px 10px}.stat div>span{font-size:.75rem;line-height:1.5}.stat strong{font-size:1.4rem}.stat small{font-size:.75rem}.panel-top{padding:18px}.panel-top>span:first-child{font-size:.7rem}.question-content{padding:24px 20px}.question-word{font-size:2.8rem}.practice-bottom{padding:15px 18px}.keyboard-hint{display:none}.practice-aside{grid-template-columns:1fr}.mastery-panel{padding:24px}.mastery-panel h2 br{display:none}.mastery-symbol{float:right}.settings-panel{padding:22px}.choice-picker span{height:40px}.empty-state,.feedback-card{padding:35px 22px;min-height:430px}.empty-state h2,.feedback-card h2{font-size:1.4rem}.dictionary-panel,.entry-panel{padding:18px}.dictionary-panel{overflow-x:auto}.word-table{min-width:390px}.word-table td{padding:16px 6px}.word-table th{padding-left:6px;font-size:.7rem}.word-table th:nth-child(3){width:80px}.word-table th:last-child{width:78px}.entry-panel{display:block}.entry-panel details{border-left:0;border-top:1px solid var(--line);padding:23px 0 0;margin-top:25px}.tabs a{padding:8px;font-size:.8rem}footer{padding:0 20px 20px;line-height:1.6;gap:20px;font-size:.75rem}}
input[type=email],input[type=password]{width:100%;border:1px solid #dce4e7;background:#fff;border-radius:8px;color:var(--ink);padding:12px;margin-top:9px}.auth-body{min-height:100vh;background:radial-gradient(ellipse at top right,#e0f1eb,transparent 65%),var(--bg)}.auth-main{max-width:510px;padding:50px 20px;margin:0 auto}.auth-main>.brand{justify-content:center;margin-bottom:35px}.auth-card{background:white;border:1px solid var(--line);border-radius:20px;padding:35px;box-shadow:0 15px 45px #23473b08}.auth-card h1{font-size:2rem}.auth-card label{display:block;margin-top:23px}.auth-card .remember{display:flex;align-items:center;gap:10px;font-weight:400;margin:23px 0}.remember input{accent-color:var(--teal);width:17px;height:17px}.auth-footer{text-align:center;font-size:.8rem;color:var(--muted);margin-top:25px}.account-actions{display:flex;align-items:center;gap:20px}.account-actions>a{font-size:.8rem;color:var(--teal)}.edit-form input[type=password]+p{margin-top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Welcome dashboard */
.practice-directions{display:flex;gap:5px;background:#e7eeee;border-radius:10px;padding:4px;margin:3px 0 8px}.practice-directions a{flex:1;text-align:center;padding:9px 4px;border-radius:7px;font-size:.8rem;color:#526970}.practice-directions a.active{background:white;color:var(--teal);box-shadow:0 1px 4px #173d3515;font-weight:600}.direction-progress{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:.7rem;padding:5px 0;border-bottom:1px solid var(--line)}.direction-progress strong{white-space:nowrap}.direction-progress form{margin-left:auto}.direction-progress .text-button{font-size:.7rem;padding:4px}.welcome-progress p+p{margin-top:8px}
.dashboard-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-stats .stat{padding:20px 18px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:25px}.welcome-progress{display:flex;align-items:center;flex-wrap:wrap;gap:18px;padding:27px;background:#e7f3ef;border:1px solid #d8e9e1;border-radius:18px}.welcome-progress>div{flex:1}.welcome-progress h2{font-size:1.4rem;margin:10px 0}.welcome-progress p{font-size:.875rem;color:#536e62;margin:0}.welcome-progress>strong{font-size:2.6rem;color:var(--teal);font-weight:600}.welcome-progress>strong span{font-size:1.1rem}.welcome-progress progress{appearance:none;width:100%;height:7px;border:0;border-radius:10px;overflow:hidden;background:#cddfd8}.welcome-progress progress::-webkit-progress-bar{background:#cddfd8}.welcome-progress progress::-webkit-progress-value{background:var(--teal);border-radius:10px}.welcome-progress progress::-moz-progress-bar{background:var(--teal)}.learning-paths{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0}.learning-path{display:flex;flex-direction:column;padding:25px;border-radius:17px;border:1px solid var(--line);background:white;transition:transform .15s,box-shadow .15s}.learning-path:hover{transform:translateY(-2px);box-shadow:0 7px 20px #173d3510}.path-icon{font-size:1.7rem;margin-bottom:20px;color:var(--teal)}.learning-path h2{font-size:1.2rem;margin-bottom:10px}.learning-path h2 small{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:6px;background:#fff0db;color:#97621a;font-size:.75rem}.learning-path p{font-size:.875rem;color:var(--muted);flex:1}.path-link{display:flex;justify-content:space-between;align-items:center;color:var(--teal);font-size:.875rem;font-weight:500;margin-top:10px}.difficult-path .path-icon,.difficult-path .path-link{color:#a36521}.recent-panel{border:1px solid var(--line);background:white;border-radius:17px;padding:24px}.recent-panel .section-heading{margin-bottom:12px}.recent-panel>p{font-size:.875rem;margin-bottom:0}.recent-list{padding:0;list-style:none;margin:0}.recent-list li{display:flex;align-items:center;gap:13px;padding:14px 0;border-top:1px solid var(--line)}.recent-list li>div{flex:1;min-width:0}.recent-list strong,.recent-list div>span{display:block;font-size:.9rem;overflow-wrap:anywhere}.recent-list div>span{font-size:.8rem;color:var(--muted);margin-top:4px}.recent-list small{font-size:.7rem;color:var(--muted)}.demo-button{margin-top:20px}
/* Attempt history: color plus symbols, full chronological list. */
.answer-correct{color:#167548}.answer-wrong{color:#bd3644}.attempt-mark{display:inline-grid;place-items:center;flex-shrink:0;width:25px;height:25px;border-radius:6px;font-size:.8rem;font-weight:600}.attempt-mark.answer-correct{background:#e3f4e9}.attempt-mark.answer-wrong{background:#ffe8eb}.attempt-history{margin-top:6px}.attempt-history summary{cursor:pointer;display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:.8rem}.attempt-history summary:after{content:'⌄';color:var(--muted)}.attempt-history summary small{font-size:.7rem;color:var(--muted)}.attempt-sequence{display:flex;flex-wrap:wrap;gap:4px;list-style:none;padding:0;margin:10px 0 0;max-height:140px;overflow:auto}.legacy-attempts{font-size:.7rem;color:var(--muted);line-height:1.45;margin:8px 0 0}.history-table th:nth-child(3){width:170px}.history-table .word-progress{font-size:.7rem}.table-footer>span{white-space:nowrap}
/* Focused practice: deliberately independent from the dashboard shell. */
.focus-body{background:#f6f8f9;min-height:100svh}.focus-main{width:100%;max-width:540px;min-height:100svh;margin:0 auto;padding:16px 22px;display:flex;flex-direction:column}.focus-bar{display:flex;align-items:center;gap:12px;min-height:38px;margin-bottom:10px;color:#677c85;font-size:.875rem}.focus-exit{display:grid;place-items:center;font-size:1.8rem;line-height:1;width:36px;height:36px;border:1px solid #dce6e8;border-radius:50%;color:#526970}.focus-bar>small{margin-left:auto;font-size:.75rem}.focus-question{flex:1;display:flex;flex-direction:column;justify-content:center;padding-bottom:12px}.focus-prompt{text-align:center;margin:8px 0 14px}.focus-direction{font-size:.8rem;color:var(--teal);font-weight:500}.focus-prompt h1{font-size:clamp(1.65rem,6vw,2.3rem);line-height:1.18;letter-spacing:-.7px;margin:13px 0;overflow-wrap:anywhere}.focus-prompt .word-streak{margin:0;font-size:.75rem}.focus-question .options{gap:8px}.focus-question .option{min-height:48px;padding:8px 12px;border-radius:10px;gap:12px;font-size:1rem}.focus-question .option-number{width:25px;height:25px}.focus-question .option-arrow{font-size:1.3rem}.focus-known{text-align:center;margin-top:10px}.focus-known .text-button{min-height:40px}.fewer-options{text-align:center;color:var(--muted);font-size:.7rem}.focus-main>.notice{font-size:.8rem;margin-bottom:10px;padding:10px}.focus-result{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px 0;gap:12px}.focus-result h1{font-size:1.9rem;margin:6px 0 0;letter-spacing:-.8px}.focus-result>p{color:var(--muted);margin:0;font-size:.95rem}.focus-result>small{color:var(--muted);font-size:.8rem;line-height:1.5}.success-ring{width:132px;height:132px;background:#e1f3e9;border:4px solid #249965;border-radius:50%;display:grid;place-items:center;position:relative;color:#117648;animation:success-pop .65s ease-out both}.success-ring strong{font-size:3rem;font-weight:600;letter-spacing:-2px}.success-ring strong>span{font-size:1.5rem;color:#58957a;letter-spacing:0}.ring-check{position:absolute;bottom:-6px;right:0;width:36px;height:36px;background:#249965;border:4px solid var(--bg);border-radius:50%;color:white;display:grid;place-items:center}.correct-result h1{color:#147849}.success-steps{display:flex;gap:10px;margin:6px 0}.success-steps>span{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#e6edef;color:#8b9c9f;font-size:1.1rem}.success-steps>span.complete{color:#fff;background:#279568}.success-steps .latest{animation:step-pop .6s ease-out}.correct-result>[data-next]{margin-top:8px}.wrong-symbol{display:grid;place-items:center;width:65px;height:65px;border-radius:20px;background:#ffe8eb;color:#b53c4c;font-size:2rem}.translation-pair{background:white;border:1px solid #dce7e9;border-radius:16px;display:flex;flex-direction:column;gap:8px;width:100%;padding:22px 18px;margin:2px 0}.translation-pair div{display:flex;flex-direction:column;gap:7px}.translation-pair small{font-size:.65rem;letter-spacing:1.2px;color:var(--muted)}.translation-pair strong{font-size:1.65rem;line-height:1.25;font-weight:500;overflow-wrap:anywhere}.translation-pair>span{color:#9cb0b6}.translation-pair div:first-child strong{color:var(--teal)}.focus-result>.selected-answer{font-size:.85rem;overflow-wrap:anywhere;width:100%}.selected-answer>span{color:#b13b49}.wrong-result>.button{margin-top:12px;min-height:48px}.focus-result .empty-symbol{margin:0}.focus-result>.button{white-space:normal}
@keyframes success-pop{0%{opacity:0;transform:scale(.7)}60%{opacity:1;transform:scale(1.08)}100%{transform:scale(1)}}@keyframes step-pop{0%{transform:scale(.6)}60%{transform:scale(1.25)}100%{transform:scale(1)}}
@media(max-width:1100px){.dashboard-grid{grid-template-columns:1fr}.dashboard-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dashboard-grid .mastery-panel{margin-top:0}.dashboard-stats .stat-icon{display:none}.dashboard-stats .stat{padding:16px}}
@media(max-width:680px){.dashboard-stats{grid-template-columns:1fr 1fr}.dashboard-stats .stat div>span{font-size:.8rem}.dashboard-grid{gap:20px}.dashboard-grid>aside{grid-template-columns:1fr}.learning-paths{gap:12px}.learning-path{padding:18px 15px}.learning-path h2{font-size:1rem}.learning-path p{font-size:.8rem}.path-link{font-size:.8rem;gap:8px}.path-icon{margin-bottom:14px}.welcome-progress{padding:22px;gap:14px}.welcome-progress h2{font-size:1.1rem}.welcome-progress>strong{font-size:2rem}.recent-panel{padding:18px}.sidebar{flex-wrap:wrap;gap:12px}.sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:4px}.sidebar .nav-item{font-size:.7rem;justify-content:center;text-align:center;padding:10px 3px;white-space:nowrap}.sidebar .nav-item>span:first-child{display:none}.topbar{font-size:.7rem}.account-actions{gap:12px}.history-table{min-width:0}.history-table th:nth-child(3){width:34%}.history-table th:last-child{width:40px}.history-table td{font-size:.8rem;padding:14px 5px}.history-table th{font-size:.6rem;letter-spacing:.4px}.history-table .row-actions{flex-direction:column;gap:7px}.attempt-history summary{gap:4px;font-size:.75rem}.attempt-history summary small{font-size:.65rem}.attempt-sequence{gap:3px}.attempt-sequence .attempt-mark{width:21px;height:21px;font-size:.7rem}.focus-main{padding:10px 16px max(10px,env(safe-area-inset-bottom));}.focus-bar{margin-bottom:3px;min-height:36px}.focus-prompt{margin:8px 0 13px}.focus-question .options{gap:7px}.focus-question .option{min-height:46px}.focus-known{margin-top:6px}.focus-result h1{font-size:1.7rem}}
@media(max-height:700px){.focus-prompt h1{margin:9px 0;font-size:1.65rem}.focus-question .options{gap:5px}.focus-question .option{min-height:44px;padding:6px 10px}.focus-prompt{margin:5px 0 10px}.focus-bar{margin-bottom:0}.focus-question{padding-bottom:0}.focus-result{gap:9px;padding:12px 0}.translation-pair{padding:15px;gap:5px}.translation-pair strong{font-size:1.45rem}.wrong-symbol{width:48px;height:48px;font-size:1.6rem}}
@media(prefers-reduced-motion:reduce){.success-ring,.success-steps .latest{animation:none}.learning-path{transition:none}}
