/* =========================================================================
   Automira dashboard — v1 styles
   Design tokens (Riktning A: lugn skandinavisk)
   ========================================================================= */

:root {
  /* Color */
  --bg:        oklch(0.985 0.005 80);
  --paper:     oklch(1.000 0.000 0);
  --paper-2:   oklch(0.975 0.006 80);
  --ink:       oklch(0.22 0.01 80);
  --ink-2:     oklch(0.42 0.01 80);
  --ink-3:     oklch(0.62 0.01 80);
  --line:      oklch(0.90 0.008 80);
  --line-2:    oklch(0.94 0.006 80);
  --accent:    oklch(0.62 0.08 200);
  --accent-soft: oklch(0.94 0.025 200);
  --good:      oklch(0.62 0.10 155);
  --good-soft: oklch(0.95 0.03 155);
  --warn:      oklch(0.68 0.12 60);
  --warn-soft: oklch(0.96 0.04 60);
  --bad:       oklch(0.60 0.14 25);
  --bad-soft:  oklch(0.96 0.03 25);

  /* Type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-display: "Instrument Serif", Georgia, serif;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  /* Spacing */
  --gap-1: 8px;
  --gap-2: 14px;
  --gap-3: 22px;
  --gap-4: 32px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
button { font: inherit; cursor: pointer; }
table { border-collapse: collapse; }

/* ---------- Layout shell ---------- */
.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
}

.main {
  padding: 28px 36px 80px;
  min-width: 0; /* allow children to shrink in grid */
  max-width: 1400px;
}

/* ---------- Sidebar ---------- */
.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 16px;
  border-bottom: 1px solid var(--line-2);
}
.brand .logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand a {
  display: flex;         
  align-items: center;   
  gap: 12px;             
  text-decoration: none; 
  color: var(--ink);        
}
.brand .name {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.brand .name small {
  display: block;
  color: var(--ink-3);
  font-weight: 400;
  margin: 2px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.nav-group { display: flex; flex-direction: column; gap: 2px; }
.nav-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  padding: 0 10px;
  margin-bottom: 4px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 13.5px;
  cursor: pointer;
  user-select: none;
}
.nav-item:hover { background: var(--paper-2); color: var(--ink); }
.nav-item.active { background: var(--accent-soft); color: var(--ink); }
.nav-item .nav-ic {
  width: 16px; height: 16px;
  display: grid; place-items: center;
  color: var(--ink-3);
  flex-shrink: 0;
}
.nav-item.active .nav-ic { color: var(--accent); }
.nav-item .nav-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 1px 7px;
  letter-spacing: 0.02em;
}

.sidebar-foot {
  margin-top: auto;
  padding: 12px 10px;
  border-top: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.sidebar-foot .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-weight: 500;
  font-size: 12px;
}

/* ---------- Topbar ---------- */
.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.topbar h1 {
  margin: 0 0 6px;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.topbar h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.topbar .sub {
  font-size: 13.5px;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 8px;
}
.topbar .sub .sync-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--good);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.actions { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  transition: background 120ms ease, border-color 120ms ease;
}
.btn:hover { background: var(--paper-2); border-color: var(--ink-3); }
.btn.primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn.primary:hover { background: var(--ink-2); }
.btn .btn-ic { width: 14px; height: 14px; }
.btn.refreshing .btn-ic { animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Generic section ---------- */
.section { margin-bottom: 44px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
}
.section-head h2 {
  margin: 0;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.005em;
}
.section-head .section-sub {
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- KPI cards ---------- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.kpi {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 132px;
}
.kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.kpi-ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
}
.kpi-ic.good { background: var(--good-soft); color: var(--good); }
.kpi-ic.warn { background: var(--warn-soft); color: var(--warn); }
.kpi-ic.bad  { background: var(--bad-soft);  color: var(--bad);  }
.kpi-label { font-size: 12.5px; color: var(--ink-2); }
.kpi-value {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 6px;
}
.kpi-delta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-top: auto;
  padding-top: 8px;
  letter-spacing: 0.01em;
}
.kpi-delta.up   { color: var(--good); }
.kpi-delta.down { color: var(--bad); }
.kpi-delta.warn { color: var(--warn); }

