:root{--navy:#142647;--ink:#1c2f4d;--muted:#63718a;--red:#e83e50;--red-dark:#ca263d;--canvas:#f4f6fa;--line:#dfe5ed;--white:#fff;--mint:#e5f4ed;--green:#176447;--shadow:0 12px 36px #1426470b;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:16px;color:var(--ink);background:var(--canvas);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #4381c4;outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.8rem,3vw,2.45rem);line-height:1.15;letter-spacing:-.045em}h2{font-size:1.3rem;line-height:1.3;letter-spacing:-.025em}h3{font-size:1.08rem;line-height:1.4}p{line-height:1.6}small,.small{font-size:.875rem;line-height:1.55}.muted{color:var(--muted)}.eyebrow{font-size:.75rem;letter-spacing:.16em;font-weight:750;text-transform:uppercase;margin-bottom:12px}.text-red{color:var(--red)}.stack{display:grid;gap:20px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{display:flex;align-items:center;justify-content:space-between;gap:16px}.grow{flex:1}.space-top{margin-top:24px}.space-bottom{margin-bottom:24px}.nowrap{white-space:nowrap}.hidden{display:none!important}.icon{width:21px;height:21px;flex-shrink:0;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.icon-lg{width:28px;height:28px}.icon-box{width:44px;height:44px;display:grid;place-items:center;background:#edf1f8;border-radius:13px;color:#29496e;flex-shrink:0}.icon-box.red{background:#fff0f1;color:var(--red)}.icon-box.green{background:var(--mint);color:var(--green)}.btn{min-height:44px;padding:11px 18px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:650;font-size:.9375rem;text-align:center;line-height:1.35}.btn:hover{background:#f3f5fa;border-color:#bdc8d9}.btn.primary{background:var(--red);border-color:var(--red);color:white}.btn.primary:hover{background:var(--red-dark)}.btn.navy{background:var(--navy);color:white;border-color:var(--navy)}.btn.ghost{background:transparent;border-color:transparent}.btn.light{background:#ffffff13;border-color:#ffffff38;color:white}.btn.small{padding:8px 12px;font-size:.875rem}.btn.full{width:100%}.btn.icon-only{width:44px;padding:10px}.text-button{color:#365c88;background:none;border:0;padding:10px 0;font-size:.9rem;font-weight:650}.badge{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;font-weight:700;background:#edf1f8;color:#405674;border-radius:6px;padding:6px 9px;line-height:1.15}.badge.green{background:var(--mint);color:var(--green)}.badge.amber{background:#fff1dc;color:#85520e}.badge.red{background:#fff0f1;color:#bd2a3f}.badge.dark{background:#ffffff15;color:#dce7fc}.card{border:1px solid var(--line);border-radius:16px;background:var(--white);padding:24px;box-shadow:var(--shadow)}.card.flush{padding:0;overflow:hidden}.divider{height:1px;background:var(--line);margin:20px 0}.notice{border:1px solid #dce5f4;background:#edf3fc;color:#3a557c;padding:14px 18px;border-radius:10px;font-size:.875rem;line-height:1.6}.notice.amber{background:#fff8eb;border-color:#f3e3be;color:#76561d}.notice.success{background:#ecf7f1;border-color:#c4e3d3;color:var(--green)}.empty{text-align:center;padding:40px 24px}.empty .icon-box{margin:0 auto 16px}.empty p{margin:10px auto 20px;max-width:440px;color:var(--muted)}.field{display:grid;gap:8px;font-size:.875rem;font-weight:650}.field input,.field select,.field textarea,.search{width:100%;min-height:46px;background:white;border:1px solid #cbd4e1;border-radius:9px;padding:11px 13px;color:var(--ink)}.field textarea{resize:vertical;min-height:100px}.field small{font-weight:400;color:var(--muted)}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2363718a' stroke-width='2'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")!important;background-position:right 12px center!important;background-repeat:no-repeat!important;padding-right:40px!important}.fields-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}.checkbox{display:flex;align-items:flex-start;gap:12px;font-size:.9375rem;line-height:1.6}.checkbox input{width:20px;height:20px;accent-color:var(--red);flex-shrink:0}.search-wrap{position:relative;min-width:220px;flex:1;max-width:440px}.search-wrap .icon{position:absolute;left:14px;top:13px;color:var(--muted)}.search{padding-left:44px}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;padding:15px;background:white}.skip-link:focus{top:10px}.loading{display:grid;place-content:center;min-height:100vh;gap:25px;text-align:center}.loading img{width:230px;margin:auto}
/* Shared review frame */
.review-bar{min-height:35px;background:#e9edf5;border-bottom:1px solid #d9e1ee;padding:7px 24px;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:.75rem;color:#52617b}.review-bar a,.review-bar button{font-size:.75rem;text-decoration:underline;text-underline-offset:3px;background:none;border:0;color:inherit;padding:2px;cursor:pointer}.review-bar strong{color:var(--navy)}.review-links{display:flex;gap:16px;flex-wrap:wrap}.brand{width:158px;height:64px;object-fit:contain}.app-shell{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.sidebar{background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:18px 16px;position:sticky;top:0;height:100vh;max-height:100vh}.sidebar .brand{margin:0 12px 30px}.nav-label{padding:12px;font-size:.6875rem;color:var(--muted);font-weight:750;letter-spacing:.14em}.nav-items{display:grid;gap:5px}.nav-item{display:flex;gap:12px;align-items:center;padding:13px 14px;min-height:47px;border-radius:10px;color:#657189;font-size:.9rem;font-weight:550;white-space:nowrap}.nav-item:hover{background:#f3f6fa;color:var(--navy)}.nav-item.active{background:#fff0f2;color:#cf3045;font-weight:700}.sidebar-foot{margin-top:auto;padding:25px 12px 12px}.sidebar-foot .divider{margin:18px 0}.sidebar-foot p{font-size:.8125rem}.workspace{min-width:0}.topbar{min-height:78px;background:#ffffffd9;backdrop-filter:blur(16px);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:16px 36px;gap:16px}.breadcrumb{font-size:.875rem;color:var(--muted)}.breadcrumb strong{color:var(--ink);font-weight:550}.user-info{display:flex;align-items:center;gap:11px}.avatar{display:grid;place-items:center;border-radius:50%;width:37px;height:37px;background:#e6ebf6;color:#324d77;font-size:.8rem;font-weight:750;flex-shrink:0}.user-info p{font-size:.8125rem;line-height:1.4}.user-info small{font-size:.75rem;color:var(--muted)}.content{padding:32px 36px 48px;max-width:1500px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px}.page-heading p{margin-top:10px;color:var(--muted);font-size:.9375rem;max-width:680px}.two-col{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:24px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.stat{padding:22px;background:white;border:1px solid var(--line);border-radius:13px}.stat-value{font-size:1.9rem;font-weight:750;letter-spacing:-.05em;margin:13px 0 4px}.stat p{font-size:.8125rem;color:var(--muted)}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:.875rem;color:#526078}.welcome{position:relative;overflow:hidden;background:var(--navy);color:white;padding:32px;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:24px;isolation:isolate}.welcome:after{content:'';position:absolute;width:380px;height:380px;border:65px solid #ffffff04;border-radius:50%;right:-80px;top:-130px;z-index:-1}.welcome h2{font-size:1.7rem;letter-spacing:-.04em;max-width:550px}.welcome p{color:#c3cfe3;margin:12px 0 22px;max-width:540px;font-size:.9375rem}.ring{--pct:0;min-width:116px;height:116px;border-radius:50%;background:conic-gradient(#ff6775 calc(var(--pct)*1%),#ffffff1c 0);display:grid;place-items:center}.ring-inner{width:97px;height:97px;border-radius:50%;background:var(--navy);display:flex;flex-direction:column;justify-content:center;text-align:center}.ring-inner strong{font-size:1.7rem}.ring-inner small{font-size:.75rem;color:#bfcbe0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.section-head a{font-size:.875rem;color:#3a5d88;font-weight:650}.task-row{display:flex;gap:15px;align-items:center;padding:18px 0;border-bottom:1px solid #edf0f6}.task-row:last-child{border:0;padding-bottom:0}.task-row:first-child{padding-top:0}.task-row h3{font-size:.9375rem}.task-row p{font-size:.8125rem;color:var(--muted);margin-top:4px}.task-row .time{font-variant-numeric:tabular-nums;font-size:.8125rem;color:var(--muted);min-width:42px}.check-task{border:1px solid #cbd5e2;border-radius:50%;height:30px;width:30px;min-width:30px;background:white;display:grid;place-items:center;color:white}.check-task.checked{background:var(--green);border-color:var(--green)}.quick-link{display:flex;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}.quick-link:last-child{border:0}.quick-link strong{display:block;font-size:.9375rem}.quick-link small{display:block;margin-top:4px;color:var(--muted)}.progress-track{height:6px;background:#e9edf4;border-radius:20px;overflow:hidden;margin:16px 0 10px}.progress-fill{height:100%;background:var(--red);border-radius:20px}.resource-card{display:flex;flex-direction:column;gap:16px;padding:22px;border:1px solid var(--line);border-radius:15px;background:white;transition:transform .16s,box-shadow .16s}.resource-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.resource-card h3{font-size:1.1rem}.resource-card p{font-size:.875rem;color:var(--muted)}.resource-card .btn{margin-top:auto}.filter-bar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:24px}.segments{display:flex;gap:4px;background:#e9edf4;padding:4px;border-radius:10px;flex-wrap:wrap}.segment{border:0;background:none;color:#63718a;padding:10px 15px;border-radius:7px;min-height:40px;font-size:.875rem;font-weight:650}.segment.active{background:white;color:var(--navy);box-shadow:0 2px 5px #14264710}.result-count{font-size:.8125rem;color:var(--muted)}.book-card{padding:0;overflow:hidden;display:grid;grid-template-columns:180px 1fr;min-height:270px}.book-cover{min-height:270px;padding:24px 22px;color:white;background:#264768;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;border-right:7px solid #ffffff25}.book-cover.rose{background:#994a63}.book-cover:after{content:'';position:absolute;width:220px;height:220px;border:1px solid #ffffff40;border-radius:50%;top:100px;left:50px;box-shadow:0 0 0 24px #ffffff06,0 0 0 48px #ffffff06}.book-cover span{font-size:.6875rem;letter-spacing:.15em;z-index:1}.book-cover h3{font-size:1.45rem;letter-spacing:-.03em;z-index:1;overflow-wrap:anywhere}.book-copy{padding:24px;display:flex;flex-direction:column;gap:15px}.book-copy .btn{margin-top:auto;align-self:flex-start}.reader{width:100%;height:72vh;min-height:450px;border:1px solid var(--line);border-radius:12px;background:#e9edf4}
/* Login and public academy */
.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:white}.login-story{background:var(--navy);color:white;padding:46px clamp(28px,5vw,80px);position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;isolation:isolate}.login-story:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 100% 100%,#35517e 0,transparent 65%);z-index:-1}.login-story:after{content:'';position:absolute;width:650px;height:650px;border:1px solid #ffffff10;border-radius:50%;left:-260px;bottom:-420px;box-shadow:0 0 0 65px #ffffff03,0 0 0 130px #ffffff03;z-index:-1}.login-story .label{font-size:.75rem;letter-spacing:.16em;color:#acbdd8;display:flex;align-items:center;gap:10px;margin-bottom:54px}.login-story .label:before{content:'';width:24px;height:3px;background:#fa596b}.login-story h1{font-size:clamp(2.5rem,4.25vw,4.3rem);max-width:620px;line-height:1.08;letter-spacing:-.06em}.login-story h1 em{color:#ff7785;font-style:normal}.login-story>p{color:#c3cfe1;margin-top:24px;max-width:430px}.journey{display:grid;gap:0;margin:48px 0 36px;max-width:440px}.journey-item{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #ffffff17}.journey-item:last-child{border:0}.journey .icon-box{background:#ffffff0d;color:#dbe6fa;border:1px solid #ffffff16}.journey strong{font-size:.9375rem}.journey small{display:block;color:#afc0dc;font-size:.8125rem;margin-top:4px}.login-story footer{font-size:.75rem;color:#9dafcc;letter-spacing:.06em}.login-main{display:flex;flex-direction:column;padding:40px clamp(24px,6vw,88px);justify-content:center;max-width:700px;width:100%;margin:auto}.login-main .brand{width:200px;height:80px;margin-bottom:38px}.login-main h2{font-size:1.9rem;letter-spacing:-.04em}.login-main .intro{color:var(--muted);margin:12px 0 26px;font-size:.9375rem}.login-main .google{margin-bottom:24px}.google-mark{font-size:1.2rem;font-weight:800;color:#4285f4}.or{display:flex;align-items:center;gap:14px;color:#8190a5;font-size:.75rem;margin-bottom:24px}.or:before,.or:after{content:'';height:1px;background:var(--line);flex:1}.login-main .field{margin-bottom:18px}.login-foot{text-align:center;margin-top:22px;font-size:.875rem;color:var(--muted)}.login-foot a{color:#294b74;font-weight:650}.login-note{font-size:.75rem;color:#7b879a;margin-top:20px;text-align:center;line-height:1.5}.academy{background:white}.public-nav{padding:18px max(5vw,24px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.public-nav .brand{height:60px}.public-hero{background:var(--navy);color:white;padding:80px max(7vw,24px);display:grid;grid-template-columns:1.3fr 1fr;gap:60px;align-items:center}.public-hero h1{font-size:clamp(2.6rem,4.5vw,4.6rem);max-width:750px}.public-hero p{color:#c5d2e7;margin:24px 0 30px;max-width:540px}.public-visual{border:1px solid #ffffff28;background:#ffffff08;border-radius:20px;padding:30px}.public-visual .task-row{border-color:#ffffff17}.public-visual .task-row p{margin:4px 0;color:#b6c8e2;font-size:.8125rem}.public-section{padding:70px max(7vw,24px);max-width:1550px;margin:auto}.public-section>p{max-width:680px;color:var(--muted);margin-top:14px;margin-bottom:32px}.plan-card{padding:30px;border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;gap:18px}.plan-card.featured{border:2px solid var(--red);background:#fff8f9}.plan-card .duration{font-size:2.2rem;font-weight:750;letter-spacing:-.05em}.plan-card ul{padding-left:20px;margin:0;color:var(--muted);font-size:.9375rem;line-height:2}.public-footer{padding:28px max(7vw,24px);border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:.8125rem}
/* Study interactions */
.quiz-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px}.question-card{padding:30px}.question-card h2{font-size:1.2rem;font-weight:650;line-height:1.65;margin:24px 0}.question-meta{display:flex;justify-content:space-between;align-items:center;gap:15px;color:var(--muted);font-size:.8125rem}.options{display:grid;gap:12px}.option{border:1px solid var(--line);border-radius:11px;display:flex;align-items:flex-start;gap:14px;padding:15px 17px;min-height:56px;background:white;text-align:left;width:100%;font-size:1rem;line-height:1.5;color:var(--ink)}.option .letter{font-size:.8125rem;background:#f1f4f8;border-radius:6px;min-width:28px;height:28px;display:grid;place-items:center;font-weight:700}.option.selected{border-color:#557eb0;background:#f0f5fc}.option.correct{border-color:#4f9d79;background:#eef8f2}.option.wrong{border-color:#dc8490;background:#fff1f3}.option:disabled{opacity:1;cursor:default}.explanation{margin-top:22px;padding:20px;border-left:3px solid #58a582;background:#f0f8f4;border-radius:0 10px 10px 0}.explanation p{font-size:.9375rem;white-space:pre-wrap;margin-top:12px}.source-image{border:1px solid var(--line);border-radius:8px;margin-top:16px;width:100%}.question-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;max-height:360px;overflow:auto;margin-top:18px;padding:2px}.q-number{font-size:.75rem;min-height:33px;border:1px solid var(--line);background:white;border-radius:6px;color:#51617c}.q-number.answered{background:#e6edf8;border-color:#c7d5e9;color:#26486d}.q-number.current{background:var(--navy);border-color:var(--navy);color:white}.q-number.correct{background:var(--mint);color:var(--green)}.q-number.wrong{background:#fff0f1;color:#b92940}.quiz-actions{display:flex;gap:12px;justify-content:space-between;margin-top:26px;flex-wrap:wrap}.flash-stage{max-width:830px;margin:auto}.flash-card{min-height:350px;display:flex;flex-direction:column;justify-content:center;text-align:center;padding:48px;border-radius:22px;background:white;border:1px solid var(--line);box-shadow:0 12px 35px #14264709}.flash-card.answer{background:#f1f7fb;border-color:#c6d9ec}.flash-card h2{font-size:1.5rem;line-height:1.65}.flash-card p{font-size:1.125rem;white-space:pre-wrap;line-height:1.8}.flash-card .eyebrow{color:var(--red);margin-bottom:32px}.flash-controls{display:flex;justify-content:center;gap:14px;margin:24px 0;flex-wrap:wrap}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.calendar-day{background:white;min-height:240px;border:1px solid var(--line);border-radius:10px;padding:12px;overflow:hidden}.calendar-day h3{font-size:.8125rem;font-weight:600;color:var(--muted);margin-bottom:16px}.calendar-day h3 span{display:block;font-size:1.35rem;color:var(--ink);margin-top:6px}.calendar-block{padding:10px;background:#edf2fa;border-left:3px solid #6385b3;border-radius:5px;margin-bottom:8px;font-size:.8125rem;line-height:1.5;overflow-wrap:anywhere}.calendar-block small{font-size:.75rem;display:block;margin-bottom:5px;color:#56719a}.calendar-block.quiz{background:#fff0f2;border-color:#e56377}.calendar-block.deck{background:#eef7f3;border-color:#5c9e80}.calendar-block button{background:none;border:0;padding:6px 0;text-align:left;color:inherit;font-weight:650}.week-nav{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:24px}.timeline-empty{font-size:.75rem;color:#98a2b2;line-height:1.5}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.875rem}th{font-size:.75rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);background:#f8f9fc;font-weight:650;padding:14px 20px;white-space:nowrap}td{padding:18px 20px;border-top:1px solid var(--line);vertical-align:middle}td small{display:block;color:var(--muted);margin-top:4px}td strong{font-weight:650}.table-wrap .btn{white-space:nowrap}.profile-hero{display:flex;gap:20px;align-items:center}.profile-hero .avatar{width:64px;height:64px;font-size:1.2rem}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:24px}.detail-grid dt{font-size:.8125rem;color:var(--muted);margin-bottom:7px}.detail-grid dd{margin:0;font-size:.9375rem;font-weight:600;overflow-wrap:anywhere}.history{margin:0;padding-left:20px;font-size:.875rem;color:var(--muted);line-height:1.7}.history li{padding-bottom:14px}.qr-placeholder{min-height:220px;border:1px dashed #b9c7dc;border-radius:13px;background:#f8faff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:#6d7e9a;text-align:center;padding:24px}.qr-image{max-width:260px;max-height:320px;object-fit:contain;margin:auto}.step-list{display:grid;gap:22px}.step-list .step{display:flex;gap:16px}.step .step-no{width:30px;height:30px;background:#edf2fa;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:.8125rem;font-weight:700}.step p{font-size:.875rem;color:var(--muted);margin-top:6px}dialog{padding:0;border:1px solid var(--line);border-radius:18px;max-width:580px;width:calc(100% - 32px);max-height:90vh;box-shadow:0 30px 100px #0e203550;color:var(--ink)}dialog::backdrop{background:#12223e70;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid var(--line);gap:15px}.modal-body{padding:26px}.modal-body>p{color:var(--muted);font-size:.9375rem;margin-bottom:22px}.modal-body .field{margin-bottom:18px}#toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:var(--navy);color:white;padding:14px 22px;border-radius:10px;z-index:200;box-shadow:var(--shadow);font-size:.875rem;max-width:calc(100% - 32px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){.login-main{max-width:630px}.content{padding:40px 48px}.topbar{padding:16px 48px}}
@media(max-width:1200px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.content{padding:26px}.topbar{padding:18px 26px}.sidebar{padding:16px 10px}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.book-card{grid-template-columns:140px 1fr}.book-cover{padding:20px 16px}.book-cover h3{font-size:1.15rem}.calendar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.two-col{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr)}.stat{padding:18px}.quiz-layout{grid-template-columns:minmax(0,1fr) 210px}.login-story{padding:40px}.login-main{padding:40px}.login-story h1{font-size:3.2rem}}
@media(max-width:950px){.app-shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:8px 24px;display:block}.sidebar .brand,.sidebar .nav-label,.sidebar-foot{display:none}.nav-items{display:flex;overflow:auto;gap:5px;padding:2px 0}.nav-item{font-size:.8125rem;padding:11px 12px}.nav-item .icon{width:18px}.topbar{min-height:70px}.two-col{grid-template-columns:1.4fr 1fr}.stats{gap:12px}.calendar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.login-story{padding:32px}.login-story h1{font-size:2.6rem}.login-main{padding:32px}.login-main .brand{width:170px;margin-bottom:30px}.journey{margin:30px 0}.login-story .label{margin-bottom:35px}.public-hero{gap:30px;padding-top:50px;padding-bottom:50px}.public-hero h1{font-size:2.8rem}.book-card{grid-template-columns:120px 1fr}.book-copy{padding:20px}.review-bar{padding:8px 20px}}
@media(max-width:700px){.login-page{display:flex;flex-direction:column-reverse}.login-main{padding:30px 24px 36px;max-width:520px}.login-main .brand{margin-bottom:22px;width:170px;height:68px}.login-main h2{font-size:1.7rem}.login-story{padding:36px 24px}.login-story .label{margin-bottom:24px}.login-story h1{font-size:2.4rem;max-width:440px}.login-story>p{font-size:.9375rem}.journey{margin:24px 0}.review-bar{padding:8px 16px;font-size:.6875rem;align-items:flex-start}.review-links{gap:12px}.review-bar .review-extra{display:none}.sidebar{padding:5px 12px}.nav-items{scrollbar-width:thin}.nav-item{padding:11px 10px;gap:8px}.topbar{padding:14px 20px;min-height:65px}.breadcrumb{font-size:.8125rem}.user-info .user-name{display:none}.content{padding:24px 20px 40px}.page-heading{align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:24px}.page-heading p{font-size:.875rem}.page-heading h1{font-size:1.8rem}.two-col,.grid-2,.grid-3,.quiz-layout{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.stat{padding:16px}.stat-value{font-size:1.6rem;margin:10px 0 2px}.stat-top{font-size:.8125rem}.stat-top .icon{width:18px}.card{padding:20px}.card.flush{padding:0}.welcome{padding:24px}.welcome h2{font-size:1.4rem}.welcome p{font-size:.875rem}.welcome .ring{display:none}.task-row{gap:12px}.task-row .time{display:none}.task-row .btn{font-size:.8125rem;padding:9px 12px}.task-row .icon-box{width:36px;height:36px}.filter-bar{gap:14px}.search-wrap{max-width:none;width:100%}.segments{width:100%}.segment{flex:1;padding:9px 10px}.book-card{grid-template-columns:130px 1fr;min-height:245px}.book-cover{min-height:245px}.book-copy{padding:20px}.book-copy p{font-size:.8125rem}.public-nav{padding:12px 20px}.public-nav .brand{width:130px}.public-nav .public-info{display:none}.public-hero{grid-template-columns:1fr;padding:44px 24px}.public-hero h1{font-size:2.6rem}.public-visual{padding:24px}.public-section{padding:44px 24px}.public-footer{flex-direction:column;padding:24px}.fields-2{grid-template-columns:1fr;gap:16px}.calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-day{min-height:170px}.question-card{padding:22px 18px}.question-card h2{font-size:1.05rem;margin:20px 0}.option{padding:13px 12px;gap:10px;font-size:.9375rem}.quiz-map{order:2}.question-nav{grid-template-columns:repeat(10,1fr);gap:5px;max-height:180px}.q-number{min-height:30px}.flash-card{padding:30px 22px;min-height:330px}.flash-card h2{font-size:1.2rem}.flash-card p{font-size:1rem}.flash-card .eyebrow{margin-bottom:22px}.modal-head{padding:18px 20px}.modal-body{padding:20px}.modal-body .fields-2{gap:0}.detail-grid{gap:20px}.reader{height:65vh;min-height:420px}.qr-placeholder{min-height:180px}}
.sidebar{min-width:0}
@media(max-width:950px){.app-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;align-content:start}}
@media(max-width:700px){.table-wrap{overflow:visible}.table-wrap table,.table-wrap tbody{display:block}.table-wrap thead{display:none}.table-wrap tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:10px;border-top:1px solid var(--line)}.table-wrap tr:first-child{border-top:0}.table-wrap td{display:block;min-width:0;padding:10px;border:0;overflow-wrap:anywhere}.table-wrap td:first-child,.table-wrap td:last-child{grid-column:1/-1}.table-wrap td:before{content:attr(data-label);display:block;color:var(--muted);font-size:.75rem;letter-spacing:.04em;margin-bottom:6px}.table-wrap td:last-child:before{display:none}.table-wrap td:last-child .btn{width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Impulso · A focused, responsive campus */
:root {
  --red: #d62e43;
  --red-dark: #b82135;
  --muted: #5c6c82;
  --canvas: #f5f7fb;
  --shadow: 0 4px 18px #14264705;
}
body { line-height: 1.5; }
button, input, select, textarea { max-width: 100%; }
.grow, .workspace, .content, .day-main, .day-aside, .reader-pane { min-width: 0; }
.card { border-radius: 14px; padding: 22px; }
.card.flush { padding: 0; }
.badge { font-size: .8125rem; }
.page-heading h1 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.page-heading { margin-bottom: 24px; align-items: center; }
.page-heading p { margin-top: 8px; }
.section-head { margin-bottom: 18px; }
.resource-card { gap: 15px; border-radius: 14px; padding: 22px; transition: border-color .15s, box-shadow .15s; }
.resource-card:hover { transform: none; border-color: #b8c6d9; box-shadow: 0 5px 20px #14264708; }
.resource-card p, .resource-card .small { font-size: .875rem; }
.resource-card h3 { font-size: 1.125rem; }
.resource-card .btn { width: 100%; }
.stat { padding: 18px 20px; border-radius: 12px; }
.stat-value { font-size: 1.7rem; margin: 10px 0 3px; }
.stat p, .stat-top { font-size: .875rem; }
.stats { gap: 14px; margin: 22px 0; }
.review-bar { min-height: 36px; }

/* The rail expands over the page; content never moves on hover. */
.app-shell { grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: 1fr; align-content: stretch; }
.sidebar {
  width: 88px;
  min-width: 88px;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  z-index: 70;
  display: flex;
  flex-direction: column;
  padding: 18px 12px 12px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 0;
  transition: width .18s ease, box-shadow .18s ease;
  scrollbar-width: thin;
}
.sidebar > a:first-child { display: flex; align-items: center; position: relative; height: 70px; min-height: 70px; margin: 0 0 12px; }
.brand-monogram { display: grid; place-items: center; width: 48px; height: 48px; margin-left: 8px; border-radius: 13px; background: var(--navy); color: white; font-weight: 800; letter-spacing: -.06em; font-size: 1.1rem; flex-shrink: 0; }
.brand-full { position: absolute; left: 9px; top: 0; width: 190px; opacity: 0; visibility: hidden; transition: opacity .12s; }
.sidebar .brand { display: block; width: 174px; height: 70px; margin: 0; }
.sidebar .nav-label { display: block; height: 34px; min-height: 34px; font-size: .6875rem; padding: 8px 19px; opacity: 0; white-space: nowrap; }
.sidebar .nav-items { display: grid; gap: 5px; padding: 0; overflow: visible; width: 100%; }
.sidebar .nav-item { display: flex; min-height: 48px; padding: 13px 20px; gap: 14px; width: 100%; font-size: .875rem; border-radius: 10px; color: #53647c; }
.sidebar .nav-item .icon { width: 22px; height: 22px; }
.sidebar .nav-item:hover { color: var(--navy); background: #f1f4f9; }
.sidebar .nav-item.active { color: #b92137; background: #fff0f2; font-weight: 700; box-shadow: inset 3px 0 #d62e43; }
.sidebar .nav-text { opacity: 0; visibility: hidden; transition: opacity .12s; }
.sidebar-foot { display: block; margin-top: auto; padding: 28px 0 0; width: 100%; }
.sidebar-foot .sidebar-meta { padding: 0 19px; opacity: 0; visibility: hidden; min-height: 43px; white-space: nowrap; }
.sidebar-foot .sidebar-meta p { font-size: .8125rem; }
.sidebar-foot .divider { margin: 16px 8px; }
.sidebar-foot .nav-item { font-size: .8125rem; }
.sidebar:hover, .sidebar:focus-within, .menu-open .sidebar { width: 260px; box-shadow: 12px 0 30px #14264710; }
.sidebar:hover .brand-full, .sidebar:focus-within .brand-full, .menu-open .sidebar .brand-full { opacity: 1; visibility: visible; }
.sidebar:hover .brand-monogram, .sidebar:focus-within .brand-monogram, .menu-open .sidebar .brand-monogram { opacity: 0; }
.sidebar:hover .nav-text, .sidebar:focus-within .nav-text, .menu-open .sidebar .nav-text,
.sidebar:hover .nav-label, .sidebar:focus-within .nav-label, .menu-open .sidebar .nav-label,
.sidebar:hover .sidebar-meta, .sidebar:focus-within .sidebar-meta, .menu-open .sidebar .sidebar-meta { opacity: 1; visibility: visible; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; min-width: 42px; height: 42px; padding: 8px; background: white; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.nav-toggle:hover { background: #f1f4f9; }
.nav-backdrop { display: none; position: fixed; inset: 0; padding: 0; border: 0; z-index: 65; background: transparent; }
.menu-open .nav-backdrop { display: block; }
.topbar { min-height: 70px; padding: 12px 30px; gap: 18px; background: #ffffffed; }
.topbar-leading, .topbar-start { display: flex; align-items: center; gap: 16px; min-width: 0; }
.topbar .breadcrumb { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .user-info { margin-left: auto; }
.user-info p, .user-info small { font-size: .8125rem; }
.content { max-width: 1500px; padding: 28px 30px 46px; }
.bottom-nav { display: none; }

/* Daily study: one clear next step, with the timetable alongside. */
.day-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.day-heading h1 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.day-heading p { margin-top: 7px; color: var(--muted); font-size: .9375rem; }
.day-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .875rem; color: var(--muted); }
.day-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.day-main, .day-aside { display: grid; gap: 22px; }
.continue-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--navy); color: white; border: 1px solid var(--navy); border-radius: 16px; padding: 26px; }
.continue-copy { min-width: 0; flex: 1; }
.continue-copy .eyebrow { font-size: .6875rem; color: #b9cbe5; margin-bottom: 10px; }
.continue-copy h2 { font-size: 1.35rem; letter-spacing: -.025em; }
.continue-copy p { font-size: .875rem; color: #cbd8ec; margin-top: 8px; }
.continue-copy .btn { margin-top: 20px; }
.continue-icon { width: 62px; height: 62px; min-width: 62px; display: grid; place-items: center; color: #e7eefb; background: #ffffff0d; border: 1px solid #ffffff25; border-radius: 17px; }
.continue-icon .icon { width: 30px; height: 30px; }
.continue-card .btn.ghost { color: #fff; border-color: #ffffff50; }
.agenda-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.agenda-title h2 { font-size: 1.125rem; }
.agenda-title p { color: var(--muted); font-size: .875rem; margin-top: 5px; }
.agenda-navigation { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.agenda-navigation .btn { min-height: 40px; padding: 8px 11px; }
.agenda-progress { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 18px; font-size: .875rem; color: var(--muted); }
.agenda-progress-track { height: 5px; width: 100%; overflow: hidden; border-radius: 8px; background: #e8edf5; }
.agenda-progress-track > span, .agenda-progress-track > div { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.agenda-task { min-width: 0; gap: 14px; padding: 18px 0; }
.agenda-task .time { display: block; min-width: 43px; color: #5f7087; font-size: .8125rem; }
.agenda-task h3 { font-size: .9375rem; font-weight: 650; }
.agenda-task p { font-size: .875rem; }
.agenda-task .icon-box { width: 38px; height: 38px; border-radius: 11px; background: #eaf0fb; color: #365e91; }
.agenda-task.quiz .icon-box { background: #fff0f2; color: #b92137; }
.agenda-task.deck .icon-box { background: #e9f5ee; color: #226849; }
.agenda-task .btn { font-size: .8125rem; flex-shrink: 0; }
.agenda-task.completed h3 { color: #627187; }
.agenda-task.completed .icon-box { opacity: .7; }
.agenda-empty { padding: 30px 16px; color: var(--muted); text-align: center; }
.agenda-empty h3 { margin: 12px 0 7px; color: var(--ink); }
.agenda-empty p { font-size: .875rem; }
.agenda-empty .icon-box { margin: 0 auto; }
.agenda-notice { border: 1px solid var(--line); border-radius: 12px; background: white; overflow: hidden; }
.agenda-notice summary { display: flex; align-items: center; gap: 10px; padding: 17px 18px; font-size: .875rem; font-weight: 650; cursor: pointer; list-style: none; }
.agenda-notice summary::-webkit-details-marker { display: none; }
.agenda-notice summary:after { content: '+'; margin-left: auto; font-weight: 500; font-size: 1.2rem; color: var(--muted); }
.agenda-notice[open] summary:after { content: '−'; }
.agenda-notice > p, .agenda-notice > div { margin: 0; padding: 0 18px 18px; color: var(--muted); font-size: .875rem; }
.day-aside .quick-link { gap: 12px; padding: 15px 0; }
.day-aside .quick-link:first-of-type { padding-top: 0; }
.day-aside .quick-link strong { font-size: .9375rem; }
.day-aside .quick-link small { font-size: .8125rem; }

/* Calendar views share the same activity colours. */
.schedule-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.schedule-range { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.schedule-range strong { font-size: 1rem; min-width: 110px; text-align: center; }
.schedule-range .btn { padding: 9px 12px; }
.schedule-views { display: flex; gap: 4px; padding: 4px; background: #e9edf4; border-radius: 10px; }
.schedule-views button { background: transparent; color: #52647d; border: 0; border-radius: 7px; min-height: 40px; padding: 9px 17px; font-size: .875rem; font-weight: 650; }
.schedule-views button.active, .schedule-views button[aria-pressed="true"] { background: white; color: var(--navy); box-shadow: 0 2px 5px #14264710; }
.schedule-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.schedule-day { border: 1px solid var(--line); border-radius: 12px; background: white; min-width: 0; overflow: hidden; }
.schedule-day.is-today { border-color: #e17c88; }
.schedule-day.is-selected { box-shadow: inset 0 0 0 1px #d62e43; border-color: #d62e43; }
.schedule-day-button { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; width: 100%; text-align: left; background: #f8fafc; border: 0; border-bottom: 1px solid var(--line); padding: 14px 12px; font-size: .875rem; color: var(--muted); min-height: 76px; }
.schedule-day-button strong, .schedule-day-button span { color: var(--ink); font-size: 1.1rem; font-weight: 650; }
.is-today .schedule-day-button { background: #fff2f4; color: #b92137; }
.is-today .schedule-day-button strong, .is-today .schedule-day-button span { color: #b92137; }
.schedule-tasks { display: grid; gap: 8px; padding: 9px; align-content: start; min-height: 250px; }
.schedule-tasks > p { padding: 8px 3px; font-size: .8125rem; color: var(--muted); }
.schedule-task { display: block; text-align: left; border: 0; border-left: 3px solid #688dbb; border-radius: 6px; padding: 10px 9px; background: #edf3fd; color: #26486d; min-width: 0; overflow-wrap: anywhere; font-size: .8125rem; line-height: 1.5; }
.schedule-task strong { display: block; font-size: .8125rem; font-weight: 650; }
.schedule-task small, .schedule-task time { display: block; font-size: .75rem; margin-bottom: 5px; }
.schedule-task.quiz { background: #fff0f2; border-color: #d76979; color: #8e293c; }
.schedule-task.deck { background: #edf7f1; border-color: #5d9c79; color: #276747; }
.schedule-task:hover { filter: brightness(.98); }
.schedule-day.is-outside, .schedule-cell.is-outside { background: #f1f3f7; opacity: .65; }
.schedule-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; font-size: .8125rem; color: var(--muted); padding: 12px 0; gap: 5px; }
.schedule-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.schedule-cell { min-height: 96px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: white; min-width: 0; }
.schedule-cell.is-selected { border-color: #d62e43; box-shadow: inset 0 0 0 1px #d62e43; }
.schedule-cell-button { display: flex; align-items: center; justify-content: center; min-width: 35px; min-height: 35px; background: transparent; border: 0; border-radius: 50%; color: var(--ink); font-size: .875rem; font-weight: 650; padding: 5px; }
.is-today .schedule-cell-button { background: #fff0f2; color: #b92137; }
.schedule-cell.is-selected .schedule-cell-button { color: #b92137; }
.schedule-dots { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-height: 14px; margin: 10px 5px 0; }
.schedule-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #6489b8; flex-shrink: 0; }
.schedule-dot.quiz { background: #d36476; }
.schedule-dot.deck { background: #4e936d; }
.schedule-cell small { display: block; color: var(--muted); font-size: .75rem; margin: 4px 5px 0; }
.schedule-agenda { margin-top: 18px; }
.schedule-agenda.is-week, .schedule-day-strip { display: none; }
.schedule-day-strip { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 16px 0; }
.schedule-pill { display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; padding: 12px 3px; border: 1px solid var(--line); border-radius: 10px; background: white; color: #5c6c82; font-size: .75rem; }
.schedule-pill strong { font-size: 1.05rem; color: var(--ink); }
.schedule-pill.is-today { background: #fff3f5; border-color: #ebbfca; }
.schedule-pill[aria-pressed="true"], .schedule-pill.is-selected { background: var(--navy); border-color: var(--navy); color: #d3def0; }
.schedule-pill[aria-pressed="true"] strong, .schedule-pill.is-selected strong { color: white; }

/* Manual hubs and quick flashcard sessions. */
.library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.library-card { display: grid; grid-template-columns: 138px minmax(0, 1fr); border: 1px solid var(--line); background: white; border-radius: 15px; overflow: hidden; min-width: 0; }
.book-mini-cover { background: #234869; color: white; min-height: 235px; padding: 22px 17px; display: flex; flex-direction: column; justify-content: space-between; gap: 25px; border-right: 6px solid #ffffff22; }
.book-mini-cover.blue { background: #234869; }
.book-mini-cover.rose { background: #8d435c; }
.book-mini-cover span, .book-mini-cover small { font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; }
.book-mini-cover strong, .book-mini-cover h3 { font-size: 1.15rem; line-height: 1.35; letter-spacing: -.035em; overflow-wrap: anywhere; }
.library-card-copy { display: flex; flex-direction: column; gap: 13px; padding: 22px; min-width: 0; }
.library-card-copy h2 { font-size: 1.2rem; }
.library-card-copy p { font-size: .875rem; color: var(--muted); }
.library-card-copy .btn { margin-top: auto; width: fit-content; }
.library-resume { padding: 10px 12px; border-radius: 8px; background: #f1f5fb; color: #395d85; font-size: .8125rem; }
.specialty-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 24px; padding: 0 0 1px; overflow-x: auto; scrollbar-width: thin; }
.specialty-tabs a, .specialty-tabs button { display: flex; align-items: center; justify-content: center; gap: 9px; background: none; border: 0; border-bottom: 3px solid transparent; padding: 13px 20px; min-height: 48px; color: #5c6c82; font-size: .9375rem; font-weight: 650; white-space: nowrap; }
.specialty-tabs .active { border-bottom-color: var(--red); color: #b92137; }
.specialty-tabs a:hover { background: #edf1f7; }
.specialty-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.chapter-panel { background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.chapter-panel summary { padding: 17px 18px; font-size: .875rem; font-weight: 700; cursor: pointer; }
.chapter-list { padding: 5px 8px 10px; max-height: 68vh; overflow: auto; scrollbar-width: thin; }
.chapter-list a { display: flex; align-items: start; gap: 10px; padding: 11px 10px; font-size: .875rem; line-height: 1.45; border-radius: 7px; color: #56667d; }
.chapter-list a span { min-width: 0; }
.chapter-list a small { margin-left: auto; color: #718098; font-size: .75rem; flex-shrink: 0; }
.chapter-list a.active { background: #fff0f2; color: #b92137; font-weight: 650; }
.chapter-list a:hover { background: #f0f4fa; }
.reading-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.reading-toolbar .field { gap: 5px; font-size: .8125rem; }
.reading-toolbar .field input { max-width: 92px; min-height: 42px; padding: 9px 11px; }
.reading-toolbar .btn { min-height: 42px; }
.reader-pane .reader { display: block; height: 70vh; min-height: 480px; }
.reader-note { font-size: .8125rem; color: var(--muted); margin: 13px 0 0; line-height: 1.6; }
.review-builder { margin-bottom: 24px; }
.review-builder-top { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.review-builder-top h2 { font-size: 1.2rem; }
.review-builder-top p { font-size: .875rem; color: var(--muted); margin-top: 6px; max-width: 510px; }
.review-amounts { display: flex; flex-wrap: wrap; gap: 7px; border: 0; margin: 0; padding: 0; }
.review-amounts legend { font-size: .8125rem; font-weight: 650; color: #53647c; margin-bottom: 8px; }
.review-amounts label { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; font-size: .875rem; cursor: pointer; white-space: nowrap; }
.review-amounts label:has(input:checked) { color: #b92137; background: #fff0f2; border-color: #e39ca6; }
.review-amounts input { accent-color: var(--red); margin: 0; }
.deck-picker { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 2px; }
.deck-picker summary { padding: 16px 0; cursor: pointer; font-size: .875rem; color: #3f5879; font-weight: 650; }
.deck-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 2px 0 16px; }
.deck-options label { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: .875rem; cursor: pointer; line-height: 1.4; }
.deck-options label:has(input:checked) { background: #f0f5fc; border-color: #bdcde3; }
.deck-options input { width: 18px; height: 18px; accent-color: var(--navy); flex-shrink: 0; margin: 0; }
.review-session-resume { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 22px; border: 1px solid #c7d8ec; border-radius: 12px; background: #edf4fd; margin-bottom: 22px; }
.review-session-resume h3 { font-size: 1rem; }
.review-session-resume p { color: #566f91; font-size: .875rem; margin-top: 4px; }
.session-history { margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.session-history summary { padding: 17px 20px; cursor: pointer; font-size: .875rem; font-weight: 650; }
.session-history > div, .session-history > ul { margin: 0; padding: 0 20px 18px; }
.flash-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .875rem; color: var(--muted); margin-bottom: 16px; }
.quiz-filters { display: grid; grid-template-columns: minmax(200px, 1.5fr) repeat(2, minmax(160px, 1fr)); gap: 14px; margin-bottom: 22px; align-items: end; }
.quiz-filters .search-wrap { min-width: 0; max-width: none; width: 100%; }
.quiz-filters .field { font-size: .8125rem; }
.quiz-collection { margin-top: 24px; }
.quiz-collection .section-head { margin-bottom: 16px; }

@media (min-width: 1600px) {
  .content { padding: 32px 44px 48px; }
  .topbar { padding-inline: 44px; }
}
@media (max-width: 1100px) {
  .app-shell { display: block; min-height: 100vh; }
  .sidebar, .sidebar:hover, .sidebar:focus-within { position: fixed; top: 0; left: 0; width: 280px; max-width: calc(100vw - 48px); min-width: 0; transform: translateX(-105%); visibility: hidden; height: 100vh; height: 100dvh; padding: 20px 14px; transition: transform .2s ease, visibility .2s; border-right: 1px solid var(--line); box-shadow: none; }
  .menu-open .sidebar { width: 280px; transform: translateX(0); visibility: visible; box-shadow: 16px 0 44px #14264725; }
  .sidebar .brand-full, .sidebar .nav-text, .sidebar .nav-label, .sidebar .sidebar-meta { opacity: 1; visibility: visible; }
  .sidebar .brand-monogram { opacity: 0; }
  .sidebar .nav-label { display: block; }
  .sidebar-foot { display: block; padding-top: 24px; }
  .sidebar-foot .sidebar-meta { min-height: 43px; }
  .menu-open .nav-backdrop { background: #14264770; }
  .topbar { min-height: 68px; padding: 12px 24px; }
  .content { padding: 26px 24px 42px; }
  .day-grid { grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr); gap: 20px; }
  .day-main, .day-aside { gap: 20px; }
  .continue-card { padding: 22px; }
  .continue-icon { display: none; }
  .schedule-week { display: none; }
  .schedule-day-strip { display: grid; }
  .schedule-agenda.is-week { display: block; }
  .library-card { grid-template-columns: 120px minmax(0, 1fr); }
  .library-card-copy { padding: 18px; }
  .book-mini-cover { padding: 19px 14px; }
  .book-mini-cover strong, .book-mini-cover h3 { font-size: 1.1rem; }
  .specialty-layout { grid-template-columns: 1fr; gap: 18px; }
  .chapter-list { max-height: 320px; }
  .chapter-panel summary { padding: 16px 18px; }
  .deck-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-builder-top { gap: 20px; }
}
@media (max-width: 800px) {
  .day-grid { grid-template-columns: 1fr; }
  .day-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .day-aside > .agenda-notice, .day-aside > .notice { grid-column: 1 / -1; }
  .library-grid { grid-template-columns: 1fr; }
  .library-card { grid-template-columns: 145px minmax(0, 1fr); }
  .book-mini-cover { min-height: 225px; padding: 22px 18px; }
  .library-card-copy { padding: 24px; }
  .review-builder-top { flex-direction: column; }
  .quiz-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz-filters > .search-wrap { grid-column: 1 / -1; }
  .quiz-filters .field:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .review-bar { padding: 7px 14px; font-size: .6875rem; gap: 10px; }
  .review-links { gap: 10px; }
  .review-bar a, .review-bar button { font-size: .6875rem; }
  .topbar { min-height: 65px; padding: 11px 16px; gap: 10px; }
  .topbar-leading, .topbar-start { gap: 10px; }
  .topbar .breadcrumb { font-size: .8125rem; }
  .topbar .user-info { gap: 7px; }
  .topbar .user-info > .badge, .topbar .user-info .user-name { display: none; }
  .avatar { width: 35px; height: 35px; }
  .nav-toggle { width: 40px; min-width: 40px; height: 40px; }
  .content { padding: 22px 16px calc(100px + env(safe-area-inset-bottom)); }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; bottom: 0; left: 0; right: 0; z-index: 55; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid #dce3ed; background: #fffffff5; backdrop-filter: blur(16px); box-shadow: 0 -4px 20px #14264706; }
  .bottom-nav > a, .bottom-nav > button, .bottom-nav-item { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-width: 0; min-height: 53px; padding: 6px 2px; border: 0; border-radius: 9px; color: #5b6b81; background: transparent; font-size: .75rem; font-weight: 600; line-height: 1.4; text-align: center; }
  .bottom-nav-item > span { white-space: nowrap; letter-spacing: -.025em; }
  .bottom-nav .icon { width: 22px; height: 22px; }
  .bottom-nav .active, .bottom-nav [aria-current="page"], .bottom-nav [aria-expanded="true"] { color: #b92137; background: #fff0f2; }
  .sidebar, .sidebar:hover, .sidebar:focus-within { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .card { padding: 19px 17px; }
  .card.flush { padding: 0; }
  .page-heading, .day-heading { gap: 14px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 20px; }
  .page-heading h1, .day-heading h1 { font-size: 1.75rem; }
  .page-heading p, .day-heading p { font-size: .875rem; }
  .day-meta { font-size: .8125rem; gap: 8px; }
  .day-grid, .day-main, .day-aside { gap: 18px; }
  .day-aside { grid-template-columns: 1fr; }
  .stats { gap: 10px; margin: 18px 0; }
  .stat { padding: 15px; }
  .stat-top, .stat p { font-size: .8125rem; }
  .stat-value { font-size: 1.55rem; }
  .continue-card { padding: 22px 20px; }
  .continue-copy h2 { font-size: 1.25rem; }
  .continue-copy .btn { margin-top: 17px; }
  .continue-card > .btn { width: 100%; }
  .continue-card { flex-wrap: wrap; }
  .agenda-toolbar { gap: 10px; align-items: flex-start; padding-bottom: 16px; }
  .agenda-title h2 { font-size: 1.05rem; }
  .agenda-title p { font-size: .8125rem; }
  .agenda-navigation { gap: 4px; }
  .agenda-navigation .btn { padding: 8px; min-height: 38px; }
  .agenda-task { flex-wrap: wrap; gap: 10px; padding: 17px 0; }
  .agenda-task .time { width: 100%; font-size: .75rem; }
  .agenda-task .icon-box { width: 34px; height: 34px; border-radius: 9px; }
  .agenda-task .icon-box .icon { width: 19px; height: 19px; }
  .agenda-task .grow { flex-basis: calc(100% - 88px); }
  .agenda-task h3 { font-size: .9375rem; }
  .agenda-task p { font-size: .8125rem; }
  .agenda-task .btn { margin-left: 44px; }
  .agenda-task .check-task { width: 28px; min-width: 28px; height: 28px; }
  .schedule-toolbar { gap: 14px; align-items: stretch; }
  .schedule-range { width: 100%; justify-content: space-between; gap: 8px; }
  .schedule-range strong { min-width: 0; font-size: .9375rem; }
  .schedule-range .btn { padding: 9px 10px; }
  .schedule-views { width: 100%; }
  .schedule-views button { flex: 1; padding: 9px 12px; }
  .schedule-day-strip { gap: 4px; }
  .schedule-pill { padding: 10px 2px; gap: 5px; font-size: .6875rem; border-radius: 8px; }
  .schedule-pill strong { font-size: 1rem; }
  .schedule-month { gap: 4px; }
  .schedule-weekdays { padding: 8px 0 12px; font-size: .75rem; gap: 4px; }
  .schedule-cell { padding: 5px 2px; min-height: 68px; border-radius: 8px; }
  .schedule-cell-button { margin: 0 auto; min-width: 32px; min-height: 32px; padding: 3px; }
  .schedule-dots { margin: 5px 2px 0; justify-content: center; gap: 3px; }
  .schedule-dot { width: 5px; height: 5px; }
  .schedule-cell small { display: none; }
  .library-card { grid-template-columns: 105px minmax(0, 1fr); }
  .book-mini-cover { padding: 20px 11px; min-height: 238px; }
  .book-mini-cover strong, .book-mini-cover h3 { font-size: .95rem; }
  .book-mini-cover span, .book-mini-cover small { font-size: .55rem; letter-spacing: .08em; }
  .library-card-copy { padding: 18px 15px; gap: 12px; }
  .library-card-copy h2 { font-size: 1.1rem; }
  .library-card-copy .btn { width: 100%; padding: 10px; font-size: .8125rem; }
  .library-resume { padding: 8px 10px; font-size: .75rem; }
  .specialty-tabs { margin-bottom: 18px; gap: 0; }
  .specialty-tabs a, .specialty-tabs button { flex: 1; padding: 12px 9px; font-size: .8125rem; gap: 6px; }
  .specialty-tabs .icon { width: 18px; height: 18px; }
  .reader-pane .reader { height: 65vh; min-height: 380px; }
  .reading-toolbar { gap: 10px; align-items: end; }
  .reading-toolbar .row { gap: 8px; }
  .reading-toolbar .btn { font-size: .8125rem; padding: 9px 11px; }
  .reading-toolbar .field input { max-width: 72px; }
  .review-builder-top { gap: 18px; }
  .review-amounts { width: 100%; }
  .review-amounts label { flex: 1; padding: 10px 8px; }
  .deck-options { grid-template-columns: 1fr; gap: 7px; }
  .deck-options label { min-height: 44px; }
  .review-session-resume { padding: 18px; }
  .review-session-resume .btn { width: 100%; }
  .quiz-filters { gap: 12px; }
  .quiz-filters .field { font-size: .8125rem; }
  .quiz-filters .field select { font-size: .875rem; padding-left: 10px; }
  .resource-card { padding: 20px; }
  .question-meta { flex-wrap: wrap; }
  .question-nav { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  #toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* Component details shared by the final markup. */
.brand-monogram { display: flex; justify-content: center; align-items: center; gap: 1px; }
.brand-monogram > span { color: #ff7785; }
.day-aside .agenda-progress { display: block; margin: 0; }
.agenda-progress .section-head { width: 100%; margin-bottom: 19px; }
.agenda-progress .section-head h2 { font-size: 1.125rem; }
.agenda-progress-number { display: block; font-size: 2.1rem; line-height: 1.2; color: var(--ink); letter-spacing: -.04em; }
.agenda-progress-number span { font-size: 1.2rem; color: var(--muted); font-weight: 500; }
.agenda-progress > p { margin-top: 5px; }
.agenda-progress .agenda-progress-track { margin: 18px 0 14px; }
.agenda-progress > a { display: inline-block; color: #395d85; font-weight: 650; }
.day-metrics { display: grid; gap: 13px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.day-metrics > div { display: flex; justify-content: space-between; align-items: center; flex-direction: row-reverse; gap: 12px; }
.day-metrics strong { font-size: .9375rem; color: var(--ink); }
.day-metrics span { color: var(--muted); font-size: .8125rem; }
.day-shortcuts > h2 { font-size: 1.125rem; margin-bottom: 18px; }
.agenda-task .agenda-task-kind { font-size: .75rem; margin: 0 0 4px; color: #5f7087; }
.agenda-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 17px; margin-top: 16px; font-size: .8125rem; }
.agenda-footer a { color: #395d85; font-weight: 650; }
.agenda-notice-body > p + p { margin-top: 10px; }
.agenda-overdue { padding: 13px 0; border-top: 1px solid var(--line); }
.agenda-overdue:first-child { border: 0; padding-top: 0; }
.agenda-overdue .agenda-task { border: 0; padding-bottom: 0; }
.agenda-empty > .icon { width: 30px; height: 30px; color: #8296b1; }
.agenda-empty .btn { margin-top: 18px; }
.schedule-context { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 18px; font-size: .875rem; color: var(--muted); margin: -6px 0 24px; }
.schedule-context > span:first-child { font-weight: 650; color: #405674; }
.schedule-toolbar > .schedule-views { order: 1; }
.schedule-toolbar > .schedule-range { order: 2; margin-left: auto; font-size: 1.05rem; text-transform: capitalize; }
.schedule-toolbar > .agenda-navigation { order: 3; }
.schedule-task-time { display: block; font-size: .75rem; margin-bottom: 5px; }
.schedule-task > a { display: block; font-weight: 650; }
.schedule-task-kind { display: block; margin-top: 6px; font-size: .6875rem; opacity: .9; }
.schedule-task.completed { opacity: .75; }
.schedule-day-button > span { font-size: .75rem; font-weight: 500; text-transform: capitalize; }
.schedule-day-button > strong { font-size: 1.2rem; }
.schedule-day-button > .schedule-dot { position: absolute; right: 12px; top: 20px; }
.schedule-day-button { position: relative; }
.schedule-pill { text-transform: capitalize; }
.schedule-cell { padding: 4px; }
.schedule-cell-button { min-height: 86px; height: 100%; width: 100%; display: flex; flex-direction: column; justify-content: flex-start; gap: 0; padding: 8px 3px; border-radius: 7px; }
.schedule-cell-button > span:first-child { display: grid; place-items: center; min-height: 28px; min-width: 28px; }
.schedule-cell.is-other-month { background: #f7f9fc; }
.schedule-cell.is-other-month .schedule-cell-button { color: #7e8da2; }
.schedule-cell.is-today .schedule-cell-button { background: #fff2f4; }
.schedule-legend { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 20px; font-size: .8125rem; color: var(--muted); }
.schedule-legend > span { display: inline-flex; gap: 8px; align-items: center; }
.library-card.card, .chapter-panel.card { padding: 0; }
.library-card-copy > .badge { align-self: flex-start; }
.library-card { grid-template-columns: 170px minmax(0, 1fr); }
.book-mini-cover h3, .book-mini-cover strong { overflow-wrap: normal; word-break: normal; font-size: 1.05rem; }
.library-resume.card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; margin-bottom: 24px; }
.library-resume .eyebrow { margin-bottom: 6px; font-size: .6875rem; }
.library-resume h2 { font-size: 1.125rem; }
.library-resume p { margin-top: 5px; }
.chapter-panel summary .small { display: block; margin-top: 5px; font-weight: 400; }
.reading-toolbar > p { flex-basis: 100%; font-size: .8125rem; }
.reader-note { margin: 0 0 12px; }
.section-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin: 26px 0 18px; }
.section-heading h2 { font-size: 1.2rem; }
.section-heading p { font-size: .875rem; color: var(--muted); }
.deck-picker summary > small { font-weight: 400; color: var(--muted); }
.quiz-collection { margin: 0 0 24px; }
.quiz-collection > .segments { width: fit-content; margin-bottom: 20px; }
.quiz-filters { grid-template-columns: minmax(200px, 1.4fr) minmax(150px, .8fr) minmax(150px, .8fr); margin-bottom: 14px; }
.quiz-filters > .checkbox { min-height: 44px; align-items: center; font-size: .8125rem; }
.quiz-filters > .btn { justify-self: start; }
.question-count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; padding-top: 3px; }
.question-count strong { font-size: 1.4rem; font-weight: 700; letter-spacing: -.035em; }
.question-count span { color: var(--muted); font-size: .8125rem; }
@media (max-width: 800px) {
  .library-card { grid-template-columns: 150px minmax(0, 1fr); }
  .quiz-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz-filters > .search-wrap { grid-column: 1 / -1; }
  .schedule-toolbar > .schedule-range { width: 100%; order: 0; margin-left: 0; }
  .schedule-toolbar > .agenda-navigation { margin-left: auto; }
}
@media (max-width: 640px) {
  .library-card { grid-template-columns: 118px minmax(0, 1fr); }
  .book-mini-cover { padding-inline: 10px; }
  .book-mini-cover h3, .book-mini-cover strong { font-size: .8125rem; letter-spacing: -.04em; }
  .agenda-task { display: grid; grid-template-columns: 34px minmax(0, 1fr) 30px; column-gap: 10px; row-gap: 7px; }
  .agenda-task .time { grid-column: 2; grid-row: 1; width: auto; }
  .agenda-task .icon-box { grid-column: 1; grid-row: 1 / 3; }
  .agenda-task .grow { grid-column: 2; grid-row: 2; }
  .agenda-task .btn { grid-column: 2; grid-row: 3; justify-self: start; margin: 3px 0 0; }
  .agenda-task .check-task { grid-column: 3; grid-row: 1 / 4; }
  .agenda-footer { flex-wrap: wrap; gap: 8px; }
  .agenda-notice summary { flex-wrap: wrap; gap: 8px; }
  .agenda-notice summary:after { margin-left: auto; }
  .agenda-notice summary .badge { font-size: .6875rem; }
  .schedule-context { font-size: .8125rem; margin-bottom: 20px; }
  .schedule-toolbar { gap: 12px 8px; }
  .schedule-toolbar > .schedule-range { width: 100%; font-size: 1rem; }
  .schedule-toolbar > .schedule-views { width: auto; flex: 1; }
  .schedule-views button { padding: 9px 10px; }
  .schedule-toolbar > .agenda-navigation { gap: 3px; }
  .schedule-toolbar > .agenda-navigation .btn { padding: 8px; width: auto; }
  .schedule-toolbar > .agenda-navigation .icon-only { width: 33px; }
  .schedule-month-card.card { padding: 12px 8px; }
  .schedule-cell-button { min-height: 61px; padding: 6px 0 3px; }
  .schedule-cell { min-height: 63px; padding: 1px; }
  .schedule-cell .schedule-dots { margin: 5px 0 0; }
  .schedule-legend { gap: 14px; font-size: .75rem; }
  .library-resume.card { gap: 12px; padding: 18px; flex-wrap: wrap; }
  .library-resume > .btn { width: 100%; }
  .quiz-collection > .segments { width: 100%; }
  .quiz-filters > .btn { justify-self: stretch; }
  .quiz-filters > .checkbox { font-size: .75rem; gap: 7px; }
}
@media (max-width: 350px) {
  .bottom-nav { padding-inline: 2px; }
  .bottom-nav > a, .bottom-nav > button, .bottom-nav-item { padding-inline: 0; }
  .bottom-nav-item > span { letter-spacing: -.045em; }
}

/* Account area · Enrolments, programmes and contact before joining a campus. */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.account-page { min-height: 100vh; min-height: 100dvh; background: var(--canvas); }
.account-header { display: flex; align-items: center; gap: 24px; padding: 15px max(24px, calc((100vw - 1180px) / 2)); min-height: 94px; background: white; border-bottom: 1px solid var(--line); }
.account-header > a { flex-shrink: 0; }
.account-header .brand { width: 166px; height: 62px; }
.account-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.account-links > a, .account-links > button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 13px; border-radius: 9px; font-size: .875rem; line-height: 1.4; font-weight: 650; }
.account-links > a:not(.btn):hover { background: #f1f4f9; }
.account-links > .active, .account-links > [aria-current="page"] { color: #b92137; background: #fff0f2; }
.account-identity { display: flex; align-items: center; gap: 11px; min-width: 0; max-width: 290px; padding-left: 22px; border-left: 1px solid var(--line); }
.account-identity > div { min-width: 0; }
.account-identity p, .account-identity strong { font-size: .875rem; line-height: 1.5; }
.account-identity small { display: block; color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.account-identity .avatar { width: 40px; height: 40px; font-size: .875rem; }
.account-main { max-width: 1180px; width: 100%; margin: 0 auto; padding: 38px 24px 60px; min-width: 0; }
.account-welcome { max-width: 850px; margin-bottom: 25px; }
.account-welcome h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.account-welcome p { color: var(--muted); margin-top: 12px; max-width: 740px; font-size: 1rem; }
.account-page .eyebrow { font-size: .875rem; letter-spacing: .11em; }
.account-page .badge { font-size: .875rem; line-height: 1.35; }
.account-page .small, .account-page small { font-size: .875rem; }
.account-tabs { display: flex; align-items: stretch; gap: 8px; border-bottom: 1px solid var(--line); margin: 0 0 28px; padding: 0; }
.account-tabs > a, .account-tabs > button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 50px; background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 12px 18px; color: var(--muted); font-size: .9375rem; font-weight: 650; text-align: center; }
.account-tabs > .active, .account-tabs > [aria-current="page"] { border-bottom-color: var(--red); color: #b92137; }
.account-tabs > a:hover, .account-tabs > button:hover { background: #edf1f7; }
.enrollment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 22px; }
.enrollment-card { display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: 26px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.enrollment-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 23px; }
.enrollment-top .badge { max-width: calc(100% - 64px); text-align: right; }
.enrollment-card > .eyebrow { color: var(--muted); margin-bottom: 8px; }
.enrollment-card > h2 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.035em; }
.enrollment-group { font-size: .9375rem; color: var(--muted); margin-top: 9px; }
.enrollment-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 23px 0 20px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.enrollment-dates > div { min-width: 0; }
.enrollment-dates dt, .course-offer dt { color: var(--muted); font-size: .875rem; margin-bottom: 7px; }
.enrollment-dates dd, .course-offer dd { margin: 0; color: var(--ink); font-size: .9375rem; font-weight: 650; overflow-wrap: anywhere; }
.enrollment-status { margin: 0 0 22px; padding: 14px 16px; border-radius: 10px; background: #f3f6fb; color: #536a87; font-size: .875rem; }
.enrollment-status p { font-size: .875rem; line-height: 1.65; }
.enrollment-status p + p { margin-top: 8px; }
.enrollment-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.enrollment-actions > .btn { flex: 1 1 160px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.course-offer { min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.course-offer.featured { border-color: #d98a97; background: #fffafb; }
.offer-header { display: flex; align-items: center; gap: 13px; min-width: 0; }
.offer-header h2 { font-size: 1.3rem; letter-spacing: -.025em; overflow-wrap: anywhere; }
.offer-header .icon-box { width: 42px; height: 42px; border-radius: 12px; }
.course-duration { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.course-duration strong { font-size: 2.2rem; font-weight: 750; line-height: 1.1; letter-spacing: -.045em; }
.course-duration span { font-size: .875rem; color: var(--muted); }
.course-inclusions { display: grid; gap: 10px; list-style: disc; padding: 0 0 0 20px; margin: 0; color: #52647c; font-size: .9375rem; line-height: 1.6; }
.course-inclusions li { padding-left: 2px; }
.course-inclusions li::marker { color: #b92137; }
.course-offer > dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.course-offer > p { font-size: .875rem; color: var(--muted); }
.offer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.offer-actions .btn { width: 100%; }
.whatsapp.btn { color: white; background: #176447; border-color: #176447; }
.whatsapp.btn:hover { color: white; background: #12523a; border-color: #12523a; }
.whatsapp.btn:focus-visible { outline-color: #23845e; }
.purchase-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: start; }
.purchase-summary, .purchase-contact { min-width: 0; }
.purchase-summary.card, .purchase-contact.card { padding: 26px; }
.purchase-summary > h2, .purchase-contact > h2 { font-size: 1.3rem; }
.purchase-summary > p, .purchase-contact > p { font-size: .9375rem; color: var(--muted); margin-top: 12px; }
.purchase-summary .course-duration { margin: 20px 0; }
.purchase-summary .enrollment-dates { margin-top: 22px; }
.message-preview { padding: 17px 18px; border: 1px solid #d8e2ed; border-radius: 11px; background: #f5f8fc; margin: 20px 0; font-size: .875rem; color: #435b7a; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-wrap; }
.message-preview p { font-size: .875rem; line-height: 1.75; white-space: pre-wrap; }
.message-preview p + p { margin-top: 10px; }
.contact-number { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #176447; font-size: 1rem; font-weight: 650; margin: 14px 0; overflow-wrap: anywhere; }
.purchase-steps { counter-reset: purchase-step; list-style: none; display: grid; gap: 20px; padding: 0; margin: 24px 0; }
.purchase-steps > li { counter-increment: purchase-step; position: relative; min-height: 31px; padding-left: 44px; font-size: .9375rem; line-height: 1.65; color: #50627a; }
.purchase-steps > li::before { content: counter(purchase-step); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #eaf0f8; color: #365679; font-size: .875rem; font-weight: 700; }
.purchase-steps strong { display: block; color: var(--ink); margin-bottom: 3px; }
.purchase-steps p { font-size: .875rem; color: var(--muted); }
.purchase-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; }
.purchase-actions .btn { flex: 1 1 180px; }
.account-empty { max-width: 740px; margin: 0 auto; padding: 44px 32px; text-align: center; }
.account-empty > .icon-box { width: 56px; height: 56px; border-radius: 15px; margin: 0 auto 20px; }
.account-empty h2 { font-size: 1.4rem; }
.account-empty p { max-width: 510px; margin: 13px auto 23px; color: var(--muted); font-size: 1rem; }
.account-empty .row { justify-content: center; }
.demo-person-list { display: grid; gap: 10px; margin: 20px 0; }
.demo-person { display: flex; align-items: center; gap: 13px; min-width: 0; width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--ink); text-align: left; }
.demo-person:hover { background: #f3f6fb; border-color: #b7c7db; }
.demo-person > div, .demo-person > span:nth-child(2) { min-width: 0; flex: 1; }
.demo-person strong, .demo-person p { display: block; font-size: .9375rem; line-height: 1.5; }
.demo-person small { display: block; font-size: .875rem; color: var(--muted); overflow-wrap: anywhere; }
.demo-person .badge { margin-left: auto; font-size: .875rem; }
.registration-form { max-width: 660px; }
.registration-form .field { font-size: .875rem; }
.registration-form .field small { font-size: .875rem; }
.account-help { border: 1px solid var(--line); border-radius: 12px; background: white; margin-top: 26px; }
.account-help summary { padding: 17px 20px; cursor: pointer; font-size: .9375rem; font-weight: 650; }
.account-help > div, .account-help > p { padding: 0 20px 20px; color: var(--muted); font-size: .9375rem; }
.account-help p + p { margin-top: 10px; }
.account-help > form { padding: 0 20px 20px; }
.purchase-summary > .between { margin-bottom: 22px; }
.purchase-contact > .contact-number { color: #176447; font-size: 1rem; margin: 16px 0; }
.purchase-contact > .notice { margin-top: 18px; }
.message-preview > span { display: block; margin-bottom: 8px; }
.course-offer > h2 { margin-bottom: -10px; font-size: 1.35rem; }
.course-offer > .enrollment-group { margin-top: 0; }
.purchase-steps > ol { counter-reset: purchase-step; display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.purchase-steps > ol > li { counter-increment: purchase-step; position: relative; min-height: 31px; padding-left: 44px; font-size: .9375rem; line-height: 1.65; color: #50627a; }
.purchase-steps > ol > li::before { content: counter(purchase-step); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #eaf0f8; color: #365679; font-size: .875rem; font-weight: 700; }
@media (max-width: 1024px) {
  .account-header { gap: 16px; flex-wrap: wrap; padding-inline: 24px; }
  .account-identity { max-width: none; flex-basis: 100%; padding: 13px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .account-header .brand { width: 152px; height: 56px; }
  .account-main { padding-top: 30px; }
  .catalog-grid { gap: 16px; }
  .course-offer { padding: 22px 18px; }
  .offer-header { flex-wrap: wrap; gap: 12px; }
  .offer-header h2 { flex-basis: 100%; font-size: 1.25rem; }
  .course-offer > dl { grid-template-columns: 1fr; }
  .purchase-layout { gap: 20px; }
  .purchase-summary.card, .purchase-contact.card { padding: 23px; }
}
@media (max-width: 800px) {
  .purchase-layout { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .course-offer { padding: 24px; }
  .offer-header { flex-wrap: nowrap; }
  .offer-header h2 { flex-basis: auto; font-size: 1.3rem; }
  .course-offer > dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .enrollment-grid { gap: 18px; }
  .enrollment-card { padding: 22px; }
  .enrollment-dates { gap: 14px; }
  .enrollment-actions > .btn { flex-basis: 100%; }
}
@media (max-width: 640px) {
  .account-header { padding: 13px 16px; gap: 12px; }
  .account-header .brand { width: 145px; height: 54px; }
  .account-links { order: 2; flex-basis: 100%; margin: 0; gap: 4px; justify-content: space-between; }
  .account-links > a, .account-links > button { padding: 10px 9px; font-size: .875rem; }
  .account-identity { order: 3; padding-top: 12px; gap: 10px; }
  .account-main { padding: 26px 16px calc(40px + env(safe-area-inset-bottom)); }
  .account-welcome { margin-bottom: 22px; }
  .account-welcome h1 { font-size: 1.75rem; }
  .account-welcome p { font-size: .9375rem; }
  .account-page .eyebrow { font-size: .875rem; letter-spacing: .06em; }
  .account-tabs { gap: 4px; margin-bottom: 22px; }
  .account-tabs > a, .account-tabs > button { flex: 1; padding: 12px 10px; font-size: .875rem; }
  .enrollment-grid, .catalog-grid { grid-template-columns: 1fr; gap: 18px; }
  .enrollment-card, .course-offer { padding: 22px 20px; }
  .enrollment-top { gap: 12px; margin-bottom: 20px; }
  .enrollment-card > h2 { font-size: 1.4rem; }
  .enrollment-group { font-size: .875rem; }
  .enrollment-dates { margin: 20px 0 17px; padding: 16px 0; gap: 12px; }
  .enrollment-dates dd, .course-offer dd { font-size: .875rem; }
  .enrollment-status { padding: 13px 14px; margin-bottom: 18px; }
  .enrollment-actions { gap: 9px; }
  .offer-header h2 { font-size: 1.25rem; }
  .course-duration strong { font-size: 2rem; }
  .course-inclusions { font-size: .875rem; }
  .purchase-layout { gap: 18px; }
  .purchase-summary.card, .purchase-contact.card { padding: 22px 20px; }
  .purchase-summary > h2, .purchase-contact > h2 { font-size: 1.2rem; }
  .message-preview { padding: 15px; }
  .purchase-steps { gap: 17px; }
  .purchase-steps > li { padding-left: 41px; font-size: .875rem; }
  .purchase-actions .btn { flex-basis: 100%; }
  .account-empty.card { padding: 32px 22px; }
  .account-empty h2 { font-size: 1.25rem; }
  .account-empty p { font-size: .9375rem; }
  .account-empty .btn { width: 100%; }
  .demo-person { padding: 14px 12px; gap: 10px; flex-wrap: wrap; }
  .demo-person > div, .demo-person > span:nth-child(2) { flex-basis: calc(100% - 54px); }
  .demo-person > .badge { margin-left: 47px; }
  .account-help summary { padding: 16px 18px; font-size: .875rem; }
  .account-help > div, .account-help > p { padding: 0 18px 18px; font-size: .875rem; }
  .account-help > form { padding: 0 18px 18px; }
  .purchase-steps > ol { gap: 17px; }
  .purchase-steps > ol > li { padding-left: 41px; font-size: .875rem; }
}

.btn.google{background:#fff;color:#1f1f1f;border:1px solid #747775;border-radius:4px;min-height:40px;padding:10px 12px;font-family:'Google Sans',Arial,sans-serif;font-size:14px;font-weight:500;gap:10px}.btn.google:hover{background:#f7f8fa;border-color:#747775}.btn.google img{width:20px;height:20px;flex-shrink:0}

@font-face{font-family:'Google Sans';font-style:normal;font-weight:500;font-display:swap;src:url('assets/google-sans.ttf') format('truetype')}
