:root {
  color-scheme: dark;
  --bg: #0b0b0a;
  --surface: #121210;
  --surface-2: #191815;
  --surface-3: #22201b;
  --text: #f1ede5;
  --muted: #aaa49a;
  --subtle: #817c74;
  --gold: #b79b65;
  --gold-bright: #d8ccb0;
  --gold-soft: #91784e;
  --gold-dark: #56472f;
  --line: rgba(200, 180, 139, 0.14);
  --line-strong: rgba(200, 180, 139, 0.34);
  --success: #86d6a2;
  --danger: #ff9c91;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  --shadow-gold: 0 18px 50px rgba(0, 0, 0, 0.3);
  --header-h: 72px;
  --bottom-h: 76px;
  --max: 1180px;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(183, 155, 101, 0.035), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}

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

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a[href] {
  touch-action: manipulation;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.serif {
  font-family: "Playfair Display", Georgia, serif;
  text-wrap: balance;
}

button,
[role="button"] {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--gold-bright);
  color: #17130c;
  transform: translateY(-140%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  padding: max(8px, env(safe-area-inset-top)) 18px 8px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 11, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--gold-bright);
  font-size: 18px;
  font-weight: 600;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.icon-button {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--gold-bright);
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.icon-button:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

.desktop-nav {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switch {
  display: inline-flex;
  min-width: 68px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.language-switch:hover {
  border-color: var(--gold-bright);
  background: rgba(183, 155, 101, 0.08);
}

.customer-access {
  display: inline-flex;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.customer-access:hover,
.customer-access.active {
  border-color: var(--line-strong);
  background: var(--surface-2);
  color: var(--gold-bright);
}

.customer-access [data-static-icon] {
  display: inline-flex;
}

.customer-access .icon {
  width: 18px;
  height: 18px;
}

.customer-access-label {
  display: none;
}

main {
  min-height: calc(100dvh - var(--header-h));
  padding-bottom: 24px;
}

.seo-static-home {
  width: min(100%, 820px);
  margin-inline: auto;
  padding: clamp(64px, 12vw, 120px) 18px;
}

.seo-static-home h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 10vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.seo-static-home p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.seo-static-home strong {
  color: var(--text);
}

.seo-static-facts {
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.seo-static-facts h2 {
  margin: 24px 0 8px;
  font-size: clamp(25px, 5vw, 34px);
}

.seo-static-facts h3 {
  margin: 22px 0 5px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
}

.page {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 24px 16px 56px;
  animation: page-enter 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-narrow {
  width: min(100%, 760px);
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

.page-heading {
  margin-bottom: 8px;
  color: var(--text);
  font-size: clamp(34px, 8vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.page-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

.section {
  margin-top: 48px;
}

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

.section-head h2,
.section-head h3 {
  margin: 0;
  font-size: clamp(25px, 5vw, 34px);
  line-height: 1.18;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(680px, calc(100dvh - var(--header-h)));
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--surface);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("assets/blow-dry.webp") 48% 42% / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.18) 2%, rgba(8, 8, 8, 0.45) 42%, #0b0b0b 94%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.92), transparent 78%);
  content: "";
}

.hero-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 72px 18px 56px;
}

.hero-copy {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.7);
  color: var(--gold-bright);
  font-size: 13px;
  backdrop-filter: blur(10px);
}

.hero-location {
  display: block;
  margin-bottom: 10px;
  color: #ded7cb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(43px, 11vw, 78px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 em {
  color: var(--gold-bright);
  font-weight: 500;
}

.hero p {
  max-width: 560px;
  margin-bottom: 28px;
  color: #ded7cb;
  font-size: clamp(17px, 3vw, 20px);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-row-centered {
  justify-content: center;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gold);
  color: #17130c;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.btn-primary:hover {
  background: #c2aa78;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(15, 15, 14, 0.78);
  color: var(--gold-bright);
}

.btn-secondary:hover {
  border-color: var(--gold-bright);
  background: var(--surface-2);
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.btn-danger {
  border-color: rgba(255, 156, 145, 0.35);
  background: rgba(255, 156, 145, 0.08);
  color: var(--danger);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 30px;
  color: #ded7cb;
  font-size: 13px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

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

.category-tile {
  display: flex;
  min-height: 148px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.category-tile:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.category-tile:active {
  transform: scale(0.98);
}

.category-tile .icon-wrap {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 5px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(183, 155, 101, 0.07);
  color: var(--gold-bright);
}

.category-tile .icon-wrap .icon {
  width: 34px;
  height: 34px;
  stroke-width: 1.55;
}

.category-tile .category-name {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.category-tile .category-description {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.service-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.service-image {
  position: relative;
  display: grid;
  height: 210px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 28%, rgba(216, 204, 176, 0.18), transparent 28%),
    linear-gradient(135deg, #2b271d, #111);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.service-art-blow-dry { object-position: 50% 58%; }
.service-art-hair-cut-style { object-position: 50% 56%; }
.service-art-balayage { object-position: 50% 82%; }
.service-art-full-colour { object-position: 50% 78%; }
.service-art-loreal-treatment { object-position: 50% 45%; }
.service-art-keratin { object-position: 50% 46%; }

.service-card:hover .service-image img {
  transform: scale(1.025);
}

.service-image .icon {
  width: 72px;
  height: 72px;
  stroke-width: 1.45;
  color: var(--gold-bright);
}

.service-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(216, 204, 176, 0.3);
  border-radius: 999px;
  background: rgba(11, 11, 11, 0.78);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.service-card-body {
  display: flex;
  min-height: 210px;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.service-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.service-title-row h3 {
  margin-bottom: 4px;
  font-size: 22px;
  line-height: 1.18;
}

.service-price {
  flex: 0 0 auto;
  color: var(--gold-bright);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.service-arabic {
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-size: 13px;
}

.service-description {
  display: -webkit-box;
  margin-bottom: 18px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.duration .icon {
  width: 17px;
  height: 17px;
}

.search-panel {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 30;
  margin: 24px 0 28px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 18, 17, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.search-box {
  position: relative;
}

.search-box .icon {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--gold-soft);
  transform: translateY(-50%);
}

.search-box input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px 11px 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  background: var(--surface-2);
  color: var(--text);
}

.search-box input::placeholder,
.field input::placeholder,
.field textarea::placeholder {
  color: #777269;
}

.search-box input:focus,
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(183, 155, 101, 0.12);
}

.chips {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar,
.date-strip::-webkit-scrollbar {
  display: none;
}

.chip {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: all 180ms ease;
}

.chip[aria-pressed="true"],
.chip:hover {
  border-color: var(--gold-bright);
  background: rgba(183, 155, 101, 0.13);
  color: var(--gold-bright);
}

.flow-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-bottom: 30px;
}

.progress-step {
  min-width: 0;
  color: var(--subtle);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.progress-step::before {
  display: block;
  height: 3px;
  margin-bottom: 8px;
  border-radius: 99px;
  background: var(--surface-3);
  content: "";
}

.progress-step.done,
.progress-step.active {
  color: var(--gold-bright);
}

.progress-step.done::before,
.progress-step.active::before {
  background: var(--gold-bright);
}

.selected-service {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(183, 155, 101, 0.1), var(--surface));
}

.selected-service .service-mini-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-3);
  color: var(--gold-bright);
}

.selected-service h2,
.selected-service p {
  margin: 0;
}

.selected-service h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
}

.selected-service p {
  color: var(--muted);
  font-size: 13px;
}

.selected-service .text-link {
  margin-left: auto;
}

.specialist-grid {
  display: grid;
  gap: 12px;
}

.specialist-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  min-height: 98px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  text-align: left;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.specialist-card:hover {
  border-color: var(--line-strong);
}

.specialist-card[aria-pressed="true"] {
  border-color: var(--gold-bright);
  background: linear-gradient(145deg, rgba(183, 155, 101, 0.12), var(--surface));
  box-shadow: inset 0 0 0 1px rgba(183, 155, 101, 0.1);
}

.specialist-card[aria-pressed="true"]::after {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-bright);
  color: #17130c;
  content: "✓";
  font-size: 12px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}

.specialist-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(216, 204, 176, 0.22), transparent 35%),
    var(--surface-3);
  color: var(--gold-bright);
  font-family: "Playfair Display", serif;
  font-size: 20px;
}

.specialist-info h3,
.specialist-info p {
  margin: 0;
}

.specialist-info h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
}

.specialist-info p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.rating-pill {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.rating-pill .icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.rating-pill small {
  color: var(--subtle);
  font-size: 10px;
}

.booking-layout {
  display: grid;
  gap: 28px;
}

.booking-card,
.form-card,
.summary-card,
.appointment-card,
.review-card,
.empty-card,
.location-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.booking-card,
.form-card,
.summary-card,
.empty-card {
  padding: 20px;
}

.booking-card h2,
.form-card h2,
.summary-card h2 {
  margin-bottom: 6px;
  font-size: 25px;
}

.date-strip {
  display: flex;
  gap: 9px;
  margin: 18px -4px 24px;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.date-button {
  display: flex;
  min-width: 78px;
  min-height: 88px;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-2);
  color: var(--muted);
  transition: all 180ms ease;
}

.date-button small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.date-button strong {
  margin: 2px 0;
  color: var(--text);
  font-size: 23px;
}

.date-button span {
  font-size: 11px;
}

.date-button[aria-pressed="true"] {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  color: #17130c;
}

.date-button[aria-pressed="true"] strong {
  color: #17130c;
}

.time-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
}

.time-heading span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.time-heading .icon {
  color: var(--gold-bright);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.time-slot {
  min-height: 50px;
  padding: 9px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  transition: all 160ms ease;
}

.time-slot:hover {
  border-color: var(--gold-bright);
}

.time-slot[aria-pressed="true"] {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  color: #17130c;
  font-weight: 700;
}

.time-slot:disabled {
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.05);
  color: #625f59;
  text-decoration: line-through;
  opacity: 0.62;
}

.flow-actions {
  position: sticky;
  bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom) + 8px);
  z-index: 20;
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(11, 11, 11, 0.92);
  box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.flow-actions .btn {
  min-height: 54px;
}

.summary-list {
  margin: 18px 0 0;
}

.summary-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row:last-child {
  border-bottom: 0;
}

.summary-row > .icon,
.summary-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: rgba(183, 155, 101, 0.1);
  color: var(--gold-bright);
}

.summary-row strong,
.summary-row small {
  display: block;
}

.summary-row strong {
  font-size: 14px;
}

.summary-row small {
  margin-top: 2px;
  color: var(--muted);
}

.summary-row > strong:last-child {
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.field-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.field label span {
  color: var(--gold-bright);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  background: var(--surface-2);
  color: var(--text);
}

.field select {
  appearance: none;
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%), linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.helper,
.field-error {
  margin: 0;
  color: var(--subtle);
  font-size: 12px;
}

.field-error {
  color: var(--danger);
}

.checkbox-field {
  display: flex;
  min-height: 44px;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--gold);
}

.confirmation {
  padding-top: 44px;
  text-align: center;
}

.success-mark {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto 22px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 155, 101, 0.22), rgba(183, 155, 101, 0.06));
  color: var(--gold-bright);
  box-shadow: 0 0 44px rgba(183, 155, 101, 0.14);
}

.success-mark .icon {
  width: 42px;
  height: 42px;
}

.confirmation h1 {
  margin-bottom: 10px;
  font-size: clamp(38px, 9vw, 56px);
  line-height: 1.08;
}

.confirmation > p {
  max-width: 550px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.confirmation .summary-card {
  margin: 0 auto 20px;
  text-align: left;
}

.booking-reference {
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: rgba(183, 155, 101, 0.06);
  text-align: center;
}

.booking-reference small,
.booking-reference strong {
  display: block;
}

.booking-reference small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-reference strong {
  margin-top: 4px;
  color: var(--gold-bright);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.appointment-list,
.review-list {
  display: grid;
  gap: 14px;
}

.appointment-card {
  overflow: hidden;
}

.appointment-status {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(183, 155, 101, 0.06);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-upcoming {
  color: var(--gold-bright);
}

.status-completed,
.status-rated {
  color: var(--success);
}

.status-cancelled {
  color: var(--danger);
}

.appointment-body {
  padding: 18px;
}

.appointment-body h2 {
  margin-bottom: 4px;
  font-size: 23px;
}

.appointment-body > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.appointment-details {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.appointment-details span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.appointment-details .icon {
  width: 17px;
  height: 17px;
  color: var(--gold-soft);
}

.appointment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.appointment-actions .btn {
  min-height: 44px;
  padding: 10px 15px;
  font-size: 13px;
}

.receipt-page {
  padding-top: 32px;
}

.receipt-mode .bottom-nav,
.receipt-mode .site-footer {
  display: none;
}

.receipt-mode main {
  padding-bottom: 48px;
}

.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.receipt-paper {
  overflow: hidden;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(183, 155, 101, 0.4);
  border-radius: 24px;
  background: #f5f0e6;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  color: #211e18;
}

.receipt-head,
.receipt-title-row,
.receipt-customer,
.receipt-payment-details {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.receipt-head {
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(74, 61, 39, 0.18);
}

.receipt-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.receipt-brand img {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(74, 61, 39, 0.2);
  border-radius: 50%;
  object-fit: cover;
}

.receipt-brand span {
  display: grid;
  line-height: 1.1;
}

.receipt-brand strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
}

.receipt-brand small {
  margin-top: 5px;
  color: #776d5d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.receipt-paid {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(38, 103, 66, 0.35);
  border-radius: 999px;
  background: rgba(38, 103, 66, 0.08);
  color: #266742;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.receipt-paid .icon {
  width: 17px;
  height: 17px;
}

.receipt-title-row {
  padding: 34px 0 28px;
}

.receipt-title-row .eyebrow {
  color: #76603b;
}

.receipt-title-row h1 {
  max-width: 470px;
  margin: 7px 0 0;
  color: #211e18;
  font-size: clamp(30px, 5vw, 46px);
}

.receipt-reference {
  display: grid;
  min-width: 200px;
  gap: 12px;
  margin: 0;
}

.receipt-reference div {
  display: grid;
  gap: 2px;
}

.receipt-reference dt,
.receipt-customer span,
.receipt-payment-details span {
  color: #786f60;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.receipt-reference dd {
  margin: 0;
  color: #211e18;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.receipt-customer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px 20px;
  border: 1px solid rgba(74, 61, 39, 0.14);
  border-radius: 14px;
  background: rgba(183, 155, 101, 0.07);
}

.receipt-customer div,
.receipt-payment-details div {
  display: grid;
  gap: 4px;
}

.receipt-customer strong,
.receipt-payment-details strong {
  font-size: 14px;
}

.receipt-table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.receipt-table th,
.receipt-table td {
  padding: 15px 10px;
  border-bottom: 1px solid rgba(74, 61, 39, 0.16);
  text-align: start;
  vertical-align: top;
}

.receipt-table th:first-child,
.receipt-table td:first-child {
  padding-inline-start: 0;
}

.receipt-table th:last-child,
.receipt-table td:last-child {
  width: 23%;
  padding-inline-end: 0;
  text-align: end;
  white-space: nowrap;
}

.receipt-table thead th {
  color: #786f60;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.receipt-table tbody td {
  font-size: 13px;
}

.receipt-table td strong,
.receipt-table td small {
  display: block;
}

.receipt-table td small {
  margin-top: 4px;
  color: #786f60;
  font-size: 10px;
}

.receipt-table .receipt-discount td {
  color: #266742;
  font-weight: 700;
}

.receipt-table tfoot th,
.receipt-table tfoot td {
  padding-top: 20px;
  border-bottom: 0;
  color: #211e18;
  font-size: 17px;
}

.receipt-payment-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 22px;
  border-top: 1px solid rgba(74, 61, 39, 0.18);
}

.receipt-foot {
  display: grid;
  justify-items: center;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px dashed rgba(74, 61, 39, 0.3);
  text-align: center;
}

.receipt-foot p {
  max-width: 520px;
  margin-bottom: 3px;
  color: #6c6458;
  font-size: 11px;
}

.receipt-foot strong {
  margin-top: 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
}

.receipt-foot small {
  margin-top: 10px;
  color: #82796b;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html[dir="rtl"] .receipt-foot strong {
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", sans-serif;
}

.tab-list {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.tab {
  min-height: 44px;
  flex: 1;
  padding: 8px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.tab[aria-selected="true"] {
  background: var(--gold-bright);
  color: #17130c;
}

.empty-card {
  text-align: center;
}

.empty-icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(183, 155, 101, 0.1);
  color: var(--gold-bright);
}

.empty-icon .icon {
  width: 32px;
  height: 32px;
}

.empty-card h2 {
  margin-bottom: 8px;
}

.empty-card p {
  max-width: 440px;
  margin: 0 auto 20px;
  color: var(--muted);
}

.rating-overview {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(183, 155, 101, 0.11), var(--surface));
}

.rating-score {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rating-score strong {
  font-family: "Playfair Display", serif;
  color: var(--gold-bright);
  font-size: 58px;
  line-height: 1;
}

.star-row {
  display: flex;
  gap: 2px;
  color: var(--gold-bright);
}

.star-row .icon {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.star-row .star-empty {
  color: #5d574b;
  fill: transparent;
}

.rating-score p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.review-card {
  padding: 18px;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--gold-bright);
  font-weight: 700;
}

.reviewer strong,
.reviewer small {
  display: block;
}

.reviewer small {
  color: var(--subtle);
}

.review-card p {
  margin: 0;
  color: var(--muted);
}

.review-service {
  display: inline-flex;
  margin-top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(183, 155, 101, 0.08);
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 700;
}

.rating-form-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.rating-form-section:last-of-type {
  border-bottom: 0;
}

.rating-form-section h2 {
  margin-bottom: 5px;
  font-size: 23px;
}

.rating-form-section > p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.rating-comment-field {
  margin-top: 20px;
}

.star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
}

.star-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.star-input label {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #5d574b;
  cursor: pointer;
  transition: color 140ms ease, transform 140ms ease;
}

.star-input label .icon {
  width: 34px;
  height: 34px;
  fill: transparent;
}

.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
  color: var(--gold-bright);
}

.star-input label:hover .icon,
.star-input label:hover ~ label .icon,
.star-input input:checked ~ label .icon {
  fill: currentColor;
}

.star-input label:active {
  transform: scale(0.9);
}

.star-input input:focus-visible + label {
  border-radius: 8px;
  outline: 3px solid var(--gold-bright);
  outline-offset: 1px;
}

.location-card {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.map-art {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background:
    linear-gradient(35deg, transparent 47%, rgba(183, 155, 101, 0.14) 48%, rgba(183, 155, 101, 0.14) 51%, transparent 52%) 0 0 / 92px 92px,
    linear-gradient(-25deg, transparent 46%, rgba(255, 255, 255, 0.05) 47%, rgba(255, 255, 255, 0.05) 50%, transparent 51%) 0 0 / 120px 120px,
    #171715;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--gold-bright);
  border-radius: 50% 50% 50% 8px;
  background: var(--gold-bright);
  color: #17130c;
  box-shadow: 0 0 0 11px rgba(183, 155, 101, 0.1);
  transform: translate(-50%, -58%) rotate(-45deg);
}

.map-pin .icon {
  transform: rotate(45deg);
}

.location-info {
  padding: 20px;
}

.location-info h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.location-info p {
  color: var(--muted);
}

.local-faq {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 96% 4%, rgba(216, 204, 176, 0.06), transparent 18rem),
    var(--surface);
  box-shadow: var(--shadow);
}

.faq-heading {
  align-items: end;
}

.faq-heading > p {
  max-width: 230px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.faq-grid {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.faq-item[open] {
  border-color: var(--line-strong);
  background: rgba(183, 155, 101, 0.045);
}

.faq-item summary {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 14px 54px 14px 16px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  right: 15px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 20px;
  font-weight: 400;
  content: "+";
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 760px;
  margin: -2px 54px 0 16px;
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

html[dir="rtl"] body {
  font-family: "Noto Sans Arabic", "DM Sans", system-ui, sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .serif {
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", sans-serif;
  letter-spacing: 0;
}

html[dir="rtl"] .brand strong {
  font-family: "Playfair Display", Georgia, serif;
}

html[dir="rtl"] .hero::after {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.18) 2%, rgba(8, 8, 8, 0.45) 42%, #0b0b0b 94%),
    linear-gradient(270deg, rgba(5, 5, 5, 0.92), transparent 78%);
}

html[dir="rtl"] .hero-copy {
  margin-inline-start: auto;
}

html[dir="rtl"] .directional-icon {
  transform: scaleX(-1);
}

html[dir="rtl"] .search-box .icon {
  right: 14px;
  left: auto;
}

html[dir="rtl"] .search-box input {
  padding: 11px 46px 11px 14px;
}

html[dir="rtl"] .faq-item summary {
  padding: 14px 16px 14px 54px;
}

html[dir="rtl"] .faq-item summary::after {
  right: auto;
  left: 15px;
}

html[dir="rtl"] .faq-item p {
  margin: -2px 16px 0 54px;
}

html[dir="rtl"] .field select {
  padding-right: 14px;
  padding-left: 42px;
  background-position: 18px 22px, 13px 22px;
}

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="password"],
html[dir="rtl"] .time-slot,
html[dir="rtl"] [data-seo-phone] {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] .service-arabic {
  direction: ltr;
  font-family: "DM Sans", system-ui, sans-serif;
  text-align: right;
}

html[dir="rtl"] .checkout-account-links {
  margin-right: 51px;
  margin-left: 0;
}

.site-footer {
  padding: 38px 18px calc(var(--bottom-h) + env(safe-area-inset-bottom) + 30px);
  border-top: 1px solid var(--line);
  background: #090908;
}

.site-footer-inner {
  display: grid;
  width: min(100%, var(--max));
  margin-inline: auto;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand strong,
.footer-brand p {
  display: block;
}

.footer-brand strong {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--gold-bright);
  font-size: 20px;
}

.footer-brand p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-details {
  display: grid;
  gap: 13px;
  font-style: normal;
}

.footer-details > span {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 13px;
}

.footer-details strong {
  color: var(--subtle);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-details a,
.footer-links a {
  transition: color 160ms ease;
}

.footer-details a:hover,
.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 4px 18px;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-note {
  width: min(100%, var(--max));
  margin: 26px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manager-mode .site-footer,
.owner-mode .site-footer,
.specialist-mode .site-footer {
  display: none;
}

.home-loyalty-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 15%, rgba(216, 204, 176, 0.08), transparent 18rem),
    var(--surface);
  box-shadow: var(--shadow);
}

.home-loyalty-seal {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(216, 204, 176, 0.08);
  color: var(--gold-bright);
}

.home-loyalty-seal .icon {
  width: 22px;
  height: 22px;
}

.home-loyalty-card .eyebrow {
  margin-bottom: 6px;
}

.home-loyalty-card h2,
.home-loyalty-card p {
  margin-bottom: 5px;
}

.home-loyalty-card h2 {
  font-size: clamp(24px, 4vw, 32px);
}

.home-loyalty-card p {
  max-width: 620px;
  color: var(--muted);
  font-size: 13px;
}

/* Customer account and guest booking */
.customer-account-page {
  padding-top: 38px;
}

.customer-auth-layout {
  display: grid;
  gap: 18px;
}

.customer-auth-card,
.guest-choice-card,
.customer-profile-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(25, 24, 21, 0.96), rgba(18, 18, 16, 0.98));
  box-shadow: var(--shadow);
}

.customer-auth-card,
.customer-profile-card {
  padding: clamp(22px, 5vw, 34px);
}

.customer-account-mark,
.customer-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(216, 204, 176, 0.08);
  color: var(--gold-bright);
}

.customer-account-mark .icon {
  width: 24px;
  height: 24px;
}

.customer-auth-card > h1,
.customer-profile-heading h1 {
  margin-bottom: 8px;
  font-size: clamp(34px, 7vw, 48px);
  line-height: 1.05;
}

.customer-auth-card > p,
.customer-profile-heading p,
.guest-choice-card p {
  color: var(--muted);
}

.customer-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 24px 0 22px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 11, 10, 0.55);
}

