/* =====================================================================
   FrontHAUS Kiosk — product / user-guide site
   Display face: Bricolage Grotesque (characterful grotesque). Body: Archivo.
   Brand anchor: FrontHAUS red #d90a2c.

   Spacing scale (snap layout values to these, not ad-hoc numbers):
     4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96 px
   Bricolage display tuning: big sizes want tight line-height (~1.0) + a touch
   of negative letter-spacing (~-0.02em); small display sizes sit near 0.
   ===================================================================== */

:root {
  --red: #d90a2c;
  --red-deep: #a3081f;
  --red-glow: rgba(217, 10, 44, 0.35);
  --ink: #16131a;
  --ink-soft: #4a4550;
  --paper: #fbf8f4;
  --paper-2: #f3eee7;
  --line: #e4ddd3;
  --blue: #007aff;
  --green: #34c759;
  --grey: #8e8e93;

  --card: #ffffff;
  --screen-bg: #f2f2f7;

  --maxw: 1180px;
  --radius: 18px;
  --shadow-sm: 0 2px 8px rgba(22, 19, 26, 0.06);
  --shadow-md: 0 18px 40px -18px rgba(22, 19, 26, 0.28);
  --shadow-lg: 0 40px 90px -30px rgba(22, 19, 26, 0.45);

  --font-display: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  --font-body: 'Archivo', system-ui, sans-serif;
  /* The device-mockup "screenshots" must render in the app's REAL UI font, not the
     marketing fonts above. On the Android tablets that's the system default, Roboto —
     used by both the kiosk 'system'/Default font (src/styles/kioskFonts.ts) and the
     admin screens (no fontFamily in src/styles/tokens.ts). */
  --font-app: 'Roboto', 'Noto Sans', system-ui, sans-serif;

  /* Spacing scale — one ramp the whole site layout snaps to. */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Atmospheric backdrop — soft red bloom + faint grid, not a flat block. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 82% -8%, rgba(217, 10, 44, 0.14), transparent 60%),
    radial-gradient(800px 700px at -10% 18%, rgba(217, 10, 44, 0.06), transparent 55%),
    var(--paper);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(22, 19, 26, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 19, 26, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Reveal-on-load / scroll animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--cl-delay, 0ms);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================ NAV ============================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(251, 248, 244, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.06rem;
}
.brand .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-glow);
}
.brand .sub {
  font-weight: 500;
  color: var(--grey);
  letter-spacing: 0;
}
.brand-logo { height: 22px; width: auto; display: block; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px; width: 0;
  background: var(--red);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.nav-ver {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  letter-spacing: 0.01em;
}
@media (max-width: 760px) { .nav-links a:not(.nav-ver) { display: none; } }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  padding: 48px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  padding: 7px 14px;
  border: 1px solid rgba(217, 10, 44, 0.25);
  border-radius: 999px;
  background: rgba(217, 10, 44, 0.05);
}
.eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 24px 0 0;
}
.hero h1 .accent {
  color: var(--red);
}
.hero p.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 33ch;
  margin: 24px 0 0;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 26px -10px var(--red-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px var(--red-glow); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ink); }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.stat .lbl {
  font-size: 0.78rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* Hero device — floating tablet showing the idle kiosk */
.hero-device { display: flex; justify-content: center; perspective: 1600px; }
.hero-device .tablet {
  transform: rotateY(-13deg) rotateX(4deg) rotate(1.5deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotateY(-13deg) rotateX(4deg) rotate(1.5deg) translateY(0); }
  50% { transform: rotateY(-13deg) rotateX(4deg) rotate(1.5deg) translateY(-14px); }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-device .tablet { transform: none; animation: none; }
  .hero-device { perspective: none; }
}

/* ===================== TABLET DEVICE FRAME ===================== */
/* True canvas is 1200x1920 portrait; scaled down via --scale. */
.tablet {
  --scale: 0.3;
  /* Device = the 1200x1920 screen canvas PLUS the bezel (26px padding each side),
     so the screen itself is exactly 1200x1920 * scale and the 1200px-authored .scr
     fills it without spilling past .tablet-screen on the right/bottom. */
  width: calc(1252px * var(--scale));
  height: calc(1972px * var(--scale));
  background: #0c0c12;
  border-radius: calc(120px * var(--scale));
  padding: calc(26px * var(--scale));
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,0.05);
  position: relative;
  flex: none;
}
.tablet::after { /* camera dot */
  content: '';
  position: absolute;
  top: calc(60px * var(--scale));
  left: 50%;
  transform: translateX(-50%);
  width: calc(14px * var(--scale));
  height: calc(14px * var(--scale));
  border-radius: 50%;
  background: #2a2a35;
  box-shadow: inset 0 0 0 calc(3px * var(--scale)) #43434f;
}
.tablet-screen {
  width: calc(1200px * var(--scale));
  height: calc(1920px * var(--scale));
  border-radius: calc(96px * var(--scale));
  overflow: hidden;
  position: relative;
  background: #1a1a2e;
}
/* Everything inside .scr is authored at true 1200px width then scaled. */
.scr {
  position: absolute;
  top: 0; left: 0;
  width: 1200px;
  height: 1920px;
  transform: scale(var(--scale));
  transform-origin: top left;
  font-family: var(--font-app);
  overflow: hidden;
}

