:root {
  --ink: #211b1f;
  --muted: #756b70;
  --line: #eadfe4;
  --soft: #fbf5f1;
  --paper: #ffffff;
  --accent: #bb345f;
  --accent-dark: #8d2245;
  --sage: #407d72;
  --warm: #c99445;
  --shadow: 0 18px 48px rgba(45, 26, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Editorial salon workspace — derived from the supplied product mockups. */
:root {
  --ink: #272021;
  --muted: #766d6b;
  --line: #e8dfda;
  --soft: #f8f2ee;
  --accent: #b96f72;
  --accent-dark: #8f5054;
  --shadow: 0 12px 32px rgba(52, 37, 33, 0.09);
}

body { background: #fbf8f4; font-family: "DM Sans", Inter, sans-serif; }
h1, h2, h3, h4, .brand { font-family: "Playfair Display", Georgia, serif; }
.topbar { min-height: 78px; background: rgba(253, 250, 246, .94); }
.brand { font-size: 20px; }
.nav a { padding: 12px 16px; font-size: 15px; }
.nav a.active { color: #fff; background: var(--accent); }
.user-pill { cursor: pointer; font-size: 14px; font-weight: 600; }

.owner-page { width: min(1240px, 100%); margin: 0 auto; padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 64px); }
.owner-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.owner-page-heading p { margin: 0 0 8px; color: var(--accent); font-weight: 650; }
.owner-page-heading h2 { margin: 0; font-size: clamp(42px, 6vw, 70px); font-weight: 500; }
.owner-dashboard.dashboard { grid-template-columns: 1fr; }
.owner-dashboard .dashboard-sidebar { display: block; }
.owner-dashboard .dashboard-content { grid-template-columns: 1fr; }
.owner-dashboard [data-dashboard-panel="owner-overview"], .owner-dashboard [data-dashboard-panel="staff-overview"] { padding: 0; background: transparent; border: 0; box-shadow: none; }

/* Auth dialog fix: keep this last so legacy modal rules cannot constrain the split layout. */
.modal#authModal {
  width: min(1180px, calc(100vw - 40px));
  max-width: none;
  height: min(760px, calc(100svh - 32px));
  max-height: calc(100svh - 32px);
  overflow: hidden;
}

.modal#authModal .modal-card.auth-card {
  display: grid;
  grid-template-columns: minmax(380px, 48%) minmax(0, 52%);
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
}

.modal#authModal .auth-visual {
  min-width: 0;
  min-height: 0;
  padding: 34px 42px 40px;
  overflow: hidden;
}

.modal#authModal .auth-visual > div { padding-bottom: 0; }
.modal#authModal .auth-visual h2 { margin-bottom: 15px; color: #fff; font-size: clamp(46px, 4.1vw, 66px); text-align: left; text-shadow: 0 2px 20px rgba(31, 4, 14, .28); }
.modal#authModal .auth-visual p { font-size: clamp(16px, 1.4vw, 20px); }
.modal#authModal .auth-brand { font-size: clamp(23px, 2.2vw, 31px); }
.modal#authModal .auth-brand span { width: 54px; height: 54px; }

.modal#authModal .auth-panel {
  min-width: 0;
  height: 100%;
  padding: 30px clamp(34px, 4vw, 62px) 36px;
  overflow-x: hidden;
  overflow-y: auto;
}

.modal#authModal .auth-home-link { margin-bottom: 24px; }
.modal#authModal .auth-header { display: block; min-height: 0; padding: 0; border: 0; }
.modal#authModal .auth-header h2 { font-size: clamp(38px, 3.4vw, 52px); text-align: left; }
.modal#authModal .auth-header .icon-close { top: 18px; right: 20px; }
.modal#authModal .auth-subtitle { margin: 10px 0 22px; font-size: 17px; }
.modal#authModal .auth-options,
.modal#authModal .email-auth { width: 100%; max-width: 560px; padding: 0; }
.modal#authModal .auth-email-start { margin-bottom: 10px; }
.modal#authModal .auth-email-start input,
.modal#authModal .email-auth input { min-height: 52px; margin-top: 7px; }
.modal#authModal .auth-continue { min-height: 52px; margin-bottom: 17px; }
.modal#authModal .auth-divider { margin-bottom: 17px; }
.modal#authModal .auth-option { min-height: 51px; margin-bottom: 9px; }

@media (max-width: 820px) {
  .modal#authModal { width: 100%; height: 100svh; max-height: 100svh; }
  .modal#authModal .modal-card.auth-card { display: block; height: 100%; border-radius: 0; overflow-y: auto; }
  .modal#authModal .auth-visual { min-height: 310px; padding: 26px 24px 30px; background-position: 68% 32%; }
  .modal#authModal .auth-brand { font-size: 23px; }
  .modal#authModal .auth-brand span { width: 44px; height: 44px; font-size: 13px; }
  .modal#authModal .auth-visual > div { padding-top: 72px; }
  .modal#authModal .auth-visual #authVisualKicker { margin-bottom: 9px; font-size: 11px; }
  .modal#authModal .auth-visual h2 { max-width: 310px; margin: 0; font-size: 38px; }
  .modal#authModal .auth-visual #authVisualCopy { display: none; }
  .modal#authModal .auth-panel { height: auto; min-height: calc(100svh - 310px); padding: 24px 22px 38px; overflow: visible; }
  .modal#authModal .auth-home-link { margin-bottom: 22px; }
  .modal#authModal .auth-header { position: static; display: block; padding-right: 0; }
  .modal#authModal .auth-header h2 { max-width: 100%; font-size: 33px; line-height: 1.05; }
  .modal#authModal .auth-header .icon-close { position: absolute; top: 20px; right: auto; left: 22px; }
  .modal#authModal .auth-options,
  .modal#authModal .email-auth { max-width: none; padding: 0; }
}

/* 2026 experience refresh: clear customer and salon journeys. */
:root {
  --ink: #2c1028;
  --muted: #6f6570;
  --line: #e8dfe4;
  --soft: #f8f1f4;
  --accent: #a8134c;
  --accent-dark: #790c35;
  --paper: #fff;
}

