/* The hidden attribute must win over component display rules (e.g. .mode-btn { display: flex }). */
[hidden] { display: none !important; }

:root {
  --bg-canvas: #F5F2EB;
  --bg-surface: #FFFDF9;
  --bg-elevated: #EFECE3;
  --bg-forest: #12291E;
  --bg-forest-mid: #1B3B2B;
  --bg-forest-soft: #E5EFE9;

  --text-primary: #14221A;
  --text-secondary: #43544A;
  --text-muted: #697A70;
  --text-on-dark: #F5F2EB;

  --border-subtle: #DDD8CB;
  --border-strong: #C2BBA8;

  --accent-emerald: #1F6E4A;
  --accent-emerald-light: #DDF3E7;
  --accent-terracotta: #C25E40;
  --accent-terracotta-light: #FCECE7;
  --accent-amber: #B47418;
  --accent-amber-light: #FDF3DF;
  --accent-sky: #1E5C7B;
  --accent-sky-light: #E2F1F8;
  --accent-danger: #B42318;
  --accent-danger-light: #FEE4E2;

  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(18, 41, 30, 0.06);
  --shadow-md: 0 8px 24px rgba(18, 41, 30, 0.08);
  --shadow-lg: 0 20px 44px rgba(18, 41, 30, 0.16);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 0.4rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  line-height: 1.18;
}

h2 {
  font-size: 1.32rem;
  line-height: 1.25;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.3;
}

p {
  margin: 0 0 0.75rem 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  margin-bottom: 0.3rem;
}

.muted-text {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ===================================================================== */
/* TOP GLOBAL HEADER                                                     */
/* ===================================================================== */
.top-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg-forest);
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.brand-emblem svg {
  width: 38px;
  height: 38px;
  display: block;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFDF9;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  margin: 0.08rem 0 0 0;
  font-size: 0.73rem;
  color: rgba(245, 242, 235, 0.72);
}

