:root{--ink:#16322f;--muted:#65736f;--green:#1d6455;--deep:#123b37;--lime:#ddedbc;--paper:#f6f7f2;--white:#fff;--border:#dde3d9;--light:#edf3e9;--red:#a13230;--red-bg:#fcf0ef;--amber:#885a17;--amber-bg:#fbf3df;--shadow:0 10px 30px #173e2d06;--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.55}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:var(--green);text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b47713;outline-offset:4px}button{color:inherit}img{max-width:100%}svg{vertical-align:middle;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:44px;line-height:1.12;letter-spacing:-1.8px;font-weight:650;margin-bottom:18px}h2{font-size:25px;line-height:1.25;letter-spacing:-.6px;font-weight:650}h3{font-size:18px;line-height:1.4;letter-spacing:-.2px;font-weight:650}p{margin-bottom:16px}small{font-size:12px}hr{border:0;border-top:1px solid var(--border);margin:24px 0}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.6px;text-transform:uppercase}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-60px;left:24px;background:#fff;z-index:100;padding:12px 20px;border-radius:8px}.skip-link:focus{top:12px}.loading{min-height:100vh;display:flex;gap:20px;justify-content:center;align-items:center}.loading p{margin:0}.noscript{padding:40px}.brand-mark{display:inline-grid;place-items:center;background:var(--lime);color:var(--deep);width:43px;height:43px;border-radius:13px;font-family:Georgia,serif;font-size:34px;line-height:1}.sidebar{width:240px;position:fixed;inset:0 auto 0 0;background:var(--deep);color:#e6eee6;display:flex;flex-direction:column;padding:32px 22px 24px;z-index:30}.brand{display:flex;align-items:center;gap:12px;color:white;padding:0 8px;margin-bottom:48px}.brand:hover{text-decoration:none}.brand-name{font-weight:750;font-size:23px;letter-spacing:.4px;line-height:1.2}.brand-subtitle{display:block;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:#b5cbc2;margin-top:5px}.nav-caption{font-size:10px;letter-spacing:1.7px;color:#9cb7ab;margin:29px 14px 12px;font-weight:600}.nav-link{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:9px;color:#cadcd1;font-size:13px;font-weight:500;margin-bottom:5px;line-height:1.45}.nav-link:hover{background:#ffffff0a;text-decoration:none;color:#fff}.nav-link.active{color:var(--deep);background:var(--lime);font-weight:650}.nav-link .nav-label{flex:1}.nav-dot{width:5px;height:5px;background:#84a392;border-radius:50%;margin-left:auto}.nav-link.active .nav-dot{background:var(--deep)}.sidebar-foot{margin-top:auto;border-top:1px solid #ffffff22;padding:22px 10px 0;color:#b7cdc0;font-size:11px}.sidebar-foot p{margin:8px 0 0}.sidebar-foot strong{display:block;color:#edf3df;font-weight:500}.mobile-menu{display:none}.main-shell{margin-left:240px;min-height:100vh}.topbar{min-height:78px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:#fafbf7;gap:16px;font-size:12px;color:var(--muted)}.topbar a{color:var(--muted)}.breadcrumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.breadcrumb .current{color:var(--ink);font-weight:550}.topbar .exam-label{display:flex;gap:8px;align-items:center;white-space:nowrap}.exam-label strong{font-weight:550;color:var(--ink)}main{max-width:1440px;margin:auto;padding:40px 42px 46px;outline:0}.page-footer{font-size:11px;color:var(--muted);display:flex;gap:16px;justify-content:space-between;margin-top:42px;padding-top:20px;border-top:1px solid var(--border)}.page-footer p{margin:0}.page-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:30px}.page-heading p{max-width:670px;font-size:15px;color:var(--muted);margin:0}.page-heading .eyebrow{color:var(--green);margin-bottom:12px}.page-heading h1{font-size:38px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;border:1px solid transparent;padding:10px 17px;border-radius:9px;font-size:13px;line-height:1.4;font-weight:600;white-space:nowrap;text-decoration:none;background:var(--green);color:#fff}.btn:hover{background:#174d43;text-decoration:none}.btn.secondary{background:#fff;border-color:var(--border);color:var(--ink)}.btn.secondary:hover{background:#f1f5ed;border-color:#adbdac}.btn.ghost{background:transparent;color:var(--green);border-color:transparent}.btn.ghost:hover{background:var(--light)}.btn.light{background:var(--lime);color:var(--deep)}.btn.light:hover{background:#e9f6d1}.btn.small{min-height:34px;font-size:12px;padding:7px 11px}.btn.danger{background:var(--red)}.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.icon-button{display:inline-grid;place-items:center;border:1px solid var(--border);background:white;border-radius:8px;width:38px;height:38px}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:5px;line-height:1.4;font-size:10px;font-weight:650;letter-spacing:.3px}.badge.green{background:#e8f2e4;color:#365b37}.badge.neutral{background:#f0f2ed;color:#687365}.badge.amber{background:var(--amber-bg);color:var(--amber)}.badge.red{background:var(--red-bg);color:var(--red)}.hero{display:grid;grid-template-columns:1.65fr 1fr;border-radius:22px;overflow:hidden;background:#eaf0e3;min-height:310px;margin-bottom:28px;border:1px solid #dce4d3}.hero-copy{padding:38px 40px}.hero-copy .eyebrow{color:var(--green);margin-bottom:15px;display:block}.hero-copy h1{max-width:480px}.hero-copy p{max-width:450px;color:#54675b;font-size:15px;margin-bottom:25px}.exam-ticket{background:var(--deep);color:white;padding:32px 35px;position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.exam-ticket:after{content:"";position:absolute;width:210px;height:210px;border:1px solid #c2d6bd22;border-radius:50%;right:-85px;top:-60px;box-shadow:0 0 0 30px #c2d6bd0b,0 0 0 60px #c2d6bd08;pointer-events:none}.exam-ticket .eyebrow{color:#b3c5b3;position:relative;z-index:1}.ticket-day{font-size:80px;line-height:1;font-weight:350;letter-spacing:-4px;color:var(--lime);margin:20px 0 0}.ticket-day span{font-size:16px;letter-spacing:0;margin-left:8px;color:#dce7d8;font-weight:450}.ticket-bottom{border-top:1px solid #ffffff29;padding-top:20px;margin-top:25px;display:flex;justify-content:space-between;align-items:center;font-size:13px}.ticket-bottom span{color:#adc1b3;font-size:11px}.stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--border);border-radius:13px;background:white;padding:21px 0;margin-bottom:36px}.stat{padding:0 25px;border-right:1px solid var(--border);display:flex;gap:14px;align-items:center}.stat:last-child{border:0}.stat-number{font-size:30px;letter-spacing:-1px;line-height:1.2}.stat-number span{font-size:16px;color:#9aa496;letter-spacing:0}.stat-label{font-size:12px;color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 18px}.section-heading h2{margin:0;font-size:22px}.section-heading p{margin:0;color:var(--muted);font-size:12px}.section-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.section-card{background:white;border:1px solid var(--border);border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:var(--shadow);min-height:267px;color:var(--ink);position:relative;transition:transform .15s,border-color .15s}.section-card:hover{text-decoration:none;transform:translateY(-3px);border-color:#93ac8d}.section-card.primary{border-color:#9cb692;background:#fbfdf8}.section-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;background:#e8f0df;color:#376344;margin-bottom:20px}.section-card:nth-child(2) .section-icon{background:#eaf0f2;color:#4d6978}.section-card:nth-child(3) .section-icon{background:#f3ede3;color:#8a7657}.section-card .badge{position:absolute;right:19px;top:24px}.section-card h3{margin:0 0 9px;font-size:19px;max-width:230px}.section-card p{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:22px}.section-card .card-link{margin-top:auto;font-size:12px;font-weight:650;display:flex;gap:8px;align-items:center}.study-note{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--border);border-radius:12px;padding:17px 20px;font-size:12px;color:var(--muted);margin-top:26px;background:#f9faf5}.study-note svg{color:var(--green);margin-top:2px}.study-note p{margin:0}.study-note strong{color:var(--ink);font-weight:600}.toolbar{display:flex;gap:12px;margin:0 0 22px;align-items:center;justify-content:space-between}.search{position:relative;flex:1;max-width:430px}.search svg{position:absolute;left:14px;top:13px;color:var(--muted)}.search input{width:100%;padding:11px 14px 11px 42px;background:white;border:1px solid var(--border);border-radius:9px;color:var(--ink);height:44px;font-size:13px}.toolbar select,.review-select{border:1px solid var(--border);background:white;border-radius:9px;padding:10px 34px 10px 13px;color:var(--ink);font-size:13px;min-height:44px}.library-summary{display:flex;gap:7px;flex-wrap:wrap;margin:17px 0 0}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.topic-card{background:white;border:1px solid var(--border);border-radius:15px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow)}.topic-top{height:70px;background:#edf2e9;border-bottom:1px solid #e1e7db;display:flex;align-items:center;justify-content:space-between;padding:19px 21px}.topic-number{font-family:Georgia,serif;font-size:28px;color:#74916b;line-height:1}.topic-top .eyebrow{color:#6b7d62;font-size:9px;letter-spacing:1px}.topic-body{padding:21px;display:flex;flex-direction:column;flex:1}.topic-body h3{font-size:17px;margin-bottom:9px;min-height:48px}.topic-body .desc{font-size:12px;color:var(--muted);margin-bottom:18px;min-height:38px}.topic-meta{font-size:10px;display:flex;gap:8px;align-items:center;color:var(--muted);margin-bottom:19px;flex-wrap:wrap}.meta-dot{width:3px;height:3px;border-radius:50%;background:#9daa96}.topic-status{display:flex;align-items:center;justify-content:space-between;font-size:10px;gap:7px;margin-top:auto;margin-bottom:9px;color:var(--muted)}.progress-track{height:4px;background:#edf0e8;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:#639660;border-radius:4px}.topic-actions{display:flex;gap:8px;margin-top:18px}.topic-actions .btn{flex:1;padding:9px;font-size:11px}.empty{padding:60px 24px;border:1px dashed #bfcbbc;border-radius:16px;text-align:center;color:var(--muted);grid-column:1/-1}.empty h2,.empty h3{color:var(--ink)}.back-link{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:var(--muted);margin-bottom:23px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:26px;align-items:start}.panel{background:white;border:1px solid var(--border);border-radius:var(--radius);padding:27px;box-shadow:var(--shadow)}.panel h2{font-size:21px}.slide-cover{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#f3f4f0;margin-bottom:19px;display:block}.slide-cover img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#f7f7f7}.panel-copy{font-size:13px;color:var(--muted)}.source-name{font-size:11px;overflow-wrap:anywhere;color:var(--muted)}.field-legend{font-weight:650;font-size:13px;margin-bottom:14px}fieldset{padding:0;border:0;min-width:0}.mode-option{display:block;position:relative;border:1px solid var(--border);border-radius:10px;padding:15px 15px 15px 43px;margin-bottom:12px;cursor:pointer}.mode-option:has(input:checked){border-color:var(--green);background:#f2f7ed;box-shadow:0 0 0 1px var(--green)}.mode-option input{position:absolute;top:19px;left:15px;accent-color:var(--green)}.mode-option strong{font-size:13px;display:block}.mode-option span{font-size:11px;color:var(--muted);display:block;margin-top:4px}.full{width:100%}.history-list{list-style:none;margin:0;padding:0}.history-item{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--border);font-size:12px;align-items:center}.history-item:last-child{border:0}.history-item small{font-size:10px;color:var(--muted);display:block;margin-top:3px}.history-item a{font-weight:650}.resume-box{padding:15px;border:1px solid #ceddbf;background:#f4f8ed;border-radius:10px;margin-bottom:20px;font-size:12px}.resume-box p{margin-bottom:12px}.feature-list{list-style:none;margin:20px 0 0;padding:0;display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.feature-list li{display:flex;gap:6px;align-items:center}.slides-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:20px}.slides-toolbar h1{font-size:28px;margin-bottom:8px;letter-spacing:-.7px}.slides-toolbar p{margin:0;font-size:12px;color:var(--muted)}.pdf-viewer{border:1px solid var(--border);background:#e3e6df;border-radius:14px;overflow:hidden;height:76vh;min-height:500px}.pdf-viewer iframe{width:100%;height:100%;border:0}.viewer-note{font-size:12px;color:var(--muted);margin:13px 0 0}.quiz-header{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:20px}.quiz-header h1{font-size:24px;letter-spacing:-.5px;margin:0 0 7px}.quiz-header p{font-size:11px;color:var(--muted);margin:0}.quiz-layout{display:grid;grid-template-columns:minmax(0,1fr) 234px;gap:24px;align-items:start}.quiz-panel{padding:28px 30px}.question-topline{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;margin-bottom:18px}.question-topline .eyebrow{font-size:10px;letter-spacing:1px;color:var(--green)}.flag-btn{border:0;background:transparent;color:var(--muted);display:flex;gap:6px;align-items:center;font-size:11px;padding:6px 0 6px 7px}.flag-btn.is-flagged{color:var(--amber);font-weight:650}.question-stem{font-size:16px;line-height:1.75;font-weight:500;margin-bottom:25px;white-space:pre-line;letter-spacing:-.1px}.answer-option{display:flex;align-items:flex-start;gap:13px;border:1px solid var(--border);border-radius:10px;padding:15px;margin:0 0 10px;position:relative;cursor:pointer;line-height:1.65;font-size:13px;background:white}.answer-option:hover{background:#f8faf4;border-color:#a6b69e}.answer-option.selected{border-color:var(--green);background:#f1f7ec;box-shadow:inset 0 0 0 1px var(--green)}.answer-option input{position:absolute;opacity:0;pointer-events:none}.answer-option:has(input:focus-visible){outline:3px solid #b47713;outline-offset:3px}.answer-letter{flex-shrink:0;display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--border);border-radius:7px;font-size:11px;font-weight:700;background:#f6f8f2;color:#6b7864;margin-top:1px}.selected .answer-letter{color:white;background:var(--green);border-color:var(--green)}.answer-option.correct{border-color:#478347;background:#f0f7ed;box-shadow:none}.answer-option.correct .answer-letter{color:white;background:#478347;border-color:#478347}.answer-option.incorrect{border-color:#b86963;background:#fcf1ef;box-shadow:none}.answer-option.incorrect .answer-letter{background:#a3423a;color:white;border-color:#a3423a}.answer-option.locked{cursor:default}.option-verdict{font-size:10px;font-weight:650;display:block;margin-top:5px;color:var(--green)}.answer-option.incorrect .option-verdict{color:var(--red)}.quiz-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:23px;padding-top:22px;border-top:1px solid var(--border)}.quiz-aside{position:sticky;top:24px;padding:21px}.quiz-aside h2{font-size:14px;margin-bottom:5px}.quiz-aside .muted{font-size:11px;margin-bottom:18px}.question-map{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:16px 0}.question-map button,.answer-key button{width:100%;aspect-ratio:1;border:1px solid var(--border);background:white;border-radius:7px;font-size:11px;position:relative;display:grid;place-items:center;color:var(--ink)}.question-map button.answered{background:#e8efe0;border-color:#d1dec5}.question-map button.current{border:2px solid var(--green);font-weight:750}.question-map button.right,.answer-key button.right{background:#e6f2de;border-color:#8caf7b;color:#345e2e}.question-map button.wrong,.answer-key button.wrong{background:#f9eae6;border-color:#d8aaa3;color:#a1352c}.question-map button.flagged:after{content:"";position:absolute;right:2px;top:2px;width:5px;height:5px;background:#b78023;border-radius:50%}.map-legend{display:flex;gap:10px;flex-wrap:wrap;font-size:9px;color:var(--muted);margin:10px 0 22px}.map-legend span{display:flex;align-items:center;gap:4px}.legend-square{width:8px;height:8px;background:#e8efe0;border:1px solid #d1dec5;border-radius:2px}.legend-square.flag{background:#b78023;border-color:#b78023;border-radius:50%}.save-status{font-size:10px;color:var(--muted);display:flex;gap:6px;align-items:flex-start;margin:13px 0 0}.feedback{margin-top:25px;border:1px solid #bad0ad;border-radius:12px;overflow:hidden;background:#f9fcf6}.feedback.wrong{border-color:#d6aaa3;background:#fffaf8}.feedback-heading{padding:15px 20px;background:#eaf4e2;border-bottom:1px solid #d5e4cb;display:flex;gap:9px;align-items:center;font-size:13px;font-weight:650}.feedback.wrong .feedback-heading{background:#f9ebe5;border-color:#edd8d1;color:var(--red)}.explanation-body{padding:20px;font-size:13px;line-height:1.75}.explanation-body p{margin-bottom:16px}.explanation-body h3{font-size:13px;margin:22px 0 11px}.rationale-list{list-style:none;margin:0;padding:0}.rationale-list li{padding:9px 0;border-top:1px solid #e3e7dd;display:flex;gap:10px;font-size:12px}.rationale-letter{font-size:10px;font-weight:700;flex-shrink:0;width:21px;height:21px;display:grid;place-items:center;background:#eef1e9;border-radius:4px;color:#65705e;margin-top:2px}.lecture-figure{margin:22px 0 0;border-top:1px solid var(--border);padding-top:18px}.lecture-figure button{display:block;background:#fff;border:1px solid var(--border);border-radius:7px;padding:8px;width:100%;cursor:zoom-in}.lecture-figure img{display:block;width:100%;height:auto}.lecture-figure figcaption{font-size:11px;line-height:1.7;color:var(--muted);margin-top:10px}.source-link{font-size:11px;display:inline-flex;gap:5px;align-items:center;margin-top:10px}.empty-feedback{font-size:12px;color:var(--muted);padding:15px;background:#f7f9f3;border-radius:8px;margin-top:19px}.results-hero{background:var(--deep);border-radius:20px;color:white;display:flex;justify-content:space-between;gap:25px;padding:32px;align-items:center;margin-bottom:25px}.results-hero h1{font-size:28px;letter-spacing:-.6px;margin:8px 0 12px}.results-hero p{font-size:12px;color:#bed0c1;margin:0}.results-hero .eyebrow{color:#aacaac}.score{flex-shrink:0;display:flex;align-items:center;gap:20px}.score-ring{border:5px solid #6d9474;border-radius:50%;width:115px;height:115px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#1e4c43}.score-ring strong{font-size:32px;font-weight:550;line-height:1.2;letter-spacing:-1px;color:var(--lime)}.score-ring span{font-size:10px;color:#c0d1c3}.result-counts{font-size:11px;line-height:2.1;color:#d3e0cf}.result-counts strong{color:white;font-weight:650}.results-actions{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:24px}.review-card{margin-bottom:17px;scroll-margin-top:20px}.review-card summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:20px 23px;font-size:13px}.review-card summary::-webkit-details-marker{display:none}.review-card summary:after{content:"+";margin-left:auto;font-size:20px;font-weight:350;color:var(--muted)}.review-card[open] summary:after{content:"−"}.review-card summary .review-label{flex:1;font-weight:600}.review-card summary .muted{font-size:10px;font-weight:400;display:block;margin-top:2px}.review-card .review-body{padding:0 23px 23px;border-top:1px solid var(--border)}.review-body .question-stem{font-size:14px;margin-top:22px}.review-body .answer-option{font-size:12px;cursor:default}.review-body .feedback{margin-bottom:0}.review-card{background:white;border:1px solid var(--border);border-radius:13px;overflow:hidden}.verdict-circle{width:29px;height:29px;display:grid;place-items:center;background:#e7f1df;color:#386835;border-radius:50%;font-size:13px;flex-shrink:0}.verdict-circle.wrong{background:#fae9e3;color:var(--red)}.verdict-circle.unanswered{background:#edf0e9;color:#68715f}.answer-key{display:grid;grid-template-columns:repeat(20,1fr);gap:6px;margin-top:14px}.answer-key button{font-size:10px;aspect-ratio:auto;padding:9px 2px;display:flex;flex-direction:column;gap:2px;text-decoration:none}.answer-key button strong{font-size:12px}.key-panel{margin-bottom:25px;padding:21px}.key-panel h2{font-size:14px;margin-bottom:3px}.key-panel p{font-size:10px;color:var(--muted);margin:0}.review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:30px 0 18px}.review-toolbar h2{margin:0;font-size:21px}.coming{max-width:780px;margin:25px auto;text-align:center}.coming .section-icon{width:72px;height:72px;margin:0 auto 25px;border-radius:19px}.coming h1{font-size:35px;line-height:1.2;max-width:570px;margin:0 auto 18px}.coming>p{max-width:500px;margin:0 auto 25px;color:var(--muted)}.coming .panel{text-align:left;margin-top:35px}.coming .panel h2{font-size:18px}.coming .panel p{font-size:13px;color:var(--muted);margin-bottom:0}dialog{border:1px solid var(--border);border-radius:18px;max-width:460px;width:calc(100% - 40px);padding:28px;color:var(--ink);box-shadow:0 25px 90px #10281c35}dialog::backdrop{background:#132b246d;backdrop-filter:blur(3px)}dialog h2{font-size:22px}dialog p{font-size:14px;color:var(--muted)}dialog .button-row{justify-content:flex-end;margin-top:25px}#image-dialog{max-width:1200px;width:calc(100% - 40px);padding:30px 20px 15px;max-height:94vh}#image-dialog img{display:block;max-height:77vh;width:auto;max-width:100%;margin:auto;object-fit:contain}#image-dialog p{font-size:12px;margin:12px 0 0}.image-close{position:absolute;right:7px;top:7px;font-size:25px;width:30px;height:30px;background:#fff}.storage-alert{background:var(--amber-bg);color:var(--amber);padding:12px 20px;font-size:12px;border:1px solid #e9d8ae;margin-bottom:22px;border-radius:9px}.inline-note{font-size:11px;color:var(--muted);line-height:1.7;margin:13px 0 0}.no-margin{margin:0}.spaced{margin-top:25px}.text-link{font-weight:600;font-size:12px}.mobile-only{display:none}
@media(min-width:1600px){main{padding:48px 55px}.topbar{padding:0 55px}.hero-copy{padding:45px 48px}.hero{min-height:330px}}
@media(max-width:1200px){.sidebar{width:210px;padding-left:15px;padding-right:15px}.main-shell{margin-left:210px}.topbar{padding:0 28px}main{padding:30px 28px}.hero-copy{padding:30px}.exam-ticket{padding:30px 25px}.hero-copy h1{font-size:38px}.topic-actions{flex-direction:column}.library-grid{gap:15px}.topic-body{padding:18px}.topic-body h3{font-size:16px;min-height:65px}.quiz-layout{grid-template-columns:minmax(0,1fr) 200px;gap:18px}.quiz-panel{padding:23px}.quiz-aside{padding:16px}.question-map{gap:5px}.question-map button{font-size:10px}.answer-key{grid-template-columns:repeat(10,1fr)}.section-card{padding:21px}.section-card h3{font-size:17px}.section-card .badge{font-size:8px;right:15px}.stat{padding:0 18px}.stat-number{font-size:26px}.stat-label{font-size:11px}}
@media(max-width:980px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topic-actions{flex-direction:row}.topic-body h3{min-height:47px}.hero{grid-template-columns:1.4fr 1fr}.hero-copy h1{font-size:34px}.hero-copy{padding:27px}.hero-copy p{font-size:13px}.ticket-day{font-size:65px}.ticket-day span{font-size:12px}.ticket-bottom{flex-direction:column;align-items:flex-start;gap:5px}.section-grid{grid-template-columns:1fr}.section-card{min-height:160px;padding-left:88px}.section-icon{position:absolute;left:22px;top:24px}.section-card h3{max-width:none;padding-right:75px}.section-card p{max-width:450px;margin-bottom:14px}.section-card .card-link{margin-top:0}.stats .stat{flex-direction:column;align-items:flex-start;gap:5px}.quiz-layout{grid-template-columns:1fr}.quiz-aside{position:static;display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.quiz-aside .question-map{grid-column:1;grid-row:2/5;grid-template-columns:repeat(10,1fr)}.quiz-aside h2{grid-column:1}.quiz-aside>.muted{grid-column:2;grid-row:1}.quiz-aside>.progress-track{grid-column:2;grid-row:2}.quiz-aside>.map-legend{grid-column:1;grid-row:5}.quiz-aside>.btn{grid-column:2;grid-row:3}.quiz-aside>.save-status{grid-column:2;grid-row:4/6}.detail-grid{grid-template-columns:1fr}.detail-grid .lecture-panel{order:2}.slides-toolbar{align-items:flex-start;flex-direction:column}.results-hero{align-items:flex-start;flex-direction:column}.score{align-self:flex-start}.coming .section-icon{position:static}.question-stem{font-size:15px}.page-heading h1{font-size:34px}}
@media(max-width:760px){.sidebar{width:100%;height:auto;position:sticky;top:0;inset:auto;display:flex;padding:13px 20px;flex-direction:row;align-items:center;justify-content:space-between;min-height:69px}.brand{padding:0;margin:0;gap:9px}.brand-mark{width:35px;height:35px;border-radius:10px;font-size:28px}.brand-name{font-size:20px}.brand-subtitle{font-size:8px;margin-top:3px}.mobile-menu{display:inline-flex;background:#ffffff10;border-color:#ffffff20;color:#e2ecdf;width:38px;height:36px}.sidebar nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--deep);padding:0 15px 14px;border-top:1px solid #ffffff1a;max-height:80vh;overflow:auto}.sidebar.nav-open nav{display:block}.nav-caption{margin-top:17px}.sidebar-foot{display:none}.main-shell{margin-left:0}.topbar{min-height:54px;padding:10px 20px;font-size:10px}.topbar .exam-label{font-size:10px;gap:5px}.exam-label svg{display:none}main{padding:27px 20px 30px}.hero{grid-template-columns:1fr;min-height:0;border-radius:17px}.hero-copy{padding:28px}.hero-copy h1{font-size:37px;max-width:440px}.hero-copy p{font-size:14px}.exam-ticket{display:grid;grid-template-columns:1fr auto;gap:0 15px;padding:23px 28px}.exam-ticket .eyebrow{grid-column:1;align-self:start;font-size:10px}.ticket-day{grid-column:2;grid-row:1/3;margin:0;align-self:center;font-size:53px;white-space:nowrap;letter-spacing:-2px}.ticket-day span{display:block;margin:3px 0 0;font-size:10px;letter-spacing:0}.ticket-bottom{grid-column:1;grid-row:2;border:0;margin:7px 0 0;padding:0;font-size:12px;gap:2px}.ticket-bottom span{font-size:10px}.stats{margin-bottom:28px;padding:18px 0}.stat{padding:0 14px!important;gap:4px}.stat-number{font-size:26px}.stat-label{font-size:10px;line-height:1.6}.stat-number span{font-size:13px}.section-heading h2{font-size:20px}.section-heading p{font-size:10px}.page-footer{flex-direction:column;gap:6px;font-size:10px;margin-top:30px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:33px}.page-heading p{font-size:13px}.page-heading>.badge{display:none}.library-summary .badge{font-size:9px}.toolbar{gap:8px}.toolbar select{max-width:140px;font-size:11px;padding-left:8px}.search input{font-size:12px}.topic-top{height:59px;padding:15px}.topic-number{font-size:24px}.topic-top .eyebrow{font-size:8px}.topic-body{padding:16px}.topic-body h3{font-size:15px;min-height:42px}.topic-body .desc{font-size:11px;min-height:52px}.topic-meta{font-size:9px;gap:5px;margin-bottom:16px}.topic-actions{flex-direction:column;gap:6px;margin-top:14px}.topic-status{font-size:9px;align-items:flex-start}.topic-status .badge{font-size:8px;padding:3px 6px}.panel{padding:22px}.quiz-header h1{font-size:21px}.quiz-header{align-items:flex-start;gap:10px}.quiz-header .btn{font-size:10px;padding:8px 10px;min-height:36px}.quiz-panel{padding:20px}.question-stem{font-size:14px;line-height:1.8}.answer-option{padding:13px;gap:10px;font-size:12px;line-height:1.7}.answer-letter{width:24px;height:24px;font-size:10px}.question-topline{margin-bottom:13px}.question-topline .eyebrow{font-size:9px}.quiz-bottom .btn{font-size:11px;padding:10px 12px}.quiz-bottom{gap:8px;flex-wrap:wrap}.quiz-aside{display:block}.quiz-aside .question-map{grid-template-columns:repeat(10,1fr)}.quiz-aside>.muted{margin-bottom:12px}.quiz-aside>.btn{max-width:none}.feedback-heading{padding:13px 16px;font-size:12px}.explanation-body{padding:16px;font-size:12px}.rationale-list li{font-size:11px}.slides-toolbar h1{font-size:25px}.slides-toolbar .button-row{gap:7px}.slides-toolbar .btn{font-size:11px;padding:9px 12px}.pdf-viewer{height:70vh;min-height:420px}.results-hero{padding:25px}.results-hero h1{font-size:24px}.results-actions .btn{font-size:11px;padding:9px 12px}.score-ring{width:105px;height:105px}.review-card summary{padding:17px;font-size:12px;gap:9px}.review-card .review-body{padding:0 15px 18px}.review-card summary .badge{font-size:8px}.review-toolbar h2{font-size:18px}.review-select{font-size:11px;max-width:156px}.answer-key{gap:5px}.key-panel{padding:17px}.detail-grid{gap:20px}.coming{margin:15px auto}.coming h1{font-size:30px}.coming>p{font-size:14px}.coming .section-icon{width:63px;height:63px}.source-name{font-size:10px}.mobile-only{display:initial}}
@media(max-width:400px){main{padding:22px 15px}.topbar{padding:10px 15px}.library-grid{grid-template-columns:1fr}.topic-body h3,.topic-body .desc{min-height:0}.topic-actions{flex-direction:row}.topic-top{height:50px}.topic-body{padding:19px}.hero-copy{padding:25px}.hero-copy h1{font-size:33px}.section-card{padding-left:78px}.section-card .badge{position:static;margin-bottom:8px}.section-card h3{padding-right:0}.stats .stat{padding:0 11px!important}.stat-number{font-size:24px}.quiz-panel{padding:17px}.answer-option{padding:11px;gap:9px}.question-stem{font-size:13px}.results-actions{gap:8px}.score{gap:14px}.ticket-day{font-size:46px}.review-toolbar{align-items:flex-start;flex-direction:column}.review-select{max-width:100%;width:100%}.exam-ticket{padding:23px 25px}.topic-top .eyebrow{font-size:9px}}
.slide-reader{border:1px solid var(--border);border-radius:15px;overflow:hidden;background:#e9ede5}.slide-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 20px;background:#fff;border-bottom:1px solid var(--border)}.page-selector select{border:1px solid var(--border);border-radius:7px;background:#f8faf5;color:var(--ink);font-size:12px;padding:8px 10px;min-height:35px}.slide-image{display:flex;align-items:center;justify-content:center;width:100%;padding:25px;border:0;background:#e9ede5;cursor:zoom-in;min-height:300px}.slide-image img{display:block;max-width:100%;width:auto;max-height:75vh;height:auto;box-shadow:0 3px 18px #203b2c1a}.slide-reader-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted);padding:15px 20px;background:#fdfef9;border-top:1px solid var(--border)}
@media(max-width:760px){.slide-controls{padding:12px;gap:7px}.slide-controls .btn{font-size:10px;padding:7px 10px;min-height:35px}.page-selector select{font-size:11px;max-width:150px;padding:8px}.slide-image{padding:12px;min-height:190px}.slide-reader-footer{padding:13px;font-size:10px}}
.sidebar .mobile-menu{display:none}.brand-subtitle{font-size:9px;letter-spacing:1px}
@media(max-width:760px){.sidebar .mobile-menu{display:inline-flex}.brand-subtitle{font-size:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
