/* Compact student interface. Loaded last so desktop and mobile share one scale. */
body{font-size:13px;line-height:1.45}
h1,.directory-intro h1,.hub-header h1,.studio-title h1,.login-intro h1,.premium-welcome h1,.bundle-hero h1{font-size:22px!important;line-height:1.25;letter-spacing:-.025em}
h2,.bundle-page h2,.greeting h2,.section-title h2,.profile-panel h2,.modal h2,.result-title h2{font-size:17px!important;line-height:1.35}
h3,.card h3,.clean-test-card h3,.hub-empty h3,.resource-document h3,.bundle-page h3{font-size:14px!important;line-height:1.45}
p,.muted,.directory-intro p,.hub-header p,.resource-text,.login-intro p,.modal p{font-size:13px;line-height:1.5}
.primary,.secondary,.auth-anchor,.text-button,.clean-tabs button,.studio-tabs button,.profile-menu button{min-height:32px;padding:6px 11px;font-size:12px;line-height:1.4;border-radius:6px;box-shadow:none}
.primary{background:var(--accent);box-shadow:none}.primary:hover{transform:none;box-shadow:none}
small,.meta,.note,.footer,.test-card-footer{font-size:11px;line-height:1.45}
.eyebrow{font-size:9px;letter-spacing:1.2px}.pill,.badge{font-size:10px;padding:3px 7px}
.sidebar{width:200px;padding:22px 14px}.main{margin-left:200px;width:calc(100% - 200px)}
body:not(.exam-mode) .main>header{height:56px;padding:0 24px}.brand{font-size:18px}.exampath-mark{width:28px;height:28px}
.nav button{min-height:38px;padding:9px 12px;font-size:12px;border-radius:7px}.side-label{margin-top:26px;font-size:9px}.side-bottom{padding:13px;font-size:11px}
body:not(.exam-mode) .content{max-width:1320px;padding:20px 24px 32px}
.card,.clean-test-card,.profile-panel,.ra-card,.resource-document,.studio-card,.directory-group{box-shadow:none;border-radius:9px}
.card,.profile-panel,.ra-card,.resource-document,.studio-card{padding:15px}
.clean-test-card{padding:14px 14px 0}.clean-test-card h3{margin:9px 0 6px}.card p{font-size:12px}.card button{padding:6px 10px;min-height:32px}
.clean-test-list,.tests,.subjects{gap:12px}.test-detail-row{gap:10px;margin:8px 0}.test-detail-row .meta,.meta{font-size:11px;gap:9px;padding:8px 0;margin-bottom:8px}.test-card-footer{padding:9px 0;margin-top:9px}.test-detail-row .primary{width:auto;flex-shrink:0}
.section-title,.library-heading{margin:20px 0 12px}.section-title h2{margin:0}.note{margin-top:14px}.footer{padding-top:12px;margin-top:20px;gap:12px}
.directory-intro{margin-bottom:14px}.directory-intro h1{margin:6px 0}.directory-intro p{margin:6px 0}.directory-search{margin:12px 0}.directory-search label{font-size:11px;margin-bottom:5px}
.directory-search input,.directory-state select,.hub-list-tools input{min-height:36px;padding:8px 11px;border-radius:7px;font-size:13px}
.directory-filters{gap:6px;margin:12px 0 16px}.directory-filters button{min-height:32px;padding:6px 10px;font-size:11px;border-radius:6px}.directory-state{margin-bottom:14px}
.directory-group{margin:18px 0 22px}.directory-grid{gap:9px}.directory-exam{min-height:62px;padding:10px 11px;gap:9px;border-radius:8px}.directory-exam b{font-size:12px;line-height:1.4}.directory-exam small{font-size:10px;margin-top:3px}.directory-exam-icon{width:30px;height:32px;font-size:9px;border-radius:6px}.directory-arrow{font-size:18px}.directory-more{padding:8px;min-height:32px;font-size:11px}
.hub-back{margin-bottom:10px}.hub-header{padding:13px 15px;gap:12px;margin-bottom:12px;border-radius:9px}.hub-header h1{margin:5px 0}.hub-exam-icon{width:38px;height:38px;border-radius:8px;font-size:12px}.hub-nav{gap:16px;margin-bottom:14px}.hub-nav>button{min-height:36px;padding:8px 2px;font-size:12px}
.hub-resource{min-height:60px;padding:10px 13px;grid-template-columns:28px minmax(0,1fr) auto;column-gap:10px;row-gap:2px}.hub-resource-symbol{width:27px;height:27px;border-radius:6px}.hub-resource-symbol svg{width:16px;height:16px}.hub-resource b{font-size:13px!important}.hub-resource p,.hub-resource small{font-size:11px;line-height:1.4}.hub-exam-details{margin-top:14px;padding:14px}.hub-empty{padding:22px 16px}
.premium-welcome{padding:22px!important;gap:18px;border-radius:12px}.premium-welcome h1{margin:9px 0}.premium-welcome p{margin:8px 0;font-size:13px}.premium-hero-actions{margin-top:13px;gap:8px}.premium-orbit{width:140px;height:140px;box-shadow:none}.premium-orbit strong{font-size:20px;margin:8px 0}
.stats,.studio-metrics{gap:10px;margin:14px 0 18px}.stat,.studio-metrics article{padding:12px 14px;border-radius:9px}.stat b,.studio-metrics strong{font-size:22px;margin-top:4px}.stat-icon{width:32px;height:32px;font-size:18px}
.studio-title{gap:12px;margin-bottom:14px}.studio-tabs,.clean-tabs,.ra-tabs{gap:15px;margin-bottom:15px}.studio-tabs button,.clean-tabs button,.ra-tabs button{min-height:34px;padding:8px 1px;font-size:12px}.studio-grid{gap:14px}.studio-card{padding:15px}.history-item{padding:12px 14px;margin:8px 0;gap:10px;border-radius:8px}.profile-layout{gap:15px}.empty{padding:25px 18px}.modal{padding:20px;border-radius:10px}.modal h2{margin-bottom:10px}.modal-actions{margin-top:16px;gap:8px}.instruction-meta{gap:10px}.instruction-list{font-size:13px;line-height:1.5}
.bundle-page{gap:16px}.bundle-hero{padding:18px 20px;gap:16px;border-radius:10px}.bundle-hero h1{margin:7px 0}.bundle-hero p{font-size:13px;margin:6px 0 10px}.bundle-trust{font-size:11px;gap:5px 12px}.bundle-section-heading{gap:10px;margin-bottom:10px}.bundle-page h2{margin:4px 0 7px}.bundle-families{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.bundle-family{padding:10px;min-height:58px;border-radius:7px}.bundle-family b{font-size:12px}.bundle-family small{font-size:10px;margin-top:4px}
.bundle-page .studio-card{padding:15px;border-radius:9px}.bundle-page .payment-plans{gap:10px;margin-top:12px}.bundle-page .payment-plan{padding:15px}.bundle-card-top{min-height:24px;margin-bottom:7px;gap:5px}.bundle-page .payment-price{font-size:29px}.bundle-daily{font-size:11px;margin:5px 0 11px}.bundle-includes{font-size:12px;gap:7px;margin-bottom:10px}.bundle-includes li{padding-left:16px}.bundle-stock{padding-top:8px;font-size:11px;margin:6px 0 10px}.bundle-page .payment-plan>button{min-height:34px;padding:7px 10px;font-size:12px}.bundle-payment-note{font-size:10px;margin-top:7px}
.bundle-library>p{font-size:12px;margin:6px 0}.bundle-inventory{gap:9px;margin:12px 0}.bundle-inventory article{padding:11px;border-radius:7px;gap:7px}.bundle-inventory p{font-size:11px}.bundle-exam-details{margin-top:10px;padding-top:9px}.bundle-page summary{min-height:30px;font-size:12px;line-height:1.5}.bundle-exam-links{gap:8px}.bundle-process{gap:12px;padding:0}.bundle-process article{gap:9px}.bundle-process article>span{width:24px;height:24px;font-size:11px}.bundle-process h3{font-size:12px!important;margin:2px 0}.bundle-process p{font-size:11px;line-height:1.45}.bundle-membership-summary{padding:13px;border-radius:8px}.bundle-membership-row,.bundle-page .payment-order{padding:11px 0}.bundle-faq details{padding:9px 0}.bundle-faq details p{font-size:12px;margin:6px 0}
/* Test content stays complete, with a smaller default and adjustable text size. */
body.exam-mode{font-size:13px}.cbt-header{height:44px;min-height:44px;padding:5px 14px;gap:10px}.cbt-title small{font-size:11px}.cbt-clock .timer{font-size:19px}.cbt-clock small{font-size:9px}.test-actions-menu summary{width:32px;height:32px;font-size:21px;border-radius:6px}.test-actions-panel{top:37px}.cbt-workspace{min-height:calc(100dvh - 44px);grid-template-columns:210px minmax(0,1fr)}.cbt-question-toolbar{min-height:38px;padding:5px 15px;gap:8px}.cbt-question-toolbar b{font-size:12px}.cbt-question-toolbar small{font-size:10px;margin-top:2px}.cbt-mobile-palette{min-height:30px;padding:5px 9px;font-size:11px}.cbt-question-body{padding:10px 16px 12px;min-height:0!important}.cbt-question-body h2{font-size:var(--question-size,15px)!important;line-height:1.5;margin:5px 0 12px;font-weight:400}.cbt-option{font-size:var(--question-size,15px);line-height:1.45;min-height:38px;padding:7px 10px;margin:5px 0;gap:10px;border-radius:4px}.cbt-option input{width:15px;height:15px;margin-top:3px}.cbt-option .letter{font-size:12px}.cbt-option>span{gap:7px}.cbt-bottom{min-height:46px;padding:5px 12px calc(5px + env(safe-area-inset-bottom));gap:6px}.cbt-bottom>.cbt-btn,.cbt-bottom #submit-section{min-height:34px;padding:7px 10px;font-size:11px;border-radius:5px}.cbt-bottom>#prev{width:36px;padding:5px;font-size:16px}.cbt-bottom>#mark{min-width:65px}.cbt-bottom>#next{max-width:200px}.cbt-palette{padding:13px}.cbt-numbers{gap:7px}.qnum{height:29px;font-size:11px}.palette-heading{font-size:12px}.palette-subtitle,.legend-row,.palette-note{font-size:10px}.legend-row{margin:7px 0;gap:7px}.cbt-analysis{margin-top:15px;padding-top:10px}.palette-compact-actions{gap:7px;margin-top:12px}.palette-compact-actions .cbt-btn{min-height:34px;font-size:11px;padding:7px}.cbt-palette .section-tab{min-height:33px;padding:5px;font-size:10px}.cbt-palette .cbt-sections{gap:5px;padding-bottom:9px;margin-bottom:8px}.source-paper-stem{max-width:calc(100% - 14px);padding:6px;margin:12px 0;border-radius:5px}.source-paper-option{padding:4px}.review h3{font-size:14px!important;line-height:1.5}.solution{padding:12px;font-size:13px;line-height:1.55}.ra-summary{gap:12px}.ra-card{padding:15px}.ra-heading{margin-bottom:14px}
@media(min-width:1180px){.directory-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.clean-test-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.bundle-families{grid-template-columns:repeat(3,minmax(0,1fr))}.bundle-hero{flex-direction:row}.bundle-hero>button{flex-shrink:0}.bundle-page .payment-plans{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.sidebar{width:100%;height:58px;padding:3px 5px}.main{margin:0;width:100%}.nav button{min-height:48px;padding:5px 8px;font-size:10px}.nav i{margin-bottom:1px}.mobile-brand{font-size:17px}body:not(.exam-mode) .main>header{height:52px;padding:0 13px}body:not(.exam-mode) .content{padding:14px 12px 76px}.header-account{gap:6px}.header-right{gap:8px}.theme-switch{width:32px;height:32px;font-size:17px}.avatar{width:30px;height:30px}.primary,.secondary,.auth-anchor{min-height:36px;padding:7px 10px}.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-exam{min-height:65px}.directory-exam b{font-size:12px}.directory-exam small{font-size:9px}.directory-exam-icon{width:27px;height:29px}.directory-arrow{display:none}.directory-filters{gap:5px}.directory-filters button{min-height:34px}.premium-welcome{padding:18px!important;border-radius:10px}.premium-hero-art{display:none}.premium-welcome h1{font-size:22px!important}.studio-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.studio-metrics article{padding:11px 12px}.studio-grid{gap:12px}.bundle-page{gap:13px}.bundle-hero{padding:14px;flex-direction:column;gap:8px}.bundle-hero h1{font-size:21px!important}.bundle-hero>button{min-height:32px}.bundle-trust{font-size:10px}.bundle-families{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.bundle-family{padding:9px 8px;min-height:62px}.bundle-family b{font-size:11px}.bundle-family small{font-size:9px}.bundle-page .studio-card{padding:13px}.bundle-section-heading{gap:8px;margin-bottom:8px}.bundle-page .payment-plans{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px}.bundle-page .payment-plan{padding:15px}.bundle-inventory{grid-template-columns:1fr}.bundle-process{gap:10px}.bundle-page h2{font-size:16px!important}.bundle-page .payment-price{font-size:28px}.bundle-faq details{padding:8px 0}.hub-header{padding:12px}.hub-header p{font-size:12px}.hub-resource{min-height:56px;padding:9px 11px}.hub-resource p{font-size:11px}.hub-nav{gap:14px}.hub-nav>button{font-size:11px;min-height:36px}.clean-test-list{gap:10px}.clean-test-card{padding:12px 12px 0}.clean-test-card h3{font-size:14px!important}.test-card-footer{font-size:10px}.modal{padding:17px}.modal-backdrop{padding:14px}.instruction-list{font-size:12px}.cbt-bottom>#next{max-width:none}.cbt-bottom #submit-section{flex:1 1 110px}.cbt-bottom #next{flex:1 1 100px}}
@media(max-width:650px){.cbt-header{height:44px;min-height:44px;padding:5px 10px}.cbt-title small{font-size:10px}.cbt-clock .timer{font-size:18px}.cbt-workspace{display:flex;min-height:calc(100dvh - 44px)}.cbt-question-toolbar{min-height:38px;padding:5px 12px}.cbt-question-body{padding:10px 13px 12px}.cbt-question-body h2{font-size:var(--question-size,15px)!important;line-height:1.5;margin:5px 0 11px}.cbt-option{font-size:var(--question-size,15px);min-height:40px;padding:8px 9px;margin:5px 0;line-height:1.45}.cbt-bottom{min-height:48px;padding:6px 10px calc(6px + env(safe-area-inset-bottom));gap:6px}.cbt-bottom>.cbt-btn,.cbt-bottom #submit-section{min-height:36px;font-size:11px;padding:7px 9px}.cbt-palette{width:min(260px,85vw);padding:13px}.cbt-numbers{gap:7px}.qnum{height:32px}.bundle-process{grid-template-columns:1fr}}
/* Avoid inherited card margins doubling the grid spacing. */
.studio-card{margin-bottom:12px}.bundle-page .studio-card{margin:0}.bundle-page .bundle-library{display:grid;grid-template-columns:1fr 1fr;gap:4px 14px;padding:12px 15px}.bundle-library .bundle-section-heading{grid-column:1/-1;margin-bottom:3px}.bundle-library>p{grid-column:1/-1;margin:2px 0 5px;font-size:11px}.bundle-library details{margin:0;padding:0;border:0}.bundle-library details[open]{grid-column:1/-1}.bundle-library summary{min-height:28px;padding:3px 0;font-size:11px}.bundle-page .bundle-library h2{margin:2px 0 4px}.bundle-choose .bundle-section-heading{margin-bottom:9px}
@media(max-width:420px){.bundle-page .bundle-library{grid-template-columns:1fr}.bundle-library summary{min-height:30px}}
