/* Shared QOTD controls inherit the surrounding page's light/dark palette. */
.bw-qotd-tracks{box-sizing:border-box;grid-column:1/-1;min-width:0;width:100%;margin:16px 0;padding:0;border:0;color:inherit;font-family:inherit}
.bw-qotd-tracks legend{padding:0;font-family:inherit;font-size:1rem;font-weight:700;line-height:1.45;white-space:normal;max-width:100%}
.bw-qotd-tracks .bw-qotd-track-note{margin:6px 0 12px;color:inherit;font-family:inherit;font-size:.875rem;font-weight:400;line-height:1.5}
.bw-qotd-tracks .bw-qotd-track-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bw-qotd-tracks .bw-qotd-track-option{display:flex;align-items:center;gap:10px;min-height:46px;box-sizing:border-box;margin:0;padding:10px;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;cursor:pointer;font-family:inherit;font-size:.9375rem;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.bw-qotd-tracks .bw-qotd-track-option:last-child{grid-column:1/-1}
.bw-qotd-tracks .bw-qotd-track-option input[type="checkbox"]{appearance:auto;position:static;display:block;flex:0 0 20px;width:20px;height:20px;min-height:20px;margin:0;padding:0;opacity:1;clip:auto;accent-color:auto}
.bw-qotd-tracks .bw-qotd-track-option:focus-within{outline:2px solid currentColor;outline-offset:3px}
.bw-qotd-tracks .bw-qotd-track-option:has(input:checked){border-width:2px;padding:9px}
[data-qotd-form] [data-qotd-fields][hidden],#freeLeadTracks[hidden]{display:none!important}
#freeLeadTracks{grid-column:1/-1;color:inherit}
/* Native fieldset/input intrinsic sizes must not widen the original QOTD card
   when the student enlarges text. Keep its existing editorial presentation. */
.qotd-builder>*{min-width:0}
.qotd-form-card form,.qotd-form-card [data-qotd-fields],.qotd-form-card .track-fieldset{min-width:0;min-inline-size:0;max-width:100%}
.qotd-form-card .acq-input{box-sizing:border-box;min-width:0;width:100%}
.qotd-form-card .track-option,.qotd-form-card .track-option span{min-width:0;overflow-wrap:anywhere}
@media(max-width:380px){.bw-qotd-tracks .bw-qotd-track-grid{grid-template-columns:1fr}}
@media(forced-colors:active){.bw-qotd-tracks .bw-qotd-track-option{border-color:ButtonText}.bw-qotd-tracks .bw-qotd-track-option:focus-within{outline-color:Highlight}}
