/* ==========================================================================
   SiBook — SiCepat Gezit DLS (Desktop) + Mobile DLS v2
   Token-only styling. No hard-coded colors outside this token block.
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/static/fonts/plus-jakarta-sans-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/static/fonts/plus-jakarta-sans-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/static/fonts/plus-jakarta-sans-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/static/fonts/plus-jakarta-sans-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/static/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/static/fonts/poppins-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/static/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/static/fonts/poppins-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Brand */
  --color-brand-600: #E1251B;
  --color-brand-700: #C21F17;
  --color-brand-800: #A01913;
  --color-brand-50: #FEF2F2;
  --color-brand-100: #FEE5E2;
  /* Surfaces */
  --color-bg: #F7F7F8;
  --color-surface: #FFFFFF;
  --color-surface-2: #FAFAFB;
  --color-border: #E7E7EA;
  --color-border-subtle: #F1F1F3;
  --color-border-strong: #D5D5DA;
  /* Ink */
  --color-text: #111114;
  --color-text-2: #4B4B52;
  --color-text-3: #8A8A93;
  --color-text-4: #B5B5BC;
  /* Semantic */
  --color-success-600: #16A34A;
  --color-success-50: #ECFDF3;
  --color-warning-600: #B45309;
  --color-warning-50: #FEF6E7;
  --color-danger-600: #D92D20;
  --color-danger-50: #FEF3F2;
  --color-info-600: #2563EB;
  --color-info-50: #EFF6FF;
  /* Type */
  --font-sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --text-display: 28px; --lh-display: 36px;
  --text-h1: 22px; --lh-h1: 30px;
  --text-h2: 18px; --lh-h2: 26px;
  --text-h3: 16px; --lh-h3: 24px;
  --text-body: 14px; --lh-body: 20px;
  --text-small: 13px; --lh-small: 18px;
  --text-tiny: 12px; --lh-tiny: 16px;
  /* Space (4pt) */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-7: 28px; --space-8: 32px;
  --space-9: 36px; --space-10: 40px; --space-11: 44px; --space-12: 48px;
  --space-14: 56px; --space-16: 64px;
  /* Radii */
  --radius-sm: 6px; --radius-md: 8px; --radius-lg: 12px; --radius-xl: 16px; --radius-pill: 999px;
  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(17, 17, 20, 0.04);
  --shadow-sm: 0 1px 3px rgba(17, 17, 20, 0.06), 0 1px 2px rgba(17, 17, 20, 0.04);
  --shadow-md: 0 8px 24px rgba(17, 17, 20, 0.10), 0 2px 6px rgba(17, 17, 20, 0.04);
  --shadow-lg: 0 20px 48px rgba(17, 17, 20, 0.16), 0 4px 12px rgba(17, 17, 20, 0.06);
  --shadow-focus-brand: 0 0 0 4px rgba(225, 37, 27, 0.16);
  --shadow-focus-danger: 0 0 0 4px rgba(217, 45, 32, 0.16);
  /* Layout */
  --sidebar-width: 264px;
  --topbar-height: 56px;
  --content-max: 1280px;
  --panel-width: 392px;
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-sans); font-size: var(--text-body); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: none; box-shadow: var(--shadow-focus-brand); border-radius: var(--radius-sm); }
::selection { background: var(--color-brand-100); color: var(--color-brand-800); }
[hidden] { display: none !important; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.muted { color: var(--color-text-3); }
.text-2 { color: var(--color-text-2); }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row { display: flex; align-items: center; gap: var(--space-2); }
.row--between { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.stack--sm { gap: var(--space-2); }
.grow { flex: 1 1 auto; min-width: 0; }
.icon { flex: 0 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- shell */
.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); z-index: 40;
  display: flex; flex-direction: column; background: var(--color-surface);
  border-right: 1px solid var(--color-border);
}
.sidebar__org {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-4) var(--space-4); border-bottom: 1px solid var(--color-border-subtle);
  min-height: var(--topbar-height);
}
.org-tile {
  width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--color-brand-600);
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm); flex: 0 0 auto;
}
.org-tile svg { width: 20px; height: 20px; }
.org-meta { min-width: 0; }
.org-meta__name { font-weight: 700; font-size: var(--text-body); line-height: 18px; }
.org-meta__sub { color: var(--color-text-3); font-size: var(--text-tiny); line-height: 16px; margin-top: 2px; }
.sidebar__nav { flex: 1 1 auto; overflow-y: auto; padding: var(--space-4) var(--space-3); }
.nav-section { margin-bottom: var(--space-5); }
.nav-section__title {
  padding: 0 var(--space-3) var(--space-2); color: var(--color-text-3);
  font-size: 10px; line-height: 14px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
}
.nav-item {
  display: flex; align-items: center; gap: var(--space-3); padding: 9px var(--space-3);
  border-radius: var(--radius-md); color: var(--color-text-2); font-size: var(--text-body); font-weight: 500;
  margin-bottom: 2px; border: 1px solid transparent; transition: background .14s ease, color .14s ease;
}
.nav-item:hover { background: var(--color-surface-2); color: var(--color-text); }
.nav-item .icon { color: var(--color-text-3); }
.nav-item:hover .icon { color: var(--color-text-2); }
.nav-item--active { background: var(--color-brand-50); color: var(--color-brand-800); font-weight: 600; }
.nav-item--active .icon { color: var(--color-brand-700); }
.nav-item__badge {
  margin-left: auto; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--radius-pill);
  display: grid; place-items: center; background: var(--color-warning-50); color: var(--color-warning-600);
}
.nav-item__badge--danger { background: var(--color-danger-50); color: var(--color-danger-600); }
.nav-group { margin-top: var(--space-1); }
.nav-group__toggle {
  width: 100%; background: none; border: 0; text-align: left;
}
.nav-group__toggle .chev { margin-left: auto; transition: transform .18s ease; color: var(--color-text-4); }
.nav-group[data-open="true"] .nav-group__toggle .chev { transform: rotate(180deg); }
.nav-group__children { display: none; padding: var(--space-1) 0 var(--space-2) var(--space-7); }
.nav-group[data-open="true"] .nav-group__children { display: block; }
.nav-item--child { padding: 7px var(--space-3); font-size: var(--text-small); color: var(--color-text-3); }
.nav-item--child.nav-item--active { color: var(--color-brand-800); background: transparent; font-weight: 600; }
.sidebar__user {
  border-top: 1px solid var(--color-border-subtle); padding: var(--space-3) var(--space-4);
  display: flex; align-items: center; gap: var(--space-3); background: var(--color-surface-2);
}
.sidebar__user .grow { min-width: 0; }
.sidebar__user-name { font-size: var(--text-small); font-weight: 600; line-height: 18px; }
.sidebar__user-meta { font-family: var(--font-mono); color: var(--color-text-3); font-size: 11px; line-height: 16px; }
.sidebar__user form { display: flex; }