body { background: #fff; }
.topbar { min-height: 88px; padding-inline: clamp(24px, 4vw, 64px); background: rgba(255,255,255,.96); border-bottom: 1px solid #eee7eb; }
.brand-mark { width: 48px; height: 48px; border-radius: 12px; background: #38102f; }
.brand { font-size: clamp(21px, 1.7vw, 28px); color: #2c1028; }
.nav { gap: clamp(4px, 1vw, 14px); }
.nav a { color: #4f4050; font-size: 15px; }
.header-actions .ghost-button, .header-actions .primary-button { min-height: 48px; padding-inline: 22px; border-radius: 9px; }
.header-actions .header-register { background: #a8134c; border-color: #a8134c; }

.hero { grid-template-columns: minmax(0, 1.05fr) minmax(430px, .9fr); gap: 0; min-height: calc(100svh - 88px); padding: 0 0 0 clamp(24px, 4vw, 64px); background: #fff; }
.landing-hero-copy { z-index: 2; max-width: 790px; padding: 64px 0 72px; }
.hero h1 { max-width: 760px; color: #31072a; font-size: clamp(62px, 6.4vw, 108px); line-height: .94; letter-spacing: -.055em; }
.hero h1 em { color: #31072a; }
.hero p { max-width: 640px; margin: 24px 0 0; color: #615467; font-size: clamp(18px, 1.45vw, 23px); }
.landing-hero-image { align-self: stretch; min-height: 640px; margin: 24px 24px 24px 0; border-radius: 22px; box-shadow: none; overflow: hidden; }
.landing-search { position: relative; z-index: 3; width: min(900px, calc(100vw - 48px)); margin: 34px -120px 0 0; padding: 14px; border-color: #e6dfe3; border-radius: 14px; box-shadow: 0 18px 50px rgba(51,17,43,.12); }
.landing-search input { background: #fff; }
.landing-search .primary-button { background: #ad154f; border-color: #ad154f; }
.landing-categories { gap: 18px; margin-top: 30px; }
.landing-categories button { flex-direction: column; gap: 8px; min-width: 72px; min-height: 82px; padding: 10px; background: transparent; border-radius: 10px; }
.landing-categories button::first-letter { display: grid; color: #9f1748; }
.landing-categories button:hover { background: #fbf3f6; }
.landing-trust { margin-top: 34px; color: #71636e; font-size: 13px; }

.modal#authModal { width: min(1120px, calc(100vw - 40px)); height: min(760px, calc(100svh - 32px)); }
.modal#authModal .modal-card.auth-card { grid-template-columns: 42% 58%; border-radius: 18px; background: #fff; }
.modal#authModal .auth-visual { padding: 32px 38px 44px; background: url('/assets/salorya-interior.jpg') 58% center / cover; }
.modal#authModal[data-auth-role="business"] .auth-visual { background-position: 75% center; }
.modal#authModal .auth-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(38,12,29,.04), rgba(38,12,29,.66)); }
.modal#authModal .auth-visual { position: relative; }
.modal#authModal .auth-brand, .modal#authModal .auth-visual > div { position: relative; z-index: 1; }
.modal#authModal .auth-visual #authVisualKicker { display: none; }
.modal#authModal .auth-visual h2 { max-width: 430px; font-size: clamp(44px, 4vw, 64px); line-height: .96; }
.modal#authModal .auth-visual p { font-size: 17px; }
.modal#authModal .auth-panel { justify-content: flex-start; padding: 30px clamp(42px, 5vw, 74px) 36px; background: #fff; }
.modal#authModal .auth-header,
.modal#authModal .auth-subtitle,
.modal#authModal .auth-verification-info,
.modal#authModal .auth-main-form { flex-shrink: 0; }
.modal#authModal .auth-home-link { position: absolute; top: 27px; right: 62px; margin: 0; color: #6f5d6b; font-size: 14px; }
.modal#authModal .auth-header h2 { font-size: clamp(40px, 4vw, 58px); color: #2c1028; }
.modal#authModal .auth-subtitle { max-width: 520px; margin: 12px 0 28px; }
.modal#authModal .email-auth.auth-main-form { display: grid; gap: 15px; width: 100%; max-width: 530px; padding: 0; }
.modal#authModal .auth-main-form label { display: grid; gap: 7px; color: #332a32; font-size: 14px; font-weight: 700; }
.modal#authModal .auth-main-form input { min-height: 54px; margin: 0; padding: 0 16px; background: #fff; border: 1px solid #d9d0d6; border-radius: 9px; font-family: "DM Sans", sans-serif; font-size: 16px; }
.modal#authModal .auth-main-form input:focus { outline: 3px solid rgba(168,19,76,.13); border-color: #a8134c; }
.modal#authModal .auth-submit-main { width: 100%; min-height: 54px; margin-top: 3px; border-radius: 9px; background: #a8134c; border-color: #a8134c; font-size: 17px; }
.modal#authModal[data-auth-role="business"] .auth-submit-main { background: #45344d; border-color: #45344d; }
.modal#authModal .auth-divider { margin: 6px 0 0; font-size: 13px; }
.modal#authModal .auth-social-only:has(.auth-option) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.modal#authModal .auth-option { min-height: 48px; margin: 0; padding: 8px 12px; font-size: 0; }
.modal#authModal .auth-option .auth-logo { position: static; width: 24px; height: 24px; }
.modal#authModal .auth-context-links { display: grid; gap: 10px; margin-top: 10px; padding-top: 18px; border-top: 1px solid #ece5e9; text-align: center; }
.modal#authModal .auth-context-links p { margin: 0; color: #6f6570; font-size: 15px; }
.modal#authModal .auth-context-links button { padding: 0; color: #981343; background: none; border: 0; cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.modal#authModal #authRoleSwitch { color: #6f6570; font-size: 14px; text-decoration: none; }
.modal#authModal #authRoleSwitch strong { color: #38102f; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 0; }
  .landing-hero-copy { padding: 54px 24px 48px; }
  .landing-search { width: 100%; margin-right: 0; }
  .landing-hero-image { min-height: 480px; }
}

@media (max-width: 820px) {
  .modal#authModal .auth-visual { min-height: 230px; }
  .modal#authModal .auth-visual > div { padding-top: 45px; }
  .modal#authModal .auth-panel { min-height: calc(100svh - 230px); padding: 34px 22px 42px; }
  .modal#authModal .auth-home-link { display: none; }
  .modal#authModal .auth-header .icon-close { position: fixed; top: 16px; left: auto; right: 16px; z-index: 5; color: #fff; background: rgba(34,11,27,.4); border-color: rgba(255,255,255,.45); }
}

/* Authentication: deliberately distinct, editorial entry screens. */
#authModal { width: min(1540px, calc(100vw - 32px)); max-width: none; padding: 0; overflow: visible; background: transparent; border: 0; }
#authModal::backdrop { background: rgba(28, 19, 22, .48); backdrop-filter: blur(7px); }
.auth-card { display: grid; grid-template-columns: minmax(410px, .88fr) minmax(540px, .96fr); width: 100%; max-width: none; min-height: min(860px, calc(100svh - 40px)); padding: 0; overflow: hidden; background: #fffdfb; border: 0; border-radius: 22px; box-shadow: 0 30px 90px rgba(38, 14, 24, .25); }
.auth-visual { display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; padding: 44px clamp(38px, 4vw, 68px) 58px; color: #fff; background: linear-gradient(90deg, rgba(68, 8, 26, .92) 0%, rgba(100, 16, 42, .76) 46%, rgba(28, 14, 17,.14) 100%), url('/assets/salorya-interior.jpg') 66% center / cover; }
.auth-brand { display: inline-flex; gap: 14px; align-items: center; width: fit-content; color: #fff; text-decoration: none; font-family: "Playfair Display", Georgia, serif; font-size: clamp(24px, 2.2vw, 36px); }
.auth-brand span { display: inline-grid; width: 62px; height: 62px; place-items: center; border: 1px solid rgba(255,255,255,.85); border-radius: 13px; font-size: 19px; }
.auth-visual > div { max-width: 630px; padding-bottom: clamp(20px, 4vw, 80px); }
.auth-visual p { max-width: 550px; margin: 0; color: rgba(255,255,255,.96); font-size: clamp(18px, 1.55vw, 25px); line-height: 1.42; }
.auth-visual #authVisualKicker { margin-bottom: 20px; color: #f6c76a; font-family: "DM Sans", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.auth-visual h2 { max-width: 670px; margin: 0 0 20px; color: #fff; font-size: clamp(54px, 5vw, 88px); line-height: .92; letter-spacing: -.055em; }
.auth-panel { position: relative; display: flex; flex-direction: column; width: 100%; padding: 48px clamp(38px, 6vw, 100px) 54px; overflow-y: auto; background: radial-gradient(circle at 65% 5%, #fff, #fffaf6 72%); }
.auth-home-link { align-self: flex-end; margin-bottom: clamp(38px, 6vh, 84px); color: #7c1735; text-decoration: none; font-weight: 700; }
.auth-home-link span { margin-left: 8px; font-size: 20px; }
.auth-header { display: block; min-height: 0; padding: 0; border: 0; }
.auth-header h2 { margin: 0; color: #171218; font-size: clamp(44px, 4.3vw, 68px); line-height: 1; letter-spacing: -.05em; }
.auth-header .icon-close { position: absolute; top: 30px; right: 32px; }
.auth-subtitle { max-width: 580px; margin: 14px 0 34px; color: #5f6177; font-size: 19px; line-height: 1.45; }
.auth-verification-info, .auth-options, .auth-panel > .email-auth { width: min(100%, 600px); }
.auth-verification-info { margin: -8px 0 18px; }
.auth-options, .auth-panel > .email-auth { padding: 0; }
.auth-email-start { margin: 0 0 12px; color: #161328; font-weight: 700; }
.auth-email-start input, .email-auth input { min-height: 62px; margin-top: 8px; border-color: #c9cad7; border-radius: 9px; box-shadow: none; }
.auth-continue { min-height: 60px; margin-bottom: 22px; border-radius: 8px; background: linear-gradient(105deg, #8a193b, #65102c); box-shadow: none; }
.auth-divider { margin: 0 0 22px; color: #63647a; }
.auth-divider::before, .auth-divider::after { background: #d6d6e0; }
.auth-option { min-height: 60px; margin-bottom: 12px; border-color: #c9cad7; border-radius: 9px; color: #171634; background: #fff; box-shadow: none; }
.auth-option:hover { border-color: #8a193b; background: #fffafb; }
.auth-email-verification { align-items: flex-start; padding-top: 18px !important; }
.verification-icon { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 16px; color: #7c1735; background: #f9e8ed; border-radius: 50%; font-size: 25px; }
.auth-email-verification h3 { margin: 0 0 10px; font-size: 33px; }
.auth-email-verification p { margin: 0 0 25px; color: #5f6177; line-height: 1.5; }
.auth-email-verification .primary-button, .auth-email-verification .secondary-button { width: 100%; min-height: 55px; margin-top: 10px; }
.email-change-card { width: min(620px, calc(100vw - 32px)); padding: 44px; }
.email-change-card > p:not(.eyebrow) { margin: -8px 0 26px; color: #5f6177; line-height: 1.45; }
.email-change-card label { margin-top: 16px; }
.email-verified-banner { display: flex; gap: 14px; align-items: center; width: min(700px, 100%); margin: 0 0 24px; padding: 14px 18px; color: #165d3a; background: #eef9f1; border: 1px solid #b9e2c7; border-radius: 12px; }
.email-verified-banner > span { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; color: #fff; background: #247449; border-radius: 50%; font-weight: 800; }
.email-verified-banner p { margin: 0; }
.email-verified-banner button { margin-left: auto; color: #165d3a; background: transparent; border: 0; cursor: pointer; font-size: 25px; line-height: 1; }
.mobile-nav { display: none; }

@media (max-width: 760px) {
  body { padding-bottom: 82px; }
  .menu-button, #menuButton, .topbar .nav { display: none !important; }
  .topbar { min-height: 72px; padding: 11px 18px; }
  .brand-mark { width: 46px; height: 46px; border-radius: 13px; }
  .brand span:last-child { display: none; }
  .header-actions .ghost-button { min-height: 42px; padding-inline: 15px; }
  .mobile-nav { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); gap: 2px; min-height: 72px; padding: 7px 10px max(7px, env(safe-area-inset-bottom)); background: rgba(255,253,250,.97); border-top: 1px solid #eadfda; box-shadow: 0 -8px 28px rgba(42, 20, 27, .08); backdrop-filter: blur(14px); }
  .mobile-nav a, .mobile-nav button { display: flex; flex-direction: column; gap: 2px; align-items: center; justify-content: center; min-width: 0; padding: 3px; color: #756b70; background: transparent; border: 0; text-decoration: none; cursor: pointer; font-family: "DM Sans", sans-serif; }
  .mobile-nav span { color: inherit; font-size: 22px; line-height: 1; }
  .mobile-nav small { overflow: hidden; max-width: 100%; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-nav a.active, .mobile-nav button:active { color: #861735; }
  #authModal { width: 100%; height: 100%; max-height: none; }
  .auth-card { display: block; min-height: 100%; border-radius: 0; }
  .auth-visual { min-height: 250px; padding: 24px; background-position: 68% center; }
  .auth-brand { font-size: 24px; }
  .auth-brand span { width: 46px; height: 46px; border-radius: 10px; font-size: 14px; }
  .auth-visual > div { padding: 42px 0 0; }
  .auth-visual h2 { max-width: 340px; font-size: 48px; }
  .auth-visual p { font-size: 16px; }
  .auth-visual #authVisualCopy { display: none; }
  .auth-panel { min-height: calc(100svh - 250px); padding: 26px 24px 42px; }
  .auth-home-link { margin-bottom: 34px; }
  .auth-header h2 { font-size: 46px; }
  .auth-header .icon-close { top: 18px; right: 16px; }
  .auth-subtitle { margin-bottom: 28px; font-size: 17px; }
  .email-change-card { width: calc(100vw - 28px); padding: 32px 22px; }
  .email-change-card .booking-actions { flex-direction: column-reverse; }
}

/* Salon workspace: persistent navigation, read-first profile, deliberate edit mode. */
.owner-workspace-sidebar,
.owner-mobile-header { display: none; }

@media (min-width: 901px) {
  body[data-role="owner"] .topbar,
  body[data-role="staff"] .topbar { display: none; }
  body[data-role="owner"] .owner-workspace-sidebar,
  body[data-role="staff"] .owner-workspace-sidebar { position: fixed; z-index: 45; inset: 0 auto 0 0; display: flex; width: 248px; padding: 22px 18px; flex-direction: column; color: #30101f; background: #fff; border-right: 1px solid #eadfe1; }
  body[data-role="owner"] main,
  body[data-role="staff"] main { margin-left: 248px; }
}
.owner-sidebar-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 34px; padding: 4px 8px 20px; color: #3c1025; border-bottom: 1px solid #eee4e5; text-decoration: none; }
.owner-sidebar-mark { display: grid; flex: 0 0 auto; width: 46px; height: 46px; place-items: center; color: #fff; background: #471028; border-radius: 13px; font-family: "Playfair Display", serif; }
.owner-sidebar-brand strong { display: block; font-family: "Playfair Display", serif; font-size: 17px; }
.owner-sidebar-brand small { display: block; margin-top: 2px; color: #94858c; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.owner-sidebar-nav { display: grid; gap: 7px; min-height: 0; overflow-y: auto; align-content: start; scrollbar-width: thin; }
.owner-sidebar-nav a { display: flex; gap: 12px; align-items: center; min-height: 46px; padding: 0 14px; color: #4c4247; border-radius: 11px; font-size: 14px; font-weight: 650; text-decoration: none; }
.owner-sidebar-nav a span { display: grid; width: 24px; place-items: center; color: #7c1738; font-size: 18px; }
.owner-sidebar-nav a:hover,
.owner-sidebar-nav a.active { color: #7c1738; background: linear-gradient(100deg, #f9e8ec, #f5d9df); }
.owner-sidebar-footer { display: grid; grid-template-columns: 34px 1fr; gap: 4px 9px; align-items: center; margin-top: auto; padding: 18px 14px; background: #fff9f8; border: 1px solid #eadbdd; border-radius: 14px; }
.owner-sidebar-footer > span { grid-row: span 2; color: #861638; font-size: 24px; }
.owner-sidebar-footer strong { font-family: "Playfair Display", serif; font-size: 15px; line-height: 1.1; }
.owner-sidebar-footer small { color: #9a878e; font-size: 10px; }

body[data-role="owner"] .owner-page,
body[data-role="staff"] .owner-page { width: min(1320px, 100%); }
.studio-page-heading { align-items: end; }
.studio-page-heading p { margin: 0 0 6px; color: #a45f72; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.studio-page-heading h2 { margin: 0; font-size: clamp(38px, 4vw, 58px); }
.studio-page-heading span { display: block; margin-top: 6px; color: #75686e; }
.studio-summary-card { position: relative; display: block; overflow: visible; margin-top: 28px; background: #fff; border: 1px solid #eadbdd; border-radius: 22px; box-shadow: 0 16px 36px rgba(64, 31, 41, .07); }
.studio-logo-summary,
.studio-cover-summary { display: flex; min-width: 0; flex-direction: column; gap: 9px; }
.studio-logo-summary > span,
.studio-cover-summary > span { color: #6f6066; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.studio-cover-summary .studio-cover { position: relative; min-height: 360px; overflow: hidden; background: #f5edef; border-radius: 21px 21px 0 0; }
.studio-cover-summary .studio-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.studio-cover-summary .studio-cover > img.active { opacity: 1; }
.studio-cover-summary .carousel-dots { z-index: 2; }
.studio-owner-identity { position: relative; display: flex; gap: 28px; align-items: flex-start; min-height: 205px; padding: 0 30px 28px 230px; }
.studio-logo-summary { position: absolute; z-index: 5; top: -76px; left: 34px; width: 168px; height: 168px; }
.studio-logo-summary .studio-profile-image { position: static; width: 168px; height: 168px; color: #fff; background-color: #4c102b; background-position: center; background-size: contain; background-repeat: no-repeat; border: 7px solid #fff; border-radius: 50%; box-shadow: 0 12px 30px rgba(46, 20, 31, .17); }
.studio-summary-copy { display: flex; min-width: 0; padding: 25px 8px 0; align-items: flex-start; flex-direction: column; }
.studio-status { display: inline-flex; padding: 6px 10px; color: #21734e; background: #e7f6ed; border-radius: 999px; font-size: 11px; font-weight: 800; }
.studio-status.verified { gap: 7px; align-items: center; color: #1765c1; background: #eaf3ff; }
.studio-summary-copy h3 { margin: 13px 0 3px; font-size: 30px; }
.studio-summary-copy p { margin: 5px 0; color: #6e6168; line-height: 1.45; }
.studio-summary-copy .studio-preview-meta { color: #9a6574; font-size: 12px; font-weight: 700; }
.studio-summary-copy .primary-button { width: auto; min-height: 42px; margin-top: auto; padding-inline: 18px; }
.studio-media-edit,
.studio-logo-edit { position: absolute; z-index: 7; display: inline-flex; align-items: center; justify-content: center; color: #461126; background: rgba(255,255,255,.94); border: 1px solid #eadbdd; box-shadow: 0 8px 24px rgba(41, 18, 27, .13); cursor: pointer; font: 750 13px/1 "DM Sans", sans-serif; }
.studio-media-edit { right: 22px; bottom: 20px; gap: 7px; min-height: 42px; padding: 0 17px; border-radius: 999px; }
.studio-logo-edit { right: -3px; bottom: 4px; width: 42px; height: 42px; border-radius: 13px; font-size: 19px; }
.studio-media-edit:hover,
.studio-logo-edit:hover { color: #fff; background: #7d1738; border-color: #7d1738; }
.studio-media-edit svg,
.studio-logo-edit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.owner-welcome-title { display: flex; gap: 10px; align-items: center; }
.owner-welcome-title h3 { margin: 0; }
.owner-verified-check { position: relative; display: inline-grid; flex: 0 0 auto; width: 25px; height: 25px; place-items: center; color: #fff; background: #287ee8; border-radius: 50%; font: 800 15px/1 "DM Sans", sans-serif; cursor: help; }
.owner-verified-check > span { position: absolute; z-index: 20; bottom: calc(100% + 10px); left: 50%; width: 245px; padding: 10px 12px; color: #fff; background: #27212a; border-radius: 9px; box-shadow: 0 8px 22px rgba(25,18,22,.2); font-size: 12px; font-weight: 600; line-height: 1.4; opacity: 0; pointer-events: none; transform: translate(-50%, 5px); transition: opacity .18s ease, transform .18s ease; }
.owner-verified-check:hover > span,
.owner-verified-check:focus > span { opacity: 1; transform: translate(-50%, 0); }
.studio-readonly-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 20px; margin-top: 20px; }
.studio-display-panel { min-width: 0; padding: 22px; background: #fff; border: 1px solid #eadbdd; border-radius: 17px; box-shadow: 0 12px 28px rgba(64, 31, 41, .05); }
.studio-display-panel .panel-heading { margin-bottom: 16px; }
.studio-display-panel .panel-heading h3 { margin: 2px 0 0; font-size: 25px; }
.studio-display-panel .eyebrow { margin: 0; color: #ac6174; font-size: 10px; }
.studio-display-panel .text-button { color: #851838; font-weight: 750; }
.studio-services-display .service-category-group { margin-bottom: 13px; border: 1px solid #f0e3e5; border-radius: 13px; overflow: hidden; }
.studio-services-display .service-category-group > h3 { padding: 12px 15px; background: #fff8f8; font-size: 18px; }
.studio-services-display .service-chip { padding: 11px 14px; border: 0; border-top: 1px solid #f3e9ea; border-radius: 0; }
.studio-side-stack { display: grid; gap: 20px; align-content: start; }
.studio-display-list { display: grid; gap: 10px; }
.studio-display-list > div { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #f0e7e8; }
.studio-display-list > div:last-child { border: 0; }
.studio-display-list strong,
.studio-display-list small { display: block; }
.studio-display-list small { color: #8e8086; }
.studio-person-avatar { display: grid; flex: 0 0 auto; width: 38px; height: 38px; place-items: center; color: #7b1735; background: #f7e5e9; border-radius: 50%; font-weight: 800; }
.studio-hours-list { display: grid; gap: 8px; }
.studio-hours-list > div { display: flex; justify-content: space-between; gap: 14px; color: #74666c; font-size: 13px; }
.studio-hours-list strong { color: #32262c; }
.studio-appointments-display { grid-column: 1 / -1; }
.studio-appointment-list { display: grid; gap: 10px; }
.studio-appointment-list article { display: grid; grid-template-columns: 165px 1fr auto; gap: 16px; align-items: center; padding: 13px 15px; background: #fffafa; border: 1px solid #f0e2e4; border-radius: 12px; }
.studio-appointment-list time { color: #7b1735; font-weight: 750; }
.studio-appointment-list strong,
.studio-appointment-list span { display: block; }
.studio-appointment-list div > span { color: #87777e; font-size: 13px; }
.appointment-status { padding: 6px 10px; color: #76541a; background: #fff3ce; border-radius: 999px; font-size: 11px; font-weight: 800; }
.appointment-status.confirmed { color: #21734e; background: #e3f6eb; }
.studio-edit-shell { margin-top: 28px; }
.studio-edit-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 18px; padding: 18px 20px; background: #fff3f5; border: 1px solid #edd4da; border-radius: 14px; }
.studio-edit-heading h3,
.studio-edit-heading p { margin: 2px 0; }
.studio-edit-shell .dashboard-content { display: grid; gap: 18px; }

/* The salon logo belongs visually above the cover and must never be clipped. */
.public-salon-hero { overflow: visible !important; }
.public-salon-avatar { z-index: 6; overflow: hidden; background-color: #fff !important; background-size: contain !important; background-repeat: no-repeat; box-shadow: 0 8px 26px rgba(39, 20, 26, .15); }
.public-salon-content { position: relative; z-index: 1; }

.owner-mobile-menu { width: min(440px, calc(100vw - 24px)); max-width: none; margin: auto auto 12px; padding: 0; border: 0; border-radius: 22px 22px 16px 16px; box-shadow: 0 20px 60px rgba(30, 13, 20, .24); }
.owner-mobile-menu::backdrop { background: rgba(35, 20, 27, .45); backdrop-filter: blur(3px); }
.owner-mobile-menu-card { padding: 22px; }
.owner-mobile-menu-card nav { display: grid; margin: 14px 0 20px; }
.owner-mobile-menu-card nav a { display: flex; justify-content: flex-start; padding: 15px 3px; color: #3e2b34; border-bottom: 1px solid #eee4e5; font-weight: 700; text-decoration: none; }
.owner-sidebar-logout { display: flex; gap: 10px; align-items: center; width: 100%; margin-top: 12px; padding: 12px 14px; color: #7b1735; background: #fff; border: 1px solid #eadbdd; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 800; }
.owner-sidebar-logout:hover { background: #fff4f5; border-color: #d8aeb7; }
.owner-sidebar-logout span { font-size: 18px; transform: rotate(180deg); }
.owner-workspace-sidebar > .owner-sidebar-logout { flex-shrink: 0; }

@media (max-width: 900px) {
  body[data-role="owner"] .topbar,
  body[data-role="staff"] .topbar { display: none; }
  body[data-role="owner"] .owner-mobile-header,
  body[data-role="staff"] .owner-mobile-header { position: sticky; z-index: 35; top: 0; display: flex; justify-content: space-between; align-items: center; min-height: 74px; padding: 10px 18px; background: rgba(255,255,255,.96); border-bottom: 1px solid #eadfe1; backdrop-filter: blur(12px); }
  .owner-mobile-header a { display: flex; gap: 10px; align-items: center; color: #481126; text-decoration: none; }
  .owner-mobile-header .brand-mark { width: 45px; height: 45px; }
  .owner-mobile-header strong { font-family: "Playfair Display", serif; }
  .owner-mobile-header button { width: 44px; height: 44px; color: #51132a; background: #fff8f8; border: 1px solid #eadbdd; border-radius: 12px; font-size: 22px; }
  .studio-cover-summary .studio-cover { min-height: 290px; }
  .studio-readonly-grid { grid-template-columns: 1fr; }
  .studio-appointments-display { grid-column: auto; }
}

@media (max-width: 760px) {
  body:not([data-role="owner"]):not([data-role="staff"]) .topbar { display: grid; grid-template-columns: auto 1fr; min-height: 72px; padding: 9px 14px; }
  body:not([data-role="owner"]):not([data-role="staff"]) .topbar .brand > span:last-child { display: none; }
  body:not([data-role="owner"]):not([data-role="staff"]) .topbar .brand-mark { width: 46px; height: 46px; }
  body:not([data-role="owner"]):not([data-role="staff"]) .header-actions { display: flex; justify-content: flex-end; gap: 7px; }
  body:not([data-role="owner"]):not([data-role="staff"]) .header-actions .ghost-button,
  body:not([data-role="owner"]):not([data-role="staff"]) .header-actions .header-register { display: inline-flex !important; width: auto !important; min-height: 40px; padding: 0 12px; border-radius: 999px; font-size: 12px; }
  body:not([data-role="owner"]):not([data-role="staff"]) .menu-button { display: none; }
  body[data-role="guest"] .mobile-nav { grid-template-columns: repeat(3, 1fr); }
  body[data-role="owner"] .mobile-nav,
  body[data-role="staff"] .mobile-nav { grid-template-columns: repeat(4, 1fr); }
  .owner-page { padding: 28px 16px 108px; }
  .studio-page-heading { align-items: stretch; }
  .studio-page-heading .secondary-button { width: 100%; }
  .studio-summary-card { padding: 0; }
  .studio-cover-summary .studio-cover { min-height: 220px; }
  .studio-owner-identity { display: block; min-height: 250px; padding: 0 18px 22px; }
  .studio-logo-summary { top: -54px; left: 18px; width: 112px; height: 112px; }
  .studio-logo-summary .studio-profile-image { width: 112px; height: 112px; border-width: 5px; }
  .studio-logo-edit { right: -4px; bottom: -1px; width: 36px; height: 36px; }
  .studio-summary-copy { padding: 70px 2px 0; }
  .studio-summary-copy h3 { margin-top: 10px; font-size: 28px; }
  .studio-media-edit { right: 12px; bottom: 12px; min-height: 38px; padding-inline: 13px; font-size: 12px; }
  .studio-display-panel { padding: 17px; }
  .studio-appointment-list article { grid-template-columns: 1fr; gap: 5px; }
  .studio-edit-heading { align-items: stretch; flex-direction: column; }
  .public-salon-avatar { left: 22px; width: 100px; height: 100px; bottom: -44px; border-width: 5px; }
}

/* Favorites, maps, salon media and grouped services. */
.salon-results-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 24px; align-items: start; }
.salon-results-layout .salon-grid { grid-template-columns: 1fr; }
.salon-map-panel { position: sticky; top: 108px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.salon-map-panel .google-map { display: block; width: 100%; height: min(64vh, 640px); border: 0; }
.google-map { position: relative; min-height: 300px; background: #eee8e5; }
.google-map iframe { display: block; width: 100%; height: 100%; min-height: inherit; border: 0; }
.map-loading { position: absolute; inset: 0; display: grid; margin: 0; place-items: center; color: #6c6067; font-weight: 700; }
.salon-map-marker { display: grid; width: 42px; height: 42px; place-items: center; color: #fff; background: #7f1237; border: 3px solid #fff; border-radius: 50% 50% 50% 8px; box-shadow: 0 8px 18px rgba(58,13,48,.25); transform: rotate(-45deg); }
.salon-map-marker span { transform: rotate(45deg); font-size: 18px; line-height: 1; }
.salon-map-marker.is-selected { width: 48px; height: 48px; background: #b20d4c; box-shadow: 0 10px 24px rgba(127,18,55,.38); }
.map-external-link, .public-salon-map a { display: flex; min-height: 50px; align-items: center; justify-content: center; color: var(--accent); font-weight: 800; text-decoration: none; }
.salon-card { overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.salon-card.is-map-selected { border-color: #a8134c; box-shadow: 0 18px 42px rgba(89, 18, 50, .15); }
.salon-media-carousel { position: relative; min-height: 250px; overflow: hidden; background: #eee6e9; touch-action: pan-y; }
.salon-media-carousel > img, .public-hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.salon-media-carousel > img.active, .public-hero-slide.active { opacity: 1; }
.favorite-button { display: grid; width: 44px; height: 44px; place-items: center; color: #6f1736; background: rgba(255,255,255,.94); border: 1px solid rgba(107,35,61,.14); border-radius: 50%; box-shadow: 0 8px 22px rgba(42,15,28,.14); cursor: pointer; font-size: 25px; line-height: 1; }
.salon-media-carousel > .favorite-button { position: absolute; z-index: 4; top: 14px; right: 14px; }
.favorite-button.active { color: #a8134c; }
.carousel-dots { position: absolute; z-index: 4; right: 0; bottom: 13px; left: 0; display: flex; gap: 6px; justify-content: center; }
.carousel-dots button { width: 7px; height: 7px; padding: 0; background: rgba(255,255,255,.7); border: 1px solid rgba(57,12,37,.3); border-radius: 50%; cursor: pointer; }
.carousel-dots button.active { width: 19px; background: #fff; border-radius: 99px; }
.salon-card-title { display: flex; gap: 13px; align-items: center; }
.salon-logo { display: grid; flex: 0 0 58px; width: 58px; height: 58px; place-items: center; overflow: hidden; color: #fff; background: #3a0d30; border-radius: 50%; font-family: "Playfair Display", serif; font-size: 18px; }
.salon-logo img { width: 100%; height: 100%; object-fit: cover; }
.salon-card-title h3 { margin: 3px 0 0; }
.service-preview { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 18px; }
.service-preview span { padding: 6px 10px; color: #654154; background: #fbf3f6; border-radius: 999px; font-size: 12px; font-weight: 700; }
.salon-card-actions { display: flex; gap: 10px; }
.salon-card-actions .primary-button { flex: 1; }
.favorites-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.public-salon-hero { overflow: hidden; touch-action: pan-y; }
.public-salon-hero .public-favorite { position: absolute; z-index: 6; top: 24px; right: max(24px, calc((100vw - 1100px)/2)); }
.public-salon-hero .carousel-dots { z-index: 6; bottom: 18px; }
.public-salon-map { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; overflow: hidden; margin: 28px 0 34px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.public-salon-map .google-map { width: 100%; min-height: 290px; border: 0; }
.public-salon-map a { padding: 20px; }
.service-category-group { overflow: hidden; margin-bottom: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.service-category-group > h3 { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 15px 18px; color: var(--accent-dark); background: #fcf5f7; font-family: "DM Sans", sans-serif; font-size: 17px; }
.service-category-group > h3 span { display: grid; min-width: 28px; height: 28px; place-items: center; padding: 0 7px; color: #8d123e; background: #fff; border-radius: 99px; font-size: 12px; }
.service-category-items { padding: 8px; }
.service-category-items .service-chip { margin: 0; border: 0; border-bottom: 1px solid #eee5e9; border-radius: 0; box-shadow: none; }
.service-category-items .service-chip:last-child { border-bottom: 0; }
.booking-service-group { display: grid; grid-column: 1 / -1; gap: 9px; }
.booking-service-group h4 { margin: 12px 0 2px; color: #4a173b; font-size: 18px; }
.cover-upload-preview { display: grid; grid-template-columns: repeat(5, minmax(90px, 1fr)); gap: 10px; margin-top: 12px; }
.cover-upload-item { position: relative; overflow: hidden; aspect-ratio: 16/10; border: 2px solid transparent; border-radius: 12px; }
.cover-upload-item.is-primary { border-color: #a8134c; }
.cover-upload-item img { width: 100%; height: 100%; object-fit: cover; }
.cover-upload-item > span { position: absolute; top: 6px; left: 6px; display: grid; width: 23px; height: 23px; place-items: center; color: #fff; background: #6f1736; border-radius: 50%; font-size: 11px; font-weight: 800; }
.cover-upload-item > div { position: absolute; right: 5px; bottom: 5px; display: flex; gap: 3px; }
.cover-upload-item button { display: grid; width: 26px; height: 26px; place-items: center; padding: 0; color: #4a173b; background: rgba(255,255,255,.94); border: 0; border-radius: 7px; cursor: pointer; }
.cover-upload-item button:disabled { opacity: .4; }

@media (max-width: 980px) {
  .salon-results-layout { grid-template-columns: 1fr; }
  .salon-map-panel { position: relative; top: auto; order: -1; }
  .salon-map-panel .google-map { height: 360px; }
  .favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover-upload-preview { grid-template-columns: repeat(3, minmax(90px, 1fr)); }
}
@media (max-width: 620px) {
  .favorites-grid { grid-template-columns: 1fr; }
  .salon-media-carousel { min-height: 220px; }
  .salon-card-actions { align-items: stretch; }
  .public-salon-map { grid-template-columns: 1fr; }
  .public-salon-map .google-map { min-height: 240px; }
  .cover-upload-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-category-items .service-chip { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .salon-media-carousel > img, .public-hero-slide { transition: none; }
}

/* Public navigation must override the legacy workspace active state. */
.topbar { min-height: 104px; }
.nav a.active { color: #7b1735; background: transparent; box-shadow: inset 0 -2px #7b1735; }

/* Keep public navigation editorial even after the workspace rules above. */
.topbar { min-height: 104px; }
.nav a.active { color: #7b1735; background: transparent; box-shadow: inset 0 -2px #7b1735; }
#dashboardView { grid-template-columns: 1fr; }
#dashboardView .dashboard-sidebar { padding-bottom: 0; }
#dashboardView .dashboard-sidebar h2 { margin-bottom: 4px; font-size: clamp(42px, 6vw, 70px); }
#dashboardView .dashboard-content { width: min(1080px, 100%); }
.owner-welcome { position: relative; padding: 14px 0 28px; }
.owner-welcome h3 { margin: 5px 0; font-size: clamp(38px, 5vw, 64px); font-weight: 500; }
.owner-welcome p { margin: 0; }
.owner-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.owner-stat-grid article { display: grid; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.owner-stat-grid strong { font-family: "Playfair Display", serif; font-size: 42px; }
.owner-stat-grid small, .owner-stat-grid span { color: var(--muted); }
.next-appointment-card { margin-top: 18px; padding: 28px; color: #fff; background: linear-gradient(135deg, #bf7b7d, #a95f63); border-radius: 16px; }
.next-appointment-card h4 { margin: 8px 0; font-size: 30px; }
.next-appointment-card p { margin: 0; color: rgba(255,255,255,.86); }
.owner-quicklinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.owner-quicklinks a { display: grid; gap: 5px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-family: "Playfair Display", serif; font-size: 20px; box-shadow: var(--shadow); }
.owner-quicklinks span { color: var(--muted); font-family: "DM Sans", sans-serif; font-size: 13px; }

.booking-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.booking-tabs button { padding: 16px; color: var(--muted); background: transparent; border: 0; border-bottom: 3px solid transparent; cursor: pointer; font-family: "Playfair Display", serif; font-size: 20px; }
.booking-tabs button.active { color: var(--accent); border-color: var(--accent); }
.owner-booking-list { display: grid; gap: 16px; }
.owner-booking-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.owner-booking-card h3 { margin: 4px 0; font-size: 27px; }
.owner-booking-card p, .owner-booking-card time { color: var(--muted); }
.booking-avatar { display: grid; width: 68px; height: 68px; place-items: center; color: #fff; background: var(--accent); border-radius: 50%; font-family: "Playfair Display", serif; font-size: 28px; }
.booking-card-actions { display: flex; gap: 10px; }
.admin-documents { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.admin-documents .secondary-button { padding: 9px 12px; font-size: 13px; }
.admin-documents span { color: #a52c3f; font-size: 13px; font-weight: 700; }

.studio-editor { display: block; }
.studio-preview { overflow: hidden; margin-bottom: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.studio-cover { position: relative; min-height: 280px; background: linear-gradient(135deg, #ead9cf, #bea393); background-position: center; background-size: cover; }
.studio-profile-image { position: absolute; left: 34px; bottom: -48px; display: grid; width: 110px; height: 110px; place-items: center; color: #fff; background: var(--accent); background-position: center; background-size: cover; border: 6px solid #fff; border-radius: 50%; font-family: "Playfair Display", serif; font-size: 25px; }
.studio-preview > div:last-child { padding: 62px 34px 30px; }
.studio-preview h3 { margin: 0 0 8px; font-size: 38px; }
.studio-preview p { margin: 0; color: var(--muted); }
.switch-label { grid-template-columns: auto 1fr; align-items: center; }
.switch-label input { width: 20px; min-height: 20px; }
.upload-field { display: grid; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 650; }
.verification-notice { margin: 14px 0 18px; padding: 18px; color: #704d12; background: #fff7dd; border: 1px solid #ead49a; border-radius: 12px; }
.auth-verification-info { margin: 16px 18px 0; padding: 13px 15px; color: #704d12; background: #fff7dd; border: 1px solid #ead49a; border-radius: 10px; font-size: 13px; line-height: 1.45; }
.verification-notice.is-approved { color: #245d46; background: #edf8f1; border-color: #b9dcc8; }
.verification-notice strong { font-size: 16px; }
.verification-notice p { margin: 6px 0 0; color: inherit; }
.verified-badge { position: relative; display: inline-grid; width: 22px; height: 22px; place-items: center; vertical-align: middle; color: #fff; background: #2878d4; border-radius: 50%; font-family: Arial, sans-serif; font-size: 14px; cursor: help; }
.verified-badge > span { position: absolute; z-index: 5; top: calc(100% + 10px); left: 50%; width: 300px; padding: 11px 13px; color: #245d46; background: #edf8f1; border: 1px solid #b9dcc8; border-radius: 10px; box-shadow: var(--shadow); font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; line-height: 1.4; opacity: 0; pointer-events: none; transform: translate(-50%, -4px); transition: .16s ease; }
.verified-badge:hover > span, .verified-badge:focus > span { opacity: 1; transform: translate(-50%, 0); }
.verification-upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.document-dropzone { min-height: 112px; }
.document-upload-status { color: var(--accent-dark); text-decoration: underline; }
.image-dropzone.is-locked { opacity: .55; cursor: not-allowed; pointer-events: none; }
.image-dropzone { display: grid; min-height: 128px; margin: 0; padding: 22px; place-content: center; gap: 5px; color: var(--muted); background: #fcfaf8; border: 2px dashed #d9c8c3; border-radius: 12px; cursor: pointer; text-align: center; transition: .18s ease; }
.image-dropzone:hover, .image-dropzone:focus-visible, .image-dropzone.is-dragging { color: var(--accent-dark); background: #fff5f2; border-color: var(--accent); outline: none; }
.image-dropzone strong { color: var(--ink); font-size: 15px; }
.image-dropzone small { font-weight: 500; }
.upload-preview { display: none; width: 92px; height: 92px; background-position: center; background-size: cover; border: 1px solid var(--line); border-radius: 50%; }
.upload-preview.has-image { display: block; }
.upload-preview-wide { width: 100%; height: 110px; border-radius: 10px; }
.gallery-upload-field { margin-top: 16px; }
.gallery-upload-preview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery-upload-item { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 10px; }
.gallery-upload-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-upload-item button { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; color: #fff; background: rgba(32,25,25,.78); border: 0; border-radius: 50%; cursor: pointer; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.public-salon { --salon-accent: #b96f72; background: #fbf8f4; }
.private-preview-notice { display: flex; gap: 10px; align-items: baseline; margin: 0 0 24px; padding: 13px 16px; color: #704d12; background: #fff7dd; border: 1px solid #ead49a; border-radius: 12px; }
.public-salon-hero { position: relative; min-height: min(44vw, 400px); background: radial-gradient(circle at 76% 24%, rgba(255,255,255,.32), transparent 24%), linear-gradient(135deg, #dfc9bb, #a98f81); background-position: center; background-size: cover; }
.public-salon-avatar { position: absolute; left: max(24px, calc((100vw - 1100px)/2)); bottom: -58px; display: grid; width: 130px; height: 130px; place-items: center; color: #fff; background: var(--salon-accent); background-position: center; background-size: cover; border: 7px solid #fbf8f4; border-radius: 50%; font-family: "Playfair Display", serif; font-size: 30px; }
.public-salon-content { width: min(1100px, 100%); margin: 0 auto; padding: 86px 24px 70px; }
.public-salon h1 { margin: 5px 0 12px; font-size: clamp(48px, 8vw, 86px); font-weight: 500; }
.public-salon-copy { max-width: 760px; color: var(--muted); font-family: "Playfair Display", serif; font-size: 24px; line-height: 1.5; }
.public-salon-meta { margin: 22px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.public-salon-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.public-salon-gallery img { width: 100%; height: 230px; object-fit: cover; border-radius: 14px; }
.public-salon[data-profile-style="minimal"] { background: #fff; }
.public-salon[data-profile-style="bold"] { background: #201918; color: #fff; }
.public-salon[data-profile-style="bold"] .public-salon-copy { color: #ded2cc; }
.public-salon[data-profile-style="bold"] .service-chip { color: #2b2424; background: #fffaf7; }
.public-salon[data-profile-style="bold"] .service-chip span { color: #2b2424; }
.public-salon .eyebrow, .public-salon h2, .public-salon .service-chip strong { color: var(--salon-accent); }
.public-salon .public-salon-meta { border-color: color-mix(in srgb, var(--salon-accent) 35%, transparent); }
.public-salon .service-chip { border-left: 4px solid var(--salon-accent); }
.public-salon .primary-button { background: var(--salon-accent); border-color: var(--salon-accent); }
.public-salon .primary-button:hover { filter: brightness(.88); }
.profile-card { width: min(520px, 100%); }

@media (max-width: 760px) {
  .owner-stat-grid, .owner-quicklinks { grid-template-columns: 1fr; }
  .owner-booking-card { grid-template-columns: auto 1fr; }
  .owner-booking-card > :last-child { grid-column: 1 / -1; }
  .booking-card-actions { flex-direction: column; }
  .public-salon-gallery { grid-template-columns: 1fr 1fr; }
  .public-salon-gallery img { height: 160px; }
  .studio-cover { min-height: 210px; }
  .gallery-upload-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verification-upload-grid { grid-template-columns: 1fr; }
}

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

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

[hidden] {
  display: none !important;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(255, 250, 247, 0.9);
  border-bottom: 1px solid rgba(234, 223, 228, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav a {
  padding: 10px 13px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

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

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.user-pill {
  max-width: 190px;
  overflow: hidden;
  padding: 9px 11px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
}

.view {
  min-height: calc(100svh - 72px);
}

.hero {
  display: grid;
  align-items: end;
  padding: clamp(54px, 8vw, 100px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(105deg, rgba(33, 27, 31, 0.78), rgba(141, 34, 69, 0.26)),
    url("/assets/salorya-interior.jpg") center/cover;
  color: #fff;
}

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

.hero h1,
.section h2,
.dashboard h2 {
  margin: 0;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe3a8;
}

.hero-actions,
.button-row,
.provider-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

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

.primary-button,
.secondary-button,
.ghost-button,
.danger-button,
.provider-button,
.icon-nav-button,
.today-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  border-radius: 8px;
  padding: 0 17px;
  cursor: pointer;
  font-weight: 650;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.primary-button {
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 12px 26px rgba(187, 52, 95, 0.22);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.provider-button:hover,
.icon-nav-button:hover,
.today-button:hover {
  transform: translateY(-1px);
}

.secondary-button,
.ghost-button,
.provider-button,
.icon-nav-button,
.today-button {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.icon-nav-button {
  width: 44px;
  padding: 0;
  font-size: 30px;
  line-height: 1;
}

.today-button {
  min-width: 76px;
}

.danger-button {
  color: #fff;
  background: #9b1c31;
  border: 1px solid #9b1c31;
}

.section,
.dashboard {
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 64px);
}

.compact-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.section h2,
.dashboard h2 {
  font-size: clamp(30px, 5vw, 58px);
}

.section p,
.dashboard p {
  color: var(--muted);
  line-height: 1.6;
}

.search-panel,
.tool-panel,
.editor-panel,
.modal-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(234, 223, 228, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-view {
  background: linear-gradient(180deg, #fffaf7, #f8f0ec);
}

.search-panel-wide {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(220px, 1.3fr) minmax(120px, 0.45fr) auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 24px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.modal-card label,
.editor-panel label,
.tool-panel label {
  margin-bottom: 14px;
}

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

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(187, 52, 95, 0.12);
}

.results-header {
  margin: 18px 0;
}

.results-header p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

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

.salon-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(65, 36, 50, 0.08);
}

.salon-image {
  min-height: 160px;
  background: linear-gradient(135deg, #f7c4d0, #f7dea8 54%, #b8dfd5);
}

.salon-body {
  padding: 18px;
}

.salon-body h3,
.editor-panel h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.meta-row,
.service-chip,
.appointment-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.meta-row {
  color: var(--muted);
  font-size: 14px;
}

.service-chip {
  justify-content: space-between;
  margin: 10px 0;
  padding: 11px 12px;
  background: var(--soft);
  border-radius: 8px;
}

.empty-state {
  padding: 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 32px;
  align-items: start;
  background: #f7efeb;
}

.partner-view {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 30px;
  align-items: center;
  background: var(--ink);
  color: #fff;
}

.partner-view p {
  color: rgba(255, 255, 255, 0.78);
}

.partner-copy {
  max-width: 760px;
}

.partner-points {
  display: grid;
  gap: 12px;
}

.partner-points article {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.partner-points span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.dashboard {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  background: #f7f4f2;
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
}

.dashboard-content {
  display: grid;
  gap: 18px;
}

.profile-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.profile-summary h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.profile-summary p {
  margin: 0;
}

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

.services-grid {
  grid-template-columns: 1.2fr 0.5fr 0.6fr auto;
  align-items: end;
}

.staff-grid {
  grid-template-columns: 1fr 1fr 0.9fr auto;
  align-items: end;
}

.vacation-grid {
  grid-template-columns: 1fr 0.75fr 0.75fr auto;
  align-items: end;
}

.calendar-view {
  background: #f7f4f2;
}

.calendar-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

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

.calendar-mode {
  margin: 0;
}

.calendar-filter {
  min-width: min(260px, 100%);
}

.calendar-range-title {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
}

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

.calendar-panel-head .calendar-mode {
  flex: 0 0 auto;
}

.calendar-board {
  min-height: 320px;
}

.week-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.calendar-day,
.calendar-month-cell {
  min-height: 230px;
  padding: 12px;
  border-right: 1px solid var(--line);
}

.calendar-day:last-child {
  border-right: 0;
}

.calendar-day header,
.calendar-month-cell header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.calendar-day header span,
.calendar-month-cell header span {
  min-width: 0;
}

.calendar-add-button {
  display: inline-grid;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.calendar-add-button:hover,
.calendar-day-add:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.calendar-add-button:disabled,
.calendar-day-add:disabled { opacity: .22; cursor: not-allowed; filter: grayscale(.7); }
.calendar-add-button:disabled:hover,
.calendar-day-add:disabled:hover { background: var(--accent); border-color: var(--accent); }

.calendar-day.today,
.calendar-month-cell.today {
  background: #fff6f9;
}

.calendar-day-events {
  display: grid;
  gap: 8px;
}

.calendar-day-events p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.month-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.calendar-month-cell {
  min-height: 136px;
  border-bottom: 1px solid var(--line);
}

.calendar-month-cell.outside {
  background: #fbf7f5;
  opacity: 0.58;
}

.calendar-event {
  display: grid;
  gap: 2px;
  width: 100%;
  margin-bottom: 6px;
  padding: 8px;
  color: var(--ink);
  background: #e9f8fb;
  border: 1px solid #d4edf2;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}

.calendar-event strong {
  font-size: 12px;
}

.calendar-event span {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-board {
  display: grid;
  gap: 10px;
}

.calendar-day-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  color: var(--accent);
  background: #fff8fb;
  border: 1px dashed rgba(187, 52, 95, 0.45);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
}

.calendar-day-add span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  line-height: 1;
}

.manual-slot-section {
  display: grid;
  gap: 12px;
  margin: 8px 0 16px;
}

.manual-slot-heading {
  display: grid;
  gap: 4px;
}

.manual-slot-heading h3 {
  margin: 0;
  font-size: 18px;
}

.manual-slot-heading p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.manual-slot-list {
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.manual-time-grid,
.manual-date-list {
  max-height: 420px;
  overflow: auto;
  padding: 0 4px 0 0;
  border-top: 0;
}

.availability-week-nav {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf9;
}

.availability-week-nav strong {
  text-align: center;
  color: var(--ink);
  font-size: 15px;
}

.availability-week-nav button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #ead9dd;
  border-radius: 50%;
  color: var(--accent);
  background: #fff;
  font: 700 27px/1 sans-serif;
  cursor: pointer;
}

.availability-week-nav button:disabled {
  opacity: 0.3;
  cursor: default;
}

#manualAppointmentModal .modal-card {
  display: flex;
  flex-direction: column;
  max-height: min(88svh, 860px);
  padding: 0;
  overflow: hidden;
}

#manualAppointmentModal .manual-booking-scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding: 22px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* Keep one continuous scroll surface in the manual booking dialog. Nested
   scrolling made expanded time slots appear clipped in mobile Safari. */
#manualSlotChoices.manual-date-list {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.calendar-day-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.calendar-day-row time {
  padding-top: 12px;
  color: var(--muted);
  font-weight: 750;
}

.hours-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.hours-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(120px, 0.7fr) minmax(120px, 0.7fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: var(--soft);
  border-radius: 8px;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--ink);
}

.check-label input {
  width: 18px;
  min-height: 18px;
}

.slot-label {
  max-width: 260px;
}

.service-list,
.appointment-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.appointment-row {
  justify-content: space-between;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.appointment-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.appointment-row.is-muted {
  opacity: 0.68;
}

.customer-appointment {
  align-items: flex-start;
}

.customer-actions {
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px;
  align-items: center;
}

.text-button {
  padding: 0;
  color: var(--accent);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.modal {
  width: min(780px, calc(100vw - 24px));
  max-height: calc(100svh - 32px);
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  overflow: hidden;
}

.modal[open] {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.modal::backdrop {
  background: rgba(32, 27, 34, 0.55);
}

.modal-card {
  position: relative;
  width: 100%;
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

#bookingModal .modal-card {
  display: flex;
  flex-direction: column;
  height: min(880px, calc(100svh - 32px));
  overflow: hidden;
}
#bookingModal:not([data-current-step="time"]) .modal-card { height: auto; max-height: calc(100svh - 32px); }
#bookingModal:not([data-current-step="time"]) .booking-step { flex: 0 1 auto; }
.modal-error { margin: 14px 0; padding: 14px 16px; color: #8f1830; background: #fff0f3; border: 1px solid #e3a8b4; border-radius: 10px; font-weight: 700; line-height: 1.45; }
.error-dialog { width: min(520px, calc(100vw - 24px)); }
.owner-edit-slots { display: grid; max-height: 420px; overflow-y: auto; gap: 12px; padding-right: 5px; }
.booking-status { display: inline-flex; margin: 0 0 8px; padding: 5px 9px; color: #865d0c; background: #fff3cd; border-radius: 999px; font-size: 12px; font-weight: 800; }
.service-item-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.service-chip > span { display: grid; gap: 3px; }
.service-chip > span small { color: var(--muted); font-size: 13px; }
.compact-button { padding: 8px 12px; font-size: 13px; }
.service-edit-card { width: min(620px, calc(100vw - 24px)); }
.service-edit-actions { display: grid; grid-template-columns: auto auto 1fr; }
.service-edit-actions .primary-button { justify-self: end; }

@media (max-width: 680px) {
  #ownerServiceList .service-chip { align-items: flex-start; }
  .service-item-actions { width: 100%; margin-left: 0; }
  .service-edit-actions { grid-template-columns: 1fr; }
  .service-edit-actions .primary-button { justify-self: stretch; }
}

#bookingModal .booking-step {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: 6px;
}

#bookingModal .booking-actions {
  flex: 0 0 auto;
  margin: 16px 0 0;
  padding: 16px 0 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.booking-payment-step { gap: 20px; }
.booking-checkout-heading { display: grid; gap: 6px; }
.booking-checkout-kicker { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.booking-checkout-summary { overflow: hidden; border: 1px solid #e9dce2; border-radius: 18px; background: #fffafc; }
.booking-checkout-summary-head, .booking-checkout-summary-row, .booking-checkout-summary-total, .booking-checkout-summary-services > div { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.booking-checkout-summary-head { padding: 18px 20px; background: #f8edf2; }
.booking-checkout-summary-head span, .booking-checkout-summary-row span, .booking-checkout-summary-total span { color: var(--muted); }
.booking-checkout-summary-head strong { text-align: right; }
.booking-checkout-summary-services { display: grid; gap: 10px; padding: 18px 20px 10px; }
.booking-checkout-summary-services strong, .booking-checkout-summary-row strong { text-align: right; white-space: nowrap; }
.booking-checkout-summary-row { padding: 10px 20px 18px; }
.booking-checkout-summary-total { padding: 16px 20px; border-top: 1px solid #e9dce2; font-size: 18px; font-weight: 800; }
.booking-checkout-summary-total strong { color: var(--accent); font-size: 22px; }
.booking-payment-choices { display: grid; gap: 11px; margin: 0; padding: 0; border: 0; }
.booking-payment-choices legend { margin-bottom: 11px; font-weight: 800; }
.booking-payment-option { display: flex; align-items: flex-start; gap: 14px; padding: 17px 18px; border: 1px solid #e5dce0; border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.booking-payment-option:has(input:checked) { border-color: var(--accent); background: #fff5f8; box-shadow: 0 0 0 3px rgba(187, 52, 95, .1); }
.booking-payment-option:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.booking-payment-option input { flex: 0 0 auto; width: 19px; height: 19px; margin: 4px 0 0; accent-color: var(--accent); }
.booking-payment-icon { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #f7e9ee; color: var(--accent); font-size: 23px; font-weight: 800; line-height: 1; }
.booking-payment-copy { display: grid; gap: 4px; }
.booking-payment-copy strong { color: var(--ink); font-size: 16px; }
.booking-payment-copy small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.booking-payment-note { margin: -7px 0 0; color: #8a4b20; font-size: 13px; line-height: 1.5; }
.booking-payment-note[data-available="true"] { color: #526b57; }
.booking-payment-retry { justify-self: start; margin-top: -10px; }
.booking-invoice-address { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fffafc; }
.booking-invoice-address > small { color: var(--muted); }
.booking-invoice-address .form-grid { margin: 0; }
.invoice-settings-form, .invoice-panel { display: grid; gap: 14px; margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.invoice-settings-form h4, .invoice-panel h3, .invoice-panel h4 { margin: 0; font-size: 20px; }
.invoice-settings-form p, .invoice-settings-form small { margin: 0; color: var(--muted); }
.invoice-settings-form button { justify-self: start; }
.invoice-list-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.invoice-list-row span { display: grid; gap: 3px; }
.invoice-list-row small { color: var(--muted); }

@media (max-width: 540px) {
  .booking-checkout-summary-head, .booking-checkout-summary-row, .booking-checkout-summary-total, .booking-checkout-summary-services { padding-left: 15px; padding-right: 15px; }
  .booking-checkout-summary-head, .booking-checkout-summary-row, .booking-checkout-summary-services > div { gap: 10px; }
  .booking-checkout-summary-services > div span { min-width: 0; overflow-wrap: anywhere; }
  .booking-payment-option { padding: 15px 13px; gap: 10px; }
  .booking-payment-icon { width: 32px; height: 32px; font-size: 19px; }
  .invoice-list-row { align-items: flex-start; flex-direction: column; }
}

.dashboard-menu {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.dashboard-menu button {
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.dashboard-menu button:hover,
.dashboard-menu button.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.dashboard-quicklinks,
.admin-card-actions,
.panel-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.panel-heading { justify-content: space-between; }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-stats article { display: grid; gap: 5px; padding: 18px; background: #fff7fa; border: 1px solid var(--line); border-radius: 8px; }
.admin-stats strong { color: var(--accent); font-size: 30px; }
.admin-stats span { color: var(--muted); font-size: 13px; font-weight: 700; }
.admin-salon-list { display: grid; gap: 12px; margin-top: 18px; }
.admin-salon-card { display: flex; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; }
.auth-free-start { margin: 0; padding: 14px 16px; border: 1px solid #e8cdd7; border-radius: 10px; background: #fff5f8; color: #673349; font-size: 14px; line-height: 1.5; }
.studio-share-actions, .public-salon-actions, .request-options, .owner-booking-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.owner-request-section { margin-top: 30px; }
.customer-request-card { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.customer-request-card p { margin: 7px 0; }
.request-options { margin-top: 12px; }
.qr-modal-card { width: min(430px, calc(100vw - 32px)); text-align: center; }
.qr-modal-card img { display: block; width: min(260px, 100%); margin: 16px auto; background: #fff; }
.qr-modal-card #salonQrUrl { overflow-wrap: anywhere; font-size: 13px; }
.chat-modal-card, .request-modal-card { width: min(560px, calc(100vw - 32px)); }
.chat-history { display: flex; flex-direction: column; gap: 10px; min-height: 180px; max-height: min(45vh, 390px); margin: 16px 0; padding: 12px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #fbf8f9; }
.chat-message { max-width: 85%; margin: 0; padding: 10px 13px; border-radius: 12px; background: #fff; overflow-wrap: anywhere; }
.chat-message.mine { align-self: flex-end; background: #f4dce5; }
.chat-message span, .chat-message small { display: block; }
.chat-message small { margin-top: 5px; opacity: .65; font-size: 11px; }
.admin-salon-card h4 { margin: 9px 0 3px; font-size: 19px; }
.admin-salon-card p { margin: 0 0 5px; }
.status-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.status-pending { color: #8a5a00; background: #fff1c7; }
.status-active { color: #146b42; background: #dff7ea; }
.status-rejected { color: #9d263d; background: #ffe3e9; }

#authModal {
  width: min(560px, calc(100vw - 24px));
}

.booking-progress {
  display: flex;
  gap: 8px;
  margin: 16px 0 20px;
}

.booking-progress span {
  display: block;
  flex: 1;
  height: 5px;
  background: #eadfe4;
  border-radius: 999px;
  text-indent: -999px;
  overflow: hidden;
}

.booking-progress span.active {
  background: var(--accent);
}

.booking-step {
  display: grid;
  gap: 16px;
}

.booking-step h3 {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
}

.muted-copy {
  margin: 0;
  color: var(--muted);
}

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

.choice-card {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}

.choice-card strong {
  font-size: 18px;
}

.choice-card span {
  color: var(--muted);
}

.choice-card.selected,
.time-chip.selected {
  border-color: var(--accent);
  background: #fff2f6;
  box-shadow: 0 0 0 3px rgba(187, 52, 95, 0.1);
}

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

.date-card {
  overflow: hidden;
  border: 1px solid #cfe0ec;
  border-radius: 8px;
  background: #fff;
}

.date-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 0 18px;
  color: #122235;
  background: #fff;
  border: 0;
  cursor: pointer;
  text-align: left;
  touch-action: manipulation;
}

#bookingDateChoices .date-card,
#manualSlotChoices .date-card {
  min-width: 0;
  border-color: #eadde2;
  border-radius: 14px;
}

#bookingDateChoices .date-card-head,
#manualSlotChoices .date-card-head {
  min-width: 0;
  min-height: 58px;
  gap: 14px;
  padding: 12px 16px;
  color: var(--ink);
}

#bookingDateChoices .date-card-head strong,
#manualSlotChoices .date-card-head strong {
  min-width: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border-top: 1px solid #cfe0ec;
}

.time-chip {
  min-height: 54px;
  color: #122235;
  background: #e9f8fb;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px;
  text-align: center;
}

.time-chip small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.compact-empty {
  grid-column: 1 / -1;
  margin: 0;
}

.booking-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}

.icon-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #f3edf0;
  cursor: pointer;
  font-size: 24px;
}

.auth-header .icon-close {
  top: 12px;
  right: 14px;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: #f7f1f4;
  border: 1px solid var(--line);
  font-size: 28px;
}

.segmented {
  display: flex;
  gap: 6px;
  padding: 4px;
  margin-bottom: 16px;
  background: #f3edf0;
  border-radius: 8px;
}

.segmented button {
  flex: 1;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-weight: 650;
}

.segmented button.active {
  background: #fff;
  box-shadow: 0 3px 12px rgba(32, 27, 34, 0.1);
}

.auth-card {
  display: grid;
  gap: 0;
  max-width: 560px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(45, 26, 36, 0.18);
}

.auth-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 16px 68px;
  border-bottom: 1px solid var(--line);
}

.auth-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
}

.auth-options,
.email-auth {
  display: grid;
  gap: 10px;
  padding: 34px 52px 38px;
}

.auth-email-start {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.auth-email-start input,
.email-auth input {
  min-height: 48px;
  padding: 0 14px;
  background: #faf7f8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 17px;
}

.auth-continue {
  min-height: 50px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(187, 52, 95, 0.18);
}

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

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: #c8cdd4;
}

.auth-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 9px 48px;
  color: #514851;
  background: #fff;
  border: 1px solid #d8cbd2;
  border-radius: 8px;
  cursor: pointer;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
  box-shadow: none;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.auth-option:hover {
  background: #fff8fb;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.auth-logo {
  position: absolute;
  left: 22px;
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
}

.auth-logo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.apple-logo {
  color: #000;
}

.facebook-logo {
  color: #1877f2;
}

.email-logo {
  color: var(--accent);
}

.back-button {
  justify-self: start;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 650;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(420px, calc(100vw - 36px));
  padding: 14px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto auto 1fr;
  }

  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px;
  }

  .search-panel-wide,
  .split-section,
  .partner-view,
  .dashboard {
    grid-template-columns: 1fr;
  }

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

  .calendar-tools {
    justify-content: flex-start;
  }

  .calendar-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .services-grid,
  .staff-grid,
  .vacation-grid,
  .hours-row,
  .customer-actions,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    gap: 8px;
    padding-inline: 14px;
  }

  .brand span:last-child,
  .user-pill {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .ghost-button {
    padding: 0 12px;
  }

  .auth-card {
    max-width: none;
  }

  .auth-header {
    min-height: 58px;
    padding: 14px 58px 14px 18px;
  }

  .auth-card h2 {
    font-size: 21px;
  }

  .auth-options,
  .email-auth {
    padding: 24px 18px 28px;
  }

  .auth-email-start {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .auth-email-start input,
  .email-auth input {
    min-height: 46px;
    font-size: 16px;
  }

  .auth-continue {
    min-height: 48px;
    margin-bottom: 16px;
    font-size: 18px;
  }

  .auth-divider {
    margin-bottom: 16px;
    font-size: 16px;
  }

  .auth-option {
    min-height: 48px;
    padding: 9px 42px;
    font-size: 16px;
  }

  .auth-logo {
    left: 16px;
    width: 24px;
    height: 24px;
  }

  .hero {
    min-height: calc(100svh - 72px);
    align-items: center;
  }

  .hero-actions,
  .button-row,
  .provider-buttons,
  .profile-summary,
  .calendar-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .salon-grid {
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button,
  .danger-button,
  .provider-button,
  .booking-actions > * {
    width: 100%;
  }

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

  .week-board,
  .month-board {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .calendar-day,
  .calendar-month-cell {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .calendar-day-row {
    grid-template-columns: 1fr;
  }

  .booking-actions {
    flex-direction: column;
  }

  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-salon-card { align-items: stretch; flex-direction: column; }
}

/* Public discovery redesign — landing, search, and partner journey. */
.topbar { min-height: 104px; padding-inline: clamp(28px, 4.4vw, 72px); background: rgba(255, 253, 250, .96); }
.brand { font-size: clamp(22px, 2vw, 30px); font-weight: 500; }
.brand-mark { width: 66px; height: 66px; border-radius: 16px; background: linear-gradient(145deg, #861d3e, #48101f); font-family: "Playfair Display", Georgia, serif; font-size: 19px; }
.nav { gap: 16px; }
.nav a { padding: 12px 14px; color: #1d1720; background: transparent !important; border-radius: 0; font-size: 16px; font-weight: 600; }
.nav a.active { color: #7b1735; box-shadow: inset 0 -2px #7b1735; }
.header-actions { gap: 12px; }
.header-actions .ghost-button, .header-actions .primary-button { min-height: 52px; padding-inline: 27px; border-radius: 8px; font-size: 16px; }
.header-actions .ghost-button { color: #701632; border-color: #8e3550; }
.header-actions .header-register { background: linear-gradient(110deg, #7f1535, #551025); box-shadow: none; }

.hero { display: grid; grid-template-columns: minmax(0, .99fr) minmax(470px, .86fr); gap: clamp(32px, 5vw, 90px); align-items: center; min-height: calc(100svh - 104px); padding: clamp(54px, 6vw, 90px) clamp(28px, 4.4vw, 72px) clamp(64px, 8vw, 110px); color: var(--ink); background: radial-gradient(circle at 8% 32%, rgba(255,255,255,.92), transparent 32%), #fffdf9; }
.landing-hero-copy { max-width: 820px; }
.hero .eyebrow { color: #b37a35; font-size: 16px; letter-spacing: .18em; }
.hero h1 { max-width: 760px; color: #171218; font-size: clamp(56px, 6.1vw, 112px); line-height: .89; letter-spacing: -.06em; }
.hero h1 em, .partner-copy em { color: #7e1737; font-style: normal; }
.hero p { max-width: 650px; color: #58515a; font-family: "DM Sans", sans-serif; font-size: clamp(18px, 1.7vw, 26px); line-height: 1.42; }
.landing-hero-image { min-height: clamp(420px, 45vw, 680px); background: url('/assets/salorya-interior.jpg') center/cover; border-radius: 26px; box-shadow: 0 28px 55px rgba(55, 22, 27, .13); }
.landing-search { display: grid; grid-template-columns: 1.05fr 1fr auto; align-items: end; gap: 14px; max-width: 920px; margin-top: 32px; padding: 18px 20px; background: rgba(255,255,255,.97); border: 1px solid #f1eae4; border-radius: 16px; box-shadow: 0 18px 42px rgba(71, 43, 44, .11); }
.landing-search label { gap: 7px; color: #231d22; font-size: 13px; font-weight: 750; }
.landing-search input { min-height: 54px; border-color: #ddd3d3; border-radius: 7px; font-size: 15px; }
.landing-search .primary-button { min-height: 54px; padding-inline: 25px; background: linear-gradient(110deg, #831735, #551026); border-color: #65122b; box-shadow: none; white-space: nowrap; }
.landing-search .primary-button span { margin-left: 10px; font-size: 21px; }
.landing-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.landing-categories button { display: inline-flex; gap: 9px; align-items: center; min-height: 50px; padding: 0 20px; color: #282126; background: #f8f2ef; border: 0; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 600; transition: transform .16s ease, background .16s ease; }
.landing-categories button:hover { background: #f2e1e4; transform: translateY(-2px); }
.landing-categories button::first-letter { color: #7d1734; font-size: 22px; }
.landing-trust { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 52px; color: #292226; font-size: 15px; font-weight: 600; }
.landing-trust span::first-letter { color: #bc8b43; }
.landing-trust i { width: 4px; height: 4px; background: #bd8842; border-radius: 50%; }

.search-view { min-height: calc(100svh - 104px); padding-top: clamp(42px, 6vw, 86px); background: radial-gradient(circle at 78% 20%, #f7e9ed, transparent 23%), #fffdf9; }
.compact-heading { max-width: 1020px; margin-bottom: 30px; }
.compact-heading .eyebrow { color: #b37a35; font-size: 15px; }
.compact-heading h2 { font-size: clamp(48px, 5.3vw, 86px); letter-spacing: -.055em; }
.compact-heading p { max-width: 850px; font-size: 19px; }
.search-panel { border-radius: 16px; box-shadow: 0 14px 34px rgba(49, 25, 29, .08); }
.salon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.salon-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; box-shadow: 0 12px 30px rgba(57, 30, 35, .08); }
.salon-image { min-height: 210px; background-position: center; background-size: cover; }
.salon-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.salon-body h3 { margin: 8px 0 4px; font-size: 26px; }
.salon-body h3 a { text-decoration: none; }
.salon-body p { display: -webkit-box; min-height: 48px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.salon-card-verified { display: inline-grid; width: 18px; height: 18px; place-items: center; margin-left: 5px; vertical-align: 2px; color: #fff; background: #2479d7; border-radius: 50%; font-family: Arial, sans-serif; font-size: 11px; }
.salon-card .primary-button { margin-top: auto; align-self: flex-start; border-radius: 8px; }

.partner-view { grid-template-columns: minmax(0, .95fr) minmax(390px, .9fr); min-height: calc(100svh - 104px); padding-block: clamp(66px, 9vw, 130px); color: #23151b; background: radial-gradient(circle at 88% 18%, rgba(155,27,65,.09), transparent 28%), #fffdf9; }
.partner-view .eyebrow { color: #b37a35; font-size: 15px; }
.partner-copy h2 { max-width: 740px; font-size: clamp(52px, 5.5vw, 96px); letter-spacing: -.06em; line-height: .91; }
.partner-view p { max-width: 660px; color: #605760; font-size: clamp(18px, 1.8vw, 25px); }
.partner-copy .primary-button { min-height: 56px; margin-top: 22px; padding-inline: 28px; background: linear-gradient(110deg, #831735, #551026); }
.partner-points { gap: 14px; }
.partner-points article { grid-template-columns: 46px 1fr; column-gap: 16px; padding: 24px; background: #fff; border: 1px solid #eadfda; border-radius: 14px; box-shadow: 0 14px 34px rgba(56, 32, 35, .07); }
.partner-points b { display: grid; grid-row: span 2; width: 42px; height: 42px; place-items: center; color: #8a2543; background: #faebee; border-radius: 50%; font-family: "Playfair Display", serif; font-size: 19px; }
.partner-points strong { font-family: "Playfair Display", serif; font-size: 24px; }
.partner-points span { color: #70676d; font-size: 15px; }

@media (max-width: 980px) {
  .topbar { min-height: 82px; }
  .brand-mark { width: 50px; height: 50px; border-radius: 13px; font-size: 14px; }
  .hero, .partner-view { grid-template-columns: 1fr; }
  .landing-hero-image { min-height: 450px; max-width: 750px; }
}
@media (max-width: 760px) {
  .topbar { padding: 13px 22px; }
  .header-register { display: none !important; }
  .brand { font-size: 21px; }
  .hero { min-height: auto; gap: 34px; padding: 44px 24px 56px; }
  .hero h1 { font-size: clamp(52px, 14vw, 76px); }
  .landing-search { grid-template-columns: 1fr; padding: 16px; }
  .landing-search .primary-button { width: 100%; }
  .landing-hero-image { min-height: 380px; border-radius: 18px; }
  .landing-trust { gap: 11px 16px; margin-top: 32px; font-size: 13px; }
  .search-view { padding-inline: 24px; }
  .salon-grid { grid-template-columns: 1fr; }
  .salon-image { min-height: 220px; }
  .partner-view { padding: 56px 24px; }
}

/* Final specificity layer for the salon workspace. */
body { background: #fbf8f4; font-family: "DM Sans", Inter, sans-serif; }
h1, h2, h3, h4, .brand { font-family: "Playfair Display", Georgia, serif; }
.topbar { min-height: 104px; background: rgba(253, 250, 246, .94); }
.brand a { padding: 12px 16px; font-size: 15px; }
.nav a.active { color: #7b1735; background: transparent; box-shadow: inset 0 -2px #7b1735; }
.user-pill { cursor: pointer; font-size: 14px; font-weight: 600; }
.owner-page { width: min(1240px, 100%); margin: 0 auto; padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 64px); }
.owner-dashboard.dashboard { grid-template-columns: 1fr; }
.owner-dashboard .dashboard-sidebar { display: block; }
.owner-dashboard .dashboard-content { grid-template-columns: 1fr; }
.owner-dashboard [data-dashboard-panel="owner-overview"], .owner-dashboard [data-dashboard-panel="staff-overview"] { padding: 0; background: transparent; border: 0; box-shadow: none; }

/* Final auth layout guard — intentionally the last rules in this stylesheet. */
.modal#authModal { width: min(1180px, calc(100vw - 40px)); max-width: none; height: min(760px, calc(100svh - 32px)); max-height: calc(100svh - 32px); overflow: hidden; }
.modal#authModal .modal-card.auth-card { display: grid; grid-template-columns: minmax(380px, 48%) minmax(0, 52%); width: 100%; max-width: none; height: 100%; min-height: 0; max-height: none; padding: 0; overflow: hidden; border: 0; border-radius: 20px; }
.modal#authModal .auth-visual { min-width: 0; min-height: 0; padding: 34px 42px 40px; overflow: hidden; }
.modal#authModal .auth-visual > div { padding-bottom: 0; }
.modal#authModal .auth-visual h2 { margin-bottom: 15px; color: #fff; font-size: clamp(46px, 4.1vw, 66px); text-align: left; text-shadow: 0 2px 20px rgba(31, 4, 14, .28); }
.modal#authModal .auth-visual p { font-size: clamp(16px, 1.4vw, 20px); }
.modal#authModal .auth-brand { font-size: clamp(23px, 2.2vw, 31px); }
.modal#authModal .auth-brand span { width: 54px; height: 54px; }
.modal#authModal .auth-panel { min-width: 0; height: 100%; padding: 30px clamp(34px, 4vw, 62px) 36px; overflow-x: hidden; overflow-y: auto; }
.modal#authModal .auth-home-link { margin-bottom: 24px; }
.modal#authModal .auth-header { display: block; min-height: 0; padding: 0; border: 0; }
.modal#authModal .auth-header h2 { font-size: clamp(38px, 3.4vw, 52px); text-align: left; }
.modal#authModal .auth-header .icon-close { top: 18px; right: 20px; }
.modal#authModal .auth-subtitle { margin: 10px 0 22px; font-size: 17px; }
.modal#authModal .auth-options, .modal#authModal .email-auth { width: 100%; max-width: 560px; padding: 0; }
.modal#authModal .auth-email-start { margin-bottom: 10px; }
.modal#authModal .auth-email-start input, .modal#authModal .email-auth input { min-height: 52px; margin-top: 7px; }
.modal#authModal .auth-continue { min-height: 52px; margin-bottom: 17px; }
.modal#authModal .auth-divider { margin-bottom: 17px; }
.modal#authModal .auth-option { min-height: 51px; margin-bottom: 9px; }

@media (max-width: 820px) {
  .modal#authModal { width: 100%; height: 100svh; max-height: 100svh; }
  .modal#authModal .modal-card.auth-card { display: block; height: 100%; border-radius: 0; overflow-y: auto; }
  .modal#authModal .auth-visual { min-height: 310px; padding: 26px 24px 30px; background-position: 68% 32%; }
  .modal#authModal .auth-brand { font-size: 23px; }
  .modal#authModal .auth-brand span { width: 44px; height: 44px; font-size: 13px; }
  .modal#authModal .auth-visual > div { padding-top: 72px; }
  .modal#authModal .auth-visual #authVisualKicker { margin-bottom: 9px; font-size: 11px; }
  .modal#authModal .auth-visual h2 { max-width: 310px; margin: 0; font-size: 38px; }
  .modal#authModal .auth-visual #authVisualCopy { display: none; }
  .modal#authModal .auth-panel { height: auto; min-height: calc(100svh - 310px); padding: 24px 22px 38px; overflow: visible; }
  .modal#authModal .auth-home-link { margin-bottom: 22px; }
  .modal#authModal .auth-header { position: static; display: block; padding-right: 0; }
  .modal#authModal .auth-header h2 { max-width: 100%; font-size: 33px; line-height: 1.05; }
  .modal#authModal .auth-header .icon-close { position: absolute; top: 20px; right: auto; left: 22px; }
  .modal#authModal .auth-options, .modal#authModal .email-auth { max-width: none; padding: 0; }
}

/* Final public/auth experience guard. */
body { background: #fff; }
.topbar { min-height: 88px; padding-inline: clamp(24px, 4vw, 64px); background: rgba(255,255,255,.96); }
.brand-mark { width: 48px; height: 48px; border-radius: 12px; background: #38102f; }
.hero { grid-template-columns: minmax(0, 1.05fr) minmax(430px, .9fr); gap: 0; min-height: calc(100svh - 88px); padding: 0 0 0 clamp(24px, 4vw, 64px); background: #fff; }
.landing-hero-copy { z-index: 2; max-width: 790px; padding: 64px 0 72px; }
.hero h1 { max-width: 760px; color: #31072a; font-size: clamp(62px, 6.4vw, 108px); line-height: .94; letter-spacing: -.055em; }
.hero h1 em { color: #31072a; }
.landing-hero-image { align-self: stretch; min-height: 640px; margin: 24px 24px 24px 0; border-radius: 22px; box-shadow: none; overflow: hidden; }
.landing-search { width: min(100%, 790px); margin-right: 0; }
.landing-categories { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; width: min(100%, 790px); }
.landing-categories button { display: flex; flex-direction: row; align-items: center; justify-content: center; min-width: 0; min-height: 46px; padding: 0 14px; color: #4d3446; background: #fff; border: 1px solid #e4d7df; border-radius: 10px; box-shadow: none; font-size: 14px; line-height: 1.2; text-align: center; }
.landing-categories button:hover { color: #8d123e; background: #fff7fa; border-color: #c88ba3; transform: translateY(-1px); }
.landing-categories button::first-letter { color: inherit; font-size: inherit; }

.modal#authModal { width: min(1120px, calc(100vw - 40px)); }
.modal#authModal .modal-card.auth-card { grid-template-columns: 42% 58%; border-radius: 18px; }
.modal#authModal .auth-visual { position: relative; padding: 32px 38px 44px; background: url('/assets/salorya-interior.jpg') 58% center / cover; }
.modal#authModal .auth-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(38,12,29,.04), rgba(38,12,29,.66)); }
.modal#authModal .auth-brand, .modal#authModal .auth-visual > div { position: relative; z-index: 1; }
.modal#authModal .auth-visual #authVisualKicker { display: none; }
.modal#authModal .auth-panel { justify-content: center; padding: 44px clamp(42px, 5vw, 74px); background: #fff; }
.modal#authModal .auth-header { position: static; }
.modal#authModal .auth-header .icon-close { top: 24px; right: 28px; z-index: 4; }
.modal#authModal .auth-header h2 { font-size: clamp(40px, 4vw, 58px); color: #2c1028; }
.modal#authModal .email-auth.auth-main-form { display: grid; gap: 15px; width: 100%; max-width: 530px; padding: 0; }
.modal#authModal .auth-main-form label { display: grid; gap: 7px; color: #332a32; font-size: 14px; font-weight: 700; }
.modal#authModal .auth-main-form input { min-height: 54px; margin: 0; padding: 0 16px; background: #fff; border: 1px solid #d9d0d6; border-radius: 9px; font-size: 16px; }
.modal#authModal .auth-submit-main { width: 100%; min-height: 54px; margin: 3px 0 0; background: #a8134c; border-color: #a8134c; font-size: 17px; }
.modal#authModal[data-auth-role="business"] .auth-submit-main { background: #45344d; border-color: #45344d; }
.modal#authModal .auth-divider { margin: 6px 0 0; }
.modal#authModal .auth-social-only:has(.auth-option) { display: grid; grid-template-columns: 1fr; gap: 9px; }
.modal#authModal .auth-option { min-height: 48px; margin: 0; padding: 8px 12px; gap: 10px; font-size: 15px; }
.modal#authModal .auth-option .auth-logo { position: static; width: 24px; height: 24px; }
.modal#authModal .auth-context-links { display: grid; gap: 10px; margin-top: 10px; padding-top: 18px; border-top: 1px solid #ece5e9; text-align: center; }
.modal#authModal .auth-context-links p { margin: 0; color: #6f6570; font-size: 15px; }
.modal#authModal .auth-context-links button { padding: 0; color: #981343; background: none; border: 0; cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.modal#authModal #authRoleSwitch { color: #6f6570; font-size: 14px; text-decoration: none; }
.booking-policy-field { display: grid; gap: 8px; margin: 18px 0; color: var(--ink); font-weight: 700; }
.booking-policy-field > span { display: flex; gap: 10px; align-items: center; color: var(--muted); font-weight: 500; }
.booking-policy-field input { width: 100px; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.booking-policy-field small, .booking-policy-message { display: block; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.45; }
.customer-actions button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.customer-booking-section + .customer-booking-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.customer-booking-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
.customer-booking-heading h3 { margin: 0; font-size: 21px; }
.customer-booking-heading span { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 9px; color: #7d1734; background: #f8edf1; border-radius: 999px; font-weight: 800; }

/* Customer appointment tabs and verified salon reviews. */
.customer-booking-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: -4px -4px 20px; border-bottom: 1px solid #e8dde2; }
.customer-booking-tabs button { position: relative; display: flex; min-height: 58px; align-items: center; justify-content: center; gap: 9px; padding: 12px; color: #5f5360; background: transparent; border: 0; cursor: pointer; font: 750 15px/1.2 "DM Sans", sans-serif; }
.customer-booking-tabs button::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; content: ""; background: transparent; border-radius: 3px 3px 0 0; }
.customer-booking-tabs button.active { color: #86143e; }
.customer-booking-tabs button.active::after { background: #a8134c; }
.customer-booking-tabs button span { display: inline-grid; min-width: 25px; height: 25px; place-items: center; padding-inline: 7px; color: inherit; background: #f6edf1; border-radius: 999px; font-size: 12px; }
#customerAppointments { gap: 12px; margin-top: 0; }
.customer-appointment { gap: 20px; min-height: 126px; padding: 20px; border-color: #eadfe4; border-radius: 14px; box-shadow: 0 8px 24px rgba(55, 21, 38, .04); }
.customer-appointment.is-muted { opacity: 1; background: #fff; }
.customer-appointment-main { min-width: 0; flex: 1; }
.customer-appointment-main > strong { color: #37102f; font-family: "Playfair Display", serif; font-size: 22px; }
.customer-appointment-main > span { color: #5f5660; line-height: 1.55; }
.customer-actions { align-self: center; }
.review-button { min-height: 44px; padding: 10px 16px; color: #8d123e; background: #fff; border: 1px solid #a8134c; border-radius: 9px; cursor: pointer; font: 750 14px/1 "DM Sans", sans-serif; }
.review-button:hover { color: #fff; background: #a8134c; }
.existing-review { max-width: 620px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.existing-review span, .review-stars, .salon-rating span, .rating-score span { color: #ad174d; letter-spacing: .08em; }
.customer-booking-empty { display: grid; min-height: 360px; place-items: center; align-content: center; padding: 40px 24px; text-align: center; }
.customer-booking-empty > span { display: grid; width: 74px; height: 74px; place-items: center; margin-bottom: 18px; color: #9e2550; background: #f8eaf0; border-radius: 22px; font-size: 35px; }
.customer-booking-empty h3 { margin: 0 0 10px; color: #35102e; font-size: 28px; }
.customer-booking-empty p { max-width: 480px; margin: 0 0 22px; color: #6c616a; line-height: 1.6; }
.customer-booking-empty .primary-button { text-decoration: none; }

.salon-rating { display: flex; gap: 6px; align-items: center; margin-top: 4px; font-size: 13px; }
.salon-rating strong { color: #3a2633; }
.salon-rating small, .no-rating { color: #786d75; font-size: 12px; }
.public-reviews-section { margin-top: 44px; padding-top: 38px; border-top: 1px solid #e9dfe3; }
.public-reviews-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.public-reviews-heading h2, .public-reviews-heading p { margin: 0; }
.public-reviews-heading p { margin-top: 5px; color: #756a72; }
.rating-score { display: flex; align-items: center; gap: 11px; }
.rating-score strong { color: #39102f; font-family: "Playfair Display", serif; font-size: 34px; }
.public-review-list { display: grid; gap: 1px; overflow: hidden; background: #eadfe4; border: 1px solid #eadfe4; border-radius: 14px; }
.public-review { padding: 20px; background: #fff; }
.public-review > div { display: flex; justify-content: space-between; gap: 18px; }
.public-review p { margin: 10px 0; color: #4f454d; line-height: 1.6; }
.public-review time { color: #8a7e86; font-size: 12px; }

.modal.rating-modal { width: min(620px, calc(100vw - 28px)); }
.rating-card { width: 100%; max-width: none; padding: 38px; border-radius: 20px; }
.rating-card h2 { margin: 0; color: #42102f; font-size: clamp(34px, 5vw, 48px); text-align: center; }
.rating-card > p:not(.rating-helper):not(.rating-eligibility-note) { margin: 9px 0 20px; color: #6f636b; text-align: center; }
.star-rating { display: flex; justify-content: center; gap: 8px; margin: 6px 0 4px; }
.star-rating button { padding: 0; color: #9c1745; background: transparent; border: 0; cursor: pointer; font-size: clamp(43px, 9vw, 58px); line-height: 1; transition: transform .15s ease; }
.star-rating button:hover { transform: translateY(-2px) scale(1.04); }
.rating-helper { margin: 0 0 24px; color: #6b5f67; text-align: center; }
.rating-card label { display: grid; gap: 8px; color: #3d3139; font-weight: 750; }
.rating-card label span { color: #857a82; font-weight: 500; }
.rating-card textarea { width: 100%; resize: vertical; }
.rating-eligibility-note { margin: 16px 0 20px; padding: 13px 15px; color: #64203a; background: #f9edf1; border-radius: 10px; font-size: 13px; line-height: 1.5; }

@media (max-width: 760px) {
  #manageView.split-section { display: block; min-height: calc(100svh - 76px); padding: 26px 18px 110px; background: #fbf5f3; }
  #manageView > div:first-child { margin-bottom: 22px; }
  #manageView > div:first-child .eyebrow, #manageView > div:first-child p:last-child { display: none; }
  #manageView > div:first-child h2 { margin: 0; font-size: 40px; }
  #customerBookingsPanel { padding: 0; overflow: hidden; background: #fff; border-radius: 15px; }
  .customer-booking-tabs { margin: 0; }
  .customer-booking-tabs button { min-height: 62px; padding-inline: 7px; font-size: 13px; }
  #customerAppointments { padding: 14px; }
  .customer-appointment { display: grid; min-height: 0; padding: 17px; }
  .customer-actions { grid-template-columns: 1fr 1fr; width: 100%; }
  .customer-actions:has(.review-button:only-child) { grid-template-columns: 1fr; }
  .customer-actions button { width: 100%; }
  .customer-booking-empty { min-height: 390px; padding: 36px 16px; }
  .customer-booking-empty h3 { font-size: 25px; }
  .rating-card { padding: 34px 20px 24px; border-radius: 20px 20px 0 0; }
  .modal.rating-modal { width: 100%; max-width: none; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .rating-card .booking-actions { grid-template-columns: 1fr; }
  .public-reviews-heading { align-items: flex-start; flex-direction: column; }
  .public-review > div { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 0; }
  .landing-hero-copy { padding: 54px 24px 48px; }
  .landing-search { width: 100%; margin-right: 0; }
  .landing-hero-image { width: calc(100% - 48px); min-height: 480px; max-width: none; margin: 0 24px 24px; }
}
@media (max-width: 820px) {
  .modal#authModal .auth-visual { min-height: 230px; padding: 24px; }
  .modal#authModal .auth-visual > div { padding-top: 45px; }
  .modal#authModal .auth-panel { min-height: calc(100svh - 230px); padding: 34px 22px 42px; }
  .modal#authModal .auth-header .icon-close { position: fixed; top: 16px; right: 16px; left: auto; z-index: 5; color: #fff; background: rgba(34,11,27,.4); }
}
@media (max-width: 760px) {
  .hero { padding: 0; }
  .hero h1 { font-size: clamp(52px, 14vw, 76px); }
  .landing-hero-image { width: calc(100% - 32px); min-height: 360px; margin: 0 16px 20px; border-radius: 18px; }
  .landing-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Preserve application state even where compact mobile controls use !important. */
body [hidden] { display: none !important; }
body #logoutButton[hidden],
body #authHeaderButton[hidden],
body #registerHeaderButton[hidden],
body #userPill[hidden] { display: none !important; }

/* September polish: clearer services, balanced landing and a real mobile menu. */
@media (min-width: 981px) {
  .hero {
    --hero-gutter: clamp(24px, 2vw, 34px);
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
    gap: clamp(22px, 2vw, 34px);
    padding-inline: var(--hero-gutter);
  }
  .landing-hero-copy { min-width: 0; max-width: none; }
  .landing-hero-image { margin: 24px 0; }
  .landing-search { grid-template-columns: minmax(150px, .68fr) minmax(230px, 1.32fr) auto; width: 100%; }
  .landing-categories { width: 100%; }
}

.service-search-field { position: relative; display: block; margin: 18px 0 14px; }
.service-search-field input { width: 100%; min-height: 54px; padding: 0 52px 0 17px; color: #33252d; background: #fff; border: 1px solid #e3d8dc; border-radius: 13px; font: 650 15px/1 "DM Sans", sans-serif; box-shadow: 0 7px 22px rgba(54, 20, 37, .04); }
.service-search-field > span:last-child { position: absolute; top: 50%; right: 18px; color: #54142f; font-size: 24px; transform: translateY(-50%); pointer-events: none; }
.service-audience-tabs { gap: 8px; padding: 0; border: 0; border-radius: 0; }
.service-audience-tabs button { flex: 0 0 auto; min-width: 94px; min-height: 45px; border: 1px solid #e2d7dc; border-radius: 11px; }
.service-audience-tabs button.active { border-color: var(--accent); box-shadow: 0 7px 18px rgba(105, 20, 54, .12); }
.public-bookable-category,
.booking-service-group { overflow: visible; margin: 26px 0 0; background: transparent; border: 0; border-radius: 0; }
.public-bookable-category > h3,
.booking-service-group h4 { padding: 0 0 12px; color: #321128; background: transparent; border-bottom: 1px solid #e8dfe3; font: 750 21px/1.25 "DM Sans", sans-serif; }
.public-bookable-category > h3 span,
.booking-service-group h4 span { display: inline; width: auto; height: auto; margin-left: 7px; padding: 0; color: #91848b; background: transparent; font-size: 14px; }
.public-bookable-category .service-category-items { display: grid; gap: 10px; padding: 12px 0 0; }
.bookable-service-row,
.booking-service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(100px, auto) 46px; gap: 16px; min-height: 86px; align-items: center; padding: 15px 16px; background: #fff; border: 1px solid #e7dfe3 !important; border-radius: 13px !important; box-shadow: 0 7px 22px rgba(52, 19, 36, .045); }
.bookable-service-row.selected,
.booking-service-row.selected { background: #fff5f7; border-color: #d7aaba !important; }
.service-main { min-width: 0; }
.service-main > strong { color: #32242d; font-size: 16px; line-height: 1.35; }
.service-main small { display: flex; flex-wrap: wrap; gap: 8px 13px; align-items: center; margin-top: 7px; color: #867a82; }
.service-main small button { padding: 0; color: #766870; background: transparent; border: 0; cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.service-price { color: #2e2028; font-size: 16px; text-align: right; white-space: nowrap; }
.service-book-actions,
.booking-service-row > div { justify-content: flex-end; }
.service-plus-button { width: 46px; height: 46px; font-size: 27px; }
.optional-label { color: #8b7d85; font-size: 12px; font-weight: 500; }
.salon-address-wide { grid-column: 1 / -1; }

.owner-mobile-menu { position: fixed; z-index: 70; top: 68px; right: 14px; width: min(330px, calc(100vw - 28px)); max-height: calc(100dvh - 82px); margin: 0; padding: 0; overflow-y: auto; background: #fff; border: 1px solid #eadfe3; border-radius: 15px; box-shadow: 0 20px 48px rgba(43, 16, 31, .18); }
.owner-mobile-menu-card { padding: 8px; }
.owner-mobile-menu-card nav { display: grid; margin: 0; }
.owner-mobile-menu-card nav a { min-height: 48px; align-items: center; padding: 12px 13px; border-bottom: 1px solid #f0e8eb; border-radius: 8px; }
.owner-mobile-menu-card nav a:hover { color: #7d1738; background: #fff5f7; }
.owner-menu-logout { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: flex-start; padding: 12px 13px; color: #8c163c; background: #fff; border: 0; border-radius: 8px; cursor: pointer; font: 800 14px/1 "DM Sans", sans-serif; }

.auth-forgot-password { justify-self: end; margin: -7px 0 1px; padding: 2px 0; color: #8c163c; background: transparent; border: 0; cursor: pointer; font: 750 13px/1.3 "DM Sans", sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.auth-forgot-password:hover { color: #5b102b; }

.password-reset-card {
  width: min(520px, calc(100vw - 32px));
  padding: clamp(28px, 5vw, 46px);
  border-radius: 24px;
}

.password-reset-card h2 {
  margin: 8px 0 14px;
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
  color: var(--ink);
}

.password-reset-copy,
.password-reset-success > p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.password-reset-card label {
  margin-bottom: 18px;
}

.password-reset-card .primary-button,
.password-reset-card .secondary-button {
  width: 100%;
  min-height: 54px;
  margin-top: 10px;
}

.password-reset-success {
  text-align: left;
}

.password-reset-success .verification-icon {
  margin-bottom: 20px;
}

.password-reset-hint {
  margin-top: -10px !important;
  font-size: 14px;
}
.owner-quick-booking-fab { display: none; }

@media (max-width: 760px) {
  .bookable-service-row,
  .booking-service-row { grid-template-columns: minmax(0, 1fr) auto 46px; gap: 10px; align-items: center; padding: 14px; }
  .service-book-actions,
  .booking-service-row > div { width: auto; }
  .service-main > strong { font-size: 15px; }
  .service-main small { font-size: 12px; }
  .service-price { font-size: 14px; }
  .service-plus-button { width: 44px; height: 44px; }
  .salon-address-wide { grid-column: auto; }
  .owner-mobile-menu { top: 68px; }
  body[data-role="owner"] .owner-quick-booking-fab:not([hidden]),
  body[data-role="staff"] .owner-quick-booking-fab:not([hidden]) { position: fixed; z-index: 42; right: 22px; bottom: calc(88px + env(safe-area-inset-bottom)); display: grid; width: 60px; height: 60px; place-items: center; color: #fff; background: #8b173d; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 12px 28px rgba(93, 18, 50, .3); cursor: pointer; font: 400 37px/1 "DM Sans", sans-serif; }
  body[data-role="owner"] .owner-quick-booking-fab:hover,
  body[data-role="staff"] .owner-quick-booking-fab:hover { background: #66102e; transform: translateY(-2px); }
}

/* Public salon profile content order and progressive disclosure. */
.public-salon-intro { padding-bottom: 38px; border-bottom: 1px solid #eadfe1; }
.public-salon-intro h1 { margin-bottom: 10px; }
.public-salon-location { display: flex; gap: 9px; align-items: center; max-width: 760px; margin: 8px 0 22px; color: #5e5158; font-size: 15px; font-weight: 650; }
.public-salon-location svg { flex: 0 0 auto; width: 21px; height: 21px; fill: none; stroke: var(--salon-accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.public-salon-description-wrap { max-width: 780px; }
.public-salon-copy { margin: 0; }
.public-salon-copy.is-collapsed { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.public-description-toggle { margin-top: 9px; padding: 0; color: var(--salon-accent); background: transparent; border: 0; cursor: pointer; font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.public-salon-contact { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 18px; color: #776970; font-size: 14px; }
.public-salon-contact strong { color: #33262d; }
.public-salon-contact a { color: var(--salon-accent); font-weight: 800; }
.public-salon-book-top { width: auto; min-width: 190px; margin-top: 24px; }
.public-salon-section,
.public-reviews-section { padding: 42px 0; border-bottom: 1px solid #eadfe1; }
.public-salon-section > .eyebrow { margin: 0 0 5px; color: var(--salon-accent); }
.public-salon-section > h2 { margin: 0 0 22px; font-size: clamp(30px, 4vw, 46px); }
.public-opening-hours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; max-width: 820px; padding: 8px 24px; background: #fff; border: 1px solid #eadfe1; border-radius: 16px; box-shadow: 0 12px 30px rgba(57, 30, 35, .05); }
.public-opening-hours > div { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid #f0e7e8; }
.public-opening-hours > div:nth-last-child(-n + 2) { border-bottom: 0; }
.public-opening-hours span { color: #6f6268; }
.public-opening-hours strong { color: #2e2228; text-align: right; }
.public-gallery-section .public-salon-gallery { margin: 0; }
.public-map-section .public-salon-map { margin: 0; }
.public-reviews-section { padding-bottom: 10px; border-bottom: 0; }

@media (max-width: 760px) {
  .public-salon-intro { padding-bottom: 30px; }
  .public-salon-location { align-items: flex-start; margin-bottom: 18px; font-size: 14px; }
  .public-salon-copy { font-size: 20px; line-height: 1.55; }
  .public-salon-book-top { width: 100%; }
  .public-salon-section,
  .public-reviews-section { padding: 32px 0; }
  .public-opening-hours { grid-template-columns: 1fr; padding: 4px 17px; }
  .public-opening-hours > div,
  .public-opening-hours > div:nth-last-child(-n + 2) { border-bottom: 1px solid #f0e7e8; }
  .public-opening-hours > div:last-child { border-bottom: 0; }
}

/* Location autocomplete and owner customer directory. */
.location-autocomplete { position: relative; z-index: 8; }
.location-suggestions { position: absolute; z-index: 30; top: calc(100% + 7px); right: 0; left: 0; overflow: hidden; padding: 6px; background: #fff; border: 1px solid #e4d8dc; border-radius: 12px; box-shadow: 0 18px 38px rgba(51, 24, 36, .16); }
.location-suggestions button { display: grid; grid-template-columns: auto 1fr auto; width: 100%; min-height: 48px; align-items: center; gap: 9px; padding: 9px 11px; color: #2e222a; background: transparent; border: 0; border-radius: 8px; cursor: pointer; text-align: left; }
.location-suggestions button:hover, .location-suggestions button[aria-selected="true"] { background: #f9edf1; }
.location-suggestions button > span { color: var(--accent); font-size: 19px; }
.location-suggestions button > strong { font-family: "DM Sans", sans-serif; font-size: 14px; }
.location-suggestions button > small { color: var(--muted); font-size: 11px; }
.google-location-attribution { display: flex; min-height: 24px; align-items: center; justify-content: flex-end; padding: 5px 10px 3px; }
.google-location-attribution img { display: block; width: 120px; height: auto; }
.location-attribution { display: block; padding: 6px 11px 3px; color: #8c8087; font-size: 9px; text-align: right; }
.owner-quicklinks { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.owner-customer-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: end; margin-bottom: 22px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.owner-customer-toolbar label { margin: 0; }
.owner-customer-toolbar input { margin-top: 8px; }
.owner-customer-stat { display: grid; min-width: 120px; padding: 10px 20px; text-align: center; }
.owner-customer-stat strong { color: var(--accent-dark); font-family: "Playfair Display", serif; font-size: 34px; line-height: 1; }
.owner-customer-stat span { color: var(--muted); font-size: 12px; }
.owner-customer-list { display: grid; gap: 14px; }
.owner-customer-card { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(230px, auto); align-items: center; gap: 18px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.customer-avatar { display: grid; width: 58px; height: 58px; place-items: center; color: #fff; background: linear-gradient(145deg, #9a234a, #581027); border-radius: 50%; font-family: "Playfair Display", serif; font-size: 25px; }
.owner-customer-identity h3 { margin: 0 0 7px; font-size: 24px; }
.owner-customer-identity > div { display: flex; flex-wrap: wrap; gap: 7px 16px; }
.owner-customer-identity a, .owner-customer-identity span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.owner-customer-history { display: grid; justify-items: end; gap: 4px; color: var(--muted); text-align: right; }
.owner-customer-history > span { color: var(--ink); }
.owner-customer-history strong { color: var(--accent); font-size: 18px; }
.owner-customer-history small { font-size: 12px; }

/* Structured services: audience -> category -> bookable services. */
.service-editor .panel-heading { align-items: flex-start; margin-bottom: 18px; }
.service-editor .panel-heading p { max-width: 620px; margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.service-audience-tabs { display: flex; overflow-x: auto; margin-bottom: 20px; border: 1px solid #eadadd; border-radius: 13px; scrollbar-width: none; }
.service-audience-tabs::-webkit-scrollbar { display: none; }
.service-audience-tabs button { flex: 1 0 110px; min-height: 48px; padding: 10px 18px; color: #561333; background: #fff; border: 0; border-right: 1px solid #eadadd; cursor: pointer; font: 800 14px/1.2 "DM Sans", sans-serif; }
.service-audience-tabs button:last-child { border-right: 0; }
.service-audience-tabs button.active { color: #fff; background: var(--accent); }
.service-add-fields { margin-bottom: 20px; padding: 18px; background: #fff8f9; border: 1px solid #efdde1; border-radius: 14px; }
.service-add-fields .text-button { align-self: end; }
.owner-service-category > h3 > span { display: flex; width: auto; height: auto; align-items: baseline; gap: 9px; padding: 0; color: var(--accent-dark); background: transparent; border-radius: 0; font-size: 17px; }
.owner-service-category > h3 small { color: var(--muted); font: 600 12px/1.2 "DM Sans", sans-serif; }
.owner-service-category > h3 .text-button { color: var(--accent); background: transparent; }
.bookable-service-row, .booking-service-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; padding: 14px 16px; border-bottom: 1px solid #eee5e9; }
.bookable-service-row:last-child, .booking-service-row:last-child { border-bottom: 0; }
.bookable-service-row.selected, .booking-service-row.selected { background: #fff1f4; }
.bookable-service-row > span, .booking-service-row > span { display: grid; gap: 4px; }
.bookable-service-row small, .booking-service-row small { color: var(--muted); }
.service-book-actions, .booking-service-row > div { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.service-plus-button { display: grid; width: 42px; height: 42px; place-items: center; color: var(--accent); background: #fff; border: 1px solid #dfbfc8; border-radius: 50%; cursor: pointer; font: 800 22px/1 "DM Sans", sans-serif; }
.selected .service-plus-button { color: #fff; background: var(--accent); border-color: var(--accent); font-size: 16px; }
.booking-service-group { overflow: hidden; gap: 0; border: 1px solid var(--line); border-radius: 14px; }
.booking-service-group h4 { margin: 0; padding: 14px 17px; background: #fcf5f7; }
.booking-selection-bar { position: sticky; z-index: 5; bottom: -1px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 20px -8px -8px; padding: 14px 16px; background: rgba(255, 249, 250, .97); border: 1px solid #eadadd; border-radius: 14px; box-shadow: 0 -12px 26px rgba(72, 22, 45, .09); backdrop-filter: blur(10px); }
.booking-selection-bar strong { color: var(--accent-dark); }
.public-service-cart { position: fixed; z-index: 45; right: 24px; bottom: 24px; left: 24px; display: flex; max-width: 940px; align-items: center; justify-content: space-between; gap: 20px; margin: auto; padding: 14px 16px 14px 22px; background: rgba(255, 249, 250, .97); border: 1px solid #e6cbd2; border-radius: 17px; box-shadow: 0 20px 55px rgba(59, 15, 38, .2); backdrop-filter: blur(14px); }
.public-service-cart strong { color: var(--accent-dark); font-size: 17px; }
.public-service-cart .primary-button { width: auto; min-width: 190px; }

/* Salon URL help and Google-powered address autocomplete. */
.field-with-help { position: relative; }
.field-with-help > small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.4; }
.field-info-button { display: inline-grid; width: 20px; height: 20px; margin-left: 5px; place-items: center; color: var(--accent); background: #fff2f5; border: 1px solid #e5bec9; border-radius: 50%; cursor: pointer; font: 800 12px/1 "DM Sans", sans-serif; }
.salon-address-autocomplete { position: relative; z-index: 20; }
.salon-address-suggestions { top: calc(100% - 2px); min-width: min(560px, 90vw); }
.salon-address-suggestions button { grid-template-columns: auto 1fr; }
.salon-media-carousel > img[data-open-salon], .salon-logo[data-open-salon] { cursor: pointer; }

@media (max-width: 900px) {
  .owner-quicklinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .owner-customer-toolbar { grid-template-columns: 1fr; }
  .owner-customer-stat { grid-template-columns: auto auto; min-width: 0; justify-content: start; align-items: baseline; gap: 7px; padding: 0; text-align: left; }
  .owner-customer-card { grid-template-columns: auto 1fr; padding: 17px; }
  .owner-customer-history { grid-column: 1 / -1; justify-items: start; padding-top: 12px; border-top: 1px solid var(--line); text-align: left; }
  .location-suggestions { max-height: 45vh; overflow-y: auto; }
  .service-editor .panel-heading { flex-direction: column; }
  .service-editor .panel-heading > button { width: 100%; }
  .service-audience-tabs button { flex-basis: 92px; min-height: 44px; padding: 9px 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .owner-service-category > h3 { align-items: flex-start; flex-direction: column; gap: 10px; }
  .owner-service-category > h3 .text-button { width: 100%; text-align: left; }
  .bookable-service-row, .booking-service-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .service-book-actions, .booking-service-row > div { width: 100%; }
  .service-book-actions .secondary-button, .booking-service-row > div .secondary-button { flex: 1; }
  .booking-selection-bar { align-items: stretch; flex-direction: column; }
  .public-service-cart { right: 12px; bottom: 86px; left: 12px; align-items: stretch; flex-direction: column; gap: 10px; padding: 14px; }
  .public-service-cart .primary-button { width: 100%; }
}

/* Keep the final service selector aligned with the accepted compact list design. */
.public-services-section .service-audience-tabs,
.booking-service-step .service-audience-tabs { gap: 8px; padding: 0; border: 0; border-radius: 0; }
.public-services-section .service-audience-tabs button,
.booking-service-step .service-audience-tabs button { flex: 0 0 auto; min-width: 94px; min-height: 45px; border: 1px solid #e2d7dc; border-radius: 11px; }
.public-bookable-category,
.booking-service-group { overflow: visible; margin: 26px 0 0; background: transparent; border: 0; border-radius: 0; }
.public-bookable-category > h3,
.booking-service-group h4 { margin: 0; padding: 0 0 12px; color: #321128; background: transparent; border-bottom: 1px solid #e8dfe3; font: 750 21px/1.25 "DM Sans", sans-serif; }
.public-bookable-category .service-category-items { display: grid; gap: 10px; padding: 12px 0 0; }
.bookable-service-row,
.booking-service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(100px, auto) 46px; gap: 16px; min-height: 86px; align-items: center; padding: 15px 16px; background: #fff; border: 1px solid #e7dfe3 !important; border-radius: 13px !important; box-shadow: 0 7px 22px rgba(52, 19, 36, .045); }
.bookable-service-row > .service-main,
.booking-service-row > .service-main { display: grid; gap: 4px; }
.service-book-actions,
.booking-service-row > div { width: auto; justify-content: flex-end; }
.service-plus-button { width: 46px; height: 46px; font-size: 27px; }

@media (max-width: 760px) {
  .bookable-service-row,
  .booking-service-row { grid-template-columns: minmax(0, 1fr) auto 44px; gap: 10px; align-items: center; padding: 14px; }
  .service-book-actions,
  .booking-service-row > div { width: auto; }
}

/* Storytelling landing pages — scoped to keep every booking and account flow intact. */
.story-home,
.partner-story-page {
  --story-ink: #28101f;
  --story-copy: #665c63;
  --story-rose: #a64e66;
  --story-rose-dark: #833049;
  --story-blush: #f7eaea;
  --story-cream: #fbf7f2;
  --story-line: #eadedc;
  width: 100%;
  color: var(--story-ink);
  background: #fff;
}

.story-home h1,
.story-home h2,
.story-home h3,
.partner-story-page h1,
.partner-story-page h2,
.partner-story-page h3 {
  margin-top: 0;
  color: var(--story-ink);
}

.story-home h1,
.story-home h2,
.partner-story-page h1,
.partner-story-page h2 { letter-spacing: -.035em; }

.story-home p,
.partner-story-page p { color: var(--story-copy); }

.story-home .primary-button,
.partner-story-page .primary-button {
  display: inline-flex;
  width: auto;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 26px;
  color: #fff;
  background: linear-gradient(135deg, #b76578, #93425c);
  border-color: transparent;
  border-radius: 999px;
  box-shadow: 0 13px 28px rgba(136, 51, 75, .17);
  font-weight: 700;
  text-decoration: none;
}

.story-home .primary-button:hover,
.partner-story-page .primary-button:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(136, 51, 75, .23); }

.story-kicker {
  margin: 0 0 12px !important;
  color: var(--story-rose) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .18em;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.story-secondary-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 25px;
  color: var(--story-rose-dark);
  background: rgba(255,255,255,.74);
  border: 1px solid #c991a0;
  border-radius: 999px;
  cursor: pointer;
  font: 700 14px/1 "DM Sans", sans-serif;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.story-secondary-link:hover { background: #fff; transform: translateY(-2px); }
.story-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }

.story-shell {
  width: min(1500px, calc(100% - 36px));
  margin: 18px auto 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee5e1;
  border-radius: 23px 23px 0 0;
  box-shadow: 0 22px 70px rgba(53, 25, 38, .08);
}

.story-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(500px, .94fr);
  min-height: 610px;
  overflow: hidden;
  background: #fdfaf6;
}

.story-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 6vw, 96px) clamp(34px, 4vw, 64px) 90px;
  background: radial-gradient(circle at 12% 10%, rgba(223, 183, 184, .2), transparent 29%), #fdfaf6;
}

.story-hero-copy h1 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(52px, 4.5vw, 78px);
  font-weight: 500;
  line-height: .93;
}

.story-hero-copy h1 em { color: var(--story-rose); font-style: normal; }
.story-hero-copy > p:not(.story-kicker) { max-width: 610px; margin: 24px 0 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.58; }

.story-hero-visual {
  position: relative;
  min-height: 610px;
  background: linear-gradient(90deg, #fdfaf6 0, rgba(253,250,246,.05) 22%), url('/assets/salorya-interior.jpg') 53% center / cover no-repeat;
}

.story-hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 62%, rgba(49, 20, 31, .12));
  pointer-events: none;
}

.story-handnote {
  position: absolute;
  z-index: 2;
  top: 18%;
  left: 7%;
  color: rgba(129, 68, 79, .72);
  font: 500 clamp(21px, 2vw, 31px)/1.08 "Playfair Display", Georgia, serif;
  font-style: italic;
  text-align: center;
  transform: rotate(-8deg);
}

.story-hero-badge {
  position: absolute;
  z-index: 2;
  top: 18%;
  right: 5%;
  display: grid;
  width: 160px;
  aspect-ratio: 1;
  place-content: center;
  color: #9d5366;
  background: rgba(250, 229, 231, .92);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  box-shadow: 0 15px 40px rgba(90,45,56,.12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.55;
  text-align: center;
  text-transform: uppercase;
}

.story-hero-badge b { font-size: 18px; }

.story-search {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(250px, 1fr) minmax(160px, .45fr);
  gap: 10px;
  width: calc(100% - clamp(36px, 8vw, 124px));
  margin: -36px auto 0;
  padding: 10px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--story-line);
  border-radius: 17px;
  box-shadow: 0 18px 45px rgba(62, 30, 44, .15);
  backdrop-filter: blur(16px);
}

.story-search label { position: relative; display: grid; gap: 3px; min-width: 0; padding: 8px 16px; border-right: 1px solid #eee4e2; }
.story-search label > span { color: #2f2630; font-size: 11px; font-weight: 800; }
.story-search input,
.story-search select { width: 100%; min-height: 28px; padding: 0 24px 0 0; color: #2f2630; background: transparent; border: 0; font-size: 15px; font-weight: 600; }
.story-search input:focus,
.story-search select:focus { outline: 0; }
.story-search .primary-button { min-height: 58px; border-radius: 11px; }
.story-search .location-suggestions { top: calc(100% + 12px); left: -10px; min-width: min(560px, 90vw); text-align: left; }

.story-section,
.partner-story-section { padding: clamp(68px, 7vw, 108px) clamp(30px, 6vw, 86px); }

.story-section,
.story-values,
.story-final-cta,
.partner-story-section,
.public-salon-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.story-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.story-section-head h2 { margin-bottom: 0; font-size: clamp(35px, 3.6vw, 54px); font-weight: 500; line-height: 1.02; }
.story-section-head > a { color: var(--story-rose); font-weight: 700; text-decoration: none; }

.story-categories-section { padding-top: 86px; padding-bottom: 78px; }
.story-category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 13px; width: 100%; margin: 0; }
.story-category-grid button { display: block; min-height: 0; padding: 0; overflow: hidden; color: var(--story-ink); background: #fff; border: 1px solid var(--story-line); border-radius: 14px; box-shadow: 0 9px 24px rgba(58,34,42,.055); text-align: left; }
.story-category-grid button:hover { background: #fff; border-color: #d7aab5; transform: translateY(-4px); box-shadow: 0 15px 30px rgba(58,34,42,.1); }
.story-category-grid strong { display: block; padding: 13px 15px; font-size: 14px; text-align: center; }
.category-visual { display: block; width: 100%; aspect-ratio: 1.45; background-color: #f2e5df; background-image: linear-gradient(145deg, #c88a92, #6f1738); background-repeat: no-repeat; }
.category-hair { background-position: 0 0; }
.category-barber { background-position: 33.333% 0; }
.category-nails { background-position: 66.666% 0; }
.category-cosmetics { background-position: 100% 0; }
.category-laser { background-position: 0 100%; }
.category-massage { background-position: 33.333% 100%; }
.category-makeup { background-position: 66.666% 100%; }
.category-other { background-position: 100% 100%; }

.location-suggestions .current-location-option {
  color: #86163e;
  background: #fff8fa;
  border-bottom: 1px solid #f0e0e6;
}

.location-suggestions .current-location-option span { font-size: 20px; }

.field-with-help > small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.owner-read-only-service {
  cursor: default;
}

#studioDisplayServices .service-chip {
  cursor: default;
  user-select: text;
}

.story-how { padding-top: 40px; background: #fff; }
.story-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--story-line); border-bottom: 1px solid var(--story-line); }
.story-steps article { position: relative; display: grid; grid-template-columns: auto auto 1fr; gap: 17px; align-items: start; padding: 30px 28px; border-right: 1px solid var(--story-line); }
.story-steps article:last-child { border-right: 0; }
.story-steps article > span { display: grid; width: 38px; height: 38px; place-items: center; color: var(--story-rose); background: #f7e8e9; border-radius: 50%; font: 700 14px/1 "Playfair Display", serif; }
.story-step-icon { color: var(--story-ink); font-size: 36px; line-height: 1; }
.story-steps h3 { margin: 0 0 6px; font-family: "DM Sans", sans-serif; font-size: 17px; }
.story-steps p { margin: 0; font-size: 14px; line-height: 1.5; }

.story-editorial { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(34px, 6vw, 90px); align-items: center; background: linear-gradient(110deg, #fcf8f5, #f8eeee); }
.story-editorial-image { min-height: 460px; background: url('/assets/salorya-interior.jpg') 67% center / cover; border-radius: 170px 18px 170px 18px; box-shadow: 0 24px 60px rgba(64,31,44,.13); }
.story-editorial-copy h2 { margin-bottom: 24px; font-size: clamp(42px, 4.7vw, 70px); font-weight: 500; line-height: .98; }
.story-editorial-copy h2 em { color: var(--story-rose); font-style: normal; }
.story-editorial-copy > p:not(.story-kicker) { max-width: 590px; font-size: 17px; line-height: 1.7; }
.story-editorial-copy .primary-button { margin-top: 18px; }

.story-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 34px clamp(30px, 6vw, 86px); padding: 26px 18px; background: linear-gradient(90deg, #fbf3f1, #f7e9e8); border: 1px solid #f1dfdf; border-radius: 16px; }
.story-values article { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: center; padding: 5px 22px; border-right: 1px solid #e8d3d4; }
.story-values article:last-child { border-right: 0; }
.story-values article > span { display: grid; width: 43px; height: 43px; place-items: center; color: var(--story-rose); background: #fff; border-radius: 50%; font-size: 24px; }
.story-values strong { display: block; font-size: 14px; }
.story-values p { margin: 3px 0 0; font-size: 12px; line-height: 1.35; }

.story-partner-teaser { display: grid; grid-template-columns: minmax(390px, .85fr) 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; margin-top: 65px; background: #fbf3ef; }
.story-partner-image { min-height: 450px; background: url('/assets/salorya-interior.jpg') 76% center / cover; border-radius: 18px; }
.story-partner-teaser h2 { margin-bottom: 20px; font-size: clamp(40px, 4.4vw, 65px); font-weight: 500; line-height: 1; }
.story-partner-teaser p:not(.story-kicker) { max-width: 640px; font-size: 17px; line-height: 1.65; }
.story-partner-teaser ul,
.partner-product-copy ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 24px 0 28px; padding: 0; list-style: none; }
.story-partner-teaser li,
.partner-product-copy li { position: relative; padding-left: 26px; color: #594e54; font-size: 14px; }
.story-partner-teaser li::before,
.partner-product-copy li::before { position: absolute; left: 0; display: grid; width: 17px; height: 17px; place-items: center; color: #fff; background: #bd7784; border-radius: 50%; content: "✓"; font-size: 10px; }

.story-final-cta { display: grid; grid-template-columns: 1fr 1fr; margin: 28px clamp(30px, 6vw, 86px); overflow: hidden; background: #f7e8e5; border: 1px solid #edd8d6; border-radius: 16px; }
.story-final-cta > div { padding: 33px clamp(26px, 4vw, 58px); text-align: center; }
.story-final-cta > div + div { border-left: 1px solid #ddc7c5; }
.story-final-cta h2 { margin-bottom: 22px; font-size: clamp(27px, 2.5vw, 39px); font-weight: 500; }

.story-footer { display: grid; grid-template-columns: auto 1fr auto; gap: 25px; align-items: center; padding: 34px clamp(30px, 6vw, 86px); border-top: 1px solid var(--story-line); }
.story-footer .brand { font-size: 20px; }
.story-footer .brand-mark { width: 40px; height: 40px; font-size: 13px; }
.story-footer > p { margin: 0; font-family: "Playfair Display", serif; font-style: italic; text-align: center; }
.story-footer nav { display: flex; gap: 18px; align-items: center; }
.story-footer nav a,
.story-footer nav button { padding: 0; color: #6d6267; background: transparent; border: 0; cursor: pointer; font: 600 12px/1.3 "DM Sans", sans-serif; text-decoration: none; }

/* Partner story */
.partner-story-page { overflow: hidden; }
.partner-story-hero { display: grid; grid-template-columns: minmax(500px, 1.06fr) minmax(500px, .94fr); min-height: 650px; background: #f9f4ef; }
.partner-story-copy { display: flex; align-items: flex-start; flex-direction: column; justify-content: center; padding: clamp(60px, 7vw, 105px) clamp(35px, 4vw, 64px); }
.partner-story-copy h1 { max-width: 780px; margin-bottom: 0; font-size: clamp(50px, 4.15vw, 74px); font-weight: 500; line-height: .95; hyphens: none; }
.partner-story-copy h1 em { color: var(--story-rose); font-style: normal; }
.partner-story-copy > p:not(.story-kicker) { max-width: 690px; margin: 24px 0 0; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.58; }
.partner-proof { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 26px; color: #62575c; font-size: 13px; font-weight: 700; }
.partner-proof span::first-letter { color: var(--story-rose); }
.partner-story-visual { position: relative; min-height: 650px; background: linear-gradient(90deg, #f9f4ef 0, transparent 22%), url('/assets/salorya-interior.jpg') 64% center / cover no-repeat; }
.partner-story-visual blockquote { position: absolute; top: 20%; left: 5%; margin: 0; color: rgba(70,37,46,.75); font: italic 500 clamp(22px, 2vw, 32px)/1.1 "Playfair Display", serif; transform: rotate(-7deg); }
.partner-story-visual > span { position: absolute; right: 3%; bottom: 10%; display: grid; width: 170px; aspect-ratio: 1; place-content: center; color: #9d5366; background: rgba(250,229,231,.92); border-radius: 50%; box-shadow: 0 15px 40px rgba(90,45,56,.12); font-size: 11px; font-weight: 800; letter-spacing: .14em; line-height: 1.6; text-align: center; text-transform: uppercase; }
.partner-story-visual > span b { font-size: 20px; }

.partner-story-section { width: min(1500px, 100%); margin-inline: auto; }
.partner-story-section .story-section-head { margin-bottom: 28px; }
.partner-benefits { padding-bottom: 72px; }
.partner-benefit-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.partner-benefit-grid article { min-height: 240px; padding: 25px 20px; background: linear-gradient(145deg, #fff, #fbf3ef); border: 1px solid #f0e6e1; border-radius: 13px; }
.partner-benefit-grid i { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 20px; color: var(--story-rose); background: #f8e9e9; border-radius: 50%; font-size: 22px; font-style: normal; }
.partner-benefit-grid h3 { margin-bottom: 10px; font-family: "DM Sans", sans-serif; font-size: 17px; line-height: 1.15; }
.partner-benefit-grid p { margin: 0; font-size: 13px; line-height: 1.55; }

.partner-product-story { display: grid; grid-template-columns: minmax(290px, .58fr) minmax(620px, 1.42fr); gap: clamp(34px, 5vw, 70px); align-items: center; max-width: 1500px; background: #fcf8f4; }
.partner-product-copy h2 { margin-bottom: 22px; font-size: clamp(46px, 4.6vw, 70px); font-weight: 500; line-height: .96; }
.partner-product-copy > p:not(.story-kicker) { font-size: 16px; line-height: 1.65; }
.partner-product-copy ul { grid-template-columns: 1fr; }
.partner-dashboard-preview { display: grid; grid-template-columns: 170px 1fr; min-height: 430px; overflow: hidden; background: #fff; border: 1px solid #eadfda; border-radius: 16px; box-shadow: 0 23px 55px rgba(52,31,38,.12); }
.partner-dashboard-preview aside { display: grid; align-content: start; gap: 8px; padding: 24px 16px; color: #665b60; background: #f8f1ee; border-right: 1px solid #e9ded9; font-size: 12px; }
.partner-dashboard-preview aside strong { margin-bottom: 14px; color: var(--story-ink); font-family: "Playfair Display", serif; font-size: 24px; }
.partner-dashboard-preview aside span { padding: 10px 12px; border-radius: 7px; }
.partner-dashboard-preview aside span.active { color: var(--story-rose-dark); background: #f1dfe1; font-weight: 800; }
.preview-main { padding: 27px; }
.preview-welcome { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.preview-welcome small { color: #81757b; }
.preview-welcome h3 { margin: 3px 0 0; font-size: 25px; font-weight: 500; }
.preview-welcome > span { padding: 8px 13px; background: #fbf1f2; border-radius: 8px; color: var(--story-rose); font-size: 12px; font-weight: 700; }
.preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 25px 0; }
.preview-stats article { display: grid; gap: 6px; padding: 16px; border: 1px solid #eadfe0; border-radius: 10px; }
.preview-stats small { color: #82777c; }
.preview-stats b { color: var(--story-rose-dark); font: 500 28px/1 "Playfair Display", serif; }
.preview-list { padding: 18px; border: 1px solid #eadfe0; border-radius: 11px; }
.preview-list h4 { margin: 0 0 10px; }
.preview-list p { display: grid; grid-template-columns: 55px 1fr 1.5fr; gap: 15px; margin: 0; padding: 10px 4px; border-bottom: 1px solid #eee5e3; font-size: 12px; }
.preview-list p:last-child { border-bottom: 0; }
.preview-list p b { color: var(--story-ink); }
.preview-list p small { color: #867a7f; }

.partner-disciplines { padding-bottom: 54px; }
.partner-discipline-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.partner-discipline-grid article { display: flex; min-height: 210px; align-items: flex-end; justify-content: center; padding: 15px; color: #fff; background-color: #b99088; background-repeat: no-repeat; background-size: cover; border-radius: 13px; box-shadow: inset 0 -70px 60px -40px rgba(35,11,25,.78); font-weight: 800; }
.discipline-hair { background-image: linear-gradient(145deg, #c88a92, #65152f); }
.discipline-barber { background-image: linear-gradient(145deg, #82676b, #311822); }
.discipline-nails { background-image: linear-gradient(145deg, #e0bbb0, #91465c); }
.discipline-cosmetics { background-image: linear-gradient(145deg, #c2a37e, #6b3342); }
.discipline-laser { background-image: linear-gradient(145deg, #c8a6b6, #54203f); }

.partner-journey { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; background: #fff; }
.partner-journey > div:first-child h2 { margin-bottom: 0; font-size: clamp(42px, 4.2vw, 65px); font-weight: 500; line-height: 1; }
.partner-journey-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner-journey-steps article { display: grid; grid-template-columns: auto 1fr; gap: 13px; }
.partner-journey-steps b { display: grid; width: 43px; height: 43px; place-items: center; color: var(--story-rose); background: #f6e5e6; border-radius: 50%; font: 500 18px/1 "Playfair Display", serif; }
.partner-journey-steps h3 { margin: 2px 0 6px; font-family: "DM Sans", sans-serif; font-size: 16px; }
.partner-journey-steps p { margin: 0; font-size: 13px; line-height: 1.5; }

.partner-story-final { display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 35px; align-items: center; margin: 30px auto; padding: 40px clamp(30px, 6vw, 80px); width: min(1450px, calc(100% - 48px)); background: linear-gradient(110deg, #f8e7e4, #fbf1eb); border: 1px solid #edd8d4; border-radius: 18px; }
.partner-story-final h2 { margin-bottom: 10px; font-size: clamp(34px, 3.4vw, 50px); font-weight: 500; }
.partner-story-final p:not(.story-kicker) { margin: 0; line-height: 1.55; }
.partner-final-points { display: grid; gap: 9px; color: #65595e; font-size: 13px; font-weight: 700; }
.partner-story-footer { padding-inline: clamp(36px, 7vw, 110px); }

@media (max-width: 1180px) {
  .story-hero { grid-template-columns: minmax(0, 1fr) minmax(430px, 1fr); }
  .story-hero-copy { padding-inline: 45px; }
  .story-hero-copy h1 { font-size: clamp(52px, 6.1vw, 73px); }
  .story-hero-badge { width: 135px; }
  .story-category-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-story-hero { grid-template-columns: minmax(430px, 1fr) minmax(420px, 1fr); }
  .partner-story-copy { padding-inline: 48px; }
  .partner-story-copy h1 { font-size: clamp(50px, 6vw, 72px); }
  .partner-benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-product-story { grid-template-columns: 1fr; }
  .partner-product-copy { max-width: 750px; }
  .partner-journey { grid-template-columns: 1fr; }
  .partner-story-final { grid-template-columns: 1fr 1fr; }
  .partner-story-final .primary-button { justify-self: start; }
}

@media (max-width: 900px) {
  .story-shell { width: 100%; margin-top: 0; border: 0; border-radius: 0; box-shadow: none; }
  .story-hero,
  .partner-story-hero { grid-template-columns: 1fr; }
  .story-hero-copy,
  .partner-story-copy { padding: 58px 30px 44px; }
  .story-hero-copy h1,
  .partner-story-copy h1 { max-width: 720px; font-size: clamp(48px, 9vw, 76px); }
  .story-hero-visual,
  .partner-story-visual { min-height: 500px; background-image: url('/assets/salorya-interior.jpg'); background-position: center; }
  .story-search { grid-template-columns: 1fr 1fr; width: calc(100% - 40px); margin-top: -28px; }
  .story-search .primary-button { grid-column: 1 / -1; }
  .story-steps { grid-template-columns: 1fr; }
  .story-steps article { border-right: 0; border-bottom: 1px solid var(--story-line); }
  .story-steps article:last-child { border-bottom: 0; }
  .story-editorial,
  .story-partner-teaser { grid-template-columns: 1fr; }
  .story-editorial-image { min-height: 400px; order: 2; border-radius: 18px 110px 18px 110px; }
  .story-values { grid-template-columns: 1fr 1fr; }
  .story-values article:nth-child(2) { border-right: 0; }
  .story-values article:nth-child(-n+2) { padding-bottom: 20px; border-bottom: 1px solid #e8d3d4; }
  .story-values article:nth-child(n+3) { padding-top: 20px; }
  .story-footer { grid-template-columns: 1fr; justify-items: center; }
  .partner-dashboard-preview { grid-template-columns: 135px 1fr; }
  .partner-discipline-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-story-final { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .story-hero-copy,
  .partner-story-copy { padding: 48px 20px 36px; }
  .story-hero-copy h1,
  .partner-story-copy h1 { font-size: clamp(43px, 13vw, 61px); line-height: .96; }
  .story-hero-copy > p:not(.story-kicker),
  .partner-story-copy > p:not(.story-kicker) { margin-top: 18px; font-size: 16px; }
  .story-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .story-actions .primary-button,
  .story-actions .story-secondary-link { width: 100%; }
  .story-hero-visual,
  .partner-story-visual { min-height: 390px; }
  .story-handnote,
  .partner-story-visual blockquote { display: none; }
  .story-hero-badge,
  .partner-story-visual > span { right: 18px; bottom: 22px; width: 120px; font-size: 9px; }
  .story-hero-badge { top: 22px; bottom: auto; }
  .story-search { display: grid; grid-template-columns: 1fr; gap: 0; width: calc(100% - 28px); margin-top: -18px; padding: 9px; }
  .story-search label { padding: 12px 13px; border-right: 0; border-bottom: 1px solid #eee4e2; }
  .story-search .primary-button { grid-column: auto; margin-top: 8px; }
  .story-search .location-suggestions { left: 0; min-width: 100%; }
  .story-section,
  .partner-story-section { padding: 60px 20px; }
  .story-section-head { align-items: flex-start; flex-direction: column; }
  .story-section-head h2 { font-size: 39px; }
  .story-categories-section { padding-top: 72px; }
  .story-category-grid { display: flex; gap: 11px; margin-inline: -20px; padding: 0 20px 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .story-category-grid button { flex: 0 0 180px; scroll-snap-align: start; }
  .story-how { padding-top: 25px; }
  .story-steps article { grid-template-columns: auto 1fr; padding-inline: 4px; }
  .story-step-icon { display: none; }
  .story-editorial-image,
  .story-partner-image { min-height: 330px; }
  .story-editorial-copy h2,
  .story-partner-teaser h2 { font-size: 42px; }
  .story-values { grid-template-columns: 1fr; margin: 18px 14px; padding: 8px 18px; }
  .story-values article { padding: 18px 0 !important; border-right: 0; border-bottom: 1px solid #e8d3d4 !important; }
  .story-values article:last-child { border-bottom: 0 !important; }
  .story-partner-teaser ul,
  .partner-product-copy ul { grid-template-columns: 1fr; }
  .story-final-cta { grid-template-columns: 1fr; margin: 22px 14px; }
  .story-final-cta > div + div { border-top: 1px solid #ddc7c5; border-left: 0; }
  .story-footer { padding: 30px 20px 110px; }
  .story-footer nav { flex-wrap: wrap; justify-content: center; }
  .partner-proof { display: grid; }
  .partner-benefit-grid { grid-template-columns: 1fr; }
  .partner-benefit-grid article { min-height: 0; }
  .partner-dashboard-preview { grid-template-columns: 1fr; min-height: 0; }
  .partner-dashboard-preview aside { display: none; }
  .preview-main { padding: 18px; }
  .preview-stats { grid-template-columns: 1fr 1fr 1fr; }
  .preview-stats article { padding: 11px; }
  .preview-stats b { font-size: 21px; }
  .preview-list p { grid-template-columns: 46px 1fr; }
  .preview-list p small { display: none; }
  .partner-discipline-grid { display: flex; margin-inline: -20px; padding-inline: 20px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .partner-discipline-grid article { flex: 0 0 190px; scroll-snap-align: start; }
  .partner-journey-steps { grid-template-columns: 1fr; }
  .partner-story-final { width: calc(100% - 28px); margin: 14px; padding: 30px 22px; }
  .partner-story-final .primary-button { width: 100%; }
}

/* Salorya identity, person-free imagery and responsive polish. */
html,
body { max-width: 100%; overflow-x: clip; }

.brand-mark,
.owner-sidebar-mark,
.auth-brand span { overflow: hidden; padding: 0; background: #790c35; }
.brand-mark img,
.owner-sidebar-mark img,
.auth-brand span img { display: block; width: 100%; height: 100%; object-fit: cover; }
.owner-sidebar-mark img { border-radius: inherit; }

.story-hero-visual,
.story-editorial-image,
.story-partner-image,
.partner-story-visual,
.modal#authModal .auth-visual {
  background-image: url('/assets/salorya-interior.jpg');
  background-position: center;
  background-size: cover;
}
.public-salon-hero,
.salon-media-carousel { background: #c9b5a9 url('/assets/salorya-interior.jpg') center / cover no-repeat; }
.story-hero-visual { background-image: linear-gradient(90deg, #fdfaf6 0, rgba(253,250,246,.02) 20%), url('/assets/salorya-interior.jpg'); }
.partner-story-visual { background-image: linear-gradient(90deg, #f9f4ef 0, rgba(249,244,239,.02) 18%), url('/assets/salorya-interior.jpg'); background-position: 58% center; }
.modal#authModal .auth-visual { background-image: linear-gradient(180deg, rgba(36,7,25,.02), rgba(36,7,25,.5)), url('/assets/salorya-interior.jpg'); }

.category-carousel { --category-gap: 14px; overflow: hidden; }
.category-carousel-track { display: flex; gap: var(--category-gap); margin: 0; padding: 0; transition: transform .55s cubic-bezier(.22,.75,.25,1); will-change: transform; }
.category-card {
  display: block;
  flex: 0 0 calc((100% - (var(--category-gap) * 3)) / 4);
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--story-ink);
  background: #fff;
  border: 1px solid var(--story-line);
  border-radius: 14px;
  box-shadow: 0 9px 24px rgba(58,34,42,.055);
  cursor: pointer;
  text-align: left;
}
.category-card:hover { border-color: #d7aab5; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(58,34,42,.1); }
.category-card strong { display: block; min-height: 56px; padding: 15px; font-size: 14px; text-align: center; }
.category-visual {
  display: block;
  width: 100%;
  aspect-ratio: 1.55;
  background-color: #eadbd4;
  background-image: url('/assets/salorya-category-sprite.jpg');
  background-repeat: no-repeat;
  background-size: 400% 200%;
}
.category-hair { background-position: 0 0; }
.category-barber { background-position: 33.333% 0; }
.category-nails { background-position: 66.666% 0; }
.category-cosmetics { background-position: 100% 0; }
.category-laser { background-position: 0 100%; }
.category-massage { background-position: 33.333% 100%; }
.category-makeup { background-position: 66.666% 100%; }
.category-other { background-position: 100% 100%; }
.category-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.category-carousel-controls > button { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; color: #7d1738; background: #fff; border: 1px solid #dfcbd1; border-radius: 50%; cursor: pointer; }
.category-carousel-controls > div { display: flex; gap: 7px; }
.category-carousel-controls [data-category-slide] { width: 8px; height: 8px; padding: 0; background: #d8c5cc; border: 0; border-radius: 99px; cursor: pointer; transition: width .2s ease, background .2s ease; }
.category-carousel-controls [data-category-slide].active { width: 25px; background: #8b173d; }

.partner-discipline-grid article { position: relative; overflow: hidden; background-image: linear-gradient(145deg, #c88a92, #65152f); filter: none; }
.partner-discipline-grid article::before { position: absolute; top: 18px; left: 50%; color: rgba(255,255,255,.68); content: "✦"; font: 500 62px/1 "Playfair Display", serif; transform: translateX(-50%); }
.discipline-barber { background-image: linear-gradient(145deg, #82676b, #311822) !important; }
.discipline-nails { background-image: linear-gradient(145deg, #e0bbb0, #91465c) !important; }
.discipline-cosmetics { background-image: linear-gradient(145deg, #c2a37e, #6b3342) !important; }
.discipline-laser { background-image: linear-gradient(145deg, #c8a6b6, #54203f) !important; }

.location-permission-dialog .modal-card { width: min(520px, calc(100vw - 28px)); }
.location-permission-dialog h2 { margin-bottom: 12px; font-size: clamp(34px, 5vw, 48px); }
.location-help { margin: 18px 0; padding: 16px; color: #69203b; background: #fff4f6; border: 1px solid #e8c5ce; border-radius: 12px; }
.location-help p { margin: 7px 0 0; color: #66545c; line-height: 1.5; }

body[data-role="owner"] .owner-quick-booking-fab:not([hidden]),
body[data-role="staff"] .owner-quick-booking-fab:not([hidden]) {
  position: fixed;
  z-index: 48;
  right: auto;
  bottom: 26px;
  left: 50%;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  padding: 0 0 4px;
  color: #fff;
  background: linear-gradient(145deg, #b61450, #741033);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 13px 30px rgba(93,18,50,.3);
  cursor: pointer;
  font: 400 38px/1 "DM Sans", sans-serif;
  transform: translateX(-50%);
}
body[data-role="owner"] .owner-quick-booking-fab:hover,
body[data-role="staff"] .owner-quick-booking-fab:hover { background: #66102e; transform: translateX(-50%) translateY(-2px); }

@media (max-width: 900px) {
  .story-hero-visual,
  .partner-story-visual { background-image: url('/assets/salorya-interior.jpg'); background-position: center; }
}

@media (max-width: 760px) {
  body:not([data-role="owner"]):not([data-role="staff"]) .topbar { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; min-height: 74px; padding: 9px 14px; }
  body:not([data-role="owner"]):not([data-role="staff"]) .topbar .brand > span:last-child { display: inline; font-size: 19px; }
  body:not([data-role="owner"]):not([data-role="staff"]) .topbar .brand-mark { width: 44px; height: 44px; }
  body:not([data-role="owner"]):not([data-role="staff"]) .header-actions .header-register { display: inline-flex !important; }
  body:not([data-role="owner"]):not([data-role="staff"]) .header-actions .ghost-button,
  body:not([data-role="owner"]):not([data-role="staff"]) .header-actions .header-register { min-height: 42px; padding-inline: 12px; font-size: 12px; white-space: nowrap; }

  .section.search-view { padding: 34px 18px 104px; }
  .search-view .compact-heading { margin-bottom: 24px; }
  .search-view .compact-heading h2 { max-width: 12ch; font-size: clamp(40px, 11vw, 52px); line-height: .98; letter-spacing: -.045em; overflow-wrap: normal; }
  .search-view .compact-heading p { font-size: 16px; line-height: 1.55; }
  .search-panel-wide { grid-template-columns: 1fr; padding: 16px; }
  .results-header p { font-size: 17px; line-height: 1.45; }
  .salon-map-panel { border-radius: 14px; }
  .salon-map-panel .google-map { height: 300px; min-height: 300px; }
  .salon-card { min-width: 0; }

  .story-hero-copy,
  .partner-story-copy { padding: 40px 18px 34px; }
  .story-hero-copy h1,
  .partner-story-copy h1 { max-width: 100%; font-size: clamp(40px, 11.5vw, 52px); line-height: .98; letter-spacing: -.045em; overflow-wrap: normal; }
  .partner-story-copy h1 br { display: block; }
  .story-hero-visual,
  .partner-story-visual { min-height: 300px; }
  .partner-story-visual > span { display: none; }
  .story-section,
  .partner-story-section { padding: 52px 18px; }
  .story-section-head h2,
  .story-editorial-copy h2,
  .story-partner-teaser h2,
  .partner-product-copy h2,
  .partner-journey > div:first-child h2 { font-size: clamp(36px, 10vw, 46px); line-height: 1; overflow-wrap: anywhere; }
  .category-carousel { --category-gap: 12px; }
  .category-card { flex-basis: 100%; border-radius: 16px; }
  .category-card strong { min-height: 58px; padding: 16px 12px; font-size: 15px; }
  .category-visual { aspect-ratio: 1.55; }
  .story-partner-image,
  .story-editorial-image { min-height: 270px; }
  .partner-discipline-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; }
  .partner-discipline-grid article { min-height: 155px; }
  .partner-dashboard-preview { max-width: 100%; }
  .preview-welcome { flex-direction: column; }
  .preview-stats { grid-template-columns: 1fr; }
  .partner-story-final { width: calc(100% - 24px); margin: 12px; }

  #dashboardView { padding: 28px 16px 112px; }
  #dashboardView .dashboard-sidebar h2 { font-size: clamp(38px, 11vw, 50px); line-height: 1; }
  .owner-welcome h3 { font-size: clamp(34px, 9vw, 44px); }
  .owner-stat-grid { grid-template-columns: 1fr; gap: 12px; }
  .owner-stat-grid article { padding: 19px; }
  .owner-quicklinks { grid-template-columns: 1fr; }
  body[data-role="owner"] .owner-quick-booking-fab:not([hidden]),
  body[data-role="staff"] .owner-quick-booking-fab:not([hidden]) { bottom: calc(56px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .category-carousel-track { transition: none; }
}

/* Support page */
.support-view {
  min-height: calc(100svh - 104px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 6vw, 88px) 120px;
  background:
    radial-gradient(circle at 8% 12%, rgba(181, 74, 111, .10), transparent 32%),
    linear-gradient(180deg, #fffdfb 0%, #faf3f1 100%);
}

.support-shell {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(440px, 1fr);
  gap: clamp(44px, 7vw, 104px);
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: start;
}

.support-intro { position: sticky; top: 136px; }
.support-back { display: inline-flex; margin-bottom: 38px; color: #8d2146; font-size: 14px; font-weight: 750; text-decoration: none; }
.support-intro h1 { max-width: 8ch; margin: 0; color: #32102a; font-family: "Playfair Display", Georgia, serif; font-size: clamp(52px, 6.2vw, 82px); font-weight: 500; line-height: .96; letter-spacing: -.045em; }
.support-intro > p { max-width: 560px; margin: 28px 0 36px; color: #665a63; font-size: 18px; line-height: 1.65; }
.support-contact-note { display: grid; gap: 7px; padding: 24px 0; border-block: 1px solid #e3d6da; }
.support-contact-note strong { color: #3c1930; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.support-contact-note a { width: fit-content; color: #9b1744; font-family: "Playfair Display", Georgia, serif; font-size: 28px; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.support-contact-note span { color: #756972; font-size: 14px; }
.support-expectations { margin-top: 32px; }
.support-expectations h2 { margin: 0 0 14px; color: #3d1831; font-family: "DM Sans", sans-serif; font-size: 17px; }
.support-expectations ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.support-expectations li { position: relative; padding-left: 22px; color: #6d6169; line-height: 1.5; }
.support-expectations li::before { position: absolute; top: .55em; left: 0; width: 7px; height: 7px; content: ""; background: #b04a6d; border-radius: 50%; }

.support-form {
  display: grid;
  gap: 20px;
  padding: clamp(26px, 4vw, 48px);
  background: #fff;
  border: 1px solid #e6dadd;
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(62, 28, 43, .10);
}
.support-form-heading { margin-bottom: 5px; }
.support-form-heading > span { color: #a02a52; font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.support-form-heading h2 { margin: 8px 0 6px; color: #35102d; font-size: clamp(30px, 3.5vw, 42px); line-height: 1.05; }
.support-form-heading p { margin: 0; color: #7a6e76; font-size: 14px; }
.support-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.support-form label { display: grid; gap: 8px; color: #473842; font-size: 14px; font-weight: 750; }
.support-form input:not([type="checkbox"]),
.support-form select,
.support-form textarea { width: 100%; min-height: 52px; padding: 13px 15px; color: #2f1728; background: #fffdfc; border: 1px solid #ddcfd4; border-radius: 10px; font: 500 16px/1.4 "DM Sans", sans-serif; }
.support-form textarea { min-height: 190px; resize: vertical; }
.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus { outline: 3px solid rgba(168, 19, 76, .12); border-color: #a8134c; }
.support-form label > small { color: #837780; font-size: 12px; font-weight: 500; }
.support-consent { grid-template-columns: 22px 1fr; gap: 11px !important; align-items: start; font-weight: 500 !important; line-height: 1.5; }
.support-consent input { width: 19px; height: 19px; margin-top: 1px; accent-color: #9c1745; }
.support-form-actions { display: flex; align-items: center; gap: 18px; }
.support-form-actions .primary-button { min-width: 190px; }
#supportFormStatus { margin: 0; color: #756870; font-size: 14px; line-height: 1.45; }
#supportFormStatus.is-success { color: #2e6b4c; font-weight: 700; }
#supportFormStatus.is-error { color: #9b1c31; font-weight: 700; }

@media (max-width: 860px) {
  .support-view { padding: 42px 18px 118px; }
  .support-shell { grid-template-columns: 1fr; gap: 34px; }
  .support-intro { position: static; }
  .support-intro h1 { max-width: 9ch; font-size: clamp(48px, 14vw, 64px); }
  .support-intro > p { margin: 22px 0 28px; font-size: 16px; }
  .support-back { margin-bottom: 28px; }
  .support-form { padding: 24px 18px; border-radius: 16px; }
  .support-form-grid { grid-template-columns: 1fr; gap: 20px; }
  .support-form-actions { align-items: stretch; flex-direction: column; }
  .support-form-actions .primary-button { width: 100%; }
}

/* Installable web app and notification opt-in */
.pwa-prompt {
  position: fixed;
  z-index: 95;
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(92px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto 34px;
  gap: 12px;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 14px;
  color: #34212d;
  background: rgba(255, 252, 251, .97);
  border: 1px solid #e6d7dc;
  border-radius: 20px;
  box-shadow: 0 18px 54px rgba(61, 12, 37, .2);
  backdrop-filter: blur(18px);
}
.pwa-prompt[hidden] { display: none; }
.pwa-prompt img,
.notification-prompt-icon { width: 50px; height: 50px; border-radius: 13px; object-fit: cover; }
.notification-prompt-icon { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #b71e50, #4c092d); font-size: 27px; }
.pwa-prompt div { min-width: 0; }
.pwa-prompt strong,
.pwa-prompt span { display: block; }
.pwa-prompt strong { margin-bottom: 3px; font-size: 15px; line-height: 1.25; }
.pwa-prompt div span { color: #71656d; font-size: 12px; line-height: 1.35; }
.pwa-prompt-primary { min-height: 42px; padding: 0 16px; color: #fff; background: #981441; border: 0; border-radius: 999px; font: 700 13px/1 "DM Sans", sans-serif; }
.pwa-prompt-close { width: 34px; height: 34px; padding: 0; color: #75656e; background: transparent; border: 0; font-size: 25px; line-height: 1; }
.notification-setting { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid #eee2e5; border-bottom: 1px solid #eee2e5; }
.notification-setting strong,
.notification-setting small { display: block; }
.notification-setting small { margin-top: 3px; color: #766b72; line-height: 1.35; }
.notification-setting .secondary-button { width: auto; flex: 0 0 auto; margin: 0; }
.install-help-modal .modal-card { max-width: 480px; }
.install-help-modal img { width: 72px; height: 72px; margin-bottom: 18px; border-radius: 18px; }
.install-help-modal ol { margin: 22px 0; padding-left: 24px; color: #5e5159; line-height: 1.65; }
.install-help-modal li + li { margin-top: 10px; }

@media (min-width: 861px) {
  .pwa-prompt { display: none !important; }
}

@media (max-width: 520px) {
  .pwa-prompt { grid-template-columns: 44px minmax(0, 1fr) 30px; gap: 10px; padding: 12px; border-radius: 18px; }
  .pwa-prompt img,
  .notification-prompt-icon { width: 44px; height: 44px; border-radius: 12px; }
  .pwa-prompt-primary { grid-column: 2 / 4; width: 100%; }
  .pwa-prompt-close { grid-column: 3; grid-row: 1; }
  .notification-setting { align-items: flex-start; flex-direction: column; }
  .notification-setting .secondary-button { width: 100%; }
}

/* Subtle, secondary access to help and support */
.header-help-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  padding: 0;
  color: #7d6f77;
  background: transparent;
  border: 1px solid #e2d5da;
  border-radius: 50%;
  font: 700 17px/1 "DM Sans", sans-serif;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.header-help-button:hover,
.header-help-button:focus-visible,
.header-help-button.active {
  color: #8d153d;
  background: #fff7f8;
  border-color: #c993a5;
}
.header-help-button:focus-visible { outline: 3px solid rgba(168, 19, 76, .14); outline-offset: 2px; }

@media (max-width: 760px) {
  body:not([data-role="owner"]):not([data-role="staff"]) .header-help-button {
    position: absolute;
    z-index: 21;
    top: calc(100% + 10px);
    right: 14px;
    width: 34px;
    height: 34px;
    min-height: 34px !important;
    flex-basis: 34px;
    padding: 0 !important;
    background: rgba(255, 253, 252, .95);
    box-shadow: 0 7px 20px rgba(55, 21, 36, .12);
    backdrop-filter: blur(10px);
  }
}

@media (min-width: 1000px) {
  .modal#authModal .modal-card.auth-card { grid-template-columns: 35% minmax(0, 65%); }
  .modal#authModal .auth-panel { padding-right: 34px; padding-left: 34px; }
}
.modal#authModal[data-auth-mode="register"] .auth-panel { justify-content: flex-start; }
.modal#authModal .auth-legal { display: grid; gap: 9px; margin: 4px 0 2px; color: #514751; font-size: 13px; line-height: 1.4; }
.modal#authModal .auth-legal[hidden] { display: none; }
.modal#authModal .auth-legal-check { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; }
.modal#authModal .auth-legal input[type="checkbox"] { width: 18px; height: 18px; min-height: 18px; flex: 0 0 18px; margin: 1px 0 0; padding: 0; }
.modal#authModal .auth-legal p { margin: 0; }
.modal#authModal .auth-legal a { color: #981343; text-decoration: underline; text-underline-offset: 2px; }

/* Shared salon/customer inbox trigger and unread state. */
.chat-inbox-trigger { position: relative; display: inline-grid; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; place-items: center; padding: 0; color: #6d1739; background: #fff; border: 1px solid #e5d5dc; border-radius: 13px; cursor: pointer; }
.chat-inbox-trigger:hover { background: #fff3f7; border-color: #c98ca5; }
.chat-inbox-trigger svg { display: block; width: 23px; height: 23px; }
.chat-inbox-trigger[hidden], .chat-unread-badge[hidden] { display: none !important; }
.chat-unread-badge { position: absolute; top: -7px; right: -7px; display: grid; min-width: 21px; height: 21px; place-items: center; padding: 0 5px; color: #fff; background: #c5173c; border: 2px solid #fff; border-radius: 999px; font: 700 11px/1 "DM Sans", sans-serif; }
.owner-desktop-chat-trigger { position: fixed; z-index: 44; top: 22px; right: 28px; box-shadow: 0 6px 20px rgba(58, 18, 35, .08); }
.owner-mobile-actions { display: flex; align-items: center; gap: 9px; }
.chat-inbox-card { width: min(540px, calc(100vw - 32px)); max-height: min(720px, calc(100svh - 32px)); overflow-y: auto; }
.chat-inbox-list { display: grid; gap: 9px; max-height: min(56vh, 480px); margin-top: 20px; overflow-y: auto; }
.chat-inbox-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 15px 16px; color: #3b2831; background: #fff; border: 1px solid #eadfe4; border-radius: 13px; cursor: pointer; font: inherit; text-align: left; }
.chat-inbox-item:hover, .chat-inbox-item.is-unread { background: #fff5f8; border-color: #e7b8c7; }
.chat-inbox-item strong, .chat-inbox-item small { display: block; }
.chat-inbox-item strong { margin-bottom: 4px; }
.chat-inbox-item small { max-width: 340px; color: #756a70; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-inbox-item > b { display: grid; flex: 0 0 auto; min-width: 24px; height: 24px; place-items: center; padding: 0 6px; color: #fff; background: #c5173c; border-radius: 999px; font-size: 12px; }
@media (max-width: 900px) { .owner-desktop-chat-trigger { display: none !important; } }
@media (max-width: 560px) {
  .chat-inbox-trigger { flex-basis: 40px; width: 40px; height: 40px; min-height: 40px; }
  .chat-inbox-card { width: min(calc(100vw - 16px), 540px); }
  .chat-inbox-item small { max-width: 230px; }
}
:root { --privacy-border: #ded3d7; }
.privacy-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 22px; padding: 20px 16px 110px; border-top: 1px solid var(--line); }
.privacy-footer a, .privacy-footer button { background: transparent; border: 0; padding: 0; color: #763347; text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.privacy-footer a:focus-visible, .privacy-footer button:focus-visible { outline: 2px solid #8f123d; outline-offset: 4px; }
@media (min-width: 901px) { body[data-role="owner"] .privacy-footer, body[data-role="staff"] .privacy-footer { margin-left: 248px; } }
.privacy-banner { position: fixed; z-index: 150; bottom: 20px; left: 20px; right: 20px; max-width: 800px; margin: auto; padding: 24px; border: 1px solid var(--privacy-border); border-radius: 20px; background: #fffafa; box-shadow: 0 12px 70px #32101e33; max-height: 75dvh; overflow-y: auto; }
.privacy-banner h2 { font-size: 23px; margin: 0 0 10px; }
.privacy-banner p, .privacy-card p { font-size: 14px; line-height: 1.6; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.privacy-actions button { flex: 1 1 180px; }
#privacyModal, #adminEditModal { width: min(680px, calc(100vw - 28px)); }
.privacy-card, .admin-edit-card { max-height: 85dvh; overflow-y: auto; width: 100%; }
.privacy-option { display: flex; align-items: center; gap: 12px; font-weight: 700; margin-top: 20px; }
.privacy-option input { width: 22px; height: 22px; accent-color: #8f123d; }
.admin-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 20px 0; }
.admin-toolbar label { flex: 1 1 220px; }
.admin-edit-fields { display: grid; gap: 14px; }
.admin-edit-fields label, .admin-toolbar label { display: grid; gap: 6px; }
.admin-edit-fields input, .admin-edit-fields select, .admin-edit-fields textarea, .admin-toolbar input, .admin-toolbar select { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid var(--privacy-border); border-radius: 10px; font: inherit; background: white; }
#adminEditError { color: #a41938; }
.admin-salon-card { overflow-wrap: anywhere; }
.status-blocked { background: #fce4ea; color: #991232; }
@media (max-width: 600px) { .privacy-banner { left: 10px; right: 10px; bottom: 85px; padding: 18px; } .privacy-actions { flex-direction: column; } .privacy-actions button { flex: auto; } .admin-toolbar > button { width: 100%; } }

/* Administration: compact navigation and cards with explicit action groups. */
#adminView { align-content: start; }
#adminView .dashboard-sidebar h2 { max-width: 270px; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.12; overflow-wrap: anywhere; }
#adminView .dashboard-sidebar > p { margin: 0; font-size: 14px; }
#adminView .dashboard-content { min-width: 0; align-content: start; }
#adminView .admin-panel { min-width: 0; border-radius: 16px; }
#adminView .admin-panel h3 { line-height: 1.2; }
#adminView .admin-salon-card { align-items: start; min-width: 0; padding: 20px; background: #fff; border-radius: 14px; }
#adminView .admin-salon-card > div:first-child { min-width: 0; flex: 1; }
#adminView .admin-salon-card small { display: block; overflow-wrap: anywhere; line-height: 1.5; }
#adminView .admin-card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; width: min(350px, 100%); gap: 8px; }
#adminView .admin-card-actions button { width: 100%; min-width: 0; padding: 9px 10px; font-size: 13px; line-height: 1.2; text-align: center; }
#adminView .admin-toolbar { align-items: end; }
#adminView .admin-toolbar label { min-width: 0; }
#adminView .admin-toolbar .secondary-button { min-height: 44px; }
.admin-edit-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.admin-edit-actions button { min-width: 140px; }
@media (max-width: 980px) {
  #adminView .dashboard-sidebar h2 { max-width: none; }
  #adminView .dashboard-menu { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-top: 6px; scrollbar-width: thin; }
  #adminView .dashboard-menu button { flex: 0 0 auto; min-width: 110px; text-align: center; }
}
@media (max-width: 680px) {
  #adminView { padding: 24px 14px 110px; gap: 16px; }
  #adminView .admin-panel, #adminView .admin-salon-card { padding: 16px; }
  #adminView .admin-salon-card { flex-direction: column; }
  #adminView .admin-card-actions { width: 100%; }
  #adminView .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-edit-actions { flex-direction: column-reverse; }
  .admin-edit-actions button { width: 100%; }
}
@media (max-width: 380px) { #adminView .admin-card-actions { grid-template-columns: 1fr; } }

/* Real salon imagery from the existing four-column category photo strip. */
.partner-discipline-grid article {
  background-image: linear-gradient(180deg, transparent 38%, rgba(28, 9, 20, .72)), url('/assets/salorya-category-sprite.jpg') !important;
  background-size: 100% 100%, 400% 200%;
  background-repeat: no-repeat;
  text-shadow: 0 2px 12px rgba(21, 7, 15, .65);
}
.partner-discipline-grid article::before { content: none; }
.partner-discipline-grid .discipline-hair { background-position: center, 0% 0%; }
.partner-discipline-grid .discipline-nails { background-position: center, 66.667% 0%; }
.partner-discipline-grid .discipline-cosmetics { background-position: center, 100% 0%; }
.partner-discipline-grid .discipline-laser { background-position: center, 0% 100%; }

.notification-prompt-icon { display: block; background: none; }

.booking-nav-badge:not([hidden]) {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  margin-left: 7px;
  padding: 0 5px;
  color: #fff;
  background: #bd174d;
  border-radius: 999px;
  font: 700 11px/1 "DM Sans", sans-serif;
  vertical-align: middle;
}
.mobile-nav a[data-view-link="owner-bookings"] { position: relative; }
.mobile-nav .booking-nav-badge:not([hidden]) {
  position: absolute;
  top: 2px;
  left: calc(50% + 10px);
  margin: 0;
  box-shadow: 0 0 0 2px #fff;
}

#manualAppointmentModal .manual-booking-footer {
  flex: 0 0 auto;
  padding: 14px 22px calc(18px + env(safe-area-inset-bottom));
  background: rgba(255, 252, 251, .98);
  border-top: 1px solid #eadde1;
  box-shadow: 0 -8px 24px rgba(49, 16, 32, .07);
}
#manualAppointmentModal .manual-booking-footer .primary-button { width: 100%; }
.admin-setting-group{border:1px solid #e4d8d2;border-radius:14px;margin:14px 0;background:#fffdf9;overflow:hidden}.admin-setting-group>summary{cursor:pointer;padding:16px 18px;font-weight:700;color:#652a3e}.admin-setting-form{padding:4px 18px 20px;display:grid;gap:14px}.admin-setting-form fieldset{border:1px solid #e9dcd8;border-radius:12px;padding:14px;display:grid;gap:10px;min-width:0}.admin-setting-form legend{font-weight:700;color:#652a3e}.admin-setting-form textarea{width:100%;min-height:90px}.admin-setting-form .form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.admin-setting-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-repeater-row,.admin-service-row{border:1px solid #eadfdb;border-radius:10px;padding:12px;margin:8px 0;display:grid;gap:8px}.mail-preview{background:#fbf4ef;border-left:3px solid #652a3e;border-radius:8px;padding:14px;white-space:normal}.admin-search-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px}.admin-search-controls label{display:flex;align-items:center;gap:6px}.platform-banner{padding:14px 20px;text-align:center;background:#6d263f;color:#fff}.platform-faq{max-width:900px;margin:24px auto;padding:0 18px}.platform-faq details{border-bottom:1px solid #e2d5cf;padding:12px 0}.platform-faq summary{cursor:pointer;font-weight:600}.admin-toolbar input[type=search]{min-width:220px}@media(max-width:650px){.admin-setting-form{padding:4px 12px 16px}.admin-setting-actions button,.admin-search-controls button{width:100%}}
.maintenance-overlay{position:fixed;z-index:9999;inset:0;background:#f9f4eb;display:grid;place-items:center;padding:25px;color:#61263d;text-align:center}.maintenance-overlay[hidden]{display:none}.maintenance-overlay>div{max-width:620px}.maintenance-overlay h2{font-size:clamp(1.8rem,5vw,3rem)}#serviceTemplateSuggestions{background:#fff8f1;border:1px solid #e5d6ce;padding:14px;border-radius:12px;margin:12px 0}#serviceTemplateSuggestions button{margin:4px}
/* Partner tariffs and Pro tools */
.partner-pricing { width: min(1500px, 100%); margin: 0 auto; padding: clamp(70px, 7vw, 110px) clamp(22px, 6vw, 86px); }
.partner-pricing .story-section-head { margin-bottom: 34px; }
.partner-pricing .story-section-head p:last-child { max-width: 620px; color: #726b70; }
.partner-pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.partner-plan { display: flex; flex-direction: column; min-width: 0; padding: 30px; background: #fff; border: 1px solid #eadfe3; border-radius: 24px; box-shadow: 0 12px 40px rgba(65, 29, 44, .05); }
.partner-plan-pro { position: relative; border: 2px solid #9c315a; background: linear-gradient(160deg, #fff 58%, #fff4f7); box-shadow: 0 18px 45px rgba(113, 28, 60, .12); }
.partner-plan-highlight { align-self: flex-start; padding: 7px 11px; margin: -10px 0 14px; border-radius: 99px; color: #fff; background: #7e1744; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.partner-plan-head { display: grid; gap: 8px; padding-bottom: 22px; border-bottom: 1px solid #eee4e7; }
.partner-plan-head > span { color: #8e2850; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.partner-plan-head > strong { color: #2d1524; font-family: "Playfair Display", Georgia, serif; font-size: clamp(31px, 3vw, 42px); line-height: 1.15; }
.partner-plan-head > strong small { color: #6e616a; font-family: Arial, sans-serif; font-size: 15px; font-weight: 500; }
.partner-plan-head > small { color: #756a72; font-size: 14px; }
.partner-plan ul { display: grid; gap: 13px; padding: 26px 0; margin: 0 0 auto; list-style: none; }
.partner-plan li { display: flex; gap: 10px; color: #3c3138; line-height: 1.4; }
.partner-plan li::before { content: "✓"; flex: 0 0 auto; color: #9c315a; font-weight: 800; }
.partner-plan > button { width: 100%; justify-content: center; }
.partner-pricing-note { max-width: 780px; margin: 24px auto 0; color: #746870; text-align: center; font-size: 13px; }
.pro-settings { padding: 20px; margin: 18px 0; border: 1px solid #e8d4dc; border-radius: 16px; background: #fff8fa; }
.pro-settings h4 { margin: 0 0 14px; color: #681637; }
.pro-settings > small { display: block; margin-top: 12px; color: #71656c; line-height: 1.5; }
.pro-settings .form-grid { margin-top: 14px; }
.discount-price { display: inline-flex; gap: 7px; flex-wrap: wrap; align-items: baseline; }
.discount-price del { color: #8c8589; font-size: .84em; font-weight: 500; }
.discount-price > strong { color: #9c2050; }
.discount-price em { padding: 2px 6px; border-radius: 5px; color: #fff; background: #9c2050; font-size: 11px; font-style: normal; }
.booking-no-show-note { padding: 13px 15px; margin: 14px 0 0; color: #5b2940; background: #fff3f7; border: 1px solid #e5b7c8; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.salon-card-pro { border: 2px solid #aa4166 !important; box-shadow: 0 12px 35px rgba(120, 24, 60, .14) !important; }
.pro-search-ribbon { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 8px 12px; color: #fff; background: #8b204b; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.pro-monitoring { display: grid; gap: 20px; padding: clamp(20px, 3vw, 30px); margin: 22px 0; background: #fff; border: 1px solid #e9dce1; border-radius: 22px; box-shadow: 0 12px 35px rgba(66, 22, 42, .06); }
.pro-monitoring-head { display: flex; justify-content: space-between; align-items: start; }
.pro-monitoring-head h4 { margin: 5px 0; font-family: "Playfair Display", Georgia, serif; font-size: 30px; }
.pro-monitoring-head > span { color: #9b2752; font-size: 30px; }
.pro-monitoring-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pro-monitoring-stats article { display: grid; gap: 6px; min-width: 0; padding: 18px; background: #fcf6f8; border-radius: 14px; }
.pro-monitoring-stats strong { color: #61213e; font-size: clamp(23px, 2.5vw, 34px); }
.pro-monitoring-stats small, .pro-monitoring-head small { color: #746b71; }
.pro-monitoring-report { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid #eee5e8; padding-top: 18px; }
.pro-monitoring-report h5 { margin: 0 0 10px; font-size: 15px; }
.pro-monitoring-report p { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0; color: #5e555a; font-size: 13px; }
@media (max-width: 820px) { .partner-pricing-grid { grid-template-columns: 1fr; } .partner-plan { padding: 24px; } .pro-monitoring-stats { grid-template-columns: 1fr; } .pro-monitoring-report { grid-template-columns: 1fr; } }

/* ==========================================================================
   UI-Refresh 2026-11 · Cookie-Banner, Dialoge als Sheets, Terminbuchung,
   Studio-Editor, Leistungs-Hierarchie, Onboarding, mobile Darstellung.
   Dieser Block steht bewusst am Dateiende und überschreibt ältere Regeln.
   ========================================================================== */
:root {
  --ui-primary: #a8134c;
  --ui-primary-dark: #7d0c38;
  --ui-primary-soft: #fdf1f5;
  --ui-primary-line: #efcfdb;
  --ui-ink: #2c1028;
  --ui-text: #4a3d47;
  --ui-muted: #746a72;
  --ui-line: #ebe2e6;
  --ui-surface: #ffffff;
  --ui-soft: #faf6f7;
  --ui-success: #1f7a55;
  --ui-success-soft: #e9f6ef;
  --ui-radius: 14px;
  --ui-radius-lg: 20px;
  --ui-sans: "DM Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ui-shadow: 0 18px 50px rgba(54, 16, 36, .16);
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
[hidden] { display: none !important; }
.is-context-hidden { display: none !important; }

/* iOS zoomt beim Fokussieren in Felder mit weniger als 16px Schrift hinein. */
@media (max-width: 900px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="range"]),
  select,
  textarea { font-size: 16px !important; }
}

/* ---------- Gemeinsame Bausteine ---------- */
.icon-button { display: inline-grid; width: 36px; height: 36px; padding: 0; place-items: center; color: var(--ui-muted); background: transparent; border: 1px solid transparent; border-radius: 10px; cursor: pointer; }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-button:hover, .icon-button:focus-visible { color: var(--ui-primary); background: var(--ui-primary-soft); border-color: var(--ui-primary-line); outline: none; }
.icon-button.is-danger:hover, .icon-button.is-danger:focus-visible { color: #a3182f; background: #fff0f2; border-color: #f0c4cb; }
.text-button.is-danger { color: #a3182f; }
.optional-label { color: var(--ui-muted); font-weight: 500; }
.field-label { color: var(--ui-muted); font-size: 13px; font-weight: 650; }

/* ---------- Dialoge: Sheets mit festem Kopf und Fuß ---------- */
.modal::backdrop { background: rgba(38, 14, 28, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal:not(#authModal) .modal-card { background: var(--ui-surface); border: 0; border-radius: var(--ui-radius-lg); box-shadow: var(--ui-shadow); }
.modal .modal-card h2 { overflow-wrap: anywhere; }
.modal.sheet-modal { width: min(620px, calc(100vw - 24px)); }
.modal.sheet-modal.compact-sheet { width: min(520px, calc(100vw - 24px)); }
.modal.sheet-modal .modal-card,
#bookingModal.sheet-modal .modal-card,
#bookingModal.sheet-modal:not([data-current-step="time"]) .modal-card,
#manualAppointmentModal.sheet-modal .modal-card { display: flex; flex-direction: column; width: 100%; height: auto; max-height: min(860px, calc(100dvh - 32px)); padding: 0; overflow: hidden; }
#bookingModal.sheet-modal .modal-card,
#bookingModal.sheet-modal:not([data-current-step="time"]) .modal-card { height: min(780px, calc(100dvh - 32px)); }
.sheet-head { position: relative; flex: 0 0 auto; padding: 22px 68px 16px 24px; border-bottom: 1px solid var(--ui-line); }
.sheet-head .eyebrow { margin: 0 0 6px; color: var(--ui-primary); font-size: 12px; letter-spacing: .08em; }
.sheet-head h2 { margin: 0; color: var(--ui-ink); font-family: var(--ui-sans); font-size: 22px; font-weight: 750; line-height: 1.2; letter-spacing: -.01em; }
.sheet-head > p:not(.eyebrow) { margin: 6px 0 0; color: var(--ui-muted); font-size: 14px; line-height: 1.45; }
.sheet-head .icon-close { top: 16px; right: 16px; }
.modal .icon-close { display: grid; width: 40px; height: 40px; place-items: center; color: var(--ui-ink); background: var(--ui-soft); border-radius: 50%; font-size: 22px; line-height: 1; }
.modal .icon-close:hover, .modal .icon-close:focus-visible { background: var(--ui-primary-soft); color: var(--ui-primary); outline: none; }
.sheet-body,
#manualAppointmentModal .manual-booking-scroll.sheet-body { flex: 1 1 auto; min-height: 0; padding: 20px 24px 24px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet-body > label, .sheet-body .form-grid { margin-bottom: 16px; }
.sheet-body label { font-size: 13px; }
.sheet-foot,
.sheet-foot.booking-actions,
#manualAppointmentModal .manual-booking-footer.sheet-foot { position: static; flex: 0 0 auto; margin: 0; padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--ui-surface); border-top: 1px solid var(--ui-line); box-shadow: 0 -8px 24px rgba(54, 16, 36, .05); }
.sheet-foot.booking-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.sheet-foot.booking-actions > * { flex: 0 1 auto; width: auto; margin: 0; }
.sheet-foot .booking-actions { display: flex; gap: 10px; margin: 0; }
.sheet-foot .booking-actions > * { margin: 0; }

@media (max-width: 640px) {
  .modal[open]:not(#authModal) { inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 100dvh; margin: 0; transform: none; }
  .modal:not(#authModal) .modal-card { max-height: min(92dvh, calc(100dvh - 20px)); border-radius: 22px 22px 0 0; }
  .modal:not(#authModal):not(.sheet-modal):not(.onboarding-modal) .modal-card { padding: 22px 20px calc(22px + env(safe-area-inset-bottom, 0px)); }
  .modal.sheet-modal .modal-card,
  #manualAppointmentModal.sheet-modal .modal-card { max-height: min(92dvh, calc(100dvh - 20px)); }
  #bookingModal.sheet-modal .modal-card,
  #bookingModal.sheet-modal:not([data-current-step="time"]) .modal-card { height: min(92dvh, calc(100dvh - 20px)); max-height: none; }
  .sheet-head { padding: 18px 62px 14px 20px; }
  .sheet-head h2 { font-size: 20px; }
  .sheet-head::before { content: ""; position: absolute; top: 7px; left: 50%; width: 38px; height: 4px; background: #e2d6dc; border-radius: 99px; transform: translateX(-50%); }
  .sheet-body,
  #manualAppointmentModal .manual-booking-scroll.sheet-body { padding: 18px 20px 22px; }
  .sheet-foot,
  .sheet-foot.booking-actions,
  #manualAppointmentModal .manual-booking-footer.sheet-foot { padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .sheet-foot.booking-actions > .primary-button { flex: 1 1 auto; }
  .modal .form-grid { grid-template-columns: 1fr; }
  .modal .booking-actions:not(.sheet-foot) { flex-wrap: wrap; }
  .modal .booking-actions:not(.sheet-foot) > * { flex: 1 1 140px; }
}

/* ---------- Cookie-Banner ---------- */
.privacy-banner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; left: 16px; right: 16px; bottom: 16px; max-width: 880px; padding: 18px 20px; background: rgba(255, 255, 255, .97); border: 1px solid var(--ui-line); border-radius: 18px; box-shadow: 0 16px 50px rgba(50, 16, 30, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.privacy-banner-copy { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.privacy-banner-icon { display: grid; flex: 0 0 auto; width: 40px; height: 40px; place-items: center; color: var(--ui-primary); background: var(--ui-primary-soft); border-radius: 12px; }
.privacy-banner-icon svg { width: 22px; height: 22px; }
.privacy-banner h2 { margin: 0 0 4px; color: var(--ui-ink); font-family: var(--ui-sans); font-size: 16px; font-weight: 750; line-height: 1.3; }
.privacy-banner p { margin: 0; color: var(--ui-text); font-size: 13px; line-height: 1.5; }
.privacy-banner a { color: var(--ui-primary); }
.privacy-banner .privacy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 250px; margin: 0; }
.privacy-banner .privacy-actions button { flex: none; width: 100%; min-height: 42px; margin: 0; padding: 9px 14px; border-radius: 11px; font-size: 14px; white-space: nowrap; }
.privacy-banner .privacy-actions .privacy-accept { grid-column: 1 / -1; min-height: 46px; font-size: 15px; font-weight: 750; box-shadow: 0 8px 20px rgba(168, 19, 76, .28); }
.privacy-banner .privacy-actions .text-button { color: var(--ui-muted); background: transparent; border: 0; text-decoration: underline; text-underline-offset: 3px; }
.privacy-modal-actions .privacy-accept { order: -1; flex-basis: 100%; }
@media (max-width: 720px) {
  .privacy-banner { grid-template-columns: 1fr; gap: 12px; left: 8px; right: 8px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); padding: 14px; border-radius: 16px; }
  .privacy-banner-icon { display: none; }
  .privacy-banner h2 { font-size: 15px; }
  .privacy-banner p { font-size: 12px; line-height: 1.45; }
  .privacy-banner .privacy-actions { width: 100%; flex-direction: initial; }
  .privacy-banner .privacy-actions button { min-height: 40px; font-size: 13px; }
  .privacy-banner .privacy-actions .privacy-accept { min-height: 46px; font-size: 15px; }
}

/* ---------- Passwort anzeigen ---------- */
.password-field { position: relative; display: block; }
.password-field input { width: 100%; padding-right: 54px !important; }
.password-toggle { position: absolute; top: 50%; right: 6px; display: grid; width: 42px; height: 42px; padding: 0; place-items: center; color: var(--ui-muted); background: transparent; border: 0; border-radius: 10px; cursor: pointer; transform: translateY(-50%); }
.password-toggle:hover, .password-toggle:focus-visible { color: var(--ui-primary); background: var(--ui-primary-soft); outline: none; }
.password-toggle svg { width: 22px; height: 22px; }
.password-toggle .icon-eye-off, .password-toggle[aria-pressed="true"] .icon-eye { display: none; }
.password-toggle[aria-pressed="true"] .icon-eye-off { display: block; }
.verification-waiting { display: flex; gap: 10px; align-items: center; margin: 4px 0 6px; padding: 12px 14px; color: var(--ui-text); background: var(--ui-soft); border-radius: 12px; font-size: 14px; line-height: 1.4; text-align: left; }
.verification-spinner { flex: 0 0 auto; width: 18px; height: 18px; border: 2px solid var(--ui-primary-line); border-top-color: var(--ui-primary); border-radius: 50%; animation: ui-spin .9s linear infinite; }
@keyframes ui-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .verification-spinner { animation-duration: 3s; } }

/* ---------- Terminbuchung ---------- */
.booking-head #bookingSubtitle { margin: 4px 0 0; }
.booking-progress { display: block; margin: 14px 0 0; }
.booking-progress-bars { display: flex; gap: 6px; }
.booking-progress-bars i { flex: 1; height: 4px; background: var(--ui-line); border-radius: 99px; transition: background .2s; }
.booking-progress-bars i.done { background: var(--ui-primary-line); }
.booking-progress-bars i.active { background: var(--ui-primary); }
.booking-progress p { margin: 8px 0 0; color: var(--ui-muted); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.booking-progress p strong { color: var(--ui-ink); }
#bookingModal .booking-step { display: grid; grid-template-columns: minmax(0, 1fr); flex: none; gap: 14px; align-content: start; min-width: 0; }
.sheet-body > *, .booking-step > *, .manual-section > * { min-width: 0; }
#bookingModal .booking-step > h3,
#bookingModal .booking-checkout-heading h3 { margin: 0; color: var(--ui-ink); font-family: var(--ui-sans); font-size: 19px; font-weight: 750; line-height: 1.25; }
#bookingModal .booking-step label { margin: 0; font-size: 13px; }
#bookingModal .service-search-field { margin: 0; }
#bookingModal .service-audience-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0; padding: 2px; background: transparent; border: 0; border-radius: 0; scrollbar-width: none; }
#bookingModal .service-audience-tabs::-webkit-scrollbar { display: none; }
#bookingModal .service-audience-tabs button { flex: 0 0 auto; min-height: 38px; padding: 8px 16px; color: var(--ui-text); background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 99px; font: 650 14px/1.2 var(--ui-sans); }
#bookingModal .service-audience-tabs button.active { color: #fff; background: var(--ui-primary); border-color: var(--ui-primary); }
#bookingModal .choice-grid { gap: 18px; }
.booking-service-group { display: grid; gap: 8px; }
.booking-service-group > h4 { display: flex; gap: 8px; align-items: baseline; margin: 0 0 2px; padding: 0; color: var(--ui-ink); background: none; border: 0; font: 750 15px/1.3 var(--ui-sans); }
.booking-service-group > h4 span { color: var(--ui-muted); font-size: 12px; font-weight: 600; }
#bookingModal .booking-service-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; min-height: 62px; margin: 0; padding: 12px 14px; color: var(--ui-ink); background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); box-shadow: none; cursor: pointer; font: inherit; text-align: left; transition: border-color .15s, background .15s; }
#bookingModal .booking-service-row:hover { border-color: var(--ui-primary-line); }
#bookingModal .booking-service-row.selected { background: var(--ui-primary-soft); border-color: var(--ui-primary); box-shadow: 0 0 0 1px var(--ui-primary); }
#bookingModal .booking-service-row .service-main { display: grid; gap: 2px; min-width: 0; }
#bookingModal .booking-service-row .service-main strong { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
#bookingModal .booking-service-row .service-main small { color: var(--ui-muted); font-size: 13px; font-weight: 500; }
#bookingModal .booking-service-row .service-price { color: var(--ui-ink); font-size: 15px; font-weight: 750; white-space: nowrap; }
.service-check, .choice-check { position: relative; display: block; width: 24px; height: 24px; background: var(--ui-surface); border: 2px solid #d9cbd2; border-radius: 50%; transition: background .15s, border-color .15s; }
.selected > .service-check, .selected > .choice-check { background: var(--ui-primary); border-color: var(--ui-primary); }
.selected > .service-check::after, .selected > .choice-check::after { content: ""; position: absolute; top: 4px; left: 7px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
#bookingModal .staff-choice-grid { gap: 10px; }
#bookingModal .choice-card.staff-choice { display: grid; grid-template-columns: 46px minmax(0, 1fr) 24px; gap: 14px; align-items: center; padding: 12px 14px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); box-shadow: none; }
#bookingModal .choice-card.staff-choice.selected { background: var(--ui-primary-soft); border-color: var(--ui-primary); box-shadow: 0 0 0 1px var(--ui-primary); }
.staff-avatar { display: grid; width: 46px; height: 46px; place-items: center; color: var(--ui-primary-dark); background: var(--ui-primary-soft); border: 1px solid var(--ui-primary-line); border-radius: 50%; font-size: 18px; font-weight: 750; }
.staff-copy { display: grid; gap: 2px; min-width: 0; }
.staff-copy strong { color: var(--ui-ink); font-size: 16px; }
.staff-copy span { color: var(--ui-muted); font-size: 13px; }

/* Terminauswahl: Tagesleiste + Uhrzeiten */
.slot-picker,
#manualSlotChoices.slot-picker,
.owner-edit-slots .slot-picker { display: block; max-height: none; padding: 0; overflow: visible; }
.owner-edit-slots { display: block; max-height: none; overflow: visible; padding: 0; }
.slot-picker .availability-week-nav { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 8px; align-items: center; margin: 0 0 12px; padding: 0; background: transparent; border: 0; border-radius: 0; }
.slot-picker .availability-week-nav strong { color: var(--ui-ink); font-size: 14px; font-weight: 700; text-align: center; }
.slot-picker .availability-week-nav button { display: grid; width: 40px; height: 40px; place-items: center; color: var(--ui-ink); background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 50%; font: 500 22px/1 var(--ui-sans); cursor: pointer; }
.slot-picker .availability-week-nav button:hover:not(:disabled) { color: var(--ui-primary); border-color: var(--ui-primary-line); }
.day-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(42px, 1fr); gap: 6px; overflow-x: auto; margin: 0 -2px 16px; padding: 2px; scroll-snap-type: x proximity; scrollbar-width: none; }
.day-strip::-webkit-scrollbar { display: none; }
.day-pill { display: grid; gap: 1px; justify-items: center; min-width: 0; min-height: 68px; padding: 8px 2px; color: var(--ui-ink); background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 14px; cursor: pointer; font-family: var(--ui-sans); scroll-snap-align: center; transition: background .15s, border-color .15s, color .15s; }
.day-pill small { color: var(--ui-muted); font-size: 11px; font-weight: 650; letter-spacing: .02em; }
.day-pill strong { font-size: 19px; font-weight: 750; line-height: 1.15; }
.day-pill em { color: var(--ui-muted); font-size: 11px; font-style: normal; font-weight: 500; }
.day-pill:hover:not(:disabled) { border-color: var(--ui-primary-line); }
.day-pill.active { color: #fff; background: var(--ui-primary); border-color: var(--ui-primary); box-shadow: 0 8px 18px rgba(168, 19, 76, .26); }
.day-pill.active small, .day-pill.active em { color: rgba(255, 255, 255, .86); }
.day-pill.has-selection:not(.active) { border-color: var(--ui-primary); }
.day-pill:disabled { color: #b9aeb4; background: var(--ui-soft); border-style: dashed; cursor: default; opacity: 1; }
.day-pill:disabled small, .day-pill:disabled em { color: #c3b9be; }
.day-times-title { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; justify-content: space-between; margin: 0 0 12px; }
.day-times-title strong { color: var(--ui-ink); font-size: 15px; }
.day-times-title span { color: var(--ui-muted); font-size: 13px; }
.time-group + .time-group { margin-top: 16px; }
.time-group h4 { margin: 0 0 8px; color: var(--ui-muted); font: 650 12px/1.2 var(--ui-sans); letter-spacing: .08em; text-transform: uppercase; }
.slot-picker .time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; padding: 0; border: 0; }
.slot-picker .time-chip { display: inline-flex; flex-direction: column; gap: 1px; align-items: center; justify-content: center; min-height: 46px; padding: 6px 4px; color: var(--ui-ink); background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 12px; box-shadow: none; cursor: pointer; font: 700 15px/1.2 var(--ui-sans); transition: background .15s, border-color .15s, color .15s; }
.slot-picker .time-chip small { max-width: 100%; overflow: hidden; color: var(--ui-muted); font-size: 11px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.slot-picker .time-chip:hover { border-color: var(--ui-primary); }
.slot-picker .time-chip.selected { color: #fff; background: var(--ui-primary); border-color: var(--ui-primary); box-shadow: 0 6px 16px rgba(168, 19, 76, .26); }
.slot-picker .time-chip.selected small { color: rgba(255, 255, 255, .86); }
.slot-loading { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-loading span { height: 46px; background: linear-gradient(90deg, #f4eef1 25%, #faf6f8 50%, #f4eef1 75%); background-size: 200% 100%; border-radius: 12px; animation: ui-shimmer 1.3s linear infinite; }
.slot-loading p { grid-column: 1 / -1; margin: 6px 0 0; color: var(--ui-muted); font-size: 13px; text-align: center; }
@keyframes ui-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .slot-loading span { animation: none; } }

.booking-footer { display: grid; gap: 10px; }
.booking-summary { display: grid; gap: 1px; min-width: 0; }
.booking-summary strong { overflow: hidden; color: var(--ui-ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.booking-summary span { color: var(--ui-muted); font-size: 13px; }
#bookingModal .booking-footer .booking-actions { position: static; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-end; gap: 10px; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
#bookingModal .booking-footer .booking-actions > * { width: auto; margin: 0; }
.booking-footer .booking-actions .primary-button { flex: 1 1 auto; min-height: 50px; justify-content: center; font-size: 16px; }
.booking-footer .booking-actions .secondary-button { flex: 0 0 auto; min-height: 50px; }
@media (min-width: 641px) {
  .booking-footer { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .booking-footer .booking-actions .primary-button { flex: 0 0 auto; min-width: 180px; }
}
#bookingModal .booking-payment-step { gap: 14px; }

/* Manueller Termin */
.manual-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0 0 20px; }
.manual-section + .manual-section { padding-top: 20px; border-top: 1px solid var(--ui-line); }
.manual-section:last-child { padding-bottom: 0; }
.manual-section h3 { display: flex; gap: 10px; align-items: center; margin: 0; color: var(--ui-ink); font-family: var(--ui-sans); font-size: 16px; font-weight: 750; }
.manual-section h3 > span { display: grid; flex: 0 0 auto; width: 24px; height: 24px; place-items: center; color: #fff; background: var(--ui-primary); border-radius: 50%; font-size: 12px; font-weight: 750; }
.manual-section h3 small { color: var(--ui-muted); font-size: 13px; font-weight: 500; }
.manual-section label, .manual-section .form-grid { margin: 0; }
.manual-section .segmented { margin: 0; }
.manual-slot-heading { display: grid; gap: 4px; }
.manual-slot-heading p { margin: 0; color: var(--ui-muted); font-size: 13px; }
#manualAppointmentModal .manual-booking-footer.sheet-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.manual-summary { display: grid; gap: 1px; min-width: 0; margin: 0; font-size: 13px; }
.manual-summary strong { color: var(--ui-ink); font-size: 14px; }
.manual-summary span { color: var(--ui-muted); }
#manualAppointmentModal #saveManualAppointment { width: auto; min-height: 50px; margin: 0; padding-inline: 22px; }
@media (max-width: 480px) {
  #manualAppointmentModal .manual-booking-footer.sheet-foot { grid-template-columns: 1fr; }
  #manualAppointmentModal #saveManualAppointment { width: 100%; }
}

/* ---------- Mein Studio: Übersicht ---------- */
.studio-setup-empty { display: grid; grid-template-columns: minmax(220px, 38%) minmax(0, 1fr); overflow: hidden; margin-bottom: 24px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 22px; box-shadow: 0 12px 34px rgba(54, 16, 36, .07); }
.studio-setup-visual { min-height: 260px; background: linear-gradient(180deg, rgba(38, 12, 29, .05), rgba(38, 12, 29, .35)), url("/assets/salorya-interior.jpg") center / cover; }
.studio-setup-copy { display: grid; gap: 12px; align-content: center; padding: clamp(22px, 4vw, 44px); }
.studio-setup-copy .eyebrow { margin: 0; }
.studio-setup-copy h3 { margin: 0; color: var(--ui-ink); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; }
.studio-setup-copy p { margin: 0; color: var(--ui-text); line-height: 1.6; }
.studio-setup-verify { padding: 12px 14px; color: #6a4a12 !important; background: #fff7e3; border: 1px solid #f0dca6; border-radius: 12px; font-size: 14px; }
.studio-setup-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 6px; }
.studio-setup-actions .text-button { padding: 8px 0; color: var(--ui-muted); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .studio-setup-empty { grid-template-columns: 1fr; }
  .studio-setup-visual { min-height: 150px; }
  .studio-setup-actions .primary-button { width: 100%; justify-content: center; }
}

.studio-checklist { margin-bottom: 22px; padding: clamp(16px, 2.6vw, 24px); background: linear-gradient(180deg, #fff, #fffafb); border: 1px solid var(--ui-primary-line); border-radius: var(--ui-radius-lg); box-shadow: 0 10px 30px rgba(120, 24, 60, .06); }
.studio-checklist-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.studio-checklist-head .eyebrow { margin: 0 0 4px; }
.studio-checklist-head h3 { margin: 0; color: var(--ui-ink); font-family: var(--ui-sans); font-size: 19px; font-weight: 750; line-height: 1.25; }
.studio-checklist-progress { display: flex; gap: 10px; align-items: center; color: var(--ui-muted); font-size: 13px; font-weight: 700; }
.studio-checklist-meter { width: 120px; height: 8px; overflow: hidden; background: var(--ui-line); border-radius: 99px; }
.studio-checklist-meter i { display: block; height: 100%; background: var(--ui-primary); border-radius: 99px; }
.studio-checklist ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.studio-checklist li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 12px; }
.studio-checklist li > div { display: grid; gap: 1px; min-width: 0; }
.studio-checklist li strong { color: var(--ui-ink); font-size: 14px; }
.studio-checklist li small { color: var(--ui-muted); font-size: 13px; line-height: 1.4; }
.studio-check { display: grid; width: 24px; height: 24px; place-items: center; color: #fff; border: 2px solid #d9cbd2; border-radius: 50%; font-size: 13px; font-weight: 800; line-height: 1; }
.studio-checklist li.is-done { background: transparent; border-color: transparent; padding-block: 4px; }
.studio-checklist li.is-done .studio-check { background: var(--ui-success); border-color: var(--ui-success); }
.studio-checklist li.is-done strong { color: var(--ui-muted); font-weight: 600; }
.studio-checklist li.is-done small { display: none; }
.studio-checklist li.is-pending .studio-check { color: #8a6412; background: #fff3cd; border-color: #f0dca6; }
@media (max-width: 560px) {
  .studio-checklist li.is-open { grid-template-columns: 26px minmax(0, 1fr); }
  .studio-checklist li.is-open .secondary-button { grid-column: 2; justify-self: start; }
}

.studio-cover-summary { position: relative; }
.studio-cover-summary > .studio-media-edit { position: absolute; top: 14px; right: 14px; bottom: auto; left: auto; z-index: 3; width: auto; height: auto; min-height: 38px; display: inline-flex; gap: 7px; align-items: center; padding: 9px 13px; color: var(--ui-ink); background: rgba(255, 255, 255, .94); border: 0; border-radius: 99px; box-shadow: 0 6px 18px rgba(30, 10, 20, .2); cursor: pointer; font: 700 13px/1 var(--ui-sans); }
.studio-cover-summary > .studio-media-edit svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.studio-summary-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.panel-edit-button { display: inline-flex; flex: 0 0 auto; gap: 6px; align-items: center; min-height: 36px; padding: 7px 14px; color: var(--ui-primary); background: var(--ui-primary-soft); border: 1px solid var(--ui-primary-line); border-radius: 99px; cursor: pointer; font: 700 13px/1 var(--ui-sans); transition: background .15s, color .15s; }
.panel-edit-button:hover, .panel-edit-button:focus-visible { color: #fff; background: var(--ui-primary); border-color: var(--ui-primary); outline: none; }
.studio-display-panel .panel-heading { align-items: center; }
.studio-rules-list, .studio-hours-list { display: grid; gap: 0; }
.studio-rules-list > div { display: flex; gap: 14px; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--ui-line); font-size: 14px; }
.studio-rules-list > div:last-child { border-bottom: 0; }
.studio-rules-list span { color: var(--ui-muted); }
.studio-rules-list strong { color: var(--ui-ink); text-align: right; }
.studio-hours-list > div.is-closed strong { color: var(--ui-muted); font-weight: 500; }
.studio-panel-empty { display: grid; gap: 12px; justify-items: start; padding: 18px; background: var(--ui-soft); border: 1px dashed #dccdd4; border-radius: 12px; }
.studio-panel-empty p { margin: 0; color: var(--ui-muted); }
.service-overview-area + .service-overview-area { margin-top: 18px; }
.service-overview-area > h4 { display: inline-flex; margin: 0 0 10px; padding: 5px 12px; color: var(--ui-primary-dark); background: var(--ui-primary-soft); border-radius: 99px; font: 750 13px/1.2 var(--ui-sans); letter-spacing: .02em; }

/* ---------- Mein Studio: gezieltes Bearbeiten ---------- */
.studio-edit-shell { margin-top: 0; }
.studio-edit-heading { display: grid; gap: 12px; margin: 0 0 16px; padding: 0; background: transparent; border: 0; border-radius: 0; }
.studio-edit-back { display: inline-flex; gap: 8px; align-items: center; justify-self: start; min-height: 40px; padding: 8px 16px 8px 12px; color: var(--ui-ink); background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 99px; cursor: pointer; font: 650 14px/1 var(--ui-sans); }
.studio-edit-back:hover, .studio-edit-back:focus-visible { color: var(--ui-primary); border-color: var(--ui-primary-line); outline: none; }
.studio-edit-heading h3 { margin: 0; color: var(--ui-ink); font-size: clamp(28px, 4vw, 40px); font-weight: 500; line-height: 1.1; }
.studio-edit-heading p { margin: 6px 0 0; color: var(--ui-muted); font-size: 15px; line-height: 1.5; }
.studio-edit-nav { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 18px; padding: 2px 2px 6px; scrollbar-width: none; }
.studio-edit-nav::-webkit-scrollbar { display: none; }
.studio-edit-nav button { flex: 0 0 auto; min-height: 40px; padding: 9px 16px; color: var(--ui-text); background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 99px; cursor: pointer; font: 650 14px/1.1 var(--ui-sans); white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.studio-edit-nav button:hover { border-color: var(--ui-primary-line); color: var(--ui-primary); }
.studio-edit-nav button.active { color: #fff; background: var(--ui-primary); border-color: var(--ui-primary); }
@media (min-width: 1100px) {
  .studio-edit-shell:not([hidden]) { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 28px; align-items: start; }
  .studio-edit-heading { grid-column: 1 / -1; }
  .studio-edit-nav { position: sticky; top: 20px; flex-direction: column; overflow: visible; margin: 0; padding: 8px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 16px; }
  .studio-edit-nav button { justify-content: flex-start; padding: 11px 14px; border-color: transparent; border-radius: 10px; text-align: left; }
  .studio-edit-nav button:hover { background: var(--ui-soft); border-color: transparent; }
  .studio-edit-nav button.active { background: var(--ui-primary-soft); color: var(--ui-primary-dark); border-color: transparent; font-weight: 750; }
  .studio-edit-shell[data-section] .studio-edit-nav[hidden] + .dashboard-content { grid-column: 1 / -1; max-width: 760px; }
}
.studio-edit-shell .dashboard-content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.studio-edit-shell, .studio-edit-nav, .editor-panel.studio-form, .studio-form > * { min-width: 0; max-width: 100%; }
.owner-service-row.service-chip { border-bottom: 0; }
.editor-panel.studio-form { padding: clamp(16px, 2.6vw, 26px); background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius-lg); box-shadow: 0 8px 26px rgba(54, 16, 36, .05); }
.studio-form .panel-heading { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-start; justify-content: space-between; margin: 0 0 16px; }
.studio-form .panel-heading h3 { margin: 0; color: var(--ui-ink); font-family: var(--ui-sans); font-size: 18px; font-weight: 750; }
.studio-form .panel-heading p { margin: 4px 0 0; color: var(--ui-muted); font-size: 14px; line-height: 1.45; }
.studio-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.studio-form .form-grid > .form-grid-wide, .studio-form .form-grid > .salon-address-wide, .onboarding-card .form-grid > .form-grid-wide { grid-column: 1 / -1; }
.studio-form label { margin-bottom: 0; }
.profile-group { display: grid; gap: 22px; }
.form-section { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 0; border: 0; }
.form-section + .form-section { padding-top: 22px; border-top: 1px solid var(--ui-line); }
.form-section > legend, .pro-settings.form-section > h4 { float: left; width: 100%; margin: 0 0 2px; padding: 0; color: var(--ui-ink); font: 750 16px/1.3 var(--ui-sans); }
.form-section > legend + * { clear: both; }
.pro-settings.form-section { margin: 0; }
.profile-group-note { margin: 0; padding: 14px 16px; color: var(--ui-success); background: var(--ui-success-soft); border-radius: 12px; font-weight: 600; }
.setting-switch { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; background: var(--ui-soft); border-radius: 12px; }
.setting-switch > span { display: grid; gap: 3px; }
.setting-switch b { color: var(--ui-ink); font-size: 15px; }
.setting-switch small { color: var(--ui-muted); font-weight: 500; line-height: 1.4; }
.editor-save-bar { position: sticky; bottom: 0; z-index: 4; display: flex; justify-content: flex-end; margin: 22px calc(-1 * clamp(16px, 2.6vw, 26px)) calc(-1 * clamp(16px, 2.6vw, 26px)); padding: 14px clamp(16px, 2.6vw, 26px); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--ui-line); border-radius: 0 0 var(--ui-radius-lg) var(--ui-radius-lg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.editor-save-bar .primary-button { min-height: 48px; padding-inline: 26px; }
#ownerVerificationNotice + .profile-group { margin-top: 0; }
.studio-form .verification-notice { margin-bottom: 18px; }
@media (max-width: 900px) {
  .editor-save-bar { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .editor-save-bar .primary-button { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .studio-form .form-grid { grid-template-columns: 1fr; }
  .studio-form .panel-heading > .secondary-button { width: 100%; justify-content: center; }
}

/* Öffnungszeiten */
.hours-grid { gap: 8px; margin-bottom: 18px; }
.hours-grid .hours-row { display: grid; grid-template-columns: minmax(150px, 1fr) auto; gap: 10px 16px; align-items: center; min-height: 60px; padding: 8px 14px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 12px; }
.hours-grid .hours-row.is-closed { background: var(--ui-soft); }
.hours-toggle { display: flex; gap: 12px; align-items: center; margin: 0; color: var(--ui-ink); cursor: pointer; font-size: 15px; font-weight: 650; }
.hours-toggle input { position: absolute; width: 1px; min-height: 0; height: 1px; opacity: 0; }
.hours-switch { position: relative; flex: 0 0 auto; width: 44px; height: 26px; background: #d9cdd3; border-radius: 99px; transition: background .18s; }
.hours-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: transform .18s; }
.hours-toggle input:checked + .hours-switch { background: var(--ui-primary); }
.hours-toggle input:checked + .hours-switch::after { transform: translateX(18px); }
.hours-toggle input:focus-visible + .hours-switch { outline: 3px solid rgba(168, 19, 76, .3); outline-offset: 2px; }
.hours-times { display: flex; gap: 8px; align-items: center; color: var(--ui-muted); }
.hours-times input { width: 118px; min-height: 42px; margin: 0; padding: 6px 10px; text-align: center; }
.hours-closed-label { display: none; color: var(--ui-muted); font-size: 14px; }
.hours-row.is-closed .hours-times { display: none; }
.hours-row.is-closed .hours-closed-label { display: block; justify-self: end; }
.hours-row.is-closed .hours-day { color: var(--ui-muted); }
@media (max-width: 520px) {
  .hours-grid .hours-row { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .hours-row.is-closed { grid-template-columns: 1fr auto !important; }
  .hours-times input { flex: 1 1 0; width: auto; min-width: 0; }
}

/* Leistungen: Servicebereich › Kategorie › Leistung */
.service-flow-hint { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: none; }
.service-flow-hint li { position: relative; display: flex; gap: 10px; align-items: center; min-width: 0; padding: 10px 12px; background: var(--ui-soft); border-radius: 12px; }
.service-flow-hint li + li::before { content: "›"; position: absolute; left: -9px; color: #c7b8bf; font-size: 18px; }
.service-flow-hint b { display: grid; flex: 0 0 auto; width: 24px; height: 24px; place-items: center; color: #fff; background: var(--ui-primary); border-radius: 50%; font-size: 12px; }
.service-flow-hint span { display: grid; min-width: 0; color: var(--ui-ink); font-size: 14px; font-weight: 700; line-height: 1.2; }
.service-flow-hint small { overflow: hidden; color: var(--ui-muted); font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.service-audience-tabs.service-area-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 16px; padding: 2px; background: transparent; border: 0; border-radius: 0; scrollbar-width: none; }
.service-area-tabs::-webkit-scrollbar { display: none; }
.service-audience-tabs.service-area-tabs button { display: inline-flex; flex: 0 0 auto; gap: 8px; align-items: center; min-height: 42px; padding: 9px 16px; color: var(--ui-text); background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 99px; font: 700 14px/1.1 var(--ui-sans); cursor: pointer; }
.service-audience-tabs.service-area-tabs button span { display: grid; min-width: 22px; height: 22px; padding: 0 6px; place-items: center; color: var(--ui-muted); background: var(--ui-soft); border-radius: 99px; font-size: 12px; }
.service-audience-tabs.service-area-tabs button.active { color: #fff; background: var(--ui-primary); border-color: var(--ui-primary); }
.service-audience-tabs.service-area-tabs button.active span { color: var(--ui-primary-dark); background: #fff; }
.service-audience-tabs.service-area-tabs button.service-area-add { color: var(--ui-primary); background: transparent; border: 1px dashed var(--ui-primary-line); }
.service-area-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin: 0 0 14px; }
.service-area-head h4 { margin: 0; color: var(--ui-ink); font: 750 20px/1.2 var(--ui-sans); }
.service-area-head small { color: var(--ui-muted); font-size: 13px; }
.service-area-actions { display: flex; gap: 14px; }
.service-area-actions .text-button { padding: 6px 0; font-size: 13px; }
.owner-service-list .owner-service-category { overflow: hidden; margin: 0 0 12px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); }
.owner-service-list .owner-service-category > h3 { display: flex; flex-direction: row; gap: 10px; align-items: center; justify-content: space-between; margin: 0; padding: 10px 10px 10px 16px; color: var(--ui-ink); background: var(--ui-soft); font: 750 15px/1.3 var(--ui-sans); }
.owner-service-list .owner-service-category > h3 > span:first-child { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; min-width: 0; width: auto; height: auto; padding: 0; color: inherit; background: none; border-radius: 0; font-size: inherit; place-items: initial; }
.owner-service-list .owner-service-category > h3 small { color: var(--ui-muted); font-size: 12px; font-weight: 500; }
.owner-service-list .service-category-actions { display: flex; flex: 0 0 auto; gap: 2px; width: auto; height: auto; min-width: 0; padding: 0; background: none; }
.owner-service-list .service-category-items { display: grid; gap: 0; padding: 0; }
.owner-service-row.service-chip { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; gap: 12px; align-items: center; width: 100%; min-height: 58px; margin: 0; padding: 10px 14px 10px 16px; color: var(--ui-ink); background: var(--ui-surface); border: 0; border-top: 1px solid var(--ui-line); border-radius: 0; box-shadow: none; cursor: pointer; font: inherit; text-align: left; }
.owner-service-row.service-chip:hover, .owner-service-row.service-chip:focus-visible { background: var(--ui-primary-soft); outline: none; }
.owner-service-row > span:first-child { display: grid; gap: 2px; min-width: 0; }
.owner-service-row strong { font-size: 15px; overflow-wrap: anywhere; }
.owner-service-row small { color: var(--ui-muted); font-size: 13px; }
.owner-service-row .service-price { font-weight: 750; white-space: nowrap; }
.row-chevron { color: #c2b3ba; font-size: 20px; line-height: 1; }
.service-category-empty { margin: 0; padding: 14px 16px; color: var(--ui-muted); border-top: 1px solid var(--ui-line); font-size: 14px; }
.service-add-row, .service-add-category { display: flex; gap: 8px; align-items: center; width: 100%; min-height: 46px; padding: 10px 16px; color: var(--ui-primary); background: transparent; border: 0; cursor: pointer; font: 700 14px/1.2 var(--ui-sans); text-align: left; }
.service-add-row { border-top: 1px solid var(--ui-line); }
.service-add-row:hover, .service-add-row:focus-visible { background: var(--ui-primary-soft); outline: none; }
.service-add-row > span, .service-add-category > span { display: grid; flex: 0 0 auto; width: 22px; height: 22px; place-items: center; color: #fff; background: var(--ui-primary); border-radius: 50%; font-size: 16px; line-height: 1; }
.service-add-category { justify-content: center; min-height: 52px; border: 1px dashed var(--ui-primary-line); border-radius: var(--ui-radius); }
.service-add-category:hover, .service-add-category:focus-visible { background: var(--ui-primary-soft); border-style: solid; outline: none; }
.service-empty-start { display: grid; gap: 10px; justify-items: start; margin: 0 0 12px; padding: clamp(18px, 3vw, 28px); background: var(--ui-soft); border: 1px dashed #dccdd4; border-radius: var(--ui-radius-lg); }
.service-empty-start.is-compact { padding: 18px; }
.service-empty-step { padding: 4px 10px; color: #fff; background: var(--ui-primary); border-radius: 99px; font-size: 12px; font-weight: 750; letter-spacing: .04em; }
.service-empty-start h4 { margin: 0; color: var(--ui-ink); font: 750 18px/1.3 var(--ui-sans); }
.service-empty-start p { max-width: 560px; margin: 0; color: var(--ui-text); font-size: 14px; line-height: 1.55; }
.service-quick-areas, .structure-suggestions, .duration-chips, .onboarding-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.service-quick-areas { margin-top: 6px; }
.service-quick-areas button, .structure-suggestions button, .duration-chips button, .onboarding-presets button { min-height: 40px; padding: 8px 16px; color: var(--ui-ink); background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 99px; cursor: pointer; font: 650 14px/1.1 var(--ui-sans); transition: background .15s, border-color .15s, color .15s; }
.service-quick-areas button:hover, .structure-suggestions button:hover, .duration-chips button:hover, .onboarding-presets button:hover { color: var(--ui-primary); border-color: var(--ui-primary); }
.service-quick-areas button.is-custom { color: var(--ui-primary); background: transparent; border-style: dashed; border-color: var(--ui-primary-line); }
.duration-chips button.active, .onboarding-presets button.active { color: #fff; background: var(--ui-primary); border-color: var(--ui-primary); }
#serviceTemplateSuggestions { display: grid; gap: 8px; margin: 0 0 16px; padding: 16px; background: #fffaf0; border: 1px solid #f0e0b8; border-radius: var(--ui-radius); }
#serviceTemplateSuggestions strong { color: var(--ui-ink); }
#serviceTemplateSuggestions p { margin: 0 0 4px; color: var(--ui-text); font-size: 14px; }
#serviceTemplateSuggestions .secondary-button { justify-self: start; }
@media (max-width: 520px) {
  .service-flow-hint { gap: 6px; }
  .service-flow-hint li { flex-direction: column; gap: 6px; align-items: flex-start; padding: 10px; }
  .service-flow-hint li + li::before { display: none; }
  .service-flow-hint span { font-size: 12px; overflow-wrap: anywhere; }
  .service-flow-hint small { white-space: normal; }
}

/* Dialoge für Bereich, Kategorie und Leistung */
.structure-suggestions { align-items: center; margin: 0 0 16px; }
.structure-suggestions > span { width: 100%; color: var(--ui-muted); font-size: 13px; font-weight: 650; }
.service-edit-path { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 0 !important; }
.service-edit-path span { padding: 4px 10px; color: var(--ui-primary-dark); background: var(--ui-primary-soft); border-radius: 99px; font-size: 13px; font-weight: 700; }
.service-edit-path i { color: #c2b3ba; font-style: normal; }
.duration-field { display: grid; gap: 10px; margin: 0 0 16px; }
.duration-field .duration-custom { max-width: 220px; margin: 0; }
.service-edit-actions.sheet-foot .danger-button { margin-right: auto; }
@media (max-width: 640px) {
  .service-edit-actions.sheet-foot { display: grid; grid-template-columns: 1fr 1fr; }
  .service-edit-actions.sheet-foot .primary-button { grid-column: 1 / -1; order: -1; min-height: 50px; justify-content: center; }
  .service-edit-actions.sheet-foot .danger-button, .service-edit-actions.sheet-foot .secondary-button { width: 100%; margin: 0; justify-content: center; }
  .service-edit-actions.sheet-foot .danger-button[hidden] + .secondary-button { grid-column: 1 / -1; }
}

/* ---------- Onboarding für neue Studios ---------- */
.modal.onboarding-modal { width: min(680px, calc(100vw - 24px)); }
.onboarding-modal .modal-card.onboarding-card { display: flex; flex-direction: column; height: min(820px, calc(100dvh - 32px)); max-height: none; padding: 0; overflow: hidden; }
.onboarding-top { display: flex; flex: 0 0 auto; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 22px 12px; }
.onboarding-brand { display: flex; gap: 10px; align-items: center; color: var(--ui-ink); font: 750 15px/1 var(--ui-sans); }
.onboarding-brand img { width: 32px; height: 32px; border-radius: 9px; }
.onboarding-later { padding: 8px 4px; color: var(--ui-muted); background: none; border: 0; cursor: pointer; font: 600 14px/1 var(--ui-sans); text-decoration: underline; text-underline-offset: 3px; }
.onboarding-later:hover { color: var(--ui-primary); }
.onboarding-progress { flex: 0 0 auto; height: 6px; margin: 0 22px; overflow: hidden; background: var(--ui-line); border-radius: 99px; }
.onboarding-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--ui-primary), #d0537f); border-radius: 99px; transition: width .35s ease; }
.onboarding-body { flex: 1 1 auto; min-height: 0; padding: 22px clamp(20px, 5vw, 44px) 26px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.onboarding-step { display: grid; gap: 16px; align-content: start; animation: ui-step-in .28s ease; }
@keyframes ui-step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .onboarding-step { animation: none; } .onboarding-progress span { transition: none; } }
.onboarding-kicker { margin: 0; color: var(--ui-primary); font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.onboarding-step h2 { margin: 0; color: var(--ui-ink); font-size: clamp(26px, 5vw, 34px); font-weight: 500; line-height: 1.12; }
.onboarding-lead { margin: -6px 0 4px; color: var(--ui-text); font-size: 16px; line-height: 1.55; }
.onboarding-note { margin: 0; color: var(--ui-muted); font-size: 13px; line-height: 1.5; }
.onboarding-card label { margin: 0; font-size: 13px; }
.onboarding-card .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.onboarding-hero { display: flex; align-items: flex-end; min-height: 170px; padding: 18px 20px; background: linear-gradient(180deg, rgba(38, 12, 29, 0) 30%, rgba(38, 12, 29, .62)), url("/assets/salorya-interior.jpg") center 40% / cover; border-radius: 18px; }
.onboarding-hero span { color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 22px; font-style: italic; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.onboarding-overview { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.onboarding-overview li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; background: var(--ui-soft); border-radius: 12px; }
.onboarding-overview b { display: grid; width: 34px; height: 34px; place-items: center; color: var(--ui-primary-dark); background: #fff; border: 1px solid var(--ui-primary-line); border-radius: 50%; font-size: 14px; }
.onboarding-overview span { display: grid; gap: 1px; }
.onboarding-overview strong { color: var(--ui-ink); font-size: 15px; }
.onboarding-overview small { color: var(--ui-muted); font-size: 13px; }
.onboarding-categories { min-width: 0; margin: 0; padding: 0; border: 0; }
.onboarding-categories legend { margin: 0 0 10px; padding: 0; color: var(--ui-muted); font-size: 13px; font-weight: 650; }
.onboarding-category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.onboarding-category-grid label { position: relative; display: block; cursor: pointer; }
.onboarding-category-grid input { position: absolute; width: 1px; min-height: 0; height: 1px; opacity: 0; }
.onboarding-category-grid label > span { display: flex; gap: 10px; align-items: center; min-height: 62px; padding: 8px 12px 8px 8px; color: var(--ui-ink); background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); font-size: 14px; font-weight: 700; line-height: 1.2; transition: border-color .15s, background .15s; }
.onboarding-category-grid label:hover > span { border-color: var(--ui-primary-line); }
.onboarding-category-grid input:checked + span { background: var(--ui-primary-soft); border-color: var(--ui-primary); box-shadow: 0 0 0 1px var(--ui-primary); }
.onboarding-category-grid input:focus-visible + span { outline: 3px solid rgba(168, 19, 76, .3); outline-offset: 2px; }
.onboarding-category-grid .category-visual { flex: 0 0 44px; width: 44px; height: 44px; min-height: 0; margin: 0; aspect-ratio: auto; border-radius: 10px; }
.onboarding-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.onboarding-media-grid .upload-field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.onboarding-media-grid .upload-field > span { color: var(--ui-muted); font-size: 13px; font-weight: 650; }
.onboarding-media-grid .image-dropzone { min-height: 120px; margin: 0; padding: 16px; }
.onboarding-media-grid .document-upload-status { color: var(--ui-success); font-size: 14px; font-weight: 700; }
.onboarding-media-grid .document-upload-status::before { content: "✓ "; }
.onboarding-presets { margin-bottom: 2px; }
.onboarding-done { justify-items: center; text-align: center; }
.onboarding-done-icon { display: grid; width: 72px; height: 72px; place-items: center; background: var(--ui-success-soft); border-radius: 50%; }
.onboarding-done-icon svg { width: 36px; height: 36px; fill: none; stroke: var(--ui-success); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.onboarding-summary { display: grid; gap: 8px; width: 100%; margin: 6px 0 0; padding: 0; list-style: none; text-align: left; }
.onboarding-summary li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; background: var(--ui-soft); border-radius: 12px; }
.onboarding-summary li > span { display: grid; width: 24px; height: 24px; place-items: center; color: #fff; background: var(--ui-success); border-radius: 50%; font-size: 13px; font-weight: 800; }
.onboarding-summary li.is-open > span { color: #8a6412; background: #fff3cd; }
.onboarding-summary li > div { display: grid; gap: 1px; min-width: 0; }
.onboarding-summary strong { color: var(--ui-ink); font-size: 14px; }
.onboarding-summary small { color: var(--ui-muted); font-size: 13px; }
.onboarding-error { flex: 0 0 auto; margin: 0 22px 10px; padding: 10px 14px; color: #8f1830; background: #fff0f3; border: 1px solid #e3a8b4; border-radius: 10px; font-size: 14px; font-weight: 650; }
.onboarding-actions { display: flex; flex: 0 0 auto; gap: 10px; align-items: center; padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--ui-line); }
.onboarding-actions .primary-button { min-height: 50px; margin-left: auto; padding-inline: 26px; font-size: 16px; }
.onboarding-actions > button { flex: 0 0 auto; width: auto; margin-top: 0; margin-bottom: 0; }
.onboarding-actions .secondary-button { min-height: 50px; }
.onboarding-actions .primary-button span { margin-left: 8px; }
#onboardingModal .modal-card.onboarding-card { height: min(820px, calc(100dvh - 32px)); max-height: none; }
.onboarding-actions .text-button { padding: 10px 6px; color: var(--ui-muted); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  #onboardingModal.modal[open] { inset: 0; width: 100%; height: 100dvh; max-height: 100dvh; }
  #onboardingModal .modal-card.onboarding-card { height: 100dvh; max-height: none; border-radius: 0; }
  .onboarding-top { padding: calc(12px + env(safe-area-inset-top, 0px)) 18px 10px; }
  .onboarding-progress { margin: 0 18px; }
  .onboarding-body { padding: 18px 18px 22px; }
  .onboarding-card .form-grid, .onboarding-media-grid { grid-template-columns: 1fr; }
  .onboarding-category-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .onboarding-category-grid label > span { min-height: 58px; font-size: 13px; }
  .onboarding-category-grid .category-visual { flex-basis: 38px; width: 38px; height: 38px; }
  .onboarding-hero { min-height: 130px; }
  .onboarding-error { margin: 0 18px 8px; }
  .onboarding-actions { flex-wrap: wrap; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .onboarding-actions .primary-button { flex: 1 1 auto; justify-content: center; }
  .onboarding-actions [data-onboarding-finish] { flex: 1 1 100%; order: 3; justify-content: center; }
  .onboarding-actions [data-onboarding-skip] { order: -1; flex: 1 1 100%; padding: 2px 6px 6px; text-align: center; }
}

/* Im Bearbeitungsmodus bleibt der Platz am unteren Rand für die Speichern-Leiste frei. */
body:has(#studioView:not([hidden]) #studioEditShell:not([hidden])) .owner-quick-booking-fab { display: none !important; }
@media (max-width: 900px) {
  #studioView:has(#studioEditShell:not([hidden])) .studio-page-heading { display: none; }
}

/* ---------- Mobile Feinschliff ---------- */
.booking-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.booking-tabs button { min-width: 0; overflow-wrap: anywhere; }
.hours-grid .hours-row, .hours-times { min-width: 0; }
.hours-times input { min-width: 0; }
.studio-form .service-chip { flex-wrap: wrap; gap: 8px 12px; }
.studio-form .service-item-actions { flex-wrap: wrap; min-width: 0; }
.manual-section .segmented button { min-height: 40px; font-size: 14px; }
.manual-slot-heading p, .manual-section > p { font-weight: 500; }
@media (max-width: 640px) {
  .booking-tabs button { padding: 14px 6px; font-size: 16px; }
  .studio-form .service-item-actions { width: 100%; margin-left: 0; }
  .studio-form .service-item-actions > strong { margin-right: auto; }
  .studio-form .staff-grid, .studio-form .vacation-grid { grid-template-columns: 1fr; }
  .studio-form .staff-grid > button, .studio-form .vacation-grid > button { width: 100%; justify-content: center; }
  .owner-page { padding-inline: 16px; }
}
#studioView:has(#studioSetupEmpty:not([hidden])) .studio-share-actions,
#studioView:has(#studioEditShell[data-section="basics"] #studioEditNav[hidden]) .studio-share-actions { display: none; }
.auth-email-verification h3 { margin: 0; color: var(--ui-ink); font-family: var(--ui-sans); font-size: 24px; font-weight: 750; line-height: 1.2; }
.home-announcement{display:flex;align-items:center;gap:clamp(18px,3vw,34px);margin:clamp(22px,4vw,44px) 0;padding:clamp(22px,4vw,38px);border:1px solid #ead9df;border-radius:28px;background:linear-gradient(115deg,#fff8fa 0%,#fff 62%,#f6e8ee 100%);box-shadow:0 18px 42px rgba(76,25,48,.08)}
.home-announcement[hidden]{display:none}.home-announcement-mark{display:grid;place-items:center;flex:none;width:66px;height:66px;border-radius:22px;background:#912747;color:white;font-size:30px}.home-announcement-copy{flex:1;min-width:0}.home-announcement-copy h2{margin:5px 0 8px;font:700 clamp(24px,3vw,38px)/1.15 Georgia,serif;color:#39152b}.home-announcement-copy p{margin:0;max-width:65ch;color:#6c5d65;line-height:1.55}.home-announcement-link{display:inline-flex;gap:10px;align-items:center;justify-content:center;flex:none;padding:13px 18px;border-radius:999px;background:#892445;color:#fff;text-decoration:none;font-weight:700}.home-announcement-link:hover{background:#6c1735}
@media(max-width:700px){.home-announcement{align-items:flex-start;flex-wrap:wrap}.home-announcement-mark{width:48px;height:48px;border-radius:16px;font-size:24px}.home-announcement-copy{flex-basis:calc(100% - 70px)}.home-announcement-link{margin-left:66px}}
.owner-feature-preview{margin:22px 0;padding:24px;border:1px solid #e9dce1;border-radius:22px;background:#fff}.owner-feature-preview h4{margin:4px 0 16px;font:700 25px Georgia,serif}.owner-feature-grid{display:flex;flex-wrap:wrap;gap:9px}.owner-feature-chip{padding:9px 13px;border-radius:999px;font-size:13px;font-weight:650}.owner-feature-chip.is-available{background:#f0f7ef;color:#27613e}.owner-feature-chip.is-locked{background:#f6f1f3;color:#78646d}.pro-monitoring-preview{background:linear-gradient(120deg,#fff9fb,#f8eef2)}.pro-monitoring-preview>p{margin:0;color:#66555e}.pro-monitoring-preview>.secondary-button{justify-self:start}.plan-lock-label{display:inline-block;margin-left:6px;padding:3px 8px;border-radius:999px;background:#f3e5eb;color:#8c2750;font:700 12px sans-serif;vertical-align:middle}.pro-settings:has(.plan-lock-label:not([hidden])){background:#fcf9fa;border-color:#e9dce1}.pro-settings:has(.plan-lock-label:not([hidden])) input:disabled{opacity:.55}.is-plan-locked{opacity:.72}
.is-plan-locked-nav{opacity:.65}.is-plan-locked-nav::after{content:"🔒";margin-left:auto;font-size:12px}.is-plan-locked-nav:hover{opacity:.85}


/* ============================================================================
   UI-Polish 2026-11-15 · Go-Live: Icon-System, Landingpage, Abo-Bereich, Animationen
   ========================================================================== */

/* --- Icon-System ---------------------------------------------------------- */
.ui-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ui-icon { display: inline-block; flex: none; width: 1.15em; height: 1.15em; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ui-icon.is-filled { fill: currentColor; }
.ui-icon-cta { width: 1em; height: 1em; margin-left: 2px; transition: transform 180ms ease; }
a:hover > .ui-icon-cta, button:hover > .ui-icon-cta { transform: translateX(3px); }
.primary-button, .secondary-button, .ghost-button, .text-button, .story-secondary-link, .story-section-head > a, .support-back, .studio-edit-back { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.story-section-head > a { justify-content: flex-start; }
.icon-close .ui-icon { width: 20px; height: 20px; }
.icon-nav-button .ui-icon, .category-carousel-controls button .ui-icon, .availability-week-nav button .ui-icon { width: 20px; height: 20px; }
.favorite-button .ui-icon { width: 22px; height: 22px; stroke-width: 1.9; }
.favorite-button.active { color: #c0164f; }
.review-stars, .existing-review span, .salon-rating span, .rating-score span { display: inline-flex; gap: 1px; letter-spacing: 0; }
.review-stars .ui-icon, .existing-review .ui-icon, .salon-rating .ui-icon, .rating-score .ui-icon { width: 15px; height: 15px; stroke-width: 1.6; }
.rating-score .ui-icon { width: 19px; height: 19px; }
[data-rating-value] { display: inline-grid; place-items: center; }
[data-rating-value] .ui-icon { width: 30px; height: 30px; stroke-width: 1.5; }
[data-rating-value].selected { color: #c0164f; }
.verification-icon .ui-icon { width: 26px; height: 26px; stroke-width: 1.6; }
.booking-payment-icon .ui-icon { width: 21px; height: 21px; }
.verified-badge .ui-icon, .salon-card-verified .ui-icon { width: 12px; height: 12px; stroke-width: 2.6; }
.verified-badge .ui-icon { width: 14px; height: 14px; }
.owner-verified-check .ui-icon { width: 16px; height: 16px; stroke-width: 2.2; }
.studio-check .ui-icon { width: 16px; height: 16px; stroke-width: 2.4; }
.customer-booking-empty > span .ui-icon { width: 34px; height: 34px; stroke-width: 1.4; }
.service-plus-button .ui-icon { width: 22px; height: 22px; stroke-width: 2.1; }
.row-chevron .ui-icon { width: 20px; height: 20px; }
.service-edit-path i .ui-icon, #serviceEditPath i .ui-icon { width: 14px; height: 14px; }
.salon-map-marker span .ui-icon { width: 16px; height: 16px; stroke-width: 2; }
.home-announcement-mark .ui-icon { width: 30px; height: 30px; stroke-width: 1.5; }
.service-search-icon { display: inline-grid; place-items: center; }
.service-search-icon .ui-icon { width: 18px; height: 18px; }
.owner-feature-chip .ui-icon { width: 14px; height: 14px; stroke-width: 2.2; margin-right: 1px; }
.owner-feature-chip.is-locked .ui-icon { opacity: .75; }
.owner-feature-link { display: inline-flex; width: 100%; align-items: center; gap: 6px; margin: 14px 0 0; color: var(--ui-primary); font-size: 14px; font-weight: 700; text-decoration: none; }
.pro-monitoring-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--ui-primary); background: #fff; border: 1px solid var(--ui-primary-line); border-radius: 13px; }
.pro-monitoring-icon .ui-icon { width: 22px; height: 22px; }
.partner-plan li::before { content: none; }
.partner-plan li { position: relative; padding-left: 24px; }
.partner-plan li::after { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ui-primary-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c315a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); background-size: 10px; background-position: center; background-repeat: no-repeat; }
.story-partner-teaser li::before, .partner-product-copy li::before { content: ""; background-color: #bd7784; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); background-size: 10px; background-position: center; background-repeat: no-repeat; }

/* --- Owner sidebar & mobile nav ------------------------------------------- */
.owner-sidebar-nav a span:first-child { width: 22px; font-size: 0; }
.owner-sidebar-nav a .ui-icon { width: 19px; height: 19px; stroke-width: 1.7; }
.owner-sidebar-nav a { transition: background 160ms ease, color 160ms ease, transform 160ms ease; }
.owner-sidebar-nav a:hover { transform: translateX(2px); }
.owner-sidebar-nav a.is-plan-locked-nav::after { content: ""; width: 14px; height: 14px; margin-left: auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c1738' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; }
.owner-sidebar-plan { display: grid; flex-shrink: 0; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: auto; padding: 13px 14px; color: #3c1025; background: linear-gradient(135deg, #fff8f9, #fbeef2); border: 1px solid #f0d8df; border-radius: 14px; text-decoration: none; transition: border-color 160ms ease, transform 160ms ease; }
.owner-sidebar-plan:hover { border-color: #dcaebc; transform: translateY(-1px); }
.owner-sidebar-plan-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--ui-primary); background: #fff; border-radius: 11px; box-shadow: 0 4px 12px rgba(120, 30, 60, .08); }
.owner-sidebar-plan-icon .ui-icon { width: 20px; height: 20px; }
.owner-sidebar-plan small { display: block; color: #94858c; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.owner-sidebar-plan strong { display: block; font-size: 15px; }
.owner-sidebar-plan-cta { color: var(--ui-primary); font-size: 12px; font-weight: 750; }
.owner-sidebar-plan[data-plan="pro"] .owner-sidebar-plan-icon { color: #fff; background: linear-gradient(135deg, #a8134c, #6e0e3a); }
.owner-sidebar-logout .ui-icon { width: 18px; height: 18px; }
.owner-mobile-menu-card nav a { display: flex; gap: 12px; align-items: center; }
.owner-mobile-menu-card nav a .ui-icon, .owner-menu-logout .ui-icon { width: 20px; height: 20px; color: #8c163c; }
.owner-menu-logout { display: flex; gap: 12px; align-items: center; }
.mobile-nav span:first-child { font-size: 0; }
.mobile-nav .ui-icon { width: 23px; height: 23px; stroke-width: 1.7; }
.mobile-nav a.active .ui-icon { stroke-width: 2.1; }
[data-owner-mobile-menu] .ui-icon { width: 24px; height: 24px; }

/* --- Landingpage ------------------------------------------------------------ */
.story-hero-note, .partner-story-note { position: absolute; z-index: 2; top: 22px; right: 22px; left: auto; bottom: auto; display: inline-flex; gap: 12px; align-items: center; padding: 12px 18px 12px 12px; color: #3a1a26; background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .9); border-radius: 16px; box-shadow: 0 14px 36px rgba(60, 25, 38, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.partner-story-note { top: auto; right: auto; width: auto; aspect-ratio: auto; font-size: inherit; letter-spacing: 0; text-transform: none; transform: none; text-align: left; }
.story-hero-note-icon { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: linear-gradient(135deg, #b43a62, #7d1a3f); border-radius: 12px; }
.story-hero-note-icon .ui-icon { width: 20px; height: 20px; }
.story-hero-note strong, .partner-story-note strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 16px; font-weight: 600; line-height: 1.15; }
.story-hero-note small, .partner-story-note small { display: block; margin-top: 2px; color: #6c5a62; font-size: 12px; }
@media (max-width: 760px) { .story-hero-note, .partner-story-note { top: 14px; right: 14px; padding: 10px 14px 10px 10px; } .story-hero-note-icon { width: 34px; height: 34px; } .story-hero-note strong { font-size: 14px; } }

.story-steps { gap: 18px; border: 0; }
.story-steps article { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 6px 16px; padding: 26px 26px 28px; background: #fff; border: 1px solid #efe3e6; border-radius: 20px; box-shadow: 0 10px 30px rgba(58, 34, 42, .05); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.story-steps article:hover { transform: translateY(-3px); border-color: #e6cdd4; box-shadow: 0 18px 40px rgba(58, 34, 42, .09); }
.story-steps article > .story-step-no { grid-column: 2; justify-self: end; width: auto; height: auto; color: #cfa7b2; background: transparent; border-radius: 0; font: 500 13px/1 "DM Sans", sans-serif; letter-spacing: .14em; }
.story-steps .story-step-icon { grid-column: 1; grid-row: 1 / span 2; display: grid; place-items: center; width: 50px; height: 50px; color: var(--ui-primary); background: var(--ui-primary-soft); border: 1px solid var(--ui-primary-line); border-radius: 15px; font-size: 0; }
.story-steps .story-step-icon .ui-icon { width: 22px; height: 22px; }
.story-steps article > div:last-child { grid-column: 2; }
.story-steps h3 { margin: 0 0 6px; font-size: 18px; }
.story-steps p { color: #645860; }
@media (max-width: 1024px) { .story-steps { grid-template-columns: 1fr; } .story-steps article { border-bottom: 1px solid #efe3e6; } }
@media (max-width: 640px) { .story-steps article { grid-template-columns: auto 1fr; padding: 20px; } .story-steps .story-step-icon { display: grid; width: 44px; height: 44px; } }

.story-values { padding: 10px 6px; gap: 0; background: #fff; border: 1px solid #efe3e6; border-radius: 20px; box-shadow: 0 10px 30px rgba(58, 34, 42, .05); }
.story-values article { padding: 20px 22px; border-right: 1px solid #f1e5e8; }
.story-values article > span { width: 46px; height: 46px; color: var(--ui-primary); background: var(--ui-primary-soft); border: 1px solid var(--ui-primary-line); border-radius: 14px; font-size: 0; }
.story-values article > span .ui-icon { width: 21px; height: 21px; }
.story-values strong { font-size: 15px; }
.story-values p { color: #6b5f66; font-size: 13px; }
@media (max-width: 980px) { .story-values article:nth-child(-n+2) { border-bottom: 1px solid #f1e5e8; } }
@media (max-width: 640px) { .story-values { padding: 6px 12px; } .story-values article { padding: 16px 4px !important; border-bottom: 1px solid #f1e5e8 !important; } .story-values article:last-child { border-bottom: 0 !important; } }

.partner-proof span, .partner-final-points span { display: inline-flex; align-items: center; gap: 7px; }
.partner-proof span::first-letter { color: inherit; }
.partner-proof .ui-icon, .partner-final-points .ui-icon { width: 18px; height: 18px; padding: 2px; color: #fff; background: #b3486a; border-radius: 50%; stroke-width: 2.6; }
.partner-benefit-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-benefit-grid article { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-content: start; min-height: 0; padding: 24px; background: #fff; border: 1px solid #efe3e6; border-radius: 20px; box-shadow: 0 10px 30px rgba(58, 34, 42, .05); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.partner-benefit-grid article:hover { transform: translateY(-3px); border-color: #e6cdd4; box-shadow: 0 18px 40px rgba(58, 34, 42, .09); }
.partner-benefit-grid i { grid-row: 1 / span 2; width: 50px; height: 50px; margin: 0; color: var(--ui-primary); background: var(--ui-primary-soft); border: 1px solid var(--ui-primary-line); border-radius: 15px; font-size: 0; }
.partner-benefit-grid i .ui-icon { width: 22px; height: 22px; }
.partner-benefit-grid h3 { margin: 4px 0 4px; }
.partner-benefit-grid p { color: #645860; font-size: 14px; }
@media (max-width: 1100px) { .partner-benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .partner-benefit-grid { grid-template-columns: 1fr; } .partner-benefit-grid article { padding: 20px; } }
.partner-journey-steps article b { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: linear-gradient(135deg, #b43a62, #7d1a3f); border-radius: 14px; font: 600 16px/1 "Playfair Display", serif; }

/* Scroll-Reveal */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 560ms cubic-bezier(.2, .7, .2, 1), transform 560ms cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
  [data-reveal].is-inview { opacity: 1; transform: none; }
}

/* --- Dashboard ---------------------------------------------------------------- */
.owner-stat-grid article { position: relative; overflow: hidden; transition: transform 200ms ease, box-shadow 200ms ease; }
.owner-stat-grid article:hover { transform: translateY(-2px); }
.owner-stat-grid article > span { display: inline-flex; gap: 7px; align-items: center; font-weight: 650; }
.owner-stat-grid article > span .ui-icon { width: 17px; height: 17px; color: var(--ui-primary); }
.next-appointment-card > span { display: inline-flex; gap: 7px; align-items: center; font-size: 13px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.next-appointment-card.is-empty { color: #4a3d47; background: linear-gradient(135deg, #fff8f9, #f8ecf0); border: 1px dashed #e4c7d1; }
.next-appointment-card.is-empty h4 { margin: 8px 0 4px; font-size: 24px; }
.next-appointment-card.is-empty p { color: #7a6a72; }
.owner-quicklinks { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.owner-quicklinks a { grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 14px; align-items: center; padding: 18px; font-family: "DM Sans", sans-serif; font-size: 16px; text-decoration: none; color: var(--ui-ink); transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.owner-quicklinks a:hover { transform: translateY(-2px); border-color: #e6cdd4; }
.owner-quicklinks a i { grid-row: 1 / span 2; display: grid; place-items: center; width: 42px; height: 42px; color: var(--ui-primary); background: var(--ui-primary-soft); border-radius: 13px; }
.owner-quicklinks a i .ui-icon { width: 20px; height: 20px; }
.owner-quicklinks a b { font-weight: 700; }
.owner-quicklinks a span { grid-column: 2; }
@media (max-width: 640px) { .owner-quicklinks { grid-template-columns: 1fr 1fr; } .owner-quicklinks a { grid-template-columns: 1fr; padding: 14px; } .owner-quicklinks a i { grid-row: auto; margin-bottom: 6px; } .owner-quicklinks a span { grid-column: auto; } }

/* --- Abo & Zahlungen ------------------------------------------------------------ */
.owner-billing-page .owner-page-heading span { display: block; margin-top: 6px; color: var(--ui-muted); }
.billing-tabs { display: flex; gap: 6px; margin: 4px 0 24px; padding: 5px; background: #fff; border: 1px solid var(--ui-line); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.billing-tabs::-webkit-scrollbar { display: none; }
.billing-tabs button { display: inline-flex; flex: 1 0 auto; gap: 8px; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; color: var(--ui-text); background: transparent; border: 0; border-radius: 10px; cursor: pointer; font: 650 14px/1 "DM Sans", sans-serif; white-space: nowrap; transition: background 160ms ease, color 160ms ease; }
.billing-tabs button .ui-icon { width: 18px; height: 18px; }
.billing-tabs button:hover { background: var(--ui-soft); }
.billing-tabs button.active { color: #fff; background: var(--ui-primary); }
.billing-panel { display: grid; gap: 20px; animation: ui-step-in 320ms ease both; }
.billing-card { padding: clamp(20px, 3vw, 28px); background: #fff; border: 1px solid var(--ui-line); border-radius: 20px; box-shadow: 0 10px 30px rgba(58, 34, 42, .04); }
.billing-card-head { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.billing-card-head h3, .billing-card-head h4 { margin: 0 0 4px; font-family: "Playfair Display", Georgia, serif; font-size: 24px; font-weight: 500; }
.billing-card-head p { margin: 0; color: var(--ui-muted); font-size: 14px; }
.billing-hero { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; padding: clamp(22px, 3vw, 32px); color: #fff; background: linear-gradient(120deg, #4a0f2b 0%, #8a1a48 55%, #b43a62 100%); border-radius: 22px; box-shadow: 0 18px 44px rgba(90, 20, 50, .22); }
.billing-hero-label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .78; }
.billing-hero h3 { margin: 0 0 8px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(34px, 5vw, 52px); font-weight: 500; line-height: 1; }
.billing-hero p { margin: 0; max-width: 60ch; color: rgba(255, 255, 255, .88); line-height: 1.5; }
.billing-hero-side .secondary-button { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); box-shadow: none; }
.billing-hero-side .secondary-button:hover { background: rgba(255, 255, 255, .2); }
.billing-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.billing-plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px; background: #fff; border: 1px solid var(--ui-line); border-radius: 20px; box-shadow: 0 10px 30px rgba(58, 34, 42, .04); transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.billing-plan:hover { transform: translateY(-2px); border-color: #e6cdd4; }
.billing-plan.is-highlight { border-color: #d9a9bb; box-shadow: 0 18px 44px rgba(120, 30, 60, .12); }
.billing-plan.is-current { border-color: var(--ui-primary); box-shadow: 0 0 0 3px var(--ui-primary-soft), 0 18px 44px rgba(120, 30, 60, .08); }
.billing-plan-ribbon { position: absolute; top: -12px; left: 22px; padding: 5px 12px; color: #fff; background: var(--ui-primary); border-radius: 999px; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.billing-plan header { display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--ui-line); }
.billing-plan header > span { color: #8e2850; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.billing-plan header > strong { font-family: "Playfair Display", Georgia, serif; font-size: 36px; font-weight: 500; line-height: 1; }
.billing-plan header > strong small { font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 500; color: var(--ui-muted); }
.billing-plan header > small { color: var(--ui-muted); font-size: 13px; }
.billing-plan ul { display: grid; gap: 11px; margin: 0 0 auto; padding: 20px 0; list-style: none; }
.billing-plan li { position: relative; padding-left: 26px; color: #3c3138; font-size: 14px; line-height: 1.45; }
.billing-plan li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background-color: var(--ui-primary-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c315a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); background-size: 10px; background-position: center; background-repeat: no-repeat; }
.billing-plan-current { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 12px; color: var(--ui-success); font-size: 14px; font-weight: 700; }
.billing-plan-current .ui-icon { width: 18px; height: 18px; }
.billing-plan .primary-button, .billing-plan .secondary-button { width: 100%; min-height: 48px; }
.billing-plan.is-current .primary-button, .billing-plan.is-current .secondary-button { display: none; }
@media (max-width: 980px) { .billing-plans { grid-template-columns: 1fr; } .billing-plan.is-highlight { order: -1; } }
.input-with-action { display: flex; gap: 8px; align-items: stretch; }
.input-with-action input { flex: 1; min-width: 0; }
.input-with-action .compact-button { flex: none; min-height: auto; padding-inline: 14px; }
.billing-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mollie-card-head { display: grid; gap: 14px; margin-bottom: 18px; }
.mollie-card-head h3 { margin: 0 0 6px; font-family: "Playfair Display", Georgia, serif; font-size: 26px; font-weight: 500; }
.mollie-card-head p { margin: 0; color: var(--ui-text); line-height: 1.5; }
.mollie-status { display: inline-flex; gap: 8px; align-items: center; justify-self: start; padding: 7px 12px 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 750; letter-spacing: .02em; }
.mollie-status i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }
.mollie-status[data-state="off"] { color: #7a6a72; background: #f3eef0; }
.mollie-status[data-state="pending"] { color: #8a5a10; background: #fdf3e0; }
.mollie-status[data-state="live"] { color: var(--ui-success); background: var(--ui-success-soft); }
.mollie-status[data-state="live"] i { animation: ui-pulse 2.2s ease-in-out infinite; }
@keyframes ui-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(31, 122, 85, .12); } 50% { box-shadow: 0 0 0 6px rgba(31, 122, 85, .04); } }
.mollie-explainer { margin-top: 22px; padding: 20px; background: var(--ui-soft); border: 1px solid var(--ui-line); border-radius: 16px; }
.mollie-explainer h4 { margin: 0 0 14px; font-size: 15px; }
.mollie-explainer ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: mollie; }
.mollie-explainer li { position: relative; display: grid; gap: 2px; padding-left: 40px; counter-increment: mollie; }
.mollie-explainer li::before { content: counter(mollie); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; color: var(--ui-primary); background: #fff; border: 1px solid var(--ui-primary-line); border-radius: 50%; font-size: 13px; font-weight: 750; }
.mollie-explainer li strong { font-size: 14px; }
.mollie-explainer li span { color: var(--ui-muted); font-size: 13px; line-height: 1.45; }
.invoice-panel .invoice-list-row { padding: 14px 0; }
.invoice-panel .invoice-list-row:first-child { border-top: 1px solid var(--line); }
@media (max-width: 640px) { .billing-tabs button { flex: 1 0 auto; padding: 0 12px; font-size: 13px; } .billing-hero { padding: 20px; } .billing-plan { padding: 20px; } }

/* --- Ladezustände & Animationen --------------------------------------------- */
.ui-progress { position: fixed; z-index: 120; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; opacity: 0; transition: opacity 240ms ease; }
.ui-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #7d1a3f, #c2466f, #f3b4c9); transform-origin: left; transform: scaleX(0); }
.ui-progress.is-active { opacity: 1; }
.ui-progress.is-active span { animation: ui-progress-grow 1.6s cubic-bezier(.2, .7, .3, 1) forwards; }
.ui-progress.is-done span { animation: none; transform: scaleX(1); transition: transform 200ms ease; }
@keyframes ui-progress-grow { 0% { transform: scaleX(0); } 40% { transform: scaleX(.55); } 80% { transform: scaleX(.85); } 100% { transform: scaleX(.93); } }

.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.is-loading > * { visibility: hidden; }
.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: ui-spin 700ms linear infinite; }
.secondary-button.is-loading::after, .ghost-button.is-loading::after, .text-button.is-loading::after { border-color: rgba(120, 30, 60, .22); border-top-color: var(--ui-primary); }

.view:not([hidden]) { animation: ui-view-in 340ms cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ui-view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.owner-stat-grid article, .owner-quicklinks a, .next-appointment-card, .pro-monitoring, .owner-feature-preview { animation: ui-step-in 420ms cubic-bezier(.2, .7, .2, 1) both; }
.owner-stat-grid article:nth-child(2) { animation-delay: 60ms; }
.next-appointment-card { animation-delay: 120ms; }
.pro-monitoring { animation-delay: 180ms; }
.owner-feature-preview { animation-delay: 240ms; }
.owner-quicklinks a:nth-child(1) { animation-delay: 260ms; } .owner-quicklinks a:nth-child(2) { animation-delay: 320ms; } .owner-quicklinks a:nth-child(3) { animation-delay: 380ms; } .owner-quicklinks a:nth-child(4) { animation-delay: 440ms; } .owner-quicklinks a:nth-child(5) { animation-delay: 500ms; }
.salon-card, .category-card { transition: transform 220ms ease, box-shadow 220ms ease; }
.salon-card:hover, .category-card:hover { transform: translateY(-3px); }
.toast { transition: transform 260ms cubic-bezier(.2, .7, .2, 1), opacity 220ms ease; }
.toast.show { animation: ui-toast-in 360ms cubic-bezier(.2, .7, .2, 1); }
@keyframes ui-toast-in { 0% { transform: translateY(18px) scale(.96); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* Erfolgsanimation in Dialogen */
.booking-success { display: grid; justify-items: center; gap: 8px; padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 40px) clamp(24px, 4vw, 36px); text-align: center; animation: ui-step-in 360ms ease both; }
.booking-success h2 { margin: 2px 0 4px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(28px, 4vw, 36px); font-weight: 500; }
.booking-success > p:not(.eyebrow) { max-width: 46ch; margin: 0; color: var(--ui-text); line-height: 1.55; }
.booking-success .eyebrow { margin: 10px 0 0; color: var(--ui-success); }
.success-mark { position: relative; width: 96px; height: 96px; }
.success-mark svg { width: 96px; height: 96px; fill: none; stroke: var(--ui-success); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-ring { stroke-dasharray: 190; stroke-dashoffset: 190; animation: ui-draw 700ms cubic-bezier(.4, 0, .2, 1) forwards; }
.success-check { stroke-dasharray: 40; stroke-dashoffset: 40; animation: ui-draw 420ms cubic-bezier(.4, 0, .2, 1) 520ms forwards; }
@keyframes ui-draw { to { stroke-dashoffset: 0; } }
.success-burst { position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--ui-primary); opacity: 0; animation: ui-burst 820ms cubic-bezier(.2, .7, .2, 1) 760ms forwards; }
.success-burst:nth-child(2) { --angle: 0deg; } .success-burst:nth-child(3) { --angle: 60deg; background: #e39cb5; } .success-burst:nth-child(4) { --angle: 120deg; background: var(--ui-success); } .success-burst:nth-child(5) { --angle: 180deg; } .success-burst:nth-child(6) { --angle: 240deg; background: #e39cb5; } .success-burst:nth-child(7) { --angle: 300deg; background: var(--ui-success); }
@keyframes ui-burst { 0% { opacity: 0; transform: rotate(var(--angle)) translateY(0) scale(.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--angle)) translateY(-62px) scale(1); } }
.booking-success-summary { display: grid; gap: 10px; width: min(100%, 420px); margin: 18px 0 6px; text-align: left; }
.booking-success-summary > div { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 14px; background: var(--ui-soft); border: 1px solid var(--ui-line); border-radius: 14px; animation: ui-step-in 360ms ease both; }
.booking-success-summary > div:nth-child(2) { animation-delay: 80ms; } .booking-success-summary > div:nth-child(3) { animation-delay: 160ms; } .booking-success-summary > div:nth-child(4) { animation-delay: 240ms; }
.booking-success-summary > div > span { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ui-primary); background: #fff; border: 1px solid var(--ui-primary-line); border-radius: 11px; }
.booking-success-summary > div > span .ui-icon { width: 18px; height: 18px; }
.booking-success-summary small { display: block; color: var(--ui-muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.booking-success-summary strong { display: block; font-size: 15px; }
.booking-success-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; margin-top: 18px; }
.booking-success-actions .primary-button, .booking-success-actions .secondary-button { min-height: 50px; flex: 1 1 200px; }
.modal.is-success .sheet-head, .modal.is-success .sheet-body, .modal.is-success .sheet-foot, .modal.is-success .booking-footer { display: none !important; }
.modal.is-success .modal-card { display: block; }
@media (max-width: 640px) { .modal.is-success .modal-card { display: grid; align-content: center; min-height: 60vh; } }

@media (prefers-reduced-motion: reduce) {
  .view:not([hidden]), .owner-stat-grid article, .owner-quicklinks a, .next-appointment-card, .pro-monitoring, .owner-feature-preview, .billing-panel, .booking-success, .booking-success-summary > div, .toast.show { animation: none; }
  .success-ring, .success-check { animation: none; stroke-dashoffset: 0; }
  .success-burst { display: none; }
  .ui-progress.is-active span { animation: none; transform: scaleX(.6); }
  .ui-icon-cta, .owner-sidebar-nav a, .story-steps article, .partner-benefit-grid article, .billing-plan, .owner-quicklinks a, .salon-card, .category-card { transition: none; }
}

/* Partner-Hero: Zitat als ruhige Karte, Badge wie auf der Startseite */
.partner-story-visual blockquote { top: auto; bottom: 26px; left: 26px; max-width: 320px; padding: 16px 20px; color: #3a1a26; background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .9); border-radius: 16px; box-shadow: 0 14px 36px rgba(60, 25, 38, .16); font: italic 500 clamp(17px, 1.4vw, 21px)/1.3 "Playfair Display", Georgia, serif; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: none; }
.partner-story-visual > span.partner-story-note { top: 24px; right: 24px; bottom: auto; left: auto; display: inline-flex; width: auto; aspect-ratio: auto; padding: 12px 18px 12px 12px; color: #3a1a26; background: rgba(255, 255, 255, .86); border-radius: 16px; font-size: inherit; font-weight: 400; letter-spacing: 0; text-transform: none; text-align: left; line-height: 1.2; }
@media (max-width: 980px) { .partner-story-visual > span.partner-story-note { top: 14px; right: 14px; width: auto; font-size: inherit; } }
@media (max-width: 640px) { .partner-story-visual > span.partner-story-note { display: inline-flex; } .partner-story-visual blockquote { display: none; } }
.billing-empty { display: grid; gap: 10px; justify-items: start; }
.billing-empty h3 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 24px; font-weight: 500; }
.billing-empty p { margin: 0 0 6px; color: var(--ui-text); max-width: 60ch; }
