:root {
  color-scheme: light;
  --paper: #f7f3ef;
  --paper-strong: #efe8df;
  --surface: #fffdfb;
  --surface-soft: #f4efe8;
  --white: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #3f3a35;
  --muted: #6f6c66;
  --line: #e8e0d7;
  --orange: #c56a45;
  --orange-soft: #f7e4d8;
  --orange-dark: #a75437;
  --green: #2c4f43;
  --green-soft: #e6efe9;
  --gold: #f3dca3;
  --shadow: 0 18px 44px rgba(28, 26, 23, 0.08);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #fffdfb 0%, var(--paper) 54%, #f2f0ea 100%);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
.ui-icon { width: 16px; height: 16px; flex: 0 0 auto; stroke-width: 1.8; }
.button .ui-icon, .icon-button .ui-icon { width: 15px; height: 15px; }
.nav-links .ui-icon { width: 15px; height: 15px; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.topbar {
  height: 76px;
  border-bottom: 1px solid rgba(232,224,215,0.95);
  background: rgba(255,253,251,0.9);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(28, 26, 23, 0.02);
}
.nav { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
  object-fit: contain;
  background: #000;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 10px 18px rgba(28, 26, 23, 0.12);
}
.brand-name { font-size: 14px; line-height: 1.2; font-weight: 700; letter-spacing: 0; }
.brand-name small { display: block; color: var(--muted); font-size: 10px; font-weight: 600; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}
.nav-links a:hover { color: var(--orange); transform: translateY(-1px); }
.account-menu { position: relative; flex: 0 0 auto; }
.account-trigger {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 10px 4px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(28, 26, 23, 0.04);
}
.account-trigger:hover, .account-trigger[aria-expanded="true"] { border-color: #d5ccbe; background: #f5f0eb; }
.account-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--green), #3a6057);
  color: var(--white);
  font: 600 14px var(--serif);
}
.account-trigger > .ui-icon { width: 14px; height: 14px; color: var(--muted); }
.account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  width: 230px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(28,26,23,.13);
}
.account-dropdown[hidden] { display: none; }
.account-dropdown form { margin: 0; }
.account-menu-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 11px 10px;
  text-align: left;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.account-menu-item:hover { background: var(--paper); }
