/* Agent card (/agent-card/): business card 85 × 55 mm and A6, on screen and in print. Brand green #047857,
   deep #064E3B, mint #BBF7D0, cream #FEFCE8. Black-and-white printers keep everything readable. */
.ac-cards { display: grid; gap: 24px; margin: 16px 0; }
.ac-card { background: #fff; color: #0f172a; border: 1px solid #cbd5e1; border-radius: 3mm; box-sizing: border-box; font-family: var(--f-sans, system-ui, sans-serif); overflow: hidden; }
.ac-biz { width: 85mm; height: 55mm; display: grid; grid-template-columns: 1fr 24mm; grid-template-rows: 1fr auto; padding: 4mm; column-gap: 3mm; }
.ac-a6 { width: 105mm; height: 148mm; display: grid; grid-template-rows: auto auto 1fr auto; padding: 8mm; row-gap: 4mm; }
.ac-logo { height: 6mm; width: auto; }
.ac-a6 .ac-logo { height: 9mm; }
.ac-name { font-weight: 700; font-size: 11pt; line-height: 1.15; margin: 1.5mm 0 0.5mm; color: #064E3B; }
.ac-a6 .ac-name { font-size: 17pt; }
.ac-id { font-family: ui-monospace, monospace; font-weight: 700; font-size: 9pt; letter-spacing: .02em; }
.ac-a6 .ac-id { font-size: 13pt; }
.ac-on { font-size: 7pt; color: #334155; margin: 0.5mm 0 0; }
.ac-a6 .ac-on { font-size: 10pt; }
.ac-qr { width: 24mm; height: 24mm; align-self: start; }
.ac-a6 .ac-qr { width: 48mm; height: 48mm; justify-self: center; }
.ac-steps { grid-column: 1 / -1; margin: 2mm 0 0; padding: 1.5mm 0 0; border-top: 0.4mm solid #047857; font-size: 6.4pt; line-height: 1.35; list-style: none; }
.ac-a6 .ac-steps { font-size: 10.5pt; padding-top: 3mm; }
.ac-steps li::before { content: counter(step) ". "; counter-increment: step; font-weight: 700; color: #047857; }
.ac-steps { counter-reset: step; }
.ac-wa { font-weight: 700; }
.ac-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.ac-actions button { min-height: 48px; padding: 0 18px; border-radius: 10px; border: 2px solid #047857; background: #047857; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ac-actions button.is-quiet { background: #fff; color: #064E3B; }
.ac-actions button:focus-visible { outline: 3px solid #064E3B; outline-offset: 2px; }
.ac-pick { display: grid; gap: 6px; max-width: 28rem; }
.ac-pick select { min-height: 48px; font: inherit; padding: 0 10px; border: 1px solid #cbd5e1; border-radius: 10px; }
@media (max-width: 420px) { .ac-cards { overflow-x: auto; } }
@media print {
  body * { visibility: hidden !important; }
  .ac-print, .ac-print * { visibility: visible !important; }
  .ac-print { position: fixed; left: 0; top: 0; border: 0; border-radius: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* "Check an agent" (layouts/partials/agent-check.html) */
.ac-check__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ac-check__row input { flex: 1 1 12rem; min-width: 0; min-height: 48px; padding: 0 12px; font: 600 1.05rem ui-monospace, monospace; border: 1px solid var(--c-field, #94a3b8); border-radius: 10px; text-transform: uppercase; }
.ac-check__row input:focus-visible { outline: var(--focus-ring, 3px solid #047857); outline-offset: 1px; }
.ac-check__row .ds-btn { min-height: 48px; }
.ac-check__out { min-height: 1.5em; font-weight: 600; margin: 10px 0 0; }
.ac-check__out.is-good { color: #047857; } .ac-check__out.is-bad { color: #b91c1c; } .ac-check__out.is-warn { color: #92400e; }