.main {
  margin-left: var(--sidebar-width); min-height: 100vh; display: flex; flex-direction: column;
}
.topbar {
  height: var(--topbar-height); display: flex; align-items: center; gap: var(--space-4);
  padding: 0 var(--space-8); background: var(--color-surface);
  border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 30;
}
.crumbs { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-small); color: var(--color-text-3); min-width: 0; }
.crumbs a:hover { color: var(--color-text); }
.crumbs__sep { color: var(--color-text-4); }
.crumbs__current { color: var(--color-brand-700); font-weight: 600; }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
.topbar__divider { width: 1px; height: 20px; background: var(--color-border); margin: 0 var(--space-1); }
.venue-switch { position: relative; }
.venue-switch summary {
  list-style: none; display: flex; align-items: center; gap: var(--space-2); cursor: pointer;
  padding: 6px var(--space-3); border-radius: var(--radius-md); border: 1px solid var(--color-border);
  font-size: var(--text-small); font-weight: 600; background: var(--color-surface);
}
.venue-switch summary::-webkit-details-marker { display: none; }
.venue-switch[open] summary { border-color: var(--color-brand-600); box-shadow: var(--shadow-focus-brand); }
.venue-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 260px; padding: var(--space-2);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); z-index: 60;
}
.venue-menu__item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); }
.venue-menu__item:hover { background: var(--color-surface-2); }
.venue-menu__item .icon { color: var(--color-brand-600); }

.page { width: 100%; max-width: var(--content-max); margin: 0 auto; padding: var(--space-8); }
.page--wide { max-width: 1600px; }
.page__body { display: flex; flex-direction: column; gap: var(--space-5); }
.page-header { display: flex; align-items: flex-start; gap: var(--space-4); margin-bottom: var(--space-6); }
.page-header__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--color-brand-50);
  color: var(--color-brand-700); display: grid; place-items: center; flex: 0 0 auto; margin-top: 2px;
}
.page-header__main { min-width: 0; flex: 1 1 auto; }
.page-header__title { font-size: var(--text-display); line-height: var(--lh-display); font-weight: 700; letter-spacing: -0.02em; }
.page-header__subtitle { color: var(--color-text-2); margin-top: var(--space-1); max-width: 72ch; }
.page-header__actions { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; justify-content: flex-end; padding-top: var(--space-1); }

/* ---------------------------------------------------------------- card */
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); min-width: 0;
}
.card__head {
  display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border-subtle);
}
.card__title-icon {
  width: 28px; height: 28px; border-radius: var(--radius-md); background: var(--color-brand-50);
  color: var(--color-brand-700); display: grid; place-items: center; flex: 0 0 auto;
}
.card__title { font-size: var(--text-h3); line-height: var(--lh-h3); font-weight: 600; }
.card__subtitle { color: var(--color-text-3); font-size: var(--text-small); margin-top: 2px; }
.card__head-actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
.card__body { padding: var(--space-5) var(--space-6); }
.card__body--flush { padding: 0; }
.card__footer { padding: var(--space-3) var(--space-5); border-top: 1px solid var(--color-border-subtle); background: var(--color-surface-2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.card--flat { box-shadow: none; }
.card--interactive { transition: box-shadow .16s ease, border-color .16s ease, transform .16s ease; }
.card--interactive:hover { box-shadow: var(--shadow-md); border-color: var(--color-border-strong); transform: translateY(-1px); }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--color-surface); --btn-fg: var(--color-text-2); --btn-border: var(--color-border);
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 36px; padding: 0 var(--space-3); border-radius: var(--radius-md);
  border: 1px solid var(--btn-border); background: var(--btn-bg); color: var(--btn-fg);
  font-size: var(--text-small); font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background .14s ease, border-color .14s ease, box-shadow .14s ease, color .14s ease;
}
.btn:hover { background: var(--color-surface-2); border-color: var(--color-border-strong); color: var(--color-text); }
.btn:active { transform: translateY(0.5px); }
.btn--primary { --btn-bg: var(--color-brand-600); --btn-fg: #fff; --btn-border: var(--color-brand-600); box-shadow: 0 1px 2px rgba(225,37,27,.25); }
.btn--primary:hover { background: var(--color-brand-700); border-color: var(--color-brand-700); color: #fff; }
.btn--primary:active { background: var(--color-brand-800); border-color: var(--color-brand-800); }
.btn--secondary { --btn-bg: var(--color-surface); --btn-fg: var(--color-text-2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--color-text-2); --btn-border: transparent; }
.btn--ghost:hover { background: var(--color-surface-2); border-color: transparent; }
.btn--danger { --btn-bg: var(--color-surface); --btn-fg: var(--color-danger-600); --btn-border: var(--color-border); }
.btn--danger:hover { background: var(--color-danger-50); border-color: var(--color-danger-600); color: var(--color-danger-600); }
.btn--sm { height: 30px; padding: 0 10px; font-size: var(--text-tiny); gap: 6px; }
.btn--lg { height: 44px; padding: 0 var(--space-5); font-size: var(--text-body); }
.btn--icon { width: 32px; height: 32px; padding: 0; }
.btn--block { width: 100%; }
.btn[disabled], .btn--disabled { opacity: .5; pointer-events: none; }
.btn--loading { color: transparent !important; position: relative; }
.btn--loading::after {
  content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- avatar */
.avatar {
  width: 36px; height: 36px; border-radius: var(--radius-md); flex: 0 0 auto;
  display: inline-grid; place-items: center; background: var(--color-brand-100); color: var(--color-brand-800);
  font-weight: 700; font-size: var(--text-small); letter-spacing: .02em; text-transform: uppercase;
  border: 1px solid rgba(160, 25, 19, 0.10);
}
.avatar--sm { width: 28px; height: 28px; font-size: 11px; border-radius: var(--radius-sm); }
.avatar--xs { width: 22px; height: 22px; font-size: 9px; border-radius: 5px; }
.avatar--lg { width: 44px; height: 44px; font-size: var(--text-body); }
.avatar--xl { width: 64px; height: 64px; font-size: var(--text-h3); border-radius: var(--radius-lg); }
.avatar--round { border-radius: var(--radius-pill); }
.avatar-stack { display: flex; }
.avatar-stack .avatar { margin-left: -6px; border: 2px solid var(--color-surface); }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* ---------------------------------------------------------------- pills */
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px;
  border-radius: var(--radius-pill); font-size: var(--text-tiny); font-weight: 600; line-height: 1;
  background: var(--color-surface-2); color: var(--color-text-2); border: 1px solid transparent; white-space: nowrap;
}
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.pill--success { background: var(--color-success-50); color: var(--color-success-600); }
.pill--warning { background: var(--color-warning-50); color: var(--color-warning-600); }
.pill--danger { background: var(--color-danger-50); color: var(--color-danger-600); }
.pill--info { background: var(--color-info-50); color: var(--color-info-600); }
.pill--brand { background: var(--color-brand-50); color: var(--color-brand-700); }
.pill--neutral { background: var(--color-surface-2); color: var(--color-text-2); border-color: var(--color-border); }
.pill--outline { background: transparent; border-color: var(--color-border); color: var(--color-text-2); }
.tag-chip {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px;
  border-radius: var(--radius-sm); background: var(--color-surface-2); color: var(--color-text-2);
  border: 1px solid var(--color-border-subtle); font-size: 11px; font-weight: 500; white-space: nowrap;
}
.tag-chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tag-color, var(--color-info-600)); }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; }
.col-tag {
  display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-3);
}
.col-tag .icon { color: var(--color-text-4); }

