/* BatchMath shared visual system — v10.0
   Sitewide typography, spacing, navigation, cards, resource icons,
   accessibility, micro-interactions, development states, and footer polish.
   Page-specific CSS remains in place; this file is the central refinement layer. */
:root{
  --bm-bg:#030303;
  --bm-panel:#080808;
  --bm-panel-2:#0d0d0d;
  --bm-panel-3:#121212;
  --bm-red:#d71920;
  --bm-red-dark:#9e1116;
  --bm-yellow:#f5c400;
  --bm-yellow-soft:#ffd93d;
  --bm-text:#f4f4f4;
  --bm-muted:#aaa;
  --bm-muted-2:#7f7f7f;
  --bm-line:#292929;
  --bm-line-strong:#3a3a3a;
  --bm-radius-sm:7px;
  --bm-radius:10px;
  --bm-radius-lg:13px;
  --bm-shadow:0 12px 30px rgba(0,0,0,.34);
  --bm-ease:cubic-bezier(.2,.75,.25,1);
  --bm-space-1:.35rem;
  --bm-space-2:.65rem;
  --bm-space-3:1rem;
  --bm-space-4:1.4rem;
  --bm-space-5:2rem;
  --bm-space-6:3rem;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;text-size-adjust:100%}
body{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
  line-height:1.55;
  letter-spacing:.002em;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  background:var(--bm-bg);
}

/* Typographic rhythm */
h1,h2,h3,.page-title,.logo{letter-spacing:-.025em;text-wrap:balance}
h1,.page-title{line-height:1.08!important}
h2{line-height:1.18}
h3{line-height:1.25}
p,.topic-description,.intro{line-height:1.68}
.page-title{margin-bottom:12px!important}
.topic-description,.intro{
  max-width:760px;
  margin-left:auto!important;
  margin-right:auto!important;
  color:#cfcfcf;
}
.main{padding-bottom:clamp(40px,5.5vw,64px)!important}

/* Header and navigation */
.topbar{
  border-bottom-color:#202020!important;
  box-shadow:0 5px 20px rgba(0,0,0,.18);
}
.logo{
  transition:text-shadow 160ms var(--bm-ease),transform 160ms var(--bm-ease);
}
.logo:hover{text-shadow:0 0 18px rgba(215,25,32,.21)}
.menu-toggle{
  min-height:36px!important;
  padding:7px 10px!important;
  transition:background-color 150ms var(--bm-ease),color 150ms var(--bm-ease),border-color 150ms var(--bm-ease),transform 150ms var(--bm-ease)!important;
}
.menu-toggle:hover{background:#171200!important;color:#fff0a5!important}
.menu-toggle:active{transform:scale(.98)}
.dropdown{
  display:block!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-7px) scale(.985);
  transform-origin:top right;
  transition:opacity 145ms var(--bm-ease),transform 145ms var(--bm-ease),visibility 0s linear 145ms;
  box-shadow:0 16px 42px rgba(0,0,0,.55)!important;
  z-index:1000!important;
}
.dropdown.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
  transition-delay:0s;
}
.dropdown a{position:relative}
.dropdown a.current-section,
.dropdown a[aria-current="page"]{
  background:#231900!important;
  color:#fff4ad!important;
}
.dropdown a.current-section::after,
.dropdown a[aria-current="page"]::after{
  content:"CURRENT";
  float:right;
  margin-left:8px;
  color:#d8b400;
  font-size:.58rem;
  letter-spacing:.08em;
  line-height:1.8;
}

