@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Roboto+Mono:wght@500;600&display=swap');

/* ---------- Design tokens (from the validated Claude Design mockup) ---------- */
:root {
  --bg: oklch(0.975 0.004 60);
  --surface: oklch(0.995 0.002 60);
  --surface-hover: oklch(0.955 0.006 60);
  --border: oklch(0 0 0 / 0.09);
  --text: oklch(0.2 0.01 40);
  --text-muted: oklch(0.38 0.012 40);
  --text-faint: oklch(0.44 0.012 40);
  --coral: oklch(0.6 0.19 20);
  --coral-soft: oklch(0.6 0.19 20 / 0.1);
  --good: oklch(0.5 0.13 155);
  --good-soft: oklch(0.5 0.13 155 / 0.13);
  --warn: oklch(0.58 0.15 70);
  --warn-soft: oklch(0.58 0.15 70 / 0.15);
  --bad: oklch(0.5 0.18 25);
  --bad-soft: oklch(0.5 0.18 25 / 0.11);
  --whatsapp: oklch(0.52 0.14 145);
  --whatsapp-soft: oklch(0.52 0.14 145 / 0.12);
  --track: oklch(0 0 0 / 0.08);
  --likelihood-good: #22C55E;
  --likelihood-warn: #F59E0B;
  --likelihood-bad: #EF4444;
  --likelihood-good-text: #15803D;
  --likelihood-warn-text: #92400E;
  --likelihood-bad-text: #B91C1C;
  --shadow-card: 0 1px 3px oklch(0 0 0 / 0.05);
}

body.dark {
  --bg: oklch(0.19 0.006 40);
  --surface: oklch(0.23 0.006 40);
  --surface-hover: oklch(0.26 0.008 40);
  --border: oklch(1 0 0 / 0.1);
  --text: oklch(0.97 0.004 40);
  --text-muted: oklch(0.82 0.006 40);
  --text-faint: oklch(0.72 0.006 40);
  --coral: oklch(0.7 0.16 20);
  --coral-soft: oklch(0.7 0.16 20 / 0.18);
  --good: oklch(0.72 0.14 155);
  --good-soft: oklch(0.72 0.14 155 / 0.2);
  --warn: oklch(0.78 0.14 75);
  --warn-soft: oklch(0.78 0.14 75 / 0.2);
  --bad: oklch(0.68 0.17 25);
  --bad-soft: oklch(0.68 0.17 25 / 0.2);
  --whatsapp: oklch(0.72 0.15 145);
  --whatsapp-soft: oklch(0.72 0.15 145 / 0.2);
  --track: oklch(1 0 0 / 0.12);
  --shadow-card: none;
}

* { box-sizing: border-box; }
::selection { background: oklch(0.78 0.11 20 / 0.3); }

