:root {
  --ink: #17202a;
  --muted: #5d6977;
  --paper: #f6fafb;
  --white: #ffffff;
  --aqua: #12a8b5;
  --aqua-dark: #087887;
  --yellow: #f2c94c;
  --coral: #ee6c4d;
  --green: #2f9e64;
  --line: #dce7ea;
  --shadow: 0 24px 70px rgba(23, 32, 42, 0.18);
  --accent-text: #17202a;
  --primary-text: #ffffff;
  --hero-text: #ffffff;
  --hero-overlay: 0.64;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 231, 234, 0.9);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 8px;
  color: var(--yellow);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0;
  width: 42px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  padding: 10px 12px;
}

.nav a:hover {
  background: #ecf6f7;
  color: var(--ink);
}

.hero {
  isolation: isolate;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-media {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
  z-index: -2;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(10 19 26 / var(--hero-overlay)), rgb(10 19 26 / calc(var(--hero-overlay) * 0.66)) 48%, rgb(10 19 26 / calc(var(--hero-overlay) * 0.22))),
    linear-gradient(0deg, rgba(246, 250, 251, 0.94), rgba(246, 250, 251, 0) 34%);
  z-index: -1;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(24px, 4vw, 52px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  margin: 0 auto;
  max-width: 1200px;
  min-height: calc(100vh - 72px);
  padding: clamp(28px, 5vw, 70px) clamp(16px, 4vw, 56px) clamp(64px, 8vw, 96px);
}

.hero-copy {
  color: var(--hero-text);
  max-width: 680px;
}

.hero-intro {
  display: contents;
}

.eyebrow,
.section-kicker {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 88px;
  line-height: 0.95;
  margin: 14px 0 20px;
  max-width: 820px;
  overflow-wrap: anywhere;
}

.lead {
  color: var(--hero-text);
  font-size: 20px;
  line-height: 1.65;
  margin: 0;
  max-width: 620px;
  overflow-wrap: anywhere;
}

.hero-actions,
.form-actions,
.editor-head,
.appointment-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 28px;
}

.btn {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--yellow);
  color: var(--accent-text);
  box-shadow: 0 12px 28px rgb(23 32 42 / 0.12);
}

.btn.light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  outline: 1px solid rgba(255, 255, 255, 0.38);
}

.btn.subtle {
  background: #e9f4f5;
  color: var(--aqua-dark);
}

.btn.danger {
  background: #ffece8;
  color: #a33a27;
}

.btn.whatsapp {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(47, 158, 100, 0.24);
}

.btn.full {
  width: 100%;
}