/* ---------- Flow ---------- */
.flow {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}
.flow .step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 0 12px;
  position: relative;
}
.flow .step .n {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.flow .step .bubble {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 12px;
  border: 1px solid oklch(0.86 0.04 200);
}
.flow .step.flagged .bubble {
  background: var(--warn-soft);
  color: var(--warn);
  border-color: oklch(0.86 0.06 60);
}
.flow .step .lbl {
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--ink);
}
.flow .step .count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  margin-bottom: 2px;
}
.flow .step .sub {
  font-size: 11.5px;
  color: var(--ink-3);
}
.flow .step + .step::before {
  content: "";
  position: absolute;
  left: -8px; top: 30px;
  width: 16px; height: 1px;
  background: var(--line);
}
.flow .step + .step::after {
  content: "";
  position: absolute;
  left: -1px; top: 27px;
  width: 7px; height: 7px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: rotate(45deg);
}

/* ---------- Bookings table ---------- */
.table-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow-x: auto;
}
table.bookings { min-width: 760px; }
table.bookings {
  width: 100%;
  font-size: 13.5px;
}
table.bookings thead th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 400;
  padding: 12px 20px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
table.bookings tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
}
table.bookings tbody tr:last-child td { border-bottom: none; }
table.bookings tbody tr:hover { background: var(--paper-2); }

.cell-time .day {
  font-weight: 500;
  font-size: 12.5px;
  color: var(--ink);
}
.cell-time .hh {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 2px;
}
.cell-customer .name { font-weight: 500; color: var(--ink); }
.cell-customer .contact {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}
.cell-action {
  text-align: right;
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}
.cell-action:hover { text-decoration: underline; cursor: pointer; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-3);
}
.badge.green   { color: var(--good); border-color: oklch(0.88 0.05 155); background: var(--good-soft); }
.badge.green::before  { background: var(--good); }
.badge.amber   { color: var(--warn); border-color: oklch(0.88 0.06 60); background: var(--warn-soft); }
.badge.amber::before  { background: var(--warn); }
.badge.red     { color: var(--bad); border-color: oklch(0.88 0.06 25); background: var(--bad-soft); }
.badge.red::before    { background: var(--bad); }
.badge.blue    { color: var(--accent); border-color: oklch(0.86 0.04 200); background: var(--accent-soft); }
.badge.blue::before   { background: var(--accent); }

/* ---------- Value section ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.value-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.value-card .tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.value-card .v {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}
.value-card .v em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.value-card .l {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.value-card .d {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
/* ===== Overview polish: KPI 6 cards ===== */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.kpi {
  min-height: 150px;
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #e8e3dc;
  box-shadow: 0 10px 30px rgba(31, 31, 28, 0.045);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(31, 31, 28, 0.08);
}

.kpi-label {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 14px;
}

.kpi-value {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 8px;
}

.kpi-delta {
  font-size: 12px;
  margin-top: 12px;
}

.kpi-delta.up {
  color: #2f8f5b;
}

.kpi-delta.warn {
  color: #b86b10;
}

.kpi-ic.good {
  background: #e4f6ec;
  color: #2f8f5b;
}

.kpi-ic.warn {
  background: #fff0dd;
  color: #b86b10;
}
/* ===== Automation page ===== */

.automation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.automation-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #e8e3dc;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(31, 31, 28, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.automation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(31, 31, 28, 0.08);
}

.automation-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.automation-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eef5f4;
  color: #335f5d;
}

.automation-icon.good {
  background: #e4f6ec;
  color: #2f8f5b;
}

.automation-icon.warn {
  background: #fff0dd;
  color: #b86b10;
}

.automation-status {
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  background: #f2efea;
  color: #77716a;
  border: 1px solid #e5ded6;
}

.automation-status.good {
  background: #e4f6ec;
  color: #2f8f5b;
  border-color: #b9e2c7;
}

.automation-status.warn {
  background: #fff0dd;
  color: #b86b10;
  border-color: #efcfa4;
}

.automation-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.automation-card p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.55;
  font-size: 14px;
}

.automation-metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 18px;
}