.customer-auth-tabs a {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.customer-auth-tabs a.active {
  background: var(--gold-bright);
  color: #17130c;
}

.guest-choice-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-color: var(--line);
  background: var(--surface);
}

.guest-choice-card > .icon {
  width: 28px;
  height: 28px;
  color: var(--gold-soft);
}

.guest-choice-card h2 {
  margin-bottom: 8px;
  font-size: 27px;
}

.guest-choice-card small,
.customer-local-note {
  color: var(--subtle);
  font-size: 11px;
}

.customer-local-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.customer-local-note .icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--gold-soft);
}

.customer-profile-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.customer-profile-heading .customer-avatar {
  margin: 0;
  flex: 0 0 auto;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
}

.customer-profile-details {
  display: grid;
  gap: 1px;
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.customer-profile-details > div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: var(--surface);
}

.customer-profile-details dt,
.customer-profile-details dd {
  margin: 0;
}

.customer-profile-details dt {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.customer-profile-details dd {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 14px;
}

.customer-account-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.customer-account-stats article {
  display: grid;
  min-width: 0;
  min-height: 112px;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 12px 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 11, 10, 0.38);
  text-align: center;
}

.customer-account-stats .icon {
  width: 17px;
  height: 17px;
  color: var(--gold-soft);
}