body {
  font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
button, a { font-family: inherit; }
button:focus-visible, a:focus-visible, [role="button"]:focus-visible, textarea:focus-visible {
  outline: 2px solid oklch(0.55 0.17 250); outline-offset: 2px;
}

/* ---------- Auth / onboarding cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-card);
}
h1 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 20px; color: var(--text); }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--text-muted); }
input, select {
  width: 100%;
  padding: 9px 10px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
}
button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 10px;
  font-family: inherit;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-google { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-primary:disabled, .btn-google:disabled { opacity: 0.6; cursor: not-allowed; }
.divider { text-align: center; color: var(--text-faint); font-size: 12px; margin: 14px 0; }
.links { text-align: center; font-size: 13px; margin-top: 10px; color: var(--text-muted); }
.links a { color: var(--coral); text-decoration: none; font-weight: 600; }
.msg { font-size: 13px; padding: 10px; border-radius: 8px; margin-bottom: 14px; display: none; }
.msg.show { display: block; }
.msg.error { background: var(--bad-soft); color: var(--likelihood-bad-text); }
.msg.success { background: var(--good-soft); color: var(--likelihood-good-text); }

/* ---------- Dashboard shell ---------- */
body.dashboard { display: block; align-items: initial; justify-content: initial; }

.dash-shell { display: flex; min-height: 100vh; }

.dash-nav {
  width: 232px; flex: none; display: flex; flex-direction: column;
  padding: 22px 14px; box-sizing: border-box;
  border-right: 1px solid var(--border);
  position: sticky; top: 0; height: 100vh;
}
.nav-brand-row { display: flex; align-items: center; gap: 10px; padding: 0 8px 24px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--coral); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; flex: none;
}
.dash-nav .brand { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; color: var(--text); }
.nav-items { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav-btn {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; cursor: pointer;
  font-size: 13.5px; font-weight: 500; color: var(--text-faint);
  background: transparent; border: none; text-align: left; width: 100%; margin-bottom: 0;
}
.nav-btn .dot { width: 6px; height: 6px; border-radius: 99px; background: transparent; flex: none; }
.nav-btn.active { font-weight: 600; color: var(--text); background: var(--coral-soft); }
.nav-btn.active .dot { background: var(--coral); }

.sidebar-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.sidebar-footer-row { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 32px; height: 32px; border-radius: 99px; background: var(--coral-soft); color: var(--coral);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex: none;
}
.sidebar-user-name { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-sync { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-faint); margin-top: 2px; }
.sync-dot { width: 6px; height: 6px; border-radius: 99px; background: var(--good); flex: none; }
.sidebar-actions { display: flex; gap: 8px; margin-top: 14px; }
.mode-toggle, .signout {
  flex: 1; font-size: 11.5px; font-weight: 600; color: var(--text-muted); background: var(--surface-hover);
  border: 1px solid var(--border); border-radius: 8px; padding: 7px; cursor: pointer; margin-bottom: 0; width: auto;
}
.signout { color: var(--bad); background: transparent; }

.dash-main { flex: 1; padding: 28px 32px 100px; max-width: 760px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.dash-view { display: none; }
.dash-view.active { display: block; }

.dash-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.dash-main h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 0; color: var(--text); }
.dash-main .page-sub { font-size: 14px; font-weight: 500; color: var(--text-faint); margin: 4px 0 0; }
.header-right { display: flex; align-items: center; gap: 14px; }
.sync-status { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-faint); }
.refresh-btn {
  font-size: 12.5px; font-weight: 700; color: var(--coral); background: var(--coral-soft); border: none;
  border-radius: 8px; padding: 7px 13px; cursor: pointer; width: auto; margin-bottom: 0;
}

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 26px; }
.stat-tile {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--stat-accent, var(--coral));
  border-radius: 10px; padding: 13px 15px; display: flex; gap: 11px; align-items: flex-start;
}
.stat-icon-wrap {
  width: 32px; height: 32px; border-radius: 8px; background: var(--stat-accent-soft, var(--coral-soft));
  color: var(--stat-accent, var(--coral)); display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none;
}
.stat-tile .value { font-family: 'Roboto Mono', monospace; font-size: 20px; font-weight: 700; color: var(--text); }
.stat-tile .label { font-size: 11.5px; font-weight: 600; color: var(--text-faint); margin-top: 3px; }

/* ---------- Filter bar ---------- */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filter-bar input[type=text] { flex: 1 1 200px; margin-bottom: 0; }
.filter-bar select { width: auto; margin-bottom: 0; padding: 8px 10px; font-size: 13px; }
.clear-filters-btn {
  font-size: 12.5px; font-weight: 700; color: var(--coral); background: var(--coral-soft); border: none;
  border-radius: 8px; padding: 8px 12px; cursor: pointer; width: auto; margin-bottom: 0;
}
.result-count { font-size: 12.5px; font-weight: 600; color: var(--text-faint); margin: 0 0 12px; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; color: var(--text-muted); width: auto; margin-bottom: 0; }
.chip.active { background: var(--coral); color: #fff; border-color: var(--coral); }

/* ---------- Checkout list / cards ---------- */
.checkout-list { display: flex; flex-direction: column; gap: 10px; }

.checkout-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-card); animation: cardIn 0.3s ease both;
}

.checkout-head { padding: 18px 20px; cursor: pointer; }
.checkout-top-row { display: grid; grid-template-columns: 220px 1px 80px 1px 100px minmax(180px,1fr); align-items: start; column-gap: 14px; }

