/* Light reading surface inside the existing Duxville visual identity. */
#dv-vocab{background:#f7f5ef;border:1px solid #ddd9ce;border-radius:24px;margin:28px auto 60px;color:#173451;box-shadow:0 16px 42px rgba(0,0,0,.15)}
#dv-vocab .dv-settings,#dv-vocab .dv-audio-tools,#dv-vocab .dv-settings-panel{grid-column:1;min-width:0}
#dv-vocab .dv-settings-panel>summary{min-height:44px;padding:11px 14px;background:#fff;border:1px solid #d8dfe6;border-radius:12px;color:#173451;font-size:.9rem;font-weight:700;cursor:pointer}
#dv-vocab .dv-settings-panel[open]>summary{margin-bottom:10px}
#dv-vocab .dv-settings-panel>summary:focus-visible{outline:3px solid #17628c;outline-offset:3px}
#dv-vocab .dv-settings{display:flex;flex-wrap:wrap;gap:12px 20px;padding:16px;background:#fff;border:1px solid #d8dfe6;border-radius:14px;color:#173451}
#dv-vocab .dv-setting{display:flex;align-items:center;gap:9px;min-height:32px;line-height:1.5;font-size:.9rem;color:#173451}
#dv-vocab .dv-setting input[type=checkbox]{flex:none;min-width:20px;min-height:20px;width:20px;height:20px;margin:0;accent-color:#173451}
#dv-vocab .dv-setting select{min-width:125px;width:auto;min-height:44px;font-size:.9rem;padding:8px 10px}
#dv-vocab .dv-audio-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0 5px}
#dv-vocab .dv-audio-tools .dv-speak{margin-top:0;min-height:44px}
#dv-vocab .dv-audio-status{flex-basis:100%;margin:0;min-height:1.5em;font-size:.9rem;color:#173451;overflow-wrap:anywhere}
#dv-vocab .dv-local-note{font-size:.8rem;line-height:1.5;color:#45576b;max-width:44ch}
#dv-vocab .dv-muted,#dv-vocab .dv-tip,#dv-vocab .dv-source-note{color:#45576b}
#dv-vocab .dv-cats{grid-row:2 / span 6;background:#efede6;max-height:calc(100vh - 60px);scrollbar-gutter:stable}
#dv-vocab .dv-card{min-width:0;overflow-wrap:anywhere}
#dv-vocab .dv-card .dv-french{color:#173451;margin:0 0 10px;line-height:1.5}
#dv-vocab .dv-card .dv-hindi{color:#3e5066;margin:8px 0;line-height:1.7}
#dv-vocab .dv-card .dv-eng{color:#45576b;margin:8px 0;line-height:1.6}
#dv-vocab .dv-card-actions{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;margin-top:12px}
#dv-vocab .dv-card-actions .dv-speak{margin-top:0}
#dv-vocab .dv-speak,#dv-vocab .dv-favourite,#dv-vocab .dv-reveal{min-height:44px;white-space:normal;line-height:1.4}
#dv-vocab .dv-favourite,#dv-vocab .dv-reveal{padding:8px 12px;border:1px solid #bcc7d2;border-radius:12px;background:#fff;color:#173451;cursor:pointer;font:inherit;font-size:.86rem}
#dv-vocab .dv-favourite[aria-pressed=true]{background:#173451;color:#fff;border-color:#173451}
#dv-vocab .dv-source-note{font-size:.76rem;line-height:1.5;margin:11px 0 0}
#dv-vocab.dv-hide-hindi .dv-hindi{display:none!important}
#dv-vocab .dv-translation[hidden]{display:none!important}
#dv-vocab .dv-flashcard{max-width:700px;margin:10px auto 20px;padding:30px}
#dv-vocab .dv-flashcard .dv-french{font-size:1.55rem}
#dv-vocab .dv-flash-progress{color:#173451;line-height:1.6}
#dv-vocab .dv-flash-controls{display:flex;gap:12px;justify-content:space-between;max-width:700px;margin:auto}
#dv-vocab .dv-mobile-topics{display:none}
#dv-vocab button:disabled{opacity:1;color:#596675;background:#e8ebed;cursor:not-allowed;box-shadow:none}
#dv-vocab :is(button,input,select):focus-visible{outline:3px solid #17628c;outline-offset:3px}
#dv-vocab .dv-section>h3{color:#243f60!important;border-bottom-color:#ccd4df}
#dv-vocab .dv-head h2{color:#173451!important}
@media(max-width:720px){
 #dv-vocab{grid-template-columns:minmax(0,1fr);padding:20px 14px 45px;margin:16px 8px 35px;border-radius:18px}
 #dv-vocab .dv-cats{display:none;grid-row:auto}
 #dv-vocab .dv-mobile-topics{display:flex;flex-direction:column;gap:7px;color:#173451;font-weight:600;flex-basis:100%;width:100%}
 #dv-vocab .dv-mobile-topics select{width:100%;max-width:100%;min-width:0;margin:0}
 #dv-vocab .dv-settings{gap:14px;width:100%}
 #dv-vocab .dv-setting{width:100%;justify-content:flex-start}
 #dv-vocab .dv-setting select{flex:1;min-width:0}
 #dv-vocab .dv-controls input,#dv-vocab .dv-controls>select{width:100%;min-width:0}
 #dv-vocab .dv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #dv-vocab .dv-top{padding:25px 20px}
}
@media(max-width:460px){#dv-vocab .dv-grid{grid-template-columns:minmax(0,1fr)}#dv-vocab .dv-flashcard{padding:20px}}
@media(prefers-reduced-motion:reduce){#dv-vocab *,#dv-vocab *::before,#dv-vocab *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