.customer-account-stats strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 27px;
  line-height: 1;
}

.customer-account-stats small {
  color: var(--muted);
  font-size: 10px;
}

.customer-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.checkout-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(216, 204, 176, 0.045);
}

.checkout-identity-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--gold-bright);
}

.checkout-identity-icon .icon {
  width: 18px;
  height: 18px;
}

.checkout-identity > span:nth-child(2) {
  display: grid;
  min-width: 0;
  margin-right: auto;
}

.checkout-identity small {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-identity strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-account-links {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.checkout-identity .text-link {
  flex: 0 0 auto;
  font-size: 11px;
}

.field input[readonly] {
  border-color: rgba(200, 180, 139, 0.09);
  background: rgba(11, 11, 10, 0.5);
  color: var(--muted);
}

.loyalty-panel {
  display: grid;
  gap: 24px;
  margin: 30px -10px 28px;
  padding: 10px;
  border-radius: 26px;
  background: rgba(8, 8, 7, 0.38);
}

.loyalty-member-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 5vw, 30px);
  border: 1px solid rgba(216, 204, 176, 0.36);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 15%, rgba(216, 204, 176, 0.1), transparent 15rem),
    linear-gradient(145deg, #1b1915, #11110f 72%);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
}

.loyalty-member-card::after {
  position: absolute;
  right: -44px;
  bottom: -76px;
  z-index: -1;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(216, 204, 176, 0.08);
  border-radius: 50%;
  content: "";
}