.prop-col { min-width: 0; width: 220px; flex-shrink: 0; }
.prop-name { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.prop-addr { font-size: 12px; font-weight: 500; color: var(--text-faint); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.platform-pill {
  display: inline-block; margin-top: 7px; font-size: 12px; font-weight: 500; background: transparent;
  border-radius: 6px; padding: 2px 8px; border: 1px solid var(--platform-color, var(--coral)); color: var(--platform-text, var(--coral));
}

.col-divider { width: 1px; align-self: stretch; background: var(--border); flex-shrink: 0; }

.gauge-col { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; width: 80px; }
.gauge-wrap { position: relative; width: 52px; height: 52px; flex-shrink: 0; }
.gauge-wrap svg { transform: rotate(-90deg); }
.gauge-text-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.gauge-pct { font-family: 'Roboto Mono', monospace; font-size: 13px; font-weight: 700; color: var(--text); }
.gauge-caption { font-size: 10px; font-weight: 700; color: var(--text-faint); white-space: nowrap; }

.guest-col { display: flex; flex-direction: column; justify-content: center; gap: 4px; flex-shrink: 0; width: 100px; }
.sentiment-row { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; }

.actions-col { display: flex; flex-direction: column; gap: 5px; min-width: 0; align-items: flex-end; text-align: right; justify-self: end; align-self: start; }
.guest-name-row { display: flex; align-items: center; gap: 7px; justify-content: flex-end; }
.guest-name { font-size: 14px; font-weight: 700; color: var(--text); }
.contacted-btn {
  display: flex; align-items: center; gap: 5px; border-radius: 99px; border: 1px solid var(--border);
  padding: 3px 9px 3px 3px; font-size: 11.5px; font-weight: 600; background: transparent; color: var(--text-muted);
  cursor: pointer; flex-shrink: 0; transition: all 0.2s ease; width: auto; margin-bottom: 0;
}
.contacted-btn.contacted { background: var(--good-soft); color: var(--good); border-color: transparent; }
.contacted-icon-wrap {
  display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 99px; font-size: 10px;
  border: 1.5px solid var(--border); background: transparent; color: transparent;
}
.contacted-btn.contacted .contacted-icon-wrap { border: none; background: var(--good); color: #fff; animation: checkPop 0.3s ease; }
.phone-row { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.phone-text { font-family: 'Roboto Mono', monospace; font-size: 13px; font-weight: 600; color: var(--text); }
.action-btn-row { display: flex; align-items: center; gap: 8px; margin-top: 3px; flex-wrap: wrap; justify-content: flex-end; }
.copy-btn {
  font-size: 12.5px; font-weight: 700; color: var(--coral); background: transparent; border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 10px; cursor: pointer; width: auto; margin-bottom: 0;
}
.copy-btn.copied { color: var(--good); }
.wa-shortcut {
  display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #fff;
  background: var(--whatsapp); border-radius: 8px; padding: 8px 14px; text-decoration: none; white-space: nowrap;
}

.summary-block { margin-top: 14px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); margin: 14px 0 6px; }
.section-label:first-child { margin-top: 0; }
.summary-preview { font-size: 13px; line-height: 1.5; color: var(--text-muted); margin: 0; }

.expand-cta-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--border); font-size: 12.5px; font-weight: 700; color: var(--platform-text, var(--coral));
}
.chevron { color: var(--text-faint); font-size: 12px; transition: transform 0.25s ease; }
.checkout-card.expanded .chevron { transform: rotate(180deg); }

.checkout-expanded { padding: 0 14px 14px; animation: cardIn 0.25s ease both; display: none; }
.checkout-card.expanded .checkout-expanded { display: block; }
.expanded-group { padding: 10px 0; }
.expanded-divider { height: 1px; background: var(--border); }
.summary-text { font-size: 13.5px; line-height: 1.55; color: var(--text-muted); margin: 0; }
.recommend-text { font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.4; }

.wa-textarea {
  width: 100%; font-size: 13.5px; font-family: inherit; line-height: 1.5; color: var(--text); background: var(--surface-hover);
  border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; resize: vertical;
}
.wa-edit-actions { display: flex; gap: 8px; margin-top: 10px; }
.cancel-btn {
  font-size: 12.5px; font-weight: 600; color: var(--text-muted); background: transparent; border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 14px; cursor: pointer; width: auto; margin-bottom: 0;
}
.save-btn {
  font-size: 12.5px; font-weight: 700; color: #fff; background: var(--coral); border: none; border-radius: 8px;
  padding: 8px 14px; cursor: pointer; width: auto; margin-bottom: 0;
}
.message-bubble {
  display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text);
  background: var(--surface-hover); border-radius: 12px 12px 12px 4px; padding: 12px 14px;
}
.edit-icon-btn { background: transparent; border: none; color: var(--text-faint); cursor: pointer; font-size: 13px; flex-shrink: 0; width: auto; margin-bottom: 0; padding: 0; }
.send-wa-btn {
  display: block; text-align: center; margin-top: 10px; font-size: 13px; font-weight: 700; color: #fff;
  background: var(--whatsapp); border-radius: 9px; padding: 11px; text-decoration: none;
}
.collapse-btn {
  display: block; width: 100%; text-align: center; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--text-faint);
  background: transparent; border: 1px solid var(--border); border-radius: 8px; padding: 8px; cursor: pointer;
}

