:root {
  color-scheme: light;
  --brand: #f4742a;
  --brand-2: #fb9136;
  --brand-deep: #d95817;
  --brand-soft: #fff0e5;
  --brand-cream: #f4f2eb;
  --bg: #f6f4ef;
  --surface: rgba(255,255,255,.86);
  --surface-solid: #fffefd;
  --text: #171719;
  --secondary: #6f6e72;
  --tertiary: #98979c;
  --line: rgba(60,60,67,.12);
  --green: #34c759;
  --green-soft: #edf9f0;
  --red: #ff3b30;
  --red-soft: #fff0ee;
  --shadow: 0 12px 34px rgba(52,39,28,.06);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --nav-h: 72px;
}
* { box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html { background:var(--bg); }
body {
  margin:0; min-height:100vh; background:var(--bg); color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue",Arial,sans-serif;
  font-size:16px; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
a { color:inherit; text-decoration:none; }
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid rgba(244,116,42,.25); outline-offset:2px; }
.app-shell { min-height:100vh; padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + 20px); }
.page { width:min(100%,760px); margin:0 auto; padding:0 14px 28px; }
.topbar {
  position:sticky; top:0; z-index:20; margin:0 -14px;
  padding:calc(7px + env(safe-area-inset-top)) 14px 7px;
  min-height:52px; display:flex; align-items:center;
  background:rgba(246,244,239,.86); border-bottom:1px solid rgba(60,60,67,.07);
  backdrop-filter:blur(26px) saturate(160%); -webkit-backdrop-filter:blur(26px) saturate(160%);
}
.brand { display:flex; align-items:center; gap:9px; min-width:0; }
.brand-mark { width:34px; height:34px; object-fit:contain; flex:none; border-radius:10px; box-shadow:0 4px 10px rgba(71,50,33,.07); }
.brand-copy { min-width:0; display:flex; align-items:baseline; gap:7px; white-space:nowrap; overflow:hidden; }
.brand-copy strong { font-size:16px; font-weight:800; letter-spacing:-.03em; }
.brand-copy small { color:var(--secondary); font-size:11px; font-weight:600; overflow:hidden; text-overflow:ellipsis; }
.header { padding:20px 2px 12px; }
.today-header { padding-bottom:10px; }
.eyebrow { margin:0 0 5px; color:var(--secondary); font-size:12px; font-weight:700; text-transform:none; }
h1 { margin:0; font-size:32px; line-height:1.04; letter-spacing:-.045em; }
h2 { margin:0; font-size:21px; letter-spacing:-.025em; }
h3 { margin:0; font-size:17px; }
.subtitle { margin:6px 0 0; color:var(--secondary); font-size:13px; line-height:1.42; }
.compact-summary {
  display:flex; gap:0; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none;
  margin:0 0 15px; padding:0 2px; background:var(--surface-solid); border:1px solid rgba(60,60,67,.07);
  border-radius:16px; box-shadow:0 4px 18px rgba(52,39,28,.035);
}
.compact-summary::-webkit-scrollbar { display:none; }
.compact-summary .metric { min-width:max-content; background:transparent; border:0; box-shadow:none; border-radius:0; padding:10px 12px; position:relative; }
.compact-summary .metric + .metric::before { content:""; position:absolute; left:0; top:11px; bottom:11px; width:1px; background:var(--line); }
.compact-summary .metric-value { font-size:14px; font-weight:800; }
.compact-summary .metric-label { display:inline; margin-left:4px; font-size:10px; }
.summary-strip { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:2px 0 16px; }
.metric { background:var(--surface-solid); border:1px solid rgba(60,60,67,.06); border-radius:16px; padding:12px; box-shadow:0 3px 14px rgba(52,39,28,.025); }
.metric-value { display:block; font-size:19px; font-weight:780; letter-spacing:-.03em; }
.metric-label { display:block; color:var(--secondary); font-size:10px; font-weight:650; margin-top:3px; }
.section-row { display:flex; align-items:end; justify-content:space-between; gap:12px; margin:16px 2px 8px; }
.section-row small { color:var(--secondary); font-size:11px; }
.reservation-list { overflow:hidden; background:var(--surface-solid); border:1px solid rgba(60,60,67,.07); border-radius:18px; box-shadow:0 4px 18px rgba(52,39,28,.035); }
.reservation-row {
  width:100%; min-height:66px; display:grid; grid-template-columns:50px minmax(0,1fr) auto; gap:9px;
  align-items:center; padding:8px 10px; background:var(--surface-solid); border-bottom:1px solid var(--line);
  color:inherit; text-align:left; transition:background .12s ease;
}
.reservation-row:last-child { border-bottom:0; }
.reservation-row:active { background:#faf7f2; }
.row-time { align-self:start; padding-top:2px; color:var(--text); font-size:14px; line-height:1.25; font-weight:800; font-variant-numeric:tabular-nums; }
.reservation-main { min-width:0; }
.reservation-name { min-width:0; display:flex; align-items:center; gap:6px; }
.reservation-name strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; line-height:1.25; letter-spacing:-.012em; }
.new-dot { width:7px; height:7px; border-radius:50%; flex:none; background:var(--brand); box-shadow:0 0 0 3px var(--brand-soft); }
.reservation-meta { display:flex; gap:0; min-width:0; margin-top:4px; color:var(--secondary); font-size:10.5px; white-space:nowrap; overflow:hidden; }
.reservation-meta span { overflow:hidden; text-overflow:ellipsis; }
.reservation-meta span + span::before { content:"·"; margin:0 5px; color:#bbb7b0; }
.money-line { display:flex; flex-wrap:wrap; gap:5px; margin-top:5px; }
.money-tag { display:inline-flex; align-items:center; min-height:18px; padding:2px 6px; border-radius:999px; font-size:9px; font-weight:750; }
.money-tag.deposit { background:var(--brand-soft); color:var(--brand-deep); }
.money-tag.paid { background:var(--green-soft); color:#1c7b38; }
.reservation-trailing { display:flex; align-items:center; gap:3px; min-width:0; }
.reservation-trailing .chevron svg { width:14px; height:14px; }
.badge { display:inline-flex; align-items:center; gap:4px; min-height:20px; border-radius:999px; padding:3px 7px; font-size:9.5px; font-weight:800; white-space:nowrap; }
.badge.new { background:var(--brand); color:#fff; }
.badge.pending { background:#f0efec; color:#67666a; }
.badge.approved { background:var(--brand-soft); color:var(--brand-deep); }
.badge.arrived { background:var(--green-soft); color:#187837; }
.badge.cancelled,.badge.rejected,.badge.deleted { background:var(--red-soft); color:#bc2b23; }
.badge.deposit { background:var(--brand-soft); color:var(--brand-deep); }
.action-btn { min-height:46px; border:0; border-radius:14px; padding:0 14px; font-weight:760; background:#f0efec; color:var(--text); flex:1; }
.action-btn.primary { background:linear-gradient(180deg,var(--brand-2),var(--brand)); color:#fff; box-shadow:0 6px 16px rgba(244,116,42,.2); }
.action-btn.success { background:var(--green); color:#fff; }
.action-btn.danger { background:var(--red-soft); color:#be2d25; }
.empty { text-align:center; padding:38px 20px; background:rgba(255,255,255,.58); border-radius:var(--radius-lg); color:var(--secondary); }
.empty-icon { width:48px; height:48px; margin:0 auto 11px; border-radius:15px; display:grid; place-items:center; background:#fff; color:var(--brand); box-shadow:var(--shadow); }
.bottom-nav {
  position:fixed; left:50%; transform:translateX(-50%); bottom:0; z-index:40;
  width:min(100%,760px); min-height:calc(var(--nav-h) + env(safe-area-inset-bottom));
  display:grid; grid-template-columns:repeat(5,1fr); align-items:start;
  padding:8px 6px calc(6px + env(safe-area-inset-bottom));
  background:rgba(252,251,248,.91); border-top:1px solid rgba(60,60,67,.1);
  backdrop-filter:blur(30px) saturate(165%); -webkit-backdrop-filter:blur(30px) saturate(165%);
}
.nav-btn { min-height:56px; border:0; background:transparent; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:3px; color:var(--secondary); font-size:9.5px; font-weight:650; border-radius:14px; padding:4px 2px; }
.nav-btn svg { width:21px; height:21px; }
.nav-btn.active { color:var(--brand); }
.nav-add { position:relative; width:70px; height:70px; min-height:70px; justify-self:center; margin-top:-29px; border-radius:50%; background:linear-gradient(145deg,var(--brand-2),var(--brand)); color:#fff; border:5px solid rgba(252,251,248,.98); box-shadow:0 13px 30px rgba(244,116,42,.32),0 2px 8px rgba(45,35,27,.09); }
.nav-add span { display:block; position:absolute; top:69px; color:var(--secondary); font-size:9px; font-weight:700; white-space:nowrap; }
.nav-add svg { width:30px; height:30px; stroke-width:2.05; }
.nav-add:disabled { opacity:.35; }
.form-card,.group-card { background:var(--surface-solid); border:1px solid rgba(60,60,67,.06); border-radius:var(--radius-lg); overflow:hidden; box-shadow:0 4px 18px rgba(52,39,28,.035); margin-bottom:13px; }
.field { padding:11px 13px; border-bottom:1px solid var(--line); }
.field:last-child { border-bottom:0; }
.field label,.field-label { display:block; color:var(--secondary); font-size:11px; font-weight:700; margin-bottom:6px; }
.field input,.field select,.field textarea { width:100%; min-height:44px; border:1px solid rgba(60,60,67,.07); background:#f7f5f1; border-radius:12px; padding:10px 11px; color:var(--text); outline:none; }
.field input:focus,.field select:focus,.field textarea:focus { border-color:rgba(244,116,42,.45); background:#fff; }
.field textarea { min-height:88px; resize:vertical; }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.field-row .field { border-bottom:0; }
.segmented { display:flex; padding:3px; background:#ebe9e5; border-radius:11px; gap:2px; }
.segmented button { flex:1; min-height:36px; border:0; border-radius:9px; background:transparent; color:var(--secondary); font-size:12px; font-weight:700; padding:6px; }
.segmented button.active { background:#fff; color:var(--text); box-shadow:0 1px 4px rgba(48,40,33,.1); }
.switch-row { display:flex; justify-content:space-between; align-items:center; min-height:44px; gap:12px; }
.switch { position:relative; width:51px; height:31px; flex:none; }
.switch input { opacity:0; width:0; height:0; }
.switch span { position:absolute; inset:0; border-radius:999px; background:#d1d0cc; transition:.2s; }
.switch span:after { content:""; position:absolute; width:27px; height:27px; left:2px; top:2px; border-radius:50%; background:#fff; box-shadow:0 2px 4px rgba(0,0,0,.2); transition:.2s; }
.switch input:checked + span { background:var(--brand); }
.switch input:checked + span:after { transform:translateX(20px); }
.sticky-submit { position:sticky; bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + 10px); z-index:15; margin-top:16px; padding:0 2px; }
.primary-btn { width:100%; min-height:52px; border:0; border-radius:16px; background:linear-gradient(180deg,var(--brand-2),var(--brand)); color:#fff; font-weight:800; font-size:15px; box-shadow:0 8px 20px rgba(244,116,42,.2); }
.secondary-btn { min-height:44px; border:0; border-radius:13px; background:#fff; color:var(--brand-deep); font-weight:750; padding:0 14px; }
.danger-btn { min-height:44px; border:0; border-radius:13px; background:var(--red-soft); color:#bc2b23; font-weight:750; padding:0 14px; }
.calendar-wrap { background:#fffefd; border:1px solid rgba(60,60,67,.06); border-radius:var(--radius-lg); padding:13px; box-shadow:0 4px 18px rgba(52,39,28,.035); }
.calendar-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:11px; }
.calendar-title { font-size:17px; font-weight:800; }
.icon-btn { min-width:44px; min-height:44px; border:0; border-radius:13px; background:#f1efeb; display:grid; place-items:center; color:var(--text); }
.weekdays,.calendar-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:3px; }
.weekdays { margin-bottom:4px; }
.weekdays span { text-align:center; color:var(--tertiary); font-size:9px; font-weight:750; padding:5px 0; }
.day { min-height:56px; border:0; border-radius:12px; padding:5px 2px; background:transparent; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:2px; color:var(--text); }
.day.muted { color:#c5c3be; }
.day.today .day-number { box-shadow:inset 0 0 0 1.5px var(--brand); color:var(--brand-deep); }
.day.selected { background:var(--brand); color:#fff; }
.day.selected .day-number { color:#fff; box-shadow:none; }
.day-number { width:28px; height:28px; display:grid; place-items:center; border-radius:50%; font-size:12px; font-weight:750; }
.day-count { font-size:7.5px; line-height:1.05; text-align:center; opacity:.8; }
.search { position:relative; margin:0 0 11px; }
.search input { width:100%; min-height:44px; border:0; border-radius:13px; background:#eae8e4; padding:10px 12px 10px 37px; }
.search svg { position:absolute; left:11px; top:12px; width:19px; height:19px; color:var(--tertiary); }
.customer-row,.menu-row,.log-row,.staff-row { min-height:56px; display:flex; align-items:center; gap:11px; padding:10px 13px; background:#fffefd; border-bottom:1px solid var(--line); }
.customer-row:last-child,.menu-row:last-child,.log-row:last-child,.staff-row:last-child { border-bottom:0; }
.row-main { flex:1; min-width:0; }
.row-main strong { display:block; font-size:14px; }
.row-main small { display:block; color:var(--secondary); margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:11px; }
.row-trailing { color:var(--secondary); font-size:12px; text-align:right; }
.list-avatar { width:37px; height:37px; border-radius:12px; background:var(--brand-soft); display:grid; place-items:center; font-weight:800; color:var(--brand-deep); flex:none; }
.menu-group { border:1px solid rgba(60,60,67,.06); border-radius:var(--radius-md); overflow:hidden; box-shadow:0 4px 18px rgba(52,39,28,.025); margin-bottom:13px; background:#fffefd; }
.menu-icon { width:31px; height:31px; border-radius:9px; display:grid; place-items:center; color:#fff; flex:none; background:var(--brand); }
.menu-icon.blue,.menu-icon.orange,.menu-icon.green,.menu-icon.purple { background:var(--brand); }
.menu-icon.gray { background:#8d8a86; }
.chevron { color:#b9b6b1; }
.row-actions { display:flex; align-items:center; justify-content:flex-end; gap:5px; flex-wrap:wrap; }
.mini-action { min-height:40px; border:0; border-radius:11px; padding:0 10px; background:#f0efec; color:#3f3e41; font-size:10.5px; font-weight:700; }
.mini-action.danger-text { color:#c33028; background:var(--red-soft); }
.filters { display:grid; gap:8px; margin-bottom:11px; }
.filters.two { grid-template-columns:1fr 1fr; }
.filters input,.filters select { width:100%; min-height:44px; border:1px solid rgba(60,60,67,.06); background:#fffefd; border-radius:13px; padding:9px 10px; color:var(--text); }
.log-row { align-items:flex-start; }
.log-dot { width:8px; height:8px; border-radius:50%; background:var(--brand); margin-top:7px; flex:none; }
.log-time { color:var(--tertiary); font-size:10px; white-space:nowrap; }
.diff { margin-top:7px; padding:8px 9px; background:#f7f5f1; border-radius:10px; font-size:10px; color:var(--secondary); white-space:pre-wrap; overflow:auto; max-height:120px; }
.performance-card { background:#fffefd; border:1px solid rgba(60,60,67,.06); border-radius:17px; padding:14px; margin-bottom:9px; }
.performance-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.performance-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin-top:11px; }
.performance-grid div { background:#f7f5f1; border-radius:10px; padding:8px 5px; text-align:center; }
.performance-grid strong { display:block; font-size:14px; }
.performance-grid small { display:block; margin-top:3px; color:var(--secondary); font-size:8px; }
.sheet-backdrop { position:fixed; inset:0; z-index:80; background:rgba(28,24,21,.28); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px); display:flex; align-items:flex-end; justify-content:center; animation:fadeIn .18s ease-out; }
.sheet { width:min(100%,760px); max-height:92vh; overflow:auto; background:var(--bg); border-radius:26px 26px 0 0; padding:8px 14px calc(22px + env(safe-area-inset-bottom)); box-shadow:0 -16px 60px rgba(49,38,29,.18); animation:sheetUp .22s cubic-bezier(.22,.8,.32,1); }
.sheet-handle { width:38px; height:5px; border-radius:999px; background:#c5c2bd; margin:0 auto 12px; }
.sheet-header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:4px 2px 14px; }
.sheet-title { font-size:25px; font-weight:800; letter-spacing:-.035em; }
.name-line { display:flex; flex-wrap:wrap; align-items:center; gap:7px; min-width:0; }
.detail-section { background:#fffefd; border:1px solid rgba(60,60,67,.06); border-radius:17px; overflow:hidden; margin-bottom:11px; }
.detail-row { display:flex; justify-content:space-between; gap:16px; min-height:47px; align-items:center; padding:9px 13px; border-bottom:1px solid var(--line); }
.detail-row:last-child { border-bottom:0; }
.detail-row span:first-child { color:var(--secondary); font-size:12px; }
.detail-row strong { text-align:right; font-size:13px; }
.sheet-actions { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin-top:11px; }
.sheet-actions .full { grid-column:1/-1; }
.toast-region { position:fixed; z-index:200; top:calc(12px + env(safe-area-inset-top)); left:50%; transform:translateX(-50%); width:min(calc(100% - 28px),440px); pointer-events:none; }
.toast { background:rgba(32,28,25,.93); color:#fff; border-radius:15px; padding:11px 13px; box-shadow:0 14px 40px rgba(0,0,0,.2); backdrop-filter:blur(20px); animation:toastIn .25s ease; font-size:12px; }
.toast strong { display:block; margin-bottom:2px; }
.inline-banner { display:flex; gap:10px; align-items:center; padding:11px 12px; border-radius:14px; background:var(--brand-soft); color:#8c4218; font-size:12px; margin-bottom:12px; }
.role-chip { display:inline-flex; align-items:center; min-height:27px; padding:4px 9px; border-radius:999px; background:var(--brand-soft); font-size:10px; font-weight:750; color:var(--brand-deep); }
.demo-note { border-radius:15px; padding:11px; background:#fffefd; color:var(--secondary); font-size:11px; line-height:1.45; margin-bottom:13px; border:1px solid rgba(60,60,67,.06); }
.pin-screen {
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  padding:calc(24px + env(safe-area-inset-top)) 22px calc(22px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 0%, rgba(251,145,54,.18), transparent 40%),
    linear-gradient(180deg,#fbf9f5 0%,#f2eee7 100%);
}
.pin-panel { width:min(100%,360px); text-align:center; }
.pin-logo { display:block; width:min(230px,72vw); max-height:78px; object-fit:contain; margin:0 auto 18px; }
.pin-kicker { margin:0 0 7px; color:var(--brand-deep); font-size:10px; font-weight:800; letter-spacing:.13em; }
.pin-panel h1 { font-size:28px; letter-spacing:-.035em; }
.pin-subtitle { margin:8px auto 0; color:var(--secondary); font-size:12px; line-height:1.4; max-width:285px; }
.pin-dots { min-height:22px; display:flex; justify-content:center; align-items:center; gap:16px; margin:27px 0 8px; }
.pin-dot { width:11px; height:11px; border-radius:50%; border:1.5px solid #aaa6a0; background:transparent; transition:transform .12s ease,background .12s ease; }
.pin-dot.filled { background:var(--brand); border-color:var(--brand); transform:scale(1.08); box-shadow:0 0 0 4px rgba(244,116,42,.1); }
.pin-error { height:18px; margin:0 0 6px; color:var(--red); font-size:11px; }
.pin-keypad { width:292px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); justify-items:center; gap:10px 17px; }
.pin-key {
  width:78px; height:78px; min-height:78px; border:1px solid rgba(255,255,255,.72); border-radius:50%;
  background:rgba(255,255,255,.62); color:#1d1b1a; font-size:29px; font-weight:420;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78),0 8px 22px rgba(67,49,35,.07);
  backdrop-filter:blur(18px) saturate(130%); -webkit-backdrop-filter:blur(18px) saturate(130%);
  transition:transform .1s ease,background .1s ease;
}
.pin-key:active { transform:scale(.93); background:rgba(244,116,42,.13); }
.pin-key span { display:block; transform:translateY(-1px); }
.pin-key-icon { background:transparent; border-color:transparent; box-shadow:none; color:var(--secondary); }
.pin-key-icon svg { width:24px; height:24px; }
.pin-spacer { width:78px; height:78px; }
.pin-demo { margin:18px 0 0; color:var(--tertiary); font-size:10px; }
.pin-demo strong { color:var(--secondary); }
@keyframes sheetUp { from{transform:translateY(45px);opacity:.3} to{transform:translateY(0);opacity:1} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes toastIn { from{transform:translateY(-10px);opacity:0} to{transform:translateY(0);opacity:1} }
@media (min-width:760px) {
  .page { padding-left:22px; padding-right:22px; }
  .topbar { margin-left:-22px; margin-right:-22px; padding-left:22px; padding-right:22px; }
  .summary-strip { grid-template-columns:repeat(4,1fr); }
  .reservation-row { grid-template-columns:60px minmax(0,1fr) auto; min-height:62px; }
}
@media (max-width:520px) {
  .staff-row { flex-wrap:wrap; }
  .staff-row .row-actions { width:100%; padding-left:48px; justify-content:flex-start; }
  .brand-copy small { max-width:140px; }
  .reservation-trailing .badge { max-width:82px; overflow:hidden; text-overflow:ellipsis; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }

/* v4 premium PIN stability */
.pin-key,
.nav-btn,
.icon-btn,
.action-btn,
.primary-btn,
.secondary-btn,
.danger-btn,
.mini-action,
.day {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.pin-screen {
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at -8% 7%, rgba(255,151,67,.22) 0 12%, transparent 31%),
    radial-gradient(circle at 108% 93%, rgba(255,128,36,.18) 0 11%, transparent 31%),
    linear-gradient(180deg,#fffdf9 0%,#f7f2e9 100%);
}
.pin-screen::before,
.pin-screen::after {
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  border-radius:48% 52% 58% 42%;
  background:linear-gradient(145deg,rgba(255,142,55,.14),rgba(255,190,123,.03));
  filter:blur(.2px);
  pointer-events:none;
}
.pin-screen::before { left:-145px; top:11%; transform:rotate(22deg); }
.pin-screen::after { right:-150px; bottom:4%; transform:rotate(-25deg); }
.pin-panel { position:relative; z-index:1; }
.pin-logo { width:min(208px,65vw); max-height:72px; margin-bottom:28px; filter:drop-shadow(0 8px 22px rgba(90,58,34,.05)); }
.pin-panel h1 { font-size:31px; font-weight:780; letter-spacing:-.045em; }
.pin-subtitle { max-width:305px; font-size:12.5px; line-height:1.5; }
.pin-dots { margin:28px 0 8px; gap:18px; }
.pin-dot { width:12px; height:12px; border-color:#aaa49a; }
.pin-keypad { width:310px; gap:13px 19px; }
.pin-key {
  width:82px;
  height:82px;
  min-height:82px;
  border-color:rgba(255,255,255,.88);
  background:rgba(255,255,255,.56);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 12px 28px rgba(72,48,29,.065);
  font-size:31px;
  user-select:none;
  -webkit-user-select:none;
}
.pin-key-icon { color:#585654; background:rgba(255,255,255,.26); }
.pin-key-icon svg { width:25px; height:25px; }
.pin-demo { margin-top:20px; }
.compact-sheet { max-width:480px; }

/* v4 custom date picker + premium form */
.premium-form .field,
.deposit-card .field { padding:12px 13px; }
.input-with-icon { position:relative; display:flex; align-items:center; gap:10px; color:var(--secondary); }
.input-with-icon svg { flex:none; width:21px; height:21px; }
.input-with-icon input { padding-left:8px; }
.field-control {
  width:100%; min-height:44px; border:1px solid rgba(60,60,67,.07); background:#f7f5f1; border-radius:12px;
  padding:9px 11px; display:flex; align-items:center; gap:9px; color:var(--text); text-align:left;
}
.field-control svg { width:19px; height:19px; color:var(--brand); flex:none; }
.field-control span { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; font-weight:650; }
.field-control svg:last-child { color:var(--tertiary); width:16px; height:16px; }
.date-picker-sheet { max-width:520px; padding-left:18px; padding-right:18px; }
.picker-titlebar { align-items:center; text-align:center; }
.picker-titlebar > div { flex:1; }
.picker-titlebar .sheet-title { font-size:21px; }
.picker-weekdays,.picker-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.picker-weekdays { margin:4px 0 8px; }
.picker-weekdays span { text-align:center; color:var(--tertiary); font-size:10px; font-weight:750; }
.picker-day { min-height:42px; border:0; border-radius:50%; background:transparent; color:var(--text); font-size:13px; font-weight:650; }
.picker-day.muted { color:#c2beb7; }
.picker-day.today { color:var(--brand-deep); box-shadow:inset 0 0 0 1.5px rgba(244,116,42,.42); }
.picker-day.selected { background:linear-gradient(145deg,var(--brand-2),var(--brand)); color:#fff; box-shadow:0 7px 18px rgba(244,116,42,.24); }
.picker-quick { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:14px; }

/* v4 post-reservation payment */
.payment-form { background:var(--surface-solid); border:1px solid rgba(60,60,67,.06); border-radius:17px; padding:13px; margin-bottom:11px; }
.payment-form-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
.payment-form-head strong { display:block; font-size:17px; letter-spacing:-.02em; }
.payment-form-head svg { color:var(--brand); width:24px; height:24px; }
.payment-form-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.payment-form-controls input { min-width:0; min-height:44px; border:1px solid var(--line); border-radius:12px; background:#f7f5f1; padding:9px 11px; font:inherit; }

/* v4 premium customers */
.title-with-count { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; }
.customer-count { color:var(--secondary); font-size:12px; padding-bottom:5px; white-space:nowrap; }
.premium-search { margin-top:2px; }
.customer-list { overflow:hidden; border-radius:18px; background:rgba(255,255,255,.78); border:1px solid rgba(60,60,67,.06); box-shadow:0 6px 24px rgba(55,42,31,.035); }
.premium-customer-row { width:100%; border:0; border-bottom:1px solid var(--line); text-align:left; background:transparent; padding:10px 12px; min-height:62px; }
.premium-customer-row:last-child { border-bottom:0; }
.customer-avatar { width:42px; height:42px; border-radius:50%; background:linear-gradient(145deg,#fff2e8,#ffe2cd); box-shadow:inset 0 0 0 1px rgba(244,116,42,.06); }
.customer-row-stats { text-align:center; min-width:34px; color:var(--secondary); }
.customer-row-stats strong { display:block; color:var(--text); font-size:12px; }
.customer-row-stats small { font-size:8px; }
.premium-customer-row .row-trailing { display:flex; align-items:center; gap:6px; font-size:9px; }
.customer-sheet { max-width:650px; }
.customer-hero { display:flex; align-items:center; gap:10px; padding:3px 2px 15px; }
.customer-hero-avatar { width:54px; height:54px; border-radius:50%; display:grid; place-items:center; flex:none; background:linear-gradient(145deg,#fff1e6,#ffd8bb); color:var(--brand-deep); font-size:18px; font-weight:850; }
.customer-hero .icon-btn { text-decoration:none; flex:none; }
.customer-metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; margin-bottom:13px; }
.customer-metrics > div { min-width:0; background:#fffefd; border:1px solid rgba(60,60,67,.06); border-radius:14px; padding:11px 8px; }
.customer-metrics strong { display:block; font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.customer-metrics small { display:block; color:var(--secondary); margin-top:4px; font-size:8px; }

/* v4 reports */
.report-presets { display:grid; grid-template-columns:repeat(5,1fr); gap:5px; padding:4px; background:#ebe8e2; border-radius:15px; margin-bottom:10px; }
.report-presets button { min-height:38px; border:0; border-radius:12px; background:transparent; color:var(--secondary); font-size:10px; font-weight:750; }
.report-presets button.active { background:#fff; color:var(--brand-deep); box-shadow:0 2px 8px rgba(50,37,27,.07); }
.report-range-label { color:var(--tertiary); font-size:10px; text-align:right; margin:4px 2px 10px; }
.report-metrics { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin-bottom:10px; }
.report-metric { position:relative; min-height:105px; padding:13px; border-radius:18px; background:#fffefd; border:1px solid rgba(60,60,67,.06); box-shadow:0 6px 22px rgba(57,43,31,.035); }
.report-metric-icon { width:34px; height:34px; display:grid; place-items:center; border-radius:11px; background:var(--brand-soft); color:var(--brand-deep); margin-bottom:11px; }
.report-metric strong { display:block; font-size:21px; letter-spacing:-.035em; }
.report-metric small { display:block; color:var(--secondary); font-size:9.5px; margin-top:3px; }
.report-grid { display:grid; gap:9px; }
.report-card { background:#fffefd; border:1px solid rgba(60,60,67,.06); border-radius:18px; padding:13px; margin-bottom:9px; box-shadow:0 6px 22px rgba(57,43,31,.03); }
.report-card-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
.report-card-title h2 { font-size:15px; margin:0; }
.report-card-title small { display:block; color:var(--secondary); font-size:9px; margin-top:3px; }
.report-card-title > svg { color:var(--brand); }
.status-report-row { min-height:38px; display:grid; grid-template-columns:1fr auto 38px; align-items:center; gap:8px; border-bottom:1px solid var(--line); font-size:11px; }
.status-report-row:last-child { border-bottom:0; }
.status-report-row span { display:flex; align-items:center; gap:7px; }
.status-report-row small { color:var(--secondary); text-align:right; }
.status-dot { width:8px; height:8px; border-radius:50%; background:#aaa; }
.status-dot.approved { background:var(--brand); }.status-dot.arrived{background:var(--green)}.status-dot.cancelled{background:var(--red)}.status-dot.pending{background:#99979c}
.ranking-row { min-height:48px; display:flex; align-items:center; gap:8px; border-bottom:1px solid var(--line); }
.ranking-row:last-child { border-bottom:0; }
.ranking-index { width:18px; color:var(--tertiary); font-size:10px; font-weight:800; }
.ranking-avatar { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:var(--brand-soft); color:var(--brand-deep); font-size:9px; font-weight:850; }
.ranking-row .row-main strong { font-size:11px; }.ranking-row .row-main small{font-size:8.5px}
.ranking-money { color:var(--text); font-size:10px; font-weight:800; white-space:nowrap; }
.report-empty { padding:18px 4px; color:var(--secondary); font-size:10px; }
@media (min-width:680px) { .report-metrics { grid-template-columns:repeat(4,1fr); } .report-grid { grid-template-columns:1fr 1fr; } }

/* v5 — Bugün içinde iOS tarih seçimi */
.today-top { padding:calc(16px + env(safe-area-inset-top)) 2px 12px; display:grid; gap:12px; }
.today-title h1 { font-size:31px; }
.today-date-button {
  width:100%; min-height:58px; border:1px solid rgba(60,60,67,.07); border-radius:17px;
  padding:8px 10px; background:rgba(255,255,255,.86); display:grid;
  grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; text-align:left;
  box-shadow:0 6px 22px rgba(55,42,31,.035); color:var(--text);
}
.today-date-icon { width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand-deep); }
.today-date-icon svg { width:20px; height:20px; }
.today-date-button > span:nth-child(2) { min-width:0; display:grid; gap:1px; }
.today-date-button small { color:var(--secondary); font-size:9px; font-weight:700; }
.today-date-button strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; letter-spacing:-.015em; }
.today-date-button > svg { width:16px; color:var(--tertiary); }
.compact-today-button { min-height:34px; padding:0 11px; border-radius:11px; }
.today-date-sheet .picker-titlebar { position:relative; padding-right:42px; }
.today-date-sheet .picker-close { position:absolute; right:0; }

/* v5 — premium, sıçramayan sabit PIN numaratörü */
.pin-panel { max-width:360px; }
.pin-keypad { width:286px; grid-template-columns:repeat(3,82px); justify-content:center; gap:13px 20px; }
.pin-key { transform:translateZ(0); will-change:transform; }
.pin-key:active { transform:scale(.96); }

/* v6 — Ultra Premium iOS density + directory */
.premium-today-top { gap:10px; padding-top:calc(14px + env(safe-area-inset-top)); }
.today-heading-row { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; }
.premium-icon-button { width:44px; height:44px; min-height:44px; border:1px solid rgba(60,60,67,.06); border-radius:50%; background:rgba(255,255,255,.88); color:var(--text); display:grid; place-items:center; box-shadow:0 6px 18px rgba(55,42,31,.04); }
.premium-icon-button svg { width:20px; height:20px; }
.premium-date-pill { min-height:54px; border-radius:16px; box-shadow:none; background:rgba(255,255,255,.76); }

.premium-summary { display:flex; overflow-x:auto; scrollbar-width:none; gap:7px; margin:2px 0 16px; padding:1px 1px 4px; }
.premium-summary::-webkit-scrollbar { display:none; }
.summary-metric { flex:1 0 auto; min-width:112px; height:62px; display:flex; align-items:center; gap:9px; padding:9px 11px; border:1px solid rgba(60,60,67,.055); border-radius:16px; background:rgba(255,255,255,.82); box-shadow:0 6px 20px rgba(55,42,31,.028); }
.summary-icon { width:34px; height:34px; border-radius:11px; display:grid; place-items:center; flex:none; background:var(--brand-soft); color:var(--brand-deep); }
.summary-icon svg { width:18px; height:18px; }
.summary-copy { display:grid; gap:1px; min-width:0; }
.summary-copy strong { font-size:14px; line-height:1.1; letter-spacing:-.025em; white-space:nowrap; }
.summary-copy small { color:var(--secondary); font-size:9px; font-weight:650; }

.reservation-toolbar { min-height:46px; display:flex; align-items:center; justify-content:space-between; gap:12px; margin:2px 1px 8px; }
.reservation-toolbar > div { display:grid; gap:1px; }
.reservation-toolbar strong { font-size:14px; letter-spacing:-.015em; }
.reservation-toolbar small { color:var(--secondary); font-size:9px; }
.filter-button { min-height:38px; border:1px solid rgba(60,60,67,.07); border-radius:12px; padding:0 11px; background:rgba(255,255,255,.86); color:var(--secondary); display:flex; align-items:center; gap:6px; font-size:10px; font-weight:750; }
.filter-button.active { background:var(--brand-soft); color:var(--brand-deep); border-color:rgba(244,116,42,.15); }
.filter-button svg { width:15px; height:15px; }

.premium-reservation-list { overflow:hidden; border-radius:16px; border:1px solid rgba(60,60,67,.055); background:rgba(255,255,255,.82); box-shadow:0 8px 28px rgba(55,42,31,.035); }
.premium-reservation-row { min-height:50px; padding:6px 9px; grid-template-columns:56px minmax(0,1fr) auto; gap:8px; background:transparent; }
.premium-reservation-row + .premium-reservation-row { border-top:1px solid rgba(60,60,67,.075); }
.reservation-date-time { align-self:center; display:grid; gap:0; min-width:0; }
.reservation-date-time strong { font-size:13px; line-height:1.1; font-variant-numeric:tabular-nums; }
.reservation-date-time small { font-size:8px; color:var(--tertiary); white-space:nowrap; }
.premium-reservation-row .reservation-name { min-height:18px; display:flex; align-items:center; gap:5px; }
.premium-reservation-row .reservation-name strong { font-size:12px; line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.reservation-inline-meta { display:flex; align-items:center; gap:8px; min-width:0; color:var(--secondary); font-size:8.5px; line-height:1.2; white-space:nowrap; overflow:hidden; }
.reservation-inline-meta span { display:inline-flex; align-items:center; gap:3px; min-width:0; }
.reservation-inline-meta svg { width:11px; height:11px; flex:none; }
.reservation-inline-meta .meta-money { color:var(--brand-deep); font-weight:750; }
.reservation-inline-meta .meta-paid { color:var(--green); font-weight:750; }
.premium-reservation-row .reservation-trailing { gap:4px; }
.premium-reservation-row .badge { font-size:8px; padding:5px 7px; }
.premium-reservation-row .chevron svg { width:13px; height:13px; }

.filter-sheet { max-width:520px; }
.filter-grid { display:grid; gap:9px; }
.filter-field { display:grid; gap:5px; color:var(--secondary); font-size:9px; font-weight:700; }
.filter-field select { width:100%; min-height:44px; border:1px solid rgba(60,60,67,.07); border-radius:13px; background:#fff; padding:0 12px; color:var(--text); font:inherit; font-size:12px; }
.filter-actions { display:grid; grid-template-columns:1fr 1.4fr; gap:8px; margin-top:14px; }

.customers-directory { position:relative; padding-right:22px; }
.ios-contact-list { border-radius:16px; overflow:visible; }
.customer-letter-section { scroll-margin-top:12px; }
.customer-letter-title { position:sticky; top:0; z-index:2; height:24px; display:flex; align-items:center; padding:0 12px; background:rgba(247,245,241,.92); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); color:var(--brand-deep); font-size:10px; font-weight:850; }
.premium-customer-row { min-height:54px; padding:6px 10px; }
.customer-avatar { width:36px; height:36px; font-size:11px; }
.premium-customer-row .row-main strong { font-size:12px; }
.premium-customer-row .row-main small { font-size:9px; }
.alphabet-index { position:fixed; right:max(4px,env(safe-area-inset-right)); top:50%; transform:translateY(-42%); z-index:18; display:flex; flex-direction:column; align-items:center; width:20px; padding:3px 0; border-radius:11px; background:rgba(247,245,241,.70); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
.alphabet-index button { width:18px; min-height:12px; height:12px; padding:0; border:0; background:transparent; color:var(--brand-deep); font-size:7.5px; font-weight:800; line-height:12px; }
.alphabet-index button.disabled { color:#c9c5bf; opacity:.62; }

/* Full-screen iPhone Contacts style */
.customer-fullscreen { position:fixed; inset:0; z-index:95; overflow:auto; overscroll-behavior:contain; background:linear-gradient(180deg,#fbfaf7 0%,#f5f2ed 100%); animation:iosPushIn .22s cubic-bezier(.22,.8,.32,1); padding-bottom:calc(26px + env(safe-area-inset-bottom)); }
.customer-full-nav { position:sticky; top:0; z-index:5; min-height:54px; padding:calc(7px + env(safe-area-inset-top)) 14px 7px; display:grid; grid-template-columns:1fr auto 1fr; align-items:end; gap:8px; background:rgba(251,250,247,.86); border-bottom:1px solid rgba(60,60,67,.06); backdrop-filter:blur(24px) saturate(1.4); -webkit-backdrop-filter:blur(24px) saturate(1.4); }
.customer-full-nav > :last-child { justify-self:end; }
.text-nav-button { min-height:36px; border:0; background:transparent; padding:0 4px; color:var(--secondary); font-size:12px; font-weight:650; }
.text-nav-button.brand { color:var(--brand-deep); font-weight:800; }
.customer-full-content { width:min(100%,720px); margin:0 auto; padding:18px 14px 32px; }
.customer-contact-hero,.customer-hero { text-align:center; padding:10px 0 18px; }
.customer-full-avatar { width:88px; height:88px; border-radius:50%; margin:0 auto 10px; display:grid; place-items:center; background:linear-gradient(145deg,#fff0e5,#ffd9bc); color:var(--brand-deep); box-shadow:inset 0 0 0 1px rgba(244,116,42,.10),0 10px 32px rgba(67,45,27,.06); font-size:25px; font-weight:850; }
.customer-contact-hero h1 { margin:0; font-size:27px; letter-spacing:-.04em; }
.customer-contact-hero > p { margin:3px 0 13px; color:var(--secondary); font-size:12px; }
.customer-contact-actions { display:flex; justify-content:center; gap:10px; }
.customer-contact-actions a,.customer-contact-actions button { width:74px; min-height:62px; border:0; border-radius:16px; background:rgba(255,255,255,.88); box-shadow:0 6px 20px rgba(55,42,31,.035); color:var(--brand-deep); display:grid; place-items:center; align-content:center; gap:4px; text-decoration:none; }
.customer-contact-actions span { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:var(--brand-soft); }
.customer-contact-actions small { font-size:9px; font-weight:700; }
.customer-info-card,.ios-form-group { overflow:hidden; margin:0 0 12px; border-radius:16px; background:rgba(255,255,255,.88); border:1px solid rgba(60,60,67,.055); box-shadow:0 7px 24px rgba(55,42,31,.025); }
.customer-info-card > div { min-height:48px; padding:9px 12px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.customer-info-card span { color:var(--secondary); font-size:10px; }
.customer-info-card a { color:var(--brand-deep); font-size:11px; text-decoration:none; }
.customer-metrics.full { margin:0 0 14px; }
.customer-edit-screen { width:min(100%,620px); margin:0 auto; padding:24px 14px; }
.customer-edit-avatar { width:88px; height:88px; display:grid; place-items:center; border-radius:50%; margin:0 auto 22px; background:var(--brand-soft); color:var(--brand-deep); font-size:24px; font-weight:850; }
.ios-form-group .field { border-bottom:1px solid var(--line); border-radius:0; }
.ios-form-group .field:last-child { border-bottom:0; }

/* reservation detail elevated iOS sheet */
.sheet { border-radius:28px 28px 0 0; }
.detail-section { overflow:hidden; border-radius:16px; border:1px solid rgba(60,60,67,.055); background:rgba(255,255,255,.88); }
.detail-row { min-height:46px; }
.sheet-actions .action-btn { border-radius:14px; min-height:46px; }

@keyframes iosPushIn { from { transform:translateX(18px); opacity:.65; } to { transform:translateX(0); opacity:1; } }

@media (max-width:420px) {
  .summary-metric { min-width:102px; height:58px; padding:8px 9px; }
  .premium-reservation-row { grid-template-columns:52px minmax(0,1fr) auto; padding:6px 7px; }
  .reservation-inline-meta { gap:6px; font-size:8px; }
  .reservation-inline-meta .meta-paid { display:none; }
}

/* v6 — Reservation detail, iPhone Settings/Contacts inspired */
.reservation-detail-sheet { max-width:620px; padding-left:12px; padding-right:12px; }
.reservation-detail-hero { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:3px 2px 12px; }
.reservation-detail-title { min-width:0; }
.reservation-detail-title h1 { font-size:25px; line-height:1.05; }
.reservation-detail-title p { margin:5px 0 0; color:var(--secondary); font-size:11px; }
.reservation-status-strip { display:flex; align-items:center; gap:6px; overflow-x:auto; scrollbar-width:none; margin:0 0 11px; padding:1px; }
.reservation-status-strip::-webkit-scrollbar { display:none; }
.soft-chip { min-height:24px; display:inline-flex; align-items:center; gap:4px; flex:none; border-radius:999px; padding:3px 8px; font-size:8.5px; font-weight:750; }
.soft-chip svg { width:12px; height:12px; }
.soft-chip.deposit { color:var(--brand-deep); background:var(--brand-soft); }
.soft-chip.paid { color:#1d7c3b; background:var(--green-soft); }
.ios-detail-group { overflow:hidden; margin-bottom:10px; border-radius:17px; border:1px solid rgba(60,60,67,.055); background:rgba(255,255,255,.9); box-shadow:0 5px 18px rgba(55,42,31,.025); }
.ios-detail-group.subtle { background:rgba(255,255,255,.68); }
.ios-detail-row { min-height:45px; display:grid; grid-template-columns:30px 92px minmax(0,1fr); align-items:center; gap:8px; padding:7px 10px; border-bottom:1px solid rgba(60,60,67,.075); }
.ios-detail-row:last-child { border-bottom:0; }
.ios-detail-row.multiline { align-items:start; padding-top:10px; padding-bottom:10px; }
.ios-detail-icon { width:28px; height:28px; display:grid; place-items:center; border-radius:9px; background:var(--brand-soft); color:var(--brand-deep); }
.ios-detail-icon svg { width:15px; height:15px; }
.ios-detail-label { color:var(--secondary); font-size:9.5px; }
.ios-detail-row strong { min-width:0; text-align:right; font-size:10.5px; font-weight:700; overflow-wrap:anywhere; }
.ios-detail-row a { color:var(--brand-deep); text-decoration:none; }
.reservation-action-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin-top:10px; }
.reservation-action { min-height:54px; border:0; border-radius:16px; background:rgba(255,255,255,.9); color:var(--text); display:flex; align-items:center; justify-content:center; gap:7px; box-shadow:0 5px 18px rgba(55,42,31,.03); }
.reservation-action span { width:27px; height:27px; border-radius:50%; display:grid; place-items:center; background:#f1efeb; }
.reservation-action svg { width:14px; height:14px; }
.reservation-action strong { font-size:10px; }
.reservation-action.primary { color:var(--brand-deep); background:var(--brand-soft); }
.reservation-action.primary span { background:rgba(255,255,255,.7); }
.reservation-action.success { color:#19783a; background:var(--green-soft); }
.reservation-action.success span { background:rgba(255,255,255,.7); }
.reservation-action.danger { color:#b92b24; background:var(--red-soft); }
.reservation-action.danger span { background:rgba(255,255,255,.7); }
.premium-payment-form { border-radius:17px; box-shadow:none; }
.payment-icon { width:34px; height:34px; display:grid; place-items:center; border-radius:11px; background:var(--brand-soft); color:var(--brand-deep); }

/* v6.1 — Five-up premium summary card */
.premium-summary {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  overflow:hidden;
  gap:0;
  margin:2px 0 16px;
  padding:5px;
  border:1px solid rgba(60,60,67,.055);
  border-radius:18px;
  background:rgba(255,255,255,.84);
  box-shadow:0 7px 24px rgba(55,42,31,.032);
}
.summary-metric {
  min-width:0;
  height:54px;
  padding:6px 5px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  align-items:center;
  gap:4px;
  position:relative;
}
.summary-metric + .summary-metric::before { content:""; position:absolute; left:0; top:8px; bottom:8px; width:1px; background:rgba(60,60,67,.075); }
.summary-icon { width:24px; height:24px; border-radius:8px; }
.summary-icon svg { width:13px; height:13px; }
.summary-copy strong { font-size:11.5px; letter-spacing:-.02em; overflow:hidden; text-overflow:ellipsis; }
.summary-copy small { font-size:7px; }
@media (max-width:360px) {
  .premium-summary { padding:4px 2px; }
  .summary-metric { grid-template-columns:1fr; justify-items:center; text-align:center; gap:1px; height:58px; }
  .summary-icon { width:21px; height:21px; }
  .summary-copy strong { font-size:10px; }
  .summary-copy small { font-size:6.5px; }
}

/* v6.2 — monetary values stay fully readable in five-up summary */
.summary-metric { grid-template-columns:1fr; justify-items:center; text-align:center; gap:1px; height:58px; }
.summary-icon { width:21px; height:21px; }
.summary-copy { text-align:center; width:100%; }
.summary-copy strong { display:block; width:100%; font-size:10px; white-space:nowrap; overflow:visible; text-overflow:clip; }
.summary-copy small { font-size:6.5px; }

/* v6.3 — full-screen contact hero must override legacy sheet layout */
.customer-contact-hero { display:grid; justify-items:center; align-items:start; gap:0; }
.reservation-action-grid.action-count-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }

.settings-switch { width:51px; height:31px; border-radius:999px; background:#d1d0cc; padding:2px; display:flex; align-items:center; flex:none; transition:background .2s ease; pointer-events:none; }
.settings-switch > span { width:27px; height:27px; border-radius:50%; background:#fff; box-shadow:0 2px 5px rgba(0,0,0,.18); transform:translateX(0); transition:transform .2s ease; }
.settings-switch.on { background:var(--brand); }
.settings-switch.on > span { transform:translateX(20px); }
