/* 1.1.3 — shared blue/white palette. Existing workspace geometry stays in app.css. */
:root{--bg:#f6f8fc;--surface:#fff;--surface2:#eef2f9;--ink:#203653;--muted:#606f84;--line:#e1e7f0;--accent:#315ecc;--accent2:#eaf0fc;--warm:#e9ae55;--danger:#b5363b;--shadow:0 12px 38px #20365307;--brand-deep:#234883;--brand-hover:#244da9;--brand-border:#abc0e6;--brand-soft:#f1f5fd;--on-accent:#fff;--input-bg:#fbfcfe}
:root[data-theme=dark],body[data-theme=dark]{--bg:#101b2e;--surface:#19273e;--surface2:#22334e;--ink:#e7edf8;--muted:#acbcd3;--line:#344961;--accent:#99b9ff;--accent2:#253e63;--shadow:0 12px 38px #0002;--brand-deep:#aec7ff;--brand-hover:#b2cbff;--brand-border:#546d98;--brand-soft:#1d2e4a;--on-accent:#101b2e;--input-bg:#152238;color-scheme:dark}
.btn.dark{background:var(--brand-deep);color:var(--surface)}
.btn.primary,.admin-tabs button.active,.sidebar .level-switch button.active,.option.selected .letter,.phase-steps .current>span{color:var(--on-accent)}
body[data-theme=dark] .btn.primary,body[data-theme=dark] .admin-tabs .active,body[data-theme=dark] .option.selected .letter,body[data-theme=dark] .phase-steps .current>span{color:var(--on-accent)}
.nav button.active{background:var(--accent2);color:var(--accent)}
.nav button.active:hover{background:var(--accent2);color:var(--accent)}
.hero,body[data-theme=dark] .hero{background:linear-gradient(118deg,var(--accent2),var(--brand-soft));border-color:var(--brand-border)}
.hero h1,body[data-theme=dark] .hero h1{color:var(--ink)}
.hero p,.hero .eyebrow,body[data-theme=dark] .hero p,body[data-theme=dark] .hero .eyebrow{color:var(--muted)}
.orbit{border-color:var(--brand-border)}
.orbit-inner{background:var(--surface);border-color:var(--accent2);box-shadow:0 13px 30px #2036530a}
.orbit-inner strong{color:var(--brand-deep)}
.orbit-inner span{color:var(--muted)}
.orbit-dot{background:var(--warm);border-color:var(--surface)}
.stat-head svg{color:var(--muted)}
.skill-fill,.bar{background:var(--accent)}
.year-card:has(input:checked),.group-tab.active,.option:hover,.answer-dot.done{border-color:var(--brand-border)}
.option.selected:hover,.option.correct:hover{border-color:var(--accent)}
.option.wrong:hover{border-color:var(--danger)}
.pipeline-step .no{color:var(--accent)}
.upload-zone{border-color:var(--brand-border)}
.level-switch button.active{box-shadow:0 2px 8px #23488310}
.study-footer{box-shadow:0 -7px 22px #20365307}
#toast:not(.error){background:#234883;color:#fff}
dialog::backdrop{background:#14264166}
.document-preview{background:var(--surface2)}
.document-preview #pdf-status{color:var(--muted)}
.sidebar .brand{gap:10px}
.sidebar .brand img{flex:none}
.sidebar .brand b{font-size:15px;letter-spacing:0;line-height:1.5;max-width:5em}
@media(max-width:960px) and (min-width:721px){.sidebar .brand b{font-size:13px}.sidebar .brand{gap:8px}}
@media(max-width:720px){.sidebar .brand b{font-size:12px;max-width:5em}.sidebar .brand{gap:7px}}
/* All homepage rules are scoped; no change to reading fonts, grids or controls elsewhere. */
.cet-auth{display:block;min-height:100vh;min-height:100svh;color:var(--ink);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;-webkit-font-smoothing:antialiased}
.cet-auth *,.cet-auth *::before,.cet-auth *::after{box-sizing:border-box}
.cet-auth :is(h1,h2,h3,p,figure){margin:0}
.cet-auth svg{display:block}
.cet-auth :focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.cet-auth .hp-shell{width:min(1248px,calc(100% - 112px));margin-inline:auto}
.cet-auth .hp-site-header{height:100px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.cet-auth .hp-brand{display:flex;align-items:center;gap:14px;flex-shrink:0}
.cet-auth .hp-brand-mark{width:48px;height:48px;flex:0 0 48px}
.cet-auth .hp-brand-name{font-size:22px;font-weight:750;letter-spacing:.01em;line-height:1.45}
.cet-auth .hp-header-note{display:flex;align-items:center;gap:19px;color:var(--muted);font-size:13px;letter-spacing:.03em}
.cet-auth .hp-divider{width:1px;height:14px;background:var(--line)}
.cet-auth .hp-exam-badge{color:var(--muted);font-size:12px;font-weight:650;letter-spacing:.06em}
.cet-auth .hp-header-rule{height:1px;background:var(--line)}
.cet-auth .hp-page-main{padding-top:35px}
.cet-auth .hp-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 426px;column-gap:74px;align-items:center}
.cet-auth .hp-pitch{min-width:0;padding-block:4px}
.cet-auth .hp-eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;font-weight:600;letter-spacing:.07em;line-height:24px}
.cet-auth .hp-eyebrow::before{content:"";width:21px;height:3px;background:var(--warm);border-radius:3px}
.cet-auth h1{margin-top:16px;font-size:clamp(39px,3.6vw,51px);line-height:1.4;font-weight:800;letter-spacing:-.035em}
.cet-auth h1 span{display:block}
.cet-auth .hp-headline-emphasis{color:var(--accent);width:fit-content}
.cet-auth .hp-pitch-description{max-width:590px;margin-top:21px;font-size:16px;line-height:1.95;color:var(--muted)}
.cet-auth .hp-sentence{display:block}
.cet-auth .hp-study-illustration{margin-top:21px;width:100%;max-width:645px}
.cet-auth .hp-study-illustration svg{width:100%;height:auto;overflow:visible}
.cet-auth .hp-login-card{display:block;min-width:0;width:100%;padding:31px 32px 19px;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:0 16px 45px -25px #20365336,0 2px 5px #20365304}
.cet-auth .auth-form{max-width:none;width:100%}
.cet-auth .auth-form h2{font-size:25px;font-weight:750;letter-spacing:-.02em;line-height:1.5}
.cet-auth .hp-welcome-prefix{display:block;margin-bottom:3px;color:var(--muted);font-size:17px;font-weight:500;letter-spacing:.015em;line-height:26px}
.cet-auth .hp-welcome-main{display:block}
.cet-auth .auth-form .intro{margin:10px 0 0;color:var(--muted);font-size:14px;line-height:24px}
.cet-auth #auth-form{margin-top:28px;display:grid;gap:19px}
.cet-auth #auth-form>label{font-size:14px;font-weight:650;line-height:20px}
.cet-auth .hp-input-wrap{position:relative;display:block;margin-top:9px}
.cet-auth .hp-input-leading{position:absolute;inset:0 auto 0 15px;width:19px;height:19px;margin-block:auto;color:var(--muted);pointer-events:none}
.cet-auth .hp-text-input{appearance:none;width:100%;height:52px;margin:0;padding:0 15px 0 45px;color:var(--ink);background:var(--input-bg);border:1px solid var(--line);border-radius:11px;font-size:15px;line-height:normal;transition:border-color .16s,box-shadow .16s,background .16s}
.cet-auth .hp-text-input::placeholder{color:var(--muted);opacity:1}
.cet-auth .hp-text-input:hover{border-color:var(--brand-border)}
.cet-auth .hp-text-input:focus{outline:none;border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 3px #315ecc1c}
.cet-auth .hp-password-input{padding-right:52px}
.cet-auth .hp-password-toggle{position:absolute;right:4px;top:4px;display:grid;place-items:center;width:44px;height:44px;padding:0;color:var(--muted);background:transparent;border:0;border-radius:8px}
.cet-auth .hp-password-toggle:hover{color:var(--accent);background:var(--accent2)}
.cet-auth .hp-password-toggle svg{width:20px;height:20px}
.cet-auth .auth-form .btn.primary{height:54px;margin-top:7px;padding:0 18px;border:1px solid transparent;border-radius:11px;background:var(--accent);color:var(--on-accent);box-shadow:0 6px 13px -8px #315ecc8c;font-size:16px;font-weight:650;letter-spacing:.025em}
.cet-auth .auth-form .btn.primary:hover:enabled{background:var(--brand-hover);filter:none}
.cet-auth .auth-status{min-height:0;overflow-wrap:anywhere;font-size:13px;line-height:1.8}
.cet-auth .auth-status:empty{display:none}
.cet-auth .auth-status:not(:empty){padding:12px 14px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--brand-soft)}
.cet-auth .auth-form>p.small{padding-top:1px;text-align:center;font-size:12px;line-height:21px}
.cet-auth .auth-tabs{margin:20px 0 0}
.cet-auth .auth-tabs button{min-height:44px}
.cet-auth .connection-settings{padding:12px;background:var(--surface2);border-radius:10px}
.cet-auth .inline-check{font-weight:400!important;line-height:1.8!important}
.cet-auth .hp-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:34px;align-items:stretch}
.cet-auth .hp-feature-card{display:flex;align-items:flex-start;gap:17px;min-width:0;padding:23px 23px 22px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.cet-auth .hp-feature-icon{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;border-radius:12px;background:var(--accent2);color:var(--accent)}
.cet-auth .hp-feature-icon svg{width:24px;height:24px}
.cet-auth .hp-feature-card:last-child .hp-feature-icon{background:#fff5e3;color:#946a2f}
.cet-auth .hp-feature-card h3{font-size:17px;font-weight:700;line-height:26px;letter-spacing:.01em}
.cet-auth .hp-feature-card p{margin-top:6px;color:var(--muted);font-size:13px;line-height:1.85}
.cet-auth .hp-feature-card p span{display:block}
.cet-auth .hp-site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-block:23px 25px;color:var(--muted);font-size:11px;line-height:20px;letter-spacing:.025em}
.cet-auth .hp-footer-note{display:inline-flex;align-items:center;gap:7px}
.cet-auth .hp-footer-note svg{width:14px;height:14px;color:var(--muted)}
body[data-theme=dark] .cet-auth .hp-feature-card:last-child .hp-feature-icon{background:#443a24;color:#e4c78d}
@media(min-width:1500px) and (min-height:900px){.cet-auth .hp-page-main{padding-top:63px}.cet-auth .hp-features{margin-top:45px}.cet-auth .hp-site-footer{padding-top:27px}}
@media(max-width:1199px) and (min-width:960px){.cet-auth .hp-shell{width:calc(100% - 80px)}.cet-auth .hp-hero-grid{grid-template-columns:minmax(0,1fr) 378px;column-gap:40px}.cet-auth .hp-login-card{padding-inline:27px}.cet-auth .auth-form h2{font-size:24px}.cet-auth .hp-pitch-description{font-size:15px}.cet-auth .hp-feature-card{padding:21px 18px;gap:13px}.cet-auth .hp-feature-icon{width:38px;height:38px;flex-basis:38px}.cet-auth .hp-feature-card h3{font-size:16px}.cet-auth .hp-feature-card p{font-size:12px}}
@media(max-height:800px) and (min-width:960px){.cet-auth .hp-site-header{height:80px}.cet-auth .hp-page-main{padding-top:21px}.cet-auth .hp-login-card{padding-top:26px;padding-bottom:15px}.cet-auth #auth-form{margin-top:22px;gap:16px}.cet-auth .hp-features{margin-top:25px}.cet-auth .hp-feature-card{padding-block:18px}.cet-auth .hp-site-footer{padding-block:17px}.cet-auth .hp-study-illustration{margin-top:12px;max-width:570px}.cet-auth .hp-pitch-description{margin-top:16px}}
@media(max-width:959px){.cet-auth .hp-shell{width:calc(100% - 64px);max-width:700px}.cet-auth .hp-site-header{height:91px}.cet-auth .hp-brand-name{font-size:21px}.cet-auth .hp-desktop-note,.cet-auth .hp-header-note .hp-divider{display:none}.cet-auth .hp-header-note{gap:0}.cet-auth .hp-page-main{padding-top:35px}.cet-auth .hp-hero-grid{grid-template-columns:minmax(0,1fr);row-gap:30px}.cet-auth .hp-pitch{text-align:center}.cet-auth h1{font-size:41px}.cet-auth .hp-headline-emphasis{margin-inline:auto}.cet-auth .hp-pitch-description{margin:16px auto 0;font-size:15px}.cet-auth .hp-study-illustration{display:none}.cet-auth .hp-login-card{max-width:470px;justify-self:center;padding:30px 34px 20px}.cet-auth .hp-features{gap:13px;margin-top:30px}.cet-auth .hp-feature-card{flex-direction:column;gap:13px;padding:20px 17px}.cet-auth .hp-feature-card h3{font-size:16px}.cet-auth .hp-feature-card p{font-size:12px}.cet-auth .hp-feature-card p span{display:inline}.cet-auth .hp-site-footer{padding-block:22px}}
@media(max-width:599px){.cet-auth .hp-shell{width:calc(100% - 40px)}.cet-auth .hp-site-header{height:79px;gap:10px}.cet-auth .hp-brand{gap:11px}.cet-auth .hp-brand-mark{width:40px;height:40px;flex-basis:40px}.cet-auth .hp-brand-name{font-size:19px;letter-spacing:0}.cet-auth .hp-header-note{display:none}.cet-auth .hp-page-main{padding-top:26px}.cet-auth .hp-pitch{text-align:left;padding:0 2px}.cet-auth .hp-eyebrow{gap:8px;font-size:11px;letter-spacing:.035em;line-height:20px}.cet-auth .hp-eyebrow::before{width:17px}.cet-auth h1{margin-top:12px;font-size:clamp(26px,7.4vw,33px);line-height:1.43;letter-spacing:-.045em}.cet-auth .hp-headline-emphasis{margin-inline:0}.cet-auth .hp-pitch-description{margin-top:13px;font-size:13px;line-height:1.95}.cet-auth .hp-sentence{display:inline}.cet-auth .hp-hero-grid{row-gap:23px}.cet-auth .hp-login-card{max-width:none;padding:25px 23px 13px;border-radius:18px}.cet-auth .auth-form h2{font-size:23px}.cet-auth .hp-welcome-prefix{font-size:15px;line-height:23px;margin-bottom:2px}.cet-auth .auth-form .intro{margin-top:7px;font-size:13px;line-height:22px}.cet-auth #auth-form{margin-top:22px;gap:16px}.cet-auth #auth-form>label{font-size:13px}.cet-auth .hp-input-wrap{margin-top:7px}.cet-auth .hp-text-input{height:50px;font-size:16px}.cet-auth .hp-password-toggle{top:3px;right:3px}.cet-auth .auth-form .btn.primary{height:52px;font-size:15px}.cet-auth .auth-form>p.small{font-size:11px}.cet-auth .hp-features{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:23px}.cet-auth .hp-feature-card{flex-direction:row;padding:18px 19px;gap:15px;border-radius:14px}.cet-auth .hp-feature-icon{width:41px;height:41px;flex-basis:41px}.cet-auth .hp-feature-card h3{font-size:16px;line-height:24px}.cet-auth .hp-feature-card p{margin-top:4px;font-size:12px;line-height:1.85}.cet-auth .hp-feature-card p span{display:block}.cet-auth .hp-site-footer{flex-direction:column;justify-content:center;gap:2px;text-align:center;padding-block:20px 25px}}
@media(max-width:359px){.cet-auth .hp-shell{width:calc(100% - 32px)}.cet-auth .hp-brand-name{font-size:18px}.cet-auth .hp-brand{gap:9px}.cet-auth .hp-brand-mark{width:38px;height:38px;flex-basis:38px}.cet-auth .hp-login-card{padding-inline:19px}.cet-auth .auth-form h2{font-size:21px}.cet-auth .auth-form .intro{font-size:12px}}
@media(prefers-reduced-motion:reduce){.cet-auth *,.cet-auth *::before,.cet-auth *::after{animation:none!important;transition:none!important}}
@media(forced-colors:active){.cet-auth .hp-feature-icon,.cet-auth .hp-brand-mark{forced-color-adjust:none}.cet-auth .btn.primary{border:1px solid ButtonText}}
@media print{.cet-auth{background:#fff;color:#000}.cet-auth .hp-site-header,.cet-auth .hp-page-main,.cet-auth .hp-site-footer{width:100%}.cet-auth .hp-login-card,.cet-auth .hp-feature-card{box-shadow:none;break-inside:avoid}}