.mode-switcher {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.07);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  border: none;
  padding: 0.46rem 0.8rem;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.mode-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.mode-btn.active {
  background: #FFFDF9;
  color: var(--bg-forest);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mode-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.store-dot { background: #E38B6D; }
.customer-dot { background: #5EC2E8; }
.employee-dot { background: #F7C568; }
.ops-dot { background: #38B27B; }

.mode-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.08rem 0.4rem;
  border-radius: 99px;
  background: rgba(18, 41, 30, 0.12);
}

.mode-btn:not(.active) .mode-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #FFF;
}

.auth-cluster {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-Badge-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.25rem 0.75rem 0.25rem 0.3rem;
}

.avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #38B27B;
  color: #10241A;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-pill-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.user-pill-meta strong {
  font-size: 0.78rem;
  color: #FFF;
}

.user-pill-meta span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: #9EE2BF;
  letter-spacing: 0.04em;
}

.text-emerald { color: #6CE0A7 !important; }
.text-amber { color: #F7C568 !important; }
.text-sky { color: #7CCDF7 !important; }
.text-terracotta { color: #F59D82 !important; }

/* ===================================================================== */
/* PUBLIC MENU AND FRONT PAGE                                            */
/* ===================================================================== */
.brand-cluster { text-decoration: none; color: inherit; }
.brand-area { white-space: nowrap; }

.public-nav { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
.public-nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.75rem;
  border-radius: 7px;
}
.public-nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.public-nav a.active { background: rgba(255, 255, 255, 0.16); color: #fff; }
.nav-count {
  display: inline-block;
  min-width: 1.3rem;
  padding: 0 0.35rem;
  margin-left: 0.2rem;
  border-radius: 99px;
  background: #E38B6D;
  color: #1B120D;
  font-size: 0.75rem;
  text-align: center;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.09);
  color: #FFFDF9;
  border: 1px solid rgba(255, 255, 255, 0.32);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.2); }

.home-hero {
  background: linear-gradient(120deg, #0B1B13 0%, #173828 60%, #1E4433 100%);
  color: var(--text-on-dark);
  overflow: hidden;
  position: relative;
}
/* Animated glasshouse drawn by drawHeroBackdrop() in app.js; purely decorative. */
.home-hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.home-hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(95deg, rgba(9, 23, 16, 0.86) 0%, rgba(13, 32, 23, 0.62) 55%, rgba(13, 32, 23, 0.38) 100%);
}
.container.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 46rem);
  align-items: center;
  min-height: 420px;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.home-hero-copy h1 {
  color: #FFFDF9;
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0.4rem 0 1rem;
}
.eyebrow-light { color: #9EE2BF; }
.hero-lead {
  color: rgba(245, 242, 235, 0.9);
  font-size: 1.08rem;
  max-width: 58ch;
  margin-bottom: 1.5rem;
}
.hero-cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero-contact { color: rgba(245, 242, 235, 0.85); margin: 0; }
.hero-contact a { color: #F7C568; font-weight: 600; }
.hero-portal-strip {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(245, 242, 235, 0.75);
}

.container.home-section { padding-top: 3rem; }
.home-section > h2 { margin: 0.35rem 0 1.25rem; }
.home-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
}
.service-card h3 { margin: 0 0 0.5rem; }
.service-card p { color: var(--text-secondary); margin: 0 0 0.75rem; }
.service-card .service-price { color: var(--text-primary); font-weight: 600; }
.service-card .service-price:empty { display: none; }
.service-link { margin-top: auto; font-weight: 700; color: var(--accent-emerald); text-decoration: none; }
.service-link:hover { text-decoration: underline; }

.home-plants-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.home-plant-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem;
}
.home-plant-card:hover { border-color: var(--accent-emerald); }
.home-plant-art { background: #F6F3EB; border-radius: var(--radius-sm); padding: 0.5rem; margin-bottom: 0.35rem; }
.home-plant-art svg { display: block; width: 100%; height: auto; max-height: 160px; }
.home-plant-card .muted-text { font-size: 0.82rem; }

.container.page-intro { padding-top: 2.25rem; }
.page-intro h1 { margin: 0.35rem 0 0.5rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.page-intro a { color: var(--accent-emerald); font-weight: 600; }
.page-intro + .store-main-layout { padding-top: 1.25rem; }
.page-intro + .store-office-section { margin-top: 1.25rem; }
.store-catalog-column > .catalog-filters { margin-bottom: 1rem; }

@media (max-width: 1100px) {
  .home-plants-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .container.home-hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 2.25rem; padding-bottom: 2rem; }
  .home-services { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .home-plants-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { padding: 0.6rem 1rem; gap: 0.5rem; }
  .brand-subtitle { display: none; }
  .public-nav { order: 3; width: 100%; justify-content: space-between; }
  .public-nav a { padding: 0.4rem 0.5rem; font-size: 0.88rem; }
}

/* ===================================================================== */
/* PORTAL IDENTITY BANNERS (CUSTOMER, EMPLOYEE, OWNER)                   */
/* ===================================================================== */
.portal-identity-banner {
  padding: 1.65rem 0;
  color: #FFFDF9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.customer-banner {
  background: linear-gradient(120deg, #133326 0%, #1B4A3E 100%);
}

.employee-banner {
  background: linear-gradient(120deg, #1E3224 0%, #2E4829 100%);
}

.owner-banner {
  background: linear-gradient(120deg, #12241B 0%, #243B2E 100%);
}

.portal-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.portal-identity-banner h1 {
  color: #FFFDF9;
  margin-bottom: 0.25rem;
}

.portal-switcher-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  min-width: 310px;
}

.portal-switcher-box label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9EE2BF;
  margin-bottom: 0.3rem;
}

/* ===================================================================== */
/* SUB-NAVIGATION & SECTIONS                                             */
/* ===================================================================== */
.ops-subnav {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 60px;
  z-index: 80;
}

.ops-subnav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
}

.ops-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.ops-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(31, 110, 74, 0.04);
}

.ops-tab-btn.active {
  color: var(--accent-emerald);
  border-bottom-color: var(--accent-emerald);
  background: rgba(31, 110, 74, 0.06);
}

.workspace-view {
  display: none;
}

.workspace-view.active {
  display: block;
}

.ops-section,
.cust-section,
.emp-section {
  display: none;
  padding: 1.5rem 0 3.5rem 0;
}

.ops-section.active,
.cust-section.active,
.emp-section.active {
  display: block;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 74ch;
  margin: 0.25rem 0 0 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* ===================================================================== */
/* BUTTONS & INPUTS                                                      */
/* ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.56rem 1.05rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--bg-forest);
  color: #FFFDF9;
  border-color: var(--bg-forest);
}

.btn-primary:hover {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
}

.btn-terracotta {
  background: var(--accent-terracotta);
  color: #FFF;
  border-color: var(--accent-terracotta);
}

.btn-terracotta:hover {
  background: #A94D31;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
}

.btn-outline {
  background: transparent;
  color: var(--accent-emerald);
  border-color: rgba(31, 110, 74, 0.35);
}

.btn-outline:hover {
  background: var(--accent-emerald-light);
}

.btn-sm {
  padding: 0.36rem 0.72rem;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 0.78rem 1.35rem;
  font-size: 0.94rem;
}

.btn-block {
  width: 100%;
}

.input-field {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.52rem 0.75rem;
  outline: none;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.header-actions .input-field,
.catalog-filters .input-field {
  width: auto;
}

.input-field:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(31, 110, 74, 0.14);
}

/* ===================================================================== */
/* CARDS, KPI GRID & ALLOCATION BAR                                      */
/* ===================================================================== */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.card-header-split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kpi-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.25rem 0;
  font-variant-numeric: tabular-nums;
}

.kpi-sub {
  font-size: 0.79rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.allocation-card {
  margin-bottom: 1.25rem;
}

.allocation-legend {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-swatch {
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.allocation-bar-track {
  height: 22px;
  background: var(--bg-elevated);
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  gap: 2px;
  padding: 2px;
}

.allocation-segment {
  height: 100%;
  transition: width 0.35s ease;
}

.seg-available { background: #26855A; }
.seg-event { background: #D9822B; }
.seg-office { background: #2B6CB0; }
.seg-rehab { background: #C85A3B; }

.dashboard-two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .dashboard-two-col {
    grid-template-columns: 1fr;
  }
}

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.queue-item {
  border: 1px solid var(--border-subtle);
  background: #FAF8F3;
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.05rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.queue-item h4 {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.queue-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

/* ===================================================================== */
/* STATUS & CONDITION BADGES                                             */
/* ===================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.badge-emerald {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
}

.badge-amber {
  background: var(--accent-amber-light);
  color: var(--accent-amber);
}

.badge-terracotta {
  background: var(--accent-terracotta-light);
  color: var(--accent-terracotta);
}

.badge-sky {
  background: var(--accent-sky-light);
  color: var(--accent-sky);
}

.badge-danger {
  background: var(--accent-danger-light);
  color: var(--accent-danger);
}

.badge-neutral {
  background: var(--bg-elevated);
  color: var(--text-secondary);
}

/* ===================================================================== */
/* TABLES, EVENT CARDS, OFFICES & REHAB                                  */
/* ===================================================================== */
.table-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.data-table th {
  background: #F2EFE7;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  padding: 0.78rem 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.data-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: #FAF8F2;
}

.num-col {
  text-align: right !important;
  font-family: var(--font-mono);
}

.plant-cell-flex {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.plant-thumb-svg {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--bg-forest-soft);
  border: 1px solid rgba(31, 110, 74, 0.18);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.plant-thumb-svg svg {
  width: 38px;
  height: 38px;
}

.sku-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.events-ops-stack {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.event-ops-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.event-ops-top {
  padding: 1.2rem 1.4rem;
  background: #FAF8F3;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.event-title-cluster h3 {
  font-size: 1.18rem;
  margin-bottom: 0.25rem;
}

.event-meta-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.event-subdetails {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.event-care-strip {
  padding: 0.85rem 1.4rem;
  background: var(--bg-forest-soft);
  border-bottom: 1px solid rgba(31, 110, 74, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

.event-care-strip.no-care {
  background: #F4F1EA;
  border-bottom-color: var(--border-subtle);
}

.event-condition-table-wrap {
  padding: 1.1rem 1.4rem;
  overflow-x: auto;
}

.cond-box {
  background: #FAF8F3;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.65rem 0.8rem;
  font-size: 0.82rem;
}

.event-ops-footer {
  padding: 0.95rem 1.4rem;
  background: #F6F3EB;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.financial-pills {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.offices-ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(510px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .offices-ops-grid {
    grid-template-columns: 1fr;
  }
}

.office-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.zone-alloc-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.5rem;
  max-height: 230px;
  overflow-y: auto;
}

.zone-alloc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  background: #FAF8F3;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.82rem;
}

.tasks-board-grid,
.rehab-grid {
  display: grid;
  /* min() lets a single column fit a phone narrower than 380px. */
  grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr));
  gap: 1.15rem;
}

.task-card,
.rehab-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
}

.checklist-items {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.checklist-items li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.checklist-items li::before {
  content: "✓";
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-emerald);
}

/* ===================================================================== */
/* STOREFRONT CATALOG, DESIGNER PACKAGES & QUOTE BUILDER                 */
/* ===================================================================== */
.store-main-layout {
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 1.75rem;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  align-items: start;
}

@media (max-width: 1120px) {
  .store-main-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Grid columns may shrink below their content's natural width; otherwise one wide row (a
   strip of filter buttons, a table) pushes the whole page sideways on a phone. */
.store-main-layout > *, .dashboard-two-col > *, .office-configurator-grid > *,
.contact-grid > *, .offices-ops-grid > * {
  min-width: 0;
}

/* Phones: a dashboard row's buttons go under its details instead of beside them. */
@media (max-width: 600px) {
  .queue-item { flex-wrap: wrap; }
  .queue-item > * { min-width: 0; }
  .badge { white-space: normal; }
}

.catalog-filters {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.store-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 1.15rem;
}

.catalog-plant-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.catalog-plant-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.catalog-art-banner {
  height: 200px;
  background: linear-gradient(180deg, #E7F0EA 0%, #F5F2EB 100%);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem;
}

.catalog-art-banner svg {
  width: 175px;
  height: 175px;
}

/* Hovering a plant: the drawing lifts a little and the plant sways from the soil
   line in a breeze while the pot stays put. */
.catalog-art-banner svg,
.home-plant-art svg {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.catalog-plant-card:hover .catalog-art-banner svg,
.home-plant-card:hover .home-plant-art svg,
.home-plant-card:focus-visible .home-plant-art svg {
  transform: translateY(-4px) scale(1.04);
}
/* Every plant drawing sways gently all the time; hovering it turns the breeze up.
   --pa-amp scales the whole movement. It is a registered number so it can ease
   between the calm and hover strengths instead of jumping. */
@property --pa-amp {
  syntax: '<number>';
  inherits: true;
  initial-value: 0.35;
}
.catalog-plant-card,
.home-plant-card,
.plant-thumb-svg {
  --pa-amp: 0.35;
  transition: --pa-amp 0.8s ease;
}
.catalog-plant-card:hover,
.home-plant-card:hover,
.home-plant-card:focus-visible,
tr:hover .plant-thumb-svg,
.plant-cell-flex:hover .plant-thumb-svg {
  --pa-amp: 1;
}
.pa-foliage {
  transform-box: view-box;
  transform-origin: 50px 71px;
  animation: pa-sway 2.8s ease-in-out infinite;
  animation-delay: calc(var(--p, 0) * -0.53s);
}
/* Each leaf, frond and stem also flutters about its own base, out of step with its neighbours. */
.pa-leaf {
  transform-origin: 0 0;
  animation: pa-flutter 1.9s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.29s + var(--p, 0) * -0.41s);
}
@keyframes pa-flutter {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(calc(var(--pa-amp) * -4.5deg)); }
  60% { transform: rotate(calc(var(--pa-amp) * 3.5deg)); }
}
@keyframes pa-sway {
  0%, 100% { transform: rotate(0deg) skewX(0deg); }
  20% { transform: rotate(calc(var(--pa-amp) * -4deg)) skewX(calc(var(--pa-amp) * 1.6deg)); }
  45% { transform: rotate(calc(var(--pa-amp) * 3deg)) skewX(calc(var(--pa-amp) * -1.1deg)); }
  70% { transform: rotate(calc(var(--pa-amp) * -1.8deg)) skewX(calc(var(--pa-amp) * 0.7deg)); }
  88% { transform: rotate(calc(var(--pa-amp) * 1.1deg)) skewX(calc(var(--pa-amp) * -0.3deg)); }
}
@media (prefers-reduced-motion: reduce) {
  .pa-leaf, .pa-foliage { animation: none !important; }
}

.catalog-stock-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
}

.catalog-height-badge {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  background: rgba(18, 41, 30, 0.82);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
}

.catalog-card-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.botanical-latin {
  font-style: italic;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: -0.25rem;
}

.catalog-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  font-size: 0.76rem;
  background: #FAF8F3;
  padding: 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.catalog-card-footer {
  padding: 0.85rem 1.1rem;
  background: #F6F3EB;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.rate-stack strong {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-primary);
}

.rate-stack span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 0.2rem 0.35rem;
}

.stepper-btn {
  width: 26px;
  height: 26px;
  border: none;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
}

.stepper-btn:hover {
  background: var(--bg-forest);
  color: #FFF;
}

.stepper-val {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  min-width: 22px;
  text-align: center;
}

.store-quote-sidebar {
  position: sticky;
  top: 78px;
}

.quote-builder-card {
  background: var(--bg-surface);
  border: 2px solid var(--bg-forest);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-md);
}

.quote-selected-items {
  max-height: 210px;
  overflow-y: auto;
  margin: 0.75rem 0 1rem 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: #FAF8F3;
  padding: 0.6rem;
}

.quote-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.3rem;
  border-bottom: 1px dashed var(--border-subtle);
  font-size: 0.82rem;
}

.quote-item-row:last-child {
  border-bottom: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin-bottom: 0.75rem;
}

.form-group label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-row-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.65rem;
}

/* Two date pickers side by side don't fit the smallest phones. */
@media (max-width: 380px) {
  .form-row-2 { grid-template-columns: minmax(0, 1fr); }
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.care-toggle-box {
  background: var(--bg-forest-soft);
  border: 1px solid rgba(31, 110, 74, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-bottom: 0.85rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.83rem;
}

.checkbox-label input {
  margin-top: 0.22rem;
}

.checkbox-label small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.74rem;
}

.care-suboptions {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(31, 110, 74, 0.16);
}

.quote-pricing-summary {
  background: #F4F1E8;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.price-row.total {
  font-size: 0.98rem;
  font-weight: 700;
  border-top: 1px solid var(--border-strong);
  padding-top: 0.45rem;
  margin-top: 0.4rem;
}

.store-office-section {
  background: #EAE5D9;
  border-top: 1px solid var(--border-strong);
  padding: 3.25rem 0 4rem 0;
}

.office-configurator-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .office-configurator-grid {
    grid-template-columns: 1fr;
  }
}

.office-tiers-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.office-tier-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.office-tier-card.active {
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-md);
}

.tier-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 99px;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  margin-bottom: 0.45rem;
}

.tier-badge.secondary {
  background: var(--accent-sky-light);
  color: var(--accent-sky);
}

.check-list {
  margin: 0.65rem 0 0 0;
  padding-left: 1.15rem;
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.check-list li {
  margin-bottom: 0.3rem;
}

.office-estimate-banner {
  background: var(--bg-forest);
  color: #FFFDF9;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ===================================================================== */
/* LOGIN ROLE DEMO CARDS & MODAL DIALOGS                                 */
/* ===================================================================== */
.demo-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 720px) {
  .demo-roles-grid {
    grid-template-columns: 1fr;
  }
}

.demo-role-card {
  background: #FAF8F3;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.6rem;
}

.demo-role-card h4 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  margin: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14, 28, 21, 0.62);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.hidden {
  display: none;
}

.modal-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  padding: 1.1rem 1.4rem;
  background: var(--bg-forest);
  color: #FFFDF9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h2 {
  color: #FFFDF9;
  margin: 0;
  font-size: 1.2rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #FFFDF9;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.modal-body {
  padding: 1.4rem;
  overflow-y: auto;
}

.toast-container {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toast {
  background: var(--bg-forest);
  color: #FFFDF9;
  border-left: 4px solid #52D196;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.86rem;
  font-weight: 500;
  max-width: 440px;
}

@media print {
  .top-header, .ops-subnav, .btn, .toast-container, .portal-identity-banner {
    display: none !important;
  }
  .modal-backdrop {
    position: static;
    background: none;
    padding: 0;
  }
  .modal-panel {
    max-width: 100%;
    max-height: none;
    box-shadow: none;
    border: none;
  }
}

/* Public information sections and footer */
.info-section { padding: 3rem 1.25rem 1rem; max-width: 900px; }
.info-section h2 { margin: 0.35rem 0 1rem; }
.info-steps { padding-left: 1.25rem; line-height: 1.6; }
.info-steps li { margin-bottom: 0.6rem; }
.faq-item { border-bottom: 1px solid var(--border-subtle); padding: 0.75rem 0; }
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { margin: 0.5rem 0 0; color: var(--text-secondary); }
.site-footer { margin-top: 3rem; padding: 2rem 0 1.25rem; border-top: 1px solid var(--border-subtle); }
.site-footer-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: flex-start; }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer-links a { color: var(--text-secondary); text-decoration: none; }
.site-footer-links a:hover { text-decoration: underline; }
.site-footer-copy { margin-top: 1rem; font-size: 0.8rem; }

/* Less motion for visitors who ask their device for it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Added: photos, leads, reports, messages, contact form ---------- */
.modal-actions { display: flex; justify-content: flex-end; gap: 0.65rem; margin-top: 1rem; flex-wrap: wrap; align-items: center; }
.link-btn { background: none; border: none; padding: 0; color: var(--accent-terracotta, #b5543a); cursor: pointer; font-size: 0.72rem; text-decoration: underline; }
.lead-line { display: inline-flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.text-warn { color: var(--accent-amber); }
.photo-strip { margin-top: 0.85rem; padding-top: 0.75rem; border-top: 1px solid var(--border-subtle); }
.photo-strip-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.photo-group { margin-bottom: 0.6rem; }
.photo-group-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.3rem; }
.photo-thumbs { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.photo-thumb { margin: 0; width: 120px; font-size: 0.72rem; line-height: 1.3; }
.photo-thumb img { width: 120px; height: 90px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border-subtle); display: block; background: #eee; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem; align-items: start; }
.contact-form { padding: 1.25rem; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-result { margin: 0.6rem 0 0; font-size: 0.88rem; min-height: 1.2em; }
.form-result.ok { color: var(--accent-emerald); }
.form-result.err { color: var(--accent-danger, #b3261e); }
.message-card { margin-bottom: 0.85rem; }
.message-card.is-new { border-left: 4px solid var(--accent-amber); }
.message-body { white-space: pre-wrap; margin: 0.75rem 0 0.4rem; }
.report-card { margin-bottom: 1.25rem; }
.report-card h2 { margin-top: 0; }
.table-scroll { overflow-x: auto; }
.total-row td { border-top: 2px solid var(--border-strong); }
.backup-list { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.backup-list li { margin-bottom: 0.25rem; }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
  .photo-thumb, .photo-thumb img { width: 100px; }
  .photo-thumb img { height: 75px; }
}

/* ---------------- Owner: Setup & Settings checklist (public/setup.js) ---------------- */
.setup-hero { margin-bottom: 1rem; }
.setup-status-badge { white-space: nowrap; align-self: flex-start; }
.setup-progress { height: 10px; border-radius: 999px; background: var(--bg-elevated); overflow: hidden; margin-top: 0.75rem; }
.setup-progress-fill { height: 100%; background: var(--accent-emerald); border-radius: 999px; transition: width 0.3s ease; }
.setup-progress-label { margin: 0.4rem 0 0; font-size: 0.85rem; }
.setup-steps { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.6rem; }
.setup-step { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); min-width: 0; }
.setup-step.open { border-color: var(--accent-emerald); }
.setup-step-head { width: 100%; display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1rem; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.setup-step-num { flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--bg-elevated); color: var(--text-secondary); }
.setup-step.done .setup-step-num { background: var(--accent-emerald); color: #fff; }
.setup-step-title { flex: 1 1 auto; min-width: 0; font-weight: 600; font-size: 1rem; }
.setup-step-state { flex: 0 0 auto; font-size: 0.8rem; color: var(--text-muted); }
.setup-step.done .setup-step-state { color: var(--accent-emerald); font-weight: 600; }
.setup-step-body { padding: 0 1rem 1rem 3.8rem; }
.setup-step-body h4 { margin: 1rem 0 0.4rem; font-family: var(--font-sans); font-size: 0.92rem; }
.setup-form .form-group { margin-bottom: 0.6rem; }
.setup-input-wrap { display: flex; align-items: center; gap: 0.4rem; max-width: 30rem; }
.setup-input-wrap .input-field { flex: 1 1 auto; min-width: 0; }
.setup-affix { flex: 0 0 auto; color: var(--text-muted); font-size: 0.88rem; }
.setup-hint { margin: 0.25rem 0 0; font-size: 0.82rem; }
.setup-tier { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-bottom: 0.5rem; }
.setup-small { width: 5.2rem; flex: 0 0 auto; }
.setup-list { margin: 0.4rem 0 0.8rem; padding-left: 1.25rem; }
.setup-list li { margin-bottom: 0.35rem; }
.setup-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
.bookings-closed-note { margin: 0.75rem 0; padding: 0.75rem 0.9rem; border-radius: var(--radius-sm); background: var(--accent-amber-light); color: var(--text-primary); border: 1px solid #EBCB8B; font-size: 0.9rem; }
@media (max-width: 600px) {
  .setup-step-body { padding: 0 0.85rem 0.9rem; }
  .setup-step-head { padding: 0.75rem 0.85rem; }
  .setup-form .form-row-2 { grid-template-columns: minmax(0, 1fr); }
}
