/* Glass Campus — shared visual language for every NotesVault screen. */
:root{color-scheme:light;--bg:#f5f7fc;--text:#111b36;--muted:#526078;--line:rgba(104,124,158,.18);--accent:#2459e9;--accent-ink:#fff;--accent-soft:#e8efff;--warn:#a52d3e;--surface:#fff;--surface-2:#f0f3fa;--radius:24px;--font:"Segoe UI",Inter,Arial,sans-serif;--shadow:0 10px 36px rgba(52,76,116,.065),inset 0 1px 0 #fff;--glass:rgba(255,255,255,.62)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--text);font:16px/1.55 var(--font);background:var(--bg);-webkit-font-smoothing:antialiased;min-height:100vh;isolation:isolate}
body::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 12% 20%,#dbeff480,transparent 38%),radial-gradient(ellipse at 80% 10%,#e6deff8c,transparent 35%),radial-gradient(ellipse at 84% 72%,#ffe8d995,transparent 36%),radial-gradient(ellipse at 16% 90%,#dcf1e899,transparent 35%),linear-gradient(125deg,#f7f7ff,#f5faff 45%,#fff8f6)}
body::after{content:"";position:fixed;z-index:-1;right:-80px;top:220px;width:330px;height:330px;border-radius:50%;border:1px solid #ffffffb0;box-shadow:inset 0 0 70px #ffffff30;pointer-events:none}
a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}svg{width:21px;height:21px;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.15;letter-spacing:-.035em;color:var(--text)}h1{font-size:clamp(36px,4.3vw,64px);font-weight:750;margin-bottom:20px}h2{font-size:28px;font-weight:700;margin-bottom:12px}h3{font-size:21px;font-weight:650;margin-bottom:8px}p{margin-bottom:14px}
.wrap{width:min(1400px,calc(100% - 80px));margin-inline:auto}.glass,.card{background:var(--glass);border:1px solid rgba(255,255,255,.94);box-shadow:var(--shadow);border-radius:var(--radius);backdrop-filter:blur(22px) saturate(115%);-webkit-backdrop-filter:blur(22px) saturate(115%)}
.card{padding:28px}.hidden,[hidden]{display:none!important}.muted{color:var(--muted)}.small{font-size:14px}.eyebrow{font-size:11px;letter-spacing:.15em;font-weight:650;text-transform:uppercase;color:#5b6680;margin:0 0 14px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-80px;left:16px;z-index:100;background:#fff;padding:16px;border:2px solid var(--accent)}.skip-link:focus{top:16px}:focus{outline:none}:focus-visible{outline:2px solid #59677c;outline-offset:3px}html[data-pointer-focus] :focus{outline:none}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 0}.brand{display:inline-flex;align-items:center;gap:9px;color:var(--text);font-size:25px;font-weight:750;letter-spacing:-1px;white-space:nowrap}.brand:hover{text-decoration:none}.brand>svg{width:25px;height:25px;color:#476388}.brand-dot{width:6px;height:6px;background:var(--accent);border-radius:50%;align-self:center}.nav-pill{display:flex;gap:4px;padding:5px;border-radius:100px}.nav-pill a{padding:9px 23px;border-radius:100px;color:#4b5970;font-size:14px;font-weight:550;white-space:nowrap}.nav-pill a:hover{background:#ffffffa0;text-decoration:none}.nav-pill a[aria-current]{background:#fff;color:#2459e9;box-shadow:0 2px 10px #53659e0c}.header-help{font-size:13px;color:#59677c;display:flex;gap:12px;align-items:center}.header-help svg{width:16px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:11px 20px;border:1px solid #d6dfec;background:#ffffffb8;border-radius:13px;color:var(--text);font-size:14px;font-weight:600;text-decoration:none;transition:transform .18s,box-shadow .18s,background .18s}.btn:hover{background:#fff;text-decoration:none;box-shadow:0 4px 12px #254b9510}.btn:active{transform:translateY(1px)}.btn.primary{color:#fff;border-color:transparent;background:linear-gradient(180deg,#3672ff,#1c4ede);box-shadow:0 5px 16px #2459e925,inset 0 1px 1px #ffffff50}.btn.primary:hover{background:#1649d5}.btn.sm{min-height:36px;padding:7px 12px;font-size:13px;border-radius:10px}.btn.danger{color:var(--warn)}.btn svg{width:17px;height:17px}.text-link{font-weight:600}.icon-btn{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:38px;height:38px;background:#ffffffa0;color:var(--muted)}.disabled{opacity:.45;cursor:not-allowed}
input,select,textarea{background:#ffffffb0;color:var(--text);border:1px solid #cbd5e4;border-radius:12px;padding:12px 14px;width:100%;min-width:0;font-size:14px}input::placeholder,textarea::placeholder{color:#748198}textarea{resize:vertical}select{cursor:pointer}label{display:block;font-size:13px;font-weight:600;margin:14px 0 6px}input[type=checkbox]{width:17px;height:17px;accent-color:var(--accent)}.error{color:var(--warn);font-size:14px;margin:8px 0;min-height:0}.error:empty{display:none}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}.section-head h2,.section-head h3{margin:0}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#5a9b85;margin-right:8px}
.home-hero{display:grid;grid-template-columns:1fr 1.05fr;gap:36px;padding:42px 0 34px;align-items:start}.home-hero h1{font-size:clamp(38px,4.1vw,60px);letter-spacing:-.052em;line-height:1.06;margin-bottom:20px}.gradient-ink{color:#26364f}.hero-copy{color:var(--muted);font-size:18px;max-width:590px}.hero-side{padding-top:9px}.redeem-inline{display:flex;align-items:center;gap:10px;padding:10px 12px;flex-wrap:wrap;border-radius:18px}.redeem-inline label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;margin:0;white-space:nowrap}.redeem-inline label svg{width:17px;color:#3862d9}.redeem-inline input{flex:1;min-width:120px;width:155px;font-size:13px;background:#ffffff68;padding:11px 12px}.redeem-inline .btn{font-size:12px;padding:11px 16px;white-space:nowrap}.redeem-inline .error{width:100%;margin:0 4px}.hand-note{text-align:right;font:italic 21px/1.2 Georgia,serif;color:#7892b1;transform:rotate(-6deg);margin:26px 38px 0 0;letter-spacing:-.3px}.hand-note span{padding-right:25px}.hand-note svg{display:block;margin-left:auto;width:110px;height:40px}
.directory-head{margin-top:4px;margin-bottom:20px}.directory-head h2{font-size:21px;letter-spacing:-.025em}.directory-head .eyebrow{display:none}.search-field{display:flex;align-items:center;gap:8px;margin:0;min-width:260px;border-radius:13px;padding:0 13px}.search-field svg{width:16px;stroke:#708198;fill:none;stroke-width:1.5}.search-field input{border:0;background:transparent;padding:11px 2px;outline-offset:0}html:not([data-pointer-focus]) .search-field:focus-within{outline:2px solid #59677c;outline-offset:2px}.search-field input:focus-visible{outline:none}
.university-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;grid-template-rows:180px 155px 155px;gap:16px}.university-card{position:relative;display:block;overflow:hidden;padding:22px 20px;isolation:isolate;color:var(--text);background:linear-gradient(145deg,#ffffff9e,var(--tint,#edf4fa7a));transition:transform .25s,box-shadow .25s;border-radius:21px}.university-card:hover{transform:translateY(-4px);text-decoration:none;box-shadow:0 14px 30px #31497318,inset 0 0 0 1px #fff}.university-card.featured{grid-row:1/4;padding:28px;box-shadow:0 5px 26px #4a9fa516,inset 0 0 0 3px #ffffff65}.university-card:nth-child(5){grid-column:2/4}.university-card:nth-child(6){grid-column:4}.university-card:nth-child(7){grid-column:2/3}.university-card:nth-child(8){grid-column:3/5}.university-label{position:relative;z-index:2;display:flex;align-items:start;justify-content:space-between;gap:8px}.university-label h3{font-size:19px;letter-spacing:-.04em;margin-bottom:3px}.university-label p{font-size:13px;color:var(--muted);margin:0}.featured .university-label h3{font-size:36px}.featured .university-label p{font-size:18px}.round-arrow{width:29px;height:29px;border-radius:50%;border:1px solid #ffffffb0;display:grid;place-items:center;background:#ffffff70;color:#516079;opacity:0;transition:opacity .2s}.round-arrow svg{width:15px}.university-card:hover .round-arrow,.university-card:focus-visible .round-arrow{opacity:1}.university-bottom{position:relative;z-index:2;display:flex;flex-direction:column;align-items:start;gap:15px;margin-top:12px}.pill{display:inline-block;padding:4px 10px;border-radius:100px;background:var(--badge,#e4eaf5);color:var(--badge-ink,#445573);font-size:11px;font-weight:550;line-height:1.4}.featured .pill{background:#c5e6df;color:#214d47}.card-action{background:linear-gradient(#3976ff,#1d54e5);color:#fff;border-radius:100px;padding:10px 17px;font-size:13px;display:flex;align-items:center;gap:10px;box-shadow:0 4px 12px #2459e925}.card-action svg{width:17px}
.tone-mint{--tint:#d8eeea80;--badge:#d1e9e4;--badge-ink:#28594e}.tone-peach{--tint:#ffe5d986;--badge:#ffe1cd;--badge-ink:#863c23}.tone-blue{--tint:#dbe8ff80;--badge:#d6e3ff;--badge-ink:#315285}.tone-sage{--tint:#e0eddf80;--badge:#dcebdc;--badge-ink:#3f6244}.tone-lilac{--tint:#eadcf880;--badge:#e7d8f4;--badge-ink:#654482}.tone-sand{--tint:#efeedb80;--badge:#e7ead7;--badge-ink:#57603b}
.campus-art{position:absolute;pointer-events:none;display:block;width:300px;aspect-ratio:1.5;background-image:url("/assets/campus-atlas.webp");background-size:300% 300%;background-repeat:no-repeat;right:-6px;bottom:-10px;z-index:-1;opacity:.8;mask-image:linear-gradient(to bottom,transparent 2%,#000 28%);-webkit-mask-image:linear-gradient(to bottom,transparent 2%,#000 28%)}
.art-0{background-position:0 0}.art-1{background-position:50% 0}.art-2{background-position:100% 0}.art-3{background-position:0 50%}.art-4{background-position:50% 50%}.art-5{background-position:100% 50%}.art-6{background-position:0 100%}.art-7{background-position:50% 100%}.art-8{background-position:100% 100%}
.featured .campus-art{width:125%;bottom:-3%;right:-10%;opacity:.9}.university-card:not(.featured) .campus-art{width:80%;max-width:330px;opacity:.57}.university-card:nth-child(5) .campus-art,.university-card:nth-child(8) .campus-art{width:65%;bottom:-26px;opacity:.68}
.filtered{grid-template-rows:auto;grid-template-columns:repeat(3,1fr)}.filtered .university-card{grid-column:auto;grid-row:auto;min-height:225px}.filtered .featured .campus-art{width:80%}.filtered .featured .university-label h3{font-size:24px}.filtered .featured .card-action{display:none}
.exam-feature{margin-top:22px;position:relative;display:flex;align-items:center;gap:40px;isolation:isolate;overflow:hidden;padding:25px 28px;min-height:143px}.exam-label{display:flex;gap:20px;align-items:center;color:var(--text);flex-shrink:0}.exam-label:hover{text-decoration:none}.exam-label h2{font-size:31px;margin:0 0 4px;display:flex;gap:16px;align-items:center}.exam-label h2 svg{width:20px}.exam-label p{margin:0;font-size:14px;color:var(--muted)}.exam-label .eyebrow{font-size:10px;margin-bottom:5px;display:block}.step-icon{width:57px;height:57px;border-radius:18px;background:var(--tint,#e9efff);display:inline-grid;place-items:center;font-weight:650;color:#5d6983;flex-shrink:0}.step-icon svg{width:28px;height:28px}.exam-feature .campus-art{width:340px;right:-5px;bottom:-45px;opacity:.4}.exam-how{border-left:1px solid var(--line);padding-left:30px;max-width:480px}.exam-how>p{font-size:12px;color:var(--muted);margin:0 0 15px}.exam-how>div{display:flex;align-items:center;gap:14px}.exam-how span{display:flex;gap:8px;align-items:center;max-width:115px;font-size:11px}.exam-how span svg{background:#e5eaff;border-radius:50%;padding:7px;width:32px;height:32px;color:#4a5a8c}.exam-how span:first-child svg{background:#ffe4d0;color:#99512d}.exam-how span:nth-of-type(2) svg{background:#d6eee4;color:#3e7b62}.exam-how i{font-style:normal;color:#7c8ca6}.browse-strip{display:flex;justify-content:center;gap:15px;font-size:13px;color:var(--muted);padding:26px 0}.browse-strip a{font-weight:600}.how-preview{padding:40px;display:grid;grid-template-columns:1fr 1.65fr;gap:50px;margin:28px 0 70px}.how-preview h2{font-size:27px}.how-preview .text-link{font-size:13px}.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.steps li>span{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:#e3edfb;color:#526587;font-size:12px;margin-bottom:14px}.steps h3{font-size:16px;letter-spacing:-.02em}.steps p{font-size:13px;color:var(--muted);margin:0}
.site-footer{border-top:1px solid #acb8cb35;padding:30px 0;display:flex;justify-content:space-between;align-items:center;gap:25px;font-size:12px;color:var(--muted);margin-top:60px}.site-footer p{margin:8px 0 0}.small-brand{font-size:18px}.footer-links{display:flex;gap:20px}.footer-links a{color:var(--muted)}.fine-print{font-size:10px;line-height:1.6;max-width:355px}
.breadcrumbs{display:flex;gap:12px;font-size:12px;color:var(--muted);padding:20px 0 28px}.breadcrumbs a{color:var(--muted)}.collection-hero{position:relative;isolation:isolate;overflow:hidden;padding:46px;min-height:235px;background:linear-gradient(120deg,#ffffffb5,var(--tint,#e5edff80))}.collection-hero>div{max-width:65%}.collection-hero h1{font-size:48px;margin-bottom:14px}.collection-hero p:not(.eyebrow){color:var(--muted);max-width:530px;margin:0}.collection-hero .campus-art{width:460px;bottom:-35px;opacity:.55}.catalog-tools{display:flex;align-items:center;gap:12px;padding:12px;margin:28px 0 36px;border-radius:18px}.catalog-tools>label{margin:0;min-width:140px}.catalog-tools .search-field{flex:1}.catalog-tools select{background:#ffffff60;border-color:transparent}.grid,.library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.note{padding:0;overflow:hidden;display:flex;flex-direction:column}.note-cover{display:block;position:relative;height:170px;background:linear-gradient(120deg,#ffffff50,var(--tint,#e2ebff));isolation:isolate;overflow:hidden;padding:22px}.note-cover .campus-art{width:300px;opacity:.5;bottom:-25px}.cover-icon{position:absolute;left:24px;bottom:24px;color:#4e6489}.cover-icon svg{width:35px;height:35px}.note-body{padding:24px;display:flex;flex-direction:column;flex:1}.note h3{font-size:22px;line-height:1.3}.note h3 a{color:var(--text)}.note .desc{font-size:14px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.note .foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px;gap:12px;margin-top:auto}.price{font-size:27px;font-weight:700;letter-spacing:-.04em}.collection-unlock{margin:45px auto 20px;max-width:620px}.empty{padding:60px 24px;text-align:center;grid-column:1/-1}.empty p{color:var(--muted);max-width:480px;margin:12px auto 24px}.empty-icon{display:block;margin-bottom:20px}.empty-icon svg{width:36px;height:36px;color:#647ca4}.empty .btn+.btn{margin-left:10px}.empty-page{text-align:center;padding:90px 24px;margin:55px auto;max-width:800px}.empty-page h1{font-size:44px;margin-top:20px}.empty-page .btn{margin:8px}.page-heading{padding:50px 0 35px}.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.guide-grid .card{background:linear-gradient(135deg,#ffffffa0,var(--tint));padding:35px}.guide-grid .step-icon{margin-bottom:25px}.guide-grid h2{font-size:25px}.guide-grid p{color:var(--muted)}.faq{max-width:900px;margin:55px auto}.faq details{border-top:1px solid var(--line);padding:20px 0}.faq summary{cursor:pointer;font-weight:600}.faq details p{margin:15px 0 0;color:var(--muted)}
.detail-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:55px;align-items:start;margin-top:10px}.detail-art{position:relative;isolation:isolate;min-height:480px;overflow:hidden;padding:40px;background:linear-gradient(145deg,#ffffffb0,var(--tint))}.detail-art h2{font-size:40px;max-width:330px}.detail-art .campus-art{width:110%;right:-5%;bottom:45px;opacity:.7}.detail-art>.pill{position:absolute;bottom:25px}.detail-copy{padding:10px 0}.detail-copy .eyebrow{margin-top:26px}.detail-copy h1{font-size:42px;line-height:1.12}.detail-description{white-space:pre-line;color:var(--muted)}.purchase-box{display:flex;align-items:center;justify-content:space-between;padding:22px;margin:25px 0}.purchase-box>div{display:flex;flex-direction:column;gap:2px}.benefits{list-style:none;padding:0;margin:25px 0}.benefits li{display:flex;gap:12px;align-items:center;font-size:14px;margin:14px 0}.benefits svg{color:#4f907e;width:18px}
.payment-dialog{padding:0;width:min(610px,calc(100% - 30px));max-height:90dvh;color:var(--text);background:rgba(249,251,255,.95);overflow:auto}.payment-dialog::backdrop{background:#14274770;backdrop-filter:blur(7px)}.dialog-inner{padding:32px}.dialog-inner h2{font-size:27px}.dialog-inner .section-head{margin-bottom:15px}.dialog-inner .eyebrow{margin:0}.payment-layout{display:grid;grid-template-columns:192px 1fr;gap:25px;align-items:center;margin:24px 0}.qr{background:#fff;min-height:192px;padding:14px;border-radius:15px;display:grid;place-items:center;border:1px solid var(--line)}.qr img{max-width:100%}.upi{display:flex;gap:10px;align-items:center;background:#eaf0fb;padding:10px;border-radius:12px;font-size:13px;overflow-wrap:anywhere}.upi>span{min-width:0;flex:1}.dialog-actions{display:flex;gap:12px;flex-wrap:wrap}.dialog-actions .btn{flex:1}.payment-note{display:flex;gap:12px;margin:24px 0 12px;padding:18px;background:#e8f0fc;border-radius:12px;font-size:13px;color:var(--muted)}.payment-note p{margin:0}.payment-note svg{color:#5273ad}.payment-warning{padding:12px;background:#fff0d9;color:#77521b;font-size:13px;border-radius:12px}.modal-open{overflow:hidden}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;padding:14px 25px;background:#fff;color:var(--text);font-size:14px;max-width:calc(100vw - 32px)}
/* Administration shares the same surfaces and forms. */
.admin-intro{display:flex;justify-content:space-between;align-items:center;padding:30px 0 26px}.admin-intro h1{font-size:37px;margin-bottom:8px}.admin-intro p{color:var(--muted);margin:0}.admin-login{max-width:450px;margin:45px auto 80px;padding:40px}.admin-login .step-icon{margin-bottom:25px}.admin-login h2{font-size:30px}.admin-login input{margin-bottom:15px}.tabs{display:flex;gap:8px;width:max-content;padding:6px;margin:0 0 24px;border-radius:15px}.tabs .btn{border:0;background:transparent}.tabs .btn[aria-selected=true]{background:#fff;color:var(--accent);box-shadow:0 3px 12px #4b659015}.two{display:grid;grid-template-columns:350px minmax(0,1fr);gap:24px;align-items:start}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:14px 9px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}th{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}td .row{gap:6px}td .btn.sm{font-size:11px}.mono{font:13px ui-monospace,Consolas,monospace}.pill.ok{background:#dcefe6;color:#266548}.pill.bad{background:#fce3e5;color:#912f42}.checks{display:grid;gap:8px;max-height:200px;overflow:auto;padding:12px;border:1px solid var(--line);border-radius:12px;background:#ffffff50}.checks label{display:flex;gap:8px;align-items:center;margin:0;font-size:12px;font-weight:500}.progress{height:5px;border-radius:9px;background:#e5eaf5;overflow:hidden;margin:14px 0}.progress div{height:100%;width:0;background:var(--accent);transition:width .2s}.thumbs{display:flex;gap:8px;overflow-x:auto;margin-top:20px}.thumbs img{height:100px;border:1px solid var(--line);border-radius:8px}.issued{background:#e0f1ea;border:1px solid #c7e3d5;border-radius:15px;padding:20px;margin-top:20px}.issued .mono{font-size:23px;font-weight:700;margin:7px 0;color:#246047}.admin-notice{margin:0 0 20px}.field-help{font-size:11px;color:var(--muted);margin-top:5px}
/* Reading surface is opaque; glass stays on controls, not on paid content. */
#page-jump{width:130px;min-height:36px;padding:7px 12px;font-size:13px}
.reader-toolbar>.row{flex-wrap:nowrap}
.reader-toolbar{position:sticky;top:12px;z-index:10;margin:15px auto 20px;padding:13px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:18px}.reader-toolbar .toolbar-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:600}.reader-toolbar .row{flex-shrink:0}.reader-heading{padding:30px 0}.reader-heading h1{font-size:38px}.library .note{padding:28px;position:relative;isolation:isolate;min-height:210px;color:var(--text);overflow:hidden;background:linear-gradient(135deg,#ffffffaa,var(--tint,#e6ecff))}.library .note:hover{text-decoration:none;box-shadow:0 8px 25px #31538815}.library .note .campus-art{opacity:.22;width:230px}.library .note h3{margin:15px 0;max-width:90%}.library .note .subject{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#506480}.pages{display:flex;flex-direction:column;align-items:center;gap:22px;padding:12px 0 70px}.page{position:relative;width:min(860px,100%);background:#fff;border-radius:6px;box-shadow:0 5px 30px #253d5c14;overflow:hidden}.page canvas{display:block;width:100%;height:auto;pointer-events:none}.page .ph{aspect-ratio:1/1.414;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:var(--muted);font-size:14px}.page .shield{position:absolute;inset:0;pointer-events:none}.reader-body{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.reader-error{padding:24px}.reader-tools select{width:auto}.locked-icon{margin-bottom:25px;color:#537bc9}.locked-icon svg{width:38px;height:38px}
@supports not (backdrop-filter:blur(1px)){.glass,.card{background:#f9fbff}.university-card{background:linear-gradient(135deg,#fff,var(--tint))}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}.university-card:hover{transform:none}}
@media (prefers-reduced-transparency:reduce){.glass,.card{backdrop-filter:none;background:#f9fbff}}
@media(max-width:1150px){.wrap{width:calc(100% - 48px)}.site-header{flex-wrap:wrap}.nav-pill{order:2;width:100%;justify-content:center}.home-hero{grid-template-columns:1fr 1fr;gap:25px}.redeem-inline label{width:100%}.home-hero h1{font-size:47px}.university-grid{grid-template-columns:1.2fr 1fr 1fr;grid-template-rows:repeat(3,190px)}.university-card.featured{grid-row:1/3}.university-card:nth-child(n+5){grid-column:auto}.university-card:nth-child(8){grid-column:2/4}.university-card:not(.featured) .campus-art{width:90%}.exam-feature{gap:25px}.exam-feature>.campus-art{opacity:.18}.exam-how{padding-left:25px}.two{grid-template-columns:310px minmax(0,1fr)}.two>.card{padding:20px}.grid{grid-template-columns:repeat(2,1fr)}.site-footer{flex-wrap:wrap}.fine-print{max-width:100%}.how-preview{grid-template-columns:1fr;gap:28px}.detail-layout{gap:30px}.detail-copy h1{font-size:34px}.catalog-tools{flex-wrap:wrap}.catalog-tools .search-field{min-width:100%}.filtered{grid-template-columns:repeat(2,1fr);grid-template-rows:auto}.filtered .university-card,.filtered .university-card:nth-child(n){grid-column:auto;grid-row:auto}}
@media(max-width:760px){.wrap{width:calc(100% - 32px)}.site-header{flex-wrap:wrap;gap:15px;padding:20px 0 10px}.brand{font-size:23px}.nav-pill{width:100%;justify-content:space-around;order:2}.nav-pill a{padding:10px 14px;font-size:12px}.home-hero{display:block;padding:30px 0 22px}.home-hero h1{font-size:42px}.home-hero .eyebrow{font-size:9px}.hero-copy{font-size:16px}.hero-side{padding-top:0}.hand-note{display:none}.redeem-inline{gap:8px;padding:12px}.redeem-inline label{width:100%;font-size:12px}.redeem-inline .btn{font-size:11px;padding-inline:12px}.redeem-inline .btn svg{display:none}.directory-head{align-items:start;gap:12px;flex-direction:column;margin-top:10px}.directory-head h2{font-size:23px}.search-field{min-width:0;width:100%}.university-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:12px}.university-card,.university-card:nth-child(n){grid-column:auto;grid-row:auto;min-height:184px;padding:17px 14px}.university-card.featured{grid-column:1/-1;min-height:280px;padding:25px}.featured .university-label h3{font-size:34px}.featured .campus-art{width:65%;max-width:370px;right:-12px;bottom:-25px}.university-card:not(.featured) .campus-art{width:110%;bottom:-8px;right:-12px;opacity:.45}.university-card:nth-child(8){grid-column:auto}.university-label h3{font-size:16px;line-height:1.15}.university-label p{font-size:11px}.university-bottom .pill{font-size:9px;padding:4px 8px}.featured .pill{font-size:11px}.round-arrow{display:none}.exam-feature{display:block;padding:22px;min-height:245px}.exam-label{gap:15px}.exam-label h2{font-size:30px}.exam-label .step-icon{width:48px;height:48px}.exam-how{border-left:0;border-top:1px solid var(--line);padding:18px 0 0;margin-top:20px}.exam-how>div{gap:10px}.exam-feature .campus-art{width:230px;opacity:.17;bottom:-25px}.browse-strip{flex-direction:column;gap:5px;text-align:center}.how-preview{padding:25px;margin-top:10px;margin-bottom:40px}.how-preview h2{font-size:25px}.steps{grid-template-columns:1fr;gap:22px}.steps li{position:relative;padding-left:48px}.steps li>span{position:absolute;left:0;top:0}.site-footer{align-items:start;flex-direction:column;gap:18px;margin-top:40px}.site-footer .fine-print{font-size:10px}.footer-links{gap:25px}.collection-hero{padding:30px 24px;min-height:270px}.collection-hero>div{max-width:100%}.collection-hero h1{font-size:37px}.collection-hero p:not(.eyebrow){font-size:14px}.collection-hero .campus-art{width:280px;opacity:.2}.catalog-tools>label{flex:1;min-width:130px}.grid,.library{grid-template-columns:1fr}.collection-unlock{margin-top:30px}.section-head{gap:15px;flex-wrap:wrap}.section-head h2{font-size:24px}.detail-layout{grid-template-columns:1fr;gap:25px}.detail-art{min-height:290px;padding:30px}.detail-art h2{font-size:31px}.detail-art .campus-art{width:80%;right:-8%;bottom:25px}.detail-copy h1{font-size:35px}.purchase-box{padding:18px;gap:10px}.purchase-box .btn{padding-inline:14px}.guide-grid{grid-template-columns:1fr}.page-heading{padding:35px 0 15px}.page-heading h1{font-size:38px}.guide-grid .card{padding:26px}.faq{padding:25px}.two{grid-template-columns:1fr}.admin-intro{align-items:start;gap:20px;flex-direction:column}.admin-intro h1{font-size:31px}.admin-login{padding:28px}.two>.card{padding:22px}.payment-layout{grid-template-columns:1fr;gap:15px}.qr{width:192px;margin:auto}.dialog-inner{padding:24px}.dialog-actions{flex-direction:column}.reader-toolbar{padding:10px 12px;gap:10px;flex-wrap:wrap;top:5px}.reader-toolbar .toolbar-name{max-width:100%;width:100%;font-size:13px}.reader-toolbar .btn{min-height:34px;font-size:11px;padding:7px 11px}.reader-toolbar .row{justify-content:space-between;width:100%}.reader-heading h1{font-size:31px}.reader-tools select{font-size:12px}.empty-page{padding:55px 22px}.empty-page h1{font-size:34px}.filtered .university-card:nth-child(n){grid-column:auto;min-height:200px}.filtered .featured .campus-art{width:110%}}
@media print{.reader-body *{display:none!important}.reader-body::after{content:"Printing is disabled for licensed notes.";display:block;position:static;width:auto;height:auto;border:0;box-shadow:none}}

/* Launch readiness: payment setup, readable forms and mobile purchase flow. */
.payment-image-preview{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;text-align:center;margin:20px 0}.payment-image-preview img{display:block;max-width:100%;max-height:380px;object-fit:contain;margin:auto}.qr.has-screenshot{width:100%;gap:12px;align-self:start}.qr.has-screenshot img{width:100%;height:auto;max-height:380px;object-fit:contain}.qr.has-screenshot p{margin:0;text-align:left}.payment-layout:has(.has-screenshot){grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start}.purchase-terms{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.purchase-terms h3{font-size:18px}.purchase-terms dl{margin:0}.purchase-terms dl>div{display:flex;justify-content:space-between;gap:18px;margin:10px 0;font-size:14px}.purchase-terms dt{color:var(--muted);flex-shrink:0}.purchase-terms dd{margin:0;text-align:right;overflow-wrap:anywhere}.policy-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65}.setup-checklist{list-style:none;padding:0;font-size:14px;line-height:1.9}.tabs{flex-wrap:wrap}.two>*{min-width:0}#payment-form .row>div{flex:1;min-width:100px}#payment-checklist{overflow-wrap:anywhere}#admin-note-search{margin-bottom:18px}.payment-dialog{overscroll-behavior:contain}summary{cursor:pointer}.field-help{line-height:1.6}
@media(max-width:760px){input,select,textarea{font-size:16px}.nav-pill a{font-size:13px;padding:11px 9px}.redeem-inline .btn{font-size:13px;min-height:44px}.university-label p{font-size:13px}.university-bottom .pill{font-size:11px}.site-footer .fine-print{font-size:12px}.payment-layout:has(.has-screenshot){grid-template-columns:1fr}.qr.has-screenshot{max-width:340px}.dialog-inner{padding:20px}.payment-dialog{width:calc(100% - 20px);max-height:92dvh}.dialog-actions .btn{min-height:46px}.purchase-terms dl>div{display:block}.purchase-terms dd{text-align:left;margin-top:4px}.tabs .btn{flex:1;font-size:13px;padding:12px 8px}.reader-toolbar>.row{flex-wrap:wrap}.reader-toolbar #page-jump{font-size:14px;min-height:40px}.reader-toolbar .btn{font-size:13px;min-height:40px}}
@media(max-width:360px){.home-hero h1{font-size:36px}.nav-pill a{font-size:12px;padding-inline:7px}.redeem-inline input{width:100%;flex-basis:100%}.redeem-inline .btn{width:100%}.university-grid{grid-template-columns:1fr}.university-card.featured{grid-column:auto}.university-card:nth-child(n){min-height:200px}}
/* Consistent spacing between fields, actions and status metadata. */
.form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px}
.form-actions>.btn{max-width:100%}
.admin-login input{margin-bottom:0}
form>input,form>select,form>textarea{display:block}
form>input[type=file]+p{margin-top:10px}
form>.row>div{min-width:0}
#upload-status:not(:empty){margin:12px 0;line-height:1.6}
#payment-image-form>.row{margin-top:20px}
#payment-image-status:empty,#payment-image-error:empty,#payment-settings-status:empty{display:none}
.mono{font-family:ui-monospace,Consolas,monospace;font-size:13px;line-height:1.6}
.code-identity{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.code-identity>.mono{white-space:nowrap}
.pill{vertical-align:middle}
td>.muted,td>.small{margin-top:6px;line-height:1.6}
.table-actions{align-items:flex-start}
.table-wrap+p{margin-top:16px}
.checks label{align-items:flex-start;line-height:1.6}
.checks input[type=checkbox]{flex:0 0 17px;margin:2px 0 0}
.tabs{max-width:100%;width:fit-content}
.footer-links,.breadcrumbs{flex-wrap:wrap;row-gap:12px}
.note .foot,.purchase-box{flex-wrap:wrap;gap:16px}
.note h3,.detail-copy h1,.detail-art h2,.collection-hero h1{overflow-wrap:anywhere}
.dialog-actions{margin-top:20px}
.icon-btn{flex-shrink:0}
.payment-layout>*{min-width:0}
.qr{max-width:100%}
.issued .mono{overflow-wrap:anywhere;line-height:1.5}
@media(max-width:760px){
  .tabs{width:100%}
  .tabs .btn{flex:1 1 90px;min-width:0}
  .reader-toolbar>.row{min-width:0;flex-shrink:1;gap:10px}
  .exam-how>div{flex-wrap:wrap;row-gap:12px}
  .footer-links{gap:12px 20px}
  .form-actions>.btn{min-height:44px}
  .empty .btn+.btn{margin:12px 0 0}
}
/* MJPRU: course → semester → one bilingual pack. */
.journey{display:flex;align-items:center;gap:16px;margin:30px 0;color:var(--muted);font-size:13px;flex-wrap:wrap}.journey>a,.journey>span:not(.journey-line){display:flex;align-items:center;gap:9px;color:inherit}.journey>a>span,.journey>span>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e8edf5;color:#53637b;flex-shrink:0}.journey [aria-current=step]{font-weight:650;color:var(--accent)}.journey [aria-current=step]>span{background:var(--accent);color:#fff}.journey-line{width:40px;height:1px;background:var(--line)}
.choice-heading{margin:30px 0 22px}.choice-heading h2{margin-bottom:8px}.choice-heading p{color:var(--muted);margin:0}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.choice-card{display:flex;flex-direction:column;padding:30px;color:var(--text);background:linear-gradient(140deg,#ffffffb0,var(--tint));transition:transform .2s,box-shadow .2s}.choice-card:hover{text-decoration:none;transform:translateY(-4px);box-shadow:0 15px 35px #31497318}.choice-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px}.choice-number{display:grid;place-items:center;width:43px;height:43px;border:1px solid #fff;background:#ffffff80;border-radius:14px;font-size:14px;color:var(--muted)}.choice-card h2{font-size:42px;margin-bottom:10px}.choice-card .eyebrow{margin-bottom:9px}.choice-card p{font-size:14px;color:var(--muted)}.choice-card .course-full-name{font-weight:600;color:var(--text);min-height:44px}.choice-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:auto;padding-top:22px;border-top:1px solid var(--line);font-size:13px}.choice-bottom .pill{font-size:12px}
.semester-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.semester-card{display:flex;align-items:center;gap:22px;padding:24px;color:var(--text);background:linear-gradient(120deg,#ffffffa0,var(--tint));transition:transform .2s}.semester-card:hover{text-decoration:none;transform:translateY(-3px)}.semester-card>div{flex:1;min-width:0}.semester-card h3{margin-bottom:6px;font-size:23px}.semester-card p{font-size:14px;color:var(--muted);margin-bottom:4px}.semester-number{font-size:38px;line-height:1;color:var(--badge-ink);opacity:.7;font-weight:650;letter-spacing:-.04em;min-width:48px}
.bilingual-banner{display:flex;align-items:center;gap:16px;padding:22px 26px;border:1px solid #fff;border-radius:18px;background:#ffffff78;margin:28px 0;color:#355f58}.bilingual-banner>div{flex:1}.bilingual-banner strong,.bilingual-banner span:not(.pill){display:block}.bilingual-banner span:not(.pill){font-size:14px;color:var(--muted);margin-top:5px}.bilingual-banner .pill{font-size:12px}.language-included{display:flex;gap:8px;align-items:center;color:#316356;font-size:13px;font-weight:600;line-height:1.5}.language-included svg{width:17px;height:17px}.edition-counts{margin:14px 0 22px;line-height:1.8}.price-pending{font-size:15px;font-weight:650;color:#53637b}.pack-cover{display:flex;gap:20px;align-items:center;height:205px;padding:20px 24px}.pack-cover>img{width:100px;height:150px;object-fit:contain;box-shadow:6px 6px 15px #26364f20;border-radius:3px}.pack-cover-copy{display:flex;flex-direction:column;gap:6px;color:var(--text);min-width:0;font-size:13px}.pack-cover-copy .eyebrow{margin:0;font-size:10px}.pack-cover-copy strong{font-size:24px;letter-spacing:-.03em;line-height:1.2}.pack-cover-copy>span:last-child{color:var(--muted)}.note.card{padding:0}.note-body>.eyebrow{margin-bottom:10px}.note-body h3{margin-bottom:14px}.note .foot .price-pending{font-size:14px}
.edition-gallery{padding:30px;min-height:0}.book-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:25px 0 28px}.book-pair figure{margin:0;min-width:0}.book-pair img{display:block;width:100%;height:auto;aspect-ratio:1/1.414;object-fit:contain;border-radius:4px;box-shadow:5px 8px 20px #14274722;background:#fff}.book-pair figcaption{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:14px;font-size:14px;font-weight:650}.book-pair figcaption span{font-size:12px;color:var(--muted);font-weight:400}.included-editions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.included-editions .pill{font-size:13px;background:#e5eee9;color:#355c50}.purchase-box button:disabled{cursor:not-allowed}.pending-price{display:flex;align-items:flex-start;gap:10px;margin:18px 0;font-size:13px;line-height:1.6}.pending-price input{flex:0 0 17px;margin-top:2px}.reader-toolbar #edition-select{width:auto;max-width:100%;font-size:14px}.reader-toolbar .row{flex-shrink:1}
@media(max-width:1000px){.course-grid{gap:16px}.choice-card{padding:24px}.detail-layout{gap:28px}.pack-cover{gap:14px;padding:18px}.pack-cover-copy strong{font-size:21px}}
@media(max-width:760px){.course-grid,.semester-grid{grid-template-columns:1fr}.choice-top{margin-bottom:22px}.choice-card .course-full-name{min-height:0}.choice-card h2{font-size:36px}.choice-bottom{margin-top:8px}.journey{gap:12px;font-size:12px;align-items:flex-start}.journey-line{display:none}.journey>a,.journey>span:not(.journey-line){flex:1;flex-direction:column;text-align:center;gap:6px;line-height:1.4;min-width:65px}.bilingual-banner{align-items:flex-start;padding:20px;flex-wrap:wrap}.bilingual-banner .pill{margin-left:37px}.semester-card{gap:16px;padding:22px 20px}.semester-number{font-size:33px;min-width:40px}.semester-card h3{font-size:21px}.semester-card p{font-size:13px}.edition-gallery{padding:23px}.book-pair{gap:16px;margin-top:20px}.book-pair figcaption{font-size:13px}.reader-toolbar #edition-select{font-size:14px;min-height:40px;flex:1}.reader-toolbar #page-jump{flex:1;min-width:120px}.reader-toolbar #back,.reader-toolbar #logout{flex:1}.choice-heading h2{font-size:25px}.pack-cover>img{width:100px}.breadcrumbs{line-height:1.7}}
.pack-results{grid-template-columns:repeat(2,minmax(0,1fr))}.single-pack{grid-template-columns:1fr;max-width:900px}.single-pack .note{display:grid;grid-template-columns:1fr 1.15fr}.single-pack .pack-cover{height:100%;min-height:270px;padding:28px}.single-pack .pack-cover>img{width:130px;height:190px}.single-pack .note-body{padding:30px}.pack-contents{margin-top:40px;padding:30px;display:grid;grid-template-columns:1fr 1.2fr;gap:35px}.pack-contents h2{font-size:26px}.pack-contents summary{padding:14px 18px;background:#ffffff80;border:1px solid var(--line);border-radius:12px;color:var(--accent);font-weight:600;font-size:14px}.pack-contents ol{list-style:none;padding:0;margin:15px 0 0}.pack-contents li{display:flex;justify-content:space-between;gap:20px;padding:13px 3px;border-bottom:1px solid var(--line);font-size:14px}.pack-contents li>span:last-child{white-space:nowrap;font-size:12px}.pack-contents li>span:first-child{overflow-wrap:anywhere}
@media(max-width:760px){.pack-results,.single-pack .note,.pack-contents{grid-template-columns:1fr}.single-pack .pack-cover{min-height:0;height:205px;padding:22px}.single-pack .pack-cover>img{width:100px;height:150px}.single-pack .note-body{padding:24px}.pack-contents{padding:24px;gap:15px}.pack-contents h2{font-size:24px}}
.checks .pack-choice-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.pack-choice-copy strong{font-size:13px;font-weight:600;line-height:1.5}.pack-choice-copy .small{font-size:12px;line-height:1.5}.checks label{padding:5px 0}
/* Four-course universities retain the spacious glass card layout. */
.course-grid.four-courses{grid-template-columns:repeat(2,minmax(0,1fr))}.four-courses .choice-top{margin-bottom:24px}.four-courses .course-full-name{min-height:0}
@media(max-width:760px){.course-grid.four-courses{grid-template-columns:1fr}}

/* Judiciary papers stay separate from university courses. */
.exam-stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.exam-paper-grid .semester-card{align-items:flex-start}.exam-paper-grid h3{font-size:22px;line-height:1.3}.exam-paper-grid .eyebrow{display:block;margin-bottom:9px}.exam-paper-grid .semester-card>svg{flex-shrink:0}.exam-stage-grid .choice-bottom svg{width:16px;vertical-align:middle}.provided-preview{padding:30px;margin-top:35px}.provided-preview h2{font-size:26px}.preview-controls{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:18px}.preview-controls label{min-width:140px}.provided-preview summary{cursor:pointer;color:var(--accent);padding:14px 0;font-weight:600}.provided-preview img{display:block;width:min(760px,100%);height:auto;margin:18px auto 0;border:1px solid var(--line);border-radius:8px}.provided-preview img:not([src]){display:none}
@media(max-width:760px){.exam-stage-grid{grid-template-columns:1fr;gap:16px}.provided-preview{padding:22px}.exam-paper-grid h3{font-size:20px}.exam-paper-grid .semester-number{font-size:28px;min-width:32px}.preview-controls{gap:12px}.preview-controls label{flex:1;min-width:105px}}
/* Question reader: a single readable column, independent of book-content grids. */
.question-bank,.question-bank .question-card{display:block;min-width:0}
.question-bank{line-height:1.75;text-align:center}
.question-bank>p,.question-bank>h1,.question-bank>h2{max-width:80ch;margin-left:auto;margin-right:auto}
.question-bank .question-controls{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:28px 0 16px}
.question-bank .question-controls label{display:grid;gap:8px;min-width:0}
.question-bank .question-controls input,.question-bank .question-controls select{width:100%;min-width:0;text-align:center}
.question-bank details{margin-top:16px;min-width:0}
.question-bank summary{cursor:pointer;line-height:1.6}
.question-bank h4{font-size:18px;margin:22px 0 8px}
.question-bank .question-card{border:1px solid var(--line);border-radius:18px;margin-top:24px;background:#ffffff55}
.question-bank ol{list-style:decimal inside;padding-left:0}
.question-bank ul{list-style:disc inside;padding-left:0}
.question-bank details>p,.question-bank details>ul,.question-bank details>ol,.question-bank .question-long-answer,.question-bank .question-recall{max-width:76ch;margin-left:auto;margin-right:auto}
.question-bank li{display:list-item;padding:8px 0;font-size:16px;border:0;overflow-wrap:anywhere}
.question-bank p{font-size:16px}
.question-bank .small{font-size:14px}
.question-bank .question-recall{padding:16px 20px;margin:20px auto;background:#e8efffa8;border-left:3px solid var(--accent);border-radius:8px}
.question-bank .question-recall p{margin:6px 0 0}
.question-answer-text{white-space:pre-line}
.question-coverage{margin:24px 0}
.redeem-inline{justify-content:space-between;gap:16px;padding:16px 20px}
.redeem-inline>span{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted)}
.redeem-inline>span svg{width:20px;height:20px;flex-shrink:0;color:var(--accent)}
.redeem-inline>.btn{margin-left:auto;flex-shrink:0;min-height:44px}
@media(max-width:480px){.redeem-inline{padding:14px;gap:12px}.redeem-inline>span{font-size:13px}.redeem-inline>.btn{font-size:13px;padding-inline:14px}}
.pages.two-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}
.pages.two-pages .page{width:100%;min-width:0}
.reader-toolbar{flex-wrap:wrap}
.reader-toolbar>.row{flex-wrap:wrap;gap:8px}
.reader-toolbar #page-layout{width:auto;max-width:100%;font-size:14px;min-height:40px}
.reader-toolbar #page-prev,.reader-toolbar #page-next{flex:0 0 40px;min-width:40px}
.reader-toolbar button:disabled{opacity:.45;cursor:default}
@media(max-width:760px){
  .pages.two-pages{gap:8px}
  .reader-toolbar>.row{display:grid;grid-template-columns:40px minmax(0,1fr) minmax(0,1fr) 40px;grid-template-areas:"back back logout logout" "edition edition edition edition" "layout layout questions questions" "prev jump jump next";width:100%}
  .reader-toolbar #back{grid-area:back}.reader-toolbar #logout{grid-area:logout}
  .reader-toolbar #edition-select{grid-area:edition}.reader-toolbar #page-layout{grid-area:layout}.reader-toolbar #reader-questions{grid-area:questions}
  .reader-toolbar #page-prev{grid-area:prev}.reader-toolbar #page-next{grid-area:next}.reader-toolbar #page-jump{grid-area:jump}
  .reader-toolbar #page-layout,.reader-toolbar #page-jump,.reader-toolbar #edition-select{width:100%;min-width:0;font-size:14px}
}
.secure-checkout .section-head{justify-content:flex-end;margin-bottom:8px}
.secure-checkout .section-head .eyebrow{display:none}
.secure-checkout #buy-title{font-size:24px;line-height:1.35;margin:0;overflow-wrap:anywhere}
.secure-checkout .purchase-terms{margin-top:20px;padding-top:18px}
.secure-checkout .language-included{margin:0 0 16px;font-size:14px}
.secure-checkout .checkout-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.secure-checkout .checkout-facts>div{display:block;margin:0}
.secure-checkout .checkout-facts dt{font-size:12px;margin-bottom:4px}
.secure-checkout .checkout-facts dd{text-align:left;margin:0;font-weight:600;font-size:14px}
.secure-checkout .purchase-terms>p.small{margin:16px 0 12px;font-size:13px}
.secure-checkout details{font-size:13px;margin:12px 0}
.secure-checkout summary{padding:6px 0}
.gateway-panel{margin-top:22px}
#gateway-pay{display:flex;width:100%;min-height:52px;justify-content:center;font-size:16px}
#gateway-description{margin:12px 0 0;text-align:center;font-size:12px;line-height:1.5}
#gateway-status{margin:16px 0 8px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
#gateway-status:empty,#gateway-status:empty+.text-link{display:none}
.gateway-panel>.text-link{display:inline-block;margin-top:4px}
@media(max-width:760px){.question-bank .question-controls{grid-template-columns:1fr;gap:16px}.question-bank .question-card{padding:18px}.question-bank h1{font-size:28px;overflow-wrap:anywhere}.question-bank h3{font-size:21px}.question-bank .btn{white-space:normal}}

.account-panel{max-width:850px;margin:32px auto;padding:clamp(20px,4vw,40px)}.account-panel label,.order-proof label{display:grid;gap:8px;margin:16px 0}.account-panel input,.order-proof input{max-width:100%;min-width:0}.account-panel .row{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.order-card{padding:20px;margin:18px 0;overflow-wrap:anywhere}.order-card label{display:flex;align-items:flex-start}.order-card input[type=checkbox]{width:auto}.order-proof{margin-top:24px}.order-proof button{margin-top:16px}.account-panel [hidden]{display:none!important}
.auth-shell{max-width:460px;margin:48px auto;padding:40px 36px}.auth-shell.is-account-home{max-width:850px}.auth-heading{text-align:center;margin-bottom:34px}.auth-heading h1{font-size:32px;line-height:1.2;letter-spacing:-.04em;margin:0 0 16px}.auth-heading p{font-size:15px;line-height:1.6;color:var(--muted);margin:0}.auth-shell .auth-field{position:relative;display:block;margin:24px 0}.auth-field>span{position:absolute;top:-10px;left:20px;padding:0 6px;background:var(--bg);color:var(--muted);font-size:13px;line-height:20px;z-index:1}.auth-shell .auth-field input{width:100%;min-height:56px;border-radius:30px;padding:15px 22px;font-size:16px;background:rgba(255,255,255,.48)}.auth-shell .auth-password input{padding-right:76px}.auth-password button{position:absolute;right:12px;top:8px;min-height:40px;border:0;background:transparent;color:var(--accent);font:inherit;font-size:13px;padding:8px;cursor:pointer;border-radius:20px}.auth-shell .auth-submit,.auth-shell .auth-secondary{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;border-radius:30px;font:600 15px var(--font);padding:14px 20px;margin-top:24px;cursor:pointer}.auth-shell .auth-submit{background:linear-gradient(180deg,#3672ff,#1c4ede);color:var(--accent-ink);border:1px solid transparent;box-shadow:0 5px 16px #2459e925,inset 0 1px 1px #ffffff50}.auth-shell button:disabled{opacity:.55;cursor:wait}.auth-edit{display:block;text-align:center;font-size:14px;margin:-8px 0 30px}.auth-hint{font-size:13px;color:var(--muted);margin:-12px 0 26px}.auth-divider{display:flex;align-items:center;gap:16px;margin:30px 0;color:var(--muted);font-size:12px}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--line);flex:1}.auth-divider+.auth-secondary{margin-top:0}.auth-help{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:20px 0}.auth-help button{background:none;border:0;color:var(--accent);text-decoration:underline;cursor:pointer;font:13px var(--font);padding:6px}.auth-legal{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:44px;font-size:12px;color:var(--muted)}.auth-legal a{color:var(--muted);text-decoration:underline}.auth-status{padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--accent-soft);font-size:14px;line-height:1.5;overflow-wrap:anywhere;margin:0 0 24px}.auth-status.error{color:var(--warn);background:#fff0f2}@media(max-width:480px){.auth-shell{padding:30px 20px;margin:26px auto}.auth-heading h1{font-size:29px}.auth-heading{margin-bottom:30px}}
/* Night reading affects the reader and its rendered pages, not source PDFs. */
body.reader-dark{color-scheme:dark;--bg:#11151e;--text:#e5eaf4;--muted:#b2bdd1;--line:#384358;--accent:#9cbaff;--glass:#1b2230;--shadow:none;background:#11151e;color:var(--text)}
.reader-dark::before,.reader-dark::after{display:none}
.reader-dark .glass,.reader-dark .question-card,.reader-dark .library .note{background:#1b2230;box-shadow:none;border-color:var(--line)}
.reader-dark .btn,.reader-dark input,.reader-dark select,.reader-dark summary{background:#252e40;color:var(--text);border-color:var(--line);box-shadow:none}
.reader-dark .btn.primary{background:#315cbb;color:#fff}
.reader-dark .question-bank .question-recall{background:#25334d}
.reader-dark .page{background:#161b25}
.reader-dark .page canvas{filter:invert(.9) hue-rotate(180deg)}
.reader-dark .library .note .subject{color:var(--muted)}
@media(max-width:760px){.reader-toolbar #reader-theme{grid-column:1 / -1;min-height:40px}}
.reader-dark .eyebrow,.reader-dark nav a,.reader-dark .site-header a,.reader-dark [data-header] a{color:var(--muted)}
.reader-dark nav a.active{background:#25334d;color:#dbe7ff}
.question-language{display:grid;gap:8px;max-width:300px;margin:24px auto}.question-language select{text-align:center}
.question-bank [lang=hi]{line-height:1.95}
.question-bank .answer-diagram{max-width:640px;margin:28px auto;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--glass)}
.answer-diagram figcaption{font-weight:700;margin-bottom:16px}
.question-bank .answer-diagram ol{list-style:none;display:grid;gap:24px;margin:0}
.question-bank .answer-diagram li{position:relative;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.answer-diagram li:not(:last-child)::after{content:'↓';position:absolute;top:100%;left:50%;transform:translateX(-50%);line-height:24px;color:var(--accent)}
.reader-dark .answer-diagram li{background:#252e40}
.question-bank .answer-graph{display:block;width:100%;max-width:620px;height:auto;margin:24px auto;color:var(--text)}
.answer-graph-wrap{max-width:100%;overflow-x:auto}
.question-long-answer p{white-space:pre-line}
.answer-graph-hint{display:none}
@media(max-width:600px){.question-bank .answer-graph{min-width:460px}.answer-graph-hint{display:block}}
/* Drafting uses the same glass surfaces and category colours as the store. */
.drafting-feature{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px;margin:28px 0}.drafting-feature p{max-width:680px}.drafting-feature h2{margin:8px 0}.drafting-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:28px;margin:30px 0 60px;align-items:start}.drafting-categories{border:0;padding:0;margin:0;display:grid;gap:14px;min-width:0}.drafting-card{padding:22px;min-width:0}.drafting-choice{display:flex;align-items:flex-start;gap:16px;cursor:pointer}.drafting-choice input{width:22px;height:22px;flex:0 0 22px;margin-top:5px;accent-color:#2457ef}.drafting-choice strong{display:block;font-size:1.3rem;margin-bottom:5px}.drafting-choice span span{font-size:.85rem;color:var(--muted,#55647b)}.drafting-card:has(input:checked){outline:2px solid #2457ef;outline-offset:1px}.drafting-card-links{padding-left:38px;margin-top:12px;display:flex;gap:18px;flex-wrap:wrap;font-size:.85rem}.drafting-card details{max-width:100%;overflow-wrap:anywhere}.drafting-card details ul{padding-left:18px;max-height:300px;overflow:auto}.drafting-card li{margin:8px 0}.drafting-selection{margin:20px 0;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px}.drafting-selection strong{display:block;font-size:2rem;margin:5px 0}.drafting-selection .small{display:block}.drafting-cart{position:sticky;top:24px;padding:28px;min-width:0}.drafting-cart h2{font-size:1.55rem;margin:12px 0 24px}.drafting-cart ul{list-style:none;padding:0}.drafting-cart li{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #d6deed}.drafting-cart li button{font-size:.8rem;flex-shrink:0;background:none;border:0;cursor:pointer}.cart-total{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0}.cart-total strong{font-size:2rem}.drafting-cart>.btn{width:100%;margin-top:12px}.drafting-tiers{padding:24px}.drafting-tiers h3{margin-top:0}.drafting-tiers #drafting-prices{display:flex;flex-wrap:wrap;gap:20px}.drafting-tiers #drafting-prices>div{flex:1;min-width:88px}.drafting-tiers strong{display:block;font-size:1.2rem;margin-top:5px}.drafting-tiers span{font-size:.8rem}.drafting-choice:has(input:disabled){opacity:.55;cursor:default}#drafting-status:empty{display:none}
@media(max-width:900px){.drafting-layout{grid-template-columns:1fr}.drafting-cart{position:static}.drafting-feature{align-items:flex-start;flex-direction:column}.site-header{flex-wrap:wrap;gap:14px}.site-header .nav-pill{max-width:100%;flex-wrap:wrap;justify-content:center}}
@media(max-width:480px){.drafting-card,.drafting-cart,.drafting-selection,.drafting-tiers{padding:20px}.drafting-selection{align-items:stretch;flex-direction:column}.drafting-choice{gap:12px}.drafting-card-links{padding-left:34px}.site-header .nav-pill a{padding:10px 11px;font-size:.78rem}}
