/* SMSOM identity layer; intentionally overrides the v2 design without changing question-bank behavior */
:root{--ink:#112c4b;--navy:#102747;--blue:#237cb4;--gold:#ffc44d;--gold-soft:#fff5d8;--sky:#eaf5ff;--bg:#f5f8fc;--muted:#6e8598;color:var(--ink);background:var(--bg)}
body{background:var(--bg)}
button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #ffb92f;outline-offset:3px}
.sidebar{background:linear-gradient(172deg,#0e2545 0%,#102e51 56%,#0d263f 100%);color:#dbe8f8}
.brand{padding:2px 7px 6px;align-items:center;gap:10px}
.brand-mascot{width:57px;height:57px;object-fit:contain;flex:none;filter:drop-shadow(0 3px 8px #0005);background:#ffffff12;border-radius:15px}
.brand-lockup{min-width:0}
.brand-lockup b{font:800 24px/1 'DM Sans',sans-serif;display:block;direction:ltr;text-align:left;letter-spacing:-1.5px;color:#fff}
.brand-lockup b span{color:#ffcb54}
.brand-lockup small{display:block;direction:rtl;text-align:right;margin-top:7px;font-size:12px;font-weight:700;color:#e4efff}
.side-motto{border-radius:11px;background:#24446870;border:1px solid #47688b66;padding:9px 11px;margin:2px 8px 23px;text-align:center;font-weight:700;font-size:11px;color:#ffdd8b}
.side-label{color:#a0b6c9}
.nav-item{color:#d5e4f0}
.nav-item:hover{background:#26466b}
.nav-item.active{background:#284d70;color:#ffe090;box-shadow:inset 3px 0 0 #ffce58}
.sidebar-bottom{border-color:#34516b}.sidebar-badge{border-color:#57718d;color:#e4efff}.sidebar-badge span{color:#ffca53}.sidebar-bottom p{color:#a2b6c9}
.topbar{border-bottom-color:#e5ebf3;box-shadow:0 1px 3px #112d4806}
.topbar-wordmark{font:800 17px 'DM Sans',sans-serif;letter-spacing:-.5px;color:#17385b;direction:ltr}
.topbar-mascot{width:39px;height:39px;border-radius:12px;object-fit:contain;background:#e7f1ff;border:1px solid #d5e8fa}
.status-pill{color:#1c6590;background:#e9f4ff;border-color:#cce6fa}.live-dot{background:#268fce}
.page main{max-width:1280px}
.smsom-hero{min-height:320px;grid-template-columns:1.04fr .96fr;background:radial-gradient(circle at 76% 23%,#24568a99 0%,transparent 35%),linear-gradient(115deg,#102746,#153f69);box-shadow:0 20px 45px #1b41641d;border:1px solid #28527c}
.smsom-hero:before{content:'';position:absolute;left:0;top:0;height:100%;width:100%;pointer-events:none;background-image:radial-gradient(#ffffff18 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(90deg,transparent,#0009)}
.smsom-hero .hero-copy{padding:31px 29px 30px 39px;display:flex;flex-direction:column;justify-content:center}
.smsom-hero .hero-tag{align-self:flex-start;color:#cfeafe;background:#ffffff13;border-color:#b8defb4a;font-size:10px}
.smsom-hero .hero-brand-kicker{margin:14px 0 0;color:#ffda79;font:700 14px 'IBM Plex Sans Arabic',sans-serif;letter-spacing:.15px}
.smsom-hero .hero-brand-kicker span{margin:0 7px;color:#aecce9}
.smsom-hero h1{font-size:37px;line-height:1.35;margin:7px 0 14px;letter-spacing:-.75px;max-width:none}
.smsom-hero h1 em{color:#ffce55}
.smsom-hero .hero-copy>p:not(.hero-brand-kicker){max-width:510px;line-height:1.95;font-size:12px;color:#d4e6f3;margin-bottom:17px}
.smsom-hero .hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 15px}
.smsom-hero .hero-trust{font-size:10px;color:#a9c9df}
.smsom-hero .btn-light{background:#ffcb56;color:#102b49;box-shadow:0 7px 18px #f5b93820;border-radius:12px}
.smsom-hero .btn-light:hover{background:#ffdb80}
.smsom-hero-art{overflow:visible;min-height:310px}
.smsom-hero-art .circle1,.smsom-hero-art .circle2,.smsom-hero-art .circle3{border-color:#95cfff20}
.smsom-hero-art:before{background:linear-gradient(140deg,#7cc4ff16,#ffe5ab13);border-color:#ffffff20}
.hero-logo{position:relative;z-index:2;display:block;width:min(98%,510px);height:auto;max-height:305px;object-fit:contain;filter:drop-shadow(0 14px 10px #08192c88);transform:translateY(4px)}
.btn-primary{background:#1c76b2;color:#fff}
.btn-primary:hover{background:#125c92}
.btn-soft{color:#216fa2;background:#e5f3ff}
.btn-outline{border-color:#d7e5f0;color:#365974}
.btn-ghost{color:#296c9e}
.stats .glyph,.mini .glyph{color:#2b86be}
.stat{border-color:#e5edf5;box-shadow:0 4px 15px #1a426108}.stat strong{color:#163657}
.section-head h2,.workbench-title h2,.panel h2{color:#183a59}
.inline-link{color:#1b78af}
.term-switch{background:#eaf0f7}
.term-switch button.active{color:#235d8c}
.block-card{border-color:#e0eaf3;box-shadow:0 5px 14px #183c6008}
.block-card:hover{border-color:#94bfe3}
.block-card.selected{border-color:#3389c3;box-shadow:0 0 0 2px #3e98ce25}
.block-num{background:#e9f3ff;color:#2677ad}
.block-card:nth-child(2) .block-num{background:#fff5dd;color:#b58124}
.block-card:nth-child(3) .block-num{background:#edeafb;color:#806bb5}
.block-card:nth-child(4) .block-num{background:#e6f7f1;color:#37816d}
.chip{background:#eaf4ff;color:#2f79a9}.chip-empty{background:#f3f5f8;color:#95a1ac}
.block-card-foot{color:#5d7f98}
.workbench,.panel,.quiz-question,.rail{border-color:#e2ebf3;box-shadow:0 4px 17px #193d5c08}
.field select,.field input{border-color:#d6e4ef;color:#24465e}
.radio-line input,.checkitem input{accent-color:#267fbc}
.callout{background:#eef6fe;color:#3b6b8c;border-color:#dbeaf8}
.progress span{background:#267fbb}.option:hover:not(:disabled){border-color:#5eace0}
.option.selected{border-color:#2c8dca;background:#f0f8ff}
.option.correct{border-color:#2ab08e;background:#e9fbf4}
.explain{background:#ebf8f4}.dot.current{background:#267fbc}
.result-score{color:#207bb5}.year-pills span{background:#ebf4fe;color:#287eaf}
.mobile-nav button.active{color:#217db7}
.page footer{color:#8296a8}
#toast{background:#173a5d}
@media(max-width:1100px){.smsom-hero h1{font-size:31px}.smsom-hero .hero-copy{padding:28px}.hero-logo{max-height:280px}.smsom-hero-art{min-height:270px}}
@media(max-width:740px){
 .topbar{height:71px;padding:0 14px}.topbar-title #current-page{font-size:15px}.topbar-title .eyebrow{font-size:9px;max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .topbar-right{gap:8px}.topbar-wordmark{font-size:15px}.topbar-mascot{width:33px;height:33px}
 .status-pill{display:none}
 .smsom-hero{display:flex;flex-direction:column;min-height:auto;border-radius:17px;overflow:hidden;grid-template-columns:unset}
 .smsom-hero .hero-copy{padding:24px 22px 3px;z-index:3}
 .smsom-hero .hero-brand-kicker{font-size:12px;margin-top:10px}
 .smsom-hero h1{font-size:31px;line-height:1.28;margin:7px 0 10px}
 .smsom-hero .hero-copy>p:not(.hero-brand-kicker){font-size:11px;line-height:1.85;margin-bottom:12px}
 .smsom-hero .hero-trust{font-size:9px;max-width:200px;line-height:1.7}
 .smsom-hero-art{display:grid;min-height:0;height:200px;place-items:center;overflow:visible}
 .smsom-hero-art:before{width:165px;height:165px;border-radius:30px}
 .smsom-hero-art .circle1{width:180px;height:180px}
 .smsom-hero-art .circle2{width:235px;height:235px}
 .smsom-hero-art .circle3{width:275px;height:275px}
 .hero-logo{width:min(88%,330px);max-height:205px;transform:translateY(-4px);filter:drop-shadow(0 10px 8px #08192c78)}
}
@media(max-width:360px){.topbar-title .eyebrow{max-width:183px}.smsom-hero h1{font-size:27px}.hero-logo{max-height:185px}}

/* B3 Fertilization: accessible bilingual rationale + evidence */
.answer-language{margin:13px 0 5px;display:block;color:#175d8b;font-weight:800;font-size:12px;letter-spacing:.1px}
.explain p.english{direction:ltr;text-align:left;font-family:'DM Sans',sans-serif;line-height:1.85}
.explain p[dir=rtl]{text-align:right;line-height:2}
.evidence-link{display:inline-block;margin-top:10px;color:#176aa3;text-decoration:underline;text-underline-offset:3px;font-size:12px;font-weight:700;overflow-wrap:anywhere}
.lecture-qualifier{border-inline-start:3px solid #e8a83a;padding:9px 12px;margin:12px 0 0;border-radius:7px;background:#fff4db;color:#72521a;font-size:12px;line-height:1.8}
.result-review{padding:0!important;overflow:hidden}
.result-review summary{cursor:pointer;display:flex;gap:12px;align-items:center;padding:16px;list-style:none}
.result-review summary::-webkit-details-marker{display:none}
.result-review summary .review-stem{flex:1;text-align:left;font-family:'DM Sans',sans-serif;font-weight:700;font-size:14px;line-height:1.6}
.result-review-content{padding:4px 18px 20px;border-top:1px solid #e5edf5}
.result-review-content p[dir=ltr]{text-align:left;line-height:1.75}
.result-review-content p[dir=rtl]{text-align:right;line-height:2}
.answer-choice{padding-top:14px;font-size:14px;color:#234f72}
.hero-secondary{color:white!important;border-color:#a5d3f870!important;background:#ffffff12}
.hero-secondary:hover{background:#ffffff25}
@media(max-width:740px){.result-review summary{align-items:flex-start;flex-direction:column;gap:6px}.result-review summary .review-stem{width:100%}.hero-secondary{font-size:12px!important}}

/* Transparent, non-intrusive local-only progress notice. */
.storage-notice{display:flex;align-items:flex-start;gap:12px;margin-top:18px;padding:15px 17px;border-radius:14px;border:1px solid #c5d9ed;background:#f1f7ff;color:#234a6f;line-height:1.9;box-shadow:0 3px 11px #143c610a}
.storage-notice-icon{flex:0 0 30px;height:30px;border-radius:50%;background:#dbeafa;color:#245e90;display:grid;place-items:center;font-size:19px;font-weight:800}
.storage-notice strong{display:block;margin:0 0 3px;font-size:12px;color:#173f64}
.storage-notice p{font-size:11px;margin:0;color:#41617f;line-height:1.9}
.storage-notice b{color:#204c76}
@media(max-width:740px){.storage-notice{gap:9px;padding:12px 13px;margin-top:12px;border-radius:12px}.storage-notice-icon{flex-basis:26px;height:26px;font-size:16px}.storage-notice strong{font-size:11px}.storage-notice p{font-size:10px;line-height:1.85}}

/* SMSOM Year One curriculum + combined finals + short rescue plan */
.block-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.block-card{min-height:180px}
.block-card h3{margin-top:14px}
.block-card .block-subtitle{min-height:26px;color:#436b86;text-align:right;font:600 11px/1.6 'DM Sans',sans-serif;direction:ltr;unicode-bidi:plaintext}
.syllabus-chip{background:#e8f4ff;color:#256b9b;padding:9px 12px}
.quick-modes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 20px}
.quick-card{background:#fff;border:1px solid #dbeaf5;padding:19px 14px;text-align:right;border-radius:16px;min-height:128px;display:flex;flex-direction:column;gap:7px;box-shadow:0 5px 19px #173f6010;transition:transform .18s,border-color .18s}
.quick-card:hover{transform:translateY(-2px);border-color:#5ca6d8}
.quick-card>span{font-size:25px;line-height:1}
.quick-card strong{font-size:12px;color:#183d5e}
.quick-card small{font-size:10px;color:#74899d;line-height:1.7}
.quick-card.featured{background:linear-gradient(145deg,#173f6d,#1c608e);border-color:#226c9e}
.quick-card.featured strong{color:#fff}.quick-card.featured small{color:#d2e5f7}
.curriculum-panel{margin:27px 0;padding:24px;background:#fff;border:1px solid #dce9f3;border-radius:19px}
.curriculum-panel .section-head{flex-wrap:wrap}
.curriculum-subject{border:1px solid #e3ecf4;border-radius:11px;margin:9px 0;background:#fafcff;overflow:hidden}
.curriculum-subject summary{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;padding:14px 17px;font-size:13px;font-weight:800;color:#214963;list-style:none}
.curriculum-subject summary::-webkit-details-marker{display:none}
.curriculum-subject[open] summary{background:#eef7ff}
.curriculum-subject summary small{color:#758b9e;font-size:10px;font-weight:600}
.lecture-list{list-style-position:inside;margin:0;padding:8px 12px 12px}
.lecture-list li{display:flex;align-items:center;gap:12px;padding:10px 8px;border-bottom:1px solid #e8eef3;min-height:44px;flex-wrap:wrap}
.lecture-list li:last-child{border-bottom:none}
.lecture-title{flex:1 1 200px;font:500 12px/1.55 'DM Sans',sans-serif;text-align:left;direction:ltr;unicode-bidi:plaintext;color:#264d67;overflow-wrap:anywhere}
.lecture-status{white-space:nowrap;background:#f0f2f6;color:#7f90a2;padding:5px 9px;border-radius:99px;font-size:10px}
.lecture-status.ready{background:#e3f7ed;color:#117448;font-weight:700}
.page-intro{background:linear-gradient(115deg,#163c65,#275f88);padding:31px;color:#fff;border-radius:18px;margin-bottom:19px}
.page-intro>span{letter-spacing:.8px;color:#ffe3a0;font:700 11px 'DM Sans',sans-serif}
.page-intro h2{color:#fff;margin:8px 0 6px;font-size:26px}
.page-intro p{color:#dbedfa;line-height:1.9;font-size:12px;margin:0}
.rescue-intro{background:linear-gradient(125deg,#112c51,#225888)}
.coverage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}
.coverage-grid>div{background:#f1f7fd;border:1px solid #e4edf6;border-radius:12px;padding:16px;text-align:center}
.coverage-grid b{font:800 28px 'DM Sans',sans-serif;color:#226a9d;display:block}
.coverage-grid span{font-size:10px;color:#587a96}
.rescue-days{display:grid;gap:10px;margin:23px 0}
.rescue-days>div{display:flex;align-items:center;gap:15px;border:1px solid #e0ebf4;border-radius:12px;background:#fbfdff;padding:12px 16px}
.rescue-days span{font-size:12px;font-weight:800;color:#226a9d;min-width:70px}
.rescue-days p{margin:0;color:#365975;font-size:12px}
@media(max-width:1100px){.quick-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.block-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){
 .quick-modes{gap:9px}.quick-card{min-height:115px;padding:13px 10px}.quick-card>span{font-size:22px}.quick-card strong{font-size:11px}.quick-card small{font-size:9px}
 .curriculum-panel{padding:16px 12px}.curriculum-subject summary{padding:12px 10px}.lecture-list{padding:6px 7px}.lecture-list li{padding:10px 4px;gap:7px}.lecture-title{flex-basis:100%;font-size:11px}.lecture-status{margin-inline-start:auto}
 .page-intro{padding:22px}.page-intro h2{font-size:20px}
 .coverage-grid{gap:6px}.coverage-grid>div{padding:12px 5px}.coverage-grid b{font-size:23px}.coverage-grid span{font-size:9px}
 .rescue-days>div{gap:9px;padding:10px}.rescue-days span{min-width:55px;font-size:10px}.rescue-days p{font-size:11px}
 .mobile-nav{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;gap:3px;padding-inline:8px}.mobile-nav::-webkit-scrollbar{display:none}.mobile-nav button{flex:1 0 56px;min-width:56px;font-size:9px;padding:3px 3px}.mobile-nav button span{font-size:21px}
 .block-card .block-subtitle{font-size:10px}
}
@media(max-width:370px){.block-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.block-card{padding:13px 10px}.block-card h3{font-size:12px}.block-card .chip{font-size:8px}.block-card-foot{flex-wrap:wrap}}

/* Student pain point: two-block final + recovering knowledge from the first block. */
.memory-bridge{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(270px,.84fr);gap:24px;align-items:center;background:linear-gradient(115deg,#f5faff,#eef8ff);border:1px solid #cfe4f4;border-radius:19px;padding:26px 29px;margin:18px 0 24px;box-shadow:0 8px 27px #234b6f0c}
.memory-bridge-copy{min-width:0}
.memory-bridge-eyebrow{color:#236b93;font-weight:800;font-size:11px}
.memory-bridge h2{font-size:23px;line-height:1.55;color:#173f63;margin:11px 0 8px}
.memory-bridge h2 em{font-style:normal;color:#c05249}
.memory-bridge p{font-size:12px;line-height:2;color:#43667f;margin:0}
.memory-bridge-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:17px}
.memory-bridge-actions .btn{font-size:11px}
.memory-bridge-disclaimer{display:block;color:#6b8396;font-size:10px;line-height:1.85;margin-top:11px}
.memory-bridge-steps{display:grid;gap:9px}
.memory-bridge-step{display:flex;gap:13px;align-items:flex-start;background:#fff;border:1px solid #dcecf6;border-radius:12px;padding:13px}
.memory-bridge-step>span{flex:0 0 33px;height:33px;display:grid;place-items:center;color:#1d799f;background:#e1f4fc;border-radius:9px;font:800 12px 'DM Sans',sans-serif}
.memory-bridge-step strong{display:block;color:#24516b;font-size:12px;margin-bottom:4px}
.memory-bridge-step small{color:#6a8598;line-height:1.65;font-size:10px}
@media(max-width:780px){
 .memory-bridge{grid-template-columns:1fr;padding:21px 17px;gap:17px;border-radius:16px;margin:14px 0 20px}
 .memory-bridge h2{font-size:19px}
 .memory-bridge p{font-size:11px}
 .memory-bridge-actions{display:grid;grid-template-columns:1fr 1fr}
 .memory-bridge-actions .btn{width:100%;padding:11px 8px;white-space:normal;min-height:42px}
 .memory-bridge-steps{gap:7px}
 .memory-bridge-step{padding:11px}
 .memory-bridge-step strong{font-size:11px}
}
@media(max-width:370px){.memory-bridge-actions{grid-template-columns:1fr}}