.loyalty-card-top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.loyalty-seal,
.loyalty-reward-icon,
.loyalty-voucher-icon,
.loyalty-dialog-icon,
.checkout-loyalty-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(216, 204, 176, 0.08);
  color: var(--gold-bright);
}

.loyalty-seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.loyalty-seal .icon,
.loyalty-dialog-icon .icon {
  width: 20px;
  height: 20px;
}

.loyalty-card-top > span:nth-child(2) {
  display: grid;
}

.loyalty-card-top small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.loyalty-card-top strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
}

.loyalty-card-mark {
  margin-left: auto;
  color: rgba(216, 204, 176, 0.7);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.12em;
}

.loyalty-balance {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 38px 0 24px;
}

.loyalty-balance strong {
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(46px, 12vw, 72px);
  font-weight: 500;
  line-height: 0.88;
}

.loyalty-balance span {
  color: var(--muted);
  font-size: 12px;
}

.loyalty-tier-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
}

.loyalty-progress {
  display: block;
  width: 100%;
  height: 5px;
  margin: 9px 0 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(216, 204, 176, 0.1);
  appearance: none;
  border: 0;
}

.loyalty-progress::-webkit-progress-bar {
  background: rgba(216, 204, 176, 0.1);
}

.loyalty-progress::-webkit-progress-value,
.loyalty-progress::-moz-progress-bar {
  background: var(--gold-bright);
}

.loyalty-member-card > p {
  max-width: 520px;
  margin: 0;
  color: var(--subtle);
  font-size: 11px;
}

.loyalty-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.loyalty-section-heading .eyebrow {
  margin-bottom: 6px;
}

.loyalty-section-heading h2 {
  margin: 0;
  font-size: 26px;
}

.loyalty-section-heading > small {
  max-width: 180px;
  color: var(--subtle);
  font-size: 10px;
  text-align: right;
}

.loyalty-reward-grid {
  display: grid;
  gap: 9px;
}

.loyalty-reward-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
}

.loyalty-reward-card.ready {
  border-color: rgba(216, 204, 176, 0.3);
  background: rgba(216, 204, 176, 0.035);
}

.loyalty-reward-icon,
.loyalty-voucher-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.loyalty-reward-icon .icon,
.loyalty-voucher-icon .icon {
  width: 18px;
  height: 18px;
}

.loyalty-reward-card h3,
.loyalty-reward-card p {
  margin: 0;
}

.loyalty-reward-card h3 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
}

.loyalty-reward-card p {
  color: var(--muted);
  font-size: 11px;
}

.loyalty-reward-card .btn {
  min-height: 44px;
  padding: 9px 13px;
  font-size: 11px;
}

.loyalty-voucher-section {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.loyalty-voucher-list,
.owner-redemption-list,
.owner-loyalty-members {
  display: grid;
  gap: 8px;
}

.loyalty-voucher-list article,
.owner-redemption-list article,
.owner-loyalty-members article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 11, 10, 0.42);
}

.loyalty-voucher-list article > span:nth-child(2),
.owner-redemption-list article > span:nth-child(2),
.owner-loyalty-members article > span:nth-child(2),
.owner-loyalty-members article > span:last-child {
  display: grid;
  min-width: 0;
}

.loyalty-voucher-list strong,
.owner-redemption-list strong,
.owner-loyalty-members strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.loyalty-voucher-list small,
.owner-redemption-list small,
.owner-loyalty-members small {
  color: var(--subtle);
  font-size: 10px;
}

.loyalty-voucher-status {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: capitalize;
  white-space: nowrap;
}

.loyalty-voucher-status.status-available {
  border-color: rgba(134, 214, 162, 0.26);
  color: var(--success);
}

.loyalty-voucher-status.status-reserved {
  border-color: var(--line-strong);
  color: var(--gold-bright);
}

.loyalty-paused {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.loyalty-paused h2,
.loyalty-paused p {
  margin-bottom: 5px;
}

.loyalty-paused p {
  color: var(--muted);
  font-size: 13px;
}

.checkout-loyalty-box {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: -10px 0 24px;
  padding: 13px;
  border: 1px solid rgba(216, 204, 176, 0.25);
  border-radius: 16px;
  background: rgba(216, 204, 176, 0.045);
}

.checkout-loyalty-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.checkout-loyalty-box label {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.checkout-loyalty-box p {
  margin: 2px 0 0;
  color: var(--subtle);
  font-size: 10px;
}

.checkout-loyalty-box select {
  min-height: 44px;
  max-width: 240px;
  padding: 9px 34px 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 11px;
}

.checkout-loyalty-box .field-error {
  grid-column: 2 / -1;
  color: var(--danger);
}

.checkout-loyalty-summary {
  display: grid;
  gap: 7px;
  margin: 14px 0;
}

.checkout-loyalty-summary > span {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.checkout-loyalty-summary .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-soft);
}

.checkout-loyalty-summary strong {
  color: var(--gold-bright);
}

.summary-row.loyalty-summary-row > strong {
  color: var(--success);
}

.loyalty-dialog-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
}

.loyalty-redeem-dialog .eyebrow {
  margin-bottom: 7px;
}

.loyalty-booking-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  color: var(--gold-bright);
  font-size: 10px;
}

.loyalty-booking-note .icon {
  width: 15px;
  height: 15px;
}

.owner-loyalty-layout {
  display: grid;
  gap: 20px;
}

.owner-loyalty-toggle {
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(11, 11, 10, 0.42);
}

.owner-loyalty-toggle span {
  display: grid;
}

.owner-loyalty-toggle small {
  color: var(--subtle);
  font-size: 10px;
}

.owner-reward-settings {
  display: grid;
  gap: 9px;
  margin: 22px 0;
  padding: 0;
  border: 0;
}

.owner-reward-settings legend {
  margin-bottom: 9px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.owner-reward-settings > div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) repeat(2, minmax(90px, 0.5fr));
  align-items: end;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.owner-reward-settings > div > span {
  display: grid;
  align-self: center;
}

.owner-reward-settings > div > span small {
  color: var(--subtle);
  font-size: 9px;
}

.owner-loyalty-members .customer-avatar {
  width: 42px;
  height: 42px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
}

.owner-loyalty-members article > span:last-child {
  text-align: right;
}

.owner-redemption-panel {
  margin-top: 20px;
}

