/* FLEET MAP CARD — HOS + DAT sections (Ed 2026-10-03 via 3b; src/truckBoard/075e). The slide-out (#fmap-card) is dark in
 * every theme: it pins its own light-on-dark inks (dashboard.html .emr-fmap-card: --text --muted --ink-ok --ink-gold
 * --ink-info). These sections read only those, plus one scoped red the card does not pin (--fmap-ink-bad, light enough
 * for the darkest and the lightest card surface). Skin B: square corners, gold only as a marker. */
.emr-fmap-card { --fmap-ink-bad: #fca5a5; }

/* HOS: three clocks in a row, the duty status + the clock's age in the section header. */
.emr-fmap-hos .emr-fmap-card-section-hdr { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.emr-fmap-hos-duty { font-size: 9px; font-weight: 800; letter-spacing: .6px; color: var(--text); text-transform: uppercase; }
.emr-fmap-hos-age { margin-left: auto; font-size: 9px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.emr-fmap-hos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.emr-fmap-hos-tile { display: grid; gap: 1px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 0; background: var(--emr-card-bg); }
.emr-fmap-hos-tile span { font-size: 9px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.emr-fmap-hos-tile b { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--text); }
.emr-fmap-hos-tile.is-ok b { color: var(--ink-ok); }
.emr-fmap-hos-tile.is-warn b { color: var(--ink-gold); }
.emr-fmap-hos-tile.is-low b { color: var(--fmap-ink-bad); }
.emr-fmap-hos-tile.is-low { box-shadow: inset 3px 0 0 var(--fmap-ink-bad); }
.emr-fmap-hos-none { font-size: 11px; color: var(--muted); }

/* DAT: state line, meta line, in-place actions and confirmation, the outcome line. */
.emr-fmap-dat-state { font-size: 12px; color: var(--text); margin-bottom: 2px; }
.emr-fmap-dat-state.is-on b { color: var(--ink-ok); }
.emr-fmap-dat-state.is-muted { color: var(--muted); }
.emr-fmap-dat-state.is-bad { color: var(--fmap-ink-bad); }
.emr-fmap-dat-meta { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.emr-fmap-card .emr-fmap-dat-actions { margin-top: 6px; padding: 0; border: 0; }
.emr-fmap-card .emr-fmap-dat-btn { border-radius: 0; min-height: 36px; }
.emr-fmap-card .emr-fmap-dat-btn.is-danger { border-color: var(--fmap-ink-bad); color: var(--fmap-ink-bad); }
.emr-fmap-card .emr-fmap-dat-btn:disabled { opacity: .55; cursor: default; }
.emr-fmap-dat-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--text); }
.emr-fmap-dat-confirm > span { flex-basis: 100%; font-weight: 700; }
.emr-fmap-dat-msg { margin-top: 6px; font-size: 11px; font-weight: 700; }
.emr-fmap-dat-msg.is-ok { color: var(--ink-ok); }
.emr-fmap-dat-msg.is-bad { color: var(--fmap-ink-bad); }