.booking-panel,
.admin-shell {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booking-panel {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
}

.panel-head h2,
.section-head h2,
.contact-band h2 {
  margin: 8px 0 0;
}

.panel-head h2 {
  font-size: 28px;
  overflow-wrap: anywhere;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 0.83rem;
  font-weight: 800;
  gap: 7px;
}

input,
select,
textarea {
  background: #fbfefe;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 44px;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  min-height: 86px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(18, 168, 181, 0.14);
  outline: none;
}

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

.field-title {
  color: var(--muted);
  display: block;
  font-size: 0.83rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.slots {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.slot {
  position: relative;
}

.slot input {
  opacity: 0;
  position: absolute;
}

.slot span {
  align-items: center;
  background: #edf8f9;
  border: 1px solid #cfe8eb;
  border-radius: 8px;
  color: var(--aqua-dark);
  display: flex;
  font-weight: 900;
  justify-content: center;
  min-height: 42px;
  padding: 8px;
}

.slot input:checked + span {
  background: var(--aqua);
  border-color: var(--aqua);
  color: var(--primary-text);
}

.empty-state {
  background: #f1f6f7;
  border: 1px dashed #c9dcdf;
  border-radius: 8px;
  color: var(--muted);
  padding: 18px;
  text-align: center;
}

.form-note {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0;
  text-align: center;
}

.confirmation {
  background: #eaf8ef;
  border: 1px solid #ccebd8;
  border-radius: 8px;
  color: #155f38;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.confirmation[hidden] {
  display: none;
}

.confirmation strong {
  color: #0f4c2e;
}

.section {
  margin: 0 auto;
  max-width: 1200px;
  padding: clamp(56px, 8vw, 92px) clamp(16px, 4vw, 56px);
}

.service-section {
  padding-top: 44px;
}

.section-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
  max-width: 660px;
}

.section-head.compact h2 {
  max-width: none;
}

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

.service-card,
.summary-card,
.appointment-card,
.service-row {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  display: grid;
  gap: 16px;
  min-height: 210px;
  padding: 18px;
}

.service-icon {
  align-items: center;
  aspect-ratio: 1;
  background: #e8f7f8;
  border-radius: 8px;
  color: var(--aqua-dark);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  width: 46px;
}

.service-card h3,
.service-row h4 {
  margin: 0;
}

.service-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.price-line {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: auto;
}

.price {
  color: var(--aqua-dark);
  font-size: 1.35rem;
  font-weight: 900;
}

.duration {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.summary-grid {
  margin-bottom: 16px;
}

.summary-card {
  padding: 18px;
}

.summary-card small {
  color: var(--muted);
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

.summary-card strong {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.admin-shell {
  overflow: hidden;
}

.admin-page .admin-section {
  padding-top: 32px;
}

.admin-page h1 {
  font-size: 28px;
  line-height: 1.2;
  margin: 8px 0 0;
}

.admin-page .section-kicker,
.login-page .section-kicker {
  color: var(--aqua-dark);
  letter-spacing: 0;
}

.admin-page .admin-shell {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.settings-fields {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
  border: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.admin-page .service-row {
  margin-top: 12px;
  grid-template-columns: minmax(140px, 1.2fr) 100px 100px minmax(150px, 1fr) auto;
}

.save-status {
  font-size: 14px;
  color: var(--aqua-dark);
}

.login-page {
  padding: 60px 20px;
}

.login-box {
  margin: 0 auto;
  max-width: 420px;
}

.login-box h1 {
  font-size: 28px;
  line-height: 1.2;
}

.login-box p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.login-back {
  display: block;
  margin-top: 20px;
  text-align: center;
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 18px;
}

.access-form {
  max-width: 440px;
}

.logout-form {
  margin: 0;
}

.login-box > .logout-form {
  margin-top: 20px;
}

.form-error {
  color: #a33a27;
  background: #ffece8;
  border-left: 3px solid #a33a27;
  padding: 12px;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

button:disabled,
fieldset:disabled {
  opacity: 0.65;
}

button:disabled {
  cursor: wait;
}

@media (max-width: 960px) {
  .admin-page .service-row { grid-template-columns: 1fr 1fr; }
  .settings-fields { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .settings-fields, .admin-page .service-row { grid-template-columns: 1fr; }
  .admin-page h1 { font-size: 24px; }
}

.tabbar {
  background: #eef7f8;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
}

.tab {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  align-items: center;
  display: inline-flex;
  gap: 6px;
  font-weight: 900;
  min-height: 42px;
  padding: 10px 16px;
}

.tab.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(23, 32, 42, 0.08);
}

.tab-panel {
  display: none;
  padding: clamp(14px, 3vw, 22px);
}

.tab-panel.active {
  display: block;
}

.toolbar {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.toolbar label {
  min-width: 150px;
}

.toolbar .grow {
  flex: 1 1 260px;
}

.appointments-list {
  display: grid;
  gap: 12px;
}

.turn-capacity:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-capacity { margin-bottom: 20px; padding-block: 12px; border-block: 1px solid var(--line); }
.booking-capacity { margin: 8px 0 12px; }
.turn-total { border-left: 3px solid var(--green); padding-left: 10px; min-width: 0; }
.turn-total strong, .turn-total span { display: block; overflow-wrap: anywhere; }
.turn-total strong { font-size: 14px; line-height: 1.5; }
.turn-total span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.turn-total[data-full="true"] { border-color: #b53f2e; }
.turn-total[data-full="true"] strong { color: #a33a27; }
.entry-source { color: var(--aqua-dark); font-weight: 800; }
.capacity-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.walk-in-dialog { width: min(580px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; border: 1px solid var(--line); border-radius: 8px; padding: 24px; color: var(--ink); background: var(--white); overflow-y: auto; }
.walk-in-dialog::backdrop { background: rgb(0 0 0 / 50%); }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dialog-heading h2 { font-size: 21px; margin: 0; line-height: 1.4; }
.walk-in-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border: 0; min-width: 0; margin: 0 0 20px; padding: 0; }
.walk-in-dialog [hidden] { display: none; }

@media (max-width: 720px) {
  .capacity-fields, .walk-in-fields, .turn-capacity:not([hidden]) { grid-template-columns: 1fr; }
  .walk-in-dialog { padding: 20px; }
}

.appointment-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.appointment-main {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 92px 1fr auto;
}

.time-box {
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  display: grid;
  min-height: 72px;
  padding: 10px;
  place-items: center;
  text-align: center;
}

.time-box strong {
  font-size: 1.25rem;
}

.appointment-card h3 {
  margin: 0 0 4px;
}

.appointment-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.91rem;
  gap: 8px 14px;
}

.status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px 10px;
  text-transform: uppercase;
}

.status.pendente {
  background: #fff6dc;
  color: #896100;
}

.status.confirmado {
  background: #dbf4ff;
  color: #056c88;
}

.status.atendido {
  background: #e2f8eb;
  color: #146c3d;
}

.status.cancelado {
  background: #ffe8e3;
  color: #a33a27;
}

.settings-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wide {
  grid-column: 1 / -1;
}

.services-editor {
  display: grid;
  gap: 12px;
}

.editor-head {
  justify-content: space-between;
}

.editor-head h3 {
  margin: 0;
}

.service-row {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(160px, 1.2fr) 110px 110px 1fr auto;
  padding: 12px;
}

.service-row .btn {
  min-height: 42px;
}

.contact-band {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-top: 24px;
  padding: clamp(34px, 6vw, 60px) clamp(16px, 4vw, 56px);
}

.contact-band > div {
  max-width: 760px;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.74);
  margin: 10px 0 0;
}

.toast {
  background: var(--ink);
  border-radius: 8px;
  bottom: 18px;
  box-shadow: var(--shadow);
  color: var(--white);
  left: 50%;
  max-width: min(92vw, 520px);
  opacity: 0;
  padding: 14px 16px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 20px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 40;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  padding: 24px clamp(16px, 4vw, 56px);
}

.appearance-layout {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
}

.opening-editor {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding-top: 20px;
}

.opening-editor h3 {
  font-size: 17px;
  margin: 0;
}

.weekdays-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.weekday-toggle {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  gap: 4px 8px;
  grid-template-columns: 18px minmax(0, 1fr);
  padding: 12px 10px;
}

.weekday-toggle small {
  font-size: 12px;
  font-weight: 500;
  grid-column: 2;
}

.weekday-toggle[data-state="open"] {
  background: #edf8f2;
  border-color: #acd5bc;
  color: #146c3d;
}

.weekday-toggle input,
.inline-check input {
  accent-color: var(--green);
  height: 18px;
  min-height: 18px;
  padding: 0;
  width: 18px;
}

.inline-check {
  align-items: center;
  display: flex;
  gap: 8px;
  min-height: 44px;
}

.special-date-toolbar {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.special-dates-list {
  display: grid;
}

.special-date-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto 40px;
  max-width: 520px;
  padding: 10px 0;
}

.special-dates-empty {
  color: var(--muted);
  font-size: 13px;
}

.opening-badge,
.business-status {
  background: #f0f3f4;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
}

.opening-badge[data-state="open"],
.business-status[data-state="open"] {
  background: #e2f8eb;
  color: #146c3d;
}

.opening-badge[data-state="closed"],
.business-status[data-state="closed"] {
  background: #ffece8;
  color: #a33a27;
}

.day-opening {
  border-left: 3px solid #2f9e64;
  color: #146c3d;
  display: grid;
  font-size: 14px;
  gap: 3px;
  padding: 4px 0 4px 12px;
}

.day-opening span {
  color: var(--muted);
  font-size: 13px;
}

.day-opening[data-state="closed"] {
  border-color: #ee6c4d;
  color: #a33a27;
}

.day-opening[hidden],
.business-status[hidden] {
  display: none;
}

.appearance-fields {
  border: 0;
  display: grid;
  gap: 24px;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.appearance-group {
  display: grid;
  gap: 14px;
}

.appearance-group + .appearance-group {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.appearance-group h2,
.preview-toolbar h2 {
  font-size: 17px;
  line-height: 1.3;
  margin: 0;
}

.appearance-colors {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.appearance-colors input {
  cursor: pointer;
  height: 44px;
  padding: 5px;
}

.image-actions,
.preview-toolbar,
.preview-modes {
  align-items: center;
  display: flex;
  gap: 8px;
}

.image-status {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.range-label {
  align-items: center;
  grid-template-columns: 1fr auto;
}

.range-label input {
  accent-color: var(--aqua-dark);
  box-shadow: none;
  grid-column: 1 / -1;
  padding: 0;
}

.range-label output {
  font-variant-numeric: tabular-nums;
}

.appearance-actions {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.icon-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
}

.icon-button:hover,
.icon-button.active {
  background: #e9f4f5;
  border-color: var(--aqua-dark);
  color: var(--aqua-dark);
}

.icon-button:focus-visible,
.tab:focus-visible {
  outline: 2px solid var(--aqua-dark);
  outline-offset: 3px;
}

.appearance-preview {
  min-width: 0;
  position: sticky;
  top: 96px;
}

.preview-toolbar {
  margin-bottom: 12px;
}

.preview-toolbar h2 {
  margin-right: auto;
}

.preview-stage {
  background: #e8eef0;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 180px;
  overflow: hidden;
  position: relative;
}

.preview-stage iframe {
  background: white;
  border: 0;
  position: absolute;
  top: 0;
  transform-origin: top left;
}

body:has(.hero) .slots > .empty-state {
  grid-column: 1 / -1;
}

@media (max-width: 1199px) {
  .hero h1 { font-size: 64px; }
}

@media (max-width: 960px) {
  .weekdays-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .appearance-layout { grid-template-columns: 1fr; }
  .appearance-preview { grid-row: 1; position: static; }
  .hero h1 { font-size: 56px; }
  .hero-inner,
  .settings-grid,
  .services-grid,
  .summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-inner {
    align-items: start;
    padding-top: 42px;
  }

  .hero-copy,
  .booking-panel {
    grid-column: 1 / -1;
  }

  .appointment-main,
  .service-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .weekdays-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: 40px; }
  .lead { font-size: 17px; }
  .panel-head h2 { font-size: 24px; }
  .appearance-colors { grid-template-columns: repeat(3, minmax(0, 1fr)); font-size: 12px; }
  .tab { font-size: 13px; padding: 10px 12px; }
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    position: static;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner,
  .field-grid,
  .settings-grid,
  .services-grid,
  .summary-grid,
  .slots {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-bottom: 42px;
  }

  .section-head,
  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbar {
    align-items: stretch;
  }

  .toolbar label,
  .toolbar .btn {
    width: 100%;
  }

  .customer-page .topbar {
    gap: 8px;
    padding: 12px 16px 8px;
  }

  .customer-page .brand {
    gap: 10px;
    min-width: 0;
    width: 100%;
  }

  .customer-page .brand-mark {
    flex: 0 0 36px;
    width: 36px;
  }

  .customer-page .brand > span:last-child {
    min-width: 0;
  }

  .customer-page .brand strong {
    font-size: 14px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .customer-page .nav {
    display: grid;
    gap: 4px 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .customer-page .business-status {
    font-size: 11px;
    grid-column: 1 / -1;
    justify-self: start;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 5px 8px;
  }

  .customer-page .nav a {
    font-size: 13px;
    min-height: 40px;
    padding: 10px 4px;
    text-align: center;
  }

  .customer-page .hero {
    background: var(--paper);
  }

  .customer-page .hero-inner {
    display: block;
    padding: 0 0 24px;
  }

  .customer-page .hero-intro {
    display: block;
    isolation: isolate;
    overflow: hidden;
    padding: 24px 16px;
    position: relative;
  }

  .customer-page .hero-shade {
    background: rgb(10 19 26 / var(--hero-overlay));
  }

  .customer-page .hero-copy {
    max-width: none;
  }

  .customer-page .eyebrow {
    font-size: 11px;
    line-height: 1.4;
    margin: 0 0 10px;
    overflow-wrap: anywhere;
  }

  .customer-page .hero h1 {
    font-size: 30px;
    line-height: 1.12;
    margin: 0 0 12px;
  }

  .customer-page .lead {
    font-size: 15px;
    line-height: 1.5;
  }

  .customer-page .hero-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }

  .customer-page .hero-actions .btn {
    font-size: 14px;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 10px 8px;
    text-align: center;
  }

  .customer-page .booking-panel {
    background: var(--white);
    border-color: var(--line);
    box-shadow: 0 6px 20px rgb(23 32 42 / 6%);
    margin: 16px;
    min-width: 0;
    padding: 18px;
    scroll-margin-top: 16px;
  }

  .customer-page .panel-head h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .customer-page .booking-panel label {
    min-width: 0;
  }

  .customer-page .slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .customer-page .hero h1 {
    font-size: 28px;
  }

  .customer-page .booking-panel {
    padding: 16px;
  }
}
