@font-face{font-family:Atlas;src:local("Segoe UI")}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f6f2;color:#20352d;font-family:Atlas,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:36px;line-height:1.2;letter-spacing:-1.2px;font-weight:650;margin-bottom:12px}h2{font-size:23px;line-height:1.3;letter-spacing:-.5px;font-weight:650}h3{font-size:17px;line-height:1.4;font-weight:600}small,.muted{color:#7a847e}small{font-size:14px}strong,b{font-weight:600}button:focus-visible,a:focus-visible{outline:3px solid #d0aa58;outline-offset:4px}input,textarea,select{width:100%;border:1px solid #d9e0d8;border-radius:10px;background:#fff;color:#25392e;padding:12px 14px;outline:none}input:focus,textarea:focus,select:focus{border-color:#56866f;box-shadow:0 0 0 3px #e4ede6}input[readonly],textarea[readonly]{background:#f3f5f1;color:#657166}textarea{resize:vertical}label{display:block;font-size:14px;font-weight:600;margin-bottom:19px}label input,label textarea,label select{margin-top:7px}label input::placeholder,label textarea::placeholder{color:#9ba29d;font-weight:400}select{cursor:pointer}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 20px;border-radius:9px;min-height:46px;font-weight:600;font-size:14px;border:1px solid transparent;transition:background .18s,transform .18s}.button:hover:not(:disabled){transform:translateY(-1px)}.button svg{width:18px;height:18px}.primary{color:#fff;background:#244f3f;border-color:#244f3f}.primary:hover{background:#193e2f}.outline{background:transparent;color:#284d3d;border-color:#cdd8cf}.outline:hover{background:#ecf0e9}.ghost{background:transparent;color:#657166;padding:8px 10px}.light{background:#e6edbd;color:#244431}.wide{width:100%}.eyebrow{font-size:14px;font-weight:700;letter-spacing:2px;color:#7a8d7e;display:block;margin-bottom:14px}.eyebrow.light{color:#bdcdb2;background:none}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;padding:36px 23px 20px;background:#fbfcf8;border-right:1px solid #e2e6dd;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;font-size:36px;font-weight:650;letter-spacing:-2px;line-height:1}.brand-icon{display:flex;align-items:center;justify-content:center}.brand-icon svg{width:39px;height:39px;stroke-width:1.3}.brand small{display:block;font-size:14px;font-weight:600;letter-spacing:1.5px;margin-top:10px;color:#899487}.subject-tag{display:flex;align-items:center;gap:7px;border:1px solid #dfe5d9;border-radius:7px;padding:10px 9px;margin:34px 0 32px;font-size:14px}.subject-tag b{margin-left:auto;font-size:14px;background:#eef1e8;padding:1px 6px;border-radius:4px;color:#6d7f66}.status-dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:#719861;flex-shrink:0}.nav-label{font-size:14px;color:#9aA296;letter-spacing:1.4px;font-weight:600;margin:0 12px 12px}.nav-link{display:flex;align-items:center;gap:12px;padding:13px 10px;margin-bottom:5px;border-radius:8px;font-size:14px;color:#6f7c70;line-height:1.45;min-height:44px}.nav-link svg{width:19px;height:19px;stroke-width:1.6}.nav-link:hover{background:#f1f3ed}.nav-link.active{background:#e9eedf;color:#30553e;font-weight:600}.nav-link b{margin-left:auto;font-size:14px}.sidebar-bottom{margin-top:auto}.profile{border-top:1px solid #e4e8df;padding-top:20px;margin-top:17px;display:flex;gap:10px;align-items:center}.avatar{background:#e7ebdf;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;font-family:Georgia,serif;font-size:19px;color:#5a7051}.profile strong{font-size:14px;display:block;max-width:138px;overflow:hidden;text-overflow:ellipsis}.profile small{display:block;font-size:14px}.logout{margin-left:auto;background:none;border:0;font-size:20px;color:#899586}.workspace{margin-left:252px}.topbar{height:74px;border-bottom:1px solid #e5e8df;padding:0 42px;display:flex;align-items:center;justify-content:space-between;font-size:14px;color:#7d887c}.topbar strong{color:#425b47;font-weight:500}.crumb{margin:0 13px;color:#bbc2b6}.pilot-tag{border:1px solid #d9e0d1;padding:4px 10px;border-radius:20px;font-size:14px;letter-spacing:.2px;color:#78866f}main{max-width:1400px;margin:auto;padding:37px 42px 48px;min-height:calc(100vh - 140px)}footer{padding:18px 42px 24px;display:flex;justify-content:space-between;gap:20px;font-size:14px;color:#9aa292;border-top:1px solid #e5e8df}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:28px}.page-heading .eyebrow{margin-bottom:11px}.page-heading p{font-size:14px;color:#849080;margin:0}.dashboard-hero{display:grid;grid-template-columns:1.65fr 1fr;gap:22px}.hero-card{background:#214c3d;border-radius:14px;min-height:313px;position:relative;overflow:hidden;padding:29px 30px;color:#f7f9ed;display:flex;align-items:center}.hero-card:after{content:"";position:absolute;border:1px solid #57745c;opacity:.15;border-radius:50%;width:470px;height:470px;right:-190px;top:-80px}.hero-copy{z-index:1;position:relative;width:68%}.hero-label{font-size:14px;letter-spacing:1.5px;display:flex;align-items:center;gap:8px;color:#c1d0b6;margin-bottom:22px}.hero-label .status-dot{background:#c9d5a4}.hero-copy h2{font-size:34px;font-weight:500;letter-spacing:-.6px;line-height:1.13;margin-bottom:15px}.hero-copy p{font-size:14px;line-height:1.8;max-width:250px;color:#c0d0bf;margin-bottom:23px}.hero-copy small{display:block;font-size:14px;color:#a7bda5;margin-top:12px}.hero-globe{position:absolute;width:245px;height:260px;right:-28px;top:41px;transform:rotate(-17deg);color:#a4ba91;opacity:.65;pointer-events:none}.hero-globe svg{width:100%;height:100%;stroke:currentColor;stroke-width:.7;fill:none}.hero-globe .route-line{stroke:#e9e8ab;stroke-width:2;stroke-dasharray:4 3}.hero-globe .route-point{stroke:#e9e8ab;fill:#e9e8ab}.hero-globe span{font-size:14px;letter-spacing:1.5px;display:block;text-align:center;margin-top:-20px}.exam-card{border:1px solid #e1e5d8;border-radius:14px;background:#eef1e5;padding:24px;display:flex;flex-direction:column}.section-icon{background:#e1e7d5;display:grid;place-items:center;width:39px;height:39px;border-radius:10px;color:#637653;margin-bottom:17px}.exam-card .eyebrow{font-size:14px;letter-spacing:1.5px;margin-bottom:9px}.exam-card h2{font-size:23px;margin-bottom:7px}.exam-card p{font-size:14px;line-height:1.8;color:#7d8c72;max-width:260px;margin-bottom:15px}.exam-facts{display:flex;margin:0 0 22px;gap:30px}.exam-facts span{display:flex;flex-direction:column;font-size:14px;color:#839077}.exam-facts b{font-size:23px;color:#425b36;line-height:1.4;font-weight:500}.exam-card .button{margin-top:auto}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0 34px}.stat-card{background:#fff;border:1px solid #e3e7df;border-radius:11px;padding:18px 21px}.stat-card>span{font-size:14px;color:#899180;display:flex;align-items:center;justify-content:space-between}.stat-card>span svg{width:16px;height:16px}.stat-card>strong{font-size:32px;font-weight:500;display:block;line-height:1.4;margin-top:7px;letter-spacing:-.6px}.stat-card strong small{font-size:14px;margin-left:12px;letter-spacing:0;font-weight:400}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 16px}.section-heading h2,.section-heading h3{margin:0;font-size:19px}.section-heading>a{font-size:14px;color:#78876d;display:flex;align-items:center;gap:10px}.section-heading>a svg{width:15px;height:15px}.section-heading>span{font-size:14px;color:#87947c}.topic-featured{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature-card{background:#fff;border:1px solid #e0e5da;border-radius:10px;padding:18px;text-align:left;display:flex;flex-direction:column;color:#354d3a;min-height:160px;transition:border-color .2s}.feature-card:hover,.topic-card:hover{border-color:#99b08b}.feature-number{font-size:14px;color:#98a781;display:flex;justify-content:space-between;font-family:Georgia,serif}.feature-number span{font:14px Atlas,"Segoe UI",sans-serif;letter-spacing:1.2px;color:#99a38b}.feature-card h3{font-size:16px;margin-top:18px;margin-bottom:18px;max-width:200px}.feature-card>div{display:flex;justify-content:space-between;align-items:center;margin-top:auto;font-size:14px;color:#929c87}.feature-card svg{width:17px;height:17px}.history-list{background:#fff;border:1px solid #e3e7df;border-radius:10px;overflow:hidden}.history-row{display:flex;align-items:center;gap:16px;padding:18px 21px;border-bottom:1px solid #edf0e8}.history-row:last-child{border:0}.history-row:hover{background:#fbfcf8}.history-icon{width:35px;height:35px;display:grid;place-items:center;background:#f0f3e9;border-radius:8px;color:#7b8f6c}.history-icon svg{width:17px;height:17px}.history-row>div{min-width:0}.history-row strong{font-size:14px;display:block}.history-row small{display:block;font-size:14px;margin-top:3px}.history-score{margin-left:auto;white-space:nowrap;font-size:14px}.history-score.ongoing{font-size:14px;color:#6b8754}.soft-note{border-radius:10px;background:#edf1e7;padding:19px 22px;font-size:14px;color:#75866b;margin-bottom:20px}.filterbar{display:flex;align-items:center;gap:18px;margin:25px 0}.search-field{display:flex;align-items:center;gap:10px;position:relative;flex:1;margin:0;background:white;border:1px solid #dde4d7;border-radius:10px;padding-left:15px}.search-field>span{font-size:24px;color:#9ba88f}.search-field input{border:0;margin:0;background:transparent;box-shadow:none;min-width:0}.select-label{margin:0;min-width:230px}.select-label select{margin:0}.topics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.topic-card{border:1px solid #dde4d7;border-radius:11px;background:#fff;padding:20px;text-align:left;color:#314a35;display:flex;flex-direction:column;min-height:190px}.topic-top{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#8b987f}.type-badge{display:inline-grid;place-items:center;min-width:35px;height:35px;padding:0 7px;border-radius:9px;color:#6a8155;background:#edf2e4;font-size:14px;flex-shrink:0}.topic-card h3{margin-top:18px;margin-bottom:18px}.topic-footer{margin-top:auto;display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#88967a}.topic-footer svg{width:17px;height:17px}.variant-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.variant-card{padding:22px;border:1px solid #dde4d7;border-radius:11px;background:#fff;display:flex;flex-direction:column}.variant-meta{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:#929d85;margin-bottom:18px}.variant-card h3{font-size:16px;margin-bottom:12px;overflow-wrap:anywhere}.variant-card p{font-size:14px;color:#819070}.variant-card .button{margin-top:auto}.empty-state{text-align:center;padding:55px 20px;color:#88967e;grid-column:1/-1}.empty-state h2{color:#405a3b;margin:20px 0 12px}.empty-icon svg{width:50px;height:50px;stroke-width:.9}.empty-state p{font-size:14px}.mistake-intro{background:#fff;border:1px solid #e1e7d9;border-radius:15px;padding:45px;max-width:760px}.mistake-intro p{color:#849079;max-width:570px}.mistake-intro small{display:block;margin-top:20px}.progress-topics{padding:5px 23px;background:#fff;border:1px solid #dfe6d8;border-radius:12px}.progress-topic{display:flex;gap:17px;align-items:center;padding:21px 0;border-bottom:1px solid #edf0e8}.progress-topic:last-child{border:0}.progress-topic>div{flex:1}.progress-topic strong{font-size:14px}.progress-topic small{display:block;font-size:14px;margin:3px 0 8px}.progress-topic>b{font-size:14px;color:#6c855a}.progress-topic progress{width:100%;height:5px;border:0;border-radius:5px;background:#e9eee1;display:block}.progress-topic progress::-webkit-progress-bar{background:#e9eee1;border-radius:5px}.progress-topic progress::-webkit-progress-value{background:#8aa26c;border-radius:5px}.panel{padding:28px;border:1px solid #dfe5d8;border-radius:12px;background:#fff;margin-top:22px}.panel.narrow{max-width:560px}.panel h2{font-size:21px}.panel .section-heading{margin-top:0}.panel p{font-size:14px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}th{font-size:14px;color:#839075;background:#f3f5ed;padding:12px 10px;font-weight:600}td{padding:12px 10px;border-bottom:1px solid #e9eee0}code{overflow-wrap:anywhere;font-size:14px}.tabbar{display:flex;gap:25px;border-bottom:1px solid #dfe5d7;margin-top:30px}.tabbar a{font-size:14px;color:#8b977d;padding:12px 0;border-bottom:2px solid transparent}.tabbar a.selected{border-color:#55774b;color:#345d3b}.pagination{display:flex;justify-content:space-between;margin-top:20px}.form-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}.code-input{font-family:Consolas,monospace;font-size:14px;line-height:1.5}.badge{background:#edf1e7;padding:5px 10px;border-radius:20px;font-size:14px;color:#81916e;white-space:nowrap}.attempt-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.back-link{font-size:14px;color:#839375;display:inline-block;margin-bottom:4px}.attempt-status{display:flex;align-items:center;gap:20px}.attempt-status>span:last-child{font-size:14px;color:#88987b}.timer{display:flex;align-items:center;gap:8px;color:#3b623b;background:#e9efdf;padding:7px 13px;border-radius:8px}.timer svg{width:17px;height:17px}.timer b{font-variant-numeric:tabular-nums}.attempt-title h1{font-size:27px;max-width:850px;margin-bottom:27px}.question-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;align-items:start}.question-sidebar{position:sticky;top:20px}.question-sidebar .section-heading{margin:0 0 16px}.question-sidebar h3{font-size:15px}.question-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.question-number{border:1px solid #dce4d2;border-radius:7px;background:#fff;aspect-ratio:1;font-size:14px;color:#899778;min-height:34px}.question-number.answered{background:#e8ecdf;color:#60764c}.question-number.correct{background:#dcebd4;color:#47763f;border-color:#c4dcb8}.question-number.incorrect{background:#f2e8d9;color:#a57b44;border-color:#e9d9bc}.question-number.current{border-color:#284b37;box-shadow:0 0 0 1px #284b37;color:#244a32;font-weight:700}.question-legend{font-size:14px;color:#8d9980;margin:20px 0 25px}.question-legend span{display:flex;align-items:center;gap:7px;margin-bottom:6px}.legend-dot{width:7px;height:7px;border-radius:3px;display:inline-block}.legend-dot.answered{background:#d5decb}.legend-dot.correct{background:#95b87e}.legend-dot.incorrect{background:#d1ae7a}.question-card{background:#fff;border:1px solid #dfe5d8;border-radius:13px;padding:28px 32px;min-width:0}.question-meta{display:flex;justify-content:space-between;gap:15px;font-size:14px;color:#8e9c7f;border-bottom:1px solid #e7eddf;padding-bottom:18px;margin-bottom:25px}.question-meta>span:first-child{letter-spacing:1.5px;font-weight:600;color:#5b7650}.context-block{background:#f7f8f3;border:1px solid #e6eadd;border-radius:9px;padding:18px;margin-bottom:24px}.context-label{font-size:14px;letter-spacing:1.5px;color:#91a07f;display:block;margin-bottom:15px}.rich-content{font-size:16px;line-height:1.85;overflow-wrap:anywhere;color:#344438;overflow-x:auto}.rich-content p{margin:10px 0}.rich-content>p:first-child{margin-top:0}.rich-content img{display:block;max-width:100%;height:auto;margin:15px auto;cursor:zoom-in;background:white}.rich-content table{font-size:14px;margin:18px 0;min-width:350px;width:100%}.rich-content td,.rich-content th{border:1px solid #cfd7c7;padding:8px}.rich-content .align-center{text-align:center}.rich-content .align-left{text-align:left}.rich-content .align-right{text-align:right}.rich-content .answer-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.rich-content .answer-images>p:empty{display:none}.answer-area{border-top:1px solid #e7eddf;padding-top:24px;margin-top:27px}.answer-area>label{font-size:14px;margin-bottom:9px}.answer-area input{max-width:340px}.answer-hint{font-size:14px;color:#8d9981;margin:10px 0 18px}.feedback{border-radius:10px;background:#f5f6f0;padding:23px;margin-top:24px}.feedback.good{background:#f0f6eb;border:1px solid #dcebd1}.feedback.needs-work{background:#fbf7ee;border:1px solid #eee1cb}.feedback h3{display:flex;justify-content:space-between;margin-bottom:15px}.feedback h3>span{font-size:14px}.feedback>p{font-size:14px}.feedback .rich-content{font-size:14px}.criteria{border-top:1px solid #dce4d2;margin-top:20px;padding-top:15px}.self-check{margin-top:24px;padding-top:20px;border-top:1px solid #dce4d2;font-size:14px}.self-check>div{display:flex;gap:8px;margin:14px 0}.self-check small{font-size:14px}.question-bottom{border-top:1px solid #e9eee2;margin-top:30px;padding-top:20px;display:flex;justify-content:space-between;align-items:center;gap:12px}.source-link{font-size:14px;color:#98a48b}.result-banner{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:24px 30px;border:1px solid #d5e2c8;background:#eaf1e1;border-radius:12px;margin-bottom:28px}.result-banner>div>span{font-size:14px;color:#81946c;display:block}.result-banner strong{display:block;font-size:38px;color:#4a6a39}.result-banner strong small{font-size:15px;color:#849775}.result-banner p{margin:0;font-size:14px;color:#778d61;line-height:1.9}.save-error{color:#ad634c!important}.loading{display:grid;place-items:center;min-height:100vh;color:#81946c}.login-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:#214b3c;color:#f5f8ec;padding:48px 60px;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story .brand{font-size:39px}.story-copy{position:relative;z-index:2;margin-top:auto;padding:80px 0 200px}.story-copy h1{font-size:50px;font-weight:500;letter-spacing:-1.5px;line-height:1.12;margin-top:23px;margin-bottom:25px}.story-copy p{color:#bfcdba;max-width:390px;font-size:14px;line-height:1.9}.story-points{display:flex;flex-direction:column;gap:9px;font-size:14px;color:#b9caae;margin-top:30px}.story-points span:before{content:'—';margin-right:12px;color:#d7e0af}.login-story>small{margin-top:auto;font-size:14px;color:#99b193;z-index:2}.topo-art{position:absolute;width:600px;height:500px;bottom:-85px;right:-150px;transform:rotate(-24deg);opacity:.5;pointer-events:none}.orbit{position:absolute;border:1px solid #7c9866;border-radius:45% 55% 33% 67%/46% 30% 70% 54%;inset:0}.o2{inset:30px}.o3{inset:60px}.o4{inset:90px}.o5{inset:120px}.coordinate{position:absolute;top:70%;left:20%;font:14px Georgia,serif;color:#d4dfb5;letter-spacing:2px}.map-pin{position:absolute;top:48%;left:50%;font-size:45px;color:#d9e2b7}.login-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fafbf7;padding:60px;position:relative}.login-form{width:100%;max-width:350px}.login-form h2{font-size:28px;margin-bottom:15px}.login-form>p{font-size:14px;line-height:1.9;margin-bottom:32px}.login-form form{margin-top:25px}.login-form label{font-size:14px;color:#627854}.login-form input{font-size:14px;padding:13px 15px}.login-panel>small{position:absolute;bottom:35px;font-size:14px;color:#9ca990}.login-note{display:flex;align-items:flex-start;gap:9px;font-size:14px;color:#98a58b;line-height:1.8;border-top:1px solid #e2e8d9;margin-top:28px;padding-top:23px}.login-note svg{width:16px;height:16px;margin-top:2px}.form-error{color:#b06850;font-size:14px;min-height:0}.form-error:empty{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#244d3b;color:#fff;padding:13px 22px;border-radius:10px;z-index:1000;box-shadow:0 8px 40px #183d3020;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;font-size:14px;max-width:min(90vw,600px)}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#82533e}dialog{border:0;border-radius:14px;padding:35px;max-width:94vw;max-height:94vh;background:#fff;box-shadow:0 10px 80px #0003}dialog::backdrop{background:#172d24b3;backdrop-filter:blur(3px)}dialog img{display:block;max-width:100%;height:auto;max-height:78vh;object-fit:contain}dialog p{font-size:14px;color:#889b77;text-align:center;margin:15px 0 0}.icon-button{position:absolute;top:2px;right:10px;background:none;border:0;font-size:30px;color:#7b8e69}.missing-image{color:#b07651;background:#faf0e0;padding:10px;border-radius:5px}
@media(min-width:1550px){main{padding-top:48px}.hero-card{min-height:340px}.hero-globe{right:0;width:290px}.hero-copy h2{font-size:39px}.hero-copy p{max-width:300px;font-size:14px}.hero-label{font-size:14px}.exam-card{padding:28px}}
@media(max-width:1200px){.sidebar{width:220px;padding:28px 15px 18px}.workspace{margin-left:220px}main{padding:30px 28px 40px}.topbar{padding:0 28px}.hero-card{padding:25px}.hero-copy{width:80%}.hero-globe{right:-90px;opacity:.4}.hero-copy h2{font-size:30px}.exam-card{padding:22px}.exam-facts{gap:25px}.stats-grid{gap:14px}.stat-card{padding:17px}.stat-card strong small{display:block;margin:0;font-size:14px}.topics-grid,.variant-grid{grid-template-columns:repeat(2,1fr)}.question-layout{grid-template-columns:160px minmax(0,1fr);gap:19px}.question-grid{gap:5px;grid-template-columns:repeat(4,1fr)}.question-card{padding:22px}.login-story{padding:40px}.story-copy h1{font-size:43px}}
@media(max-width:950px){.sidebar{width:190px;padding:25px 12px}.workspace{margin-left:190px}.brand{font-size:30px}.brand-icon svg{width:32px}.brand small{font-size:14px}.nav-link{font-size:14px;padding:11px 8px;gap:8px}.subject-tag{font-size:14px}.dashboard-hero{grid-template-columns:1fr}.hero-globe{right:0;opacity:.65}.hero-copy{width:65%}.hero-card{min-height:300px}.exam-card{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.exam-card .section-icon{display:none}.exam-card .eyebrow,.exam-card h2,.exam-card p{grid-column:1}.exam-card .exam-facts{grid-column:2;grid-row:1/4;align-self:center;justify-content:space-between;margin:0}.exam-card .button{grid-column:1/-1}.topic-featured{gap:12px}.feature-card{padding:15px}.feature-card h3{font-size:14px}.question-layout{display:flex;flex-direction:column}.question-sidebar{position:static;width:100%;display:grid;grid-template-columns:1fr auto;gap:10px 20px}.question-sidebar .section-heading{grid-column:1/-1}.question-grid{display:flex;flex-wrap:wrap;gap:6px}.question-number{width:32px;height:32px;min-height:32px}.question-legend{display:none}.question-sidebar>.button{width:auto;align-self:start;font-size:14px;min-height:35px;padding:6px 10px}.question-card{width:100%}.story-copy{padding-bottom:170px}.login-story{padding:32px}.login-panel{padding:35px}.story-copy h1{font-size:37px}h1{font-size:30px}.page-heading{align-items:flex-start}.page-heading>.button{font-size:14px;max-width:180px}footer{padding:18px 28px;flex-direction:column;gap:4px}.attempt-status{gap:10px}.attempt-status>span:last-child{max-width:120px;text-align:right}}
@media(max-width:700px){.sidebar{position:relative;width:100%;padding:17px 18px 0;border-right:0;border-bottom:1px solid #dde5d3}.brand{font-size:28px}.brand-icon svg{width:30px;height:30px}.brand small{display:none}.subject-tag{position:absolute;right:18px;top:15px;margin:0;padding:6px 9px;font-size:14px}.nav-label{display:none}.sidebar nav{display:flex;margin-top:17px;overflow-x:auto;gap:5px;padding-bottom:3px;scrollbar-width:none}.nav-link{white-space:nowrap;margin:0;padding:9px 11px;font-size:14px;min-height:38px;gap:6px}.nav-link svg{width:15px;height:15px}.sidebar-bottom{position:relative;display:flex;align-items:center;justify-content:flex-end;margin:8px 0}.sidebar-bottom .nav-link{font-size:14px;min-height:26px;padding:4px 8px}.sidebar-bottom .nav-link svg{width:12px;height:12px}.profile{border:0;padding:0;margin:0 0 0 10px;gap:7px}.profile .avatar{display:none}.profile strong{font-size:14px;max-width:100px}.profile small{display:none}.profile .logout{font-size:16px}.workspace{margin-left:0}.topbar{display:none}main{padding:26px 18px 35px}h1{font-size:27px;letter-spacing:-.7px}.page-heading p{font-size:14px}.page-heading{margin-bottom:22px;flex-direction:column;gap:15px}.page-heading>.button{max-width:none}.eyebrow{font-size:14px;letter-spacing:1.5px}.hero-card{padding:25px;min-height:305px}.hero-copy{width:80%}.hero-copy h2{font-size:33px}.hero-copy p{max-width:240px}.hero-globe{right:-85px;width:250px;opacity:.4}.hero-label{font-size:14px}.exam-card{padding:21px}.exam-card h2{font-size:21px}.exam-card p{font-size:14px}.exam-facts{gap:15px}.exam-facts b{font-size:23px}.exam-facts span{font-size:14px}.stats-grid{gap:9px;margin:18px 0 25px}.stat-card{padding:13px 10px}.stat-card>span{font-size:14px;min-height:28px;line-height:1.4}.stat-card>span svg{display:none}.stat-card>strong{font-size:26px;margin-top:4px}.stat-card strong small{font-size:14px}.section-heading h2{font-size:18px}.section-heading a{font-size:14px}.topic-featured{grid-template-columns:1fr;gap:10px}.feature-card{min-height:115px;padding:17px;display:grid;grid-template-columns:1fr auto;gap:0 20px}.feature-number{grid-column:1/-1}.feature-card h3{font-size:16px;max-width:none;margin:10px 0}.feature-card>div{margin-top:0;gap:15px}.history-row{padding:15px 13px;gap:11px}.history-row strong{font-size:14px}.history-row small{font-size:14px}.history-score{font-size:14px}.history-icon{width:30px;height:30px}.filterbar{flex-wrap:wrap;gap:10px}.search-field{flex-basis:100%}.select-label{width:100%}.topics-grid,.variant-grid{grid-template-columns:1fr 1fr;gap:11px}.topic-card{padding:15px;min-height:180px}.topic-card h3{font-size:14px;margin:13px 0}.topic-top{font-size:14px}.type-badge{height:30px;min-width:30px;font-size:14px}.topic-footer{font-size:14px;gap:10px}.variant-card{padding:16px}.variant-card h3{font-size:14px}.variant-meta{font-size:14px;flex-wrap:wrap}.variant-card p{font-size:14px}.variant-card .button{font-size:14px;padding:8px;gap:8px}.variant-card .button svg{display:none}.mistake-intro{padding:27px}.mistake-intro h2{font-size:22px}.mistake-intro p{font-size:14px}.panel{padding:20px}.tabbar{gap:18px}.tabbar a{font-size:14px}.form-row{grid-template-columns:1fr;gap:0}.panel .section-heading{flex-direction:column;align-items:flex-start}.panel .section-heading .button{font-size:14px}.progress-topics{padding:5px 15px}.progress-topic{gap:10px}.progress-topic strong{font-size:14px}.progress-topic small{font-size:14px}.attempt-header{align-items:flex-start;margin-bottom:20px}.attempt-title h1{font-size:23px;letter-spacing:-.5px}.attempt-status{flex-direction:column;gap:5px;align-items:flex-end}.attempt-status>span:last-child{font-size:14px;max-width:none}.question-sidebar{display:block}.question-sidebar>.button{margin-top:12px;width:100%}.question-grid{gap:7px}.question-number{width:calc((100% - 63px)/10);min-width:25px}.question-card{padding:20px 17px}.question-meta{font-size:14px;gap:10px;margin-bottom:20px;padding-bottom:14px}.context-block{padding:13px;margin-bottom:20px}.rich-content{font-size:15px;line-height:1.8}.rich-content table{font-size:14px}.rich-content td,.rich-content th{padding:6px}.answer-area input{max-width:none}.question-bottom{gap:5px;flex-wrap:wrap}.question-bottom .button{font-size:14px;padding:9px 12px}.source-link{order:3;flex-basis:100%;text-align:center;margin-top:12px}.feedback{padding:17px}.feedback .rich-content{font-size:14px}.self-check .button{padding:10px 12px}.result-banner{padding:20px;display:block}.result-banner p{font-size:14px;margin-top:10px}.login-layout{display:block}.login-story{min-height:240px;padding:25px}.login-story .brand{font-size:30px}.story-copy{padding:25px 0 0}.story-copy .eyebrow{font-size:14px;margin-bottom:10px}.story-copy h1{font-size:33px;margin:0 0 15px}.story-copy p,.story-points,.login-story>small{display:none}.topo-art{width:340px;height:280px;right:-80px;bottom:-90px}.login-panel{min-height:calc(100vh - 255px);padding:35px 27px 70px}.login-form{max-width:380px}.login-form h2{font-size:25px}.login-form>.eyebrow{display:none}.login-form>p{font-size:14px;margin-bottom:20px}.login-panel>small{bottom:20px;font-size:14px}.login-note{margin-top:22px;font-size:14px}.login-form label{font-size:14px}dialog{padding:30px 12px 15px}footer{padding:16px 18px;font-size:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

#confirm-dialog{width:min(480px,calc(100vw - 32px));border:1px solid #d7ded4;border-radius:20px;padding:28px;color:#203a31}#confirm-dialog::backdrop{background:#153f3577;backdrop-filter:blur(4px)}#confirm-dialog p{line-height:1.7;margin:20px 0}#confirm-dialog form{display:flex;justify-content:flex-end;gap:12px}

/* Readable text on every breakpoint, including captions and form controls. */
sup,sub{font-size:14px}
input,select,textarea{font-size:16px}
.sidebar{overflow-y:auto}.sidebar>*{flex-shrink:0}
.brand>span:last-child{min-width:0}.brand small{letter-spacing:.3px;line-height:1.4}
.eyebrow,.hero-label,.context-label{letter-spacing:.8px}
.hero-label{line-height:1.5}.hero-copy{width:75%}.hero-copy p{font-size:16px;max-width:310px}
.hero-globe span{display:none}.exam-card p{font-size:16px}
.stat-card strong small{display:block;margin-left:0}.question-meta{flex-wrap:wrap}
.rich-content{font-size:18px}.feedback .rich-content{font-size:16px}
.choice-entry{margin:12px 0;min-width:0}
.answer-choice{display:flex;align-items:flex-start;gap:14px;width:100%;padding:16px;text-align:left;border:1px solid #cbd7c7;border-radius:10px;background:#fff;color:#263f30;font-size:17px;line-height:1.6;min-height:54px}
.answer-choice:hover:not(:disabled){border-color:#638568;background:#f4f7ef}
.answer-choice[aria-pressed="true"]{border-color:#28543c;background:#e7f0df;box-shadow:0 0 0 1px #28543c}
.answer-choice:disabled{cursor:default;opacity:1}
.choice-label{display:grid;place-items:center;flex:0 0 30px;min-height:30px;border:1px solid #cbd7c7;border-radius:7px;font-size:16px;font-weight:600;background:#fff}
.answer-choice[aria-pressed="true"] .choice-label{background:#28543c;color:#fff;border-color:#28543c}
.choice-content{display:block;flex:1;min-width:0;overflow-wrap:anywhere}
.choice-content p{margin:0}.choice-content p:empty{display:none}
.choice-content img{margin:0 auto;cursor:pointer}
.choice-order{font-size:14px;white-space:nowrap;color:#426c3b}.choice-order:empty{display:none}
.choice-zoom{display:block;margin:5px 0 0 auto;padding:9px 12px;background:none;border:0;color:#426747;text-decoration:underline;font-size:14px;min-height:44px}
.choice-instruction{font-size:14px;line-height:1.6;color:#617653}.choice-reset{padding-left:0;margin-top:5px}
.rich-content .answer-images{align-items:start}.answer-images>.choice-entry{margin:0}
@media(max-width:950px) and (min-width:701px){.sidebar{width:220px}.workspace{margin-left:220px}}
@media(max-width:700px){
  .subject-tag{position:static;display:inline-flex;align-self:flex-start;margin:14px 0 0}
  .sidebar-bottom{flex-wrap:wrap;gap:8px}.sidebar-bottom .nav-link{white-space:normal}
  .topics-grid,.variant-grid{grid-template-columns:1fr}
  .exam-card{display:flex;gap:0}.exam-card .exam-facts{margin:10px 0 20px;gap:25px;justify-content:flex-start}
  .hero-copy{width:100%}.hero-globe{opacity:.25}.hero-label{max-width:230px}
  .feature-card{display:flex}.feature-card>div{margin-top:auto}
  .section-heading{flex-wrap:wrap}.history-row{flex-wrap:wrap}.history-score{margin-left:auto}
  .tabbar{flex-wrap:wrap;gap:8px 18px}.question-grid{gap:7px}.question-number{width:38px;height:38px}
  .rich-content{font-size:18px}.rich-content .answer-images{grid-template-columns:1fr}
  .answer-choice{padding:13px;gap:10px;font-size:16px;flex-wrap:wrap}.choice-order{margin-left:auto}
}
/* Lessons stay readable on phones and keep each step compact. */
.lesson-catalog{margin-top:24px}.lesson-tile{text-decoration:none;color:inherit;display:flex;flex-direction:column}.lesson-tile p{font-size:16px;line-height:1.6;color:var(--muted,#64766e);flex:1}.lesson-reader{max-width:850px;margin:24px auto}.lesson-step{display:flex;justify-content:space-between;gap:16px;font-size:14px;color:#527064}.lesson-reader>progress{width:100%;height:7px;margin:16px 0 24px;accent-color:#285c48}.lesson-reader h2{font-size:26px;line-height:1.35}.lesson-text,.lesson-question{font-size:18px;line-height:1.85}.lesson-text p{margin:0 0 1.15em}.lesson-navigation{display:flex;justify-content:space-between;gap:12px;margin-top:30px;padding-top:20px;border-top:1px solid #dce4dd}.lesson-options{display:grid;gap:12px;margin:24px 0}.lesson-options .button{text-align:left;white-space:normal;justify-content:flex-start;font-size:17px;line-height:1.5}.lesson-options [aria-pressed="true"]{border-color:#285c48;background:#edf3e7}.lesson-practice{margin:24px 0}.lesson-sources{font-size:14px;line-height:1.7;margin:24px 0}.lesson-sources summary{cursor:pointer}.lesson-sources a{color:#285c48}.lesson-reader .feedback{font-size:17px;line-height:1.75}@media(max-width:600px){.lesson-reader{padding:20px}.lesson-reader h2{font-size:23px}.lesson-text,.lesson-question{font-size:17px;line-height:1.8}.lesson-navigation .button{padding:12px}.lesson-step{flex-wrap:wrap}}

.lesson-reader .lesson-text p,.lesson-reader .feedback p{font-size:inherit;line-height:inherit}
.lesson-contents{margin:0 0 24px;padding:14px 18px;background:#f0f4ed;border-radius:12px;font-size:16px;line-height:1.6}.lesson-contents summary{cursor:pointer;font-weight:600}.lesson-contents ol{padding-left:24px;margin:12px 0 0}.lesson-contents a{display:block;padding:6px 0;color:#285c48;text-underline-offset:3px}.lesson-contents a[aria-current="step"]{font-weight:700}

.subject-picker{display:block;margin:25px 0 22px;font-size:14px;color:#607653}.subject-picker>span{display:block;margin-bottom:7px}.subject-picker select{width:100%;min-height:46px;font-size:16px;padding:10px 12px;border:1px solid #cedbc5;border-radius:9px;background:#f5f8ef;color:#244733}.overall-review{margin:20px 0 28px}.overall-review h2{font-size:23px}.overall-score-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.overall-review .rich-content{font-size:16px}@media(max-width:700px){.subject-picker{margin:18px 0 0;max-width:100%;width:100%}.subject-picker>span{display:none}.subject-picker select{min-height:46px}}

.rich-content audio{display:block;width:min(100%,550px);margin:16px 0}.media-load-audio{margin:12px 0}.rich-content a[data-media-href]{display:inline-block;margin:8px 0;overflow-wrap:anywhere}.media-status{font-size:14px}

.rich-content img.formula-image{display:inline;vertical-align:middle;margin:0 3px;max-width:100%;width:auto;height:auto;background:transparent}.rich-content .source-code{white-space:pre-wrap;font-family:monospace;font-size:16px;overflow-wrap:anywhere}
.download-page{max-width:760px;margin:40px auto;padding:20px}
.rich-content audio[hidden]{display:none}

.brand{font-size:22px;letter-spacing:-.3px;line-height:1.2}.brand-icon{flex-shrink:0}.sidebar .brand{font-size:20px}.login-story .brand{font-size:28px}

.knowledge-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.knowledge-card h3{font-size:21px}.knowledge-card .eyebrow{font-size:14px}.knowledge-task-links{padding:16px 0;border-bottom:1px solid #dbe4d4;margin-bottom:16px}.knowledge-task-links summary{cursor:pointer;font-size:16px;font-weight:600;line-height:1.6}.knowledge-task-links>div{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 0}.knowledge-task-links strong{flex:1 1 180px}.knowledge-review>div{padding:16px 0;border-top:1px solid #dbe4d4}.knowledge-review h3{font-size:18px}.knowledge-review a{font-size:16px}.knowledge-review p{font-size:16px}@media(max-width:700px){.knowledge-actions .button{width:100%}.knowledge-task-links strong{flex-basis:100%}}

.knowledge-actions>label{display:flex;align-items:center;gap:12px;flex-basis:100%;font-size:16px}.knowledge-actions select{min-height:46px;min-width:80px;padding:8px 12px;font-size:16px;border:1px solid #cedbc5;border-radius:9px;background:#fff}

.rule-filterbar{display:flex;flex-wrap:wrap;gap:12px}.rule-filterbar .search-field{flex:1 1 260px;min-width:220px}.rule-filterbar>select{flex:0 1 280px;width:auto;max-width:100%;min-width:180px;font-size:16px;min-height:46px}#rule-count{min-height:44px;min-width:80px;padding:8px 12px;font-size:16px;border:1px solid #cedbc5;border-radius:9px;background:#fff}@media(max-width:700px){.rule-filterbar .search-field,.rule-filterbar>select{flex-basis:100%;width:100%;min-width:0}}

.matching-layout{display:grid;gap:14px;min-width:0}.matching-prompt{padding:14px;border:1px solid #dce5d3;border-radius:12px;background:#f6f8f2;min-width:0}.matching-prompt>strong{display:block;margin-bottom:6px;font-size:16px}.matching-prompt p:last-child{margin-bottom:0}.matching-choices{display:grid;gap:10px;min-width:0}.matching-choices .answer-choice{width:100%;font-size:16px}.matching-choices .choice-entry{min-width:0}
.function-matching .matching-prompt img:not(.formula-image),.function-matching .choice-content img:not(.formula-image){display:block;width:min(100%,360px);height:auto;margin:8px auto}
.grid-geometry table,.grid-geometry tbody,.grid-geometry tr,.grid-geometry td{display:block;width:auto;min-width:0;border:0;padding:0;margin:0}.grid-geometry img:not(.formula-image){display:block;width:min(100%,360px);height:auto;margin:14px auto}.grid-geometry img.formula-image{display:inline;width:auto;height:1.2em;max-height:36px;vertical-align:middle;margin:0 3px}
.elementary-geometry table,.elementary-geometry tbody,.elementary-geometry tr,.elementary-geometry td{display:block;width:auto;min-width:0;max-width:100%;border:0;padding:0;margin:0;overflow:visible}.elementary-geometry img:not(.formula-image){display:block;width:min(100%,360px);height:auto;margin:14px auto}

/* Shared practical plans and matching tables must fit the visible question. */
.practical-application .rich-content table{min-width:0;width:100%;max-width:100%;table-layout:fixed}.practical-application .rich-content td,.practical-application .rich-content th{overflow-wrap:anywhere}.practical-application .rich-content img:not(.formula-image){display:block;width:min(100%,440px);max-width:100%;height:auto;margin:14px auto}
.practical-application .practical-figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px;margin:18px 0}.practical-application .practical-figures figure{margin:0;min-width:0}.practical-application .practical-figures figcaption{text-align:center;font-size:16px}

.lesson-history-dialog{width:min(800px,calc(100vw - 24px));max-height:90vh;overflow:auto;font-size:16px}.lesson-history-dialog h2{margin-top:20px}.lesson-history-list{display:grid;gap:12px}.lesson-history-list .button{text-align:left;justify-content:flex-start;font-size:16px}.lesson-history-dialog summary{cursor:pointer;font-size:16px}.lesson-history-dialog .button{font-size:16px}

/* Source answer boxes must fit the same visible width as the map. */
.weather-climate-question .rich-content table{min-width:0;max-width:100%;width:auto}.weather-climate-question .rich-content img:not(.formula-image){max-width:100%;height:auto}

/* Topographic source tables remain exact; scrolling stays inside the task. */
.question-card.topography-question,.topography-question .context-block{min-width:0}
.topography-question .rich-content{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.topography-question .rich-content img{max-width:100%;height:auto}

.source-note{margin:16px 0;padding:16px 18px;border:1px solid #dce5d3;border-radius:12px;background:#f6f8f2;font-size:16px;line-height:1.6;overflow-wrap:anywhere}.source-note strong{font-size:16px}.source-note p{margin:6px 0 0;font-size:16px}
