@import url("brand/fonts.css");
:root{--ink:#070002;--muted:#655D62;--brand:#9B1D38;--light:#F0E8EC;--line:#E2DADF;--paper:#F6F0F2;--focus:#9B1D38;--success:#1B7F49;--success-light:#EAF5EE;--error:#D32F2F;--radius:12px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px 'Inter',sans-serif}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}header{max-width:1280px;margin:auto;height:94px;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;align-items:center;font:800 30px 'Manrope',sans-serif;letter-spacing:-1.5px}.brand-icon{display:grid;place-items:center;background:var(--brand);color:white;width:34px;height:34px;border-radius:11px;font-size:26px}.pilot{font:700 9px 'Inter',sans-serif;letter-spacing:1px;background:#F0E8EC;border:1px solid #E2DADF;border-radius:5px;padding:5px;margin-left:4px}nav{display:flex;gap:32px;font-size:14px}nav a{padding:12px 0;color:var(--muted)}nav a.active{color:var(--brand);box-shadow:0 2px var(--brand)}.local-tag{font-size:11px;color:var(--muted)}main{max-width:1184px;margin:auto;padding:48px 0 80px;min-height:calc(100vh - 180px)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Manrope',sans-serif}h1{font-size:52px;line-height:1.12;letter-spacing:-2px;font-weight:800}h2{font-size:23px;letter-spacing:-.7px}h3{font-size:17px}.eyebrow{font-size:11px;letter-spacing:1.6px;color:var(--brand);font-weight:700;text-transform:uppercase}.muted{color:var(--muted);line-height:1.7}.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:80px;align-items:center;padding:30px 10px 60px}.hero h1{max-width:560px;margin-bottom:23px}.hero h1 em{font-style:normal;color:var(--brand)}.hero .muted{max-width:430px;font-size:16px}.chips{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:28px}.chips span:before{content:'✓';color:var(--brand);margin-right:7px}.study-card{position:relative;background:#F0E8EC;border:1px solid #E2DADF;border-radius:24px;padding:30px;min-height:328px;overflow:hidden}.study-card .geometry{position:absolute;font-size:150px;color:#E2DADF;right:12px;top:6px;transform:rotate(-12deg);line-height:1}.mini-label{font-size:11px;font-weight:700;letter-spacing:1px;position:relative}.study-card h2{font-size:30px;margin:28px 0 10px;position:relative;max-width:260px}.mini-row{background:#fff9;border-radius:12px;padding:15px;margin-top:24px;display:flex;gap:12px;align-items:center}.mini-symbol{background:var(--brand);color:white;border-radius:9px;width:36px;height:36px;display:grid;place-items:center;font-size:22px}.mini-row strong{font-size:13px}.mini-row small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:12px 0 24px}.section-heading h2{margin:0}.section-heading p{margin:0;font-size:12px}.levels{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.level-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;text-align:left;transition:transform .15s,border .15s}.level-card:hover{transform:translateY(-3px);border-color:var(--brand)}.level-top{display:flex;justify-content:space-between;align-items:center}.level-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;font-size:22px;background:#F0E8EC}.level-card:nth-child(2) .level-icon{background:#F0E8EC}.level-card:nth-child(3) .level-icon{background:#F0E8EC}.level-count{font-size:11px;color:var(--muted)}.level-card h3{margin:22px 0 5px}.level-card p{font-size:13px;color:var(--muted);margin-bottom:25px}.level-action{display:flex;justify-content:space-between;color:var(--brand);font-size:13px;font-weight:700}.how{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;border-top:1px solid var(--line);margin-top:45px;padding-top:25px}.how span{font-size:11px;color:var(--brand);font-weight:700}.how p{font-size:13px;color:var(--muted);margin:8px 0}.page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:30px}.page-title h1{font-size:32px;letter-spacing:-1px;margin-bottom:8px}.page-title p{margin:0}.filters{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.filters label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted)}select{border:1px solid var(--line);border-radius:9px;padding:10px;background:white;color:var(--ink);max-width:190px}.training-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.question-panel,.side-card,.stat,.history{background:white;border:1px solid var(--line);border-radius:16px;padding:26px}.question-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);gap:12px}.badge{background:var(--light);color:var(--brand);padding:6px 10px;border-radius:6px;font-size:11px}.question-image{margin:24px 0 12px;display:block;width:100%;max-height:540px;object-fit:contain;object-position:left center;background:white;cursor:zoom-in}.image-note{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);margin-bottom:24px}.text-button{border:0;background:transparent;color:var(--brand);padding:6px;font-size:12px}.options{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:12px 0 20px}.option{border:1px solid var(--line);background:white;padding:14px;border-radius:10px;font-weight:700;color:var(--ink)}.option[aria-pressed=true]{border-color:var(--brand);background:var(--light);box-shadow:0 0 0 1px var(--brand)}.option:disabled{cursor:default;opacity:.6}.option.correct{background:#e2f2e7;color:var(--success);border-color:var(--success);opacity:1}.primary,.secondary{border-radius:9px;padding:12px 18px;font-weight:600;font-size:13px;border:1px solid var(--brand)}.primary{background:var(--brand);color:white}.primary:hover{background:#81182F}.primary:disabled{opacity:.4;cursor:default}.secondary{background:white;color:var(--brand);border-color:var(--line)}.actions{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.feedback{border-radius:10px;padding:16px;margin-bottom:20px;background:var(--light);color:var(--ink);line-height:1.7;font-size:14px}.feedback.success{background:var(--success-light);color:var(--success)}.feedback p:last-child{margin-bottom:0}.side-card{padding:22px;margin-bottom:16px}.side-card h3{font-size:15px;margin-bottom:12px}.side-card p{font-size:13px;line-height:1.7;color:var(--muted)}.side-card .secondary{width:100%}.hint{background:var(--paper);border-radius:9px;padding:14px;margin:12px 0;font-size:13px;line-height:1.7}.hint strong{display:block;color:var(--brand);font-size:11px;margin-bottom:5px}.tiny{font-size:11px!important;line-height:1.7}.session-line{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.session-line:last-child{border:0}.empty{text-align:center;padding:55px 20px}.empty h2{font-size:24px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}.stat span{display:block;font-size:12px;color:var(--muted)}.stat strong{display:block;font:800 34px 'Manrope',sans-serif;margin:12px 0 5px}.stat small{font-size:11px;color:var(--muted)}.history{overflow:auto}.history table{border-collapse:collapse;width:100%;min-width:550px;font-size:13px;text-align:left}.history td,.history th{padding:16px 10px;border-bottom:1px solid var(--line)}.history th{font-size:11px;color:var(--muted);font-weight:500}.notice{padding:16px;background:var(--light);border-radius:10px;font-size:12px;line-height:1.7;margin:24px 0;color:var(--muted)}.danger{color:var(--error)}footer{max-width:1184px;margin:auto;padding:24px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:24px;font-size:11px;color:var(--muted)}dialog{border:0;border-radius:16px;padding:20px;width:min(1100px,95vw);max-height:95vh}dialog::backdrop{background:#070002bb}dialog img{display:block;width:100%;margin-top:20px}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:4px}.loading{padding:50px;color:var(--muted)}
@media(min-width:1500px){main{padding-top:65px}.hero{padding-bottom:80px}}
@media(max-width:1250px){main,footer{margin-left:32px;margin-right:32px}.hero{gap:40px}header{padding:0 32px}}
@media(max-width:760px){header{padding:0 20px;height:80px;gap:12px}.brand{font-size:25px}.brand-icon{width:29px;height:29px}.pilot,.local-tag{display:none}nav{gap:18px;font-size:12px}main{padding:30px 0 45px;margin:0 20px}.hero{grid-template-columns:1fr;padding:10px 0 32px;gap:25px}h1{font-size:39px}.hero .muted{font-size:15px}.study-card{min-height:220px;padding:24px}.study-card h2{font-size:26px;margin-top:22px;max-width:320px}.mini-row{margin-top:18px}.section-heading{align-items:flex-start;gap:12px}.section-heading h2{font-size:20px}.section-heading p{max-width:110px;text-align:right}.levels{grid-template-columns:1fr;gap:12px}.level-card{padding:20px}.level-card h3{margin-top:15px}.level-card p{margin-bottom:15px}.how{gap:15px}.how p{font-size:12px}.training-layout{grid-template-columns:1fr}.page-title{flex-direction:column}.filters{width:100%}.filters label{flex:1}select{max-width:100%;width:100%}.question-panel{padding:18px}.options{gap:7px}.option{padding:13px 8px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stat{padding:18px}.stat strong{font-size:29px}.question-image{max-height:none}.question-meta{font-size:11px}.history{padding:15px}footer{margin:0 20px;flex-direction:column;gap:8px}.image-note{gap:10px}.how{grid-template-columns:1fr}.how p{margin-bottom:0}.how>div{display:flex;gap:15px;align-items:baseline}}

.official-solution{margin:18px 0}.solution-caption{font-weight:700;font-size:13px}.solution-zoom{display:block;width:100%;padding:0;margin:10px 0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:white;cursor:zoom-in}.solution-zoom img{display:block;width:100%;height:auto}.official-solution .tiny{margin:8px 0 0;color:var(--muted)}


/* Accounts use the same palette and surfaces as the training screens. */
.auth-wrap{max-width:580px;margin:0 auto}.auth-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:32px}.auth-title{font-size:34px;letter-spacing:-1px;margin-bottom:16px}.auth-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:12px;margin:24px 0}.auth-tabs button{background:transparent;border:0;border-radius:7px;padding:9px;color:var(--muted);font-size:13px}.auth-tabs button[aria-selected=true]{background:var(--light);color:var(--brand);font-weight:700}.auth-card form{display:grid;gap:18px}.auth-card label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}.auth-card input,.auth-card select{width:100%;max-width:100%;min-height:44px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:12px;color:var(--ink)}input:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.optional{font-weight:400;color:var(--muted)}.auth-card .primary{min-height:44px}.auth-state h2{font-size:23px}.form-error,.form-ok{border-radius:9px;padding:14px;line-height:1.6;font-size:13px;overflow-wrap:anywhere}.form-error{background:#FFFFFF;color:var(--error)}.form-ok{background:var(--light);color:var(--brand)}.account-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.center{text-align:center;justify-content:center}.sync-banner{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:14px 18px;border-radius:10px;margin-bottom:24px;font-size:13px;line-height:1.6}.sync-banner.info{background:var(--light);color:var(--brand)}.sync-banner.error{background:#FFFFFF;color:var(--error)}.sync-banner button{flex-shrink:0}.legacy-offer p{margin-top:10px}.auth-card p{overflow-wrap:anywhere}.auth-wrap>p{margin-top:20px}
@media(max-width:760px){header{height:auto;min-height:94px;flex-wrap:wrap;padding-top:16px;padding-bottom:12px}header nav{order:2;width:100%;justify-content:space-between;gap:12px}.auth-card{padding:22px}.auth-title{font-size:29px}.auth-tabs{gap:3px}.auth-tabs button{font-size:12px;padding:9px 7px}.sync-banner{align-items:flex-start;flex-direction:column}.auth-card input,.auth-card select{font-size:16px}}

.google-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;border:1px solid #747775;border-radius:9px;background:#fff;color:#1f1f1f;font-weight:600;padding:12px 18px;margin:24px 0 20px}.google-button:hover{background:var(--paper)}.google-button:disabled{cursor:wait;opacity:.6}.google-mark{display:block;flex-shrink:0}.auth-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}.auth-divider:before,.auth-divider:after{content:'';flex:1;height:1px;background:var(--line)}
.profile-section{border-top:1px solid var(--line);margin-top:26px;padding-top:24px}.profile-section h2{font-size:22px}.profile-section>p{font-size:14px;line-height:1.65}.profile-actions{margin-top:28px}.password-form{margin-top:20px}.auth-card [hidden]{display:none!important}.profile-section button:disabled{opacity:.65;cursor:wait}

.auth-title{overflow-wrap:anywhere}

/* Joyce: preserve the supplied vector wordmark and Delta symbol. */
.brand{letter-spacing:normal;gap:12px}.brand-logo{display:block;width:145px;height:auto}
.pilot{background:var(--light);border-color:var(--line);color:var(--brand)}
.study-card .geometry{width:155px;height:160px;opacity:.10;object-fit:contain}
.mini-symbol{padding:7px;background:#fff;width:36px;height:36px;object-fit:contain}
.auth-logo{display:block;width:130px;height:auto;margin-bottom:28px}
.form-error,.sync-banner.error{border-left:3px solid var(--error)}
.form-ok{background:var(--success-light);color:var(--success)}
/* Darker success text preserves readable contrast on tinted feedback. */
.form-ok,.feedback.success,.option.correct{color:#176F40}
.confirmation-actions{display:grid;gap:18px}.confirmation-actions .primary{white-space:normal;line-height:1.5}
.local-preview-banner{background:var(--ink);color:#fff;padding:10px 20px;font-size:12px;text-align:center;line-height:1.6}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){.brand-logo{width:130px}.hero h1{font-size:38px}.auth-logo{width:120px}}

/* Study review: resume and keyboard/mobile navigation. */
.resume-training{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 24px;margin-bottom:32px}
.resume-training p{margin:6px 0 0;font-size:13px}.resume-training .primary{white-space:nowrap}
.jump-hints{display:none}.solution-impact{margin-top:16px}
@media(max-width:760px){.resume-training{align-items:flex-start;flex-direction:column;padding:20px}.jump-hints{display:inline-block;min-height:44px}.filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.filters label{min-width:0}.filters select{min-height:44px;font-size:16px}#training-hints{scroll-margin-top:20px}}

/* Progress uses first outcomes and the same visual filters for all summaries. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.progress-filter-panel{padding:20px 24px;background:#fff;border:1px solid var(--line);border-radius:16px;display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap}
.progress-filter-panel>.tiny{flex-basis:100%;margin:0}.progress-filter-panel .filters{min-width:360px}.progress-filter-panel select{min-height:44px;max-width:230px}
.progress-selection{margin:18px 0}.progress-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.progress-stats .stat{min-width:0;padding:22px 18px}.progress-stats .stat span{min-height:3.4em;line-height:1.7}.progress-stats .stat small{display:block;line-height:1.7}
.progress-level-breakdown{margin:30px 0}.progress-level-breakdown h2{font-size:19px}.progress-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.progress-level{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;padding:18px;background:#fff}.progress-level strong{font:800 25px 'Manrope',sans-serif;color:var(--brand)}.progress-level small{grid-column:1/-1;color:var(--muted);font-size:12px}
.progress-rules{margin-bottom:28px}.progress-rules p{margin:8px 0 0;line-height:1.7}.progress-history{margin-bottom:24px}.progress-history th,.progress-history td{line-height:1.6}.progress-history .text-button{white-space:nowrap;min-height:44px}
@media(max-width:1000px){.progress-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.progress-filter-panel{padding:18px}.progress-filter-panel .filters{min-width:0;width:100%}.progress-filter-panel select{max-width:none}.progress-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-stats .stat:first-child{grid-column:1/-1}.progress-stats .stat span{min-height:0}.progress-levels{grid-template-columns:1fr}.progress-history table,.progress-history tbody{display:block;min-width:0}.progress-history thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}.progress-history tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}.progress-history td{display:block;padding:0;border:0;overflow-wrap:anywhere}.progress-history td:first-child,.progress-history td:nth-child(3){grid-column:1/-1}.progress-history td:first-child{font-weight:600}.progress-history td::before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;font-weight:400;margin-bottom:3px}.progress-history td:last-child{align-self:end;text-align:right}.progress-history td:last-child::before{display:none}}