/* ---------------------------------------------------------------- kpi */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.kpi {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-5); box-shadow: var(--shadow-xs); min-width: 0;
}
.kpi__label { display: flex; align-items: center; gap: 6px; color: var(--color-text-3); font-size: var(--text-small); font-weight: 500; }
.kpi__value { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--text-h1); line-height: 30px; font-weight: 500; margin-top: var(--space-3); letter-spacing: -0.02em; }
.kpi__value--sans { font-family: var(--font-sans); font-weight: 700; }
.kpi__unit { font-size: var(--text-small); color: var(--color-text-3); font-family: var(--font-sans); margin-left: 3px; }
.kpi__foot { display: flex; align-items: center; gap: 6px; margin-top: var(--space-2); font-size: var(--text-tiny); color: var(--color-text-3); }
.kpi__delta { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; }
.kpi__delta--up { color: var(--color-success-600); }
.kpi__delta--down { color: var(--color-danger-600); }
.kpi__icon { margin-left: auto; width: 32px; height: 32px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--color-surface-2); color: var(--color-text-3); }

/* ---------------------------------------------------------------- filters */
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: var(--space-4); align-items: end; }
.filter-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
.filter-actions { display: flex; align-items: center; gap: var(--space-2); padding-bottom: 1px; }
.filter-grid .field { margin: 0; }

/* ---------------------------------------------------------------- forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-4); min-width: 0; }
.field__label { display: flex; align-items: center; gap: 5px; font-size: var(--text-small); font-weight: 600; color: var(--color-text-2); }
.field__required { color: var(--color-brand-600); }
.field__optional { color: var(--color-text-3); font-weight: 400; font-size: var(--text-tiny); }
.field__hint { font-size: var(--text-tiny); color: var(--color-text-3); line-height: 16px; }
.field__error { display: flex; align-items: center; gap: 4px; font-size: var(--text-tiny); color: var(--color-danger-600); font-weight: 500; }
.input, .select, .textarea {
  width: 100%; min-height: 40px; padding: 9px var(--space-3); border-radius: var(--radius-md);
  border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text);
  font-size: var(--text-body); line-height: 20px; transition: border-color .14s ease, box-shadow .14s ease, background .14s ease;
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--color-text-4); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--color-border-strong); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--color-brand-600); box-shadow: var(--shadow-focus-brand); }
.textarea { min-height: 88px; resize: vertical; }
.select {
  background-image: linear-gradient(45deg, transparent 50%, var(--color-text-3) 50%),
    linear-gradient(135deg, var(--color-text-3) 50%, transparent 50%);
  background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 32px;
}
.input--with-icon { padding-left: 36px; }
.input-wrap { position: relative; }
.input-wrap > .icon,
.input-wrap > span { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--color-text-3); pointer-events: none; display: inline-flex; }
.input-wrap > span .icon { display: block; }
.input-wrap--action > .icon,
.input-wrap--action > span { left: auto; right: 11px; }
.input--disabled, .input[disabled], .select[disabled], .textarea[disabled] {
  background: var(--color-surface-2); color: var(--color-text-4); border-color: var(--color-border-subtle); cursor: not-allowed;
}
.input--readonly, .select--readonly, .textarea--readonly {
  background: var(--color-surface-2); border-style: dashed; color: var(--color-text-2);
}
.input--readonly-wrap { position: relative; }
.input--readonly-wrap > .icon { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: var(--color-text-4); pointer-events: none; }
.input--error, .select--error, .textarea--error { border-color: var(--color-danger-600); background: var(--color-danger-50); }
.input--error:focus { box-shadow: var(--shadow-focus-danger); }
.check { display: inline-flex; align-items: flex-start; gap: var(--space-2); font-size: var(--text-small); color: var(--color-text-2); cursor: pointer; line-height: 18px; }
.check input[type="checkbox"], .check input[type="radio"] {
  appearance: none; width: 18px; height: 18px; min-width: 18px; margin: 0; border: 1.5px solid var(--color-border-strong);
  border-radius: 5px; background: var(--color-surface); display: grid; place-items: center; cursor: pointer;
  transition: background .12s ease, border-color .12s ease;
}
.check input[type="radio"] { border-radius: 50%; }
.check input[type="checkbox"]:checked, .check input[type="radio"]:checked { background: var(--color-brand-600); border-color: var(--color-brand-600); }
.check input[type="checkbox"]:checked::after {
  content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
.check input[type="radio"]:checked::after { content: ""; width: 7px; height: 7px; background: #fff; border-radius: 50%; }
.check input:focus-visible { box-shadow: var(--shadow-focus-brand); }
.check-group { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.check-group--panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); padding: var(--space-3); background: var(--color-surface-2); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); max-height: 168px; overflow-y: auto; }
.toggle { position: relative; display: inline-flex; align-items: center; gap: var(--space-2); cursor: pointer; font-size: var(--text-small); }
.toggle input { appearance: none; width: 36px; height: 20px; border-radius: var(--radius-pill); background: var(--color-border-strong); position: relative; transition: background .16s ease; cursor: pointer; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: #fff; border-radius: 50%; box-shadow: var(--shadow-sm); transition: transform .16s ease; }
.toggle input:checked { background: var(--color-brand-600); }
.toggle input:checked::after { transform: translateX(16px); }
.form-section { margin-bottom: var(--space-6); }
.section-header { display: flex; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-4); }
.section-header__num {
  width: 24px; height: 24px; border-radius: var(--radius-pill); background: var(--color-brand-50); color: var(--color-brand-700);
  display: grid; place-items: center; font-size: 11px; font-weight: 700; font-family: var(--font-mono); flex: 0 0 auto;
}
.section-header__title { font-size: var(--text-h3); line-height: 22px; font-weight: 600; }
.section-header__subtitle { color: var(--color-text-3); font-size: var(--text-small); margin-top: 2px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-4); }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid .field--full { grid-column: 1 / -1; }
.form-footer {
  display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border-subtle); background: var(--color-surface-2);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg); flex-wrap: wrap;
}
.form-footer__hint { display: flex; align-items: center; gap: 6px; color: var(--color-text-3); font-size: var(--text-tiny); margin-right: auto; }
.form-footer__actions { display: flex; align-items: center; gap: var(--space-2); }
.upload {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 132px; padding: var(--space-5); border: 1.5px dashed var(--color-border); border-radius: var(--radius-lg);
  background: var(--color-surface-2); color: var(--color-text-2); text-align: center; cursor: pointer;
  transition: border-color .14s ease, background .14s ease;
}
.upload:hover { border-color: var(--color-brand-600); background: var(--color-brand-50); }
.upload__icon { width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--color-surface); display: grid; place-items: center; color: var(--color-text-3); box-shadow: var(--shadow-xs); }
.upload__title { font-size: var(--text-small); font-weight: 600; }
.upload__hint { font-size: var(--text-tiny); color: var(--color-text-3); }
.upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-chip { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.file-chip__icon { width: 32px; height: 32px; border-radius: var(--radius-md); background: var(--color-success-50); color: var(--color-success-600); display: grid; place-items: center; }
.progress { height: 4px; background: var(--color-surface-2); border-radius: var(--radius-pill); overflow: hidden; }
.progress__bar { height: 100%; background: var(--color-success-600); border-radius: var(--radius-pill); }

/* ---------------------------------------------------------------- banner */
.banner {
  display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-surface-2);
  color: var(--color-text-2); font-size: var(--text-small);
}
.banner__icon { flex: 0 0 auto; margin-top: 1px; }
.banner__title { font-weight: 700; margin-bottom: 2px; color: var(--color-text); }
.banner--danger { background: var(--color-danger-50); border-color: rgba(217,45,32,.25); color: var(--color-danger-600); }
.banner--danger .banner__title { color: var(--color-danger-600); }
.banner--warning { background: var(--color-warning-50); border-color: rgba(180,83,9,.25); color: var(--color-warning-600); }
.banner--info { background: var(--color-info-50); border-color: rgba(37,99,235,.22); color: var(--color-info-600); }
.banner--success { background: var(--color-success-50); border-color: rgba(22,163,74,.22); color: var(--color-success-600); }