@media (max-width: 619px) {
  .home-loyalty-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .home-loyalty-card > .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .guest-choice-card {
    min-height: 0;
    order: -1;
    gap: 12px;
    padding: 20px;
  }

  .guest-choice-card > .icon,
  .guest-choice-card small {
    display: none;
  }

  .guest-choice-card h2 {
    font-size: 24px;
  }

  .loyalty-tier-line,
  .loyalty-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .loyalty-section-heading > small {
    text-align: left;
  }

  .loyalty-reward-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .loyalty-reward-card .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .checkout-loyalty-box {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .checkout-loyalty-box select,
  .checkout-loyalty-box > .text-link,
  .checkout-loyalty-box .field-error {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }

  .owner-reward-settings > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .owner-reward-settings > div > span {
    grid-column: 1 / -1;
  }
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: grid;
  height: calc(var(--bottom-h) + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 6px env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: rgba(11, 11, 11, 0.95);
  backdrop-filter: blur(18px);
}

.bottom-nav a {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 58px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 14px;
  color: var(--subtle);
  transition: color 160ms ease, background-color 160ms ease;
}

.bottom-nav a:hover,
.bottom-nav a.active {
  background: rgba(183, 155, 101, 0.07);
  color: var(--gold-bright);
}

.bottom-nav small {
  max-width: 100%;
  overflow: hidden;
  font-size: 10px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bottom-nav .book-nav span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-top: -17px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 8px 24px rgba(183, 155, 101, 0.22);
  color: #17130c;
}

.bottom-nav .book-nav .icon {
  width: 20px;
  height: 20px;
}

.toast-region {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  right: 14px;
  z-index: 100;
  display: grid;
  max-width: min(360px, calc(100vw - 28px));
  gap: 8px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #202019;
  box-shadow: var(--shadow);
  color: var(--text);
  animation: toast-in 220ms ease-out both;
}

.toast .icon {
  color: var(--gold-bright);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
}

.dialog {
  width: min(100%, 440px);
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  box-shadow: var(--shadow);
  animation: dialog-in 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

.dialog h2 {
  margin-bottom: 8px;
}

.dialog p {
  color: var(--muted);
}

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

.dialog-actions .btn {
  min-height: 46px;
}

.loading-dot {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Manager workspace */
.manager-mode .bottom-nav {
  display: none;
}

.manager-mode main {
  padding-bottom: 0;
}

.manager-page {
  width: min(100%, 1340px);
  margin-inline: auto;
  padding: 28px 16px 72px;
  animation: page-enter 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.manager-hero {
  display: grid;
  gap: 22px;
  margin-bottom: 20px;
}

.manager-hero h1,
.manager-login-card h1 {
  margin-bottom: 8px;
  font-size: clamp(38px, 7vw, 62px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.manager-hero > div:first-child > p,
.manager-login-card > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.manager-identity {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.manager-identity > span:first-child {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: rgba(183, 155, 101, 0.1);
  color: var(--gold-bright);
}

.manager-identity strong,
.manager-identity small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-identity small {
  margin-top: 2px;
  color: var(--subtle);
  font-size: 12px;
}

.manager-identity .btn {
  grid-column: 1 / -1;
  min-height: 44px;
}

.manager-security-banner {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid rgba(216, 204, 176, 0.2);
  border-radius: 14px;
  background: rgba(183, 155, 101, 0.07);
  color: var(--muted);
  font-size: 12px;
}

.manager-security-banner .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--gold-bright);
}

.manager-security-banner strong {
  color: var(--text);
}

.manager-tabs {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 30;
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 18, 16, 0.94);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  scrollbar-width: none;
  backdrop-filter: blur(18px);
}

.manager-tabs::-webkit-scrollbar {
  display: none;
}

.manager-tabs a {
  display: inline-flex;
  min-width: max-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: background-color 160ms ease, color 160ms ease;
}

.manager-tabs a:hover,
.manager-tabs a.active {
  background: rgba(183, 155, 101, 0.12);
  color: var(--gold-bright);
}

.manager-tabs a.active {
  box-shadow: inset 0 0 0 1px rgba(216, 204, 176, 0.14);
}

.manager-tabs .icon {
  width: 18px;
  height: 18px;
}

.manager-content {
  min-width: 0;
}

.manager-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.manager-kpi {
  position: relative;
  min-width: 0;
  min-height: 154px;
  margin: 0;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
}

.manager-kpi > span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 11px;
  background: rgba(183, 155, 101, 0.1);
  color: var(--gold-bright);
}

.manager-kpi > span .icon {
  width: 19px;
  height: 19px;
}

.manager-kpi small,
.manager-kpi strong,
.manager-kpi p {
  display: block;
}

.manager-kpi small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.manager-kpi strong {
  margin-top: 4px;
  overflow: hidden;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 600;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-kpi strong.manager-kpi-name {
  font-size: clamp(20px, 4.8vw, 29px);
}

.manager-kpi p {
  margin: 5px 0 0;
  color: var(--subtle);
  font-size: 12px;
}

.manager-dashboard-grid,
.manager-services-layout {
  display: grid;
  gap: 14px;
}

.manager-panel,
.manager-performance-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
}

.manager-panel-head,
.manager-availability-head,
.manager-form-heading,
.manager-performance-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.manager-panel-head {
  margin-bottom: 14px;
}

.manager-panel-head h2,
.manager-availability-head h2,
.manager-form-heading h2,
.manager-performance-head h2,
.manager-quick-actions h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
}

.manager-panel-head .eyebrow,
.manager-quick-actions .eyebrow {
  margin-bottom: 3px;
}

.manager-panel-head .text-link {
  flex: 0 0 auto;
  font-size: 12px;
}

.manager-compact-list {
  display: grid;
}

.manager-booking-compact {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 70px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.manager-booking-compact:last-child {
  border-bottom: 0;
}

.manager-booking-compact > span:nth-child(2),
.manager-booking-compact strong,
.manager-booking-compact small {
  min-width: 0;
}

.manager-booking-compact strong,
.manager-booking-compact small {
  display: block;
}

.manager-booking-compact > span:nth-child(2) strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-booking-compact > span:nth-child(2) small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-date-badge {
  display: grid;
  width: 46px;
  height: 50px;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-3);
  line-height: 1.05;
}

.manager-date-badge strong {
  color: var(--gold-bright);
  font-size: 18px;
}

.manager-date-badge small {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.manager-compact-time {
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.manager-quick-actions > a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.012);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.manager-quick-actions > a:hover {
  border-color: var(--line-strong);
  background: rgba(183, 155, 101, 0.06);
}

.manager-quick-actions > a > .icon:first-child {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 11px;
  background: rgba(183, 155, 101, 0.1);
  color: var(--gold-bright);
}

.manager-quick-actions strong,
.manager-quick-actions small {
  display: block;
}

.manager-quick-actions strong {
  font-size: 13px;
}

.manager-quick-actions small {
  margin-top: 2px;
  color: var(--subtle);
  font-size: 11px;
}

.manager-quick-actions > a > .icon:last-child {
  width: 17px;
  height: 17px;
  color: var(--gold-soft);
}

.manager-toolbar {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.manager-filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.manager-filter-row::-webkit-scrollbar {
  display: none;
}

.manager-booking-list {
  display: grid;
  gap: 11px;
}

.manager-booking-row {
  display: grid;
  gap: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
}

.manager-booking-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.manager-booking-title strong,
.manager-booking-title small {
  display: block;
}

.manager-booking-title strong {
  font-size: 16px;
}

.manager-booking-title small {
  margin-top: 2px;
  color: var(--subtle);
  font-size: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.manager-booking-main h3 {
  margin-bottom: 3px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
}

.manager-booking-main > p {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 13px;
}

.manager-contact {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
}

.manager-contact .icon {
  width: 16px;
  height: 16px;
}

.manager-notes {
  margin: 8px 0 0 !important;
  padding: 9px 11px;
  border-left: 2px solid var(--gold-soft);
  border-radius: 0 9px 9px 0;
  background: rgba(183, 155, 101, 0.05);
  color: var(--muted) !important;
  font-size: 12px !important;
}

.manager-booking-controls {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.manager-receipt-link {
  width: 100%;
}

.manager-status {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-upcoming,
.status-checked-in {
  color: var(--gold-bright);
}

.status-completed,
.status-rated {
  color: var(--success);
}

.status-cancelled,
.status-no-show {
  color: var(--danger);
}

.manager-control-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.manager-availability-head {
  align-items: flex-end;
  margin-bottom: 16px;
}

.manager-availability-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.manager-availability-head .btn {
  min-height: 44px;
  padding: 9px 14px;
  font-size: 12px;
}

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

.manager-slot {
  display: grid;
  min-height: 68px;
  place-items: center;
  align-content: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-3);
  color: var(--text);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.manager-slot:active:not(:disabled) {
  transform: scale(0.98);
}

.manager-slot strong,
.manager-slot small {
  display: block;
}

.manager-slot strong {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.manager-slot small {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
}

.manager-slot.available {
  border-color: rgba(134, 214, 162, 0.35);
  background: rgba(134, 214, 162, 0.08);
}

.manager-slot.available small {
  color: var(--success);
}

.manager-slot.blocked {
  border-color: rgba(255, 156, 145, 0.28);
  background: rgba(255, 156, 145, 0.06);
}

.manager-slot.blocked small {
  color: var(--danger);
}

.manager-slot.booked {
  cursor: not-allowed;
  opacity: 0.62;
  background: #282621;
}

.manager-slot.booked small {
  color: var(--muted);
}

.manager-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 11px;
}

.manager-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.manager-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
}

.manager-legend i.available {
  background: var(--success);
}

.manager-legend i.blocked {
  background: var(--danger);
}

.manager-form-panel {
  width: 100%;
}

.manager-form-heading {
  justify-content: flex-start;
  margin-bottom: 20px;
}

.manager-form-heading > span:first-child {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: rgba(183, 155, 101, 0.1);
  color: var(--gold-bright);
}

.manager-form-heading p,
.manager-performance-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.manager-form-panel .btn[type="submit"] {
  margin-top: 18px;
}

.manager-performance-grid {
  display: grid;
  gap: 12px;
}

.manager-performance-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  justify-content: initial;
  margin-bottom: 18px;
}

.manager-performance-head .specialist-avatar {
  width: 52px;
  height: 52px;
  font-size: 18px;
}

.manager-performance-head h2 {
  overflow: hidden;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.manager-stat-row > span {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.012);
}

.manager-stat-row small,
.manager-stat-row strong {
  display: block;
}

.manager-stat-row small {
  overflow: hidden;
  color: var(--subtle);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-stat-row strong {
  margin-top: 3px;
  font-size: 18px;
}

.manager-progress {
  display: block;
  width: 100%;
  height: 5px;
  margin: 14px 0 18px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--surface-3);
  appearance: none;
  border: 0;
}

.manager-progress::-webkit-progress-bar {
  background: var(--surface-3);
}

.manager-progress::-webkit-progress-value,
.manager-progress::-moz-progress-bar {
  background: var(--success);
}

.manager-performance-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.manager-performance-card dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.manager-performance-card dt {
  color: var(--muted);
  font-size: 11px;
}

.manager-performance-card dd {
  margin: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-specialist-checks {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.manager-specialist-checks legend {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.manager-specialist-checks legend span {
  color: var(--gold-bright);
}

.manager-specialist-checks label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  min-height: 56px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.012);
}

.manager-specialist-checks input {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
}

.manager-specialist-checks strong,
.manager-specialist-checks small {
  display: block;
}

.manager-specialist-checks small {
  color: var(--muted);
  font-size: 11px;
}

.manager-service-list {
  display: grid;
  gap: 9px;
}

.manager-service-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.012);
}

.manager-service-row.inactive {
  opacity: 0.62;
}

.manager-service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: rgba(183, 155, 101, 0.1);
  color: var(--gold-bright);
}

.manager-service-icon .icon {
  width: 21px;
  height: 21px;
}

.manager-service-row strong,
.manager-service-row small {
  display: block;
}

.manager-service-row strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-service-row small {
  display: -webkit-box;
  margin-top: 2px;
  overflow: hidden;
  color: var(--subtle);
  font-size: 10px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.manager-service-price {
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
}

.manager-service-row .btn {
  grid-column: 2 / -1;
  min-height: 42px;
  justify-self: stretch;
  padding: 8px 13px;
  font-size: 11px;
}

.manager-empty {
  display: grid;
  min-height: 180px;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.manager-empty p {
  margin: 0;
}

.manager-login-page {
  display: grid;
  min-height: calc(100dvh - var(--header-h));
  place-items: center;
  padding: 34px 16px 64px;
  background:
    radial-gradient(circle at 50% 15%, rgba(183, 155, 101, 0.08), transparent 27rem),
    transparent;
}

.manager-login-card {
  width: min(100%, 470px);
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.manager-login-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: rgba(183, 155, 101, 0.1);
  color: var(--gold-bright);
}

.manager-login-card .field-grid {
  margin-bottom: 18px;
}

.manager-login-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 20px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--subtle);
  font-size: 11px;
}

.manager-login-note .icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--gold-soft);
}

.manager-login-card > .text-link {
  font-size: 12px;
}

/* Owner control centre */
.owner-mode .bottom-nav {
  display: none;
}

.owner-mode main {
  padding-bottom: 0;
}

.owner-access {
  border-color: rgba(216, 204, 176, 0.24);
  color: var(--gold-bright);
}

.owner-page {
  max-width: 1440px;
}

.owner-hero .eyebrow,
.owner-page > .manager-security-banner strong,
.owner-tabs a.active {
  color: #eee3c8;
}

.owner-identity > span:first-child,
.owner-login-mark {
  background: linear-gradient(145deg, rgba(216, 204, 176, 0.18), rgba(183, 155, 101, 0.07));
  color: #eee3c8;
}

.owner-security-banner {
  border-color: rgba(216, 204, 176, 0.3);
  background: linear-gradient(90deg, rgba(183, 155, 101, 0.1), rgba(183, 155, 101, 0.035));
}

.owner-tabs {
  justify-content: flex-start;
}

.owner-tabs a,
.manager-tabs .owner-return {
  flex: 0 0 auto;
}

.manager-tabs .owner-return {
  border: 1px solid rgba(216, 204, 176, 0.18);
  color: #eee3c8;
}

.owner-kpi {
  border-color: rgba(216, 204, 176, 0.2);
}

.owner-dashboard-grid,
.owner-team-layout,
.owner-finance-grid,
.owner-access-grid,
.owner-settings-grid {
  display: grid;
  gap: 14px;
}

.owner-dashboard-grid {
  grid-template-columns: 1fr;
}

.owner-finance-snapshot,
.owner-audit-snapshot,
.owner-review-control {
  margin-top: 0;
}

.owner-finance-snapshot,
.owner-audit-snapshot {
  align-self: start;
}

.owner-snapshot-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.owner-snapshot-stats > span {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.012);
}

.owner-snapshot-stats small,
.owner-snapshot-stats strong {
  display: block;
}

.owner-snapshot-stats small {
  overflow: hidden;
  color: var(--subtle);
  font-size: 9px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.owner-snapshot-stats strong {
  margin-top: 4px;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-authority-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(216, 204, 176, 0.25);
  border-radius: 13px;
  background: rgba(183, 155, 101, 0.06);
  color: var(--muted);
  font-size: 11px;
}

.owner-authority-note .icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--gold-bright);
}

