.study-pack-card .cardfoot{flex-wrap:wrap}
.study-pack-card .price{white-space:nowrap}
.study-pack-card .sample-prompt{display:block;margin-top:5px;color:var(--otext);font-size:14px;text-decoration:underline;text-underline-offset:.16em}
#packs .grid{grid-template-columns:repeat(auto-fill,minmax(min(245px,100%),1fr))}
@media(max-width:560px){#packs .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:370px){#packs .grid{grid-template-columns:1fr}}

.sheet-detail{padding:0 18px 15px}.sheet-detail a{display:inline-block;font-size:14px;font-weight:600;color:var(--otext);text-underline-offset:.18em}.sheet-detail a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:560px){.sheet-detail{padding:0 12px 10px}#packs .grid{grid-template-columns:minmax(0,1fr)}.study-pack-card:only-child{max-width:360px}.study-pack-card:only-child .cardlink{display:grid;grid-template-columns:41% 1fr;align-items:center}.study-pack-card:only-child .cardfoot{align-items:center;flex-direction:row}.study-pack-card:only-child .cardbody{padding:12px 10px}.study-pack-card:only-child .cover{border-bottom-width:0}}
@media(prefers-reduced-motion:reduce){.tab{transition:none}}
/* Match the catalog tabs and native anchors to the shared subject bar. */
:root{--tech-header-fallback:65px}
@media(max-width:680px){:root{--tech-header-fallback:93px}}
.tabbar{top:var(--l9-header-height,var(--tech-header-fallback))}
.help h2,#early,#study,#follow,#suggest{scroll-margin-top:calc(var(--l9-header-height,var(--tech-header-fallback)) + 16px)}
.skip:focus{z-index:100}

/* Native bookmarks reserve both sticky rows, even before the enhancement runs. */
:root{--tech-tabs-fallback:4.75rem}
@media(max-width:640px){:root{--tech-tabs-fallback:4.125rem}}
#shop{scroll-margin-block-start:var(--l9-header-height,var(--tech-header-fallback))}
.panel[role="tabpanel"]{scroll-margin-block-start:calc(var(--l9-header-height,var(--tech-header-fallback)) + var(--tech-tabs-height,var(--tech-tabs-fallback)))}
.study-guide .btn{box-sizing:border-box;max-inline-size:100%;white-space:normal;text-align:center}