/* ---------------------------------------------------------------- tables */
.table-toolbar {
  display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-5);
  border-top: 1px solid var(--color-border-subtle); border-bottom: 1px solid var(--color-border-subtle);
  background: var(--color-surface); flex-wrap: wrap;
}
.table-toolbar__count { color: var(--color-text-3); font-size: var(--text-small); }
.table-toolbar__count b { color: var(--color-text); font-weight: 600; }
.table-toolbar__actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
.table-wrap { width: 100%; overflow-x: auto; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.table { width: 100%; border-collapse: collapse; font-size: var(--text-small); }
.table th {
  text-align: left; font-weight: 600; color: var(--color-text-3); font-size: var(--text-tiny);
  padding: var(--space-3) var(--space-4); background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border); white-space: nowrap; position: sticky; top: 0; z-index: 1;
}
.table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border-subtle); vertical-align: middle; color: var(--color-text-2); }
.table tbody tr { transition: background .12s ease; }
.table tbody tr:hover { background: var(--color-surface-2); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .td-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--color-text-3); width: 56px; font-size: var(--text-tiny); }
.table .td-strong { color: var(--color-text); font-weight: 600; }
.table .td-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--color-text-2); }
.table .td-actions { text-align: right; width: 1%; white-space: nowrap; }
.row-actions { display: inline-flex; align-items: center; gap: 2px; opacity: .55; transition: opacity .12s ease; }
tr:hover .row-actions { opacity: 1; }
.row-actions .btn { color: var(--color-text-3); }
.row-actions .btn:hover { color: var(--color-text); background: var(--color-surface-2); }
.row-actions .btn--edit { color: var(--color-brand-600); }
.row-actions .btn--edit:hover { color: var(--color-brand-700); background: var(--color-brand-50); }
.cell-stack { display: flex; flex-direction: column; gap: 1px; }
.cell-stack__main { color: var(--color-text); font-weight: 600; font-size: var(--text-small); }
.cell-stack__sub { color: var(--color-text-3); font-size: var(--text-tiny); }
.user-cell { display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
.user-cell__name { color: var(--color-text); font-weight: 600; font-size: var(--text-small); }
.user-cell__num { font-family: var(--font-mono); font-size: 11px; color: var(--color-text-3); }
.pagination { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-5); border-top: 1px solid var(--color-border-subtle); }
.pagination__info { color: var(--color-text-3); font-size: var(--text-tiny); margin-right: auto; }
.page-btn {
  min-width: 30px; height: 30px; padding: 0 var(--space-2); border-radius: var(--radius-md);
  border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text-2);
  display: inline-grid; place-items: center; font-size: var(--text-tiny); font-weight: 600;
}
.page-btn:hover { background: var(--color-surface-2); }
.page-btn--active { background: var(--color-brand-600); border-color: var(--color-brand-600); color: #fff; }
.page-btn--active:hover { background: var(--color-brand-700); }

/* skeletons */
.skel { display: inline-block; background: linear-gradient(90deg, var(--color-surface-2) 25%, var(--color-border-subtle) 37%, var(--color-surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius-sm); vertical-align: middle; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.htmx-request .skel-wrap { display: block; }
.htmx-indicator { opacity: 0; transition: opacity .18s ease; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; }

/* empty state */
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-12) var(--space-6); text-align: center; }
.empty__art { width: 88px; height: 88px; border-radius: var(--radius-xl); background: var(--color-brand-50); color: var(--color-brand-600); display: grid; place-items: center; margin-bottom: var(--space-4); position: relative; }
.empty__art::after { content: ""; position: absolute; inset: -8px; border: 1px dashed var(--color-brand-100); border-radius: calc(var(--radius-xl) + 6px); }
.empty__title { font-size: var(--text-h2); line-height: var(--lh-h2); font-weight: 600; }
.empty__desc { color: var(--color-text-3); font-size: var(--text-small); margin-top: var(--space-1); max-width: 44ch; }
.empty__actions { display: flex; gap: var(--space-2); margin-top: var(--space-4); }

/* ---------------------------------------------------------------- tabs */
.tabs { display: inline-flex; align-items: center; gap: 2px; padding: 3px; background: var(--color-surface-2); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); }
.tab { padding: 6px var(--space-3); border-radius: var(--radius-sm); font-size: var(--text-small); font-weight: 600; color: var(--color-text-3); }
.tab:hover { color: var(--color-text); }
.tab--active { background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-xs); }
.tabs-under { display: flex; align-items: center; gap: var(--space-5); border-bottom: 1px solid var(--color-border); }
.tab-under { padding: var(--space-3) 0; font-size: var(--text-small); font-weight: 600; color: var(--color-text-3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-under--active { color: var(--color-brand-700); border-bottom-color: var(--color-brand-600); }

/* ---------------------------------------------------------------- floor plan */
.floor-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--panel-width); gap: var(--space-5); align-items: start; }
.map-card { overflow: hidden; }
.map-toolbar { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border-subtle); background: var(--color-surface); flex-wrap: wrap; }
.map-toolbar__title { font-size: var(--text-small); font-weight: 600; margin-right: auto; display: flex; align-items: center; gap: 6px; }
.map-toolbar__group { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 2px; }
.map-toolbar__group .btn { border: 0; height: 28px; }
.map-viewport {
  position: relative; background: var(--color-bg); min-height: 620px; overflow: hidden; touch-action: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(17,17,20,.055) 1px, transparent 0);
  background-size: 22px 22px;
}
.map-svg { width: 100%; height: 620px; cursor: grab; user-select: none; }
.map-svg:active { cursor: grabbing; }
.map-zoom { transform-origin: 0 0; }
.blueprint { pointer-events: none; }
.bp-floor { fill: var(--color-surface); }
.bp-wall { fill: none; stroke: var(--color-border-strong); stroke-width: 2.5; }
.bp-window { stroke: var(--color-info-600); stroke-width: 3; opacity: .5; }
.bp-corridor { fill: var(--color-surface-2); }
.bp-zone { fill: transparent; stroke: var(--color-border); stroke-width: 1.2; stroke-dasharray: 5 6; }
.bp-zone-label { fill: var(--color-text-4); font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bp-desk { fill: var(--color-surface-2); stroke: var(--color-border-strong); stroke-width: 1.2; }
.bp-furniture { stroke: var(--color-border); stroke-width: 1.2; fill: none; }
.bp-room { fill: var(--color-surface-2); stroke: var(--color-border-strong); stroke-width: 1.2; }
.bp-table { fill: var(--color-surface); stroke: var(--color-border); stroke-width: 1.2; }
.bp-office { fill: var(--color-surface-2); stroke: var(--color-border-strong); stroke-width: 1.2; }
.space-shape { cursor: pointer; transition: filter .12s ease; }
.space-shape:hover { filter: drop-shadow(0 2px 5px rgba(17,17,20,.18)); }
.space-shape:focus-visible { outline: none; }
.space-shape:focus-visible .space-poly { stroke-width: 3.5; }
.space-poly { stroke-width: 1.5; transition: fill .2s ease, stroke .2s ease; }
.space--available .space-poly { fill: var(--color-success-50); stroke: var(--color-success-600); fill-opacity: .82; }
.space--booked .space-poly { fill: var(--color-danger-50); stroke: var(--color-danger-600); fill-opacity: .88; }
.space--checkedin .space-poly { fill: var(--color-info-50); stroke: var(--color-info-600); fill-opacity: .9; }
.space--pending .space-poly { fill: var(--color-warning-50); stroke: var(--color-warning-600); stroke-dasharray: 5 4; fill-opacity: .9; }
.space--assigned .space-poly { fill: var(--color-brand-50); stroke: var(--color-brand-600); fill-opacity: .9; }
.space--assigned-pending .space-poly { fill: var(--color-warning-50); stroke: var(--color-brand-600); stroke-dasharray: 5 4; }
.space--restricted .space-poly { fill: var(--color-surface-2); stroke: var(--color-border); stroke-dasharray: 4 4; fill-opacity: .9; }
.space--selected .space-poly { stroke-width: 3; filter: drop-shadow(0 0 0.5px var(--color-text)); }
.space-badge { pointer-events: none; }
.space-badge__pill { fill: var(--color-surface); stroke: var(--color-border); stroke-width: 1; }
.space-badge__text { font-family: var(--font-mono); font-size: 10px; font-weight: 500; fill: var(--color-text-2); }
.space-badge__dot--available { fill: var(--color-success-600); }
.space-badge__dot--booked { fill: var(--color-danger-600); }
.space-badge__dot--checkedin { fill: var(--color-info-600); }
.space-badge__dot--pending { fill: var(--color-warning-600); }
.space-badge__dot--assigned { fill: var(--color-brand-600); }
.space-badge__dot--restricted { fill: var(--color-text-4); }
.space-code { font-family: var(--font-mono); font-size: 9px; fill: var(--color-text-4); font-weight: 500; }
.map-legend {
  position: absolute; left: var(--space-4); bottom: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-3);
  padding: var(--space-2) var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm); font-size: 10px; color: var(--color-text-2); max-width: calc(100% - 32px);
}
.legend-item { display: flex; align-items: center; gap: 5px; }
.legend-dot { width: 8px; height: 8px; border-radius: 3px; border: 1.5px solid; }
.legend-dot--available { background: var(--color-success-50); border-color: var(--color-success-600); }
.legend-dot--booked { background: var(--color-danger-50); border-color: var(--color-danger-600); }
.legend-dot--checkedin { background: var(--color-info-50); border-color: var(--color-info-600); }
.legend-dot--pending { background: var(--color-warning-50); border-color: var(--color-warning-600); }
.legend-dot--assigned { background: var(--color-brand-50); border-color: var(--color-brand-600); }
.legend-dot--restricted { background: var(--color-surface-2); border-color: var(--color-border-strong); }
.map-hint { position: absolute; right: var(--space-4); bottom: var(--space-4); font-size: 10px; color: var(--color-text-3); background: var(--color-surface); border: 1px solid var(--color-border); padding: 4px 8px; border-radius: var(--radius-sm); }
.map-loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(247,247,248,.6); backdrop-filter: blur(1px); z-index: 5; }

