/* The door's own styles, loaded after event.clinic's system. Tokens only on screen (the print card below is black on white). No accent of its own: the brand is not chosen. */
.acs-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--line); background: var(--surface-1); }
.acs-brand { font-weight: 700; color: var(--ink-900); }
.acs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
/* The scan code is shown once: large, monospaced, and selectable so it can be copied onto a card. */
.acs-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--text-lg); letter-spacing: 0.08em; user-select: all; overflow-wrap: anywhere; }
.acs-matrix td, .acs-matrix th { text-align: center; }
/* An already-recorded or already-inside answer: warn, as the Staff app's tone. */
.day-result.acs-warn { border: 0; background: var(--warn-700); color: var(--surface-1); }
.acs-video { width: 100%; max-width: 480px; border-radius: var(--radius-lg); background: var(--surface-2); }
.acs-lang { width: auto; margin-left: auto; }
/* The pass print view: the guest badge's 100 by 70 mm card (event.clinic /checkin/badge). Hidden on screen; when printing,
   it is the only thing on the page. Black on white whatever the theme, because paper has no dark mode. */
.acs-print, .acs-print-job { display: none; }
@media print {
  /* Named pages: the guest-badge card is 100 by 70 mm; event.clinic's own card (ACS-5) carries its size in millimetres. */
  @page badge { size: 100mm 70mm; margin: 0; }
  @page card { size: auto; margin: 0; }
  .acs-print { page: badge; }
  .acs-print-job { page: card; }
  .acs-printing body > :not(.acs-print) { display: none !important; }
  .acs-printing-job body > :not(.acs-print-job) { display: none !important; }
  .acs-printing-job .acs-print-job { display: block; }
  .acs-printing .acs-print { display: flex; gap: 5mm; align-items: center; width: 100mm; height: 70mm; box-sizing: border-box; padding: 6mm; background: #fff; color: #000; }
  .acs-print-qr { width: 34mm; height: 34mm; flex: none; }
  .acs-print-label { font-size: 8pt; text-transform: uppercase; letter-spacing: 0.08em; }
  .acs-print-name { font-size: 18pt; font-weight: 700; line-height: 1.1; margin-top: 1mm; }
  .acs-print-cat { font-size: 12pt; font-weight: 700; margin-top: 2mm; }
  .acs-print-event { font-size: 9pt; margin-top: 2mm; }
  .acs-print-code { font-family: ui-monospace, Menlo, monospace; font-size: 7pt; margin-top: 2mm; }
}