.account-menu-item.logout-item {
  border-top: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  color: var(--orange-dark);
}
.account-photo-preview {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.client-auth-actions { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.auth-switch { margin: 16px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.auth-switch button { border: 0; background: transparent; padding: 0; color: var(--green); font-size: inherit; font-weight: 700; }
.auth-switch button:hover { text-decoration: underline; }
.button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow: 0 12px 24px rgba(197, 106, 69, 0.24);
}
.button:hover {
  transform: translateY(-2px);
  filter: saturate(1.04);
}
.button.dark { background: linear-gradient(135deg, var(--ink), #2c2b29); box-shadow: 0 12px 22px rgba(28,26,23,0.18); }
.button.dark:hover { background: linear-gradient(135deg, var(--green), #1c3731); }
.button.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: none;
}
.button.ghost:hover { background: rgba(255,255,255,0.7); }
.button.small { min-height: 36px; padding: 0 13px; font-size: 12px; }
.button.full { width: 100%; }
.hero {
  padding: 44px 0 62px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  color: var(--green);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 1.4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow:before { content: ""; width: 19px; height: 1px; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 490px;
  margin: 18px 0 18px;
  font: 600 58px/1.04 var(--serif);
  letter-spacing: 0;
}
h1 em { color: var(--orange); font-weight: 500; }
.hero-copy > p { color: var(--ink-soft); max-width: 410px; font-size: 15px; margin-bottom: 25px; }
.hero-actions { display: flex; align-items: center; gap: 16px; }
.rating { display: flex; align-items: center; gap: 7px; color: #696763; font-size: 11px; }
.rating b { color: var(--ink); }
.stars { color: #b46844; letter-spacing: 0; }
.hero-visual {
  height: 440px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.25);
  background: #374b41;
  box-shadow: 0 26px 54px rgba(28, 26, 23, 0.18);
  animation: reveal .7s both;
}
.hero-visual:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(180deg, rgba(15, 15, 12, 0.02), rgba(15, 15, 12, 0.62));
}
.hero-visual img { height: 100%; width: 100%; object-fit: cover; object-position: center 43%; }
.hero-caption {
  z-index: 1;
  position: absolute;
  bottom: 23px;
  left: 25px;
  right: 25px;
  color: white;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}
.hero-caption strong { display: block; font: 600 21px var(--serif); }
.hero-caption span { display: block; color: rgba(255,255,255,.82); font-size: 11px; }
.availability {
  padding: 10px 12px;
  background: rgba(255,255,255,0.96);
  color: #000;
  border: 1px solid rgba(23, 58, 49, 0.12);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(23, 58, 49, 0.08);
}
.hero-caption .availability { color: #000; font-size: 10px; }
.trust-row {
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.24);
}
.trust-item {
  text-align: center;
  border-right: 1px solid var(--line);
  padding: 10px 12px;
}
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; font: 600 24px var(--serif); }
.trust-item span { font-size: 10px; color: var(--muted); }
.section { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { margin: 7px 0 0; font: 600 34px/1.15 var(--serif); letter-spacing: 0; }
.section-head p { max-width: 390px; color: var(--muted); font-size: 12px; margin: 0 0 3px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 14px 34px rgba(28,26,23,0.04);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(28,26,23,0.08);
  border-color: rgba(197,106,69,0.32);
}
.service-photo { height: 212px; position: relative; background: #dcd2c7; overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .service-photo img { transform: scale(1.04); }
.service-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(28,26,23,0.08);
  padding: 5px 9px;
  border-radius: 999px;
  color: #1d413a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.service-info { padding: 16px; }
.service-photo-strip { display: flex; align-items: center; gap: 7px; margin-top: 13px; overflow-x: auto; }
.service-photo-thumb, .gallery-more {
  width: 48px;
  height: 42px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.service-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-photo-thumb:hover, .gallery-more:hover { border-color: var(--orange); }
.gallery-more {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}
.gallery-modal { width: min(900px, 100%); }
.service-gallery-stage { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: 10px; padding: 10px; background: #1d1b19; border-radius: 8px; }
.service-gallery-stage > img { width: 100%; height: min(58vh, 560px); object-fit: contain; }
.gallery-arrow {
  width: 38px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: 26px;
}
.gallery-arrow:hover { background: rgba(255,255,255,.18); }
.gallery-count { margin: 10px 0; text-align: center; color: var(--muted); font-size: 11px; }
.gallery-thumbnails { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 3px; }
.gallery-thumbnail {
  width: 62px;
  height: 54px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--paper);
}
.gallery-thumbnail.active { border-color: var(--orange); }
.gallery-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.service-info h3 { font-size: 15px; margin: 0 0 5px; }
.service-info p { color: var(--muted); font-size: 11px; min-height: 18px; margin-bottom: 14px; }
.service-barber { display: flex; align-items: center; gap: 7px; min-height: 30px; margin: 0 0 12px; color: var(--muted); font-size: 10px; }
.service-barber strong { color: var(--ink); }
.barber-avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #edf3d9, #cfe0a8);
}
.barber-avatar.initials { display: grid; place-items: center; color: var(--green); font-size: 11px; font-weight: 700; }
.profile-preview { width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--line); object-fit: cover; }
.service-bottom { display: flex; justify-content: space-between; align-items: center; }
.price { font: 600 18px var(--serif); }
.price small { color: var(--muted); font: 400 10px var(--sans); }
.booking-band {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--green), #173a31);
  color: var(--white);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(28, 52, 43, 0.12);
}
.booking-band h2 {
  font: 600 32px var(--serif);
  margin: 0 0 5px;
  letter-spacing: 0;
  color: #fffdf9;
}
.booking-band p {
  color: rgba(255,255,255,.9);
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}
.booking-band .button { color: var(--ink); background: linear-gradient(135deg, var(--gold), #ebd39a); box-shadow: none; }
.site-footer {
  margin-top: 52px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
}
.site-footer p { margin: 0; }
.footer-contact { display: flex; gap: 18px; }
.page-shell { min-height: calc(100vh - 76px); }
.workspace { padding: 38px 0 70px; }
.page-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.page-title h1 { font-size: 38px; margin: 8px 0 4px; }
.page-title p { color: var(--muted); font-size: 12px; margin: 0; }
.workspace-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); align-items: start; gap: 26px; }
.workspace-layout.sidebar-collapsed { grid-template-columns: 72px minmax(0, 1fr); gap: 20px; }
.workspace-content { min-width: 0; }
.dashboard-tabs {
  position: sticky;
  top: 94px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 8px 12px 8px 0;
  border-right: 1px solid var(--line);
}
.sidebar-head { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 0 4px 6px 12px; }
.sidebar-caption { color: var(--muted); font-size: 9px; font-weight: 700; }
.sidebar-toggle {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}
.sidebar-toggle:hover { background: #f0e8e0; }
.tab-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 10px;
  background: transparent;
  padding: 8px 10px;
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.tab-button:hover { background: rgba(255,255,255,0.5); }
.tab-button.active { border-left-color: var(--orange); color: var(--ink); background: #f0e9df; }
.nav-glyph {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
}
.tab-button.active .nav-glyph { border-color: var(--green); background: var(--green); color: var(--white); }
.nav-glyph .ui-icon { width: 16px; height: 16px; }
.workspace-layout.sidebar-collapsed .sidebar-head { justify-content: center; padding-left: 0; padding-right: 0; }
.workspace-layout.sidebar-collapsed .sidebar-caption, .workspace-layout.sidebar-collapsed .tab-label { display: none; }
.workspace-layout.sidebar-collapsed .dashboard-tabs { padding-right: 8px; }
.workspace-layout.sidebar-collapsed .tab-button { justify-content: center; padding: 8px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-bottom: 23px; }
.stat-card, .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(28,26,23,0.035);
}
.stat-card { padding: 18px; }
.stat-card span { display: block; color: var(--muted); font-size: 11px; }
.stat-card strong { display: block; margin-top: 8px; font: 600 27px var(--serif); }
.panel { padding: 21px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.panel-heading h2 { font: 600 20px var(--serif); margin: 0; }
.panel-heading p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.dashboard-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 16px; }
.data-list { display: grid; }
.data-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.data-row:first-child { border-top: 0; }
.data-main { display: flex; align-items: center; gap: 11px; min-width: 0; }
.avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, #ece1d3, #d7d1c4);
}
.data-main strong { display: block; font-size: 12px; }
.data-main small { display: block; color: var(--muted); font-size: 10px; }
.row-meta { text-align: right; white-space: nowrap; }
.row-meta strong { display: block; font-size: 11px; }
.row-meta small { color: var(--muted); font-size: 10px; }
.status {
  display: inline-flex;
  padding: 4px 8px;
  color: #5d4315;
  background: #f7efdc;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  text-transform: capitalize;
}
.status.confirmed, .status.completed { color: #1d4338; background: #edf8f1; }
.status.cancelled { color: #7a2d2a; background: #fce9e7; }
.status.payment-submitted { color: #5d4315; background: #f7efdc; }
.status.payment-verified { color: #1d4338; background: #edf8f1; }
.status.payment-rejected { color: #7a2d2a; background: #fce9e7; }
.booking-actions, .payment-review { display: flex; justify-content: end; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.payment-review a { display: inline-flex; align-items: center; }
.booking-location { color: var(--green) !important; }
.map-link { margin-left: 5px; color: var(--orange-dark); font-weight: 700; }
.location-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.location-option {
  display: flex;
  align-items: start;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 11px;
  cursor: pointer;
}
.location-option:has(input:checked) { border-color: var(--green); background: #edf0eb; }
.location-option input { margin: 3px 0 0; accent-color: var(--green); }
.location-option span, .location-option small { display: block; }
.location-option small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.location-client-fields { display: grid; gap: 7px; margin-top: 12px; }
.location-gps-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.location-gps-row span, .shop-location-note { color: var(--muted); font-size: 10px; }
.shop-location-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8f5f2;
  border: 1px solid var(--line);
}
.shop-location-note strong { color: var(--ink); }
.service-admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.admin-service {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.admin-service img { width: 100%; height: 145px; object-fit: cover; display: block; }
.admin-service-body { padding: 13px; }
.admin-service-body strong { display: block; font-size: 12px; }
.admin-service-body small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.admin-service-actions { display: flex; gap: 7px; margin-top: 12px; }
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.6);
  border-radius: 8px;
  padding: 6px 9px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
}
.icon-button:hover { background: var(--surface-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full-width { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(197,106,69,0.7);
  box-shadow: 0 0 0 4px rgba(197,106,69,0.12);
}
.field textarea { min-height: 80px; resize: vertical; }
.field-help { font-size: 10px; color: var(--muted); }
.form-actions { display: flex; justify-content: end; gap: 8px; margin-top: 17px; }
.empty-state { padding: 24px; text-align: center; color: var(--muted); font-size: 12px; }
.availability-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.day-control {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 12px;
  font-size: 11px;
}
.day-control input { accent-color: var(--green); }
.modal-backdrop {
  position: fixed;
  inset: 0;
  padding: 18px;
  background: rgba(22,25,21,.56);
  display: grid;
  place-items: center;
  z-index: 30;
  animation: fade .18s;
}
.modal {
  width: min(520px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 25px 90px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.4);
}
.modal-header { padding: 20px 22px 15px; display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0; font: 600 23px var(--serif); }
.modal-header p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.close-button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: var(--muted); }
.close-button:hover { background: var(--paper); color: var(--ink); }
.close-button .ui-icon { width: 18px; height: 18px; }
.modal-body { padding: 20px 22px 22px; }
.payment-box { margin-top: 14px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.payment-box p { margin: 0 0 4px; color: var(--muted); font-size: 10px; }
.payment-number { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 13px; }
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  z-index: 50;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 11px 16px;
  color: white;
  background: linear-gradient(135deg, var(--ink), #2c2b29);
  border-radius: 8px;
  font-size: 12px;
  transition: .2s;
  box-shadow: 0 18px 34px rgba(28,26,23,.18);
}
.toast.show { transform: translate(-50%,0); opacity: 1; }
.muted-note {
  padding: 13px;
  background: linear-gradient(135deg, #eef4ef, #f8f2ec);
  border-radius: 12px;
  color: #2d3d36;
  font-size: 11px;
  border: 1px solid rgba(44, 79, 67, 0.08);
}
.check-row { display: flex; align-items: center; gap: 9px; font-size: 11px; }
.check-row input { accent-color: var(--green); }
.hidden { display: none !important; }
@keyframes reveal { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 820px) {
  .shell { width: min(100% - 32px, 680px); }
  .nav { gap: 14px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding: 35px 0 44px; }
  .hero-visual { height: 400px; }
  .hero-actions { align-items: center; flex-direction: row; flex-wrap: wrap; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-admin-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .workspace-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .topbar { height: 65px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 12px; }
  .brand-name small { font-size: 9px; }
  .account-trigger { gap: 6px; min-height: 40px; padding-right: 7px; font-size: 11px; }
  .account-avatar { width: 30px; height: 30px; }
  .account-display-name { max-width: 95px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .client-auth-actions { gap: 5px; }
  .client-auth-actions .button.small { min-height: 34px; padding: 0 9px; font-size: 10px; }
  .hero { grid-template-columns: 1fr; padding: 32px 0 40px; gap: 23px; }
  h1 { max-width: 380px; font-size: 42px; }
  .hero-copy > p { font-size: 13px; }
  .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .hero-visual { height: 290px; }
  .trust-item strong { font-size: 20px; }
  .trust-item span { font-size: 9px; }
  .section { padding: 45px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .section-head h2 { font-size: 30px; }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-photo { height: 210px; }
  .booking-band { padding: 23px; align-items: start; flex-direction: column; }
  .booking-band h2 { font-size: 25px; }
  .site-footer { flex-direction: column; }
  .workspace { padding-top: 28px; }
  .workspace-layout { grid-template-columns: 1fr; gap: 16px; }
  .workspace-layout.sidebar-collapsed { grid-template-columns: 1fr; gap: 16px; }
  .dashboard-tabs { position: static; flex-direction: row; overflow-x: auto; gap: 4px; padding: 0 0 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar-head, .sidebar-toggle { display: none; }
  .sidebar-caption { display: none; }
  .tab-button { width: auto; min-width: max-content; border-left: 0; border-bottom: 2px solid transparent; padding: 10px 12px; }
  .nav-glyph, .workspace-layout.sidebar-collapsed .nav-glyph { display: none; }
  .workspace-layout.sidebar-collapsed .tab-label { display: inline; }
  .workspace-layout.sidebar-collapsed .tab-button { justify-content: flex-start; padding: 10px 12px; }
  .tab-button.active { border-bottom-color: var(--orange); }
  .page-title { align-items: start; flex-direction: column; }
  .page-title h1 { font-size: 33px; }
  .service-admin-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .admin-service img { height: 120px; }
  .admin-service-body { padding: 10px; }
  .admin-service-body strong { font-size: 11px; }
  .admin-service-actions { gap: 4px; }
  .icon-button { padding: 6px; font-size: 9px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full-width { grid-column: auto; }
  .availability-list { grid-template-columns: repeat(2,1fr); }
  .panel { padding: 15px; }
  .data-row { align-items: start; }
  .row-meta { white-space: normal; }
}