/* Native selection and saved marks use the same chosen palette. */
#app :is(.question,.flash-card,.explanation,.review-body)::selection,
#app :is(.question,.flash-card,.explanation,.review-body) *::selection{background:var(--study-highlight-color,#fff2a9);color:var(--study-highlight-ink,#171717)}
#app :is(.question-text-highlight,.medireto-flash-mark,.medireto-explanation-mark,.medireto-pvp-mark){background:var(--study-highlight-color,#fff2a9)!important;color:var(--study-highlight-ink,#171717)!important;padding:0;border-radius:0;box-decoration-break:clone;-webkit-box-decoration-break:clone}
::highlight(medireto-flash){background:var(--study-highlight-color,#fff2a9);color:var(--study-highlight-ink,#171717)}
::highlight(medireto-explanation){background:var(--study-highlight-color,#fff2a9);color:var(--study-highlight-ink,#171717)}
::highlight(medireto-pvp){background:var(--study-highlight-color,#fff2a9);color:var(--study-highlight-ink,#171717)}
.flash-history-controls{display:flex;align-items:center;gap:8px;margin:10px 0;min-width:0}
.flash-history-controls button{font:600 14px/1.3 system-ui;min-height:44px;padding:9px 13px;border:1px solid var(--line,#d8e1e7);border-radius:10px;background:var(--card,#fff);color:inherit;cursor:pointer}
.flash-history-controls button:disabled{opacity:.45;cursor:default}
.flash-history-controls kbd{font:11px system-ui;margin-left:6px;opacity:.65}
.flash-history-controls [role=status]{font:12px/1.4 system-ui;min-width:0}
@media(pointer:coarse){.flash-history-controls kbd{display:none}}
