/* Text inks are separate from the decorative category, map and portrait hues. */
:root{--warm-ink:#785629;--category-ink-strength:65%;--venue-ink-strength:65%;--muted:#5c6557;--red:#994b38}
:root[data-theme="dark"]{--warm-ink:var(--gold);--category-ink-strength:60%;--venue-ink-strength:65%}

/* Completed and missed quizzes remain readable and selectable. */
:root[data-theme] :is(.time-event.finished,.time-event.skipped){opacity:1}

/* Warm tints can decorate the map and bars without becoming the text ink. */
:root[data-theme] .category.focus{color:color-mix(in srgb,var(--category-color) var(--category-ink-strength),var(--ink))}
:root:not([data-theme="dark"]) .map-pin>span{color:color-mix(in srgb,var(--venue-color) var(--venue-ink-strength),var(--ink))}
:root[data-theme] .map-pin.selected>span{color:#17241d}

:root:not([data-theme="dark"]) :is(
  .board-nav button span,.city-stamp,.night-note,.time-event:not(.active) small,
  .seat.empty b,.dispatch-copy .eyebrow,.dispatch-copy small,.empty-log,footer,
  .file-button,.modal .eyebrow,.help-steps span,.help-economy,.incident-location,
  .choice-grid small,.score-math span,.score-math small,.log-list time,
  .report-next>span,.final-page>p,.week-history>div
){color:var(--muted)}
:root:not([data-theme="dark"]) :is(.modal blockquote,.help-steps>div>b,.choice-number,.fatigue-summary small){color:var(--warm-ink)}
:root:not([data-theme="dark"]) :is(.booking-tags span,.quirk-box .eyebrow){color:#49644d}
:root:not([data-theme="dark"]) .file-button:hover{color:var(--green)}
:root:not([data-theme="dark"]) .availability-note{color:var(--red)}
/* A remove action retains its strong surface when hovered. */
:root:not([data-theme="dark"]) .assign-button.remove:hover:not(:disabled){background:#295a45}

@media(forced-colors:active){
  :root[data-theme] .map-pin.selected>span{color:HighlightText}
}
