@charset "UTF-8";
:root{--bg:#f4f6f6;--surface:#fff;--surface2:#edf1f0;--text:#22333a;--muted:#64727a;--line:#dce3e3;--accent:#244e47;--accent-soft:#e5eee7;--nav:#172a32;--lime:#d8e9b9;--shadow:0 12px 35px #172a3209;--reader-size:19px;--serif:Georgia,'Times New Roman',serif;--sans:'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:16px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #5a9475;outline-offset:4px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.2}button{border:0}hr{border:0;border-top:1px solid var(--line);margin:25px 0}.muted{color:var(--muted)}.small{font-size:14px}.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:700;text-transform:uppercase}.skip-link{position:fixed;top:-100px;left:20px;background:var(--surface);padding:12px;z-index:200}.skip-link:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;z-index:40;background:var(--nav);color:#d2dcdf;padding:34px 22px 0;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;color:#fff;font-size:14px;font-weight:750;letter-spacing:1.3px;line-height:1.35}.brand-mark{display:grid;place-items:center;position:relative;border:1px solid #60746f;width:45px;height:48px;font:30px var(--serif);flex-shrink:0}.brand-mark span{position:absolute;right:3px;top:0;color:var(--lime);font-size:18px}.brand small{display:block;margin-top:7px;font-size:8px;letter-spacing:1px;font-weight:400;color:#9bafb5}.nav-caption{font-size:10px;letter-spacing:.16em;color:#93a5aa;margin:55px 13px 15px}.nav-link{display:flex;align-items:center;gap:13px;padding:12px 15px;margin:5px 0;border-radius:8px;color:#b9c7cc;font-size:14px;font-weight:500;transition:background .15s}.nav-link:hover{background:#ffffff0c;color:white}.nav-link.active{background:#d8e9b9;color:#24382d}.nav-link svg{width:19px;height:19px}.nav-link .nav-count{margin-left:auto;font-size:11px;opacity:.65}.sidebar-progress{margin-top:auto;padding:35px 11px 27px}.sidebar-progress .progress-label{display:flex;justify-content:space-between;font-size:12px;margin-bottom:10px}.progress-track{height:5px;border-radius:10px;background:#ffffff15;overflow:hidden}.progress-fill{height:100%;border-radius:10px;background:var(--lime);transition:width .3s}.sidebar-progress p{font-size:11px;color:#98abb0;margin:10px 0 0}.sidebar-bottom{display:flex;align-items:center;gap:7px;border-top:1px solid #ffffff15;padding:17px 0;font-size:11px;color:#b0bfc2}.sidebar-bottom .icon-button{margin-left:auto;color:#c5d3d7;width:30px;height:30px}.local-indicator{width:5px;height:5px;border-radius:50%;background:var(--lime)}.shell{margin-left:244px;min-height:100vh}.topbar{height:83px;border-bottom:1px solid var(--line);background:var(--surface);padding:0 44px;display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{display:flex;gap:20px;align-items:center}.search-trigger{display:flex;align-items:center;gap:11px;color:var(--muted);background:transparent;font-size:13px}.search-trigger svg{width:17px}.search-trigger kbd{font:12px var(--sans);border:1px solid var(--line);padding:0 6px;border-radius:4px;margin-left:27px}.icon-button{display:inline-grid;place-items:center;width:36px;height:36px;background:transparent;border-radius:7px}.icon-button:hover{background:var(--surface2)}.mobile-menu{display:none}main{max-width:1530px;margin:0 auto;padding:38px 44px 52px;outline:none}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading h1{font-family:var(--serif);font-size:38px;font-weight:400;letter-spacing:-1px;margin:8px 0 10px}.page-heading p{font-size:14px;color:var(--muted);margin:0}.page-heading .eyebrow{color:var(--accent)}.edition{font-size:12px;padding:8px 13px;border:1px solid var(--line);border-radius:5px;color:var(--muted);white-space:nowrap}.hero{border-radius:12px;overflow:hidden;position:relative;min-height:265px;background:var(--nav);color:white;display:flex;align-items:center;padding:37px 40px}.hero-copy{z-index:1;width:65%;max-width:560px}.hero .eyebrow{color:#c4dba7;font-size:11px}.hero h2{font:36px/1.16 var(--serif);letter-spacing:-.7px;max-width:460px;margin:16px 0}.hero p{color:#bbccce;font-size:14px;max-width:450px;margin-bottom:26px}.hero-art{position:absolute;right:5%;top:19px;width:260px;height:240px;color:#c4dba7}.hero-art svg{width:100%;height:100%;stroke-width:1}.hero-art .thin{opacity:.18}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 18px;border-radius:6px;font-size:14px;font-weight:600;line-height:1.35;text-align:center;transition:background .15s,transform .15s}.button svg{width:17px;height:17px}.button:hover{transform:translateY(-1px)}.button.primary{background:var(--accent);color:white}.button.primary:hover{background:#326357}.button.light{background:var(--lime);color:#20372c}.button.secondary{background:var(--surface);border:1px solid var(--line);color:var(--text)}.button.ghost{background:transparent;color:inherit;border:1px solid #9aafb050}.button.compact{padding:8px 12px;font-size:13px}.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);padding:25px 0 29px;margin:4px 0 17px;border-bottom:1px solid var(--line);gap:20px}.stat{padding-left:23px;border-left:1px solid var(--line)}.stat:first-child{padding-left:0;border-left:0}.stat-number{font:29px var(--serif);color:var(--text)}.stat-number span{font:14px var(--sans);color:var(--muted);margin-left:4px}.stat-label{font-size:12px;color:var(--muted);margin-top:5px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.section-heading h2{font:24px var(--serif);margin:0}.text-link{font-size:13px;color:var(--accent);text-decoration:underline;text-underline-offset:4px}.subject-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.subject-card{position:relative;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow);transition:transform .15s}.subject-card:hover{transform:translateY(-3px)}.subject-cover{height:112px;display:flex;align-items:center;justify-content:space-between;padding:22px 25px}.subject-cover.contracts{background:#e8e7f2;color:#514c79}.subject-cover.torts{background:#e4ede2;color:#456146}.subject-cover.procedure{background:#f4e7d9;color:#986841}.subject-symbol{width:54px;height:54px;border-radius:50%;border:1px solid currentColor;display:grid;place-items:center;opacity:.8}.subject-symbol svg{width:28px;height:28px;stroke-width:1.3}.subject-cover .eyebrow{font-size:10px;line-height:1.9;letter-spacing:.12em}.subject-body{padding:20px 23px}.subject-body h3{font:23px var(--serif);margin:0 0 8px}.subject-body p{font-size:12px;color:var(--muted);line-height:1.65;min-height:40px;margin-bottom:18px}.subject-meta{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding-top:13px}.bottom-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;margin-top:25px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:25px}.panel h3{font:23px var(--serif);margin:9px 0}.panel p{font-size:13px;color:var(--muted)}.capstone-panel{display:flex;align-items:center;justify-content:space-between;gap:15px}.capstone-icon{background:var(--surface2);width:65px;height:65px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.capstone-icon svg{width:30px;height:30px}.next-action{display:flex;gap:14px;align-items:start;margin-top:16px}.next-action p{margin:3px 0}.round-step{width:31px;height:31px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;flex-shrink:0}.site-footer{max-width:1530px;margin:auto;padding:23px 44px;border-top:1px solid var(--line);color:var(--muted);font-size:10px;letter-spacing:.09em;display:flex;justify-content:space-between;gap:20px}.site-footer span:last-child{letter-spacing:0;font-size:11px}.chapter-list{display:grid;gap:15px}.chapter-card{display:grid;grid-template-columns:63px 1fr auto;align-items:center;gap:23px;padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:9px}.chapter-badge{width:58px;height:76px;background:var(--nav);color:var(--lime);display:grid;place-items:center;font:27px var(--serif);border-radius:3px 7px 7px 3px;border-left:4px solid #456056;box-shadow:4px 4px 0 var(--surface2)}.chapter-card h2{font:25px var(--serif);margin:4px 0 8px}.chapter-card p{margin:0 0 9px;font-size:13px;color:var(--muted)}.chapter-links{display:flex;gap:15px;margin-top:12px;flex-wrap:wrap}.chapter-links a{font-size:11px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}.chapter-actions{display:flex;flex-direction:column;gap:12px;align-items:center}.chip{display:inline-flex;align-items:center;border-radius:4px;padding:4px 8px;background:var(--surface2);color:var(--muted);font-size:11px;font-weight:600}.reader-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start}.reader-toc{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow-y:auto;padding-right:12px;scrollbar-width:thin}.reader-toc .eyebrow{font-size:10px;color:var(--muted);margin:15px 9px}.reader-toc h2{font:22px var(--serif);margin:6px 9px 16px}.toc-link{display:flex;align-items:flex-start;gap:7px;padding:9px;border-radius:5px;font-size:12px;line-height:1.45;color:var(--muted)}.toc-link.level-2{margin-left:12px;font-size:11px}.toc-link:hover{background:var(--surface2)}.toc-link.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.toc-check{font-size:12px;flex-shrink:0;width:12px}.reader-toc select{width:100%;margin-bottom:12px}.reader-main{min-width:0}.reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 17px;flex-wrap:wrap}.reader-controls{display:flex;align-items:center;gap:4px}.reader-controls button{font-size:12px}.reader-progress{height:3px;background:var(--line);border-radius:3px;overflow:hidden;margin-bottom:12px}.reader-progress div{height:100%;background:var(--accent)}.reader-page{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:40px 42px;box-shadow:var(--shadow);min-height:390px}.reader-page .source-title{font:40px/1.15 var(--serif);letter-spacing:-1px;color:var(--text);margin:10px 0 15px}.reader-page .source-part{font:600 12px var(--sans);text-transform:uppercase;letter-spacing:.1em;color:var(--accent)}.reader-page .source-deck{font:22px/1.4 var(--serif);color:var(--muted);margin:20px 0 25px}.reader-page h2{font:33px/1.18 var(--serif);letter-spacing:-.6px;margin:0 0 27px}.reader-page h3{font:28px/1.25 var(--serif);margin:0 0 24px}.reader-page p{font:var(--reader-size)/1.85 var(--serif);margin:0 0 1.2em;overflow-wrap:anywhere}.reader-page .source-question,.reader-page .source-choice,.reader-page .source-key{font-size:calc(var(--reader-size) - 1px)}.passage{position:relative;scroll-margin-top:30px}.passage.highlighted{background:#f8e9a5;border-radius:3px;box-shadow:-6px 0 #f8e9a5,6px 0 #f8e9a5;color:#35321d}.passage.flash{animation:flash 2s ease}.highlight-button{position:absolute;left:-31px;top:6px;width:25px;height:27px;background:transparent;color:var(--muted);opacity:0;font-size:14px}.highlight-button svg{width:15px;height:15px}.passage:hover>.highlight-button,.highlight-button:focus-visible,.highlighted>.highlight-button{opacity:.8}.table-scroll{overflow-x:auto;margin:18px 0 26px}.reader-page table{width:100%;min-width:470px;border-collapse:collapse;font:14px/1.6 var(--sans)}.reader-page th,.reader-page td{border:1px solid var(--line);padding:12px 14px;vertical-align:top}.reader-page th{background:var(--nav);color:#fff;font-weight:600}.reader-page tr:nth-child(even) td{background:var(--surface2)}.reader-page td p,.reader-page th p{font:14px/1.65 var(--sans);margin:0 0 8px}.reader-page td p:last-child,.reader-page th p:last-child{margin:0}.reader-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px;flex-wrap:wrap}.note-editor{margin-top:25px}.note-editor h3{font:22px var(--serif);margin:0 0 8px}.note-editor textarea{width:100%;min-height:125px;margin-top:8px;resize:vertical;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);padding:15px;font-size:14px;line-height:1.6}.note-editor .small{display:flex;justify-content:space-between;gap:10px}.focus-mode .sidebar,.focus-mode .reader-toc,.focus-mode .site-footer{display:none}.focus-mode .shell{margin-left:0}.focus-mode .reader-layout{grid-template-columns:1fr;max-width:900px;margin:auto}.focus-mode .topbar{padding:0 max(35px,calc((100% - 920px)/2))}.reader-source{font:11px var(--sans);color:var(--muted);margin-top:28px;padding-top:17px;border-top:1px solid var(--line)}select,input[type=number]{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:6px;padding:10px 14px;font-size:14px}select{padding-right:35px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2364727a' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}input[type=number]{width:90px}.form-label{display:block;font-size:12px;font-weight:600;color:var(--muted);margin:0 0 8px}.setup-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:24px}.setup-panel{padding:31px}.setup-panel h2{font:28px var(--serif);margin:0 0 13px}.setup-panel p{font-size:14px;color:var(--muted)}.form-row{display:flex;gap:20px;align-items:end;flex-wrap:wrap;margin:22px 0}.field{flex:1}.field select{width:100%}.segmented{display:flex;padding:4px;background:var(--surface2);border-radius:7px;gap:4px;flex-wrap:wrap}.segmented button{flex:1;white-space:nowrap;background:transparent;padding:9px 14px;border-radius:5px;font-size:13px}.segmented button.active{background:var(--surface);box-shadow:0 2px 4px #172a3210;color:var(--accent);font-weight:600}.session-info{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.session-info h2{font:25px var(--serif);margin:0}.timer{font-variant-numeric:tabular-nums;background:var(--accent-soft);color:var(--accent);padding:7px 12px;border-radius:5px;font-size:15px;font-weight:600}.question-panel{max-width:900px;margin:0 auto;padding:35px 40px}.question-meta{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.question-panel h2{font:25px/1.5 var(--serif);margin:18px 0 25px}.question-context{background:var(--surface2);padding:13px 15px;border-radius:5px;font-size:13px;color:var(--muted);margin-bottom:25px}.choice{display:flex;gap:15px;align-items:start;width:100%;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:17px 20px;margin:12px 0;line-height:1.6;font-size:15px}.choice:hover:not(:disabled){border-color:var(--accent);background:var(--surface2)}.choice-letter{border:1px solid var(--line);border-radius:4px;min-width:27px;height:27px;display:grid;place-items:center;font-size:13px;line-height:1.4}.choice.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:var(--accent-soft)}.choice.correct{border-color:#4e8561;background:#e6f2e9;color:#234c2c;opacity:1}.choice.incorrect{border-color:#ba7668;background:#f9ebe7;color:#794538;opacity:1}.feedback{padding:19px 22px;background:var(--surface2);border-radius:7px;margin:23px 0;font-size:15px}.feedback h3{font-size:15px;margin-bottom:9px}.feedback p{margin-bottom:12px}.question-bottom{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:27px}.history-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0;font-size:13px;gap:15px}.history-row:last-child{border:0}.score-circle{width:125px;height:125px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft);font:36px var(--serif);color:var(--accent);margin:20px auto}.result-heading{text-align:center}.result-list{margin-top:25px}.result-item{border-top:1px solid var(--line);padding:17px 0}.result-item summary{cursor:pointer;font-size:14px;line-height:1.6}.result-item p{font-size:14px;margin:14px 0}.result-tag{display:inline-block;font-size:11px;padding:2px 6px;border-radius:3px;background:var(--accent-soft);margin-right:8px;color:var(--accent)}.result-tag.missed{background:#f5e5e0;color:#944e3b}.card-stage{max-width:830px;margin:0 auto}.recall-card{min-height:345px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:40px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:24px 0}.recall-card h2{font:32px/1.35 var(--serif);max-width:620px;margin:25px 0}.recall-card .recall-answer{font:21px/1.7 var(--serif);text-align:left;margin-top:25px}.card-ratings{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.card-ratings button{padding:15px}.card-ratings small{display:block;font-size:11px;font-weight:400;margin-top:4px}.card-ratings .button{display:block}.filter-bar{display:flex;gap:15px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:25px}.empty-state{padding:50px 25px;text-align:center;background:var(--surface);border:1px dashed var(--line);border-radius:10px}.empty-state svg{width:42px;height:42px;color:var(--muted)}.empty-state h2{font:29px var(--serif);margin:20px 0 12px}.empty-state p{font-size:14px;color:var(--muted);max-width:480px;margin:0 auto 22px}.note-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:25px;margin-bottom:15px}.note-card h2{font:23px var(--serif);margin:8px 0 14px}.note-card .note-text{white-space:pre-wrap;font:16px/1.7 var(--serif);overflow-wrap:anywhere;margin-bottom:20px}.note-card .button-row{justify-content:space-between}.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.plan-card{padding:25px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.plan-card.complete{border-color:#8eaf91}.plan-card header{display:flex;justify-content:space-between;gap:20px;margin-bottom:16px}.plan-card h2{font:25px var(--serif);margin:5px 0 12px}.plan-card p{font-size:13px;color:var(--muted)}.plan-card .plan-checkbox{display:flex;align-items:center;gap:10px;font-size:13px;margin-top:20px}.plan-checkbox input{accent-color:var(--accent);width:18px;height:18px}.plan-card:last-child{grid-column:1/-1;background:var(--nav);color:white}.plan-card:last-child p{color:#c4d0d3}.plan-card:last-child .chip{background:#ffffff15;color:#c4d0d3}.timer-panel{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:24px}.timer-large{font:34px var(--serif);font-variant-numeric:tabular-nums;min-width:100px}.search-dialog{max-width:780px;width:calc(100% - 32px)}dialog{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:13px;padding:28px;max-width:630px;width:calc(100% - 32px);max-height:85vh;box-shadow:0 35px 100px #0004}dialog::backdrop{background:#11202899;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}.dialog-heading h2{font:26px var(--serif);margin:0}.dialog-heading button{font-size:26px}.search-input-wrap{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:7px;padding:12px 15px}.search-input-wrap input{border:0;outline:none!important;background:transparent;color:var(--text);width:100%;font-size:16px}.search-results{max-height:52vh;overflow:auto}.search-results a{display:block;border-top:1px solid var(--line);padding:18px 6px}.search-results h3{font-size:14px;margin-bottom:7px}.search-results p{font-size:13px;color:var(--muted);line-height:1.7;margin:0}.search-results .chip{font-size:10px;margin-bottom:8px}mark{background:#eee1a6;color:#39341b;border-radius:2px}.file-button{position:relative;overflow:hidden;cursor:pointer}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.toast{position:fixed;bottom:25px;left:calc(50% + 110px);transform:translate(-50%,30px);background:var(--nav);color:#fff;padding:12px 20px;border-radius:7px;font-size:14px;z-index:300;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100vw - 30px)}.toast.show{transform:translate(-50%,0);opacity:1}.storage-warning{background:#fff1c2;color:#5a4a19;font-size:13px;padding:10px 25px}.noscript{margin-left:270px}.dark{--bg:#142128;--surface:#1d2e35;--surface2:#263b43;--text:#e4ebeb;--muted:#adbdc2;--line:#354b54;--accent:#9ec5ad;--accent-soft:#2c493e;--nav:#102027;--lime:#d8e9b9;--shadow:0 12px 35px #0001}.dark .button.primary{background:#b5d5bd;color:#183426}.dark .subject-cover.contracts{background:#45405f;color:#e2dbff}.dark .subject-cover.torts{background:#354d3d;color:#d7ebd3}.dark .subject-cover.procedure{background:#564632;color:#f5d8b5}.dark .button.secondary{color:var(--text)}.dark .choice.correct{background:#254932;color:#d9f6df}.dark .choice.incorrect{background:#543c34;color:#ffe7df}.dark .result-tag.missed{background:#543c34;color:#ffe7df}.dark .sidebar{background:#102027}.dark .passage.highlighted{background:#655c27;box-shadow:-6px 0 #655c27,6px 0 #655c27;color:#fff5c7}.dark .hero{border:1px solid var(--line)}.dark .hero-art{opacity:.8}@keyframes flash{0%,50%{background:#eee1a6;color:#39341b}100%{background:transparent}}
@media(min-width:1600px){.hero{min-height:300px}.hero-art{right:8%;width:290px;height:260px}.hero h2{font-size:42px}.subject-cover{height:135px}.subject-body{padding:25px}.subject-body p{font-size:14px}.subject-meta{font-size:12px}}
@media(max-width:1200px){.sidebar{width:215px;padding:28px 17px 0}.shell{margin-left:215px}.brand{font-size:12px;gap:9px}.brand small{font-size:7px}.topbar{padding:0 28px}main{padding:30px 28px 45px}.hero{padding:30px}.hero-art{width:210px;right:2%;top:33px}.hero-copy{width:68%}.hero h2{font-size:32px}.subject-body{padding:17px}.subject-body h3{font-size:21px}.reader-layout{grid-template-columns:185px minmax(0,1fr);gap:23px}.reader-page{padding:32px}.reader-page p{font-size:calc(var(--reader-size) - 1px)}.reader-page h2{font-size:29px}.site-footer{padding:20px 28px}.setup-grid{grid-template-columns:1.2fr 1fr}.question-panel{padding:30px}.toast{left:calc(50% + 100px)}}
@media(max-width:1000px){.subject-grid{gap:12px}.subject-cover{padding:18px;height:95px}.subject-symbol{width:43px;height:43px}.subject-body p{min-height:60px}.hero-art{opacity:.35}.hero-copy{width:80%}.bottom-grid,.setup-grid{grid-template-columns:1fr}.reader-layout{grid-template-columns:1fr}.reader-toc{position:static;max-height:220px;background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:10px}.reader-toc h2,.reader-toc .eyebrow{display:none}.reader-toc select{margin:0}.reader-toc-links{display:none}.reader-toc.open .reader-toc-links{display:block;margin-top:10px}.reader-toc-toggle{display:inline-flex!important}.reader-toc-head{display:flex;gap:10px}.stats-strip{gap:12px}.stat{padding-left:14px}.chapter-card{grid-template-columns:45px 1fr;gap:20px}.chapter-badge{width:42px;height:60px;font-size:23px}.chapter-actions{grid-column:2;align-items:start;flex-direction:row}.question-panel h2{font-size:23px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:244px;box-shadow:20px 0 50px #0004}.sidebar.open{transform:translateX(0)}.shell{margin-left:0}.topbar{height:68px;padding:0 20px;gap:12px}.mobile-menu{display:inline-grid}.breadcrumb{margin-right:auto;font-size:12px}.top-actions{gap:9px}.search-trigger span:not(:first-child),.search-trigger kbd{display:none}.search-trigger{padding:7px}.topbar .icon-button{width:32px}main{padding:26px 20px 35px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:32px}.page-heading .edition{display:none}.hero{padding:28px;min-height:265px}.hero h2{font-size:32px}.hero-copy{width:100%}.hero-art{right:-45px;opacity:.17;top:25px}.hero p{max-width:86%;font-size:13px}.stats-strip{grid-template-columns:repeat(2,1fr);row-gap:24px;padding-top:25px}.stat:nth-child(3){padding-left:0;border-left:0}.stat-number{font-size:27px}.subject-grid{grid-template-columns:1fr}.subject-card{display:grid;grid-template-columns:105px 1fr}.subject-cover{height:100%;padding:20px;display:flex;justify-content:center}.subject-cover .eyebrow{display:none}.subject-symbol{width:55px;height:55px}.subject-body{padding:19px}.subject-body h3{font-size:23px}.subject-body p{min-height:0;margin-bottom:12px}.subject-meta{font-size:10px}.bottom-grid{margin-top:19px;gap:16px}.panel{padding:22px}.capstone-icon{width:45px;height:45px}.capstone-icon svg{width:25px}.site-footer{padding:20px;display:block;line-height:2}.site-footer span{display:block}.chapter-card{padding:20px;gap:18px}.chapter-card h2{font-size:22px}.chapter-card p{font-size:12px}.chapter-actions{flex-wrap:wrap}.reader-page{padding:29px 23px 25px 29px}.reader-page h2{font-size:28px}.reader-page .source-title{font-size:33px}.reader-page p{font-size:var(--reader-size);line-height:1.8}.highlight-button{left:-25px;width:22px;opacity:.25}.reader-toolbar{gap:8px}.reader-controls{flex-wrap:wrap}.reader-toolbar .small{font-size:11px}.reader-pagination .button{padding:10px 12px;font-size:12px}.reader-pagination{gap:7px}.reader-page th,.reader-page td{padding:10px}.reader-toc{max-height:270px}.question-panel{padding:24px 20px}.question-panel h2{font-size:23px}.choice{padding:15px;font-size:14px;gap:12px}.question-bottom{align-items:start}.session-info h2{font-size:21px}.setup-panel{padding:23px}.plan-grid{grid-template-columns:1fr}.plan-card:last-child{grid-column:auto}.recall-card{padding:28px 23px;min-height:320px}.recall-card h2{font-size:28px}.recall-card .recall-answer{font-size:19px}.card-ratings{gap:8px}.card-ratings button{padding:13px 8px;font-size:12px}.filter-bar{gap:14px}.filter-bar .segmented{width:100%}.segmented button{padding:8px 10px;font-size:12px}.toast{left:50%;font-size:13px;width:max-content}.focus-mode .topbar{padding:0 20px}.focus-mode main{padding:22px 14px}.dialog-heading h2{font-size:23px}dialog{padding:22px}.search-input-wrap input{font-size:14px}.timer-panel{gap:14px}.form-row{gap:13px}.noscript{margin:25px}.page-heading .button{font-size:12px;padding:9px 12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
@media print{.sidebar,.topbar,.site-footer,.reader-toc,.reader-toolbar,.reader-pagination,.note-editor,.highlight-button,dialog,.toast,.reader-progress{display:none!important}.shell{margin:0}.reader-layout{display:block}.reader-page{border:0;box-shadow:none;padding:0}.reader-page p{font-size:12pt;line-height:1.6}.reader-page table{min-width:0}.reader-page th{color:#000;background:#eee}main{padding:0}.passage.highlighted{background:#fff7d4;box-shadow:none}body{background:#fff;color:#000}}

/* Keep closed mobile navigation out of keyboard and screen-reader focus. */
@media(max-width:760px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}}

/* Legible navigation and controls at normal browser scale. */
.nav-link .nav-count{display:none}.toc-link,.toc-link.level-2{font-size:14px}.form-label{font-size:14px}.reader-toc .eyebrow,.nav-caption{font-size:12px}.reader-source,.sidebar-progress p,.sidebar-bottom,.subject-meta,.chapter-links a,.card-ratings small{font-size:12px}.table-scroll:focus-visible{outline:3px solid #5a9475;outline-offset:4px}

.backup-details{margin:22px 0;font-size:14px}.backup-details summary{cursor:pointer}.backup-details p{margin:14px 0}.backup-details textarea{width:100%;height:150px;resize:vertical;background:var(--surface2);color:var(--text);border:1px solid var(--line);border-radius:6px;padding:12px;font:12px/1.5 monospace;margin-bottom:13px}

.section-children{margin-top:25px}.section-children a{display:block;padding:15px 0;border-bottom:1px solid var(--line);font-size:16px;color:var(--accent)}

.site-footer{align-items:center;flex-wrap:wrap;letter-spacing:0;font-size:13px}.edition-credit strong{display:block;font-size:13px;font-weight:600}.edition-credit span:last-child{display:block;font-size:12px;margin-top:3px}.legal-links{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center}.legal-links a{font-size:14px;color:var(--accent);text-decoration:underline;text-underline-offset:4px;padding:8px 0}.edition-details{color:var(--muted)}.settings-policies{margin-top:12px}
