#question-types {
  background: var(--soft); color: var(--ink); border-top: 1px solid var(--line);
  padding: clamp(56px,7vw,102px) 0; scroll-margin-top: 85px;
}
.drill-wrap { width: min(1160px,calc(100% - 64px)); margin: auto; }
.drill-head { max-width: 840px; margin: 0 auto 36px; text-align: center; }
.drill-kicker { color: var(--red); font-size: .84rem; font-weight: 680; text-transform: uppercase; letter-spacing: .085em; margin: 0 0 14px; }
.drill-head h2 { font-size: clamp(2.6rem,5.7vw,5rem); line-height: 1.04; letter-spacing: -.06em; font-weight: 580; margin: 0; }
.drill-head h2 em,.drill-gloss h3 em { display: block; color: var(--red); font-family: Georgia,serif; font-weight: 400; }
.drill-head > p:last-child { color: var(--muted); line-height: 1.65; max-width: 70ch; margin: 20px auto 0; }
.drill-spread { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: clamp(16px,2.3vw,32px); align-items: start; }
.drill-library { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: clip; scroll-margin-top: 96px; }
.drill-tabs { display: flex; padding: 6px 14px 0; border-bottom: 1px solid var(--line); gap: 4px; }
.drill-tabs button { color: var(--muted); flex: 1; padding: 12px 6px; min-height: 48px; border-bottom: 3px solid transparent; font-size: .95rem; font-weight: 620; }
.drill-tabs button[aria-selected=true] { color: var(--red); border-color: currentColor; }
.drill-tabs button:focus-visible { outline-offset: -4px; }
.drill-panels { padding: clamp(18px,2.4vw,34px); }
.drill-panels h3,.drill-gloss h3 { font-size: clamp(1.7rem,2.75vw,2.6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.12; margin: 0 0 10px; }
.drill-panels p { color: var(--muted); margin: 0 0 18px; }
.drill-tasks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.drill-tasks button { display: grid; text-align: start; align-content: start; gap: 12px; border: 1px solid var(--line); background: var(--canvas); border-radius: 10px; padding: 15px; min-height: 112px; font-weight: 625; line-height: 1.32; }
.drill-tasks button:hover { border-color: var(--red); background: var(--soft); }
.drill-tasks svg { color: var(--red); }
.drill-gloss { padding: clamp(20px,2.5vw,34px); border-radius: 18px; background: #35212c; color: #fff8ef; }
.drill-gloss .drill-kicker { color: #ffc4b8; display: flex; align-items: center; gap: 8px; }
.drill-gloss h3 em { color: #ffb6aa; }
.drill-gloss > p:not(.drill-kicker) { color: #e8dadd; margin: 12px 0 20px; }
.drill-excerpt { background: #fff6e7; border-radius: 5px 12px 12px 5px; border-left: 4px solid #cb9b78; padding: 17px 20px; color: #352923; }
.excerpt-title { font-size: .9rem; font-weight: 630; color: #694e42; }
.drill-excerpt > p { font: 1.22rem/1.6 Georgia,serif; margin: 8px 0 0; }
#gloss-word { padding: 0 2px; background: #e9c798; color: #33261a; text-decoration: underline dotted; text-underline-offset: 4px; }
#gloss-meaning { margin-top: 14px; border-top: 1px solid #d6bd9f; padding-top: 12px; }
#gloss-meaning p { margin: 3px 0 0; }
#drill-choose { color: #fff3ec; display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; text-decoration: underline; text-underline-offset: 4px; font-weight: 610; }
#drill-dialog { width: min(620px,calc(100% - 28px)); padding: clamp(20px,3.5vw,36px); max-height: 88dvh; }
.drill-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.drill-modal-head h2 { margin: 0; font-size: clamp(1.55rem,3vw,2.1rem); line-height: 1.2; }
#drill-close { min-width: 40px; height: 40px; font-size: 1.7rem; line-height: 1; border: 1px solid var(--line); border-radius: 8px; }
#drill-activity blockquote { font: 1.13rem/1.65 Georgia,serif; margin: 20px 0; padding: 14px 16px; border-inline-start: 3px solid var(--red); background: var(--soft); }
#drill-activity audio { width: 100%; margin: 10px 0 0; }
#drill-activity fieldset { border: 0; padding: 0; margin: 18px 0; min-width: 0; }
#drill-activity legend,#drill-activity label:has(textarea) { font-weight: 650; margin-bottom: 9px; }
.drill-option { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; margin-top: 5px; cursor: pointer; }
.drill-option input { accent-color: var(--red); }
#drill-activity textarea { display: block; width: 100%; font: inherit; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: 6px; margin: 6px 0 14px; padding: 8px; }
.drill-check { min-height: 44px; padding: 8px 16px; border-radius: 8px; font-weight: 650; color: var(--paper); background: var(--ink); }
#drill-activity [role=status]:not(:empty) { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; line-height: 1.55; color: var(--ink); }
html[lang=bn] :is(.drill-head h2,.drill-gloss h3,.drill-panels h3) { line-height: 1.3; letter-spacing: normal; }
html[lang=bn] :is(.drill-head h2,.drill-gloss h3) em { font: inherit; }
html[lang=bn] .drill-kicker { letter-spacing: normal; }
@media(max-width:820px) { .drill-spread { grid-template-columns: minmax(0,1fr); } .drill-wrap { width: calc(100% - 36px); } }
@media(max-width:460px) { .drill-wrap { width: calc(100% - 28px); } .drill-tabs { padding: 3px 4px 0; gap: 1px; } .drill-tabs button { padding: 9px 4px; font-size: .86rem; } .drill-tasks button { padding: 12px; } .drill-head { margin-bottom: 24px; } }
