:root{color:var(--tg-theme-text-color,#141820);background:var(--tg-theme-secondary-bg-color,#f4f6fa);font-synthesis:none;text-rendering:optimizelegibility;--blue:#1479f8;--blue-dark:#0964d8;--ink:#141820;--muted:#707887;--surface:var(--tg-theme-bg-color,#fff);--line:#1c27391a;--soft-blue:#eaf3ff;--shadow:0 14px 40px #182d5014;--page-gutter:14px;--content-max:760px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}html{background:var(--tg-theme-secondary-bg-color,#f4f6fa);min-height:100%}body,#root{min-width:320px;min-height:100%}body{overscroll-behavior-y:none;background:var(--tg-theme-secondary-bg-color,#f4f6fa);-webkit-font-smoothing:antialiased;margin:0;overflow-x:hidden}button,input,textarea{font:inherit}input,textarea{font-size:16px}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.app-shell{min-height:100dvh;padding-bottom:calc(70px + env(safe-area-inset-bottom))}.app-shell.review-mode{padding-bottom:0}.topbar{z-index:20;height:calc(58px + env(safe-area-inset-top));padding:env(safe-area-inset-top) var(--page-gutter) 0;background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.topbar-leading{align-items:center;gap:6px;min-width:0;display:flex}.topbar-back{width:44px;height:44px;color:var(--ink);cursor:pointer;background:#505c7014;border:0;border-radius:13px;flex:none;place-items:center;padding:0;font-size:24px;line-height:1;display:grid}.wordmark{cursor:pointer;background:0 0;border:0;flex:none;place-items:center;width:130px;height:42px;padding:0;display:grid}.brand-logo{place-items:center;width:132px;height:40px;display:inline-grid;overflow:hidden}.brand-logo>span{background:url(/brand/lison-logo.jpg) -25.7px -66.7px/174px 174px no-repeat;width:126px;height:37px;display:block}.brand-logo.compact{width:120px;height:36px}.brand-logo.compact>span{background-position:-23.6px -61.3px;background-size:160px 160px;width:116px;height:34px}.topbar-caption{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:9px;font-weight:800;overflow:hidden}.topbar-actions{justify-content:flex-end;align-items:center;gap:7px;min-width:0;display:flex}.feedback-trigger{width:40px;height:40px;color:var(--blue);background:var(--soft-blue);cursor:pointer;border:0;border-radius:12px;flex:none;place-items:center;padding:0;display:grid}.feedback-trigger svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}.language-switch{background:#505c7014;border-radius:12px;flex:none;gap:2px;height:36px;padding:3px;display:flex}.language-switch button{min-width:34px;height:30px;color:var(--muted);cursor:pointer;letter-spacing:.04em;background:0 0;border:0;border-radius:9px;padding:0 7px;font-size:11px;font-weight:850}.language-switch button.active{color:var(--blue);background:var(--surface);box-shadow:0 2px 8px #182d501f}.main-content{width:100%}.page{width:min(100%, var(--content-max));padding:18px var(--page-gutter) 28px;margin:0 auto}.stack-lg>*+*{margin-top:14px}.stack-xl>*+*{margin-top:22px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1.35px;margin-bottom:9px;font-size:clamp(30px,9vw,40px);line-height:1.05}h2{letter-spacing:-.45px;margin-bottom:9px;font-size:21px;line-height:1.2}h3{margin-bottom:10px;font-size:15px}p{color:var(--muted);line-height:1.6}.eyebrow{color:var(--blue);text-transform:uppercase;letter-spacing:.09em;margin-bottom:10px;font-size:12px;font-weight:800}.panel,.topic-card,.empty-card,.state-card,.editable-section{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:19px}.panel{padding:16px}.welcome{padding:12px 3px 0}.welcome p{max-width:540px;margin-bottom:0;font-size:15px}.topic-grid{gap:14px;display:grid}.topic-card{text-align:left;width:100%;color:inherit;cursor:pointer;padding:0;position:relative;overflow:hidden}.topic-card:active{transform:scale(.992)}.topic-illustration{background:linear-gradient(145deg,#1f8cff,#0b63df);height:132px;position:relative;overflow:hidden}.topic-illustration:after{content:"";pointer-events:none;background:linear-gradient(#08122305,#08122338);position:absolute;inset:0}.topic-illustration img{object-fit:cover;width:100%;height:100%;transition:transform .35s;display:block}.topic-card:hover .topic-illustration img{transform:scale(1.025)}.topic-card-content{padding:17px}.topic-card-content h2{margin:8px 0 7px;font-size:27px}.topic-card-content p{margin-bottom:18px;font-size:14px}.topic-meta{gap:8px;display:flex}.topic-meta span,.topic-level{background:var(--soft-blue);color:var(--blue-dark);border-radius:99px;padding:5px 9px;font-size:11px;font-weight:800}.progress-row{color:var(--muted);justify-content:space-between;align-items:center;margin-bottom:9px;font-size:12px;font-weight:600;display:flex}.due-badge{color:var(--blue)}.progress-track,.review-progress{background:#e7ebf1;border-radius:99px;height:6px;overflow:hidden}.progress-track span,.review-progress span{border-radius:inherit;background:var(--blue);height:100%;display:block}.bottom-nav{z-index:30;height:calc(64px + env(safe-area-inset-bottom));padding:0 max(var(--page-gutter), env(safe-area-inset-left)) env(safe-area-inset-bottom) max(var(--page-gutter), env(safe-area-inset-right));background:color-mix(in srgb, var(--surface) 94%, transparent);border-top:1px solid var(--line);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{min-height:48px;color:var(--muted);background:0 0;border:0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:0 2px;font-size:10px;font-weight:700;line-height:1.1;display:flex}.bottom-nav button.active{color:var(--blue)}.bottom-nav.three-tabs{grid-template-columns:repeat(3,1fr)}.nav-icon{width:22px;height:22px;line-height:1}.nav-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%}.button{cursor:pointer;border:0;border-radius:14px;min-height:48px;padding:13px 18px;font-weight:800;transition:all .18s}.button:active{transform:scale(.98)}.button:disabled{opacity:.45;cursor:default}.button.primary{color:#fff;background:var(--blue);box-shadow:0 9px 22px #1479f83d}.button.primary:hover{background:var(--blue-dark)}.button.light{color:var(--blue-dark);background:#fff}.button.ghost{color:var(--blue);background:var(--soft-blue)}.button.small{border-radius:11px;min-height:42px;padding:9px 12px;font-size:12px}.button.wide{width:100%}.icon-button{width:44px;height:44px;color:var(--muted);cursor:pointer;background:#505c7014;border:0;border-radius:13px;flex:none;font-size:22px}.icon-button.danger{color:#dc5660;background:#fff0f1}.state-card,.empty-card{text-align:center;max-width:440px;margin:34px auto;padding:30px 20px}.state-card p,.empty-card p{margin-bottom:22px}.state-icon,.empty-art{width:62px;height:62px;color:var(--blue);background:var(--soft-blue);border-radius:20px;place-items:center;margin:0 auto 20px;font-size:23px;font-weight:800;display:grid}.loading-state{box-shadow:none;background:0 0;border-color:#0000}.loading-state .brand-logo{margin:0 auto 22px}.spinner{border:3px solid #1479f82e;border-top-color:var(--blue);border-radius:50%;width:30px;height:30px;margin:0 auto 15px;animation:.7s linear infinite spin;display:block}@keyframes spin{to{transform:rotate(360deg)}}.topic-hero{color:#fff;background:radial-gradient(circle at 100% 0,#ffffff3d,#0000 32%),linear-gradient(145deg,#1d8cff,#0b63db);border-radius:20px;padding:22px 18px;box-shadow:0 16px 38px #1065d838}.topic-hero h1{margin:15px 0 8px}.topic-hero p{color:#ffffffc7;margin-bottom:22px}.topic-level{color:#fff;background:#fff3}.topic-stat-row{color:#ffffffbf;flex-wrap:wrap;gap:10px 22px;font-size:12px;display:flex}.topic-stat-row b{color:#fff;margin-right:4px;font-size:17px}.prose{font-size:14px;line-height:1.7}.prose h2{margin-top:26px}.prose h2:first-child{margin-top:0}.prose h3{color:var(--blue-dark);margin:21px 0 8px}.prose ul{padding-left:20px}.prose li{margin:7px 0}.prose code{border:1px solid var(--line);color:var(--ink);background:color-mix(in srgb, var(--ink) 7%, transparent);white-space:normal;overflow-wrap:anywhere;-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:7px;padding:3px 6px;font-family:inherit}.panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.panel-heading h2,.panel-heading p{margin-bottom:0}.panel-heading>span{color:var(--muted);font-weight:700}.panel-heading.compact{align-items:flex-start}.panel-heading.compact p{font-size:12px}.vocabulary-heading>div,.section-intro{align-items:flex-start;gap:12px;display:flex}.vocabulary-heading h2,.section-intro h2{margin-top:1px}.section-number{color:var(--blue);letter-spacing:.08em;font-size:11px;font-weight:800}.vocabulary-group+.vocabulary-group{margin-top:22px}.vocabulary-group h3,.question-group h3{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:11px}.word-list{border-top:1px solid var(--line)}.word-row{border-bottom:1px solid var(--line);align-items:center;min-height:64px;padding:10px 0;display:flex}.question-row input{opacity:0;pointer-events:none;position:absolute}.custom-check{color:#fff;border:1.5px solid #c5ccd7;border-radius:7px;flex:none;place-items:center;width:22px;height:22px;font-size:13px;display:grid}.question-row.checked .custom-check{border-color:var(--blue);background:var(--blue)}.word-pair{flex-direction:column;gap:2px;min-width:0;display:flex}.word-pair strong{font-size:15px}.word-pair>span{color:var(--muted);font-size:12px}.word-pair .word-example{color:color-mix(in srgb, var(--ink) 72%, transparent);margin-top:2px;font-size:12px;font-style:italic;line-height:1.45}.toast{z-index:50;top:calc(66px + env(safe-area-inset-top));color:#fff;width:max-content;max-width:calc(100% - 28px);box-shadow:var(--shadow);background:#1d2736;border-radius:12px;padding:11px 15px;font-size:12px;font-weight:700;position:fixed;left:50%;transform:translate(-50%)}.feedback-backdrop{z-index:100;padding-top:env(safe-area-inset-top);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#050c187a;justify-content:center;align-items:flex-end;animation:.18s ease-out fade-in;display:flex;position:fixed;inset:0}.feedback-sheet{width:min(100%,520px);max-height:calc(100dvh - 24px);padding:22px 18px max(20px, env(safe-area-inset-bottom));border:1px solid var(--line);color:var(--ink);background:var(--surface);border-bottom:0;border-radius:24px 24px 0 0;animation:.22s ease-out sheet-up;overflow-y:auto;box-shadow:0 -18px 60px #040c1c3d}.feedback-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.feedback-heading .eyebrow{margin-bottom:6px}.feedback-heading h2{margin-bottom:0}.feedback-categories{grid-template-columns:repeat(4,1fr);gap:7px;margin:20px 0 18px;display:grid}.feedback-categories button{border:1px solid var(--line);min-height:40px;color:var(--muted);cursor:pointer;background:0 0;border-radius:11px;padding:8px 5px;font-size:11px;font-weight:700}.feedback-categories button.active{color:var(--blue);background:var(--soft-blue);border-color:#1479f847}.feedback-field{display:block}.feedback-field>span{margin-bottom:8px;font-size:12px;font-weight:700;display:block}.feedback-field textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:126px;color:var(--ink);background:color-mix(in srgb, var(--surface) 94%, #eef3fa);border-radius:14px;outline:none;padding:13px 14px;line-height:1.5}.feedback-field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1479f81a}.feedback-meta{min-height:35px;color:var(--muted);justify-content:space-between;gap:12px;padding:7px 1px 9px;display:flex}.feedback-meta small{max-width:330px;font-size:10px;line-height:1.35}.feedback-meta span{flex:none;font-size:10px}.feedback-success{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:250px;display:flex}.feedback-success>span{color:#fff;background:var(--blue);border-radius:50%;place-items:center;width:58px;height:58px;margin-bottom:18px;font-size:25px;display:grid;box-shadow:0 10px 26px #1479f842}.feedback-success h2{margin-bottom:5px}.feedback-success p{margin-bottom:0}@keyframes fade-in{0%{opacity:0}}@keyframes sheet-up{0%{opacity:.65;transform:translateY(24px)}}.personal-area>.section-intro{padding:10px 4px 4px}.section-intro p{margin-bottom:0;font-size:13px}.section-intro.compact{margin-bottom:18px}.editable-section{margin-top:10px;overflow:hidden}.editable-section summary{cursor:pointer;justify-content:space-between;align-items:center;min-height:54px;padding:15px 16px;font-weight:800;list-style:none;display:flex}.editable-section summary::-webkit-details-marker{display:none}.editable-section[open] .chevron{transform:rotate(180deg)}.editable-fields{border-top:1px solid var(--line);padding:2px 15px 18px}.form-field{margin-top:17px;display:block}.field-label-row{justify-content:space-between;gap:8px;min-height:21px;margin-bottom:7px;font-size:12px;font-weight:700;display:flex}.save-status{color:var(--muted);font-weight:500}.save-status.saved{color:#1c9a67}.save-status.error{color:#d54854}.form-field input,.form-field textarea,.time-field input{border:1px solid var(--line);width:100%;min-height:48px;color:var(--ink);background:color-mix(in srgb, var(--surface) 94%, #eef3fa);border-radius:12px;outline:none;padding:12px 13px}.form-field input:focus,.form-field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1479f81a}.form-field textarea{resize:vertical;min-height:88px;line-height:1.5}.correction-row{grid-template-columns:minmax(0,1fr) 44px;gap:7px;margin-bottom:10px;display:grid}.correction-row input{grid-column:1}.correction-row .icon-button{grid-area:1/2/span 2;width:44px;height:100%;min-height:48px}.question-group+.question-group{margin-top:23px}.question-row{border-bottom:1px solid var(--line);cursor:pointer;gap:12px;min-height:52px;padding:12px 0;display:flex}.question-row>span:last-child{flex-direction:column;gap:3px;display:flex}.question-row strong{font-size:13px;line-height:1.45}.question-row small{color:var(--muted)}.question-row.checked strong{color:var(--muted);text-decoration:line-through}.page-heading{padding:8px 3px 0}.review-summary{color:#fff;background:linear-gradient(145deg,#1c87ff,#0861d4);border-radius:20px;justify-content:space-between;align-items:center;gap:12px;padding:19px 17px;display:flex;box-shadow:0 15px 38px #0e63d638}.review-summary>div{grid-template-columns:auto auto;align-items:end;column-gap:7px;display:grid}.review-summary strong{font-size:39px;line-height:1}.review-summary>div>span:last-child{opacity:.75;padding-bottom:4px;font-size:12px}.summary-label{text-transform:uppercase;letter-spacing:.08em;opacity:.72;grid-column:1/-1;margin-bottom:8px;font-size:11px;font-weight:800}.reminder-panel small{color:var(--muted)}.switch input{opacity:0;position:absolute}.switch span{cursor:pointer;background:#dce1e9;border-radius:99px;width:48px;height:28px;display:block;position:relative}.switch span:after{content:"";background:#fff;border-radius:50%;width:22px;height:22px;transition:all .2s;position:absolute;top:3px;left:3px;box-shadow:0 2px 6px #0000002e}.switch input:checked+span{background:var(--blue)}.switch input:checked+span:after{transform:translate(20px)}.time-field{justify-content:space-between;align-items:center;gap:16px;margin:14px 0 8px;font-size:13px;font-weight:700;display:flex}.time-field input{width:124px}.card-list-item{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:62px;display:flex}.card-list-item:first-child{border-top:0}.card-list-item>div{flex-direction:column;gap:3px;display:flex}.card-list-item strong{font-size:14px}.card-list-item span{color:var(--muted);font-size:12px}.card-list-item .card-topic-tag{width:fit-content;color:var(--blue);background:var(--soft-blue);border-radius:99px;margin-top:3px;padding:3px 7px;font-size:10px;font-weight:700}.review-page{min-height:100dvh;padding-top:max(12px, env(safe-area-inset-top));padding-bottom:max(16px, env(safe-area-inset-bottom));flex-direction:column;display:flex}.review-header{grid-template-columns:44px 1fr auto;align-items:center;gap:12px;display:grid}.review-progress{width:100%}.review-header>span{color:var(--muted);font-size:12px;font-weight:700}.flashcard{text-align:center;border:1px solid var(--line);background:var(--surface);border-radius:24px;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:clamp(280px,52dvh,440px);margin:20px 0 16px;padding:28px 19px;display:flex;box-shadow:0 22px 54px #1b2f501c}.card-side-label{color:var(--blue);text-transform:uppercase;letter-spacing:.09em;margin-bottom:20px;font-size:11px;font-weight:800}.flashcard-word{letter-spacing:-1px;overflow-wrap:anywhere;max-width:100%;font-size:clamp(28px,10vw,44px);font-weight:800;line-height:1.14}.flashcard-translation{color:var(--muted);margin-top:16px;font-size:17px}.flashcard-example{max-width:420px;color:var(--ink);background:var(--soft-blue);border-radius:14px;margin:18px 0 0;padding:12px 14px;font-size:14px;font-style:italic;line-height:1.5}.flashcard-topic{color:var(--muted);background:#5a698014;border-radius:99px;margin-top:34px;padding:6px 10px;font-size:11px}.reveal-button,.rating-area{margin-top:auto}.rating-area>p{text-align:center;margin-bottom:10px;font-size:12px}.rating-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.rating{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:62px;padding:8px 6px;display:flex}.rating strong{font-size:12px}.rating span{color:var(--muted);font-size:10px}.rating.hard strong{color:#d28124}.rating.good strong{color:var(--blue)}.rating.easy strong{color:#159461}.inline-error{color:#b62f3a;background:#fff0f1;border-radius:10px;margin-bottom:10px;padding:10px 12px;font-size:12px}.review-finished{min-height:100dvh;padding-top:max(20px, env(safe-area-inset-top));padding-bottom:max(20px, env(safe-area-inset-bottom));text-align:center;flex-direction:column;justify-content:center;display:flex}.review-finished p{max-width:410px;margin:0 auto 25px}.success-orbit{background:#1479f80d;border:1px solid #1479f824;border-radius:50%;width:104px;height:104px;margin:0 auto 30px;padding:15px}.success-orbit span{color:#fff;background:var(--blue);border-radius:50%;place-items:center;width:100%;height:100%;font-size:31px;display:grid;box-shadow:0 11px 28px #1479f847}.grammar-index{--grammar-violet:#6d54e8;--grammar-mint:#23ad8a}.grammar-welcome{color:#fff;background:radial-gradient(circle at 90% 8%,#ffffff3d,#0000 28%),linear-gradient(145deg,#7658ec,#4c35bf);border-radius:24px;grid-template-columns:minmax(0,1fr) 96px;align-items:center;gap:8px;min-height:250px;padding:25px 20px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 42px #4e35bc3d}.grammar-welcome .eyebrow{color:#dcd4ff}.grammar-welcome h1{margin-bottom:13px;font-size:clamp(28px,8vw,40px)}.grammar-welcome p{color:#ffffffc2;max-width:470px;margin-bottom:0;font-size:14px}.grammar-welcome-orbit{border:1px solid #ffffff45;border-radius:50%;width:88px;height:88px;animation:4s ease-in-out infinite grammar-float;position:relative}.grammar-welcome-orbit:before{content:"";border:1px dashed #ffffff3b;border-radius:50%;position:absolute;inset:12px}.grammar-welcome-orbit>span{color:#533bc0;background:#fff;border-radius:18px;place-items:center;width:49px;height:49px;font-size:24px;font-weight:900;display:grid;position:absolute;top:19px;left:19px;transform:rotate(-7deg);box-shadow:0 11px 25px #1d115b40}.grammar-welcome-orbit i,.grammar-welcome-orbit b{background:#ffe277;border-radius:50%;display:block;position:absolute}.grammar-welcome-orbit i{width:11px;height:11px;top:23px;left:-2px}.grammar-welcome-orbit b{color:#5a43c4;place-items:center;width:20px;height:20px;font-size:10px;display:grid;bottom:7px;right:-6px}@keyframes grammar-float{50%{transform:translateY(-7px)rotate(3deg)}}.grammar-due-callout{background:color-mix(in srgb, var(--surface) 90%, #ede9ff);box-shadow:var(--shadow);border:1px solid #6d54e82e;border-radius:18px;align-items:center;gap:13px;padding:15px;display:flex}.grammar-due-icon{color:#fff;background:var(--grammar-violet);border-radius:15px;flex:none;place-items:center;width:48px;height:48px;font-size:25px;display:grid;box-shadow:0 8px 20px #6d54e840}.grammar-due-callout>div:last-child{flex-direction:column;min-width:0;display:flex}.grammar-due-callout span{color:var(--grammar-violet);text-transform:uppercase;letter-spacing:.09em;font-size:10px;font-weight:900}.grammar-due-callout strong{margin:3px 0;font-size:14px}.grammar-due-callout small{color:var(--muted);font-size:11px}.grammar-route-summary{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:18px;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:8px;padding:15px 13px;display:grid}.grammar-route-summary>span{text-align:center;flex-direction:column;align-items:center;min-width:0;display:flex}.grammar-route-summary strong{color:var(--grammar-violet);font-size:21px}.grammar-route-summary small{color:var(--muted);font-size:9px;line-height:1.25}.grammar-route-summary i{background:var(--line);width:1px;height:30px}.grammar-level-group+.grammar-level-group{padding-top:5px}.grammar-section-heading{justify-content:space-between;align-items:flex-end;margin:0 3px 13px;display:flex}.grammar-section-heading .eyebrow{color:var(--grammar-violet);margin-bottom:5px}.grammar-section-heading h2{margin-bottom:0}.grammar-section-heading p{max-width:470px;color:var(--muted);margin:4px 0 0;font-size:11px;line-height:1.4}.grammar-section-heading>span{color:var(--muted);padding-bottom:2px;font-size:12px;font-weight:800}.grammar-grid{gap:10px;display:grid}.grammar-card{border:1px solid var(--line);text-align:left;width:100%;min-height:105px;color:var(--ink);background:var(--surface);box-shadow:var(--shadow);cursor:pointer;border-radius:18px;grid-template-columns:28px 48px minmax(0,1fr) 28px;align-items:center;gap:10px;padding:14px 13px;display:grid;position:relative}.grammar-card:active{transform:scale(.99)}.grammar-card.is-due{background:color-mix(in srgb, var(--surface) 95%, #ddd6ff);border-color:#6d54e859}.grammar-card-number{color:#a4abba;align-self:start;padding-top:2px;font-size:10px;font-weight:800}.grammar-card-icon{width:48px;height:48px;color:var(--grammar-violet);background:#6d54e81c;border-radius:15px;place-items:center;font-size:22px;font-weight:900;display:grid}.grammar-card:nth-child(3n+2) .grammar-card-icon{color:#168a70;background:#23ad8a1f}.grammar-card:nth-child(3n) .grammar-card-icon{color:#bf7922;background:#efa64c24}.grammar-card-copy{flex-direction:column;min-width:0;display:flex}.grammar-card-copy>strong{margin:5px 0 3px;font-size:16px}.grammar-card-copy>small{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;line-height:1.4;display:-webkit-box;overflow:hidden}.grammar-card-meta{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;align-items:center;gap:7px;font-size:9px;font-weight:800;display:flex}.grammar-card-meta b{color:#fff;background:var(--grammar-violet);border-radius:99px;padding:3px 6px;font-size:8px}.grammar-card-meta b.learned{color:#168a70;background:#23ad8a1f}.grammar-mastery{color:#317562;text-transform:uppercase;letter-spacing:.05em;background:#23ad8a1a;border-radius:99px;width:max-content;margin-top:8px;padding:3px 7px;font-size:8px;font-weight:850}.grammar-mastery.level-2{color:#97631d;background:#efa64c21}.grammar-mastery.level-3{color:#6548ce;background:#6d54e81f}.grammar-card-arrow{color:var(--grammar-violet);font-size:20px}.grammar-topic-page{--grammar-violet:#6d54e8;padding-bottom:34px}.grammar-topic-hero{color:#fff;background:radial-gradient(circle at 94% 5%,#fff3,#0000 31%),linear-gradient(145deg,#7256e4,#4d36bc);border-radius:23px;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:16px;min-height:160px;padding:23px 20px;display:grid;box-shadow:0 16px 38px #4e35bc38}.grammar-topic-icon{color:#573fc2;background:#fff;border-radius:21px;place-items:center;width:66px;height:66px;font-size:30px;font-weight:900;display:grid;transform:rotate(-4deg);box-shadow:0 10px 26px #20145b33}.grammar-topic-hero span{color:#ffffffad;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:800}.grammar-topic-hero h1{margin:6px 0;font-size:clamp(27px,8vw,38px)}.grammar-topic-hero p{color:#ffffffc7;margin-bottom:0;font-size:12px;line-height:1.45}.grammar-roadmap{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;justify-content:center;align-items:center;padding:5px 7px;font-size:9px;font-weight:800;display:flex}.grammar-roadmap>span{white-space:nowrap;align-items:center;gap:5px;display:flex}.grammar-roadmap b{width:22px;height:22px;color:var(--muted);background:#5a69801a;border-radius:50%;place-items:center;font-size:9px;display:grid}.grammar-roadmap .active{color:var(--grammar-violet)}.grammar-roadmap .active b{color:#fff;background:var(--grammar-violet)}.grammar-roadmap i{background:var(--line);width:clamp(14px,8vw,58px);height:1px;margin:0 7px}.grammar-difficulty-map{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:18px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:13px;display:grid}.grammar-difficulty-map>div{background:#23ad8a14;border-radius:12px;align-items:center;gap:8px;min-width:0;padding:9px 7px;display:flex}.grammar-difficulty-map>div.level-2{background:#efa64c1a}.grammar-difficulty-map>div.level-3{background:#6d54e817}.grammar-difficulty-map b{color:#fff;background:#24a985;border-radius:8px;flex:none;place-items:center;width:25px;height:25px;font-size:10px;display:grid}.grammar-difficulty-map .level-2 b{background:#db943d}.grammar-difficulty-map .level-3 b{background:#6d54e8}.grammar-difficulty-map span{flex-direction:column;min-width:0;display:flex}.grammar-difficulty-map strong{text-overflow:ellipsis;font-size:10px;overflow:hidden}.grammar-difficulty-map small{color:var(--muted);margin-top:2px;font-size:8px;line-height:1.2}.grammar-lessons{gap:12px;display:grid}.grammar-lesson-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:20px;padding:20px 17px;position:relative;overflow:hidden}.grammar-lesson-index{color:#6d54e824;letter-spacing:-2px;font-size:36px;font-weight:900;position:absolute;top:13px;right:15px}.grammar-lesson-card h2{max-width:calc(100% - 52px);margin-bottom:11px}.grammar-lesson-card>p{color:var(--ink);margin-bottom:14px;font-size:13px;line-height:1.65}.grammar-examples{gap:7px;display:grid}.grammar-examples code{border-left:3px solid var(--grammar-violet);color:var(--ink);background:#6d54e812;border-radius:7px 11px 11px 7px;padding:10px 11px;font-family:inherit;font-size:12px;line-height:1.45}.grammar-lesson-card aside{color:var(--muted);background:#f2b53d1f;border-radius:12px;margin-top:14px;padding:11px 12px;font-size:11px;line-height:1.5}.grammar-lesson-card aside span{color:#b87517;text-transform:uppercase;letter-spacing:.06em;margin-right:7px;font-size:9px;font-weight:900}.grammar-start{background:#6d54e8!important;box-shadow:0 9px 22px #6d54e83d!important}.grammar-practice-page{flex-direction:column;min-height:calc(100dvh - 58px);padding-top:22px;display:flex}.grammar-flow-head{justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:11px;display:flex}.grammar-flow-head>div{flex-direction:column;display:flex}.grammar-flow-head span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:800}.grammar-flow-head strong{margin-top:3px;font-size:15px}.grammar-flow-head>span{color:var(--muted);font-size:11px}.grammar-practice-page>.progress-track{margin-bottom:17px}.grammar-question-card{border:1px solid var(--line);background:var(--surface);border-radius:22px;width:100%;margin-bottom:14px;padding:22px 17px;box-shadow:0 18px 44px #1b2f501a}.grammar-question-meta{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px;font-size:9px;font-weight:800;display:flex}.grammar-difficulty-pill{color:#157256;background:#23ad8a1f;border-radius:99px;padding:4px 8px}.grammar-difficulty-pill.level-2{color:#9a641d;background:#efa64c24}.grammar-difficulty-pill.level-3{color:#6548ce;background:#6d54e821}.grammar-question-card .eyebrow{color:#6d54e8}.grammar-question-card h2{align-items:center;min-height:55px;margin:8px 0 18px;font-size:clamp(22px,7vw,30px);line-height:1.25;display:flex}.grammar-options{gap:9px;display:grid}.grammar-options button{border:1px solid var(--line);min-height:52px;color:var(--ink);background:color-mix(in srgb, var(--surface) 96%, #eef1f7);text-align:left;cursor:pointer;border-radius:13px;justify-content:space-between;align-items:center;padding:11px 13px;font-size:14px;font-weight:750;display:flex}.grammar-options button:not(:disabled):active{transform:scale(.99)}.grammar-options button.correct{color:#16845f;background:#1fa1711a;border-color:#1fa17159}.grammar-options button.wrong{color:#c7434e;background:#dc566017;border-color:#dc566057}.grammar-options button.muted{opacity:.48}.grammar-options button b{font-size:20px}.grammar-options.true-false{grid-template-columns:1fr 1fr}.grammar-options.true-false button{text-align:center;justify-content:center}.grammar-order{gap:11px;display:grid}.grammar-order-answer{background:#6d54e80b;border:1px dashed #6d54e857;border-radius:14px;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:6px;min-height:69px;padding:9px;display:flex}.grammar-order-answer>span{color:var(--muted);margin:auto;font-size:11px}.grammar-order-answer button,.grammar-order-tokens button{border:1px solid var(--line);color:var(--ink);background:var(--surface);cursor:pointer;border-radius:9px;padding:8px 10px;font-size:12px;font-weight:750}.grammar-order-answer.correct{background:#1fa17112;border-color:#1fa17159}.grammar-order-answer.wrong{background:#dc56600f;border-color:#dc566057}.grammar-order-tokens{flex-wrap:wrap;gap:7px;min-height:42px;display:flex}.grammar-order-tokens button{background:color-mix(in srgb, var(--surface) 94%, #e6e0ff)}.grammar-order-tokens button:disabled{opacity:.25}.grammar-order-check{color:#fff;cursor:pointer;background:#6d54e8;border:0;border-radius:12px;min-height:43px;font-size:12px;font-weight:800}.grammar-order-check:disabled{opacity:.35;cursor:default}.grammar-explanation{border-radius:12px;flex-direction:column;gap:3px;margin-top:13px;padding:11px 12px;font-size:11px;line-height:1.45;display:flex}.grammar-explanation.correct{color:#136e51;background:#1fa1711a}.grammar-explanation.wrong{color:#a9353e;background:#dc566017}.grammar-explanation strong{font-size:12px}@keyframes adaptive-in{0%{opacity:0;transform:translateY(-5px)}}.kahoot-shell{--kahoot-top:#4b2fb8;--kahoot-bottom:#7b5ce8;min-height:calc(100dvh - 58px);padding:14px var(--page-gutter) max(18px, env(safe-area-inset-bottom));color:#fff;background:linear-gradient(170deg, var(--kahoot-top), var(--kahoot-bottom));flex-direction:column;display:flex}.kahoot-shell.level-2{--kahoot-top:#10529c;--kahoot-bottom:#2a93c4}.kahoot-shell.level-3{--kahoot-top:#14134a;--kahoot-bottom:#4b3a90}.kahoot-shell>*{width:min(100%, var(--content-max));margin-inline:auto}.kahoot-header{justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:11px;display:flex}.kahoot-header>div{flex-direction:column;min-width:0;display:flex}.kahoot-header span{color:#ffffffad;text-transform:uppercase;letter-spacing:.1em;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:900;overflow:hidden}.kahoot-header strong{text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:15px;overflow:hidden}.kahoot-header>b{color:#fffc;font-size:12px}.kahoot-hud{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0a063038;border:1px solid #ffffff2e;border-radius:16px;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;margin-bottom:12px;padding:7px 11px;display:grid}.kahoot-timer{place-items:center;width:44px;height:44px;display:grid;position:relative}.kahoot-timer svg{position:absolute;inset:0;transform:rotate(-90deg)}.kahoot-timer circle{fill:none;stroke-width:4px;stroke-linecap:round}.kahoot-timer .track{stroke:#fff3}.kahoot-timer .value{stroke:#ffe36d;stroke-dasharray:119.4;transition:stroke-dashoffset .2s linear}.kahoot-timer b{font-variant-numeric:tabular-nums;font-size:15px}.kahoot-timer.is-urgent .value{stroke:#ff7a8f}.kahoot-timer.is-urgent b{color:#ffc9d2;animation:.9s ease-in-out infinite kahoot-pulse}@keyframes kahoot-pulse{50%{transform:scale(1.18)}}.kahoot-progress{flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;display:flex}.kahoot-progress i{border:1px solid #ffffff59;border-radius:50%;width:7px;height:7px;transition:all .35s;display:block}.kahoot-progress i.done{background:#ffe36d;border-color:#ffe36d}.kahoot-progress i.current{background:#fff;border-color:#fff;transform:scale(1.4)}.kahoot-score{flex-direction:column;align-items:flex-end;display:flex}.kahoot-score span{color:#ffe36d;text-transform:uppercase;letter-spacing:.08em;font-size:8px;font-weight:900}.kahoot-score strong{font-variant-numeric:tabular-nums;font-size:17px}.kahoot-streak{color:#4a3400;background:#ffe36d;border-radius:99px;width:max-content;margin:0 auto 10px;padding:5px 11px;font-size:10px;font-weight:950;animation:.35s cubic-bezier(.2,.9,.2,1.4) kahoot-pop;box-shadow:0 7px 18px #140a463d}@keyframes kahoot-pop{0%{opacity:0;transform:scale(.5)}}.kahoot-adaptive{color:#176d55;background:#dcf5ec;border-radius:12px;align-items:center;gap:8px;margin-bottom:10px;padding:9px 12px;font-size:10px;font-weight:750;animation:.25s ease-out adaptive-in;display:flex}.kahoot-adaptive.level-2{color:#835519;background:#fff0d8}.kahoot-adaptive.level-3{color:#5438ba;background:#e9e4ff}.kahoot-adaptive>span{color:#fff;background:#24a985;border-radius:7px;flex:none;place-items:center;width:20px;height:20px;font-size:10px;display:grid}.kahoot-adaptive.level-2>span{background:#db943d}.kahoot-adaptive.level-3>span{background:#6d54e8}.kahoot-question{color:#141820;background:#fffffff5;border-radius:20px;flex-direction:column;justify-content:center;min-height:124px;margin-bottom:14px;padding:18px 16px;animation:.3s ease-out kahoot-question-in;display:flex;box-shadow:0 16px 34px #120a423d}.kahoot-question>span{color:#6b55d3;text-transform:uppercase;letter-spacing:.09em;font-size:9px;font-weight:950}.kahoot-question h2{margin:8px 0 0;font-size:clamp(20px,6vw,28px);line-height:1.22}@keyframes kahoot-question-in{0%{opacity:0;transform:translateY(10px)}}.kahoot-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.kahoot-tiles.is-pair{grid-template-columns:repeat(2,minmax(0,1fr))}.kahoot-tile{color:#fff;text-align:center;cursor:pointer;background:#d94a52;border:0;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:92px;padding:12px 11px;font-size:14px;font-weight:850;line-height:1.25;transition:all .16s;display:flex;box-shadow:0 6px #0003,0 12px 24px #10093c38}.kahoot-tile.tile-2{background:#2f74d0}.kahoot-tile.tile-3{background:#d99a1f}.kahoot-tile.tile-4,.kahoot-tiles.is-pair .kahoot-tile.tile-1{background:#219a6b}.kahoot-tiles.is-pair .kahoot-tile.tile-2{background:#d94a52}.kahoot-tile i{opacity:.85;font-size:17px;font-style:normal}.kahoot-tile span{overflow-wrap:anywhere}.kahoot-tile:not(:disabled):active{transform:translateY(4px);box-shadow:0 2px #0003,0 6px 14px #10093c33}.kahoot-tile.is-correct{outline:3px solid #b6ffdf;animation:.5s kahoot-correct}.kahoot-tile.is-wrong{filter:saturate(.75);outline:3px solid #ffc0c8}.kahoot-tile.is-dimmed{opacity:.35;filter:grayscale(.6)}@keyframes kahoot-correct{40%{transform:scale(1.05)}}.kahoot-reveal{color:#10604a;background:#e9fff7f7;border-radius:15px;flex-direction:column;gap:5px;margin-top:12px;padding:12px 14px;animation:.25s ease-out kahoot-question-in;display:flex;box-shadow:0 12px 26px #10093c33}.kahoot-reveal.wrong{color:#9c2f3f;background:#ffeef0f7}.kahoot-reveal-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.kahoot-reveal b{font-size:13px}.kahoot-reveal em{font-variant-numeric:tabular-nums;flex:none;font-size:15px;font-style:normal;font-weight:900}.kahoot-reveal span{font-size:11px;line-height:1.45}.kahoot-next{margin-top:12px;color:#4f37bd!important;background:#fff!important;box-shadow:0 10px 24px #0f083a3d!important}.kahoot-hint{color:#ffffff9e;text-align:center;margin:12px 0 0;padding-top:12px;font-size:10px}.kahoot-shell>.kahoot-hint{margin-top:auto}.kahoot-shell .inline-error{margin-top:12px;margin-bottom:0}.kahoot-podium{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:14px;display:grid}.kahoot-podium>span{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:16px;flex-direction:column;align-items:center;gap:3px;padding:13px 7px;display:flex}.kahoot-podium strong{color:#6d54e8;letter-spacing:-.5px;font-variant-numeric:tabular-nums;font-size:24px}.kahoot-podium small{color:var(--muted);text-align:center;font-size:9px}.kahoot-podium-note{color:var(--muted);margin-bottom:20px;font-size:11px}@media (width<=359px){.kahoot-shell{padding-inline:11px}.kahoot-tile{min-height:84px;font-size:12px}.kahoot-question{min-height:108px;padding:15px 13px}}@media (width>=700px){.kahoot-tiles{gap:12px}.kahoot-tile{min-height:108px;font-size:15px}}@media (prefers-reduced-motion:reduce){.kahoot-shell *{animation-duration:.001ms!important;animation-iteration-count:1!important}}.grammar-result{text-align:center;flex-direction:column;justify-content:center;min-height:calc(100dvh - 58px);display:flex}.grammar-result-orbit{border:1px solid #6d54e838;border-radius:50%;width:126px;height:126px;margin:0 auto 28px;animation:4s ease-in-out infinite grammar-float;position:relative}.grammar-result-orbit:before{content:"";border:1px dashed #6d54e83d;border-radius:50%;position:absolute;inset:12px}.grammar-result-orbit>span{color:#fff;background:#6d54e8;border-radius:22px;place-items:center;width:68px;height:68px;font-size:32px;display:grid;position:absolute;top:28px;left:28px;box-shadow:0 13px 30px #6d54e84d}.grammar-result-orbit.retry>span{background:#e29a35;box-shadow:0 13px 30px #e29a3545}.grammar-result-orbit i,.grammar-result-orbit b{background:#ffe069;border-radius:50%;position:absolute}.grammar-result-orbit i{width:12px;height:12px;top:16px;left:2px}.grammar-result-orbit b{color:#6d54e8;place-items:center;width:27px;height:27px;font-size:12px;display:grid;bottom:16px;right:-5px}.grammar-result>.eyebrow{color:#6d54e8}.grammar-result>p{max-width:450px;margin:0 auto 21px}.grammar-score{flex-direction:column;margin-bottom:22px;display:flex}.grammar-score strong{color:#6d54e8;letter-spacing:-1px;font-size:42px}.grammar-score span{color:var(--muted);font-size:10px}.grammar-result>.button+.button{margin-top:9px}@media (width<=429px){.topbar-caption{display:none}}@media (width<=359px){.topbar.has-back .wordmark{width:112px}.review-summary{flex-direction:column;align-items:stretch}.review-summary .button{width:100%}}@media (width>=370px){.rating-grid{gap:7px}.rating{min-height:68px;padding-inline:4px}.rating strong{font-size:11px}.rating span{font-size:9px}}@media (width>=480px){:root{--page-gutter:18px}.panel{padding:19px}.correction-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}.correction-row input{grid-column:auto}.correction-row .icon-button{grid-area:1/3}}@media (width>=700px){:root{--page-gutter:24px}.page{padding-top:28px;padding-bottom:44px}.topbar{height:calc(66px + env(safe-area-inset-top))}.wordmark{width:130px;height:44px}.topbar-caption{font-size:11px}.panel,.topic-card,.empty-card,.state-card,.editable-section{border-radius:22px}.panel{padding:22px}.topic-hero{border-radius:24px;padding:28px 24px}.topic-grid{grid-template-columns:repeat(2,1fr)}.grammar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grammar-welcome{grid-template-columns:minmax(0,1fr) 150px;min-height:290px;padding:34px 32px}.grammar-welcome-orbit{width:128px;height:128px}.grammar-welcome-orbit:before{inset:18px}.grammar-welcome-orbit>span{width:66px;height:66px;font-size:31px;top:30px;left:30px}.grammar-topic-hero{grid-template-columns:82px minmax(0,1fr);padding:31px 27px}.grammar-topic-icon{width:78px;height:78px}.grammar-lessons{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.grammar-lesson-card{padding:22px 18px}.topic-card:first-child:last-child{grid-column:span 2}.topic-illustration{height:150px}.topic-card-content{padding:21px}.bottom-nav{width:min(100%, var(--content-max));border:1px solid var(--line);border-bottom:0;border-radius:20px 20px 0 0;left:50%;right:auto;transform:translate(-50%)}.feedback-backdrop{padding-bottom:24px}.feedback-sheet{border-bottom:1px solid var(--line);border-radius:24px}h1{font-size:46px}}.maks-dock{z-index:40;right:12px;bottom:calc(74px + env(safe-area-inset-bottom));pointer-events:none;flex-direction:column;align-items:flex-end;gap:8px;width:min(100vw - 24px,340px);display:flex;position:fixed}.maks-dock>*{pointer-events:auto}.app-shell.review-mode .maks-dock{bottom:calc(94px + env(safe-area-inset-bottom))}.maks-launcher-row{align-items:center;gap:8px;display:flex}.maks-launcher{cursor:pointer;background:linear-gradient(160deg,#e8f1ff,#cfe0fb);border:0;border-radius:50%;place-items:center;width:64px;height:64px;padding:0;display:grid;box-shadow:0 10px 26px #1c3c8c47}.maks-launcher.active{background:linear-gradient(160deg,#dcebff,#b9d4fb)}.maks-mute{cursor:pointer;width:40px;height:40px;color:var(--ink);background:color-mix(in srgb, var(--surface) 92%, transparent);border:0;border-radius:50%;place-items:center;padding:0;font-size:12px;display:grid;box-shadow:0 6px 18px #182d5029}.maks-mute.muted{color:#fff;background:#e0a33c}.maks-mute:disabled{opacity:.45}.maks-panel{background:color-mix(in srgb, var(--surface) 95%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid var(--line);border-radius:18px;flex-direction:column;gap:8px;width:100%;padding:10px 12px;animation:.2s maks-rise;display:flex;box-shadow:0 14px 36px #182d502e}@keyframes maks-rise{0%{opacity:0;transform:translateY(8px)}}.maks-panel-head{align-items:center;gap:6px;display:flex}.maks-status{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);letter-spacing:.07em;text-transform:uppercase;flex:auto;font-size:11px;font-weight:800;overflow:hidden}.maks-status.live{color:var(--blue)}.maks-quota{color:var(--muted);background:#505c701a;border-radius:8px;flex:none;padding:3px 7px;font-size:10.5px;font-weight:700}.maks-icon-button{cursor:pointer;width:26px;height:26px;color:var(--muted);background:#505c701a;border:0;border-radius:9px;flex:none;place-items:center;padding:0;font-size:12px;line-height:1;display:grid}.maks-toast,.maks-notice,.maks-fatal{border-radius:11px;margin:0;padding:7px 10px;font-size:12.5px;line-height:1.4}.maks-toast{color:#0964d8;background:var(--soft-blue);font-weight:600}.maks-notice{color:var(--muted);background:#505c7017}.maks-fatal{color:#b43c4c;background:#dc566021}.maks-last{max-height:3.2em;color:var(--ink);margin:0;font-size:13.5px;line-height:1.45;overflow:hidden}.maks-last.learner{color:var(--muted)}.maks-transcript{flex-direction:column;gap:7px;max-height:34vh;display:flex;overflow-y:auto}.maks-hint{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.maks-line{border-radius:13px;max-width:92%;margin:0;padding:7px 11px;font-size:13.5px;line-height:1.45}.maks-line.learner{color:#fff;background:var(--blue);align-self:flex-end}.maks-line.maks{background:#505c701a;align-self:flex-start}.maks-compose{gap:6px;display:flex}.maks-compose input{border:1px solid var(--line);min-width:0;height:38px;color:var(--ink);background:0 0;border-radius:12px;flex:auto;padding:0 12px;font-size:14px}.maks-compose button{color:#fff;background:var(--blue);cursor:pointer;border:0;border-radius:12px;flex:none;width:38px;height:38px;font-size:16px}.maks-compose button:disabled{opacity:.45}.maks{flex:none;place-items:center;display:inline-grid;position:relative}.maks svg{width:100%;height:100%;overflow:visible}.maks-body{fill:#1479f8}.maks-collar{fill:none;stroke:#cfe0fb;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round}.maks-skin{fill:#f3c9a6}.maks-hair{fill:#3b2b23}.maks-brow{fill:none;stroke:#3b2b23;stroke-width:1.7px;stroke-linecap:round}.maks-eye{fill:#2c2320}.maks-glint{fill:#fff}.maks-blush{fill:#ef9a8d;opacity:.5}.maks-mouth-quiet{fill:none;stroke:#7a4a3a;stroke-width:1.6px;stroke-linecap:round}.maks-mouth-open{fill:#7a4a3a;opacity:0;transform-origin:32px 37.6px}.maks-band{fill:none;stroke:#2f3846;stroke-width:3.2px;stroke-linecap:round}.maks-cup{fill:#2f3846}.maks-boom{fill:none;stroke:#2f3846;stroke-width:1.8px;stroke-linecap:round}.maks-boom-tip{fill:#2f3846}.tutor-john .maks-body{fill:#1f9d73}.tutor-john .maks-collar{stroke:#c8efdf}.tutor-john .maks-hair{fill:#b7793a}.tutor-john .maks-brow{stroke:#8a5526}.john-glasses circle{fill:#ffffff38;stroke:#2c2320;stroke-width:1.3px}.john-glasses path{fill:none;stroke:#2c2320;stroke-width:1.3px;stroke-linecap:round}.maks-ring{border:2px solid var(--blue);opacity:0;pointer-events:none;border-radius:50%;position:absolute;inset:-6px}.maks-listening .maks-ring{animation:1.8s ease-out infinite maks-ping}.maks-listening .maks-ring-late{animation-delay:.9s}@keyframes maks-ping{0%{opacity:.55;transform:scale(.88)}to{opacity:0;transform:scale(1.35)}}.maks-listening svg{transform:scale(calc(1 + var(--maks-level,0) * .06));transition:transform .12s ease-out}.maks-speaking .maks-mouth-quiet{opacity:0}.maks-speaking .maks-mouth-open{opacity:1;animation:.34s ease-in-out infinite maks-talk}@keyframes maks-talk{0%,to{transform:scaleY(.45)}50%{transform:scaleY(1.1)}}.maks-connecting svg{animation:1.1s ease-in-out infinite maks-bob}@keyframes maks-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-2.5px)}}.maks-paused svg,.maks-idle svg{filter:none}.maks-paused{opacity:.6}@media (prefers-reduced-motion:reduce){.maks svg,.maks-ring,.maks-mouth-open{transition:none;animation:none!important}.maks-speaking .maks-mouth-open{opacity:1}}@media (prefers-color-scheme:dark){:root{color:var(--ink);--ink:var(--tg-theme-text-color,#f4f7fb);--muted:#9da8b7;--surface:var(--tg-theme-bg-color,#171b22);--line:#e1ebfa1a;--soft-blue:#1479f829;--shadow:0 14px 40px #0000002e}html,body{background:var(--tg-theme-secondary-bg-color,#0f131a)}.brand-logo>span{filter:invert()hue-rotate(180deg);mix-blend-mode:screen}.progress-track,.review-progress{background:#ffffff1f}.button.light{color:#0964d8;background:#fff}.form-field input,.form-field textarea,.time-field input{color:var(--ink);background:#ffffff0a}.feedback-field textarea{background:#ffffff0a}.word-row.added .custom-check,.question-row.checked .custom-check{color:#fff}.icon-button.danger{background:#dc56601f}.maks-line.maks,.maks-notice,.maks-icon-button,.maks-quota{background:#ffffff14}.maks-toast{color:#8ec2ff}.maks-fatal{color:#f0949f}.maks-compose input{background:#ffffff0a}.maks-launcher{background:linear-gradient(160deg,#2b3646,#1d2632)}.maks-launcher.active{background:linear-gradient(160deg,#35455c,#22303f)}.maks-mute{background:#2b3646}}
