/* CSE Mastery V21 — presentation and accessibility audit */
:root{--ui-text:#17263a;--ui-muted:#607086;--ui-line:#d9e3ef;--ui-blue:#2457e6;--ui-navy:#102a4c;--ui-gold:#f4b740}
html{font-size:16px!important;-webkit-text-size-adjust:100%}body{font-size:16px;color:var(--ui-text)}
p,li,td,th,label,input,select,textarea,button,a{font-size:max(13px,1em)}
small{font-size:12px;line-height:1.45}.kicker{font-size:11px!important;line-height:1.35;letter-spacing:1.6px!important}
/* Logo and brand lockups */
.brand-mark{width:52px!important;height:52px!important;min-width:52px!important;display:grid!important;place-items:center!important}
.brand-mark img,.landing-brand>span img,.auth-brand>span img{width:100%!important;height:100%!important;object-fit:contain!important;filter:drop-shadow(0 5px 8px rgba(16,42,76,.16))}
.brand b,.landing-brand b,.auth-brand b{font-size:15px!important;line-height:1.15!important;letter-spacing:.45px!important}
.brand small,.landing-brand small,.auth-brand small{font-size:9px!important;line-height:1.3!important;letter-spacing:1px!important;color:#9fb1c7}
.landing-brand>span,.auth-brand>span{width:50px!important;height:50px!important;min-width:50px!important}
/* Back buttons: one clear icon, no duplicated arrow */
.back-btn:before{content:none!important}.back-btn,.setup-link,.smart-top>a:first-child,.intel-top>a:first-child,.mock-top>a:first-child,.subscription-top>a.btn{min-height:50px!important;padding:13px 19px!important;font-size:14px!important;font-weight:850!important;white-space:nowrap!important}
.back-btn[href]:not(:empty){gap:9px!important}.back-btn:hover{transform:translateX(-2px)!important}
/* Base controls */
.btn,.mock-controls button,dialog button{min-height:50px!important;padding:13px 20px!important;font-size:14px!important;border-radius:14px!important}
input,select,textarea{font-size:15px!important;min-height:51px!important}label{font-size:13px!important}
.alert,.notice{font-size:14px!important;line-height:1.6!important}
/* Sidebar readability */
.sidebar nav a{font-size:14px!important;min-height:51px!important;padding:12px 14px!important}.sidebar nav i{font-size:20px!important}.profile b{font-size:14px!important}.profile small,.streak-card small{font-size:11px!important}
/* Dashboard and content */
.welcome>div>p:last-child,.page-title>div>p:last-child,.mission p,.panel p{font-size:14px!important}.panel-head h3,.section-head h3{font-size:22px!important}.subject-grid h4{font-size:14px!important}.dashboard-quick-actions>a small{font-size:12px!important}.metric-grid article span{font-size:11px!important}.performance-table,.payment-row,.account-row{font-size:14px!important}
/* Landing page: eliminate unreadably small marketing copy */
.landing-nav nav>a{font-size:14px!important}.landing-brand small{display:block!important}.hero-kicker,.section-heading p,.access-copy>p,.final-cta>p{font-size:11px!important}.hero-lead{font-size:17px!important;line-height:1.72!important}.hero-primary,.hero-secondary{font-size:14px!important}.hero-trust{font-size:12px!important;line-height:1.5!important}.preview-top,.preview-bottom{font-size:12px!important}.preview-question small{font-size:11px!important}.preview-choice{font-size:13px!important;line-height:1.45!important}.proof-strip span{font-size:12px!important}.feature-grid article>span,.plan-card>span{font-size:11px!important}.feature-grid p{font-size:14px!important}.plan-card li{font-size:13px!important}.plan-card a{font-size:13px!important}.popular{font-size:10px!important}.final-cta a{font-size:14px!important}.landing-footer p,.landing-footer-links a{font-size:12px!important}
/* Auth readability */
.auth-form>div>p,.new-user-card p{font-size:14px!important;line-height:1.65!important}.auth-tabs a{font-size:13px!important}.new-user-card>span{font-size:11px!important}.quote{font-size:14px!important}
/* Specialist pages */
.smart-top span,.intel-top span,.mock-top span,.subscription-top small{font-size:11px!important}.smart-top b,.intel-top b,.mock-top b{font-size:16px!important}.mock-choices label,.answer-list label{font-size:15px!important;line-height:1.45!important}.confidence{font-size:13px!important}
/* Legal pages */
.legal-card p,.legal-card li{font-size:15px!important}.legal-meta{font-size:13px!important}.legal-nav .back-btn{width:auto!important}
/* Tables on narrow screens */
@media(max-width:760px){body{font-size:15px}.landing-brand small{display:none!important}.landing-brand>span,.auth-brand>span{width:44px!important;height:44px!important;min-width:44px!important}.back-btn,.setup-link{width:100%!important;white-space:normal!important}.legal-nav{align-items:flex-start!important;flex-direction:column!important}.legal-nav .back-btn{width:100%!important}.hero-copy h1{font-size:clamp(46px,14vw,60px)!important}.hero-lead{font-size:15px!important}.landing-nav .landing-brand b{font-size:13px!important}.nav-create{font-size:12px!important;padding:11px 13px!important}.proof-strip span{font-size:11px!important}.feature-grid p{font-size:14px!important}.btn{font-size:14px!important}.sidebar nav a{font-size:15px!important}}
@media(max-width:460px){.brand-mark{width:48px!important;height:48px!important;min-width:48px!important}.back-btn,.btn{min-height:52px!important}.landing-footer-links a{font-size:13px!important}}

/* V70: hidden answer radios must not expand the document width. */
.answer-list label{position:relative}
.answer-list label>input[type="radio"]{position:absolute!important;width:1px!important;height:1px!important;inset:auto!important;opacity:0!important;pointer-events:none}
