:root {
  --bg: #f4f7f5;
  --surface: #ffffff;
  --surface-2: #eaf0ec;
  --ink: #14201b;
  --ink-soft: #63716a;
  --line: #d7e1db;
  --primary: #58796a;
  --primary-deep: #324f43;
  --secondary: #1d2924;
  --accent: #a63d64;
  --accent-soft: #fff3f7;
  --danger: #c43f3a;
  --success: #2f7554;
  --warning: #9a6a1d;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(20, 40, 31, .09);
  --content: 1180px;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
::selection { background: color-mix(in srgb, var(--primary) 28%, white); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 38%, white); outline-offset: 3px; }

.container { width: min(var(--content), calc(100% - 32px)); margin-inline: auto; }
.stack { display: grid; gap: 16px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }
.hidden { display: none !important; }

.boot-screen { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--ink-soft); }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--secondary); color: white; font: 700 20px Georgia, serif; box-shadow: 0 10px 24px rgba(20, 27, 24, .18); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-copy { line-height: 1; }
.brand-copy strong { display: block; font-size: 15px; letter-spacing: -.02em; }
.brand-copy span { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 9px; font-weight: 800; letter-spacing: .18em; }

.trial-strip { background: #202925; color: #eef4f1; }
.trial-strip-inner { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 12px; }
.trial-strip strong { color: white; }
.trial-strip a { color: #c9d9d1; font-weight: 800; white-space: nowrap; }
.trial-strip a:hover { color: white; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(219, 226, 222, .82); background: rgba(250, 251, 250, .9); backdrop-filter: blur(16px); }
.site-header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-nav { display: flex; align-items: center; gap: 25px; color: #53605a; font-size: 14px; font-weight: 650; }
.site-nav a:hover { color: var(--ink); }
.site-actions { display: flex; align-items: center; gap: 9px; }

.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 13px; padding: 10px 18px; font-size: 14px; font-weight: 780; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-deep); }
.btn-dark { background: var(--secondary); color: white; }
.btn-outline { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-danger { background: #fff0ef; color: var(--danger); }
.btn-sm { min-height: 36px; padding: 7px 11px; font-size: 12px; }
.btn-wide { width: 100%; }
.btn[disabled] { cursor: not-allowed; opacity: .52; transform: none; }

.hero { overflow: hidden; padding: 78px 0 74px; background: radial-gradient(circle at 82% 6%, rgba(95, 124, 112, .15), transparent 30%), linear-gradient(180deg, #fafbf9 0%, #f2f5f2 100%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 58px; }
.hero-grid > *, .site-header-inner > *, .salon-header-inner > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-deep); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.hero h1 { max-width: 720px; margin: 20px 0 20px; font: 500 clamp(44px, 6vw, 76px)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 em { color: var(--primary-deep); font-style: italic; }
.hero-copy { max-width: 620px; margin: 0; color: #58645f; font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 28px; color: #5d6863; font-size: 13px; font-weight: 650; }
.trust-line span::before { content: "✓"; margin-right: 7px; color: var(--success); }

.product-stage { position: relative; min-height: 510px; }
.panel-mock { position: absolute; inset: 20px 0 24px 34px; overflow: hidden; border: 1px solid #d8e0db; border-radius: 24px; background: white; box-shadow: 0 32px 90px rgba(22, 39, 31, .16); transform: rotate(1.2deg); }
.mock-top { height: 54px; display: flex; align-items: center; gap: 7px; padding: 0 18px; border-bottom: 1px solid var(--line); background: #fbfcfb; }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd3cf; }
.mock-body { display: grid; grid-template-columns: 115px 1fr; min-height: 410px; }
.mock-nav { padding: 18px 12px; background: #202a26; }
.mock-logo { height: 28px; width: 28px; border-radius: 9px; background: #638276; margin-bottom: 24px; }
.mock-nav-line { height: 8px; margin: 14px 0; border-radius: 9px; background: rgba(255,255,255,.16); }
.mock-nav-line.active { width: 86%; background: rgba(255,255,255,.75); }
.mock-content { padding: 24px; background: #f7f8f7; }
.mock-heading { width: 42%; height: 17px; border-radius: 10px; background: #28332f; }
.mock-sub { width: 28%; height: 8px; margin-top: 9px; border-radius: 10px; background: #b8c1bc; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 23px 0; }
.mock-card { min-height: 82px; border: 1px solid #e1e6e3; border-radius: 14px; background: white; padding: 14px; }
.mock-card b { display: block; font-size: 22px; }
.mock-card span { color: #7c8782; font-size: 9px; }
.mock-list { display: grid; gap: 8px; padding: 10px; border: 1px solid #e1e6e3; border-radius: 15px; background: white; }
.mock-appointment { height: 47px; display: grid; grid-template-columns: 44px 1fr 55px; align-items: center; gap: 10px; border-bottom: 1px solid #edf0ee; }
.mock-time, .mock-name, .mock-status { height: 8px; border-radius: 8px; background: #667c72; }
.mock-name { width: 55%; background: #aeb8b3; }
.mock-status { background: #e8cdd7; }
.phone-mock { position: absolute; right: -16px; bottom: 0; width: 190px; overflow: hidden; border: 7px solid #222825; border-radius: 30px; background: #fafbfa; box-shadow: 0 24px 55px rgba(19, 31, 25, .24); transform: rotate(-4deg); }
.phone-head { height: 85px; padding: 17px; background: #25312c; color: white; }
.phone-pill { width: 54px; height: 6px; margin-bottom: 16px; border-radius: 9px; background: #6f8e81; }
.phone-head b { font: 500 18px Georgia, serif; }
.phone-body { padding: 14px; }
.phone-service { margin-bottom: 9px; padding: 12px; border: 1px solid #e0e5e2; border-radius: 13px; background: white; }
.phone-service b { display: block; font-size: 11px; }
.phone-service span { color: #7b8580; font-size: 9px; }

.section { padding: 88px 0; }
.section-white { background: white; }
.section-dark { background: #202925; color: white; }
.section-head { max-width: 690px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { margin: 13px 0 14px; font: 500 clamp(34px, 4vw, 53px)/1.06 Georgia, serif; letter-spacing: -.045em; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.section-dark .section-head p { color: #b7c2bd; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature-card { min-height: 230px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature-number { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--surface-2); color: var(--primary-deep); font-size: 13px; font-weight: 850; }
.feature-card h3 { margin: 28px 0 9px; font-size: 19px; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.feature-card, .theme-tile, .service-card, .staff-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
@media (hover: hover) {
  .feature-card:hover, .theme-tile:hover, .service-card:hover, .staff-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(25, 42, 34, .08); }
}
.theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.theme-tile { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; }
.theme-preview { height: 155px; padding: 15px; background: var(--theme-bg); color: var(--theme-ink); }
.theme-preview-head { display: flex; align-items: center; justify-content: space-between; }
.theme-preview-logo { display: flex; align-items: center; gap: 7px; }
.theme-preview-logo i { width: 12px; height: 12px; border-radius: 50%; background: var(--theme-primary); }
.theme-preview-logo span { width: 48px; height: 6px; border-radius: 9px; background: currentColor; opacity: .72; }
.theme-preview-button { width: 42px; height: 15px; border-radius: 8px; background: var(--theme-primary); }
.theme-preview-title { width: 48%; height: 11px; margin-top: 27px; border-radius: 8px; background: currentColor; }
.theme-preview-line { width: 75%; height: 6px; margin-top: 9px; border-radius: 7px; background: currentColor; opacity: .45; }
.theme-preview-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 18px; }
.theme-preview-cards span { height: 30px; border: 1px solid color-mix(in srgb, currentColor 15%, transparent); border-radius: 9px; background: color-mix(in srgb, var(--theme-bg) 70%, white); }
.theme-info { padding: 17px; }
.theme-info strong { display: block; margin-bottom: 6px; }
.theme-info span { color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.cta-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 42px; border-radius: 26px; background: #ecf1ee; }
.cta-card h2 { margin: 0 0 10px; }
.cta-card p { margin: 0; color: var(--ink-soft); }
.site-footer { padding: 32px 0; border-top: 1px solid var(--line); background: white; }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, .9fr) minmax(500px, 1.1fr); }
.auth-aside { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 42px; background: #202925; color: white; }
.auth-aside::after { content: ""; position: absolute; width: 420px; height: 420px; right: -130px; bottom: -170px; border-radius: 50%; border: 90px solid rgba(110, 145, 130, .14); }
.auth-aside .brand-copy span { color: #aab8b1; }
.auth-quote { position: relative; z-index: 1; max-width: 490px; }
.auth-quote h1 { margin: 0 0 18px; font: 500 clamp(36px, 5vw, 61px)/1.02 Georgia, serif; letter-spacing: -.045em; }
.auth-quote p { color: #b9c4bf; line-height: 1.7; }
.auth-main { display: grid; place-items: center; padding: 34px; background: #f7f9f7; }
.auth-card { width: min(500px, 100%); padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.auth-card h2 { margin: 0 0 8px; font: 500 34px Georgia, serif; }
.auth-card > p { margin: 0 0 25px; color: var(--ink-soft); }
.auth-trial { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 3px 10px; margin-bottom: 22px; padding: 13px 14px; border: 1px solid #d7e2dc; border-radius: 14px; background: #f1f6f3; }
.auth-trial span { grid-row: 1 / 3; border-radius: 999px; background: var(--primary); padding: 7px 10px; color: white; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.auth-trial strong { font-size: 13px; }
.auth-trial small { color: var(--ink-soft); }
.form-grid { display: grid; gap: 15px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.field-label { display: grid; gap: 7px; color: #34403b; font-size: 13px; font-weight: 700; }
.field { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 10px 13px; color: var(--ink); outline: none; transition: border-color .18s, box-shadow .18s; }
textarea.field { min-height: 100px; resize: vertical; }
.field:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(95, 124, 112, .15); }
.form-error, .form-success { display: none; padding: 11px 13px; border-radius: 11px; font-size: 13px; }
.form-error.show { display: block; background: #fff0ef; color: #a52f2a; }
.form-success.show { display: block; background: #edf8f2; color: var(--success); }

.dashboard { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 25px 17px; background: #202925; color: white; }
.sidebar .brand { padding-inline: 8px; }
.sidebar .brand-copy span { color: #9aaba3; }
.sidebar-nav { display: grid; gap: 5px; margin-top: 34px; }
.sidebar-link { display: flex; min-height: 43px; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; color: #b8c4be; font-size: 13px; font-weight: 650; }
.sidebar-link:hover, .sidebar-link.active { background: rgba(255,255,255,.09); color: white; }
.nav-icon { width: 22px; text-align: center; font-size: 15px; }
.sidebar-bottom { margin-top: auto; }
.dashboard-main { min-width: 0; padding: 0 34px 45px; }
.dashboard-top { position: sticky; top: 0; z-index: 20; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: rgba(245, 247, 245, .9); backdrop-filter: blur(14px); }
.dashboard-top h1 { margin: 0; font-size: 22px; letter-spacing: -.025em; }
.dashboard-top p { margin: 4px 0 0; color: var(--ink-soft); font-size: 12px; }
.dashboard-actions { display: flex; align-items: center; gap: 10px; }
.dashboard-trial { display: flex; min-height: 38px; align-items: center; gap: 8px; border: 1px solid #d4ded8; border-radius: 11px; background: #eef4f0; padding: 7px 11px; color: #34483f; font-size: 11px; }
.dashboard-trial span { color: var(--ink-soft); }
.dashboard-trial strong { font-weight: 850; }
.dashboard-trial.premium { background: #202925; color: white; }
.dashboard-trial.premium span { color: #aebdb6; }
.dashboard-content { max-width: 1250px; padding-top: 27px; }
.operation-ready { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-bottom: 20px; padding: 16px 18px; border: 1px solid #cfe0d6; border-radius: 16px; background: #eef7f2; }
.operation-ready > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #337254; color: white; font-weight: 900; }
.operation-ready strong { display: block; color: #23563f; }
.operation-ready p { margin: 4px 0 0; color: #587065; font-size: 12px; line-height: 1.5; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.stat-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.stat-card span { color: var(--ink-soft); font-size: 12px; }
.stat-card strong { display: block; margin-top: 9px; font-size: 31px; letter-spacing: -.045em; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; margin-top: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 9px 28px rgba(25, 42, 34, .035); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 20px; border-bottom: 1px solid var(--line); }
.card-head h2 { margin: 0; font-size: 16px; }
.card-body { padding: 20px; }
.empty-state { padding: 46px 20px; text-align: center; }
.empty-icon { display: grid; width: 48px; height: 48px; margin: 0 auto 14px; place-items: center; border-radius: 15px; background: var(--surface-2); color: var(--primary-deep); font-size: 20px; }
.empty-state h3 { margin: 0 0 7px; font-size: 16px; }
.empty-state p { max-width: 430px; margin: 0 auto; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.data-list { display: grid; }
.data-row { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(120px, .7fr) minmax(110px, .55fr) auto; align-items: center; gap: 12px; min-height: 68px; padding: 11px 20px; border-bottom: 1px solid #edf0ee; }
.data-row:last-child { border-bottom: 0; }
.data-row strong { display: block; font-size: 14px; }
.data-row small { color: var(--ink-soft); }
.appointment-time { display: inline-flex; min-width: 52px; margin-right: 9px; border-radius: 9px; background: var(--surface-2); padding: 6px 8px; color: var(--primary-deep); font-size: 12px; font-weight: 850; }
.appointment-status { min-height: 38px; padding: 6px 9px; }
.status { display: inline-flex; width: fit-content; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 9px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.status-PENDING { background: #fff6df; color: #876019; }
.status-CONFIRMED { background: #eaf5ef; color: #286448; }
.status-COMPLETED { background: #edf1f8; color: #4d627c; }
.status-CANCELLED, .status-NO_SHOW { background: #fff0ef; color: #a23530; }
.toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.toolbar .field-label { min-width: 170px; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 16px; }
.sticky-card { position: sticky; top: 94px; height: fit-content; }
.item-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.item-card { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.item-card h3 { margin: 0 0 5px; font-size: 15px; }
.item-card p { min-height: 38px; margin: 0 0 16px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.price { color: var(--primary-deep); font-weight: 800; }
.page-intro { margin-bottom: 19px; }
.page-intro h2 { margin: 0 0 5px; font: 500 30px Georgia, serif; }
.page-intro p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.trial-summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; margin-bottom: 24px; padding: 27px 29px; border-radius: 22px; background: #202925; color: white; box-shadow: 0 16px 45px rgba(25,38,32,.13); }
.trial-summary h2 { margin: 12px 0 8px; font: 500 32px/1.08 Georgia, serif; }
.trial-summary p { max-width: 670px; margin: 0; color: #b8c5bf; line-height: 1.6; }
.trial-summary .eyebrow { color: #bcd0c6; }
.trial-summary .eyebrow::before { background: #86a797; }
.trial-days { display: grid; width: 118px; height: 118px; place-content: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; background: rgba(255,255,255,.06); text-align: center; }
.trial-days strong { font: 500 43px/1 Georgia, serif; }
.trial-days span { margin-top: 5px; color: #b8c5bf; font-size: 11px; font-weight: 750; text-transform: uppercase; }

.theme-choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.theme-choice { position: relative; overflow: hidden; border: 2px solid transparent; border-radius: 15px; background: white; text-align: left; padding: 0; }
.theme-choice.selected { border-color: var(--primary); }
.theme-choice .theme-preview { height: 120px; }
.theme-choice .theme-info { padding: 13px; }
.premium-tag { position: absolute; top: 9px; right: 9px; z-index: 2; border-radius: 999px; background: rgba(255,255,255,.92); padding: 4px 7px; color: #2b3531; font-size: 9px; font-weight: 850; }
.premium-inline { display: flex; align-items: center; gap: 12px; margin-top: 13px; padding: 13px 15px; border: 1px solid #d7dcd9; border-radius: 13px; background: #f7f9f8; color: #303936; }
.premium-inline[hidden] { display: none; }
.premium-inline > span { flex: 0 0 auto; border-radius: 999px; background: #e5eae7; padding: 5px 8px; font-size: 10px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.premium-inline strong, .premium-inline small { display: block; }
.premium-inline strong { margin-bottom: 3px; font-size: 13px; }
.premium-inline small { color: var(--ink-soft); line-height: 1.4; }
.premium-dialog { width: min(500px, calc(100% - 28px)); border: 1px solid var(--line); border-radius: 24px; padding: 34px; color: var(--ink); box-shadow: 0 28px 90px rgba(20,29,25,.28); }
.premium-dialog::backdrop { background: rgba(19,27,24,.52); backdrop-filter: blur(4px); }
.premium-dialog h2 { margin: 13px 0 10px; font: 500 34px/1.08 Georgia, serif; letter-spacing: -.035em; }
.premium-dialog p { margin: 0; color: var(--ink-soft); line-height: 1.7; }
.dialog-close { position: absolute; top: 15px; right: 15px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 50%; background: #f0f3f1; color: var(--ink); font-size: 22px; cursor: pointer; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }
.live-site-preview { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--preview-bg, white); color: var(--preview-ink, #222); }
.live-preview-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid color-mix(in srgb, var(--preview-ink) 12%, transparent); }
.live-preview-hero { padding: 30px 22px; background: var(--preview-secondary); color: white; }
.live-preview-hero h3 { margin: 0 0 8px; font: 500 30px Georgia, serif; }
.live-preview-hero p { max-width: 500px; margin: 0; opacity: .76; font-size: 12px; }
.live-preview-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 16px; }
.live-preview-services span { min-height: 54px; border: 1px solid color-mix(in srgb, var(--preview-ink) 12%, transparent); border-radius: 12px; padding: 11px; background: color-mix(in srgb, var(--preview-bg) 94%, white); font-size: 11px; font-weight: 700; }
.color-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.color-field { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.color-field input { width: 42px; height: 34px; border: 0; background: transparent; padding: 0; }
.settings-checks { display: grid; gap: 10px; }
.settings-checks label { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfa; }
.settings-checks input { margin-top: 3px; accent-color: var(--primary); }
.settings-checks strong, .settings-checks small { display: block; }
.settings-checks strong { font-size: 13px; }
.settings-checks small { margin-top: 3px; color: var(--ink-soft); line-height: 1.45; }

.public-site { min-height: 100vh; background: var(--salon-bg); color: var(--salon-ink); }
.demo-toolbar { background: #202925; color: white; }
.demo-toolbar-inner { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.demo-toolbar-inner > div { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.demo-toolbar-inner > div small { color: #aebbb5; }
.demo-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #87a997; box-shadow: 0 0 0 5px rgba(135,169,151,.13); }
.demo-toolbar nav { display: flex; align-items: center; gap: 4px; border-radius: 11px; background: rgba(255,255,255,.06); padding: 4px; }
.demo-toolbar nav a { border-radius: 8px; padding: 7px 10px; color: #b8c4be; font-size: 11px; font-weight: 750; }
.demo-toolbar nav a:hover, .demo-toolbar nav a.active { background: white; color: #202925; }
.demo-back { color: #c2cec8; font-size: 11px; font-weight: 750; white-space: nowrap; }
.demo-conversion { padding: 24px 0; background: #202925; color: white; }
.demo-conversion-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.demo-conversion-inner > div { display: grid; gap: 5px; }
.demo-conversion span { color: #aebbb5; font-size: 12px; }
.demo-conversion strong { font: 500 23px/1.2 Georgia, serif; }
.demo-conversion small { color: #c3cec9; text-align: right; }
.demo-conversion .btn { margin-left: auto; margin-top: 4px; }
.salon-header { border-bottom: 1px solid color-mix(in srgb, var(--salon-ink) 12%, transparent); background: color-mix(in srgb, var(--salon-bg) 90%, white); }
.salon-header-inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.salon-brand { display: flex; align-items: center; gap: 11px; font-weight: 800; }
.salon-logo { display: grid; width: 40px; height: 40px; place-items: center; overflow: hidden; border-radius: 50%; background: var(--salon-primary); color: white; }
.salon-logo img { width: 100%; height: 100%; object-fit: cover; }
.salon-brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.salon-nav { display: flex; gap: 22px; color: color-mix(in srgb, var(--salon-ink) 65%, transparent); font-size: 13px; }
.salon-hero { position: relative; min-height: 510px; display: grid; align-items: center; overflow: hidden; background: var(--salon-secondary); color: white; }
.salon-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.05), transparent); pointer-events: none; }
.salon-hero-content { position: relative; z-index: 1; max-width: 720px; padding-block: 76px; }
.salon-open { display: inline-flex; margin-bottom: 18px; border-radius: 999px; background: color-mix(in srgb, var(--salon-primary) 85%, black); padding: 7px 11px; font-size: 11px; font-weight: 800; }
.salon-hero h1 { margin: 0 0 18px; font: 500 clamp(46px, 7vw, 83px)/.98 Georgia, serif; letter-spacing: -.055em; }
.salon-hero p { max-width: 650px; margin: 0 0 25px; color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.65; }
.salon-section { padding: 75px 0; }
.salon-section h2 { margin: 0 0 24px; font: 500 38px Georgia, serif; }
.salon-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 25px; }
.salon-section-head h2 { margin: 10px 0 0; }
.salon-section-head > p { max-width: 470px; margin: 0; color: color-mix(in srgb, var(--salon-ink) 62%, transparent); font-size: 14px; line-height: 1.6; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.service-card { display: grid; align-content: space-between; min-height: 255px; padding: 21px; border: 1px solid color-mix(in srgb, var(--salon-ink) 12%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--salon-bg) 94%, white); }
.service-card .category { color: var(--salon-primary); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.service-card h3 { margin: 10px 0 7px; }
.service-card p { min-height: 40px; color: color-mix(in srgb, var(--salon-ink) 62%, transparent); font-size: 12px; line-height: 1.55; }
.service-meta { display: flex; justify-content: space-between; margin-top: 19px; font-size: 13px; font-weight: 800; }
.service-card-bottom { margin-top: 18px; }
.service-book { display: flex; align-items: center; justify-content: space-between; min-height: 42px; margin-top: 14px; border-top: 1px solid color-mix(in srgb, var(--salon-ink) 12%, transparent); padding-top: 14px; color: var(--salon-primary); font-size: 13px; font-weight: 850; }
.service-book span { font-size: 18px; transition: transform .18s ease; }
.service-book:hover span { transform: translateX(3px); }
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.staff-card { padding: 20px; border-radius: 17px; background: color-mix(in srgb, var(--salon-secondary) 7%, var(--salon-bg)); text-align: center; }
.staff-avatar { display: grid; width: 70px; height: 70px; margin: 0 auto 14px; place-items: center; border-radius: 50%; background: var(--salon-secondary); color: white; font: 500 27px Georgia, serif; }
.salon-mobile-cta, .mobile-marketing-cta { display: none; }

.booking-page { min-height: 100vh; padding: 30px 0 70px; background: #f2f5f3; }
.booking-shell { width: min(900px, calc(100% - 32px)); margin-inline: auto; }
.booking-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.booking-top > .btn { min-height: 44px; }
.booking-card { overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: white; box-shadow: var(--shadow); }
.booking-head { padding: 25px 28px; border-bottom: 1px solid var(--line); }
.booking-headline { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.booking-head h1 { margin: 0 0 6px; font: 500 32px Georgia, serif; }
.booking-step-count { color: var(--primary-deep); font: 600 27px/1 Georgia, serif; }
.booking-step-count small { color: var(--ink-soft); font: 750 11px/1 Inter, "Segoe UI", sans-serif; }
.booking-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 20px; }
.booking-progress span { height: 4px; border-radius: 9px; background: #e2e7e4; }
.booking-progress span.active { background: var(--primary); }
.booking-body { min-height: 410px; padding: 28px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.choice { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-height: 82px; border: 1px solid var(--line); border-radius: 16px; background: white; padding: 16px; color: var(--ink); text-align: left; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.choice:hover, .choice.selected { border-color: var(--primary); background: #f4f8f6; }
.choice:active { transform: scale(.995); }
.choice strong { display: block; margin-bottom: 5px; }
.choice small { color: var(--ink-soft); }
.choice-copy { min-width: 0; }
.choice-category { display: block; margin-bottom: 5px; color: var(--primary-deep); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.choice-indicator { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: transparent; font-size: 11px; }
.choice.selected .choice-indicator { border-color: var(--primary); background: var(--primary); color: white; }
.choice-person { grid-template-columns: auto minmax(0, 1fr) auto; }
.choice-person .staff-avatar { width: 48px; height: 48px; margin: 0; background: var(--primary); color: white; font-size: 18px; }
.booking-date-area { display: grid; gap: 18px; }
.quick-date-strip { display: grid; grid-template-columns: repeat(7, minmax(66px, 1fr)); gap: 8px; overflow-x: auto; padding: 2px 1px 7px; scrollbar-width: none; }
.quick-date-strip::-webkit-scrollbar { display: none; }
.quick-date { min-height: 78px; border: 1px solid var(--line); border-radius: 14px; background: white; padding: 8px 6px; color: var(--ink); text-align: center; }
.quick-date span, .quick-date small { display: block; color: var(--ink-soft); font-size: 10px; font-weight: 700; text-transform: capitalize; }
.quick-date strong { display: block; margin: 5px 0 3px; font-size: 18px; }
.quick-date.selected { border-color: var(--primary); background: var(--primary); color: white; }
.quick-date.selected span, .quick-date.selected small { color: rgba(255,255,255,.78); }
.quick-date[disabled] { opacity: .45; cursor: not-allowed; }
.booking-date-field { max-width: 260px; }
.slot-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 18px; }
.slot { border: 1px solid var(--line); border-radius: 10px; background: white; padding: 10px; font-weight: 700; }
.slot.selected { border-color: var(--primary); background: var(--primary); color: white; }
.booking-footer { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; border-top: 1px solid var(--line); }
.success-panel { display: grid; min-height: 420px; place-content: center; justify-items: center; text-align: center; }
.success-check { display: grid; width: 68px; height: 68px; margin-bottom: 17px; place-items: center; border-radius: 50%; background: #e7f4ec; color: var(--success); font-size: 28px; }
.booking-email-note { margin: 6px 0 20px; border-radius: 11px; background: #eef7f2; padding: 10px 13px; color: #2d664b; font-size: 13px; }

.toast { position: fixed; z-index: 100; right: 20px; bottom: 20px; max-width: 380px; border-radius: 13px; background: #202925; padding: 13px 16px; color: white; box-shadow: 0 16px 40px rgba(0,0,0,.22); font-size: 13px; animation: toast-in .22s ease-out; }
.toast.error { background: #9f302c; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.mobile-dashboard-nav { display: none; }
.loading { padding: 70px 20px; text-align: center; color: var(--ink-soft); }
.spinner { width: 28px; height: 28px; margin: 0 auto 12px; border: 3px solid #dce4df; border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .product-stage { width: min(660px, 100%); margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-grid, .theme-choice-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard { grid-template-columns: 82px 1fr; }
  .sidebar { padding-inline: 12px; }
  .sidebar .brand-copy, .sidebar-link span:not(.nav-icon), .sidebar-bottom .btn span { display: none; }
  .sidebar .brand { justify-content: center; }
  .sidebar-link { justify-content: center; }
  .dashboard-main { padding-inline: 24px; }
  .content-grid, .split-layout { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-aside { min-height: 310px; }
  .service-grid, .staff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { width: min(100% - 24px, var(--content)); }
  .trial-strip-inner { min-height: 44px; justify-content: center; text-align: center; }
  .trial-strip-inner span { font-size: 11px; }
  .trial-strip-inner a { display: none; }
  .site-nav { display: none; }
  .site-actions .btn-ghost { display: none; }
  .site-actions .btn-outline { display: none; }
  .hero { padding: 55px 0; }
  .hero h1 { font-size: 48px; }
  .product-stage { min-height: 390px; }
  .panel-mock { inset: 0 8px 25px 0; }
  .mock-body { grid-template-columns: 75px 1fr; }
  .mock-content { padding: 16px; }
  .mock-stats { grid-template-columns: repeat(2, 1fr); }
  .mock-stats .mock-card:last-child { display: none; }
  .phone-mock { right: 0; width: 150px; }
  .section { padding: 62px 0; }
  .feature-grid, .theme-grid, .theme-choice-grid, .service-grid, .staff-grid, .item-grid, .choice-grid { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 28px; }
  .salon-nav { display: none; }
  .demo-toolbar-inner { min-height: 0; display: grid; gap: 10px; padding-block: 12px; }
  .demo-toolbar nav { width: 100%; overflow-x: auto; }
  .demo-toolbar nav a { flex: 0 0 auto; }
  .demo-back { display: none; }
  .demo-conversion-inner { display: grid; }
  .demo-conversion small { text-align: left; }
  .demo-conversion .btn { width: 100%; margin-left: 0; }
  .salon-hero { min-height: 440px; }
  .auth-aside { padding: 26px; }
  .auth-main { padding: 18px; }
  .auth-card { padding: 24px; }
  .form-grid.two, .color-row { grid-template-columns: 1fr; }
  .dashboard { display: block; }
  .sidebar { display: none; }
  .dashboard-main { padding: 0 14px 88px; }
  .dashboard-top { min-height: 68px; }
  .dashboard-actions .dashboard-trial { display: none; }
  .operation-ready { grid-template-columns: auto 1fr; }
  .operation-ready .btn { grid-column: 1 / -1; width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .data-row { grid-template-columns: 1fr auto; }
  .data-row > *:nth-child(2), .data-row > *:nth-child(3) { display: none; }
  .mobile-dashboard-nav { position: fixed; z-index: 40; right: 10px; bottom: 10px; left: 10px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: 0 12px 38px rgba(26,39,33,.14); backdrop-filter: blur(12px); }
  .mobile-dashboard-nav a { display: grid; justify-items: center; gap: 3px; padding: 5px; color: var(--ink-soft); font-size: 9px; font-weight: 700; }
  .mobile-dashboard-nav a.active { color: var(--primary-deep); }
  .mobile-dashboard-nav b { font-size: 16px; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .booking-body, .booking-head, .booking-footer { padding-inline: 18px; }
  .trial-summary { grid-template-columns: 1fr; padding: 24px; }
  .trial-days { width: 96px; height: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Mobile-first product refinement */
@media (max-width: 720px) {
  :root { --radius: 18px; }
  body { min-width: 0; padding-bottom: env(safe-area-inset-bottom); }
  .container { width: calc(100% - 32px); max-width: 100%; }

  .trial-strip-inner { width: 100%; min-height: 40px; padding: 7px 16px; line-height: 1.35; }
  .trial-strip-inner span { max-width: 350px; }
  .site-header { backdrop-filter: blur(20px); }
  .site-header-inner { width: calc(100% - 24px); min-height: 64px; gap: 10px; }
  .site-header .brand { flex: 1 1 auto; min-width: 0; }
  .site-header .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .site-header .brand-copy strong { font-size: 13px; }
  .site-header .brand-copy span { font-size: 8px; }
  .site-actions { flex: 0 0 auto; }
  .site-actions .btn-primary { min-height: 40px; padding: 8px 12px; font-size: 11px; white-space: nowrap; }

  .hero { padding: 44px 0 38px; }
  .hero-grid { gap: 34px; }
  .eyebrow { max-width: 100%; font-size: 10px; letter-spacing: .1em; }
  .hero h1 { max-width: 100%; margin: 16px 0 18px; font-size: clamp(40px, 12.2vw, 50px); line-height: 1; letter-spacing: -.055em; overflow-wrap: anywhere; }
  .hero-copy { max-width: 100%; font-size: 16px; line-height: 1.65; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 24px; }
  .hero-actions .btn { width: 100%; min-height: 50px; }
  .trust-line { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; font-size: 12px; }
  .product-stage { width: 100%; min-height: 330px; }
  .panel-mock { inset: 0 2px 18px; border-radius: 20px; transform: none; }
  .mock-top { height: 42px; }
  .mock-body { grid-template-columns: 62px 1fr; min-height: 285px; }
  .mock-nav { padding: 14px 9px; }
  .mock-content { padding: 16px 12px; }
  .mock-stats { margin: 18px 0; }
  .mock-card { min-height: 70px; padding: 10px; }
  .mock-card b { font-size: 18px; }
  .mock-appointment { grid-template-columns: 35px 1fr 38px; }
  .phone-mock { right: -3px; bottom: -2px; width: 137px; border-width: 5px; border-radius: 24px; transform: rotate(-3deg); }
  .phone-head { height: 68px; padding: 13px; }
  .phone-body { padding: 10px; }
  .phone-service { padding: 9px; }

  .section { padding: 58px 0; }
  .section h2 { font-size: clamp(33px, 10vw, 43px); overflow-wrap: anywhere; }
  .section-head { margin-bottom: 28px; }
  .section-head p { font-size: 15px; }
  .feature-grid { gap: 10px; }
  .feature-card { min-height: 0; padding: 21px; }
  .feature-card h3 { margin: 19px 0 7px; }
  .theme-grid { display: flex; grid-template-columns: none; gap: 11px; margin-right: -16px; overflow-x: auto; padding: 2px 16px 12px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .theme-grid::-webkit-scrollbar { display: none; }
  .theme-grid .theme-tile { flex: 0 0 min(82vw, 310px); scroll-snap-align: start; }
  .cta-card { gap: 22px; padding: 25px 21px; border-radius: 21px; }
  .cta-card .btn { width: 100%; }
  .site-footer { padding: 27px 0 100px; }
  .site-footer .row-between { align-items: flex-start; }
  .mobile-marketing-cta { position: fixed; z-index: 55; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid rgba(215,225,219,.9); border-radius: 18px; background: rgba(255,255,255,.96); padding: 9px 9px 9px 14px; box-shadow: 0 16px 50px rgba(20,40,31,.17); backdrop-filter: blur(18px); }
  .mobile-marketing-cta strong, .mobile-marketing-cta small { display: block; }
  .mobile-marketing-cta strong { font-size: 12px; }
  .mobile-marketing-cta small { margin-top: 2px; color: var(--ink-soft); font-size: 9px; }
  .mobile-marketing-cta .btn { min-height: 43px; padding-inline: 15px; font-size: 12px; }

  .auth-page { display: block; min-height: 100svh; }
  .auth-aside { min-height: 0; padding: 20px 20px 25px; }
  .auth-aside::after { width: 240px; height: 240px; right: -100px; bottom: -135px; border-width: 52px; }
  .auth-quote { margin-top: 26px; }
  .auth-quote h1 { max-width: 335px; margin: 0; font-size: 30px; line-height: 1.04; }
  .auth-quote p, .auth-aside > small { display: none; }
  .auth-main { display: block; padding: 14px 12px 34px; }
  .auth-card { padding: 22px 20px 25px; border-radius: 21px; box-shadow: 0 12px 35px rgba(20,40,31,.06); }
  .auth-card h2 { font-size: 32px; }
  .auth-trial { grid-template-columns: auto 1fr; padding: 12px; }
  .auth-trial span { font-size: 9px; }
  .field { min-height: 50px; border-radius: 13px; font-size: 16px; }

  .demo-toolbar-inner { width: 100%; padding: 11px 12px 10px; }
  .demo-toolbar-inner > div { padding-inline: 3px; }
  .demo-toolbar nav { border-radius: 12px; }
  .demo-toolbar nav a { min-height: 34px; display: inline-flex; align-items: center; }
  .salon-header { position: sticky; top: 0; z-index: 35; background: color-mix(in srgb, var(--salon-bg) 92%, white); backdrop-filter: blur(18px); }
  .salon-header-inner { width: calc(100% - 24px); min-height: 66px; gap: 10px; }
  .salon-brand { flex: 1 1 auto; min-width: 0; gap: 9px; font-size: 13px; }
  .salon-logo { flex: 0 0 auto; width: 38px; height: 38px; }
  .salon-brand-name { max-width: 180px; }
  .salon-header-cta { flex: 0 0 auto; min-height: 40px; padding: 8px 12px; font-size: 11px; white-space: nowrap; }
  .salon-hero { min-height: 475px; background-position: center; }
  .salon-hero::after { background: linear-gradient(180deg, rgba(10,15,13,.08) 0%, rgba(10,15,13,.62) 100%); }
  .salon-hero-content { display: grid; align-content: end; min-height: 475px; padding-block: 95px 38px; }
  .salon-open { width: fit-content; margin-bottom: 15px; }
  .salon-hero h1 { max-width: 100%; margin-bottom: 15px; font-size: clamp(42px, 12vw, 53px); overflow-wrap: anywhere; }
  .salon-hero p { margin-bottom: 23px; font-size: 15px; line-height: 1.6; }
  .salon-hero .btn { width: 100%; min-height: 50px; }
  .salon-section { padding: 54px 0; }
  .salon-section-head { display: grid; gap: 12px; margin-bottom: 21px; }
  .salon-section h2 { margin-bottom: 20px; font-size: 35px; }
  .salon-section-head h2 { margin: 8px 0 0; }
  .salon-section-head > p { font-size: 13px; }
  .service-grid, .staff-grid { gap: 10px; }
  .service-card { min-height: 0; padding: 18px; }
  .service-card p { min-height: 0; }
  .service-card-bottom { margin-top: 12px; }
  .service-book { min-height: 46px; }
  .staff-card { padding: 19px; }
  .demo-conversion { padding: 27px 0 34px; }
  .demo-conversion strong { font-size: 21px; }
  .public-site .site-footer { padding-bottom: 100px; }
  .salon-mobile-cta { position: fixed; z-index: 60; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid color-mix(in srgb, var(--salon-ink) 13%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--salon-bg) 94%, white); padding: 9px 9px 9px 14px; box-shadow: 0 16px 50px rgba(12,23,18,.2); backdrop-filter: blur(18px); }
  .salon-mobile-cta small, .salon-mobile-cta strong { display: block; }
  .salon-mobile-cta small { color: color-mix(in srgb, var(--salon-ink) 60%, transparent); font-size: 9px; }
  .salon-mobile-cta strong { margin-top: 2px; font-size: 11px; }
  .salon-mobile-cta .btn { min-height: 44px; padding-inline: 15px; font-size: 12px; white-space: nowrap; }

  .booking-page { min-height: 100svh; padding: 0 0 90px; background: white; }
  .booking-shell { width: 100%; }
  .booking-top { position: sticky; top: 0; z-index: 35; min-height: 64px; margin: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); padding: 10px 16px; backdrop-filter: blur(18px); }
  .booking-top .salon-brand { min-width: 0; font-size: 13px; }
  .booking-top .salon-brand-name { max-width: 210px; }
  .booking-top .salon-logo { width: 38px; height: 38px; }
  .booking-card { overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
  .booking-head { padding: 19px 16px 17px; }
  .booking-headline { align-items: end; }
  .booking-head h1 { max-width: 270px; margin-top: 4px; font-size: 28px; }
  .booking-progress { margin-top: 15px; }
  .booking-body { min-height: calc(100svh - 245px); padding: 18px 16px 106px; }
  .choice-grid { gap: 9px; }
  .choice { min-height: 82px; padding: 14px; }
  .choice-person { grid-template-columns: auto minmax(0, 1fr) auto; }
  .quick-date-strip { grid-template-columns: repeat(7, 66px); margin-right: -16px; padding-right: 16px; }
  .booking-date-field { max-width: none; }
  .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .slot { min-height: 48px; padding: 9px 6px; }
  .booking-footer { position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; gap: 9px; border-top: 1px solid rgba(215,225,219,.92); background: rgba(255,255,255,.96); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -12px 35px rgba(20,40,31,.08); backdrop-filter: blur(18px); }
  .booking-footer .btn { min-height: 50px; }
  .booking-footer .btn-ghost { flex: 0 0 32%; border: 1px solid var(--line); }
  .booking-footer .btn-primary { flex: 1 1 auto; }
  .success-panel { min-height: calc(100svh - 70px); padding: 35px 18px 100px; }
  .booking-email-note { max-width: 330px; line-height: 1.55; }

  .dashboard-main { min-width: 0; padding: 0 12px calc(100px + env(safe-area-inset-bottom)); }
  .dashboard-top { min-width: 0; min-height: 66px; gap: 10px; }
  .dashboard-top > div:first-child { min-width: 0; }
  .dashboard-top h1 { overflow: hidden; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
  .dashboard-top p { overflow: hidden; max-width: 210px; text-overflow: ellipsis; white-space: nowrap; }
  .dashboard-actions .btn { width: 42px; min-height: 40px; overflow: hidden; padding: 0; font-size: 0; }
  .dashboard-actions .btn::before { content: "↗"; font-size: 18px; }
  .dashboard-content { min-width: 0; padding-top: 20px; }
  .operation-ready { gap: 12px; padding: 14px; }
  .operation-ready > span { width: 35px; height: 35px; }
  .page-intro { margin-bottom: 16px; }
  .page-intro h2 { font-size: 28px; line-height: 1.08; }
  .page-intro p { font-size: 13px; line-height: 1.55; }
  .stats-grid { gap: 9px; }
  .stat-card { min-width: 0; padding: 16px; }
  .stat-card span { display: block; min-height: 30px; line-height: 1.35; }
  .stat-card strong { margin-top: 5px; font-size: 27px; }
  .content-grid, .split-layout { gap: 11px; margin-top: 11px; }
  .card { min-width: 0; border-radius: 17px; }
  .card-head { flex-wrap: wrap; gap: 10px; padding: 15px; }
  .card-body { padding: 16px; }
  .toolbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; width: 100%; align-items: end; gap: 7px; }
  .toolbar .field-label { min-width: 0; }
  .toolbar .field { min-height: 42px; padding-inline: 8px; font-size: 13px; }
  .toolbar #today-button { grid-column: 1 / -1; width: 100%; }
  .data-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "customer status" "service select"; min-height: 0; gap: 11px 8px; padding: 15px; }
  .data-row > *:nth-child(2), .data-row > *:nth-child(3) { display: initial; }
  .appointment-customer { grid-area: customer; min-width: 0; }
  .appointment-customer strong { display: flex; align-items: center; min-width: 0; }
  .appointment-service { grid-area: service; min-width: 0; padding-left: 2px; }
  .data-row > .status { grid-area: status; display: inline-flex; align-self: start; justify-self: end; }
  .appointment-status { grid-area: select; width: 118px; min-height: 40px; align-self: end; justify-self: end; padding: 6px 8px; font-size: 12px; }
  .mobile-dashboard-nav { right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); left: 8px; gap: 2px; padding: 7px 5px; border-radius: 19px; }
  .mobile-dashboard-nav a { min-width: 0; border-radius: 13px; padding: 7px 2px 6px; font-size: 8px; }
  .mobile-dashboard-nav a.active { background: var(--surface-2); }
  .mobile-dashboard-nav b { font-size: 17px; }
  .item-grid { gap: 10px; }
  .item-card { padding: 16px; }
  .theme-choice-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(258px, 82vw); grid-template-columns: none; margin-right: -16px; overflow-x: auto; padding: 2px 16px 10px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .theme-choice-grid::-webkit-scrollbar { display: none; }
  .theme-choice { scroll-snap-align: start; }
  .live-preview-services { grid-template-columns: 1fr 1fr; }
  .live-preview-services span:last-child { display: none; }
  .premium-dialog { padding: 28px 20px 22px; border-radius: 20px; }
  .premium-dialog h2 { font-size: 30px; }
  .dialog-actions { display: grid; }
  .hour-row { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 8px; }
  .hour-row > strong { grid-column: 1 / -1; width: auto !important; }
  .hour-row .field { max-width: none !important; }
  #settings-form > .row-between { align-items: stretch; flex-direction: column; }
  #settings-form > .row-between .btn { width: 100%; }
  .toast { right: 10px; bottom: calc(86px + env(safe-area-inset-bottom)); left: 10px; max-width: none; text-align: center; }
}

@media (max-width: 370px) {
  .site-header .brand-copy { display: none; }
  .salon-brand-name { max-width: 135px; }
  .salon-header-cta { padding-inline: 10px; }
  .hero h1 { font-size: 39px; }
  .booking-top .salon-brand-name { max-width: 170px; }
  .mobile-dashboard-nav a { font-size: 7px; }
}