.owner-delete-booking {
  grid-column: 1 / -1;
  min-height: 44px;
  padding: 9px 13px;
  font-size: 11px;
}

.owner-team-layout {
  align-items: start;
}

.owner-team-form {
  position: relative;
}

.owner-section-heading {
  margin: 6px 0 14px;
}

.owner-section-heading h2 {
  margin: 0;
  font-size: 28px;
}

.owner-team-card.inactive {
  opacity: 0.6;
}

.owner-team-card > .btn {
  width: 100%;
  min-height: 44px;
  margin-top: 18px;
  font-size: 11px;
}

.owner-review-control {
  margin-top: 14px;
}

.owner-review-list {
  display: grid;
  gap: 9px;
}

.owner-review-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.012);
}

.owner-review-row strong,
.owner-review-row small {
  display: block;
}

.owner-review-row strong {
  font-size: 13px;
}

.owner-review-row small {
  margin-top: 2px;
  color: var(--subtle);
  font-size: 10px;
}

.owner-review-row p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.owner-review-row .btn {
  grid-column: 2;
  min-height: 42px;
  padding: 8px 12px;
  font-size: 11px;
}

.owner-payment-methods,
.owner-transaction-list,
.owner-audit-list {
  display: grid;
  gap: 8px;
}

.owner-payment-methods > div,
.owner-transaction {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.012);
}

.owner-payment-methods strong,
.owner-payment-methods small,
.owner-transaction strong,
.owner-transaction small {
  display: block;
}

.owner-payment-methods small,
.owner-transaction small {
  margin-top: 2px;
  color: var(--subtle);
  font-size: 10px;
}