/* Shared cards and controls */
.card,.hub-card,.course-card,.resource-link,.quick-link,.type-chip,.view-tab,.menu-toggle,.back,.action-card,.practice-card,.topic-pager-link,.social-link{
  transition:transform 150ms var(--bm-ease),border-color 150ms var(--bm-ease),background-color 150ms var(--bm-ease),color 150ms var(--bm-ease),box-shadow 150ms var(--bm-ease),opacity 150ms var(--bm-ease),filter 150ms var(--bm-ease);
}
.card,.hub-card,.course-card,.action-card,.practice-card{
  border-radius:var(--bm-radius)!important;
}
.card:hover,.hub-card:hover,.course-card:hover,.resource-link:hover,.quick-link:hover,.action-card:hover,.practice-card:hover,.topic-pager-link:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(0,0,0,.30);
}
.card:active,.hub-card:active,.course-card:active,.resource-link:active,.quick-link:active,.action-card:active,.practice-card:active,.type-chip:active,.view-tab:active,.topic-pager-link:active{
  transform:translateY(0) scale(.985);
}
.card,.hub-card{padding:clamp(14px,2vw,18px)!important}
.resource-link,.quick-link,.type-chip,.view-tab,.menu-toggle,.social-link,button,select{
  min-height:42px;
}
select,input,textarea,button{font:inherit}

/* Resource icon system. Icons are text-safe, dependency-free, and consistent sitewide. */
[data-bm-resource]{gap:7px}
[data-bm-resource]::before{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.35em;
  height:1.35em;
  flex:0 0 1.35em;
  border-radius:4px;
  font-size:.82em;
  font-weight:950;
  line-height:1;
  border:1px solid currentColor;
  opacity:.95;
}
[data-bm-resource="video"]::before{content:"▶";padding-left:.08em}
[data-bm-resource="assignment"]::before{content:"▤"}
[data-bm-resource="answer-key"]::before{content:"✓"}
[data-bm-resource="practice"]::before{content:"✦"}
[data-bm-resource="frq"]::before{content:"Q"}
[data-bm-resource="scoring"]::before{content:"✓"}
[data-bm-resource="playlist"]::before{content:"▶";padding-left:.08em}
[data-bm-resource="external"]::before{content:"↗"}