.automation-metric strong {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.automation-metric span {
  color: var(--ink-2);
  font-size: 13px;
}

.automation-steps {
  display: grid;
  gap: 8px;
}

.automation-step {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 13px;
  background: #fbfaf8;
  border: 1px solid #eee8df;
  color: var(--ink-2);
  font-size: 13px;
}

.automation-step span {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);

}

/* ===== Bookings page polish ===== */

.booking-toolbar {
  display: grid;
  grid-template-columns: 1fr 190px 190px;
  gap: 12px;
  margin: 20px 0 18px;
  align-items: center;
}

.booking-search,
.booking-select {
  height: 42px;
  border-radius: 14px;
  border: 1px solid #e5ded6;
  background: rgba(255, 255, 255, 0.9);
  padding: 0 14px;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  box-shadow: 0 6px 18px rgba(31, 31, 28, 0.035);
}

.booking-search::placeholder {
  color: var(--ink-3);
}

.booking-search:focus,
.booking-select:focus {
  border-color: #9fcfcd;
  box-shadow: 0 0 0 3px rgba(185, 222, 221, 0.35);
}

.booking-select {
  cursor: pointer;
}

.mini-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
}

.mini-status.good {
  background: #e4f6ec;
  color: #2f8f5b;
  border: 1px solid #b9e2c7;
}

.mini-status.warn {
  background: #fff0dd;
  color: #b86b10;
  border: 1px solid #efcfa4;
}

.mini-status.muted {
  background: #f2efea;
  color: #8c867f;
  border: 1px solid #e5ded6;
}
.booking-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.booking-count {
  font-size: 13px;
  color: var(--ink-3);
  white-space: nowrap;
  padding-top: 6px;
}
.booking-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.booking-count {
  font-size: 13px;
  color: var(--ink-3);
  white-space: nowrap;
  padding-top: 6px;
}
.section-head.booking-page-head {
  display: flex;
}

.modal-error {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fde7e7;
  color: #b24545;
  border: 1px solid #f2b8b8;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .booking-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .automation-grid {
    grid-template-columns: 1fr;
  }
}
.nav-item {
  cursor: pointer;
}

@media (max-width: 1280px) {
  .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Add booking modal ===== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(31, 31, 28, 0.32);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.booking-modal {
  width: min(760px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e8e3dc;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(31, 31, 28, 0.22);
  padding: 24px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.modal-head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.modal-head p {
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 14px;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #e5ded6;
  background: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.modal-grid label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 600;
}

.modal-grid input,
.modal-grid select {
  height: 44px;
  border-radius: 14px;
  border: 1px solid #e5ded6;
  background: #fff;
  padding: 0 13px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}

.modal-grid input:focus,
.modal-grid select:focus {
  border-color: #9fcfcd;
  box-shadow: 0 0 0 3px rgba(185, 222, 221, 0.35);
}

.modal-note {
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 16px;
  background: #fbfaf8;
  border: 1px solid #eee8df;
  color: var(--ink-2);
  font-size: 13px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 720px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== No-show page ===== */

.noshow-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 18px;
}

.noshow-card {
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #e8e3dc;
  box-shadow: 0 10px 30px rgba(31, 31, 28, 0.045);
}

.noshow-label {
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.noshow-value {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.noshow-sub {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 10px;
}

.noshow-toolbar {
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .noshow-summary {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.foot {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  display: flex; justify-content: space-between;
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .flow .step + .step:nth-child(3n+1)::before,
  .flow .step + .step:nth-child(3n+1)::after { display: none; }
  .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    overflow-x: auto;
    padding: 12px 16px;
    gap: 12px;
  }
  .sidebar .nav-group { flex-direction: row; flex-shrink: 0; }
  .sidebar .nav-label { display: none; }
  .sidebar .nav-item { flex-shrink: 0; }
  .sidebar-foot { display: none; }
  .brand { border-bottom: none; padding: 0 8px 0 0; flex-shrink: 0; }
  .main { padding: 20px 18px 60px; }
  .topbar h1 { font-size: 24px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow .step + .step:nth-child(odd)::before,
  .flow .step + .step:nth-child(odd)::after { display: none; }
  table.bookings thead { display: none; }
  table.bookings tbody td { display: block; padding: 6px 18px; border: none; }
  table.bookings tbody tr {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-2);
  }
  .cell-action { text-align: left; padding-top: 10px !important; }
}