.panel { position: sticky; top: calc(var(--topbar-height) + var(--space-5)); display: flex; flex-direction: column; gap: var(--space-3); }
.panel .card { overflow: hidden; }
.panel-empty { padding: var(--space-10) var(--space-6); text-align: center; }
.panel-empty__icon { width: 56px; height: 56px; border-radius: var(--radius-lg); background: var(--color-brand-50); color: var(--color-brand-600); display: grid; place-items: center; margin: 0 auto var(--space-3); }
.panel-head { padding: var(--space-4) var(--space-5) var(--space-3); border-bottom: 1px solid var(--color-border-subtle); }
.panel-head__kicker { font-family: var(--font-mono); font-size: 11px; color: var(--color-text-3); display: flex; align-items: center; gap: 6px; }
.panel-head__title { font-size: var(--text-h2); line-height: var(--lh-h2); font-weight: 700; margin-top: 2px; letter-spacing: -0.01em; }
.panel-head__meta { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.panel-body { padding: var(--space-4) var(--space-5); }
.panel-section { padding: var(--space-4) 0; border-top: 1px solid var(--color-border-subtle); }
.panel-section:first-child { border-top: 0; padding-top: 0; }
.panel-section__title { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--color-text-3); margin-bottom: var(--space-2); }
.detail-list { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); font-size: var(--text-small); }
.detail-list dt { color: var(--color-text-3); }
.detail-list dd { margin: 0; color: var(--color-text-2); font-weight: 500; text-align: right; }
.seat-preview { height: 132px; border-radius: var(--radius-md); background: var(--color-surface-2); border: 1px solid var(--color-border-subtle); display: grid; place-items: center; position: relative; }
.seat-preview__box { width: 92px; height: 46px; border-radius: var(--radius-sm); border: 1.5px solid var(--color-success-600); background: var(--color-success-50); display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--color-text-2); }
.seat-preview__tag { position: absolute; bottom: var(--space-2); font-size: 10px; color: var(--color-text-3); }

