/* t22-pressroute (js\v21_adminpress.js): the admin team's badge on a card and the open job, and tomorrow's reminders
   not gone at the top of the board. The page's own tokens only (as styles\v21_nostop.css). */

.adp-head { margin: 0 0 .375rem; display: flex; gap: .375rem; align-items: center; }
.adp-head-job { margin: .375rem 0 0; }
.adp-badge {
  display: inline-block; padding: 0 .5rem; border-radius: 999px;
  font-size: .8125rem; line-height: 1.25rem; font-weight: 700; color: var(--ink);
  background: color-mix(in srgb, var(--brand) 16%, var(--solid)); box-shadow: inset 0 0 0 1.5px var(--brand);
}
.adp-head.is-late .adp-badge { color: var(--solid); background: var(--danger); box-shadow: none; }

/* ---------- the board head ---------- */
.adp-top { display: flex; flex-direction: column; gap: .25rem; width: 100%; margin: 0 0 .5rem; }
.adp-line {
  margin: 0; display: flex; gap: .5rem; align-items: center; justify-content: space-between;
  padding: .375rem .625rem; border-radius: .5rem; font-weight: 700; color: var(--solid); background: var(--danger);
}
.adp-line .adp-open { color: inherit; text-decoration: underline; padding: 0 .25rem; min-height: 0; }
@media (max-width: 600px) { .adp-line { flex-wrap: wrap; } }

:root[data-theme="high_contrast"] .adp-badge { background: #FFFFFF; color: #000000; box-shadow: inset 0 0 0 2px #000000; }
:root[data-theme="high_contrast"] .adp-head.is-late .adp-badge,
:root[data-theme="high_contrast"] .adp-line { background: #000000; color: #FFFFFF; }
/* rel76 prep (optional): on a board card the badge row is a row of its own across the card's grid (the .card grid is
   40px | text | side), not squeezed into the 40px icon column. */
.card > .adp-head { grid-column: 1 / -1; justify-self: start; margin: 0; }