.owner-payment-methods > div > strong,
.owner-transaction > strong,
.owner-transaction-total > strong {
  flex: 0 0 auto;
  color: var(--gold-bright);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.owner-transaction > strong.unpaid,
.owner-transaction-total > strong.unpaid {
  color: var(--danger);
}

.owner-transaction-total {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.owner-transaction-total a {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--gold-bright);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.owner-transaction-total a:hover {
  border-color: var(--line-strong);
  background: rgba(183, 155, 101, 0.07);
}

.owner-transaction-total .icon {
  width: 18px;
  height: 18px;
}

.owner-access-card dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.owner-access-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.owner-access-card dt {
  color: var(--muted);
  font-size: 12px;
}

.owner-access-card dd {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.owner-current-manager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(183, 155, 101, 0.05);
}

.owner-current-manager small,
.owner-current-manager strong {
  display: block;
}

.owner-current-manager small {
  color: var(--subtle);
  font-size: 10px;
}

.owner-current-manager strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-current-manager .btn {
  min-height: 42px;
  padding: 8px 13px;
  font-size: 11px;
}

.owner-export-bar {
  display: grid;
  gap: 18px;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(183, 155, 101, 0.12), var(--surface));
}

.owner-export-bar h2,
.owner-export-bar p {
  margin: 0;
}

.owner-export-bar h2 {
  font-size: 28px;
}

.owner-export-bar p {
  color: var(--muted);
  font-size: 12px;
}

.owner-audit-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  min-height: 60px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.owner-audit-row:last-child {
  border-bottom: 0;
}

.owner-audit-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: rgba(183, 155, 101, 0.09);
  color: var(--gold-bright);
}

.owner-audit-icon .icon {
  width: 18px;
  height: 18px;
}

.owner-audit-row strong,
.owner-audit-row small {
  display: block;
}

.owner-audit-row strong {
  font-size: 12px;
  text-transform: capitalize;
}

.owner-audit-row small {
  margin-top: 2px;
  color: var(--subtle);
  font-size: 9px;
  text-transform: capitalize;
}

.owner-audit-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.owner-settings-preview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.owner-settings-preview h2 {
  margin-bottom: 0;
  font-size: 36px;
}

.owner-settings-preview > p {
  color: var(--gold-soft);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.owner-settings-preview > div {
  display: grid;
  gap: 10px;
  margin: 15px 0 24px;
}

.owner-settings-preview > div span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.owner-settings-preview > div .icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--gold-soft);
}

.owner-login-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.owner-login-links .text-link {
  font-size: 12px;
}

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

.owner-team-card > .owner-team-actions .btn {
  min-height: 44px;
  padding: 9px 10px;
  font-size: 10px;
}

.owner-specialist-access-panel {
  margin-top: 14px;
}

.owner-access-intro {
  max-width: 760px;
  margin: -3px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.owner-specialist-access-grid {
  display: grid;
  gap: 18px;
}

.owner-specialist-account-list {
  display: grid;
  align-content: start;
  gap: 8px;
}

.owner-specialist-account-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.012);
}

.owner-specialist-account-list .specialist-avatar {
  width: 42px;
  height: 42px;
  font-size: 11px;
}

.owner-specialist-account-list strong,
.owner-specialist-account-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-specialist-account-list strong {
  font-size: 13px;
}

.owner-specialist-account-list small {
  margin-top: 2px;
  color: var(--subtle);
  font-size: 10px;
}

.owner-specialist-account-list .btn {
  min-height: 42px;
  padding: 8px 12px;
  font-size: 10px;
}

.owner-target-dialog .manager-login-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

/* Personal specialist workspace */
.specialist-mode {
  --specialist-accent: #a8c5b4;
  --specialist-accent-soft: rgba(168, 197, 180, 0.11);
  --specialist-line: rgba(168, 197, 180, 0.26);
}

.specialist-mode .bottom-nav {
  display: none;
}

.specialist-mode main {
  padding-bottom: 0;
}

.specialist-access {
  color: #c5d7cd;
}

.specialist-page {
  max-width: 1320px;
}

.specialist-hero .eyebrow,
.specialist-tabs a.active,
.specialist-login-card .eyebrow {
  color: var(--specialist-accent);
}

.specialist-identity {
  border-color: var(--specialist-line);
  background: linear-gradient(145deg, rgba(168, 197, 180, 0.06), var(--surface));
}

.specialist-identity > .specialist-avatar {
  width: 44px;
  height: 44px;
  background: var(--specialist-accent-soft);
  color: #d9e8df;
}

.specialist-privacy-banner,
.specialist-privacy-note {
  border-color: var(--specialist-line);
  background: linear-gradient(90deg, rgba(168, 197, 180, 0.09), rgba(168, 197, 180, 0.025));
}

.specialist-privacy-banner .icon,
.specialist-privacy-note .icon {
  color: var(--specialist-accent);
}

.specialist-tabs a.active {
  background: var(--specialist-accent-soft);
  box-shadow: inset 0 0 0 1px rgba(168, 197, 180, 0.12);
}

.specialist-login-page {
  background: radial-gradient(circle at 50% 14%, rgba(168, 197, 180, 0.08), transparent 26rem);
}

.specialist-login-card {
  border-color: var(--specialist-line);
}

.specialist-login-mark {
  border-color: var(--specialist-line);
  background: var(--specialist-accent-soft);
  color: #d9e8df;
}

.specialist-access-empty {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 22px 0;
  padding: 15px;
  border: 1px solid var(--specialist-line);
  border-radius: 14px;
  background: var(--specialist-accent-soft);
}

.specialist-access-empty > .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--specialist-accent);
}

.specialist-access-empty strong,
.specialist-access-empty small {
  display: block;
}

.specialist-access-empty strong {
  font-size: 13px;
}

.specialist-access-empty small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.specialist-welcome {
  margin-bottom: 18px;
  padding: 2px 2px 0;
}

.specialist-welcome h2 {
  margin: 4px 0 5px;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.05;
}

.specialist-welcome p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.specialist-kpi {
  border-color: rgba(168, 197, 180, 0.17);
}

.specialist-kpi > span {
  background: var(--specialist-accent-soft);
  color: var(--specialist-accent);
}

.specialist-target-grid,
.specialist-overview-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.specialist-target-card {
  padding: 18px;
  border: 1px solid var(--specialist-line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(168, 197, 180, 0.07), var(--surface));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
}

.specialist-target-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.specialist-target-head small,
.specialist-target-head strong {
  display: block;
}

.specialist-target-head small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.specialist-target-head strong {
  margin-top: 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 600;
}

.specialist-target-percent {
  color: var(--specialist-accent);
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.specialist-target-track {
  display: block;
  width: 100%;
  height: 8px;
  margin: 15px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  appearance: none;
  border: 0;
}

.specialist-target-track::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.06);
}

.specialist-target-track::-webkit-progress-value,
.specialist-target-track::-moz-progress-bar {
  background: linear-gradient(90deg, #78998a, var(--specialist-accent));
}

.specialist-target-card p,
.specialist-target-card > small {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.specialist-target-card > small {
  display: block;
  margin-top: 3px;
  color: var(--subtle);
}

.specialist-compact-list,
.specialist-booking-list,
.specialist-revenue-list {
  display: grid;
  gap: 9px;
}

.specialist-booking-compact {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 74px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.specialist-booking-compact:last-child {
  border-bottom: 0;
}

.specialist-booking-compact > span:nth-child(2) strong,
.specialist-booking-compact > span:nth-child(2) small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.specialist-booking-compact > span:nth-child(2) strong {
  font-size: 13px;
}

.specialist-booking-compact > span:nth-child(2) small {
  margin-top: 3px;
  color: var(--subtle);
  font-size: 10px;
}

.specialist-booking-compact .manager-status {
  grid-column: 2;
  justify-self: start;
}

.specialist-total-panel > h2 {
  margin: 6px 0 0;
  color: var(--specialist-accent);
  font-size: 58px;
  line-height: 1;
}

.specialist-total-panel > p {
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 12px;
}

.specialist-total-panel dl {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.specialist-total-panel dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.specialist-total-panel dt {
  color: var(--muted);
  font-size: 11px;
}

.specialist-total-panel dd {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.specialist-booking-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.specialist-booking-toolbar h2 {
  margin: 4px 0 0;
  font-size: clamp(28px, 6vw, 42px);
}

.specialist-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--specialist-line);
  border-radius: 13px;
  color: var(--muted);
  font-size: 11px;
}

.specialist-privacy-note .icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.specialist-booking-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
}

.specialist-booking-date {
  display: flex;
  min-height: 66px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--specialist-line);
  border-radius: 14px;
  background: var(--specialist-accent-soft);
}

.specialist-booking-date strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  line-height: 1;
}

.specialist-booking-date small {
  margin-top: 4px;
  color: var(--specialist-accent);
  font-size: 8px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.specialist-booking-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.specialist-booking-heading small {
  display: block;
  color: var(--subtle);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.specialist-booking-heading h3 {
  margin: 2px 0 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
}

.specialist-service-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 15px 0 10px;
}

.specialist-service-line > .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--specialist-accent);
}

.specialist-service-line strong,
.specialist-service-line small {
  display: block;
}

.specialist-service-line strong {
  font-size: 12px;
}

.specialist-service-line small {
  color: var(--subtle);
  font-size: 10px;
}

