.course-bar292{padding:18px 20px;border:1px solid #dfe7ef;border-radius:16px;margin:14px 0;background:#f8fafc}.course-head292{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.course-head292 select{padding:8px;border:1px solid #dbe1ea;border-radius:8px;background:white}.course-pills292{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.course-pills292 button{border:1px solid #dae2eb;background:#fff;border-radius:20px;padding:8px 12px;color:#334155;cursor:pointer}.course-pills292 button.selected{background:#263e92;border-color:#263e92;color:white}.course-pills292 small{opacity:.65;margin-left:4px}.course-bar292>small{color:#64748b}.rich292{font-size:16px;line-height:1.9;overflow-wrap:anywhere;max-width:100%}.rich292 p{margin:.65em 0}.rich292 svg{max-width:100%;vertical-align:middle}.rich292 .rq-math.rq-display{display:block;text-align:center;overflow-x:auto;margin:10px 0}.rich292 table{border-collapse:collapse;margin:14px auto;max-width:100%}.rich292 th,.rich292 td{border:1px solid #94a3b8;padding:6px 12px;text-align:center}.rich292 .rq-statements,.rich292 .rq-stim-box{border:1px solid #94a3b8;border-radius:8px;padding:12px 16px;margin:14px 0}.rich292 .rq-statement{display:flex;gap:10px}.rich292 .rq-statement-title{text-align:center;font-weight:700}.rich292 .rq-diagram,.rich292 .rq-figure{margin:12px auto;text-align:center}.rich292 math{font-size:1.06em}.answer>.rich292{flex:1;text-align:left}.question-preview6 .rich292{max-height:none}.import-dialog291{max-width:820px}.import-publish292{border-top:1px solid #ddd;padding-top:16px;margin-top:18px}
/* Keep existing visual tokens and control size across all subject menus. */
.bank-toolbar293{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:12px 0;flex-shrink:0;min-width:0}
.bank-toolbar293 .subject-subtypes9{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:0;min-width:0;flex:1 1 auto}
.bank-toolbar293 .board-refine24{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0 0 0 auto;padding:0;flex:0 0 auto;min-height:38px}
.bank-toolbar293 .board-refine24 .board-reset{margin-left:2px}
.bank-toolbar293 .board-refine24 .board-refine-label24{white-space:nowrap}
.bank-toolbar293 .coding-choices17{display:flex;flex-wrap:wrap;gap:8px}
.bank-toolbar293 .course-shortcuts293{flex:1 1 650px;gap:8px}
.bank-toolbar293 .course-pills292{display:flex;flex-wrap:wrap;gap:8px;margin:0;flex:1 1 360px}
.bank-toolbar293 .subtype-check9,.bank-toolbar293 .word-launch12,.bank-toolbar293 .course-pills292 button,.bank-toolbar293 [data-curriculum292]{box-sizing:border-box;min-height:38px;font-family:inherit;font-size:12px;font-weight:500;line-height:1.4;border:1px solid var(--line,#dbe3f1);border-radius:9px;background:var(--card,#fff);color:var(--text,#19304c);padding:8px 13px}
.bank-toolbar293 .course-pills292 button{display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;white-space:nowrap}
.bank-toolbar293 .course-pills292 button:hover{background:var(--blue-light,#eef2ff);border-color:#aebcf4}
.bank-toolbar293 .course-pills292 button.selected{background:#eef2ff;border-color:#b9c6ff;color:#354dde;font-weight:700}
.bank-toolbar293 .course-pills292 small{margin:0;font-size:11px;font-weight:500;opacity:.65;font-variant-numeric:tabular-nums}
.bank-toolbar293 .curriculum-select293{display:flex;align-items:center;margin:0;flex:0 0 auto}
.bank-toolbar293 button:focus-visible,.bank-toolbar293 select:focus-visible{outline:2px solid #4961e8;outline-offset:2px}
.book-header293{align-items:flex-start;gap:16px}
.book-header293 .book-actions291{display:flex;flex-direction:column;align-items:flex-end;gap:8px;margin-left:auto;max-width:100%;padding-top:4px}
.book-buttons293{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.book-header293 .book-actions291 small{flex-basis:auto;text-align:right;font-size:11px;line-height:1.5}
.book-buttons293 .btn{min-height:42px;font-size:13px;padding:10px 16px;white-space:nowrap}
@media(max-width:760px){
 .bank-toolbar293{gap:8px;margin:10px 0}
 .bank-toolbar293 .subject-subtypes9{flex-basis:100%}
 .bank-toolbar293 .board-refine24{flex-wrap:wrap;max-width:100%;min-height:34px;gap:6px}
 .bank-toolbar293 .course-pills292{flex-basis:100%;gap:6px}
 .bank-toolbar293 .subtype-check9,.bank-toolbar293 .word-launch12,.bank-toolbar293 .course-pills292 button{padding:7px 10px;min-height:36px}
 .bank-toolbar293 .coding-choices17{gap:6px}
 .book-header293{flex-wrap:wrap}
 .book-header293 .book-actions291{width:100%;align-items:flex-start;margin:0;padding:0}
 .book-header293 .book-actions291 small{text-align:left}
 .book-buttons293{justify-content:flex-start}
}
.bank-toolbar293 .subject-subtypes9 .coding-choices17{width:auto;max-width:100%}
.bank-toolbar293 .subject-subtypes9 .coding-choices17 .subtype-check9{width:auto;min-width:112px;font-size:12px}
.bank-toolbar293 .course-pills292 button.selected{background:var(--blue-soft,#eef2ff);color:var(--blue,#354dde)}
.bank-toolbar293 .course-pills292 button,.bank-toolbar293 [data-curriculum292]{background:var(--surface,#fff)}
.member-plan293{display:inline-block;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:700;line-height:1.3;background:var(--soft,#f0f3f8);color:var(--muted)}
.member-plan293.plus{background:#eef3ff;color:#3659ba}.member-plan293.pro{background:#edeafa;color:#694bb7}.member-plan293.impact{background:#fdf0df;color:#946000}
.member-table290 th:nth-child(1){width:22%}.member-table290 th:nth-child(2){width:22%}.member-table290 th:nth-child(3){width:10%}.member-table290 th:nth-child(4){width:11%}.member-table290 th:nth-child(5){width:12%}.member-table290 th:nth-child(6){width:15%}.member-table290 th:nth-child(7){width:90px}
.admin-desk7>[data-legacy-audit22],.admin-desk7 [data-legacy-audit22]{display:block;margin:10px 14px 12px auto;font-size:12px}
.content-admin293 .cms-head11,.content-admin293 .cms-row11{grid-template-columns:minmax(0,1fr) auto}
.content-admin293 .cms-row11>span:empty{display:none}.content-admin293 .cms-row11{padding:14px 18px;gap:12px}
.content-admin293 .cms-row11 small{display:block;margin-top:5px;color:var(--muted)}.content-title293{padding:0;text-align:left;font-weight:700}
.cms-route293{display:flex;align-items:flex-start;gap:20px;padding:28px}.cms-route293>.icon{width:30px;height:30px;color:var(--blue)}.cms-route293 h3{margin:0 0 10px}.cms-route293 p{color:var(--muted);margin:0 0 20px}
.content-grid293{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-content:start;gap:14px;overflow:auto;min-height:180px}
.content-card293{padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:190px}.content-card293 h3{font-size:16px;margin:0}.content-card293 small{color:var(--muted)}.content-card293>button{margin-top:auto;padding:0}.content-card-icon293{display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);border-radius:12px;width:44px;height:44px}
.content-body293{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:18px 0}.content-reader293 a{margin-top:16px}
.content-reader293 a.btn{display:inline-flex;align-items:center;color:#fff;text-decoration:none}
#memberSearch289{display:grid;grid-template-columns:minmax(200px,1fr) minmax(120px,160px) minmax(120px,160px) auto auto;gap:10px;align-items:end;width:100%}
#memberSearch289 label{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0;font-size:12px}
#memberSearch289 input,#memberSearch289 select{width:100%;box-sizing:border-box;min-height:38px}
#memberSearch289 button{min-height:38px;white-space:nowrap}
@media(max-width:760px){#memberSearch289{grid-template-columns:1fr 1fr auto auto;gap:8px}#memberSearch289 .member-query289{grid-column:1/-1}#memberSearch289 button{padding:8px 10px}}
@media(max-width:760px){.member-table290 th:nth-child(3),.member-table290 td:nth-child(3),.member-table290 th:nth-child(5),.member-table290 td:nth-child(5),.member-table290 th:nth-child(6),.member-table290 td:nth-child(6){display:none}.member-table290 th:nth-child(1){width:26%}.member-table290 th:nth-child(2){width:28%}.member-table290 th:nth-child(4){width:22%}.member-table290 th:nth-child(7){width:72px}.member-plan293{padding:4px 5px;font-size:10px}.content-admin293 .cms-row11{padding:12px;gap:8px}.content-admin293 .ops-actions22{gap:8px}.content-grid293{grid-template-columns:1fr}.content-card293{min-height:160px}}
@media(max-width:760px){.bank-toolbar293 .course-pills292{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:2px 1px 5px}.bank-toolbar293 .course-pills292 button{flex:0 0 auto}.bank-toolbar293 .course-shortcuts293{overflow:hidden}}
.curriculum-refine294{align-items:flex-end;gap:10px;margin:10px 0 14px}
.curriculum-refine294 .board-refine24{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:8px;margin:0 0 0 auto;padding:0;min-height:38px}
.curriculum-refine294 .board-refine-label24{white-space:nowrap}
.curriculum-refine294 .board-reset{margin-left:2px}
@media(min-width:761px){.curriculum-refine294 .curriculum-unit291{flex:0 1 320px}}
@media(max-width:760px){.curriculum-refine294{gap:8px;margin:10px 0}.curriculum-refine294>label:not(.curriculum-unit291){flex:1 1 40%;min-width:0}.curriculum-refine294 select{width:100%;min-width:0}.curriculum-refine294 .curriculum-unit291{flex-basis:100%;min-width:0}.curriculum-refine294 .board-refine24{width:100%;max-width:100%;flex-wrap:wrap;min-height:34px;gap:6px}}
@media(max-width:760px){.curriculum-refine294{display:grid;grid-template-columns:1fr 1fr 1.35fr;align-items:end}.curriculum-refine294>label{min-width:0}.curriculum-refine294 .board-refine24{grid-column:1/-1}.curriculum-refine294 select{font-size:12px;padding-left:8px;padding-right:22px}}
@media(max-width:760px){
 #bottomNav button.nav-item{min-width:0;margin:0;text-align:center;color:var(--muted)}
 #bottomNav button.nav-item.active{background:var(--blue-soft,#edf1ff);color:var(--blue,#3c50db)}
 #bottomNav button.nav-item.active:before{display:none}
 #bottomNav button.nav-item>span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
 .content-admin293 .cms-row11>div:first-child{min-width:0}
 .content-admin293 .content-title293{overflow-wrap:anywhere;line-height:1.5}
 .member-table290 td:nth-child(1),.member-table290 td:nth-child(2){overflow-wrap:anywhere}
 #modal .form6 input,#modal .form6 select,#modal .form6 textarea{min-width:0;max-width:100%;box-sizing:border-box}
 #modal .form6 .two-col>*{min-width:0}
 .admin-desk7>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center}
 .admin-desk7>header>div:first-child{grid-column:1;grid-row:1;min-width:0}
 .admin-desk7>header h1{white-space:nowrap}
 .admin-desk7>header>.badge{grid-column:1;grid-row:2;justify-self:start;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}
 .admin-desk7>header>button{grid-column:2;grid-row:1/3;white-space:nowrap;font-size:11px;padding:9px 10px}
 .problem-board{gap:7px}
 .problem-board .eyebrow{display:none}
 .problem-board .bank-toolbar293{margin:5px 0}
 .problem-board .curriculum-refine294{margin:4px 0;gap:6px}
}
@media(max-width:760px) and (max-height:720px){#main:has(.problem-board){overflow-y:auto}.problem-board{height:auto;min-height:100%}.problem-board .board-card{min-height:172px;flex-shrink:0}}
.help-answer295{font-weight:750;color:var(--blue);margin:12px 0}
.help-status295{line-height:1.65;overflow-wrap:anywhere}
#tutorBody .help-rich295{min-width:0;max-width:100%;overflow-x:auto;line-height:1.8;font-size:14px;white-space:normal;overflow-wrap:anywhere}
#tutorBody .help-rich295 math{max-width:100%;font-size:1em}
#tutorBody .help-rich295 svg{max-width:100%;height:auto}
#tutorBody .help-hints26 article p{overflow-wrap:anywhere;line-height:1.8}
@media(max-width:760px){#tutorBody .help-rich295{font-size:13px}.help-voice26{flex-wrap:wrap;gap:6px}}
/* The guest card has real content height; it cannot share the old 64px rank
   strip or fixed home grid tracks on a narrow/short viewport. */
body[data-view=home] #main.content{overflow-y:auto}
body[data-view=home] .home9:has(.guest-home290){flex:none!important;height:auto;min-height:0!important}
.home9:has(.guest-home290) .home-top9{flex:none!important;height:auto;min-height:0!important;max-height:none;align-items:stretch}
.home9 .guest-home290{min-height:0;max-height:none;align-self:stretch;flex-shrink:0}
.home9 .guest-home290>*{flex-shrink:0}
.home9 .guest-mission290{display:flex;flex-wrap:wrap;height:auto;min-height:0;max-height:none;flex-shrink:0;gap:8px 16px}
.guest-mission290>p{flex:1 1 280px;margin:0;line-height:1.6;min-width:0}
.guest-mission290>.text-btn{margin-left:auto}
@media(max-width:1080px){
 body[data-view=home] .home9{height:auto;min-height:0!important;flex:none!important;gap:12px!important}
 .home9 .home-top9{height:auto;min-height:0!important;max-height:none;flex:none!important;display:flex;flex-direction:column;gap:12px}
 .home9 .challenge-hero9{flex:none;min-height:190px;height:auto;padding:22px;align-items:center}
 .home9 .challenge-hero9>div:first-child{min-width:0;z-index:1}
 .home9 .challenge-hero9 h2{font-size:clamp(23px,5.5vw,32px);line-height:1.3}
 .home9 .home-mascot9{flex:0 0 100px;max-width:30%;min-width:0}
 .home9 .home-mascot9 img{max-width:100%;height:auto}
 .home9 .guest-home290{display:flex!important;gap:10px;padding:20px!important;position:relative;height:auto;min-height:0!important;overflow:visible}
 .home9 .guest-home290 h2{font-size:24px;line-height:1.35}
 .home9 .guest-home290 p{font-size:13px;line-height:1.7}
 .home9 .guest-home290 .guest-actions290{display:flex;flex-wrap:wrap;gap:8px;margin:0}
 .home9 .guest-home290 .guest-actions290 .btn{min-height:40px;padding:10px 16px;font-size:13px}
 .home9 .home-subject-block9,.home9 .home-mission9,.home9 .home-bottom9,.home9 .growth-line9{flex:none!important;max-height:none;height:auto}
 .home9 .home-bottom9{min-height:0!important}
 .home9 .home-action9{min-height:90px;height:auto;padding:12px 8px}
 .home9 .guest-mission290{gap:8px;padding:14px}
 .home9 .guest-mission290>p{flex-basis:100%;font-size:12px}
 .home9 .guest-mission290>.text-btn{font-size:12px;min-height:32px}
 body[data-view=home] #main.content>.page-footer{flex-shrink:0;position:relative;margin-top:16px}
}
@media(max-width:380px){.home9 .home-bottom9{grid-template-columns:1fr}.home9 .home-action9{min-height:66px;display:flex;text-align:left;justify-content:flex-start;padding:12px 16px}.home9 .home-action9>div{flex:1}.home9 .home-action9 b{font-size:13px}.home9 .home-mascot9{flex-basis:78px}}
