/* StudyGlitch Materials. Scoped to avoid changing the site's shared navigation. */
.sm-app{--ink:#183149;--muted:#4f6373;--line:#dce4e7;--paper:#fffefa;--mint:#deeee6;--gold:#efc56c;color:var(--ink);background:#f5f5f0;min-height:90vh;font:15px/1.65 "Poppins",system-ui,sans-serif;padding:24px max(20px,calc((100vw - 1280px)/2));box-sizing:border-box}
.sm-app *{box-sizing:border-box}.sm-app a{color:inherit}.sm-app button,.sm-app input,.sm-app textarea,.sm-app select{font:inherit}.sm-app h1,.sm-app h2,.sm-app h3,.sm-app h4,.sm-app p{margin-top:0}.sm-app h1{font-size:clamp(30px,3.8vw,56px);line-height:1.12;letter-spacing:-.045em;font-weight:700;margin-bottom:22px}.sm-app h2{font-size:27px;letter-spacing:-.035em;line-height:1.25}.sm-app h3{font-size:20px;letter-spacing:-.02em}.sm-app h4{font-size:17px;line-height:1.4}
.sm-breadcrumb{display:flex;gap:13px;font-size:12px;color:var(--muted);padding:8px 0 28px}.sm-breadcrumb a{text-decoration:none}.sm-main{min-height:60vh}.sm-hero{display:grid;grid-template-columns:1.45fr 1fr;gap:60px;padding:50px 0 66px}.sm-hero>div>p:not(.sm-eyebrow){font-size:17px;color:var(--muted);max-width:540px}.sm-eyebrow{font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--muted);margin-bottom:16px}.sm-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:24px 0 0}.sm-btn{border:1px solid var(--ink);background:var(--ink);color:white!important;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 20px;border-radius:8px;font-weight:600;font-size:13px;text-decoration:none;cursor:pointer;gap:10px;line-height:1.5}.sm-btn:hover{background:#294b61}.sm-secondary{background:transparent;color:var(--ink)!important;border-color:#b8c8cd}.sm-secondary:hover{background:#e9eeeb}.sm-gold{background:var(--gold);color:var(--ink)!important;border-color:var(--gold)}.sm-app :focus-visible{outline:3px solid #a47a20;outline-offset:4px}.sm-hero-note{background:var(--mint);padding:35px 35px 28px;border-radius:8px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end}.sm-hero-note h2{font-size:29px;line-height:1.35;position:relative}.sm-hero-note p:last-child{font-size:12px;max-width:290px;color:#486454;margin-bottom:0}.sm-orbit{position:absolute;font:160px/1 Georgia,serif;right:20px;top:5px;color:#afc9b9;transform:rotate(-9deg)}.sm-membership{border-block:1px solid var(--line);display:flex;justify-content:space-between;gap:24px;align-items:center;padding:20px 0}.sm-membership p{font-size:12px;margin:4px 0 0;color:var(--muted)}.sm-section{padding:42px 0 16px}.sm-section-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:26px}.sm-section-head h2{margin-bottom:0}.sm-section-head .sm-eyebrow{margin-bottom:8px}.sm-search{font-size:11px;color:var(--muted);min-width:240px;display:grid;gap:4px}.sm-app input:not([type=radio]):not([type=checkbox]),.sm-app textarea,.sm-app select{border:1px solid #c5d2d6;background:white;padding:11px 12px;border-radius:6px;color:var(--ink);width:100%;min-height:44px}.sm-app textarea{min-height:110px;resize:vertical}.sm-domain{margin:35px 0 42px}.sm-domain-title{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:20px}.sm-domain-title h3{margin:0;font-size:19px}.sm-domain-number{color:#526a5c;font:italic 25px Georgia,serif}.sm-skill-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.sm-skill-card{display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:23px;text-decoration:none;transition:transform .15s,border-color .15s}.sm-skill-card:hover{border-color:#8ca99c;transform:translateY(-2px)}.sm-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.sm-pill{font-size:9px;letter-spacing:.04em;border-radius:5px;background:#e9efeb;padding:5px 8px;text-transform:uppercase;font-weight:700;display:inline-block;white-space:nowrap}.sm-skill-card h4{margin:0 0 14px}.sm-skill-card p{margin:auto 0 8px;color:var(--muted);font-size:11px}.sm-skill-card small{color:var(--muted);font-size:10px}.sm-meter{height:4px;border-radius:2px;background:#e7ece8;margin:0 0 10px;overflow:hidden}.sm-meter span{display:block;background:#739e87;height:100%}.sm-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.sm-panel{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:25px}.sm-resource-link{text-decoration:none;display:flex;flex-direction:column;gap:15px}.sm-resource-link .sm-pill{align-self:start}.sm-resource-link h3{font-size:17px}.sm-resource-link>span:last-child{font-size:11px;margin-top:auto}.sm-foot{display:flex;justify-content:space-between;gap:18px;font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding:28px 0 12px;margin-top:50px}.sm-foot a{text-decoration:none}.sm-notice{padding:16px 20px;border:1px solid #bdcfc7;background:#edf4ee;margin:0 0 20px;border-radius:7px;white-space:pre-line}.sm-error{background:#fff0eb;border-color:#d9a996;color:#773b2a}.sm-success{background:#e8f2e9}.sm-empty{padding:50px;max-width:750px;margin:50px auto}.sm-back{display:inline-block;font-size:12px;margin-bottom:25px;color:var(--muted)!important;text-decoration:none}.sm-skill-heading{align-items:start}.sm-skill-heading h1{font-size:clamp(26px,3vw,40px);max-width:900px}.sm-learning-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:30px;align-items:start}.sm-learning-sidebar{display:grid;gap:18px}.sm-learning-sidebar .sm-prose{font-size:12px}.sm-example{border-top:1px solid var(--line);padding-top:15px;margin-top:20px}.sm-example summary{cursor:pointer;font-size:12px;font-weight:600}.sm-example .sm-prose{padding-top:14px}.sm-queue{padding:18px}.sm-queue form+form{border-top:1px solid #e8eeea}.sm-queue-item{border:0;background:transparent;padding:13px 6px;display:flex;gap:12px;align-items:center;width:100%;text-align:left;cursor:pointer;border-radius:6px;color:var(--ink)}.sm-queue-item>span:first-child{font:italic 19px Georgia,serif;color:#4c6656}.sm-queue-item>span:nth-child(2){flex:1;font-size:12px}.sm-queue-item small{display:block;font-size:9px;color:var(--muted)}.sm-queue-item:hover,.sm-queue-item.active{background:#e5eee8}.sm-question-panel{border:1px solid var(--line);background:#fff;border-radius:10px;padding:34px}.sm-question-header{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);margin-bottom:30px}.sm-question-content{font-size:16px;line-height:1.9}.sm-prose{white-space:normal;overflow-wrap:anywhere}.sm-prose+.sm-prose{margin-top:16px}.sm-prose mjx-container{max-width:none;overflow:visible;padding:0}.sm-table-scroll{overflow-x:auto;margin:20px 0;max-width:100%}.sm-data-table{border-collapse:collapse;font-size:13px;width:auto;min-width:260px;max-width:100%}.sm-data-table th,.sm-data-table td{border:1px solid #c5d2d6;padding:9px 14px;text-align:center}.sm-data-table th{background:#edf2ed;font-weight:600}.sm-data-table caption{font-size:12px;font-weight:600;text-align:left;margin-bottom:8px}.sm-answer-form{margin-top:30px}.sm-answer-form fieldset{border:0;padding:0;margin:0}.sm-answer-form legend{font-size:11px;color:var(--muted);margin-bottom:12px}.sm-choice{display:flex;gap:12px;align-items:center;padding:16px;border:1px solid #dce4e7;border-radius:7px;margin-bottom:11px;cursor:pointer;position:relative}.sm-choice:not(.sm-incorrect-choice):has(input:checked){border-color:#4f7e68;background:#edf5ef;box-shadow:inset 0 0 0 1px #4f7e68}.sm-choice input{width:17px;height:17px;accent-color:#365f4b;margin:0}.sm-choice-letter{font-weight:600;font-size:12px}.sm-choice-content{min-width:0;flex:1;font-size:14px}.sm-choice-content .sm-prose{margin:0}.sm-choice-content .sm-table-scroll{margin:0}.sm-correct-choice{border-color:#5b9272;background:#eff7f1}.sm-numeric-label{display:grid;gap:8px;font-weight:600;font-size:12px;max-width:420px}.sm-numeric-label input{font-size:21px!important}.sm-numeric-label small{font-weight:400;font-size:10px;color:var(--muted)}.sm-context{font-size:11px;color:var(--muted)}.sm-feedback{margin:28px -34px 0;padding:22px 34px;border-block:1px solid #dce4e7;background:#f7f4ed}.sm-feedback.success{background:#eaf3ed}.sm-feedback h2{font-size:22px;margin-bottom:6px}.sm-feedback p{font-size:11px;margin:0}.sm-explanation{padding-top:25px}.sm-explanation h2{font-size:23px}.sm-answer-key{font-weight:600;font-size:13px}.sm-explanation .sm-prose{font-size:14px}.sm-reveal-form{border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.sm-text-btn{border:0;background:none;color:var(--ink);padding:0;text-decoration:underline;text-underline-offset:4px;cursor:pointer;font-size:12px;font-weight:600}.sm-reveal-form small{display:block;font-size:10px;color:var(--muted);margin-top:7px}.sm-next-actions{display:flex;gap:12px;margin:30px 0 16px;flex-wrap:wrap}.sm-start-panel{padding:50px 35px}.sm-start-panel h2{font-size:36px;line-height:1.25}.sm-start-panel>p:not(.sm-eyebrow){color:var(--muted);max-width:450px}.sm-question-image{max-width:100%;height:auto}.sm-review-row{display:flex;justify-content:space-between;align-items:center;padding:15px;border-bottom:1px solid var(--line)}.sm-review-row small{display:block;color:var(--muted);font-size:10px}.sm-pager{display:flex;justify-content:center;align-items:center;gap:20px;margin:30px 0}.sm-pager span{font-size:12px}
.sm-admin-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:20px 0 30px}.sm-admin-head h1{font-size:40px;margin-bottom:8px}.sm-admin-head p{color:var(--muted);font-size:13px}.sm-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:25px;overflow:auto}.sm-tabs a{padding:12px 2px;text-decoration:none;white-space:nowrap;font-size:12px;border-bottom:3px solid transparent}.sm-tabs a.active{border-color:var(--ink);font-weight:600}.sm-filter-bar{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr auto;gap:12px;align-items:end;margin-bottom:25px}.sm-filter-bar label,.sm-admin-form label,.sm-label{display:grid;gap:7px;font-size:11px;font-weight:600}.sm-bank-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sm-bank-card{padding:22px;background:white;border:1px solid var(--line);border-radius:8px;min-width:0}.sm-bank-card .sm-card-top{margin-bottom:16px}.sm-bank-card .sm-prose{font-size:13px}.sm-bank-card .sm-preview-body{max-height:190px;overflow:auto;margin:12px 0}.sm-bank-card footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;border-top:1px solid var(--line);padding-top:14px}.sm-bank-card details{font-size:12px}.sm-bank-card summary{cursor:pointer;font-weight:600}.sm-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:24px;align-items:start}.sm-admin-form{display:grid;gap:20px}.sm-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.sm-admin-form h2{font-size:20px;margin:5px 0}.sm-form-help{font-size:10px;color:var(--muted);font-weight:400}.sm-savebar{position:sticky;bottom:0;background:rgba(245,245,240,.97);padding:14px 0;border-top:1px solid var(--line);display:flex;gap:12px;z-index:4}.sm-live-preview{position:sticky;top:22px;max-height:calc(100vh - 44px);overflow:auto}.sm-live-preview .sm-question-panel{padding:25px}.sm-preview-title{font-size:10px;text-transform:uppercase;letter-spacing:.12em;margin:0 0 12px;color:var(--muted)}.sm-block{border:1px solid var(--line);border-radius:7px;background:#f7faf7;padding:12px;margin:10px 0}.sm-block-toolbar{display:flex;justify-content:space-between;gap:8px;font-size:10px;margin-bottom:8px}.sm-block-toolbar button,.sm-small-btn{border:1px solid #c5d2d6;background:white;border-radius:5px;font-size:10px;padding:5px 8px;cursor:pointer;color:var(--ink);min-height:30px}.sm-block-tools{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.sm-grid-editor{overflow:auto}.sm-grid-editor table{border-collapse:collapse}.sm-grid-editor input{min-width:85px!important;padding:7px!important;font-size:11px!important;border-radius:0!important}.sm-import-table{width:100%;border-collapse:collapse;font-size:12px}.sm-import-table td,.sm-import-table th{text-align:left;padding:12px;border-bottom:1px solid var(--line);vertical-align:top}.sm-import-table small{display:block;color:var(--muted);max-width:250px}.sm-import-table details{max-width:500px}.sm-import-table summary{cursor:pointer}.sm-support-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.sm-support-grid img{max-width:100%;max-height:240px;object-fit:contain}.sm-upload-box{padding:28px;border:1px dashed #9bb3a6;border-radius:8px;background:#f1f6ef}.sm-status{font-size:10px;font-weight:600;color:#526c5d}.sm-inline-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.sm-inline-form>*{flex:1}.sm-inline-form>.sm-btn{flex:0 0 auto}.sm-app [hidden]{display:none!important}.sm-skip{position:absolute;top:-80px;left:10px;background:#fff;padding:10px;z-index:99999}.sm-skip:focus{top:10px}.sm-offline{position:fixed;bottom:20px;left:20px;right:20px;z-index:100;background:#fff0dc;border:1px solid #cda65e;padding:15px;text-align:center;color:#604b22}
@media(min-width:1500px){.sm-app{padding-inline:max(40px,calc((100vw - 1280px)/2))}}
@media(max-width:1000px){.sm-skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-learning-layout{grid-template-columns:245px minmax(0,1fr);gap:20px}.sm-filter-bar{grid-template-columns:1fr 1fr}.sm-editor-layout{grid-template-columns:1fr}.sm-live-preview{position:static;max-height:none}.sm-hero{gap:30px}.sm-resource-grid{grid-template-columns:1fr 1fr}.sm-support-grid{grid-template-columns:1fr}}
@media(max-width:700px){.sm-app{padding:18px 16px}.sm-breadcrumb{padding-bottom:16px}.sm-hero{grid-template-columns:1fr;padding:25px 0 35px;gap:28px}.sm-hero-note{padding:25px}.sm-hero-note h2{font-size:24px}.sm-orbit{font-size:120px;top:10px}.sm-hero h1{font-size:43px}.sm-skill-grid,.sm-bank-grid,.sm-resource-grid{grid-template-columns:1fr}.sm-skill-card{padding:21px}.sm-section-head{align-items:start;flex-direction:column;gap:16px}.sm-section-head h2{font-size:24px}.sm-search{width:100%;min-width:0}.sm-section{padding-top:28px}.sm-membership{flex-direction:column;align-items:start}.sm-foot{flex-wrap:wrap}.sm-foot>span{order:3;width:100%}.sm-learning-layout{display:flex;flex-direction:column-reverse;gap:20px}.sm-learning-sidebar,.sm-learning-main{width:100%}.sm-learning-sidebar{grid-template-columns:1fr}.sm-queue{max-height:none;overflow:visible}.sm-question-panel{padding:22px 18px}.sm-feedback{margin-inline:-18px;padding:20px 18px}.sm-question-content{font-size:15px}.sm-choice{padding:13px 10px;gap:8px}.sm-choice-content{font-size:13px}.sm-data-table{font-size:11px;min-width:210px}.sm-data-table th,.sm-data-table td{padding:7px 8px}.sm-next-actions>.sm-btn,.sm-next-actions>form,.sm-next-actions>form>.sm-btn{width:100%}.sm-start-panel h2{font-size:30px}.sm-admin-head{flex-direction:column;align-items:start}.sm-admin-head h1{font-size:32px}.sm-form-row{grid-template-columns:1fr}.sm-filter-bar{grid-template-columns:1fr 1fr}.sm-filter-bar label:first-child{grid-column:1/-1}.sm-empty{padding:25px}.sm-review-row{gap:12px;align-items:start}.sm-review-row .sm-btn{font-size:11px;padding:9px}.sm-savebar{flex-wrap:wrap}.sm-actions .sm-btn{flex:1}.sm-skill-heading h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){.sm-app *{transition:none!important;scroll-behavior:auto!important}}

.sm-page{margin:0;background:#f5f5f0}.sm-app input[type=checkbox],.sm-app input[type=radio]{width:auto;min-height:0}.sm-app .sm-check-label{display:flex;align-items:center;gap:8px;font-weight:400;margin:8px 0}.sm-check-label input{flex:none}.sm-filter-bar{grid-template-columns:minmax(150px,1fr) repeat(5,minmax(100px,1fr)) auto}@media(max-width:1000px){.sm-filter-bar{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.sm-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}}

.sm-queue{max-height:none;overflow:visible;overscroll-behavior:auto}@media(max-width:700px){.sm-queue{max-height:none}}

.sm-question-reactions{margin-top:28px;padding-top:22px;border-top:1px solid var(--sm-line,#d9e5e1)}
.sm-reaction-options{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.sm-reaction-options .is-selected,.sm-reaction-options .is-selected:hover{background:#17685c;color:#fff!important;border-color:#17685c}
.sm-release-checks{display:grid;gap:12px}.sm-check{padding:16px;border:1px solid #cbded7;border-radius:12px}
.sm-check p{margin-bottom:0}.sm-check.fail{border-color:#ab3434}

/* Keep submitted errors distinct from the ordinary selected-answer style. */
.sm-choice.sm-incorrect-choice{border-color:#b9664d;background:#fff0eb;box-shadow:inset 0 0 0 1px #b9664d}
.sm-choice.sm-incorrect-choice input{accent-color:#a1462e}
.sm-choice-result{display:block;margin-top:6px;font-size:11px;font-weight:700;line-height:1.5;color:#365f4b}
.sm-incorrect-choice .sm-choice-result{color:#873b26}

/* Keep ordinary inline math atomic, with room for MathJax glyph overhangs. */
.sm-prose mjx-container:not([display="true"]){display:inline-block;vertical-align:middle}

/* Keep guide grid items within their assigned column on desktop and mobile. */
.sm-learning-sidebar,.sm-learning-sidebar>.sm-panel{min-width:0}

/* Only genuinely wide formulas get a scroll region; ordinary formulas retain
   MathJax's baseline, scripts and accessible MathML without tiny scrollbars. */
.sm-math-scroll{display:block;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;padding:.35em .2em .65em;margin:.3em 0;overscroll-behavior-x:contain;scrollbar-width:thin}
.sm-math-scroll>mjx-container[display="true"]{width:max-content;min-width:100%;margin:.3em 0;text-align:left}
.sm-math-scroll:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:3px}
.sm-learning-main,.sm-question-panel,.sm-prose{min-width:0}

/* Shared learning layout: progress belongs to the current main panel, and
   practice uses the page's scroll rather than trapping a wheel/touch gesture. */
.sm-queue a.sm-queue-item{text-decoration:none}
.sm-question-header{align-items:flex-start;gap:18px}
.sm-question-identity{display:flex;flex-direction:column;align-items:flex-end;gap:7px;text-align:right;max-width:75%;overflow-wrap:anywhere}
.sm-question-brand{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:600;letter-spacing:.025em;color:var(--ink);line-height:20px}
.sm-question-brand img{width:20px;height:20px;object-fit:contain;flex:none}
.sm-skill-progress{margin-top:20px}
.sm-skill-progress .sm-eyebrow{margin-bottom:18px}
.sm-progress-metrics{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.sm-progress-metrics>div+div{border-left:1px solid var(--line);padding-left:28px}
.sm-progress-metrics h2{font-size:13px;letter-spacing:0;line-height:1.5;margin:0 0 10px}
.sm-progress-metrics p{margin:0 0 14px;display:flex;flex-direction:column;gap:5px}
.sm-progress-metrics strong{font-size:24px;line-height:1.3}
.sm-progress-metrics p span{font-size:11px;color:var(--muted)}
.sm-progress-details{border-top:1px solid var(--line);padding-top:14px;margin-top:10px;font-size:12px}
.sm-progress-details summary{cursor:pointer;font-weight:600}
.sm-progress-details>p{margin:13px 0 0;color:var(--muted)}
.sm-progress-sources{display:grid;gap:8px;margin-top:12px}
.sm-progress-sources p{display:flex;justify-content:space-between;gap:14px;margin:0;font-size:11px}
.sm-practice-group{border-top:1px solid var(--line);padding-top:10px;margin-top:10px}
.sm-practice-group>summary{cursor:pointer;font-weight:600;font-size:12px;padding:8px 2px}
.sm-practice-group>summary span{font-weight:400;color:var(--muted);font-size:10px;margin-left:8px}
.sm-learning-main{overflow-anchor:none;position:relative}
.sm-action-status:not(.sm-action-error){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sm-action-error{padding:14px 16px;margin-bottom:16px;border:1px solid #b9664d;border-radius:7px;background:#fff0eb;color:#773b2a;font-size:12px}
.sm-program-intro{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:36px;padding:10px 0 28px;align-items:start}
.sm-program-explainer h2{font-size:26px;max-width:620px}
.sm-program-explainer>p:not(.sm-eyebrow):not(.sm-context){font-size:14px;color:var(--muted)}
.sm-public-example{min-width:0;background:#fff}
.sm-public-example h3{font-size:19px;line-height:1.45}
.sm-public-example .sm-prose{font-size:13px;line-height:1.9}
.sm-public-example .sm-context{margin:20px 0 0}
.sm-program-questions{border-top:1px solid var(--line);margin-bottom:28px}
.sm-program-questions>details{border-bottom:1px solid var(--line);padding:16px 0;font-size:13px}
.sm-program-questions summary{cursor:pointer;font-weight:600}
.sm-program-questions p{max-width:850px;color:var(--muted);margin:12px 0 0}
.sm-hub-introduction{max-width:900px;margin:0 0 22px}
.sm-hub-introduction h2{font-size:26px}
.sm-hub-introduction p{font-size:14px;color:var(--muted)}
@media(max-width:800px){.sm-program-intro{grid-template-columns:1fr;gap:20px}.sm-program-explainer h2{font-size:23px}}
@media(max-width:560px){.sm-progress-metrics{grid-template-columns:1fr;gap:18px}.sm-progress-metrics>div+div{border-left:0;border-top:1px solid var(--line);padding:18px 0 0}.sm-progress-sources p{flex-direction:column;gap:2px}.sm-question-brand{font-size:9px}.sm-hub-introduction h2{font-size:22px}}

/* Readable learning controls and a consistent guide / lesson / practice flow. */
.sm-learning-layout{grid-template-areas:"guide lesson" "practice lesson";grid-template-rows:auto 1fr;gap:20px 30px}
.sm-learning-guide{grid-area:guide;min-width:0}.sm-learning-main{grid-area:lesson;min-width:0}.sm-learning-practice{grid-area:practice;min-width:0;align-self:start}
.sm-learning-guide .sm-panel{min-width:0}.sm-app .sm-btn{min-height:48px;font-size:14px;white-space:normal;text-align:center}
.sm-app .sm-text-btn,.sm-app .sm-back{min-height:44px;display:inline-flex;align-items:center;padding:6px 0;font-size:14px}
.sm-breadcrumb{flex-wrap:wrap;font-size:13px;gap:8px 12px}.sm-app .sm-pill{font-size:12px;line-height:1.45;letter-spacing:.025em;white-space:normal}
.sm-context{font-size:13px;line-height:1.65}.sm-eyebrow{font-size:11px}.sm-question-identity>span:first-child{font-size:12px}
.sm-app .sm-example summary,.sm-app .sm-progress-details summary,.sm-app .sm-practice-group>summary{min-height:44px;padding:9px 0;font-size:14px;cursor:pointer}
.sm-app .sm-queue-item{min-height:60px}.sm-queue-item>span:nth-child(2){font-size:14px}.sm-queue-item small,.sm-practice-group>summary span{font-size:12px}
.sm-practice-order{font-size:12px;color:var(--muted);margin:-7px 0 14px;line-height:1.7}.sm-choice{min-height:52px}.sm-choice-letter{font-size:14px}
.sm-choice-content{font-size:15px}.sm-numeric-label,.sm-label{font-size:14px}.sm-app input:not([type=radio]):not([type=checkbox]),.sm-app textarea,.sm-app select{font-size:16px;min-height:48px}
.sm-app .sm-membership p,.sm-app .sm-skill-card small,.sm-app .sm-hub-facts,.sm-app .sm-progress-metrics p span,.sm-app .sm-progress-sources p{font-size:12px;line-height:1.65}
.sm-app h1,.sm-app h2,.sm-app h3,.sm-app h4{overflow-wrap:break-word}.sm-app .sm-review-row{flex-wrap:wrap}
#sm-question,#sm-skill-intro,#sm-access-notice,#sm-error-notice,#sm-practice,#skills{scroll-margin-top:calc(var(--sm-header-height,80px) + 16px)}
#sm-question:focus{outline:none}#sm-access-notice:focus,#sm-error-notice:focus{outline:3px solid #a87922;outline-offset:4px}
.sm-app .sm-access-notice{margin:0 0 28px;padding:clamp(22px,3vw,32px);border:1px solid #d5b56a!important;border-left:5px solid #ad7c20!important;background:linear-gradient(120deg,#fff7df,#fffdf4);color:#332b1b;box-shadow:0 8px 25px rgba(95,69,19,.07)}
.sm-app .sm-access-notice .sm-eyebrow{color:#75521b}.sm-app .sm-access-notice h2{color:#3d321f;font-size:clamp(24px,3vw,32px)}
.sm-app .sm-access-notice p{max-width:70ch;font-size:15px;line-height:1.75}.sm-app .sm-access-notice .sm-btn{background:#1d3557;border-color:#1d3557}.sm-app .sm-access-notice .sm-secondary{background:#fff;color:#1d3557!important;border-color:#b9c7d2}
.sm-access-dialog{box-sizing:border-box;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;padding:26px;border:1px solid #d8bb79;border-radius:20px;background:linear-gradient(140deg,#fff8e6,#fffefa);color:#1d3557;box-shadow:0 28px 90px #172a4260;font:15px/1.75 Poppins,system-ui,sans-serif}
.sm-access-dialog::backdrop{background:#142a4666;backdrop-filter:blur(3px)}.sm-access-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.sm-access-dialog-head .sm-eyebrow{margin:0;color:#77521a;font-size:11px}.sm-dialog-close{min-width:44px;min-height:44px;border:1px solid #d7c5a1;border-radius:12px;background:#fff9ed;color:#1d3557;font-size:27px;cursor:pointer}
.sm-access-dialog h2{font-size:clamp(25px,5vw,32px);line-height:1.2;margin:22px 0 16px;letter-spacing:-.025em}.sm-access-dialog-actions{display:grid;gap:12px;margin-top:24px}.sm-access-dialog .sm-btn{font:600 14px/1.5 Poppins,system-ui,sans-serif;min-height:48px}.sm-access-dialog .sm-text-btn{font:500 14px/1.5 Poppins,system-ui,sans-serif;min-height:44px;color:#1d3557;background:transparent;border:0;text-align:center;display:flex;align-items:center;justify-content:center;cursor:pointer}
.sm-access-dialog :focus-visible{outline:3px solid #a87922;outline-offset:3px}

@media(min-width:901px)and(max-width:1100px){.sm-learning-layout{grid-template-columns:245px minmax(0,1fr);gap:20px}}
@media(max-width:900px){.sm-learning-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"guide" "lesson" "practice";grid-template-rows:auto;gap:20px}.sm-learning-guide,.sm-learning-main,.sm-learning-practice{width:100%}.sm-learning-guide .sm-panel{padding:20px}.sm-skill-heading{align-items:flex-start;flex-wrap:wrap}.sm-skill-heading>div{min-width:0;flex:1 1 100%}.sm-learning-guide .sm-example{margin-top:14px;padding-top:10px}}
@media(max-width:700px){.sm-app{padding:18px max(16px,env(safe-area-inset-left)) 24px max(16px,env(safe-area-inset-right));font-size:16px}.sm-app .sm-choice-content,.sm-app .sm-question-content{font-size:16px}.sm-app .sm-hero h1{font-size:clamp(32px,8.5vw,43px)}.sm-app .sm-reaction-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sm-app .sm-reaction-options .sm-text-btn{grid-column:1/-1}.sm-app .sm-question-panel{padding:22px 18px}.sm-question-identity{max-width:72%}}
@media(max-width:480px){.sm-app .sm-actions{align-items:stretch}.sm-app .sm-actions>form,.sm-app .sm-actions>.sm-btn{flex:1 1 100%;width:100%}.sm-app .sm-actions>form>.sm-btn{width:100%}.sm-app .sm-review-row .sm-btn{width:100%}.sm-access-dialog{padding:20px;width:calc(100% - 24px)}.sm-app .sm-start-panel h2{font-size:29px}}

body.sm-page.sm-access-open{overflow:hidden}.sm-access-dialog{touch-action:pan-y pinch-zoom}

.sm-page .sg-navbar .sg-hamburger,.sm-page .sg-navbar .sg-account-toggle,.sm-page .sg-navbar #gems-go-btn{min-width:44px;min-height:44px}

@media(prefers-reduced-motion:reduce){.sm-access-dialog{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