.specialist-booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  color: var(--muted);
  font-size: 10px;
}

.specialist-booking-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.specialist-booking-meta .icon {
  width: 14px;
  height: 14px;
}

.specialist-revenue-panel {
  margin-top: 14px;
}

.specialist-revenue-explainer {
  max-width: 760px;
  margin: -3px 0 16px;
  color: var(--muted);
  font-size: 11px;
}

.specialist-revenue-list article {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.012);
}

.specialist-revenue-list strong,
.specialist-revenue-list small {
  display: block;
}

.specialist-revenue-list small {
  margin-top: 2px;
  color: var(--subtle);
  font-size: 10px;
}

.specialist-revenue-list article > strong {
  flex: 0 0 auto;
  color: var(--specialist-accent);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.dialog-danger-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 156, 145, 0.1);
  color: var(--danger);
}

.dialog-danger-icon .icon {
  width: 23px;
  height: 23px;
}

@media (max-width: 519px) {
  .receipt-page {
    padding-top: 20px;
  }

  .receipt-actions .btn {
    width: 100%;
  }

  .receipt-paper {
    padding: 20px 17px;
    border-radius: 18px;
  }

  .receipt-head {
    gap: 12px;
    padding-bottom: 18px;
  }

  .receipt-brand {
    gap: 9px;
  }

  .receipt-brand img {
    width: 46px;
    height: 46px;
  }

  .receipt-brand strong {
    font-size: 17px;
  }

  .receipt-brand small {
    font-size: 8px;
  }

  .receipt-paid {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .receipt-title-row {
    flex-direction: column;
    padding: 26px 0 22px;
  }

  .receipt-title-row h1 {
    font-size: 30px;
  }

  .receipt-reference {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .receipt-customer,
  .receipt-payment-details {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .receipt-table {
    margin: 24px 0;
  }

  .receipt-table th,
  .receipt-table td {
    padding: 12px 5px;
  }

  .receipt-table tbody td {
    font-size: 11px;
  }

  .receipt-table tfoot th,
  .receipt-table tfoot td {
    font-size: 15px;
  }

  .app-header {
    padding-inline: 10px;
  }

  .brand {
    gap: 7px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .header-actions {
    gap: 6px;
  }

  .language-switch {
    min-width: 62px;
    min-height: 44px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .customer-access,
  .icon-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
  }

  .owner-team-actions {
    grid-template-columns: 1fr;
  }

  .specialist-booking-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-profile-heading {
    flex-direction: column;
  }

  .checkout-identity {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .checkout-account-links {
    width: 100%;
    margin-left: 51px;
  }

  .customer-profile-actions .btn {
    width: 100%;
  }

  .faq-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-heading > p {
    max-width: none;
    text-align: left;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 520px) {
  .customer-access-label {
    display: inline;
  }

  .manager-control-grid,
  .manager-booking-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .manager-service-row {
    grid-template-columns: 42px minmax(0, 1fr) auto auto;
  }

  .manager-service-row .btn {
    grid-column: auto;
    min-width: 86px;
    justify-self: end;
  }

  .owner-review-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
  }

  .owner-review-row .btn {
    grid-column: auto;
    min-width: 92px;
  }

  .owner-export-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .specialist-booking-compact {
    grid-template-columns: 50px minmax(0, 1fr) auto;
  }

  .specialist-booking-compact .manager-status {
    grid-column: auto;
    justify-self: end;
  }
}

@media (min-width: 620px) {
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .customer-auth-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
    align-items: start;
  }

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

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

  .loyalty-reward-card {
    grid-template-columns: 42px minmax(0, 1fr);
    align-content: start;
  }

  .loyalty-reward-card .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .category-grid {
    grid-template-columns: repeat(5, 1fr);
  }

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

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

  .field-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-grid.two-col .field-wide {
    grid-column: 1 / -1;
  }

  .rating-overview {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .manager-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .manager-specialist-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manager-performance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .owner-access-grid,
  .owner-finance-grid,
  .owner-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .specialist-target-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specialist-booking-card {
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 18px;
  }

  .specialist-booking-date {
    min-height: 78px;
  }
}

@media (min-width: 820px) {
  :root {
    --header-h: 84px;
    --bottom-h: 0px;
  }

  .app-header {
    padding-inline: max(32px, calc((100vw - var(--max)) / 2));
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 20px;
  }

  .desktop-nav {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 8px;
  }

  .owner-loyalty-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    align-items: start;
  }

  .desktop-nav a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    padding: 0 15px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    transition: all 160ms ease;
  }

  .desktop-nav a:hover,
  .desktop-nav a.active {
    background: rgba(183, 155, 101, 0.08);
    color: var(--gold-bright);
  }

  .customer-access-label {
    display: none;
  }

  .bottom-nav {
    display: none;
  }

  main {
    padding-bottom: 0;
  }

  .site-footer {
    padding-top: 46px;
  }

  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .footer-links {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page {
    padding: 54px 28px 80px;
  }

  .hero-inner {
    padding: 100px 28px 84px;
  }

  .section {
    margin-top: 72px;
  }

  .category-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .category-tile {
    min-height: 164px;
  }

  .category-tile .icon-wrap {
    width: 74px;
    height: 74px;
  }

  .category-tile .icon-wrap .icon {
    width: 38px;
    height: 38px;
  }

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

  .search-panel {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 2fr;
    align-items: center;
    gap: 12px;
  }

  .chips {
    margin: 0;
  }

  .flow-actions {
    position: static;
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .flow-actions .btn-primary {
    min-width: 260px;
  }

  .booking-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    align-items: start;
  }

  .booking-layout .summary-card {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }

  .location-card {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .map-art {
    min-height: 300px;
  }

  .location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
  }

  .manager-page {
    padding: 44px 28px 90px;
  }

  .manager-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
    align-items: end;
    margin-bottom: 26px;
  }

  .manager-identity {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .manager-identity .btn {
    grid-column: auto;
    min-height: 44px;
    padding: 9px 14px;
    font-size: 12px;
  }

  .manager-tabs {
    top: calc(var(--header-h) + 12px);
    justify-content: center;
    margin-bottom: 24px;
  }

  .manager-tabs a {
    flex: 1;
  }

  .manager-panel,
  .manager-performance-card {
    padding: 22px;
  }

  .manager-kpi {
    min-height: 175px;
    padding: 20px;
  }

  .manager-toolbar {
    grid-template-columns: minmax(300px, 1fr) auto;
    align-items: center;
  }

  .manager-booking-row {
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
    align-items: center;
    padding: 20px;
  }

  .manager-booking-controls {
    padding: 0 0 0 20px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .manager-slot-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .manager-login-page {
    padding: 70px 24px 100px;
  }

  .manager-login-card {
    padding: 38px;
  }

  .owner-tabs {
    justify-content: flex-start;
  }

  .owner-tabs a {
    flex: 0 0 auto;
    min-width: 112px;
  }

  .owner-specialist-access-grid {
    grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
    align-items: start;
  }

  .specialist-booking-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

@media (min-width: 1100px) {
  .site-footer-inner {
    grid-template-columns: minmax(250px, 0.9fr) minmax(320px, 1.2fr) minmax(210px, 0.7fr);
  }

  .footer-links {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-access-label {
    display: inline;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

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

  .manager-dashboard-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.45fr);
  }

  .specialist-overview-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.4fr);
    align-items: start;
  }

  .manager-services-layout {
    grid-template-columns: minmax(380px, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

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

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

  .owner-span-two {
    grid-column: span 2;
  }

  .owner-finance-snapshot {
    grid-column: span 2;
  }

  .owner-team-layout {
    grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  }

  .owner-team-form {
    position: sticky;
    top: calc(var(--header-h) + 90px);
  }

  .owner-performance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .hero {
    min-height: 520px;
  }

  .hero-inner {
    padding-top: 48px;
    padding-bottom: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@page {
  size: A4;
  margin: 12mm;
}

@media print {
  :root {
    color-scheme: light;
  }

  html,
  body {
    min-width: 0;
    background: #fff !important;
  }

  body::before,
  .app-header,
  .site-footer,
  .bottom-nav,
  .receipt-actions,
  .toast-region,
  #dialog-root {
    display: none !important;
  }

  main {
    min-height: 0;
    padding: 0;
  }

  .receipt-page {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .receipt-paper {
    padding: 8mm;
    border: 0;
    border-radius: 0;
    background: #fff !important;
    box-shadow: none;
    color: #16130f;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .receipt-title-row h1,
  .receipt-reference dd,
  .receipt-table tfoot th,
  .receipt-table tfoot td {
    color: #16130f;
  }
}