/* ---------------------------------------------------------------- booking / lists */
.booking-card { display: flex; gap: var(--space-4); padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.booking-card__time { min-width: 92px; font-family: var(--font-mono); font-size: var(--text-small); color: var(--color-text-2); }
.booking-card__time b { display: block; color: var(--color-text); font-weight: 500; }
.booking-card__body { min-width: 0; flex: 1 1 auto; }
.booking-card__title { font-size: var(--text-body); font-weight: 600; }
.booking-card__meta { display: flex; flex-wrap: wrap; gap: var(--space-3); color: var(--color-text-3); font-size: var(--text-tiny); margin-top: 3px; }
.booking-card__actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
.hero-booking {
  display: flex; align-items: center; gap: var(--space-5); padding: var(--space-5);
  background: linear-gradient(110deg, var(--color-brand-50), var(--color-surface) 62%);
  border: 1px solid var(--color-brand-100); border-radius: var(--radius-lg); position: relative; overflow: hidden;
}
.hero-booking::after { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--color-brand-100); opacity: .45; }
.hero-booking__icon { width: 52px; height: 52px; border-radius: var(--radius-lg); background: var(--color-brand-600); color: #fff; display: grid; place-items: center; flex: 0 0 auto; box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.hero-booking__body { min-width: 0; flex: 1 1 auto; position: relative; z-index: 1; }
.hero-booking__kicker { color: var(--color-brand-700); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-booking__title { font-size: var(--text-h2); line-height: var(--lh-h2); font-weight: 700; margin-top: 2px; }
.hero-booking__meta { color: var(--color-text-2); font-size: var(--text-small); margin-top: 3px; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-booking__actions { position: relative; z-index: 1; display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: flex-end; }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.quick-card { display: flex; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); transition: border-color .14s ease, background .14s ease; }
.quick-card:hover { border-color: var(--color-brand-600); background: var(--color-brand-50); }
.quick-card__icon { width: 34px; height: 34px; border-radius: var(--radius-md); background: var(--color-surface-2); color: var(--color-text-2); display: grid; place-items: center; }
.quick-card:hover .quick-card__icon { background: var(--color-surface); color: var(--color-brand-600); }
.quick-card__title { font-weight: 600; font-size: var(--text-small); }
.quick-card__desc { color: var(--color-text-3); font-size: var(--text-tiny); margin-top: 2px; }

/* ---------------------------------------------------------------- analytics */
.chart-card { padding: var(--space-5) var(--space-6); }
.chart-svg { width: 100%; height: 240px; }
.chart-grid { stroke: var(--color-border-subtle); stroke-width: 1; }
.chart-bar { fill: var(--color-brand-600); rx: 4; }
.chart-bar--muted { fill: var(--color-brand-100); }
.chart-label { fill: var(--color-text-3); font-size: 10px; font-family: var(--font-mono); }
.chart-axis { fill: var(--color-text-4); font-size: 10px; font-family: var(--font-mono); }
.chart-legend { display: flex; gap: var(--space-4); font-size: var(--text-tiny); color: var(--color-text-3); }
.chart-legend__swatch { width: 10px; height: 10px; border-radius: 3px; background: var(--color-brand-600); }
.insight { display: flex; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface-2); border: 1px solid var(--color-border-subtle); font-size: var(--text-small); color: var(--color-text-2); }
.insight .icon { color: var(--color-brand-600); margin-top: 1px; }

/* ---------------------------------------------------------------- drawers / modal */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(17,17,20,.36); z-index: 80; backdrop-filter: blur(2px); display: flex; justify-content: flex-end; animation: fadeIn .16s ease; }
.drawer { width: min(560px, 100%); height: 100%; background: var(--color-surface); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slideIn .22s cubic-bezier(.22,1,.36,1); }
.drawer--wide { width: min(760px, 100%); }
.drawer__head { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--color-border); }
.drawer__title { font-size: var(--text-h1); line-height: var(--lh-h1); font-weight: 700; }
.drawer__subtitle { color: var(--color-text-3); font-size: var(--text-small); margin-top: 2px; }
.drawer__close { margin-left: auto; }
.drawer__body { flex: 1 1 auto; overflow-y: auto; padding: var(--space-5) var(--space-6); }
.drawer__foot { border-top: 1px solid var(--color-border); padding: var(--space-4) var(--space-6); background: var(--color-surface-2); display: flex; align-items: center; gap: var(--space-2); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(24px); opacity: .4; } }

/* ---------------------------------------------------------------- toast */
#toast-region { position: fixed; right: var(--space-6); bottom: var(--space-6); z-index: 100; display: flex; flex-direction: column; gap: var(--space-2); max-width: 380px; }
.toast { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--color-text); color: #fff; box-shadow: var(--shadow-lg); font-size: var(--text-small); animation: toastIn .2s ease; }
.toast__icon { flex: 0 0 auto; margin-top: 1px; }
.toast--success .toast__icon { color: var(--color-success-600); }
.toast--danger .toast__icon { color: var(--color-danger-600); }
.toast--warning .toast__icon { color: var(--color-warning-600); }
.toast__close { margin-left: auto; background: transparent; border: 0; color: var(--color-text-4); padding: 0; }
@keyframes toastIn { from { transform: translateY(8px); opacity: 0; } }

/* ---------------------------------------------------------------- login */
.auth {
  min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1fr) minmax(520px, 1.1fr);
  background: var(--color-surface);
}
.auth__brand {
  position: relative; overflow: hidden; padding: var(--space-12); color: #fff;
  background: linear-gradient(145deg, #7A130F 0%, var(--color-brand-700) 42%, var(--color-brand-600) 100%);
  display: flex; flex-direction: column; justify-content: space-between;
}
.auth__brand::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.16) 1px, transparent 0);
  background-size: 26px 26px; opacity: .5;
}
.auth__brand::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: rgba(255,255,255,.07); right: -180px; bottom: -160px; box-shadow: 0 0 0 40px rgba(255,255,255,.04), 0 0 0 90px rgba(255,255,255,.025);
}
.auth__logo { display: flex; align-items: center; gap: var(--space-3); position: relative; z-index: 1; }
.auth__logo-mark { width: 44px; height: 44px; border-radius: var(--radius-md); background: #fff; color: var(--color-brand-700); display: grid; place-items: center; }
.auth__logo-name { font-size: var(--text-h2); font-weight: 700; letter-spacing: -0.02em; }
.auth__logo-sub { font-size: var(--text-tiny); opacity: .72; }
.auth__pitch { position: relative; z-index: 1; max-width: 520px; }
.auth__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.auth__headline { font-size: 44px; line-height: 52px; font-weight: 700; letter-spacing: -0.03em; margin-top: var(--space-3); }
.auth__copy { opacity: .82; margin-top: var(--space-4); font-size: var(--text-body); line-height: 22px; max-width: 46ch; }
.auth__features { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-8); }
.auth__feature { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-small); opacity: .9; }
.auth__feature-icon { width: 30px; height: 30px; border-radius: var(--radius-md); background: rgba(255,255,255,.14); display: grid; place-items: center; }
.auth__foot { position: relative; z-index: 1; display: flex; gap: var(--space-4); font-size: 11px; opacity: .6; }
.auth__panel { display: flex; align-items: center; justify-content: center; padding: var(--space-12); background: var(--color-bg); }
.auth__card { width: 100%; max-width: 420px; }
.auth__card-title { font-size: var(--text-display); line-height: var(--lh-display); font-weight: 700; letter-spacing: -0.02em; }
.auth__card-sub { color: var(--color-text-2); margin-top: var(--space-2); margin-bottom: var(--space-8); }
.auth__demo { margin-top: var(--space-6); border: 1px dashed var(--color-border); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); background: var(--color-surface); }
.auth__demo-title { font-size: var(--text-tiny); font-weight: 700; color: var(--color-text-3); text-transform: uppercase; letter-spacing: .06em; }
.auth__demo-row { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--text-tiny); padding-top: var(--space-2); color: var(--color-text-3); }
.auth__demo-row code { font-family: var(--font-mono); color: var(--color-text-2); }

