:root{color:#15201b;background:#f7f8f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{border:0}.app-shell{min-height:100vh;background:linear-gradient(180deg,#eef5f2 0,#f7f8f4 310px),#f7f8f4}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;width:min(1180px,100%);margin:0 auto;padding:18px 28px}.view-tabs{display:flex;gap:8px;width:min(1180px,100%);margin:0 auto;padding:0 28px 12px}.view-tabs button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid #d7ded8;border-radius:8px;color:#314039;background:#fff;cursor:pointer;font-weight:800}.view-tabs button.active{color:#fff;background:#1d5b84;border-color:#1d5b84}.brand,.helper-title,.panel-heading,.feedback-score{display:flex;align-items:center;gap:12px}.brand{color:#173528}.brand strong,.brand span,.helper-title strong,.helper-title span{display:block}.brand strong{font-size:21px}.brand span,.helper-title span,.eyebrow,.helper-empty,.lesson-goal{color:#5a6962}.brand span,.helper-title span,.eyebrow{font-size:14px}.lesson-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;width:min(1180px,100%);margin:0 auto;padding:8px 28px 36px}.rail{padding-top:72px}.stage-meter{position:sticky;top:20px;display:grid;gap:10px}.stage-step{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;min-height:44px;color:#69756f;font-weight:650}.stage-button{width:100%;padding:0;border:0;text-align:left;background:transparent;cursor:pointer}.stage-button:hover,.stage-button:focus-visible{color:#173528}.stage-button:focus-visible{outline:2px solid #9ac4dc;outline-offset:3px;border-radius:8px}.stage-step span:last-child{overflow-wrap:anywhere}.stage-icon,.panel-icon{display:inline-flex;align-items:center;justify-content:center;border-radius:8px}.stage-icon{width:32px;height:32px;background:#e6ece8}.stage-step.done{color:#2c694d}.stage-step.done .stage-icon{color:#fff;background:#2c694d}.stage-step.active{color:#173528}.stage-step.active .stage-icon{color:#fff;background:#1d5b84}.workspace{min-width:0}.dashboard-shell{display:grid;gap:20px;width:min(1180px,100%);margin:0 auto;padding:10px 28px 36px}.dashboard-header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:18px 0 4px}.rank-summary{display:grid;grid-template-columns:68px minmax(180px,1fr);align-items:center;gap:14px;min-width:292px;padding:12px 14px;border:1px solid #d8c27d;border-radius:8px;color:#173528;background:#fff9ea;box-shadow:0 10px 26px #5e481614}.rank-copy{display:grid;gap:4px;min-width:0}.rank-copy span,.rank-copy small{color:#6c6250}.rank-copy strong{font-size:22px;line-height:1.05}.rank-copy small{display:inline-flex;align-items:center;gap:5px;font-size:12px}.rank-progress{height:7px;overflow:hidden;border-radius:999px;background:#eadfcb}.rank-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2c694d,#d58b18)}.rank-icon{display:grid;place-items:center;gap:4px;width:62px;height:62px;border:1px solid rgba(23,53,40,.18);border-radius:8px;color:#fff;background:#2c694d}.rank-icon b{font-size:11px;line-height:1}.rank-generalissimo b{font-size:9px}.rank-mark{display:grid;gap:3px;width:30px}.rank-mark span{height:4px;border-radius:999px;background:currentColor;opacity:.28}.rank-private .rank-mark span:nth-child(1),.rank-sergeant .rank-mark span:nth-child(-n+2),.rank-starshina .rank-mark span,.rank-lieutenant .rank-mark span:nth-child(1),.rank-captain .rank-mark span,.rank-major .rank-mark span:nth-child(-n+2),.rank-colonel .rank-mark span,.rank-general .rank-mark span,.rank-marshal .rank-mark span,.rank-generalissimo .rank-mark span{opacity:1}.rank-lieutenant,.rank-captain,.rank-major,.rank-colonel{background:#1d5b84}.rank-general,.rank-marshal,.rank-generalissimo{background:#6c4a16}.rank-lieutenant .rank-mark:before,.rank-captain .rank-mark:before,.rank-major .rank-mark:before,.rank-colonel .rank-mark:before,.rank-general .rank-mark:before,.rank-marshal .rank-mark:before,.rank-generalissimo .rank-mark:before{content:"";justify-self:center;width:9px;height:9px;margin-bottom:1px;border-radius:50%;background:currentColor}.rank-general .rank-mark:after,.rank-marshal .rank-mark:after,.rank-generalissimo .rank-mark:after{content:"";justify-self:center;width:22px;height:4px;margin-top:1px;border-radius:999px;background:currentColor}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:20px;background:#121f1975}.rank-modal{position:relative;display:grid;justify-items:center;gap:16px;width:min(420px,100%);padding:30px 26px 26px;border:1px solid #ead69a;border-radius:8px;text-align:center;background:#fffdf7;box-shadow:0 24px 70px #14231b40}.modal-close{position:absolute;top:10px;right:10px;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;color:#5a6962;background:transparent;cursor:pointer}.modal-close:hover,.modal-close:focus-visible{color:#173528;background:#eef3ef}.rank-modal-icon{display:inline-flex;align-items:center;justify-content:center;width:74px;height:74px;border-radius:50%;color:#935d0f;background:#fff3d0}.rank-modal h2{margin-bottom:8px;color:#173528;font-size:28px}.rank-modal p{margin-bottom:0;color:#3f4d46;font-size:18px;font-weight:750}.rank-modal .primary-button{justify-self:center}.dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stat-block,.dashboard-section,.domain-block{border:1px solid #d7ded8;border-radius:8px;background:#fff}.stat-block{display:grid;gap:4px;padding:18px}.stat-block span,.stat-block small,.section-heading span,.domain-header span,.lesson-day,.not-started{color:#5a6962}.stat-block strong{color:#173528;font-size:30px;line-height:1;overflow-wrap:anywhere}.dashboard-section{display:grid;gap:14px;padding:20px}.section-heading,.domain-header,.lesson-catalog-item{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.section-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.section-heading h2,.domain-header h3,.lesson-catalog-main p{margin-bottom:0}.domain-list,.lesson-catalog,.battle-grid{display:grid;gap:10px}.empty-note{margin-bottom:0;color:#5a6962}.domain-block{display:grid;gap:14px;padding:18px}.lesson-catalog-item{padding:14px;border:1px solid #e1e7e2;border-radius:8px;background:#fbfcfd}.lesson-catalog-item.completed{background:#f4fbf4;border-color:#cfe4d0}.battle-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.battle-card{display:grid;gap:14px;min-height:172px;padding:14px;border:1px solid #e1e7e2;border-radius:8px;background:#fbfcfd}.battle-card.completed{background:#f4fbf4;border-color:#cfe4d0}.battle-card-main{display:grid;gap:6px}.battle-card-main strong{color:#173528;font-size:18px}.battle-card-main p{margin-bottom:0;color:#5a6962}.battle-card-side{display:grid;gap:10px;align-content:end;justify-items:start}.battle-card-side .secondary-button{width:100%;white-space:nowrap}.lesson-catalog-main{display:grid;gap:6px;min-width:0}.lesson-catalog-main strong{color:#173528;font-size:18px}.lesson-catalog-main p{color:#5a6962;line-height:1.42}.lesson-catalog-side{display:grid;justify-items:end;gap:10px;min-width:170px}.lesson-catalog-side .secondary-button{min-width:164px;white-space:nowrap}.lesson-header{display:grid;gap:14px;padding:18px 0 22px}.stage-pill{display:inline-flex;align-items:center;gap:8px;width:fit-content;min-height:34px;padding:0 12px;border-radius:8px;color:#153d5f;background:#dcecf7;font-weight:750}.lesson-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.lesson-goal{max-width:820px;margin:12px 0 0;color:#314039;font-size:20px;font-weight:650;line-height:1.45}h1,h2,p{margin-top:0}h1{max-width:850px;margin-bottom:0;color:#10251b;font-size:34px;line-height:1.12}h2{margin-bottom:0;color:#12241b;font-size:24px;line-height:1.2}.main-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.lesson-main,.task-panel,.feedback-panel,.helper-panel{display:grid;gap:16px}.explanation-actions{display:flex;flex-wrap:wrap;gap:10px}.detail-explanation{display:grid;gap:14px}.lesson-panel,.feedback-panel,.helper-panel,.complete-panel,.notice,.loading-state,.image-note{border:1px solid #d7ded8;border-radius:8px;background:#fff}.lesson-panel{padding:24px}.panel-icon{width:44px;height:44px;flex:0 0 auto;color:#fff;background:#2c694d}.eyebrow{margin:0 0 4px;font-weight:750}.text-block{margin-top:20px}.text-block p,.feedback-panel p,.assistant-answer p{margin-bottom:12px;font-size:20px;line-height:1.55}.text-block p:last-child,.feedback-panel p:last-child,.assistant-answer p:last-child,.notice p:last-child{margin-bottom:0}.image-note{display:flex;gap:10px;padding:14px 16px;color:#314039;background:#f6f3ff;border-color:#d8d0f0}.answer-box{display:grid;gap:9px}.answer-input-row{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:10px;align-items:start}.voice-actions{display:grid;gap:8px}.answer-box span{color:#314039;font-weight:750}.answer-box small{color:#5a6962;font-size:14px;line-height:1.35}.answer-box .speech-status{color:#1d5b84;font-weight:750}.live-speech-preview{display:grid;gap:4px;padding:10px 12px;border:1px solid #c9d9e5;border-radius:8px;color:#153d5f;background:#eef7fd}.live-speech-preview strong{font-size:13px}.live-speech-preview span{line-height:1.4}textarea,input{width:100%;border:1px solid #c9d2cc;border-radius:8px;color:#15201b;background:#fff;outline:none}textarea:focus,input:focus{border-color:#1d5b84;box-shadow:0 0 0 3px #1d5b8424}textarea{min-height:142px;resize:vertical;padding:15px;line-height:1.45}input{min-height:44px;padding:0 12px}.answer-box.compact textarea{min-height:112px}.primary-button,.secondary-button,.ghost-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:8px;cursor:pointer;font-weight:800}.primary-button{justify-self:start;padding:0 18px;color:#fff;background:#1f6b4d}.explain-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:8px;color:#4a3108;background:#f5cf67;cursor:pointer;font-weight:800}.secondary-button,.ghost-button{padding:0 16px;color:#173528;background:#e3ebe6}.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 14px;border-radius:8px;color:#7c2d2d;background:#f8e8e8;cursor:pointer;font-weight:800}.danger-button:hover,.danger-button:focus-visible{background:#f2d8d8}.ghost-button{background:#fff;border:1px solid #d7ded8}.icon-button{width:44px;flex:0 0 auto;color:#fff;background:#1d5b84}.voice-button{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:8px;color:#fff;background:#1d5b84;cursor:pointer}.voice-button.recording{background:#b73535;box-shadow:0 0 0 4px #b7353524}.voice-button.clear-recording{color:#7c2d12;background:#fff7ed;border-color:#fed7aa;box-shadow:none}button:disabled{cursor:not-allowed;opacity:.55}.action-button{margin-top:2px}.feedback-panel{padding:22px;background:#f8fbf9}.feedback-score{justify-content:space-between;gap:14px}.feedback-score strong{color:#173528;font-size:18px}.feedback-actions{display:flex;flex-wrap:wrap;gap:10px}.compact-button{min-height:38px;padding:0 14px}.task-reminder{display:grid;gap:8px;padding:14px 16px;border:1px solid #d7ded8;border-radius:8px;background:#fff}.task-reminder strong{color:#173528}.clarification-thread{display:grid;gap:8px}.clarification-message{display:grid;gap:4px;max-width:92%;padding:10px 12px;border-radius:8px;border:1px solid #d7ded8;background:#fff}.clarification-message.child{justify-self:end;background:#edf7f1}.clarification-message.assistant{justify-self:start;background:#fff8e8;border-color:#ead69a}.clarification-message strong{color:#173528;font-size:13px}.clarification-message p{margin-bottom:0}.stars{display:flex;gap:4px;color:#d58b18;white-space:nowrap}.notice{display:grid;gap:6px;padding:14px 16px}.notice strong{color:#14231b}.notice p{margin-bottom:0;line-height:1.45}.debug-details{margin-top:8px;padding-top:10px;border-top:1px solid rgba(20,35,27,.14)}.debug-details summary{cursor:pointer;font-weight:750}.debug-details dl{display:grid;gap:8px;margin:10px 0 0}.debug-details div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px}.debug-details dt{color:#5a6962;font-weight:750}.debug-details dd{min-width:0;margin:0;overflow-wrap:anywhere}.notice.hint{background:#fff8e8;border-color:#ead69a}.notice.error{background:#fff0f0;border-color:#e5b6b6}.complete-panel{display:flex;gap:16px;align-items:center;padding:28px;color:#143720;background:#e6f6e8;border-color:#add5b4}.complete-panel p{margin-bottom:0;font-size:18px}.helper-panel{position:sticky;top:20px;padding:18px;background:#fbfcfd}.helper-input{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:start}.helper-input textarea{min-height:86px;resize:vertical}.assistant-answer{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:14px;border-radius:8px;color:#24312b;background:#eef6f2}.assistant-answer p{font-size:16px}.assistant-thread{display:grid;gap:10px;max-height:420px;overflow:auto}.assistant-message{display:grid;gap:6px;padding:12px;border-radius:8px;line-height:1.42}.assistant-message p{margin:0;font-size:15px}.assistant-message.user{justify-self:end;max-width:92%;color:#153d5f;background:#eef7fd}.assistant-message.assistant{grid-template-columns:auto minmax(0,1fr);color:#24312b;background:#eef6f2}.helper-empty{margin-bottom:0;line-height:1.45}.loading-state{display:flex;align-items:center;gap:12px;padding:24px;color:#314039}.loading-state p{margin-bottom:0;font-size:18px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 980px){.lesson-layout{grid-template-columns:1fr}.rail{padding-top:0}.stage-meter{position:static;grid-template-columns:repeat(3,minmax(0,1fr))}.stage-step{grid-template-columns:32px minmax(0,1fr)}.main-grid{grid-template-columns:1fr}.helper-panel{position:static}.dashboard-stats{grid-template-columns:1fr}.lesson-catalog-item,.dashboard-header{flex-direction:column}.rank-summary{width:100%}.lesson-catalog-side{justify-items:start;min-width:0}}@media (max-width: 640px){.topbar,.view-tabs,.dashboard-shell,.lesson-layout{padding-left:16px;padding-right:16px}.view-tabs{flex-direction:column}.topbar,.lesson-title-row,.complete-panel{align-items:flex-start;flex-direction:column}.stage-meter{grid-template-columns:1fr 1fr}.stage-step{font-size:14px}h1{font-size:27px}h2{font-size:21px}.lesson-panel,.feedback-panel{padding:18px}.text-block p,.feedback-panel p{font-size:18px}.answer-input-row{grid-template-columns:1fr}.voice-button{width:100%}.voice-actions{grid-template-columns:1fr 1fr}.rank-summary{grid-template-columns:56px minmax(0,1fr);min-width:0}.rank-icon{width:52px;height:52px}}.exam-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 18px;border:1px solid #ead69a;border-radius:8px;background:#fff8e8}.exam-banner strong{display:block;color:#4a3108;font-size:18px}.exam-banner span{color:#6b5a2f}.exam-modal-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.exam-modal{position:relative;display:grid;gap:16px;width:min(520px,100%);padding:26px;border:1px solid #d7ded8;border-radius:8px;background:#fff;box-shadow:0 24px 70px #14231b40}.exam-progress{display:inline-flex;align-items:center;gap:8px;width:fit-content;padding:6px 12px;border-radius:8px;color:#153d5f;background:#dcecf7;font-weight:750}.exam-question .text-block p{font-size:20px;line-height:1.5}.exam-modal .answer-box.compact input{width:100%}.exam-result.passed .rank-modal-icon{color:#1f6b4d;background:#e6f6e8}.exam-result.failed{border-color:#e5b6b6;background:#fff6f6}.exam-result.failed .rank-modal-icon{color:#b73535;background:#ffe3e3}.exam-result.failed h2{color:#8f2a2a}.exam-result{max-height:min(760px,calc(100vh - 40px));overflow:auto}.battle-progress{color:#4a3108;background:#fff0cf}.battle-result-list{display:grid;gap:8px;width:100%;text-align:left}.battle-result-item{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;padding:10px 12px;border:1px solid #d7ded8;border-radius:8px;background:#fff}.battle-result-item.correct{border-color:#b9d9c5;background:#f1fbf4}.battle-result-item.wrong{border-color:#e4b8b8;background:#fff6f6}.battle-result-mark{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;color:#fff}.battle-result-item.correct .battle-result-mark{background:#1f6b4d}.battle-result-item.wrong .battle-result-mark{background:#b73535}.battle-result-item strong,.battle-result-item p,.battle-result-item small{display:block}.battle-result-item strong{color:#173528;font-size:14px}.battle-result-item p{margin:3px 0 5px;color:#314039;font-size:14px;line-height:1.35}.battle-result-item small{color:#5a6962;font-size:13px;line-height:1.3;overflow-wrap:anywhere}.topbar{flex-wrap:wrap}.topbar .view-tabs{width:auto;margin:0;padding:0}.cards-panel{display:grid;gap:16px;padding:24px;border:1px solid #d7ded8;border-radius:8px;background:#fff}.cards-header{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px}.cards-header.compact{grid-template-columns:40px minmax(0,1fr)}.cards-header h3{margin:0;color:#12241b;font-size:19px}.cards-counter{padding:4px 10px;border-radius:999px;color:#153d5f;background:#dcecf7;font-size:14px;font-weight:800}.panel-icon.amber{background:#c57f10}.card-stack{display:grid;gap:12px}.idea-card{padding:22px 24px;border:1px solid #d9e6df;border-radius:8px;background:linear-gradient(180deg,#f6fbf8 0,#fff);animation:card-in .25s ease-out}.idea-card p{margin:0;font-size:21px;line-height:1.6}.idea-card.small p{font-size:18px}.idea-card.example-prompt{border-color:#e6d9b2;background:#fffaf0}@keyframes card-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.rule-box{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:16px 18px;border:2px solid #f2c95a;border-radius:8px;color:#4a3108;background:#fff6d8}.rule-box>svg{margin-top:3px;color:#b8760a}.rule-box strong{display:block;margin-bottom:4px;font-size:14px;letter-spacing:.02em;text-transform:uppercase}.rule-box p{margin:0;font-size:19px;font-weight:700;line-height:1.5}.card-dots{display:flex;gap:6px}.card-dots span{width:10px;height:10px;border-radius:50%;background:#d7ded8}.card-dots span.done{background:#8fbfa5}.card-dots span.active{background:#1d5b84}.detail-cards{display:grid;gap:10px}.step-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.step-item{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:start;padding:12px 14px;border:1px solid #d7ded8;border-radius:8px;background:#fbfcfd;animation:card-in .25s ease-out}.step-list.compact .step-item{padding:8px 10px}.step-number{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;color:#fff;background:#1d5b84;font-weight:800}.step-item p{margin:4px 0 0;font-size:19px;line-height:1.5}.example-answer{padding:12px 16px;border-radius:8px;color:#143720;background:#e6f6e8;font-size:19px}.star-scale,.rule-reminder{border:1px solid #d7ded8;border-radius:8px;background:#fff}.star-scale-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;padding:0 16px;border:0;border-radius:8px;color:#173528;background:transparent;cursor:pointer;font-weight:800;text-align:left}.star-scale-toggle>svg:first-child{color:#d58b18}.star-scale-toggle .chevron{margin-left:auto;transition:transform .2s}.open>.star-scale-toggle .chevron,.island-card.open .chevron{transform:rotate(180deg)}.star-scale-list{display:grid;gap:6px;margin:0;padding:0 16px 14px;list-style:none}.star-scale-list li{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px 10px;border-radius:8px;color:#314039}.star-scale-list li.goal{background:#fff6d8}.star-scale-list em{color:#935d0f;font-size:13px;font-style:normal;font-weight:800}.stars.small{gap:2px}.rule-reminder-body{display:grid;gap:10px;padding:0 16px 16px}.rule-reminder-body p{margin:0;line-height:1.5}.example-details summary{cursor:pointer;font-weight:750}.example-details .step-list{margin:10px 0}.chip-row{display:flex;flex-wrap:wrap;gap:8px}.chip{min-height:34px;padding:0 12px;border:1px solid #c9d9e5;border-radius:999px;color:#153d5f;background:#eef7fd;cursor:pointer;font-size:15px;font-weight:700}.chip:hover,.chip:focus-visible{background:#dcecf7}.notice.compact{padding:12px 14px}.notice.compact p{font-size:16px}.feedback-note{display:flex;align-items:center;gap:8px;margin:0;color:#314039;font-size:17px!important;line-height:1.45}.feedback-note.success{color:#1f6b4d;font-weight:750}.review-panel{border-color:#e6d9b2}.review-reason{margin:0;color:#314039;font-size:19px;line-height:1.5}.complete-panel{display:grid;grid-template-columns:74px minmax(0,1fr);gap:20px;align-items:start}.complete-panel.mastered{background:#fff6d8;border-color:#f2c95a}.complete-icon{display:inline-flex;align-items:center;justify-content:center;width:74px;height:74px;border-radius:50%;color:#1f6b4d;background:#fff}.complete-panel.mastered .complete-icon{color:#b8760a}.complete-copy{display:grid;gap:10px}.complete-copy h2{margin:0}.next-hint{color:#5a6962}.stage-step.skipped{opacity:.45}.primary-button.big{min-height:54px;padding:0 24px;font-size:18px}.hero-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px}.hero-card{display:grid;gap:10px;align-content:start;padding:22px 24px;border:2px solid #1f6b4d;border-radius:8px;background:linear-gradient(135deg,#e9f6ee 0,#fff 70%)}.hero-card.review{border:1px solid #d8c27d;background:#fff9ea}.hero-card h2,.hero-card h3{margin:0;color:#10251b}.hero-card h3{font-size:20px}.hero-prompt{margin:0;color:#314039;font-size:17px;line-height:1.45}.hero-meta{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;color:#5a6962;font-size:14px}.exam-banner.cooldown{border-color:#c9d9e5;background:#eef7fd}.exam-banner.cooldown strong{color:#153d5f}.exam-banner.quiet{border-color:#d7ded8;background:#fff}.exam-banner.quiet strong{color:#173528}.link-button{padding:0;border:0;color:#1d5b84;background:transparent;cursor:pointer;font:inherit;font-weight:750;text-decoration:underline}.island-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px}.island-card{border:1px solid #d7ded8;border-radius:8px;background:#fbfcfd}.island-card.is-next{border-color:#1f6b4d;box-shadow:0 0 0 3px #1f6b4d1f}.island-card.done{border-color:#d8c27d;background:#fff9ea}.island-card.open{grid-column:1 / -1}.island-head{display:grid;grid-template-columns:52px minmax(0,1fr) 24px;gap:8px 14px;align-items:center;width:100%;padding:16px;border:0;border-radius:8px;background:transparent;cursor:pointer;text-align:left}.island-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:12px;color:#fff;background:#2c694d}.island-card.done .island-icon{background:#b8760a}.island-copy{display:grid;gap:4px;min-width:0}.island-copy strong{color:#173528;font-size:18px}.island-copy small,.island-progress small{color:#5a6962;font-size:13px;line-height:1.35}.island-progress{display:grid;grid-column:2 / 3;gap:6px}.island-head .chevron{grid-column:3;grid-row:1}.island-progress small{display:inline-flex;align-items:center;gap:4px;font-weight:750}.island-bar{position:relative;height:8px;overflow:hidden;border-radius:999px;background:#e6ece8}.island-bar span{position:absolute;inset:0 auto 0 0;border-radius:inherit}.island-bar .partial{background:#cfe4d0}.island-bar .full{background:linear-gradient(90deg,#2c694d,#d58b18)}.island-body{display:grid;gap:12px;padding:0 16px 16px}.topic-row{display:grid;gap:8px;padding:12px;border:1px solid #e1e7e2;border-radius:8px;background:#fff}.topic-title{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}.topic-title strong{color:#173528}.topic-title small{color:#5a6962}.topic-lessons{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px}.lesson-chip{display:grid;gap:6px;padding:10px 12px;border:1px solid #d7ded8;border-radius:8px;background:#fbfcfd;cursor:pointer;text-align:left}.lesson-chip:hover,.lesson-chip:focus-visible{border-color:#1d5b84}.lesson-chip.completed{background:#f4fbf4;border-color:#cfe4d0}.lesson-chip.mastered{background:#fff9ea;border-color:#d8c27d}.lesson-chip-head{display:flex;align-items:center;gap:6px;color:#173528;font-weight:800}.lesson-chip-head em{margin-left:auto;color:#5a6962;font-size:12px;font-style:normal;font-weight:750}.lesson-chip.mastered .lesson-chip-head em{color:#935d0f}.lesson-chip-prompt{color:#314039;font-size:14px;line-height:1.35}.battle-card.recommended{border-color:#1f6b4d;box-shadow:0 0 0 3px #1f6b4d1f}.battle-card.locked{opacity:.72;background:#f6f7f8}.battle-card.locked .secondary-button{cursor:not-allowed}.battle-topics{margin-bottom:0;color:#6b7a73;font-size:13px;line-height:1.35}.battle-stars-badge{display:inline-flex;align-items:center;gap:4px;color:#b7791f;font-weight:700}.danger-zone{background:#fdfaf7}.review-topics{font-size:16px!important;font-weight:600!important}@media (max-width: 980px){.hero-row{grid-template-columns:1fr}.island-head{grid-template-columns:44px minmax(0,1fr) 24px}.star-scale-list li{grid-template-columns:90px minmax(0,1fr)}.star-scale-list em{grid-column:2}.complete-panel{grid-template-columns:1fr}}@media (max-width: 640px){.idea-card p,.step-item p{font-size:18px}.cards-panel{padding:16px}.topbar .view-tabs{width:100%;flex-direction:row;flex-wrap:wrap}}.chip.active{color:#fff;background:#1d5b84;border-color:#1d5b84}.achievement-filters{margin-top:-4px}.achievement-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.achievement-card{display:grid;justify-items:center;gap:6px;padding:14px 10px 12px;border:1px solid #d7ded8;border-radius:8px;color:#173528;background:#fbfcfd;text-align:center;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}.achievement-card:hover,.achievement-card:focus-visible{transform:translateY(-2px);box-shadow:0 10px 22px #1735281f}.achievement-card.unlocked{border-color:#d8c27d;background:#fffdf5}.achievement-card.is-new{box-shadow:0 0 0 2px #d58b18}.achievement-card strong{font-size:14px;line-height:1.2}.achievement-card small{color:#5a6962;font-size:12px}.achievement-bar{width:100%;height:5px;overflow:hidden;border-radius:999px;background:#e1e7e2}.achievement-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2c694d,#d58b18)}.achievement-card.locked .achievement-bar span{background:#9aa5ad}.medal{position:relative;display:inline-grid;place-items:center;flex-shrink:0;border-radius:50%;padding:5px;background:#e1e7e2}.medal.tier-1{background:linear-gradient(135deg,#d8a06b,#8c5a2b 60%,#c98a4e)}.medal.tier-2{background:linear-gradient(135deg,#e6ebee,#8d99a3 60%,#d4dbe0)}.medal.tier-3{background:linear-gradient(135deg,#ffe08a,#d58b18 60%,#f7c452)}.medal img,.medal-fallback{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;background:#fff9ea}.medal-fallback{display:grid;place-items:center;color:#2c694d}.medal.locked img,.medal.locked .medal-fallback{filter:grayscale(1);opacity:.45}.medal-lock{position:absolute;right:4px;bottom:4px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;color:#fff;background:#5a6962;box-shadow:0 2px 6px #0003}.medal-new{position:absolute;top:-6px;right:-8px;padding:2px 7px;border-radius:999px;color:#fff;background:#d58b18;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.02em}.rank-medals{display:inline-flex;align-items:center;gap:5px;color:#6c4a16;font-size:12px;font-weight:800;text-decoration:none}.rank-medals:hover{text-decoration:underline}.rank-medals em{padding:0 6px;border-radius:999px;color:#fff;background:#d58b18;font-style:normal}.achievement-modal .eyebrow{display:inline-flex;align-items:center;gap:6px;margin-bottom:6px}.achievement-modal h2{margin-bottom:6px}.achievement-modal p{font-size:16px;font-weight:600}.achievement-next{margin-top:8px;color:#6c6250;font-size:14px!important}.achievement-modal{max-height:calc(100vh - 40px);overflow-y:auto}.achievement-modal.celebrate{border-color:#d58b18;animation:medal-pop .35s ease-out}.achievement-modal.celebrate .medal{animation:medal-spin .6s ease-out}.achievement-sparkle{position:absolute;top:14px;left:16px;color:#d58b18}@keyframes medal-pop{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}@keyframes medal-spin{0%{transform:rotateY(90deg)}to{transform:rotateY(0)}}@media (max-width: 640px){.achievement-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}.brand{display:grid;gap:2px}.brand strong{font-size:24px;letter-spacing:-.02em;line-height:1}.brand span{display:inline-flex;align-items:center;gap:5px;color:#1f6b4d;font-size:14px;font-weight:800}.account{display:inline-flex;align-items:center;gap:8px;margin-left:8px;padding-left:12px;border-left:1px solid #d7ded8}.account-email{max-width:220px;overflow:hidden;color:#5a6962;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.account-exit{min-height:40px;padding:0 12px}.hero-side{display:grid;gap:14px;min-width:0}.hero-side .rank-summary{width:100%;min-width:0}.auth-page{min-height:100vh;background:linear-gradient(180deg,#eef5f2 0,#f7f8f4 420px),#f7f8f4}.auth-shell{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,440px);gap:48px;align-items:center;width:min(1080px,100%);min-height:100vh;margin:0 auto;padding:48px 28px}.auth-hero{display:grid;gap:14px;justify-items:start}.auth-brain{color:#1f6b4d}.auth-slogan{max-width:none;margin:0;font-size:54px;line-height:1.05}.auth-slogan span{display:block;color:#1f6b4d}.auth-hero p{margin:0;color:#5a6962;font-size:19px;line-height:1.4}.auth-card{display:grid;gap:16px;padding:28px;border:1px solid #d7ded8;border-radius:8px;background:#fff;box-shadow:0 18px 40px #17352814}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:8px;background:#e3ebe6}.auth-tabs button{min-height:40px;border-radius:6px;color:#314039;background:transparent;cursor:pointer;font-weight:800}.auth-tabs button.active{color:#10251b;background:#fff;box-shadow:0 2px 6px #1735281f}.auth-field{display:grid;gap:6px}.auth-field>span:first-child{color:#314039;font-size:14px;font-weight:800}.auth-password{position:relative;display:block}.auth-password input{padding-right:48px}.auth-eye{position:absolute;top:50%;right:6px;display:grid;place-items:center;width:36px;height:36px;border-radius:6px;color:#5a6962;background:transparent;cursor:pointer;transform:translateY(-50%)}.auth-eye:hover,.auth-eye[aria-pressed=true]{color:#1f6b4d;background:#e9f6ee}.auth-error{margin:0;padding:10px 12px;border:1px solid #f0c2c2;border-radius:8px;color:#7c2d2d;background:#fdf0f0;font-size:15px}.auth-submit{justify-self:stretch}.auth-hint{margin:0;color:#5a6962;font-size:14px;line-height:1.45}@media (max-width: 860px){.auth-shell{grid-template-columns:1fr;gap:28px;align-content:start;padding:32px 16px}.auth-slogan{font-size:40px}.auth-brain{width:72px;height:72px}}@media (max-width: 640px){.account{width:100%;margin-left:0;padding-left:0;border-left:0;justify-content:space-between}}