/* Responsive device frames. The tablet is `flex:none`, so without min-width:0 on its
   grid/flex column it forces that track wider than the wrap's padding — overflowing the
   right edge and dragging the hero H1 to the viewport edge (no right padding). And at
   --scale:0.3 (360px) it's wider than a phone's content area, so it can't center. */
.hero-grid > *, .feature, .feature-copy, .feature-visual,
.hero-device, .device-wrap { min-width: 0; }
/* The per-mockup inline --scale (0.32/0.28) is fine on desktop but too wide for a
   phone; override it (inline beats a normal rule, so !important is required). */
@media (max-width: 600px) { .tablet { --scale: 0.25 !important; } }
@media (max-width: 400px) { .tablet { --scale: 0.21 !important; } }

/* ----- Kiosk branded screens (real app background: assets/kiosk-bg.png) ----- */
.scr-kiosk {
  background: #1a1a2e url('assets/kiosk-bg.png') center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  padding: 90px 70px;
}
/* The white app logo sits centered near the top (matches KioskShell centeredLogo). */
.kiosk-top {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.kiosk-logo-img {
  width: 75%;
  max-width: 100%;
  height: 150px;
  object-fit: contain;
}
.kiosk-logo-img-sm { height: 96px; }
.kiosk-center { margin: auto 0; width: 100%; text-align: center; }
.kiosk-eventname {
  font-size: 104px; font-weight: 700; color: #fff; margin-bottom: 24px; text-align: center;
}
.kiosk-heading {
  font-weight: 700;
  font-size: 96px;
  line-height: 1;
  color: #fff;
}
.kiosk-instructions {
  font-size: 40px;
  color: #fff;
  max-width: 760px;
  margin: 24px auto 0;
  line-height: 1.4;
}
.kiosk-cta-row { display: flex; gap: 36px; justify-content: center; margin-top: 84px; }
.kiosk-btn {
  background: var(--red);
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  padding: 40px 96px;
  border-radius: 16px;
  box-shadow: 0 16px 40px -18px rgba(0,0,0,0.5);
}
.kiosk-footer {
  margin-top: auto;
  text-align: center;
  width: 100%;
}
.kiosk-footer .powered { font-size: 32px; color: rgba(255,255,255,0.85); }
.kiosk-footer .evt { font-size: 30px; color: rgba(255,255,255,0.55); margin-top: 10px; }
.kiosk-footer .printer { font-size: 26px; color: rgba(255,255,255,0.4); margin-top: 8px; }
/* NOTE: the real KioskShell footer renders NO connection dot — the status indicator
   returns null for the kiosk-footer position. The green dot was removed from every
   kiosk mockup so this guide matches the on-device footer exactly. */

/* success state — green check icon (#4CAF50), no heavy ring (matches the app icon) */
.kiosk-success-icon {
  width: 210px; height: 210px; border-radius: 50%;
  border: 12px solid #4CAF50;
  display: flex; align-items: center; justify-content: center;
  font-size: 130px; color: #4CAF50; line-height: 1;
  margin: 0 auto 36px;
}
.kiosk-success-title {
  font-weight: 700; font-size: 96px; color: #4CAF50;
}
.kiosk-success-msg { font-size: 40px; color: #fff; margin-top: 24px; }
.kiosk-success-name {
  font-weight: 700; font-size: 64px; color: #fff; margin-top: 14px; letter-spacing: -0.01em;
}
.kiosk-success-org { font-size: 64px; color: rgba(255,255,255,0.78); }
.kiosk-success-sub { font-size: 40px; color: #fff; margin-top: 40px; }

/* QR scanner screen (matches QRScanner.tsx: title, subtitle, framed viewfinder with
   red corner brackets, and the cancel-with-countdown button). */
.kiosk-scan-title { font-weight: 700; font-size: 96px; color: #fff; line-height: 1; }
.kiosk-scan-sub { font-size: 40px; color: #fff; margin-top: 18px; }
.kiosk-scan-frame {
  width: 540px; height: 540px;
  margin: 56px auto;
  border-radius: 28px;
  position: relative;
  background: linear-gradient(135deg, #2c2c40 0%, #15151f 100%);
  box-shadow: inset 0 0 90px rgba(0,0,0,0.55);
}
.scan-corner { position: absolute; width: 96px; height: 96px; border: 10px solid var(--red); }
.scan-corner.tl { top: 40px; left: 40px; border-right: none; border-bottom: none; }
.scan-corner.tr { top: 40px; right: 40px; border-left: none; border-bottom: none; }
.scan-corner.bl { bottom: 40px; left: 40px; border-right: none; border-top: none; }
.scan-corner.br { bottom: 40px; right: 40px; border-left: none; border-top: none; }
.kiosk-scan-cancel {
  display: inline-block;
  background: var(--red); color: #fff; font-weight: 700; font-size: 40px;
  padding: 30px 76px; border-radius: 16px;
  box-shadow: 0 16px 40px -18px rgba(0,0,0,0.5);
}

/* Auto-rotating kiosk demo: landing -> scanner -> success, crossfading on a 9s loop
   (each screen holds ~3s). Order is set by the per-screen animation-delay. */
.kiosk-rotator > .scr { animation: kioskRotate 9s infinite; opacity: 0; }
.kiosk-rotator > .scr:nth-child(1) { animation-delay: 0s; }
.kiosk-rotator > .scr:nth-child(2) { animation-delay: -6s; }
.kiosk-rotator > .scr:nth-child(3) { animation-delay: -3s; }
@keyframes kioskRotate {
  0%   { opacity: 1; }
  28%  { opacity: 1; }
  33%  { opacity: 0; }
  94%  { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .kiosk-rotator > .scr { animation: none; opacity: 0; }
  .kiosk-rotator > .scr:nth-child(1) { opacity: 1; }
}

/* Two-screen variant (sign-up: form -> success), 8s loop, ~4s each. Half-cycle
   offset means screen 1 (form) shows first, then screen 2 (success). */
.kiosk-rotator-2 > .scr { animation: kioskRotate2 8s infinite; opacity: 0; }
.kiosk-rotator-2 > .scr:nth-child(1) { animation-delay: 0s; }
.kiosk-rotator-2 > .scr:nth-child(2) { animation-delay: -4s; }
@keyframes kioskRotate2 {
  0%   { opacity: 1; }
  44%  { opacity: 1; }
  50%  { opacity: 0; }
  94%  { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .kiosk-rotator-2 > .scr { animation: none; opacity: 0; }
  .kiosk-rotator-2 > .scr:nth-child(1) { opacity: 1; }
}

/* ----- Staff-access gesture indicators (over the welcome-screen mockup) ----- */
/* Press & hold the logo: a steady dot under an expanding ring. */
.gesture-hold {
  position: absolute; top: 80px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 200px; pointer-events: none; z-index: 2;
}
.hold-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 9px solid rgba(255,255,255,0.95);
  animation: holdRing 1.9s ease-out infinite;
}
.hold-dot {
  position: absolute; top: 50%; left: 50%; margin: -38px 0 0 -38px;
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,0.85);
  animation: holdDot 1.9s ease-in-out infinite;
}
@keyframes holdRing {
  0% { transform: scale(0.45); opacity: 0.95; }
  100% { transform: scale(1.3); opacity: 0; }
}
@keyframes holdDot {
  0%, 100% { transform: scale(0.88); opacity: 0.55; }
  55% { transform: scale(1.0); opacity: 0.95; }
}
/* Swipe right: a dot with a motion trail sweeping left -> right. */
.gesture-swipe {
  /* The real swipe gesture is attached to the footer, so the hint sweeps across it. */
  position: absolute; top: 1690px; left: 0; width: 100%; height: 110px;
  pointer-events: none; overflow: hidden; z-index: 2;
}
.swipe-dot {
  position: absolute; top: 15px; left: 50%; margin-left: -40px;
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 0 46px rgba(255,255,255,0.5),
              -120px 0 0 -34px rgba(255,255,255,0.35),
              -210px 0 0 -52px rgba(255,255,255,0.18);
  animation: swipeMove 2.1s ease-in-out infinite;
}
@keyframes swipeMove {
  0% { transform: translateX(-235px); opacity: 0; }
  22% { opacity: 1; }
  78% { opacity: 1; }
  100% { transform: translateX(235px); opacity: 0; }
}
/* Clear red labels for each gesture. */
.gesture-label {
  position: absolute; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 30px; font-weight: 700;
  padding: 16px 30px; border-radius: 16px; text-align: center; line-height: 1.25;
  white-space: nowrap; box-shadow: 0 12px 34px -12px rgba(0,0,0,0.6); z-index: 3;
}
.hold-label { top: 300px; }
.hold-label span { display: inline-block; font-weight: 500; font-size: 26px; opacity: 0.92; }
.swipe-label { top: 1545px; }
@media (prefers-reduced-motion: reduce) {
  .hold-ring, .hold-dot, .swipe-dot { animation: none; }
}

/* ----- Self sign-up form (kiosk) — frosted card over the real background ----- */
.scr-kiosk-form { padding: 70px 64px; }
/* The real form card fills the available kiosk width (formContainer width:100% inside
   the bounded form region). Fill the canvas width here too instead of a narrow 720px
   column floating in the middle — so the sign-up mockup matches the on-device form. */
.reg-card {
  width: 100%;
  margin: 36px auto 0;
  background: rgba(0,0,0,0.5); /* dark-theme frosted card (formCardDark) */
  border-radius: 28px;
  padding: 44px 48px;
}
.reg-head {
  font-weight: 700; font-size: 80px; text-align: center; color: #fff; margin-bottom: 28px;
}
.reg-field { margin-bottom: 28px; text-align: left; }
.reg-label { font-size: 28px; font-weight: 600; color: #fff; margin-bottom: 14px; display: block; }
.reg-label .req { color: var(--red); }
/* Inputs match the dark-kiosk variant: translucent white fill, white text. */
.reg-input {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 30px 28px;
  font-size: 32px;
  color: rgba(255,255,255,0.45);
}
.reg-input.filled { color: #fff; }
.reg-row { display: flex; gap: 28px; }
.reg-row .reg-field { flex: 1; }
.reg-check { display: flex; align-items: flex-start; gap: 22px; margin: 4px 0 32px; }
.reg-box {
  width: 48px; height: 48px; border-radius: 10px;
  border: 4px solid var(--red); flex: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 32px; line-height: 1;
}
.reg-check span { font-size: 32px; color: #fff; line-height: 1.4; }
.reg-btn.primary {
  text-align: center; font-size: 36px; font-weight: 700;
  padding: 36px; border-radius: 24px; background: var(--red); color: #fff;
}
.reg-cancel { text-align: center; font-size: 30px; color: rgba(255,255,255,0.8); padding: 28px 0 4px; }

/* ----- Admin / staff light screens (Attendees / Settings) -----
   Palette mirrors src/styles/tokens.ts exactly: screen #F2F2F7, card #FFFFFF,
   label #3C3C43, hint #8E8E93, border #E5E5EA, green #34C759, blue #007AFF,
   red header #d90a2c. In-screen text uses the system sans (NOT the display serif). */
/* Admin screens are authored at the true 1200px canvas width. Every admin block
   must stay inside that box: width:100% + border-box so horizontal padding never
   pushes a child past 1200px, and overflow:hidden clips any stray content so an
   admin mockup can NEVER render wider than .tablet-screen (the right-edge clip bug). */
.scr-admin { width: 1200px; box-sizing: border-box; overflow: hidden; background: var(--screen-bg); color: #000; display: flex; flex-direction: column; }
.scr-admin * { box-sizing: border-box; }
/* Red header bar (StackHeader / Settings header): white title 24/700. */
.adm-header, .adm-header2 {
  background: var(--red);
  min-height: 158px;
  padding: 0 33px;
  display: flex; align-items: center; justify-content: space-between;
}
.adm-header2 { justify-content: flex-start; }
.adm-title { font-size: 48px; font-weight: 700; color: #fff; }
/* "+ New Walk-in": white pill, black text. */
.adm-pill {
  background: #fff; color: #000; font-size: 28px; font-weight: 600;
  padding: 17px 30px; border-radius: 15px;
}
/* Search: white field, light border, grey placeholder. */
.adm-search {
  margin: 27px 33px 10px;
  background: #fff; border: 2px solid #E5E5EA; border-radius: 23px;
  padding: 25px 32px; font-size: 32px; color: #8E8E93;
}
.adm-list { padding: 15px 33px; overflow: hidden; display: flex; flex-direction: column; gap: 25px; }
/* Compact card: 16pt padding scaled, thin 4px-equivalent left accent. */
.adm-card {
  background: var(--card); border-radius: 25px; padding: 33px;
  box-shadow: 0 4px 17px -7px rgba(0,0,0,0.12);
  border-left: 8px solid #E5E5EA;
}
.adm-card.checked { border-left-color: #34C759; }
.adm-card-top { display: flex; justify-content: space-between; align-items: center; }
.adm-name { font-size: 36px; font-weight: 700; color: #000; }
.adm-chev { font-size: 48px; color: #8E8E93; line-height: 1; }
.adm-org { font-size: 30px; font-weight: 500; color: #3C3C43; margin-top: 5px; }
.adm-email { font-size: 28px; color: #8E8E93; margin-top: 5px; }
.adm-status-row { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.adm-checkstatus { font-size: 26px; font-weight: 600; }
.adm-checkstatus.in { color: #34C759; }
.adm-checkstatus.out { color: #8E8E93; }
/* Pastel status pills with black uppercase text (matches attendeeStatus BADGE_BG). */
.adm-badge {
  font-size: 24px; font-weight: 700; color: #000; padding: 12px 25px; border-radius: 25px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.adm-badge.approved { background: #E8F5E9; }
.adm-badge.pending { background: #FFF3E0; }

/* ----- Settings · Branding variant ----- */
/* Tab bar: white, grey labels, active = red text + red underline (no fill). */
.adm-tabs { display: flex; background: #fff; border-bottom: 2px solid #E5E5EA; }
.adm-tab {
  flex: 1; text-align: center; font-size: 28px; font-weight: 600; color: #8E8E93;
  padding: 28px 0; border-bottom: 6px solid transparent;
}
.adm-tab.active { color: var(--red); border-bottom-color: var(--red); }
.adm-body { padding: 28px 33px; }
/* Section title sits ABOVE the white card (black bold). */
.adm-sec-title { font-size: 40px; font-weight: 700; color: #000; margin: 10px 0 20px; }
.adm-section { background: #fff; border-radius: 25px; padding: 33px; margin-bottom: 7px; box-shadow: 0 4px 17px -7px rgba(0,0,0,0.1); }
.adm-field-label { font-size: 28px; font-weight: 600; color: #3C3C43; margin-bottom: 15px; }
.adm-input { background: #F2F2F7; border-radius: 15px; padding: 25px; font-size: 32px; color: #000; margin-bottom: 25px; }
.adm-swatch-row { display: flex; gap: 23px; }
.adm-swatch { width: 83px; height: 83px; border-radius: 17px; box-shadow: inset 0 0 0 3px rgba(0,0,0,0.06); }
.adm-swatch.sel { box-shadow: 0 0 0 5px rgba(0,122,255,0.4), inset 0 0 0 3px rgba(255,255,255,0.5); }
/* Theme toggle: grey-filled, active = pale-blue fill + blue border + blue text. */
.adm-theme-row { display: flex; gap: 23px; }
.adm-theme {
  flex: 1; padding: 28px; border-radius: 15px; text-align: center; font-size: 32px; font-weight: 600;
  background: #F2F2F7; color: #3C3C43; border: 3px solid transparent;
}
.adm-theme.active { background: #E3F2FD; color: #007AFF; border-color: #007AFF; }
/* Logo preview sits on the real dark background, like the kiosk. */
.adm-logo-preview {
  height: 183px; border-radius: 15px;
  background: #1a1a2e url('assets/kiosk-bg.png') center / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
}
.adm-logo-preview img { width: 60%; height: 100px; object-fit: contain; }

/* ----- Active Logo: select + preview info + outline button + helper ----- */
.adm-select {
  display: flex; align-items: center; justify-content: space-between;
  background: #F2F2F7; border-radius: 15px; padding: 25px;
  font-size: 32px; color: #000; margin-bottom: 25px;
}
.adm-select-chev { font-size: 26px; color: #8E8E93; }
.adm-logo-info { font-size: 24px; color: #8E8E93; margin: 15px 0 25px; text-align: center; }
.adm-btn-outline {
  border: 3px solid var(--red); color: var(--red); background: #fff;
  border-radius: 15px; padding: 25px; text-align: center;
  font-size: 32px; font-weight: 700;
}
.adm-btn-primary {
  background: var(--red); color: #fff; border-radius: 15px; padding: 25px;
  text-align: center; font-size: 32px; font-weight: 700;
}
.adm-btn-secondary {
  background: #F2F2F7; color: #3C3C43; border-radius: 15px; padding: 25px;
  text-align: center; font-size: 32px; font-weight: 700;
}
.adm-helper { font-size: 26px; color: #8E8E93; margin-top: 20px; line-height: 1.3; }
.adm-mt { margin-top: 33px; }
.adm-mt-sm { margin-top: 18px; }

/* ----- Background Image preview + Remote Backgrounds grid ----- */
.adm-bg-preview {
  height: 300px; border-radius: 15px; background: #1a1a2e;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.adm-bg-preview img { width: 100%; height: 100%; object-fit: contain; }
.adm-divider { height: 3px; background: #E5E5EA; margin: 37px 0 25px; }
.adm-bg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adm-bg-tile { border-radius: 15px; }
.adm-bg-thumb {
  position: relative; height: 150px; border-radius: 13px; overflow: hidden;
  background: #1a1a2e; border: 3px solid transparent;
}
.adm-bg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm-bg-tile.selected .adm-bg-thumb { border-color: var(--red); }
.adm-bg-check {
  position: absolute; top: 8px; right: 8px;
  width: 47px; height: 47px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 36px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.adm-bg-name {
  font-size: 30px; color: #3C3C43; text-align: center; margin-top: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ----- Button Styling: live preview on checkerboard, segmented, colour rows ----- */
.adm-live-preview {
  position: relative; border-radius: 15px; overflow: hidden;
  padding: 40px; margin-bottom: 30px;
}
.adm-checker {
  position: absolute; inset: 0;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #d8d8de 25%, transparent 25%),
    linear-gradient(-45deg, #d8d8de 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #d8d8de 75%),
    linear-gradient(-45deg, transparent 75%, #d8d8de 75%);
  background-size: 37px 37px;
  background-position: 0 0, 0 18px, 18px -18px, -18px 0;
}
.adm-live-btn {
  position: relative; border-radius: 15px; padding: 28px;
  text-align: center; font-size: 38px; font-weight: 700;
}
.adm-live-btn + .adm-live-btn { margin-top: 18px; }
.adm-segment {
  display: flex; background: #F2F2F7; border-radius: 15px; padding: 7px; margin-bottom: 28px;
}
.adm-segment-tab {
  flex: 1; text-align: center; padding: 23px; border-radius: 12px;
  font-size: 28px; font-weight: 600; color: #3C3C43;
}
.adm-segment-tab.active { background: #fff; color: #000; box-shadow: 0 3px 8px -3px rgba(0,0,0,0.2); }
.adm-color-row {
  display: flex; align-items: center; gap: 23px;
  padding: 25px 3px; border-bottom: 2px solid #E5E5EA;
}
.adm-color-chip { width: 77px; height: 77px; border-radius: 15px; box-shadow: inset 0 0 0 3px rgba(0,0,0,0.06); }
.adm-color-chip.light { box-shadow: inset 0 0 0 3px rgba(0,0,0,0.18); }
.adm-color-info { flex: 1; }
.adm-color-label { font-size: 30px; font-weight: 600; color: #000; }
.adm-color-hex { font-size: 26px; color: #8E8E93; margin-top: 5px; }
.adm-color-chev { font-size: 52px; color: #C7C7CC; line-height: 1; }
.adm-radius-row { display: flex; gap: 15px; }
.adm-radius-opt {
  flex: 1; text-align: center; padding: 22px 0; border-radius: 13px;
  background: #F2F2F7; color: #3C3C43; font-size: 28px; font-weight: 600;
  border: 3px solid transparent;
}
.adm-radius-opt.active { background: #E3F2FD; color: #007AFF; border-color: #007AFF; }
/* Manage Custom Logos — light-grey button with blue text (matches manageLogosButton). */
.adm-btn-grey { background: #F2F2F7; color: #007AFF; font-size: 34px; font-weight: 600; text-align: center; padding: 30px; border-radius: 18px; margin-top: 12px; }
/* Icon Styling preview — two checkerboard panels with the FILLED success/error
   icons (transparent cut-out check/X, matching MaterialCommunityIcons check-circle
   / close-circle). */
.adm-icon-previews { display: flex; gap: 20px; }
.adm-icon-panel { position: relative; flex: 1; min-width: 0; border-radius: 20px; overflow: hidden; padding: 40px 17px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.adm-icon-svg { position: relative; z-index: 1; width: 112px; height: 112px; display: block; margin-bottom: 13px; }
.adm-icon-cap { position: relative; z-index: 1; text-align: center; font-weight: 700; font-size: 32px; }
/* Typography — per-role font + weight chips, previewed in their real faces. */
.adm-typo-role { margin-bottom: 32px; }
.adm-typo-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.adm-typo-chip { font-size: 36px; padding: 12px 22px; border-radius: 12px; border: 2px solid #E5E5EA; color: #000; background: #fff; }
.adm-typo-chip.active { border-color: #007AFF; background: #E3F2FD; color: #007AFF; }
.adm-typo-weights { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.adm-typo-weight { font-size: 28px; padding: 8px 18px; border-radius: 10px; background: #F2F2F7; color: #8E8E93; }
.adm-typo-weight.active { background: #007AFF; color: #fff; }

/* ----- Auto-scroll viewport (header + tabs stay fixed above this) -----
   The frame is 1920 tall; the red header is ~190px and the tab bar ~108px,
   so the scroll viewport gets the remaining ~1622px and clips its overflow.
   The inner content is ~3x that tall; we translateY it by --adm-scroll-dist
   ( = contentHeight - viewportHeight ) on a loop. Tune the two values below. */
.adm-scroll {
  --adm-scroll-vp: 1352px;
  --adm-scroll-dist: 4467px;
  height: var(--adm-scroll-vp);
  overflow: hidden; position: relative; flex: 1;
}
.adm-scroll-inner { animation: admScroll 19s ease-in-out infinite; }
@keyframes admScroll {
  0%, 14%   { transform: translateY(0); }              /* hold top ~2s */
  50%, 64%  { transform: translateY(calc(-1 * var(--adm-scroll-dist))); } /* scroll down ~5s, hold bottom ~2s */
  100%      { transform: translateY(0); }              /* scroll back up ~5s */
}
/* "more below" affordance: faint fade + scrollbar hint on the right edge */
.adm-scroll::after {
  content: ''; position: absolute; right: 12px; top: 12px; bottom: 12px;
  width: 8px; border-radius: 5px; background: rgba(0,0,0,0.10); pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .adm-scroll-inner { animation: none; transform: translateY(0); }
}

/* ============================ SECTIONS ============================ */
section { position: relative; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-tag {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red);
}
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 12px 0 0;
}
.sec-head p { color: var(--ink-soft); font-size: 1.1rem; margin: 16px 0 0; }

/* Feature blocks alternate sides (asymmetric, editorial) */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.feature:nth-child(even) .feature-copy { order: 2; }
.feature:nth-child(even) .feature-visual { order: 1; }
.feature-visual { display: flex; justify-content: center; }
.feature-copy .kicker {
  display: inline-block;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.feature-copy h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.feature-copy p { color: var(--ink-soft); font-size: 1.06rem; margin: 0 0 16px; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1rem;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(217,10,44,0.14);
}
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 48px; margin-bottom: 64px; }
  .feature:nth-child(even) .feature-copy,
  .feature:nth-child(even) .feature-visual { order: initial; }
}

/* ---- Feature grid (smaller capability cards) ---- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.cap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
}
.cap:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(217,10,44,0.3); }
.cap .ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(217,10,44,0.08); color: var(--red);
  font-size: 1.3rem; margin-bottom: 16px;
}
.cap h4 { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.cap p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* ============================ CHANGELOG ============================ */
.cl-panel { max-width: 760px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 32px 40px; }
.cl-list { list-style: none; margin: 0; padding: 0; position: relative; }
.cl-list::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--red), transparent 92%);
}
.cl-item { position: relative; padding: 0 0 32px 44px; }
.cl-item:last-child { padding-bottom: 0; }
.cl-marker {
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 3px solid var(--grey);
}
.cl-item.is-latest .cl-marker {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 0 5px var(--red-glow);
}
.cl-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cl-version { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.005em; }
.cl-tag {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--red); padding: 3px 9px; border-radius: 999px;
}
.cl-date { font-size: 0.85rem; color: var(--grey); margin-left: auto; }
.cl-notes { margin: 6px 0 0; color: var(--ink-soft); font-size: 1rem; }
.changelog-empty { color: var(--grey); }

/* ============================ FOOTER ============================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 48px;
}
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; align-items: flex-start; }
.footer .brand { color: #fff; }
.footer .brand .sub { color: rgba(255,255,255,0.5); }
.footer-tag { max-width: 36ch; margin-top: 16px; font-size: 0.95rem; color: rgba(255,255,255,0.55); }
.footer-meta { text-align: right; font-size: 0.88rem; }
.footer-meta .v { color: #fff; font-weight: 700; }
.footer-bar {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
}
.footer-bar a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-bar a:hover { color: var(--red); }
@media (max-width: 620px) {
  .footer-meta { text-align: left; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
}

/* caption under device frames */
.device-caption {
  margin-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--grey);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.device-wrap { display: flex; flex-direction: column; align-items: center; }

/* ============================ GUIDE LAYOUT ============================ */
/* Two columns: a sticky in-page contents rail + the main guide body. The whole
   thing sits inside .wrap so it shares the SAME horizontal padding (0 28px) as the
   hero and footer — keeping every device mockup within consistent padding on all
   screen sizes (no first-screenshot edge-bleed). */
.guide-wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 24px;
}
.toc {
  position: sticky;
  top: 86px;
  align-self: start;
}
.toc-inner {
  border-left: 2px solid var(--line);
  padding-left: 18px;
}
.toc-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 16px;
}
.toc nav { display: flex; flex-direction: column; gap: 2px; }
.toc nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  border-left: 2px solid transparent;
  margin-left: -20px;
  padding-left: 18px;
  transition: color 0.2s, border-color 0.2s;
}
.toc nav a:hover { color: var(--red); border-left-color: var(--red); }
.toc nav a.active { color: var(--red); border-left-color: var(--red); font-weight: 600; }
/* Small group labels that bucket the TOC links into the guide's narrative arc. */
.toc-group {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 16px 0 4px;
}
.toc-group:first-child { margin-top: 0; }

/* min-width:0 lets the grid column shrink so wide children (device frames) never
   force horizontal overflow. */
.guide { min-width: 0; }

/* Each guide section. Consistent top/bottom rhythm + a hairline rule between. */
.g-sec { padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 86px; }
.g-sec:first-child { border-top: none; padding-top: 24px; }
.g-sec .feature { margin-bottom: 0; }
.g-sec .feature + .feature { margin-top: 64px; }
/* A prose block after a feature within the same section keeps the same rhythm. */
.g-sec .feature + .g-body { margin-top: 64px; }

/* Numbered how-to steps */
.g-steps { counter-reset: step; list-style: none; padding: 0; margin: 16px 0 0; }
.g-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.55;
}
.g-steps li:last-child { margin-bottom: 0; }
.g-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px rgba(217,10,44,0.12);
}
.g-steps em { font-style: normal; font-weight: 600; color: var(--red); }

/* Generic guide body blocks */
.g-body { margin-top: 0; }
/* A subsequent heading inside a flat body block needs clear separation from the
   prose above it (the first heading is spaced by the section head instead). */
.g-body > .g-h4:not(:first-child) { margin-top: 32px; }
.g-h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
  margin: 0 0 12px;
}
.g-p { color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 12px; }
.g-list { list-style: none; padding: 0; margin: 0 0 12px; }
.g-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}
.g-list li:last-child { margin-bottom: 0; }
.g-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 12px;
  border-radius: 4px;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(217,10,44,0.14);
}
.g-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.g-tablist { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
.g-callout {
  margin-top: 24px;
  background: rgba(217,10,44,0.05);
  border: 1px solid rgba(217,10,44,0.2);
  border-radius: 14px;
  padding: 16px 24px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
}
.g-callout strong { color: var(--red); }

@media (max-width: 980px) {
  .guide-wrap { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .g-cols, .g-tablist { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 880px) {
  .g-sec .feature + .feature,
  .g-sec .feature + .g-body { margin-top: 48px; }
}

/* ===================== EXTRA MOCKUP ELEMENTS ===================== */
/* Admin header back chevron + body/event-name helpers used by the detail / edit /
   manual-print / printers mockups. All inherit border-box from .scr-admin *. */
.adm-header2 { gap: 23px; }
.adm-back { font-size: 72px; color: #fff; line-height: 1; font-weight: 300; }
.adm-name.lg { font-size: 44px; }
.adm-event-name { font-size: 36px; font-weight: 700; color: #000; margin: 3px 0 15px; }
.adm-tiernote { font-size: 28px; color: #8E8E93; margin: -10px 0 17px; }
.adm-badge.checkedin { background: #E8F5E9; }

/* Attendee detail head card */
.detail-head { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 23px; }
.detail-head-left { flex: 1; min-width: 0; }
.detail-pills { display: flex; gap: 15px; margin-top: 17px; }
.detail-qr { width: 125px; height: 125px; flex: none; border-radius: 10px; background:
  repeating-conic-gradient(#000 0 25%, #fff 0 50%) 0 0 / 25px 25px; box-shadow: inset 0 0 0 8px #fff; }
.detail-btn-row { display: flex; gap: 20px; }
.detail-btn-row + .detail-btn-row { margin-top: 20px; }
.detail-btn {
  flex: 1; text-align: center; font-size: 32px; font-weight: 600; padding: 25px 0; border-radius: 18px;
}
.detail-btn.ghost { background: #EEF2F7; color: #007AFF; }
.detail-btn.primary { background: #007AFF; color: #fff; }
.detail-row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 2px solid #EEE; }
.detail-row.last { border-bottom: none; }
.detail-k { font-size: 28px; color: #8E8E93; }
.detail-v { font-size: 30px; font-weight: 600; color: #000; text-align: right; }

/* Edit-attendee form rows */
.edit-row { display: flex; gap: 23px; }
.edit-row .edit-field { flex: 1; min-width: 0; }
.edit-input { background: #F2F2F7; border-radius: 15px; padding: 23px; font-size: 32px; color: #8E8E93; margin-bottom: 23px; }
.edit-input.filled { color: #000; }
.edit-save { text-align: center; font-size: 36px; font-weight: 700; color: #fff; background: #d90a2c; border-radius: 18px; padding: 27px; margin-top: 5px; }

/* Manual-print helpers */
.mp-active { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; color: #8E8E93; letter-spacing: 1px; margin-bottom: 12px; }
.mp-dot { width: 18px; height: 18px; border-radius: 50%; background: #34C759; }
.mp-meta { font-size: 28px; color: #8E8E93; margin-top: 8px; }
.mp-btn-row { display: flex; gap: 20px; margin-top: 8px; }
.mp-btn { flex: 1; text-align: center; font-size: 36px; font-weight: 700; color: #fff; padding: 25px 0; border-radius: 18px; }
.mp-btn.grey { background: #8E8E93; flex: 1; }
.mp-btn.blue { background: #007AFF; flex: 2; }

/* Printers helpers */
.pr-btn-row { display: flex; gap: 20px; margin-top: 22px; }
.pr-btn { flex: 1; text-align: center; font-size: 32px; font-weight: 600; color: #007AFF; background: #EEF2F7; padding: 20px 0; border-radius: 15px; }
/* Printer card matches the device: row layout (info left, coloured action buttons
   right); the THERMAL/INKJET chip is white-on-colour, directly after the name. */
/* Compact, like the device: padding 12, name 16, detail 12, tiny gaps (~2.9x canvas). */
.pr-card { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 22px; padding: 25px; border-radius: 18px; box-shadow: 0 3px 10px -6px rgba(0,0,0,0.12); }
.pr-info { flex: 1; min-width: 0; }
.pr-name-row { display: flex; flex-direction: row; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 5px; }
.pr-name { font-size: 32px; font-weight: 600; color: #000; }
.pr-chip { font-size: 20px; font-weight: 700; letter-spacing: 1px; color: #fff; padding: 5px 17px; border-radius: 9px; }
.pr-chip.thermal { background: #FF9500; }   /* orange — typeChipThermal */
.pr-chip.inkjet { background: #5856D6; }    /* indigo — typeChipInkjet */
.pr-detail { font-size: 24px; color: #8E8E93; line-height: 1.32; }
.pr-active {
  display: inline-block; margin-top: 9px;
  background: #34C759; color: #fff; font-size: 20px; font-weight: 700;
  padding: 5px 19px; border-radius: 9px;
}
.pr-actions { display: flex; flex-direction: row; gap: 22px; flex: none; }
.pr-act { font-size: 24px; font-weight: 600; color: #fff; padding: 14px 28px; border-radius: 18px; white-space: nowrap; }
.pr-act.set { background: #34C759; }    /* green — connectButton (Set Active) */
.pr-act.edit { background: #007AFF; }   /* blue — editButton */
.pr-act.remove { background: #FF3B30; } /* red — removeButton */
/* The printers list has no search bar above it, so give the first card breathing
   room below the header (scoped to the printers mockup). */
#printers .adm-list { padding-top: 38px; }
