/* Compact Self Study tools: nestled in the existing question metadata bar. */
.meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}
#mdnaHighlightTools{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:nowrap;margin:0 0 0 auto;font-size:11px;line-height:1.15;min-width:0}
#mdnaHighlightTools button{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-height:27px;padding:5px 7px;font-size:11px;font-weight:750;border:1px solid var(--line,#c6d0d4);border-radius:7px;background:var(--panel,#fff);color:var(--panelText,#172b35);white-space:nowrap;cursor:pointer}
#mdnaHighlightButton{border-color:#d1a64e!important;background:#fff6dc!important;color:#604411!important}
#mdnaHighlightButton.active{background:#ffe082!important;border-color:#ad7f21!important;color:#51390d!important;box-shadow:0 0 0 2px #ffdf7160}
#mdnaBookmarkButton.active{color:#a66c00!important;border-color:#c9a251!important;background:#fff6d8!important}
#mdnaTimerButton.active{background:var(--accent,#557d69)!important;color:white!important;border-color:transparent!important}
.mdnaHighlightHint{display:none!important}
#stem,#choices .mdnaHighlightChoiceText,#choices .choice{-webkit-user-select:text;user-select:text}
mark.mdnaHighlight{background:#ffe05c!important;color:#2b220c!important;border-radius:2px;box-shadow:inset 0 -1px rgba(140,101,18,.24);-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:0!important}
@media(max-width:650px){.meta{gap:4px 5px!important}#mdnaHighlightTools{gap:3px!important}#mdnaHighlightTools button{font-size:10px!important;padding:5px!important;min-height:26px}}
@media(max-width:390px){#mdnaHighlightTools{width:100%;justify-content:flex-start;margin-left:0}}
/* Tiny bookmark status indicator on the existing question tile (not an extra tile). */
.questionNav .mdnaBookmarkBadge{position:absolute;top:0px;right:2px;font-size:9px;line-height:1;color:#ffd469;pointer-events:none;text-shadow:0 1px 2px #29232a}
.questionNav .qnum{position:relative}
#figures img,#stem img,#choices img{cursor:zoom-in}
.mdnaZoomOverlay[hidden]{display:none!important}
.mdnaZoomOverlay{position:fixed;inset:0;z-index:12000;background:rgba(7,13,25,.93);display:flex;align-items:center;justify-content:center;padding:45px 18px 18px;cursor:zoom-out}
.mdnaZoomOverlay img{max-width:calc(100vw - 36px);max-height:calc(100dvh - 70px);object-fit:contain;box-shadow:0 8px 24px rgba(0,0,0,.4)}
.mdnaZoomClose{position:absolute;top:9px;right:12px;color:#fff;background:#293746;border:1px solid #6d8194;border-radius:8px;cursor:pointer;padding:6px 12px;font-size:16px;font-weight:700}

/* v10.13: icon-only decoration, labels remain accessible and legible. */
.mdnaIcon{display:inline-block;flex:none;width:14px;height:14px;vertical-align:-3px;stroke:currentColor}
#mdnaHighlightTools button{gap:5px!important;min-height:30px!important;border-radius:8px!important;letter-spacing:.005em!important}
#mdnaHighlightTools button .mdnaToolLabel{white-space:nowrap}
#mdnaSoundBtn{background:var(--panel,#fff)!important;color:var(--panelText,#172b35)!important;border:1px solid var(--line,#c6d0d4)!important}
#mdnaSoundBtn.active{background:var(--accent,#446f7b)!important;color:#fff!important;border-color:transparent!important}
@media(max-width:650px){.mdnaIcon{width:13px;height:13px}#mdnaHighlightTools{max-width:100%;flex-wrap:wrap}#mdnaHighlightTools button{min-height:27px!important}}
@media(max-width:420px){#mdnaHighlightTools{width:100%;justify-content:space-evenly;margin-left:0}#mdnaHighlightTools button{flex:1;padding-inline:4px!important;font-size:10px!important}}