.empty-state {
  text-align: center; padding: 48px 20px; border: 1px dashed var(--border); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.empty-title { font-size: 14px; font-weight: 600; color: var(--text-muted); }

@keyframes cardIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes checkPop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Insights ---------- */
.chart-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; }
.chart-title { font-size: 14.5px; font-weight: 700; color: var(--text); }
.chart-sub { font-size: 12.5px; color: var(--text-faint); margin: 3px 0 16px; }
.sentiment-chart-row { display: flex; gap: 10px; align-items: flex-end; }
.sentiment-col { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.sentiment-bar-wrap { display: flex; flex-direction: column-reverse; width: 100%; max-width: 34px; height: 100px; border-radius: 4px; overflow: hidden; }
.sentiment-label { font-size: 11px; font-weight: 600; color: var(--text-faint); }
.legend-row { display: flex; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.legend-item { font-size: 11.5px; font-weight: 600; }
.perf-axis-label { font-size: 10px; font-weight: 600; fill: var(--text-faint); }

/* ---------- Line charts (Checkouts & engagement / Average review score) ---------- */
.chart-card-relative { position: relative; }
.line-chart-svg { width: 100%; height: 210px; overflow: visible; }
.chart-gridline { stroke: var(--border); stroke-width: 1; }
.chart-axis-text { font-size: 10.5px; font-weight: 600; fill: var(--text-faint); font-family: 'Roboto Mono', monospace; }
.chart-end-label { font-size: 11px; font-weight: 700; fill: var(--text); font-family: 'Roboto Mono', monospace; }
.chart-dot { transition: r 0.1s ease; cursor: pointer; }
.chart-dot:hover, .chart-dot.hovered { r: 6; }
.chart-crosshair { stroke: var(--text-faint); stroke-width: 1; pointer-events: none; }
.chart-hit { cursor: crosshair; }
.chart-legend-row { display: flex; gap: 16px; margin-top: 6px; flex-wrap: wrap; }
.chart-legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.chart-legend-key { width: 14px; height: 2px; border-radius: 2px; flex: none; }
.chart-tooltip {
  position: absolute; display: none; pointer-events: none; transform: translate(-50%, -100%);
  background: var(--text); color: var(--bg); border-radius: 8px; padding: 8px 10px; font-size: 12px;
  line-height: 1.6; white-space: nowrap; z-index: 5; box-shadow: 0 4px 12px oklch(0 0 0 / 0.15);
  margin-top: -10px;
}
.chart-tooltip.show { display: block; }
.chart-tooltip .tt-date { font-weight: 700; margin-bottom: 2px; opacity: 0.75; font-size: 11px; }
.chart-tooltip .tt-row { display: flex; align-items: center; gap: 6px; }
.chart-tooltip .tt-key { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.chart-tooltip .tt-value { font-weight: 700; font-family: 'Roboto Mono', monospace; }
.chart-empty-note { font-size: 12.5px; color: var(--text-faint); text-align: center; padding: 30px 0; }

.nudge-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.nudge-row:last-child { border-bottom: none; }
.nudge-name { font-size: 13.5px; font-weight: 700; color: var(--text); }
.nudge-meta { font-size: 12px; color: var(--text-faint); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nudge-more-btn { font-size: 12.5px; font-weight: 700; color: var(--coral); background: var(--coral-soft); border: none; border-radius: 8px; padding: 7px 12px; flex-shrink: 0; cursor: pointer; width: auto; margin-bottom: 0; }

/* The expanded card swapped in here would otherwise be ~40px narrower
   than the identical cards on Today/All Checkouts, squeezed by
   .chart-card's own side padding — reclaim that width so the card's
   internal columns get the same room to work with, avoiding overflow
   on narrow screens. */
#nudge-list { margin: 0 -20px; }
#nudge-list .checkout-card { border-radius: 0; }

/* ---------- Settings ---------- */
.settings-section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.connected-badge { font-size: 12px; font-weight: 700; color: var(--good); background: var(--good-soft); border-radius: 8px; padding: 5px 10px; white-space: nowrap; }
.pms-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 16px; }
.pms-label { font-size: 11.5px; font-weight: 600; color: var(--text-faint); }
.pms-value { font-size: 13.5px; font-weight: 700; color: var(--text); margin-top: 2px; }
.pms-actions-row { display: flex; gap: 10px; flex-wrap: wrap; }
.secondary-btn {
  font-size: 12.5px; font-weight: 600; color: var(--text-muted); background: transparent; border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 14px; cursor: pointer; width: auto; margin-bottom: 0;
}
.primary-btn {
  font-size: 12.5px; font-weight: 700; color: #fff; background: var(--coral); border: none; border-radius: 8px;
  padding: 8px 14px; cursor: pointer; width: auto; margin-bottom: 0;
}
.coming-soon-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.coming-soon-card { flex: 1 1 140px; opacity: 0.55; border: 1px dashed var(--border); border-radius: 10px; padding: 10px 12px; }
.coming-soon-label { font-size: 11px; font-weight: 600; color: var(--text-faint); margin-top: 2px; }

.team-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.team-row:last-child { border-bottom: none; }
.team-actions-wrap { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.team-status { font-size: 11.5px; font-weight: 700; border-radius: 7px; padding: 4px 9px; }
.team-status.active { color: var(--good); background: var(--good-soft); }
.team-status.pending { color: var(--warn); background: var(--warn-soft); }
.remove-btn { font-size: 11.5px; font-weight: 600; color: var(--bad); background: transparent; border: none; cursor: pointer; width: auto; margin-bottom: 0; padding: 0; }

/* ---------- Invite modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: oklch(0 0 0 / 0.4); display: none; align-items: center; justify-content: center;
  z-index: 60; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-card { background: var(--surface); border-radius: 14px; padding: 22px; width: 100%; max-width: 360px; box-shadow: 0 20px 40px oklch(0 0 0 / 0.2); }
.modal-field-wrap { display: flex; flex-direction: column; gap: 5px; margin: 14px 0; }
.modal-field-wrap input, .modal-field-wrap select { margin-bottom: 0; }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border);
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom)); justify-content: space-around; z-index: 10;
}
.mobile-nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 10px; cursor: pointer; color: var(--text-faint); font-weight: 500; background: none; border: none; width: auto; margin-bottom: 0; }
.mobile-nav-item.active { color: var(--coral); font-weight: 600; }
.mobile-nav-dot { width: 18px; height: 4px; border-radius: 99px; background: var(--border); }
.mobile-nav-item.active .mobile-nav-dot { background: var(--coral); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg);
  font-size: 13px; font-weight: 600; padding: 11px 18px; border-radius: 10px; animation: toastIn 0.25s ease; z-index: 50;
  white-space: nowrap; display: none;
}
.toast.show { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1039px) {
  .dash-nav { display: none; }
  .dash-main { padding: 20px 16px 90px; }
  .mobile-nav { display: flex; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .checkout-top-row { display: flex; flex-direction: column; gap: 12px; }
  .col-divider { display: none; }
  .prop-col, .gauge-col, .guest-col { width: auto; }
  .actions-col { align-items: stretch; text-align: left; }
  .guest-name-row, .action-btn-row { justify-content: flex-start; }
  .pms-info-grid { grid-template-columns: 1fr; }
}
