/* Shared design tokens — event photo booth
   Same palette family as the architecture blueprint (darkroom / developer-tray)
   so admin (back) and booth (front) read as one product. */

/* Fonts: the owner picks them in back/fonts.html (api/fonts.php writes --font-body / --font-display / --font-mono and loads them from Google Fonts). */
@import url("../../api/fonts.php");

:root{
  /* back-office (light, document-like) */
  --bo-bg: #EDEAE2;
  --bo-surface: #F8F6F1;
  --bo-surface-2: #E4E0D5;
  --bo-ink: #211E1A;
  --bo-ink-dim: #625C4E;
  --bo-ink-faint: #8B8474;
  --bo-line: #C9C2AF;

  /* shared accents */
  --accent: #2F6E63;
  --accent-ink: #F8F6F1;
  --good: #3F7D52;
  --bad: #C24B3F;
  --warn: #A9701F;

  /* booth (fixed dark kiosk world — same on every device/theme) */
  --kiosk-bg: #120F0B;
  --kiosk-surface: #1C1712;
  --kiosk-ink: #F3EEE4;
  --kiosk-ink-dim: #B3AA97;
  --kiosk-line: #3A3226;
  --kiosk-accent: #6BB3A3;
  --kiosk-accent-ink: #0E1A17;
  --kiosk-warn: #E0A44E;
  --kiosk-bad: #E08D80;

  --radius: 4px;
}

*{ box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
/* Any element styled with an explicit `display` (flex/grid/inline-flex/etc.)
   wins over the UA stylesheet's [hidden]{display:none} — same-specificity
   ties go to author CSS regardless of selector, so `.field{display:flex}`
   silently un-hides a `hidden` field. This one rule closes that class of bug
   everywhere instead of chasing it component by component. */
[hidden]{ display:none !important; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--font-body,"Noto Sans Thai",sans-serif);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:var(--font-display,"Chakra Petch","Noto Sans Thai",sans-serif);
  font-weight:600;
  text-wrap:balance;
  margin:0;
}
.mono{ font-family:var(--font-mono,"IBM Plex Mono",monospace); }
button{ font-family:inherit; }
img,video{ display:block; max-width:100%; }