/* Course-card helper copy */
.course-card-note{
  margin-top:9px;
  color:#b8b8b8;
  font-size:.76rem;
  font-weight:700;
  line-height:1.35;
  letter-spacing:.015em;
}
.course-card:hover .course-card-note{color:#ddd}

/* Landing-page context strip */
.bm-context-bar{
  max-width:760px;
  margin:0 auto 24px;
  padding:10px 13px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px 16px;
  flex-wrap:wrap;
  border:1px solid #242424;
  border-radius:var(--bm-radius);
  background:linear-gradient(180deg,#0d0d0d,#080808);
  color:#bdbdbd;
  font-size:.78rem;
  font-weight:750;
  text-align:center;
}
.bm-context-bar strong{color:var(--bm-yellow)}
.bm-context-bar.bm-context-compact{
  width:max-content;
  max-width:calc(100% - 32px);
  padding:8px 14px;
  margin-bottom:18px;
  border-radius:12px;
}
.bm-context-dot{color:#5f5f5f}

/* Clearly unfinished destinations */
.coming-soon-link{
  opacity:.45!important;
  filter:saturate(.35);
  border-color:#555!important;
  color:#a7a7a7!important;
  background:#080808!important;
  flex-direction:column!important;
  gap:5px!important;
  cursor:not-allowed!important;
  pointer-events:none!important;
  box-shadow:none!important;
}
.coming-soon-link:hover{
  opacity:.45!important;
  filter:saturate(.35);
  transform:none!important;
  border-color:#555!important;
  background:#080808!important;
}
.coming-soon-badge{
  display:block;
  color:#9a9a9a;
  font-size:.68rem;
  line-height:1.1;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-weight:900;
}
.coming-soon-badge::before{content:"○ ";color:#707070}

/* Footer / trust layer */
.footer{
  width:min(850px,calc(100% - 36px))!important;
  margin:clamp(48px,7vw,76px) auto 0!important;
  padding:18px 0 24px!important;
  border-top:1px solid var(--bm-red-dark)!important;
  text-align:center!important;
  color:var(--bm-yellow)!important;
  font-size:.78rem!important;
  line-height:1.55!important;
}
.bm-footer-main{font-weight:750}
.bm-footer-links{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:7px;
}
.bm-footer-links a{
  color:#d7bd45;
  text-decoration:none;
  font-weight:800;
}
.bm-footer-links a:hover{text-decoration:underline;text-underline-offset:3px}
.bm-legal-note{
  max-width:760px;
  margin:9px auto 0;
  color:#8f8f8f;
  font-size:.68rem;
  line-height:1.45;
  font-weight:500;
}

/* About page */
.about-shell{max-width:780px;margin:0 auto}
.about-lead{
  padding:clamp(17px,3vw,26px);
  border:1px solid #2b2b2b;
  border-radius:var(--bm-radius-lg);
  background:linear-gradient(180deg,#0d0d0d,#070707);
  box-shadow:var(--bm-shadow);
}
.about-lead p{margin:0;color:#d4d4d4}
.about-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.about-card{padding:18px;border:1px solid #292929;border-radius:var(--bm-radius);background:#080808}
.about-card h2{margin:0 0 9px;color:var(--bm-yellow);font-size:1.1rem}
.about-card p{margin:0;color:#c5c5c5;font-size:.9rem}
.about-links{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:20px}

/* Accessibility */
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{
  outline:3px solid rgba(245,196,0,.72)!important;
  outline-offset:3px!important;
}
.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.skip-link{
  position:fixed;
  left:12px;
  top:10px;
  z-index:5000;
  transform:translateY(-150%);
  padding:9px 12px;
  border-radius:7px;
  background:var(--bm-yellow);
  color:#080808;
  font-weight:900;
  text-decoration:none;
  transition:transform 120ms var(--bm-ease);
}
.skip-link:focus{transform:translateY(0)}

/* Micro-animation refinements */
.view-tab[aria-selected="true"]{box-shadow:inset 0 -2px 0 var(--bm-yellow)}
.type-chip.active{box-shadow:0 0 0 1px rgba(245,196,0,.22)}

@media(max-width:760px){
  .main{padding-bottom:42px!important}
  .card,.hub-card{padding:14px!important}
  .menu-toggle{
    display:block!important;
    width:76px!important;
    min-height:44px!important;
    padding:7px 7px!important;
    font-size:.65rem!important;
  }
  .dropdown{
    top:122px!important;
    right:0!important;
    width:min(210px,calc(100vw - 20px))!important;
  }
  .about-grid{grid-template-columns:1fr}
  .bm-context-bar{font-size:.74rem}
  a.resource-link,.quick-link,button,.type-chip,.view-tab,select{min-height:44px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
  .dropdown{transform:none!important}
  .card:hover,.hub-card:hover,.course-card:hover,.resource-link:hover,.quick-link:hover,.action-card:hover,.practice-card:hover,.topic-pager-link:hover{transform:none!important}
}


/* v10.3.4 accessibility + PWA action polish */
button.resource-link{
  appearance:none;
  -webkit-appearance:none;
  font:inherit;
  cursor:pointer;
}
.bm-pwa-actions{
  position:fixed;
  right:12px;
  bottom:12px;
  z-index:4200;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
  max-width:min(360px,calc(100vw - 24px));
  pointer-events:none;
}
.bm-pwa-action{
  display:none;
  min-height:44px;
  padding:9px 12px;
  border:1px solid #5d4c00;
  border-radius:10px;
  background:#0b0b0b;
  color:var(--bm-yellow);
  box-shadow:0 8px 22px rgba(0,0,0,.34);
  font-size:.78rem;
  font-weight:900;
  line-height:1.1;
  cursor:pointer;
  pointer-events:auto;
}
.bm-pwa-action.is-visible{display:inline-flex;align-items:center;justify-content:center}
.bm-pwa-action:hover{border-color:var(--bm-yellow);background:#111}
.bm-pwa-action.bm-update{border-color:var(--bm-red);color:#fff}
.bm-pwa-action.bm-update:hover{background:#1b090a}
@media(max-width:760px){
  .bm-pwa-actions{right:8px;bottom:8px;max-width:calc(100vw - 16px)}
  .bm-pwa-action{min-height:44px}
}


/* v10.6.3.E glossy interactive-practice launch buttons */
.bm-practice-launch-row{
  width:100%;
  justify-content:center!important;
  align-items:center;
  gap:16px!important;
}
a.bm-practice-launch{
  width:min(620px,100%);
  min-height:82px;
  display:flex!important;
  align-items:center;
  justify-content:flex-start;
  gap:0!important;
  padding:0 24px 0 18px!important;
  border:3px solid #f5c400!important;
  border-radius:999px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,.06) 18%,rgba(255,255,255,0) 36%),
    linear-gradient(180deg,#ff252d 0%,#d71920 42%,#9b060b 100%)!important;
  color:#ffda2e!important;
  text-decoration:none!important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.70),
    inset 0 -9px 18px rgba(70,0,0,.42),
    0 0 0 1px rgba(255,218,46,.16),
    0 8px 22px rgba(0,0,0,.46)!important;
  overflow:hidden;
  font-weight:950!important;
  line-height:1.05;
  letter-spacing:.005em;
  text-shadow:0 2px 2px rgba(75,0,0,.62);
}
a.bm-practice-launch::before{display:none!important;content:none!important}
a.bm-practice-launch:hover{
  transform:translateY(-2px) scale(1.008)!important;
  border-color:#ffe14a!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.42) 0%,rgba(255,255,255,.08) 20%,rgba(255,255,255,0) 38%),
    linear-gradient(180deg,#ff343b 0%,#e51b23 42%,#a9070d 100%)!important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.78),
    inset 0 -9px 18px rgba(70,0,0,.38),
    0 0 18px rgba(245,196,0,.28),
    0 12px 28px rgba(0,0,0,.48)!important;
}
a.bm-practice-launch:focus-visible{
  outline:3px solid #fff!important;
  outline-offset:4px!important;
}
a.bm-practice-launch:active{transform:translateY(0) scale(.992)!important}
.bm-practice-icon{
  width:104px;
  min-width:104px;
  min-height:64px;
  padding-right:18px;
  margin-right:20px;
  border-right:2px solid rgba(255,218,46,.88);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ffda2e;
  font-family:Georgia,'Times New Roman',serif;
  font-style:italic;
  font-weight:700;
  text-align:center;
  text-shadow:0 2px 2px rgba(75,0,0,.66);
}
.bm-practice-icon-limit{flex-direction:column;font-style:normal;line-height:.82}
.bm-practice-icon-limit .bm-limit-main{font-size:2.05rem;font-family:Georgia,'Times New Roman',serif}
.bm-practice-icon-limit .bm-limit-sub{font-size:1.05rem;font-family:Georgia,'Times New Roman',serif;font-style:italic;margin-top:6px;white-space:nowrap}
.bm-practice-icon-derivative{font-size:1.55rem;font-style:italic;flex-direction:column;line-height:.88}
.bm-practice-icon-derivative .bm-deriv-num{border-bottom:2px solid currentColor;padding:0 .25em .07em}
.bm-practice-icon-derivative .bm-deriv-den{padding-top:.08em}
.bm-practice-icon-integral{font-size:3.55rem;font-weight:400;line-height:1}
.bm-practice-icon-function{font-size:2rem;white-space:nowrap}
.bm-practice-label{
  flex:1 1 auto;
  text-align:left;
  font-size:clamp(1rem,2.2vw,1.34rem);
  white-space:nowrap;
}
.bm-practice-arrow{
  flex:0 0 auto;
  margin-left:18px;
  font-family:Arial,Helvetica,sans-serif;
  font-size:2.65rem;
  font-weight:900;
  line-height:1;
  transform:translateY(-1px);
}
@media(max-width:620px){
  a.bm-practice-launch{min-height:70px;padding:0 16px 0 12px!important}
  .bm-practice-icon{width:78px;min-width:78px;min-height:54px;padding-right:12px;margin-right:13px}
  .bm-practice-icon-limit .bm-limit-main{font-size:1.62rem}
  .bm-practice-icon-limit .bm-limit-sub{font-size:.82rem;margin-top:5px}
  .bm-practice-icon-derivative{font-size:1.25rem}
  .bm-practice-icon-integral{font-size:2.85rem}
  .bm-practice-icon-function{font-size:1.55rem}
  .bm-practice-label{font-size:.93rem;white-space:normal}
  .bm-practice-arrow{font-size:2.1rem;margin-left:10px}
}


/* v10.6.3.E topic resource polish */
.resource-section .resource-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.resource-section .resource-link:not(.bm-practice-launch),
.resource-section button.resource-link:not(.bm-practice-launch){
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:8px 14px!important;
  border:2px solid #f5c400!important;
  border-radius:999px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.28) 0%,rgba(255,255,255,.06) 20%,rgba(255,255,255,0) 38%),
    linear-gradient(180deg,#ff252d 0%,#d71920 42%,#9b060b 100%)!important;
  color:#ffda2e!important;
  font-weight:900!important;
  text-decoration:none!important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.62),
    inset 0 -8px 14px rgba(70,0,0,.34),
    0 6px 16px rgba(0,0,0,.34)!important;
}
.resource-section .resource-link.key:not(.bm-practice-launch){
  border-color:#f1c232!important;
  color:#ffea86!important;
}
.resource-section .resource-link.coming-soon,
.resource-section button.resource-link.coming-soon{
  background:
    linear-gradient(180deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.03) 20%,rgba(255,255,255,0) 38%),
    linear-gradient(180deg,#4c4c4c 0%,#2d2d2d 45%,#1b1b1b 100%)!important;
  border-color:#7d7d7d!important;
  color:#d7d7d7!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.22), inset 0 -8px 14px rgba(0,0,0,.24), 0 6px 16px rgba(0,0,0,.28)!important;
}
.resource-section .resource-link:not(.bm-practice-launch):hover,
.resource-section button.resource-link:not(.bm-practice-launch):hover{
  transform:translateY(-2px) scale(1.01)!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.72), inset 0 -8px 14px rgba(70,0,0,.30), 0 0 16px rgba(245,196,0,.20), 0 10px 20px rgba(0,0,0,.36)!important;
}
.resource-section[data-bm-topic-practice="1"]{margin-top:34px}
.resource-section[data-bm-topic-practice="1"] h2{display:none!important}
.bm-practice-launch-row{flex-direction:column}
.bm-practice-launch-row .bm-practice-launch{max-width:min(760px,100%)}
.bm-practice-icon-limit .bm-limit-sub{
  font-family:Arial,Helvetica,sans-serif;
  font-style:normal;
  font-weight:900;
  font-variant-numeric:slashed-zero;
  letter-spacing:.01em;
}
.bm-practice-icon-derivative2{font-size:1.42rem;font-style:italic;flex-direction:column;line-height:.84}
.bm-practice-icon-derivative2 .bm-deriv-num{border-bottom:2px solid currentColor;padding:0 .14em .07em;white-space:nowrap}
.bm-practice-icon-derivative2 .bm-deriv-den{padding-top:.10em;white-space:nowrap}
.bm-practice-icon-integral2{font-size:3.15rem;font-weight:400;line-height:1}
@media(max-width:620px){
  .resource-section .resource-link:not(.bm-practice-launch),
  .resource-section button.resource-link:not(.bm-practice-launch){padding:7px 12px!important;font-size:.9rem}
  .bm-practice-icon-derivative2{font-size:1.12rem}
  .bm-practice-icon-integral2{font-size:2.45rem}
}


/* v10.6.3.F resource/video polish */
/* Slightly more compact topic-specific practice CTAs. */
a.bm-practice-launch{
  width:min(600px,100%)!important;
  min-height:76px!important;
  padding:0 21px 0 16px!important;
}
.bm-practice-icon{
  width:96px!important;
  min-width:96px!important;
  min-height:58px!important;
  padding-right:16px!important;
  margin-right:17px!important;
}
.bm-practice-label{font-size:clamp(.98rem,2vw,1.27rem)!important}
.bm-practice-arrow{font-size:2.45rem!important;margin-left:16px!important}

/* More integrated, polished embedded-video window. */
body .video-grid{
  max-width:780px!important;
  margin:14px auto 34px!important;
  gap:22px!important;
}
body .video-item{
  border:0!important;
  background:transparent!important;
  padding:0!important;
}
body .video-embed,
body .hw-video-frame{
  position:relative!important;
  overflow:hidden!important;
  border:2px solid #f5c400!important;
  border-radius:18px!important;
  background:#020202!important;
  box-shadow:
    inset 0 0 0 1px rgba(215,25,32,.82),
    inset 0 2px 0 rgba(255,255,255,.10),
    0 0 0 1px rgba(245,196,0,.12),
    0 12px 32px rgba(0,0,0,.48),
    0 0 24px rgba(245,196,0,.12)!important;
}
body .video-embed{aspect-ratio:16/9!important}
body .video-embed iframe,
body .hw-video-frame iframe{
  display:block!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
}
body .video-cover{
  border-radius:16px!important;
  overflow:hidden!important;
  background:#000!important;
}
body .video-cover::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.08) 0%,rgba(255,255,255,0) 22%,rgba(0,0,0,0) 72%,rgba(0,0,0,.18) 100%);
  box-shadow:inset 0 0 0 1px rgba(215,25,32,.22);
  z-index:2;
}
body .video-thumb{transition:transform 220ms ease,filter 220ms ease!important}
body .video-cover:hover .video-thumb{transform:scale(1.012);filter:brightness(1.04)}
body .video-play{z-index:3!important}
body .video-play::before{
  width:78px!important;
  height:54px!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#ff3138 0%,#d71920 55%,#a8070d 100%)!important;
  border:2px solid #f5c400!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.48),0 0 18px rgba(245,196,0,.24),0 7px 18px rgba(0,0,0,.46)!important;
}
body .video-play::after{z-index:4!important}

@media(max-width:620px){
  a.bm-practice-launch{min-height:66px!important;padding:0 14px 0 11px!important}
  .bm-practice-icon{width:72px!important;min-width:72px!important;min-height:50px!important;padding-right:10px!important;margin-right:11px!important}
  .bm-practice-label{font-size:.9rem!important}
  .bm-practice-arrow{font-size:2rem!important;margin-left:9px!important}
  body .video-embed,body .hw-video-frame{border-radius:14px!important}
  body .video-cover{border-radius:12px!important}
}


/* v10.6.3.H practice-label fitting */
a.bm-practice-launch{min-height:72px!important;padding:9px 19px 9px 15px!important;}
.bm-practice-label{min-width:0!important;font-size:clamp(.88rem,1.7vw,1.12rem)!important;line-height:1.14!important;white-space:normal!important;text-wrap:balance;overflow-wrap:normal;word-break:normal;}
.bm-practice-arrow{margin-left:12px!important;}
@media(max-width:620px){a.bm-practice-launch{min-height:68px!important;padding:8px 14px 8px 11px!important}.bm-practice-label{font-size:.86rem!important;line-height:1.12!important}}

/* v10.6.3.M: keep video frames aligned when titles wrap to different line counts. */
.video-grid.multi .video-item{display:flex;flex-direction:column}
.video-grid.multi .video-embed{margin-top:auto}
/* Practice prose uses the same calm sans-serif treatment as topic descriptions.
   Scope this to problem prompts and answer choices; MathJax owns math glyphs. */
html body .practice-shell .question-prompt,
html body .practice-shell .prompt,
html body .practice-shell .question.word,
html body .practice-shell .problem-text{
  font-weight:400;
  line-height:1.68;
  letter-spacing:.002em;
}
html body .practice-shell .choice,
html body .practice-shell .choice-btn,
html body .practice-shell .answer-choice{
  font-family:inherit;
  font-weight:500;
  line-height:1.55;
  letter-spacing:.002em;
}
