.sr-inline{max-width:1400px;margin:auto}.sr-inline .sw-hero{display:block}.sr-inline .sw-hero p{max-width:700px}.sr-inline .sw-filter{grid-template-columns:1fr 1fr}.sr-inline .sw-grid{margin-top:20px}.sr-inline .sw-material{position:relative}.sr-inline .sw-material-art{position:relative;min-height:150px;font-size:62px}.sr-inline .sw-card-access{position:absolute;top:12px;left:12px;font:800 10px Nunito,sans-serif}.sr-inline .sw-material:nth-child(4n+2) .sw-material-art{background:linear-gradient(135deg,#ede9fe,#e0e7ff)}.sr-inline .sw-material:nth-child(4n+3) .sw-material-art{background:linear-gradient(135deg,#ffedd5,#fef3c7)}.sr-inline .sw-material:nth-child(4n) .sw-material-art{background:linear-gradient(135deg,#fce7f3,#ede9fe)}.sr-inline .sw-material-body{position:relative}.sr-inline .sw-material-body h2{margin:0 0 10px}.sr-inline .sw-material-body .sw-muted{font-size:13px;line-height:1.6}.sr-inline .sw-card-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.sr-inline .sw-card-actions button{flex:1}.sr-inline .sr-progress-actions{display:flex;gap:8px;align-items:center;position:relative;min-height:36px;margin-top:10px}.sr-inline .send-assign-btn{position:static!important;transform:none!important}.sr-inline .sw-grid:empty{display:none}.sr-inline .sr-message{padding:20px;border-radius:14px;background:#f0f9ff;color:#34516c}.sr-inline .sr-back{margin-bottom:16px}.le-mobile-product-sheet .smart-resources-menu{margin:8px 10px}.le-mobile-product-sheet .smart-resources-menu summary{padding:12px 8px;font-weight:800;color:#264c72}.le-mobile-product-sheet .smart-resources-options{margin-left:8px}.le-mobile-product-sheet .smart-resources-options button{margin:0;width:100%}body.sr-lead-in{background:linear-gradient(150deg,#eff6ff,#f5f3ff 55%,#f0fdfa)}.sr-lead-in #li-app{max-width:1400px}.sr-lead-in #li-app>header{background:linear-gradient(120deg,#312e81,#0f766e);padding:27px;border-radius:24px;color:white;min-height:120px}.sr-lead-in header .eyebrow{color:#dbeafe}.sr-lead-in .panel{border-radius:20px;border:1px solid #dbe3ee;box-shadow:0 8px 24px #17255408}.sr-lead-in .category-choice{border-radius:16px;border:1px solid #d6e0ed;background:#f8fafc}.sr-lead-in .category-choice.chosen{border-color:#0f766e;background:#edfafa}.sr-lead-in .category-choice strong{color:#172554}.sr-lead-in .category-choice small{color:#64748b}.sr-lead-in .download-card{border-radius:18px;border-color:#d4deed;background:linear-gradient(135deg,#f8f5ff,#f0fdfa)}.sr-lead-in .download-card:hover{border-color:#7c3aed;background:#f3f0ff}.sr-lead-in .action-icon{background:#ede9fe;color:#6d28d9}.sr-lead-in .mode-choice[aria-pressed=true]{border-color:#7c3aed;background:#f5f3ff}.sr-lead-in .section-kicker{color:#6d28d9}@media(max-width:650px){.sr-inline .sw-filter{grid-template-columns:1fr}.sr-inline .sw-grid{grid-template-columns:1fr}.sr-inline .sw-wrap{padding:12px}.sr-lead-in #li-app>header{padding:21px 17px}.sr-inline .sw-hero h1{font-size:28px}.sr-inline .sw-card-actions{flex-direction:column}}

#contentArea .sr-inline .sw-card-actions .sw-primary{background:#0f766e!important;color:#fff!important;opacity:1;visibility:visible}.sr-inline .sr-progress-actions{flex-wrap:wrap}.sr-inline .sr-progress-actions .send-assign-btn{position:static!important;width:auto!important;min-width:36px!important;padding:0 12px!important;flex:0 0 auto;border-radius:999px!important}.sr-inline .sr-progress-actions .mat-used-btn,.sr-inline .sr-progress-actions .mat-history-btn{position:static!important;transform:none!important;flex:0 0 36px;min-width:36px;height:36px;min-height:36px;padding:0}.sr-inline .sr-progress-actions .send-label{font-size:9px}.sr-inline .sr-progress-actions .send-assign-btn i{font-size:16px}

/* Match the existing Video Lessons submenu exactly; keep the two top-level menus separate. */
.video-lessons-sidebar-options button{font-family:inherit;font-size:14px;line-height:1.4}
.smart-resources-menu>summary>i{margin-left:auto}.smart-resources-options.video-lessons-sidebar-options{display:grid;gap:5px;padding:6px 8px 11px 18px;margin:0;border:0}
.smart-resources-options.video-lessons-sidebar-options button.active{background:#fff;color:#1e3a8a;border-color:#fff}
.sr-inline .sw-material-art .send-assign-btn{position:absolute!important;top:12px!important;right:12px!important;z-index:3;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;border-radius:12px!important;padding:0!important;background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;box-shadow:0 5px 14px #312e8130;transform:none!important}
.sr-inline .sw-material-art .send-assign-btn .send-label{display:none!important}
.sr-inline .sw-card-actions{display:flex;flex-direction:row!important;align-items:center;flex-wrap:nowrap;gap:9px;margin-top:auto;padding-top:16px}
.sr-inline .sw-card-actions>.sw-primary{flex:1;min-width:0}
.sr-inline .sw-card-actions .sr-progress-actions{display:flex;align-items:center;flex:0 0 auto;gap:7px;margin:0!important;min-height:44px;flex-wrap:nowrap}
.sr-inline .sr-progress-actions>span{display:inline-flex}.sr-inline .sr-progress-actions>span:empty{display:none}
.sr-inline .sr-progress-actions .mat-used-btn,.sr-inline .sr-progress-actions .mat-history-btn{width:42px;min-width:42px;height:44px;min-height:44px;border-radius:13px;box-shadow:none;background:#f5f3ff;color:#4f46e5;border:1px solid #ddd6fe}
#contentArea .sr-inline .sw-card-actions .sw-primary,.sw-inline .sw-card-play,.sr-speaking button[onclick^="handleLaunch"],.infographic-shelf .ig-download,.sr-dictionary .full{background:linear-gradient(125deg,#3558ce,#6d4ddd)!important;color:#fff!important;border:1px solid #6654d4!important;border-radius:14px!important;box-shadow:0 6px 16px #4f46e51f;transition:transform .18s,box-shadow .18s,filter .18s}
#contentArea .sr-inline .sw-card-actions .sw-primary:hover,.sw-inline .sw-card-play:hover,.infographic-shelf .ig-download:hover,.sr-speaking button:hover{filter:brightness(1.07);box-shadow:0 9px 21px #4f46e52b;transform:translateY(-1px)}
.sw-inline .sw-card-print,.sr-speaking button[onclick^="handlePrint"],.sr-speaking button[onclick^="handleAssign"]{background:linear-gradient(130deg,#f7f5ff,#eef6ff)!important;color:#4338a0!important;border:1px solid #d6d4ee!important;border-radius:13px!important}
.sr-speaking .tb-filter-pill,.infographic-shelf .tb-filter-pill{border-radius:13px!important;transition:background .18s,transform .18s;min-height:42px}
.sr-speaking .tb-filter-pill.active,.infographic-shelf .tb-filter-pill.active{background:linear-gradient(120deg,#3558ce,#7657d6)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 5px 13px #4f46e51f}
.sr-lead-in .draw-button,.sr-lead-in button:not(.download-card):not(.mode-choice){border-radius:14px}.sr-lead-in .draw-button{background:linear-gradient(125deg,#3558ce,#6d4ddd);border:0;box-shadow:0 6px 16px #4f46e529}
.sr-lead-in .download-card{background:linear-gradient(135deg,#fff,#f5f3ff);box-shadow:0 5px 18px #4f46e50b}.sr-lead-in .download-card:hover{box-shadow:0 10px 25px #4f46e51c;transform:translateY(-2px)}
.sr-loader{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:30px 15px;min-height:175px;text-align:center;isolation:isolate;color:#4c5790;font:700 13px/1.5 Nunito,system-ui,sans-serif}
.sr-loader-orbit{position:relative;width:64px;height:64px;display:grid;place-items:center;background:linear-gradient(135deg,#e6edff,#f0e5ff);border-radius:23px;box-shadow:0 7px 20px #7566cf1c}
.sr-loader-orbit b{font-size:29px;color:#6e53cf;animation:sr-breathe 1.6s ease-in-out infinite}.sr-loader-orbit i{position:absolute;width:10px;height:10px;border-radius:50%;background:#6083f0;animation:sr-orbit 2.5s linear infinite;left:27px;top:27px}.sr-loader-orbit i:nth-child(2){background:#b28ae5;animation-delay:-.83s}.sr-loader-orbit i:nth-child(3){background:#efb768;animation-delay:-1.66s}.sr-loader-caption{max-width:320px}.sr-loader-dots{color:#9d8add;letter-spacing:5px;animation:sr-breathe 1.2s ease-in-out infinite}.sr-loader:only-child{width:100%}
@keyframes sr-orbit{from{transform:rotate(0) translateX(37px) rotate(0)}to{transform:rotate(360deg) translateX(37px) rotate(-360deg)}}@keyframes sr-breathe{50%{opacity:.45;transform:scale(.88)}}
@media(prefers-reduced-motion:reduce){.sr-loader *{animation:none!important}.sr-loader-orbit i:nth-child(1){transform:translate(-28px,-24px)}.sr-loader-orbit i:nth-child(2){transform:translate(28px,-24px)}.sr-loader-orbit i:nth-child(3){transform:translateY(33px)}}

.sr-word-game .wc-primary{background:linear-gradient(125deg,#3558ce,#6d4ddd);border-color:#6654d4;border-radius:14px;box-shadow:0 6px 16px #4f46e51f}.sr-dictionary .print-choice{border-radius:13px;box-shadow:0 3px 10px #4f46e50a}

.sr-brand-icon{display:inline-block;width:24px;height:24px;flex:0 0 24px;vertical-align:middle;object-fit:contain;filter:drop-shadow(0 1px 1px #061b3033)}#btnSmartResources .sb-left{display:inline-flex;align-items:center;gap:7px}.le-mobile-product-sheet .smart-resources-menu>summary{display:flex;align-items:center;gap:8px}

@media(max-width:768px){
 .le-mobile-product-sheet{box-sizing:border-box;max-height:calc(100vh - 112px - env(safe-area-inset-bottom));max-height:calc(100dvh - 112px - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}
 #mobileMaterialsSheet .smart-resources-menu{margin:0;min-width:0}
 #mobileMaterialsSheet .smart-resources-menu>summary.le-mobile-product-choice{box-sizing:border-box;display:grid;grid-template-columns:43px minmax(0,1fr) 24px;align-items:center;gap:10px;min-height:62px;padding:9px 10px;color:#172033;font:inherit;list-style:none}
 #mobileMaterialsSheet .smart-resources-menu>summary::-webkit-details-marker{display:none}
 #mobileMaterialsSheet .sr-mobile-brand{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e8f7f5}
 #mobileMaterialsSheet .smart-resources-menu[open]>summary>i:last-child{transform:rotate(180deg)}
 #mobileMaterialsSheet .smart-resources-options{display:grid;grid-template-columns:1fr;gap:4px;margin:6px 0 0;padding:0}
 #mobileMaterialsSheet .smart-resources-options>.le-mobile-product-choice{box-sizing:border-box;min-width:0;grid-template-columns:24px minmax(0,1fr);gap:6px;min-height:36px;padding:5px 7px;margin:0;border-radius:10px}
 #mobileMaterialsSheet .smart-resources-options>.le-mobile-product-choice>i:first-child{width:24px;height:24px;font-size:15px;border-radius:7px;background:#e8f3f7}
 #mobileMaterialsSheet .smart-resources-options>.le-mobile-product-choice b{font-size:12px;line-height:1.25}
 #mobileMaterialsSheet .smart-resources-options>.le-mobile-product-choice>i:last-child{display:none}
}
@media(min-width:360px) and (max-width:768px){#mobileMaterialsSheet .smart-resources-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep every grade reachable on phones without a sideways filter strip. */
@media(max-width:900px){.sr-speaking .tb-filter-bar,.infographic-shelf .tb-filter-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;overflow:visible}.sr-speaking .tb-filter-pill,.infographic-shelf .tb-filter-pill{min-width:0;white-space:normal;padding:9px 8px;line-height:1.35}.sr-inline .sw-material-body{min-width:0}.sr-inline .sw-material-body h2{overflow-wrap:break-word}.sr-inline .sw-card-actions{flex-wrap:wrap}.sr-inline .sw-card-actions>.sw-primary{flex-basis:140px}}

.mm-shelf-filter{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(190px,250px);align-items:start;gap:18px}.mm-shelf-filter #mm-filter-buttons{min-width:0}.mm-filter-title{display:block;font-size:13px;font-weight:700;color:#475569}.mm-shelf-filter .mm-theme-select{min-width:0}.mm-shelf-filter .mm-theme-select select{margin-top:8px;margin-bottom:0;min-height:44px}.mm-shelf-filter>label[hidden]{display:none!important}@media(max-width:700px){.mm-shelf-filter{grid-template-columns:minmax(0,1fr);gap:10px}.mm-shelf-filter .mm-theme-select select{margin-top:5px}}.mm-filter-row{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.mm-filter-row button{min-height:42px;padding:9px 13px;border:1px solid #ccbce9;border-radius:11px;background:#fff;color:#60438e;font:800 13px Nunito,Arial,sans-serif;cursor:pointer}.mm-filter-row button[aria-pressed=true]{background:#6b45b2;color:#fff;border-color:#6b45b2}.mm-filter-row button:focus-visible{outline:3px solid #b1a0d7;outline-offset:2px}
