/* Compact content controls; all text continues to respect the user's scale. */
html body #ll2-app .ll-reading-heading[hidden]{display:none!important}
html body #ll2-app .ll-reading-about .reading-deck{display:block!important}
html body #ll2-app .ll-topic-resources{grid-template-columns:repeat(auto-fit,minmax(0,1fr))}
html body #ll2-app .ll-topic-resources>details>summary{white-space:normal!important;line-height:1.25!important}
html body #ll2-app .ll-reading-filters{display:flex!important;flex-flow:row wrap!important;align-items:center!important;gap:8px!important;margin:0 0 14px!important}
html body #ll2-app .ll-reading-filters>label{display:block!important;flex:1 1 145px!important;min-width:0!important;max-width:none!important;margin:0!important;font-size:calc(12px * var(--lab-text-scale,1))!important;line-height:1.35!important}
html body #ll2-app .ll-reading-filters>label:first-child{flex:3 1 210px!important}
html body #ll2-app .ll-reading-filters :is(input,select){display:block!important;width:100%!important;min-width:0!important;height:auto!important;min-height:38px!important;margin:3px 0 0!important;padding:7px 10px!important;font-size:calc(14px * var(--lab-text-scale,1))!important}
html body #ll2-app .ll-reading-filters .ll-reading-view{display:flex!important;gap:8px!important;align-items:center!important;margin:16px 0 0!important;flex:0 1 auto!important;width:auto!important;padding:0!important}
html body #ll2-app .ll-reading-view>span{font-size:12px;white-space:nowrap}
html body #ll2-app .ll-reading-view button{min-height:36px!important;padding:6px 9px!important;font-size:calc(13px * var(--lab-text-scale,1))!important}
html body #ll2-app .ll-reading-collections{align-self:flex-end;margin-bottom:0!important}
html body #ll2-app .ll-reading-collections .history-lenses{display:grid;gap:5px;margin:0}
html body #ll2-app .ll-reading-collections .history-lenses a{padding:8px!important;margin:0!important;border:0!important;border-radius:5px!important}
html body #ll2-app .stack-card{padding:14px!important;gap:4px!important;border-radius:12px!important;min-height:0!important}
html body #ll2-app .stack-card h2{font-size:calc(21px * var(--lab-text-scale,1))!important;line-height:1.25!important;margin:0!important}
html body #ll2-app .stack-card .stack-meta{font-size:calc(11px * var(--lab-text-scale,1))!important;line-height:1.3;margin:0!important}
html body #ll2-app .stack-card .reading-byline{font-size:calc(14px * var(--lab-text-scale,1))!important;margin:3px 0!important}
html body #ll2-app .stack-card>button{min-height:36px!important;padding:6px 12px!important;margin:4px 0 0!important}
html body #ll2-app .stacks-list .stack-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:12px!important;border-radius:0!important;padding:12px 16px!important}
html body #ll2-app .stacks-list .stack-meta{grid-column:1;grid-row:1}
html body #ll2-app .stacks-list .stack-card h2{grid-column:1;grid-row:2}
html body #ll2-app .stacks-list .reading-byline{grid-column:1;grid-row:3}
html body #ll2-app .stacks-list .ll-reading-about{grid-column:2;grid-row:1;justify-self:end}
html body #ll2-app .stacks-list .stack-card>button{grid-column:2;grid-row:2/4;align-self:center;justify-self:end}
html body #ll2-app .stack-card>.ll-reading-about>summary{font-size:12px!important;min-height:30px!important}
html body #ll2-app .stack-card .reading-deck{margin:0!important;font-size:calc(15px * var(--lab-text-scale,1))!important}
html body :is(#lles,#llpt) .lab-secondary.ll-native-topic-row{display:flex!important;align-items:center!important;flex-flow:row wrap!important;gap:6px!important;padding:5px!important}
html body :is(#lles,#llpt) .ll-native-topic-row>nav:first-child{flex:1 1 235px!important;display:flex!important;min-width:0!important;gap:5px!important}
html body :is(#lles,#llpt) .ll-native-topic-row .lab-topic-picker{flex:1 1 auto!important;min-width:0!important;max-width:none!important;margin:0!important}
html body :is(#lles,#llpt) .ll-native-topic-row [data-lab-topic]{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:7px!important}
html body :is(#lles,#llpt) .ll-native-topic-row .es-chapter-nav{flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:5px!important;width:auto!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;position:static!important;min-height:36px!important}
html body :is(#lles,#llpt) .ll-native-topic-row .es-chapter-nav a{display:grid;place-items:center;flex:0 0 34px;width:34px;min-height:34px;border:1px solid #c4d7cd;border-radius:7px;text-decoration:none!important}
html body :is(#lles,#llpt) .ll-native-topic-row .es-chapter-nav>span{font-size:13px;white-space:nowrap}
html body :is(#lles,#llpt) .ll-native-topic-row>.lab-route-context:empty{display:none!important}
html body .ll-popout-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}
html body .ll-popout-head>button{width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;font-size:24px!important;line-height:1!important}
html body .ll-mini-game .llgm-host{margin:0!important;display:grid;gap:10px}
html body .ll-mini-game .llgm{margin:0!important}
html body .ll-mini-game .llgm-bar{grid-template-columns:36px minmax(0,1fr) auto;padding:9px}
html body .ll-mini-game .llgm-avatar{width:36px;height:36px}
html body .ll-mini-game .llgm-body{padding:12px}
html body .ll-bank-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}
html body .ll-bank-tools input{flex:1 1 180px;min-width:0}
html body .ll-bank-tools :is(input,select){font:inherit;padding:8px;width:auto!important;margin:0!important}
html body .ll-abbreviation-list{display:grid;gap:0}
html body .ll-abbreviation-list>article{display:grid;grid-template-columns:minmax(80px,.4fr) minmax(0,1fr);gap:3px 10px;border-bottom:1px solid #dce5df;padding:9px 0;font-size:15px}
html body .ll-abbreviation-list small{grid-column:1/-1;line-height:1.4;color:#536a62;font-size:12px}
html body #ll2-app .ll-abbreviation-bank{margin:0 0 12px!important}
html body #ll2-app.ll-assessment-open>:not(.ll-assessment-shell){display:none!important}
html body .ll-assessment-shell{width:100%;min-width:0;color:#163e37}
html body .ll-assessment-placeholder{display:flex;align-items:center;gap:12px;justify-content:space-between}
html body .ll-assessment-placeholder h1{font-size:28px;margin:0}
html body .ll-assessment-placeholder[hidden]{display:none!important}
html body .ll-assessment-shell .llp-page{position:static!important;inset:auto!important;display:block!important;float:none!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:inherit}
html body .llp-page>header{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:8px!important;padding:0 0 12px!important;margin:0!important;border:0!important}
html body .llp-page>header>strong{font-size:clamp(22px,3vw,30px);letter-spacing:-.04em}
html body .llp-page>header nav{display:flex;gap:5px;flex-wrap:wrap}
html body .llp-page button{font:inherit;min-height:36px;padding:7px 12px;border-radius:8px}
html body .llp-page .llp-body{padding:0!important}
html body .llp-page .llp-body>h2{font-size:calc(21px * var(--lab-text-scale,1))!important;margin:6px 0 12px!important}
html body .llp-page .llp-controls{display:flex!important;flex-flow:row wrap!important;align-items:end;gap:8px!important;margin:0!important}
html body .llp-page .llp-controls>label{flex:1 1 150px;min-width:0;font-size:13px}
html body .llp-page .llp-controls>label:first-child{flex:2 1 220px}
html body .llp-page select{width:100%;font:inherit;padding:8px;border:1px solid #b9cec3;border-radius:8px;min-height:38px}
html body .llp-page .llp-muted{font-size:13px;line-height:1.5;color:#536a62}
html body .llp-page>p[role=status]:empty{display:none}
html body .llp-page .llp-history>div{padding:8px 0}
html body .ll-embedded-assessment{font-size:13px!important;padding:5px 8px!important;white-space:nowrap}
@media(max-width:520px){
 html body #ll2-app .ll-reading-filters>label:first-child{flex-basis:100%!important}
 html body #ll2-app .ll-reading-filters .ll-reading-view{margin-top:0!important;margin-left:auto!important}
 html body #ll2-app .ll-topic-resources>details>summary{font-size:calc(11px * var(--lab-text-scale,1))!important}
 html body :is(#lles,#llpt) .ll-native-topic-row>nav:first-child{flex-basis:100%!important}
 html body .llp-page .llp-controls>label{flex-basis:calc(50% - 8px)}
 html body .llp-page .llp-controls>label:first-child{flex-basis:100%}
}