/* ---------------------------------------------------------------- detail bits */
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface); }
.stat-strip__item { padding: var(--space-3) var(--space-4); border-left: 1px solid var(--color-border-subtle); }
.stat-strip__item:first-child { border-left: 0; }
.stat-strip__label { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-3); font-weight: 700; }
.stat-strip__value { font-family: var(--font-mono); font-size: var(--text-h3); margin-top: 3px; font-weight: 500; }
.alert-row { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--color-warning-600); background: var(--color-warning-50); border-radius: var(--radius-md); color: var(--color-warning-600); font-size: var(--text-small); }
.integration-card { display: flex; flex-direction: column; }
.integration-card__head { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-5); border-bottom: 1px solid var(--color-border-subtle); }
.integration-card__logo { width: 40px; height: 40px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--color-surface-2); }
.integration-card__body { padding: var(--space-4) var(--space-5); flex: 1 1 auto; }
.integration-card__foot { padding: var(--space-3) var(--space-5); border-top: 1px solid var(--color-border-subtle); background: var(--color-surface-2); display: flex; align-items: center; gap: var(--space-2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.code-block { font-family: var(--font-mono); font-size: var(--text-tiny); background: var(--color-text); color: #E7E7EA; padding: var(--space-3); border-radius: var(--radius-md); overflow-x: auto; white-space: pre; line-height: 18px; }
.code-inline { font-family: var(--font-mono); font-size: .92em; background: var(--color-surface-2); border: 1px solid var(--color-border-subtle); border-radius: 4px; padding: 1px 5px; }
.divider { height: 1px; background: var(--color-border-subtle); margin: var(--space-4) 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.mt-1 { margin-top: var(--space-1); } .mt-2 { margin-top: var(--space-2); } .mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); }
.mb-2 { margin-bottom: var(--space-2); } .mb-3 { margin-bottom: var(--space-3); } .mb-4 { margin-bottom: var(--space-4); }
.w-full { width: 100%; }

/* room editor */
.editor-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.editor-side { display: flex; flex-direction: column; gap: var(--space-3); }
.editor-canvas { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.editor-canvas svg { width: 100%; height: 580px; cursor: crosshair; }
.editor-rect { fill: rgba(225,37,27,.10); stroke: var(--color-brand-600); stroke-width: 2; stroke-dasharray: 5 4; }
.editor-node { fill: var(--color-brand-600); stroke: #fff; stroke-width: 2; cursor: pointer; }
.editor-ghost { fill: var(--color-surface-2); stroke: var(--color-border); stroke-dasharray: 4 4; }

/* responsive */
@media (max-width: 1240px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .floor-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--shadow-lg); }
  body.nav-open .sidebar { transform: none; }
  .main { margin-left: 0; }
  .nav-toggle { display: inline-flex !important; }
  .page { padding: var(--space-5); }
  .topbar { padding: 0 var(--space-5); }
  .floor-layout { grid-template-columns: 1fr; }
  .panel { position: static; }
  .auth { grid-template-columns: 1fr; }
  .auth__brand { display: none; }
  .auth__panel { padding: var(--space-6); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .page { padding: var(--space-4); }
  .topbar { padding: 0 var(--space-4); gap: var(--space-2); }
  .page-header { flex-wrap: wrap; }
  .page-header__actions { width: 100%; justify-content: flex-start; }
  .kpi-grid, .quick-grid, .grid-2, .grid-3, .grid-4, .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
  .filter-grid, .filter-grid--3 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip__item:nth-child(3) { border-left: 0; border-top: 1px solid var(--color-border-subtle); }
  .stat-strip__item:nth-child(4) { border-top: 1px solid var(--color-border-subtle); }
  .crumbs { display: none; }
  .map-svg { height: 440px; }
  .floor-layout { gap: var(--space-3); }
  .hero-booking { flex-wrap: wrap; }
  .hero-booking__actions { width: 100%; }
  .table th, .table td { padding: var(--space-2) var(--space-3); }
  .sidebar__user { padding: var(--space-3); }
}
.nav-toggle { display: none; }

/* ---------------------------------------------------------------- mobile v2 */
body.mobile {
  --sc-m-red: #AF272F; --sc-m-red-deep: #701521; --sc-m-red-bright: #CB333B;
  --sc-m-red-50: #FFEEEF; --sc-m-red-100: #FFD8DC; --sc-m-red-200: #F3545A;
  --sc-m-ink: #091E42; --sc-m-ink-2: #1D2939; --sc-m-ink-3: #4D4D4D; --sc-m-ink-4: #667085; --sc-m-ink-5: #A7A8AA;
  --sc-m-bg: #F2F4F7; --sc-m-surface: #FFFFFF; --sc-m-line: #EBECF0; --sc-m-line-2: #F2F4F7; --sc-m-line-3: #D0D5DD;
  --sc-m-success: #0EAE61; --sc-m-warn: #DD632C; --sc-m-info: #2F8DA6; --sc-m-danger: #CB333B;
  --sc-m-shadow: 0 8px 24px rgba(9,30,66,.10);
  --sc-m-font: "Poppins", sans-serif;
  background: var(--sc-m-bg); font-family: var(--sc-m-font); color: var(--sc-m-ink);
}
.m-app { max-width: 430px; margin: 0 auto; min-height: 100vh; background: var(--sc-m-bg); position: relative; padding-bottom: 84px; }
.m-topbar { background: var(--sc-m-red); color: #fff; padding: 18px 20px 0; border-radius: 0 0 22px 22px; position: relative; overflow: hidden; }
.m-topbar::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.08); right: -70px; top: -90px; }
.m-status { display: flex; align-items: center; justify-content: space-between; font-size: 11px; opacity: .85; font-weight: 500; }
.m-topbar__row { display: flex; align-items: center; gap: 12px; padding: 18px 0 22px; position: relative; z-index: 1; }
.m-topbar__back { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; border: 0; }
.m-topbar__title { font-size: 17px; font-weight: 600; line-height: 24px; }
.m-topbar__sub { font-size: 11px; opacity: .78; }
.m-topbar__action { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; color: #fff; }
.m-content { padding: 16px; display: flex; flex-direction: column; gap: 14px; margin-top: -6px; }
.m-card { background: var(--sc-m-surface); border-radius: 16px; box-shadow: var(--sc-m-shadow); padding: 16px; }
.m-card--flush { padding: 0; overflow: hidden; }
.m-greeting { font-size: 12px; color: var(--sc-m-ink-4); }
.m-name { font-size: 20px; font-weight: 600; line-height: 28px; }
.m-emp { font-family: var(--font-mono); font-size: 11px; color: var(--sc-m-ink-4); }
.m-pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 500; background: var(--sc-m-line-2); color: var(--sc-m-ink-3); }
.m-pill--success { background: #E7F8F0; color: var(--sc-m-success); }
.m-pill--warn { background: #FFF1EA; color: var(--sc-m-warn); }
.m-pill--danger { background: var(--sc-m-red-50); color: var(--sc-m-danger); }
.m-pill--info { background: #E9F6F9; color: var(--sc-m-info); }
.m-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--sc-m-red); color: #fff; font-family: var(--sc-m-font); font-size: 14px; font-weight: 600; width: 100%; box-shadow: 0 8px 18px rgba(175,39,47,.25); }
.m-btn:active { background: var(--sc-m-red-deep); }
.m-btn--ghost { background: var(--sc-m-surface); color: var(--sc-m-red); border: 1.5px solid var(--sc-m-red-100); box-shadow: none; }
.m-btn--sm { height: 38px; font-size: 12px; width: auto; padding: 0 16px; }
.m-booking-hero { background: linear-gradient(135deg, var(--sc-m-red) 0%, #C2373F 100%); color: #fff; border-radius: 20px; padding: 20px; position: relative; overflow: hidden; box-shadow: 0 12px 28px rgba(175,39,47,.28); }
.m-booking-hero::after { content: ""; position: absolute; right: -40px; bottom: -70px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.09); }
.m-booking-hero__kicker { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; opacity: .78; font-weight: 600; }
.m-booking-hero__title { font-size: 19px; font-weight: 600; margin-top: 4px; }
.m-booking-hero__time { font-family: var(--font-mono); font-size: 13px; margin-top: 6px; opacity: .9; }
.m-booking-hero__actions { display: flex; gap: 8px; margin-top: 16px; position: relative; z-index: 1; }
.m-booking-hero__actions .m-btn { background: #fff; color: var(--sc-m-red); box-shadow: none; }
.m-booking-hero__actions .m-btn--ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.m-section-title { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--sc-m-ink); margin-bottom: 10px; }
.m-section-title a { color: var(--sc-m-red); font-size: 11px; font-weight: 500; }
.m-room { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--sc-m-line-2); }
.m-room:last-child { border-bottom: 0; }
.m-room__thumb { width: 48px; height: 48px; border-radius: 12px; background: var(--sc-m-red-50); color: var(--sc-m-red); display: grid; place-items: center; flex: 0 0 auto; }
.m-room__title { font-size: 13px; font-weight: 600; }
.m-room__meta { font-size: 11px; color: var(--sc-m-ink-4); margin-top: 2px; }
.m-room__right { margin-left: auto; text-align: right; }
.m-timeline { position: relative; padding-left: 20px; }
.m-timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--sc-m-line); }
.m-timeline__item { position: relative; padding-bottom: 18px; }
.m-timeline__dot { position: absolute; left: -20px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--sc-m-red); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--sc-m-red-100); }
.m-timeline__time { font-family: var(--font-mono); font-size: 11px; color: var(--sc-m-ink-4); }
.m-timeline__title { font-size: 13px; font-weight: 600; margin-top: 1px; }
.m-timeline__meta { font-size: 11px; color: var(--sc-m-ink-4); }
.m-bottomnav { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 430px; background: var(--sc-m-surface); border-top: 1px solid var(--sc-m-line); display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px 18px; z-index: 20; }
.m-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; color: var(--sc-m-ink-4); padding: 4px; border-radius: 12px; }
.m-nav-item--active { color: var(--sc-m-red); font-weight: 600; }
.m-nav-item--active .m-nav-icon { background: var(--sc-m-red-50); }
.m-nav-icon { width: 40px; height: 26px; border-radius: 999px; display: grid; place-items: center; }
.m-tabs { display: flex; background: var(--sc-m-line-2); border-radius: 999px; padding: 4px; }
.m-tabs__item { flex: 1; text-align: center; font-size: 12px; font-weight: 500; color: var(--sc-m-ink-4); padding: 7px 0; border-radius: 999px; }
.m-tabs__item--active { background: var(--sc-m-surface); color: var(--sc-m-ink); box-shadow: 0 2px 6px rgba(9,30,66,.08); }
.m-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.m-field__label { font-size: 12px; font-weight: 500; color: var(--sc-m-ink-3); }
.m-input { height: 48px; border-radius: 12px; border: 1px solid var(--sc-m-line-3); padding: 0 14px; background: var(--sc-m-surface); font-family: var(--sc-m-font); font-size: 14px; color: var(--sc-m-ink); width: 100%; }
.m-input:focus { outline: none; border-color: var(--sc-m-red); box-shadow: 0 0 0 3px var(--sc-m-red-50); }
.m-check { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--sc-m-ink-3); line-height: 18px; }
.m-check input { width: 20px; height: 20px; accent-color: var(--sc-m-red); margin: 0; }
.m-step { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.m-step__item { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.m-step__bar { height: 3px; border-radius: 999px; background: var(--sc-m-line-3); }
.m-step__item--active .m-step__bar { background: var(--sc-m-red); }
.m-step__item--done .m-step__bar { background: var(--sc-m-success); }
.m-step__label { font-size: 9px; color: var(--sc-m-ink-4); }
.m-step__item--active .m-step__label { color: var(--sc-m-red); font-weight: 600; }
.m-empty { text-align: center; padding: 28px 16px; }
.m-empty__art { width: 72px; height: 72px; border-radius: 50%; background: var(--sc-m-red-50); color: var(--sc-m-red); display: grid; place-items: center; margin: 0 auto 12px; }
.m-empty__title { font-size: 14px; font-weight: 600; }
.m-empty__desc { font-size: 12px; color: var(--sc-m-ink-4); margin-top: 4px; }
.m-map { height: 320px; border-radius: 16px; overflow: hidden; background: var(--sc-m-surface); box-shadow: var(--sc-m-shadow); }
.m-map svg { width: 100%; height: 100%; }
.m-sheet { background: var(--sc-m-surface); border-radius: 20px 20px 0 0; padding: 10px 16px 18px; box-shadow: 0 -8px 30px rgba(9,30,66,.12); }
.m-sheet__handle { width: 38px; height: 4px; border-radius: 999px; background: var(--sc-m-line-3); margin: 0 auto 12px; }

/* kiosk */
body.kiosk { background: #F2F4F7; font-family: "Poppins", sans-serif; }
.kiosk-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 0.9fr) minmax(520px, 1.1fr); }
.kiosk-brand { position: relative; background: linear-gradient(150deg, #5E0F14 0%, #8E1B24 50%, #AF272F 100%); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.kiosk-brand::after { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; right: -180px; bottom: -140px; background: rgba(255,255,255,.08); }
.kiosk-logo { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.kiosk-logo__mark { width: 52px; height: 52px; border-radius: 14px; background: #fff; color: #AF272F; display: grid; place-items: center; }
.kiosk-headline { font-size: 42px; line-height: 50px; font-weight: 700; letter-spacing: -0.02em; position: relative; z-index: 1; }
.kiosk-copy { opacity: .8; margin-top: 16px; max-width: 42ch; font-size: 15px; line-height: 24px; }
.kiosk-panel { display: flex; align-items: center; justify-content: center; padding: 48px; }
.kiosk-card { width: 100%; max-width: 520px; background: #fff; border-radius: 24px; box-shadow: 0 24px 60px rgba(9,30,66,.14); padding: 36px; }
.kiosk-title { font-size: 24px; font-weight: 700; color: #091E42; }
.kiosk-sub { color: #667085; font-size: 14px; margin-top: 6px; }
.kiosk-input { height: 54px; border-radius: 14px; border: 1px solid #D0D5DD; padding: 0 16px; width: 100%; margin-top: 14px; font-size: 15px; background: #fff; }
.kiosk-input:focus { outline: none; border-color: #AF272F; box-shadow: 0 0 0 4px #FFEEEF; }
.kiosk-btn { height: 54px; border-radius: 999px; width: 100%; border: 0; background: #AF272F; color: #fff; font-size: 15px; font-weight: 600; margin-top: 16px; }
.kiosk-btn:hover { background: #701521; }
.kiosk-success { text-align: center; padding: 16px 0; }
.kiosk-success__icon { width: 88px; height: 88px; border-radius: 50%; background: #E7F8F0; color: #0EAE61; display: grid; place-items: center; margin: 0 auto 18px; }
.kiosk-pass { font-family: var(--font-mono); font-size: 26px; letter-spacing: .04em; color: #AF272F; margin-top: 8px; }
@media (max-width: 900px) {
  .kiosk-shell { grid-template-columns: 1fr; }
  .kiosk-brand { display: none; }
  .kiosk-panel { padding: 20px; }
  .kiosk-card { padding: 24px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
