:root {
    --ink: #11100d;
    --muted: #746d5f;
    --line: #e7dcc4;
    --page: #f8f2e3;
    --surface: #ffffff;
    --surface-soft: #fbf6ea;
    --teal: #64753b;
    --teal-dark: #31451f;
    --coral: #8f6a2e;
    --gold: #d4a72c;
    --blue: #41566a;
    --peach: #efe1c9;
    --charcoal: #11100d;
    --charcoal-soft: #1b1c14;
    --shadow: 0 18px 46px rgba(17, 16, 13, 0.18);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

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

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.public-page { background: var(--page); }

.site-header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 5;
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px clamp(18px, 4vw, 56px);
    color: var(--ink);
}

.site-header.light {
    position: sticky;
    background: #fffdf8;
    color: var(--ink);
    box-shadow: 0 1px 0 var(--line);
}

.site-header.dark {
    color: #ffffff;
}

.site-header:has(+ main .market-hero) {
    color: #ffffff;
}

.site-header:has(+ main .market-hero) .site-logo::before,
.site-header:has(+ main .market-hero) .site-nav a:hover,
.site-header:has(+ main .market-hero) .site-nav .nav-cta {
    background: var(--gold);
    color: var(--ink);
}

.site-header.dark .site-logo::before,
.site-header.dark .site-nav a:hover,
.site-header.dark .site-nav .nav-cta {
    background: var(--gold);
    color: var(--ink);
}

.site-logo {
    display: grid;
    grid-template-columns: 54px auto;
    column-gap: 12px;
    align-items: center;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.site-logo::before {
    display: grid;
    width: 54px;
    height: 54px;
    grid-row: 1 / span 2;
    place-items: center;
    border-radius: 50%;
    background: var(--teal);
    color: #ffffff;
    font-size: 24px;
    content: "W";
}

.site-logo-name {
    display: block;
    text-align: center;
}

.site-logo-slogan {
    display: block;
    margin-top: 3px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    opacity: 1;
    text-align: center;
    text-transform: none;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
}

.site-nav .nav-pill,
.nav-menu summary {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    border: 1px solid rgba(17, 16, 13, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    padding: 0 20px;
    box-shadow: 0 10px 24px rgba(17, 16, 13, 0.08);
}

.site-nav .nav-text-link {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0 8px;
    box-shadow: none;
}

.site-nav .nav-pill:hover,
.site-nav .nav-text-link:hover,
.site-nav .nav-cta,
.nav-menu summary:hover,
.nav-menu[open] summary {
    background: var(--gold);
    color: var(--ink);
}

.site-header.light .site-nav .nav-pill:hover,
.site-header.light .site-nav .nav-text-link:hover,
.site-header.light .site-nav .nav-cta {
    background: var(--gold);
    color: var(--ink);
}

.nav-menu {
    position: relative;
}

.nav-menu summary {
    gap: 12px;
    list-style: none;
    cursor: pointer;
}

.nav-menu summary::-webkit-details-marker {
    display: none;
}

.menu-icon {
    position: relative;
    width: 18px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.menu-icon::before {
    position: absolute;
    top: 3px;
    left: 0;
    width: 18px;
    height: 2px;
    background: currentColor;
    content: "";
}

.nav-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    min-width: 240px;
    gap: 2px;
    border: 1px solid rgba(17, 16, 13, 0.08);
    border-radius: 16px;
    background: #fffdf8;
    padding: 16px;
    box-shadow: 0 24px 58px rgba(17, 16, 13, 0.2);
}

.site-header .nav-menu[open] .nav-menu-panel {
    background: #fffdf8 !important;
    color: var(--ink);
}

.nav-menu:not([open]) .nav-menu-panel {
    display: none;
}

.nav-menu-panel a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: flex-start;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    color: var(--ink);
    padding: 0 2px;
    font-weight: 700;
}

.nav-menu-panel h3 {
    margin: 0 2px 8px;
    color: var(--ink);
    font-size: 18px;
}

.nav-menu-panel .nav-menu-login {
    color: #5b35ff;
    font-weight: 700;
}

.nav-menu-panel a:hover {
    color: var(--teal-dark);
}

.nav-language {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    border: 1.5px solid var(--ink);
    border-radius: 9px;
    background: transparent;
    color: var(--ink);
    padding: 0 12px;
    text-align: left;
    font-weight: 700;
}

.nav-business-row {
    justify-content: space-between !important;
    border-top: 1px solid var(--line) !important;
    border-radius: 0 !important;
    margin: 10px -16px -16px;
    min-height: 58px !important;
    padding: 0 16px !important;
    font-weight: 900 !important;
}

.nav-business-row span {
    font-size: 22px;
}

.service-link-shell {
    position: absolute;
    top: 90px;
    left: clamp(18px, 5vw, 72px);
    right: clamp(18px, 5vw, 72px);
    z-index: 4;
}

.service-link-bar {
    display: flex;
    justify-content: center;
    gap: clamp(22px, 3.2vw, 44px);
    overflow-x: auto;
    border: 2px solid rgba(212, 167, 44, 0.52);
    border-radius: 999px;
    background: rgba(49, 69, 31, 0.92);
    padding: 13px clamp(18px, 4vw, 54px);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.service-link-bar::-webkit-scrollbar {
    display: none;
}

.service-link-arrow {
    display: none;
}

.service-link-bar a {
    color: inherit;
}

.service-link-bar a:hover {
    color: var(--gold);
}

.service-link-shell-static {
    position: static;
    margin: 18px clamp(18px, 5vw, 72px) 0;
}

.service-link-bar-static {
    position: static;
    background: var(--teal-dark);
}

.market-hero {
    position: relative;
    min-height: 760px;
    display: grid;
    align-items: center;
    padding: 154px clamp(18px, 5vw, 72px) 86px;
    overflow: visible;
    background: var(--teal-dark);
}

.market-hero::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(20, 25, 14, 0.84), rgba(53, 65, 31, 0.7) 48%, rgba(53, 65, 31, 0.18)),
        var(--hero-image);
    background-position: right center;
    background-size: cover;
    content: "";
}

.hero-copy {
    position: relative;
    display: grid;
    max-width: 1180px;
    gap: 22px;
    color: #ffffff;
}

.eyebrow,
.section-kicker {
    margin: 0;
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy .eyebrow { color: var(--gold); }

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

.hero-copy h1 {
    max-width: 700px;
    margin-bottom: 0;
    font-size: clamp(46px, 6vw, 78px);
    line-height: 1;
}

.hero-copy p:not(.eyebrow) {
    max-width: 620px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 20px;
    line-height: 1.5;
}

.hero-copy .hero-slogan {
    color: var(--gold);
    font-size: 24px;
    font-weight: 900;
}

.market-hero h1,
.market-hero .hero-copy,
.biz-image-hero h1,
.biz-image-hero .biz-hero-copy,
.pricing-strip h2 {
    color: #ffffff;
}

.market-hero p:not(.eyebrow):not(.hero-slogan),
.biz-image-hero p:not(.eyebrow),
.pricing-strip p {
    color: rgba(255, 255, 255, 0.82);
}

.market-search {
    position: relative;
    display: grid;
    width: min(1148px, 100%);
    grid-template-columns: minmax(250px, 1fr) minmax(240px, 0.95fr) minmax(190px, 0.7fr) 96px;
    gap: 0;
    border: 5px solid rgba(212, 167, 44, 0.86);
    border-radius: 999px;
    background: #ffffff;
    padding: 8px;
    box-shadow:
        0 0 0 5px rgba(100, 117, 59, 0.32),
        0 22px 55px rgba(17, 16, 13, 0.18);
}

.market-search label,
.auth-card label,
.signup-step label,
.field-grid label {
    display: grid;
    gap: 6px;
}

.market-search .search-field {
    position: relative;
    display: grid;
    align-items: center;
    gap: 0;
    border-right: 1px solid #ebe7df;
    padding: 0 18px;
}

.market-search .search-field::before {
    position: absolute;
    left: 22px;
    bottom: 21px;
    width: 15px;
    height: 15px;
    border: 2px solid #747474;
    content: "";
}

.market-search .treatment-field::before {
    border-radius: 50%;
}

.market-search .treatment-field::after {
    position: absolute;
    left: 35px;
    bottom: 18px;
    width: 9px;
    height: 2px;
    border-radius: 999px;
    background: #747474;
    content: "";
    transform: rotate(45deg);
}

.market-search .location-field::before {
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.market-search .location-field::after {
    position: absolute;
    left: 28px;
    bottom: 26px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #747474;
    content: "";
}

.market-search .date-field::before {
    border-radius: 3px;
    box-shadow: inset 0 5px 0 #747474;
}

.market-search .date-field { border-right: 0; }

.market-search span,
.auth-card label > span,
.signup-step label > span,
.field-grid label > span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.market-search .search-field > span:not([data-date-menu-summary]) {
    display: none;
}

.market-search input {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    border: 0;
    outline: 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    padding-left: 42px;
}

.market-search input::placeholder {
    color: #11100d;
    opacity: 1;
}

.treatment-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: -5px;
    z-index: 35;
    display: grid;
    width: min(370px, calc(100vw - 36px));
    gap: 18px;
    border: 1px solid rgba(212, 167, 44, 0.32);
    border-radius: 20px;
    background: var(--teal-dark);
    padding: 0 0 18px;
    color: #ffffff;
    box-shadow: 0 28px 70px rgba(17, 16, 13, 0.2);
    overflow: hidden;
}

.treatment-menu[hidden] {
    display: none;
}

.treatment-menu-search {
    position: relative;
    padding: 0;
}

.treatment-menu-search::before {
    position: absolute;
    left: 20px;
    top: 22px;
    width: 15px;
    height: 15px;
    border: 2px solid #747474;
    border-radius: 50%;
    content: "";
}

.treatment-menu-search::after {
    position: absolute;
    left: 33px;
    top: 37px;
    width: 9px;
    height: 2px;
    border-radius: 999px;
    background: #747474;
    content: "";
    transform: rotate(45deg);
}

.treatment-menu-search input {
    min-height: 62px;
    border: 0;
    border-radius: 0 0 26px 26px;
    background: #fffdf8;
    box-shadow:
        0 1px 0 rgba(231, 220, 196, 0.7),
        0 14px 28px rgba(49, 69, 31, 0.1);
    padding: 0 24px 0 52px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
}

.treatment-menu-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 30px;
}

.treatment-menu-tabs button {
    flex: 0 0 auto;
    min-height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0 16px;
    color: #ffffff;
    font-weight: 800;
}

.treatment-menu-tabs button.is-selected,
.treatment-menu-tabs button:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--ink);
}

.treatment-menu h3 {
    margin: -4px 30px 0;
    color: #ffffff;
    font-size: 20px;
}

.treatment-menu-list {
    display: grid;
    gap: 4px;
    padding: 0 18px;
}

.treatment-menu-list button {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 56px;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #ffffff;
    padding: 0 12px;
    text-align: left;
    font-weight: 800;
}

.treatment-menu-list button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.treatment-menu-icon {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
}

.treatment-menu-icon::before,
.treatment-menu-icon::after {
    position: absolute;
    content: "";
}

.all-icon::before {
    width: 16px;
    height: 16px;
    background:
        linear-gradient(currentColor 0 0) left top / 6px 6px no-repeat,
        linear-gradient(currentColor 0 0) right top / 6px 6px no-repeat,
        linear-gradient(currentColor 0 0) left bottom / 6px 6px no-repeat,
        linear-gradient(currentColor 0 0) right bottom / 6px 6px no-repeat;
}

.hair-icon::before {
    width: 14px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 9px 9px 5px 5px;
}

.hair-icon::after {
    width: 18px;
    height: 8px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    transform: translateY(7px);
}

.nails-icon::before {
    width: 10px;
    height: 22px;
    border: 2px solid currentColor;
    border-radius: 10px 10px 8px 8px;
    transform: rotate(8deg);
}

.removal-icon::before {
    width: 18px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 3px;
    transform: translateY(4px);
}

.removal-icon::after {
    width: 14px;
    height: 10px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    transform: translateY(-5px);
}

.brows-icon::before {
    width: 22px;
    height: 10px;
    border-bottom: 3px solid currentColor;
    border-radius: 0 0 50% 50%;
    transform: rotate(-12deg);
}

.brows-icon::after {
    width: 20px;
    height: 2px;
    background: currentColor;
    transform: translateY(8px) rotate(12deg);
}

.face-icon::before {
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.face-icon::after {
    width: 9px;
    height: 5px;
    border-bottom: 2px solid currentColor;
    border-radius: 0 0 10px 10px;
    transform: translateY(4px);
}

.massage-icon::before {
    width: 24px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 8px 8px 3px 3px;
    transform: translateY(4px);
}

.massage-icon::after {
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
    transform: translate(-12px, -6px);
}

.location-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: -5px;
    z-index: 34;
    display: grid;
    width: min(345px, calc(100vw - 36px));
    max-height: min(520px, calc(100vh - 180px));
    overflow-y: auto;
    border: 1px solid rgba(212, 167, 44, 0.32);
    border-radius: 18px;
    background: var(--teal-dark);
    padding: 18px 20px;
    color: #ffffff;
    box-shadow:
        0 0 0 4px rgba(212, 167, 44, 0.16),
        0 24px 58px rgba(17, 16, 13, 0.18);
}

.location-menu[hidden] {
    display: none;
}

.location-menu button {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 50px;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #ffffff;
    padding: 4px 2px;
    text-align: left;
    font-weight: 800;
}

.location-menu button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.location-menu-section {
    display: grid;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 12px;
    padding-top: 14px;
}

.location-menu-section p {
    margin: 0 2px 6px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.location-menu-section button {
    grid-template-columns: 1fr;
    min-height: 38px;
    padding: 0 12px;
}

.location-menu-icon {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
}

.location-menu-icon::before {
    position: absolute;
    width: 0;
    height: 0;
    border-top: 13px solid currentColor;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    content: "";
    transform: translate(3px, -1px) rotate(-45deg);
}

.date-menu-trigger {
    position: relative;
    width: 100%;
    min-height: 52px;
    border: 0;
    background: transparent;
    color: #11100d;
    padding: 0 12px 0 42px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
}

.date-menu-trigger em {
    display: none;
}

.date-time-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 112px;
    left: auto;
    z-index: 30;
    display: grid;
    width: min(760px, calc(100vw - 40px));
    grid-template-columns: 300px minmax(280px, 1fr);
    gap: 28px;
    border: 1px solid rgba(212, 167, 44, 0.32);
    border-radius: 8px;
    background: var(--teal-dark);
    padding: 24px 20px 20px;
    color: #ffffff;
    box-shadow: 0 26px 60px rgba(17, 16, 13, 0.22);
    isolation: isolate;
}

.date-time-menu::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--teal-dark);
    content: "";
}

.date-time-menu[hidden] {
    display: none;
}

.date-menu-controls,
.date-time-menu section {
    display: grid;
    gap: 14px;
}

.date-menu-controls {
    align-content: start;
    gap: 26px;
}

.date-time-menu h3 {
    position: relative;
    margin: 0;
    padding-left: 40px;
    font-size: 16px;
    color: #ffffff;
}

.date-time-menu h3::before {
    position: absolute;
    left: 2px;
    top: 0;
    width: 18px;
    height: 18px;
    border: 2px solid var(--gold);
    border-radius: 3px;
    box-shadow: inset 0 5px 0 var(--gold);
    content: "";
}

.date-choice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.date-choice-grid button,
.date-menu-input {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.34);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0 24px;
    color: #ffffff;
    font-weight: 800;
}

.date-choice-grid button.is-selected {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--ink);
}

.date-menu-input {
    position: relative;
    width: 100%;
    padding: 0 12px;
}

.date-menu-input > span {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    text-transform: none;
}

.date-menu-input input {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    cursor: pointer;
}

.date-menu-done {
    min-height: 40px;
    border: 0;
    border-radius: 4px;
    background: var(--gold);
    color: #ffffff;
    font-weight: 900;
}

.date-input-arrow::after {
    position: absolute;
    right: -13px;
    width: 24px;
    height: 24px;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    background: var(--teal-dark);
    content: "";
    transform: rotate(45deg);
}

.time-input-notch::after {
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 18px;
    height: 18px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    background: var(--teal-dark);
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.time-range-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 4px;
}

.time-range-grid label {
    display: grid;
    gap: 6px;
}

.time-range-grid label span {
    color: #ffffff;
    font-size: 13px;
    text-transform: none;
}

.time-range-grid select {
    min-height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.34);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 0 16px;
    font: inherit;
}

.date-menu-calendar {
    display: grid;
    align-content: start;
    gap: 18px;
    padding: 4px 0 0;
}

.date-menu-calendar-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 46px;
    color: #ffffff;
}

.date-menu-calendar-header button {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: var(--gold);
    font-size: 34px;
    line-height: 1;
}

.date-menu-weekdays,
.date-menu-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
    color: #ffffff;
    text-align: center;
}

.date-menu-weekdays {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 800;
}

.date-menu-days button {
    min-width: 0;
    min-height: 24px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font: inherit;
}

.date-menu-days button:hover {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.market-search > button,
.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 18px;
    font-weight: 900;
}

.market-search > button,
.button.primary {
    background: var(--gold);
    color: var(--ink);
}

.market-search > button {
    min-height: 54px;
    border-radius: 999px;
    background: var(--teal-dark);
    color: #ffffff;
    padding: 0 18px;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-trust-row span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid rgba(214, 169, 78, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.84);
    font-weight: 800;
}

.button.secondary {
    border-color: var(--line);
    background: #ffffff;
    color: var(--ink);
}

.button.full { width: 100%; }

.category-band {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 18px clamp(18px, 5vw, 72px);
    background: var(--teal-dark);
    box-shadow: 0 1px 0 var(--line);
}

.category-band button {
    flex: 0 0 auto;
    min-height: 42px;
    border: 1px solid rgba(214, 169, 78, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    padding: 0 16px;
    font-weight: 800;
}

.category-band button.is-selected,
.category-band button:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--ink);
}

.service-category-nav {
    justify-content: center;
}

.service-category-nav button {
    border-color: transparent;
    background: transparent;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.service-category-nav button.is-selected,
.service-category-nav button:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--ink);
}

.content-band {
    padding: 66px clamp(18px, 5vw, 72px);
}

.hot-treatments {
    background: #fffdf8;
}

.hot-treatments .section-heading {
    display: grid;
    max-width: 980px;
    justify-content: center;
    gap: 10px;
    margin-inline: auto;
    text-align: center;
}

.hot-treatments .section-heading h2 {
    max-width: 760px;
    color: var(--ink);
    font-size: clamp(36px, 5vw, 64px);
}

.treatment-pill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 980px;
    margin-inline: auto;
}

.treatment-pill-grid a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--page);
    padding: 0 18px;
    font-weight: 900;
}

.treatment-pill-grid a:hover {
    border-color: var(--gold);
    background: var(--teal-dark);
    color: var(--gold);
}

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

.section-heading h2,
.operator-copy h1,
.workspace-hero h1,
.workspace-header h1 {
    margin-bottom: 0;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.02;
}

.flow-grid,
.feature-grid,
.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.flow-grid article,
.feature-grid article,
.metric-card,
.data-panel,
.client-card,
.marketing-card,
.auth-card,
.signup-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    padding: 22px;
}

.flow-grid article span {
    color: var(--gold);
    font-weight: 900;
}

.wellnest-benefits {
    background: #fffdf8;
    text-align: center;
}

.wellnest-benefits .section-heading {
    display: grid;
    justify-content: center;
    text-align: center;
}

.wellnest-benefits .section-heading h2 {
    color: #07184a;
    font-size: clamp(28px, 3vw, 42px);
}

.benefit-card {
    display: grid;
    justify-items: center;
    border-color: transparent;
    background: transparent;
    text-align: center;
}

.benefit-card > span {
    position: relative;
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border-radius: 8px;
    color: #07184a;
}

.benefit-price > span { background: #ead08a; }
.benefit-time > span { background: #dce6c2; }
.benefit-trust > span { background: #f4ead5; }

.benefit-card > span::before,
.benefit-card > span::after {
    position: absolute;
    content: "";
}

.benefit-price > span::before {
    width: 38px;
    height: 28px;
    border: 4px solid currentColor;
    border-radius: 5px;
}

.benefit-price > span::after {
    width: 18px;
    height: 18px;
    border: 4px solid currentColor;
    border-radius: 50%;
    box-shadow: -18px 0 0 -7px currentColor, 18px 0 0 -7px currentColor;
}

.benefit-time > span::before {
    width: 38px;
    height: 38px;
    border: 4px solid currentColor;
    border-radius: 50%;
}

.benefit-time > span::after {
    width: 14px;
    height: 18px;
    border-top: 4px solid currentColor;
    border-left: 4px solid currentColor;
    transform: translate(4px, -3px);
}

.benefit-trust > span::before {
    width: 34px;
    height: 42px;
    border: 4px solid currentColor;
    border-radius: 18px 18px 14px 14px;
}

.benefit-trust > span::after {
    width: 16px;
    height: 9px;
    border-bottom: 4px solid currentColor;
    border-left: 4px solid currentColor;
    transform: translateY(-5px) rotate(-45deg);
}

.benefit-card h3 {
    margin-top: 4px;
    color: #07184a;
    font-size: 20px;
}

.benefit-card p {
    max-width: 300px;
    margin-bottom: 0;
    color: #07184a;
}

.flow-grid h3,
.feature-grid h3,
.marketing-card h2 {
    margin: 10px 0 8px;
}

.flow-grid p,
.feature-grid p,
.salon-results p,
.operator-copy p,
.pricing-strip p,
.metric-card small,
.client-card small,
.client-card span,
.service-row span,
.booking-item span,
.marketing-card p {
    color: var(--muted);
    line-height: 1.45;
}

.featured-salons {
    background: var(--page);
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(190px, 1.25fr) repeat(4, minmax(150px, 1fr));
    gap: clamp(34px, 6vw, 92px);
    background: #eeeeee;
    padding: 58px clamp(28px, 11vw, 182px);
    color: var(--ink);
}

.site-footer nav,
.footer-brand {
    display: grid;
    align-content: start;
    gap: 30px;
}

.footer-link-list {
    display: grid;
    gap: 18px;
}

.footer-brand strong {
    font-size: 29px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.footer-app-button {
    display: inline-flex;
    width: fit-content;
    min-height: 46px;
    align-items: center;
    gap: 9px;
    border: 1px solid #d0d0d0;
    border-radius: 999px;
    background: #ffffff;
    padding: 0 19px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
}

.footer-store-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.footer-store-icon-apple {
    fill: #111111;
}

.site-footer h3,
.footer-toggle {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 900;
}

.footer-toggle {
    border: 0;
    background: transparent;
    color: var(--ink);
    padding: 0;
    text-align: left;
}

.site-footer a {
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.site-footer a:hover {
    color: var(--teal-dark);
}

.site-footer nav:last-child a {
    display: inline-flex;
    gap: 14px;
    align-items: center;
}

.featured-salons .section-heading {
    display: grid;
    max-width: 1180px;
    gap: 10px;
    margin-bottom: 24px;
}

.featured-salons .section-heading h2 {
    max-width: 900px;
    color: var(--ink);
    font-size: clamp(34px, 4.4vw, 58px);
}

.salon-results {
    display: grid;
    max-width: 1180px;
    gap: 14px;
}

.salon-results article {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 104px;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    padding: 12px 14px;
}

.salon-results strong,
.service-row strong,
.booking-item strong,
.client-card strong {
    display: block;
}

.salon-results a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--teal-dark);
    color: var(--gold);
    font-weight: 900;
}

.salon-results p {
    margin-bottom: 0;
}

.result-media {
    aspect-ratio: 1;
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 8px;
    background: linear-gradient(135deg, #1d1a15, #d6a94e);
}

.media-nails { background: linear-gradient(135deg, #f8ead2, #d6a94e); }
.media-spa { background: linear-gradient(135deg, #17635b, #f8ead2); }

.operator-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 32px;
    align-items: center;
    padding: 72px clamp(18px, 5vw, 72px);
    background: linear-gradient(135deg, #f7fbfa, #ffffff);
}

.biz-image-hero {
    position: relative;
    min-height: 88vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--teal-dark);
    padding: 120px clamp(18px, 5vw, 72px) 86px;
}

.biz-image-hero::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(20, 25, 14, 0.94), rgba(53, 65, 31, 0.72) 42%, rgba(53, 65, 31, 0.18)),
        var(--biz-hero-image);
    background-position: center;
    background-size: cover;
    content: "";
}

.biz-hero-copy {
    position: relative;
    z-index: 1;
    display: grid;
    max-width: 820px;
    gap: 22px;
    color: #ffffff;
}

.biz-hero-copy .eyebrow {
    color: var(--gold);
}

.biz-hero-copy h1 {
    margin: 0;
    font-size: clamp(46px, 6vw, 84px);
    line-height: 0.98;
}

.biz-hero-copy p:not(.eyebrow) {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 20px;
    line-height: 1.5;
}

.button.secondary.glass {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    backdrop-filter: blur(12px);
}

.hero-stat-strip {
    position: absolute;
    right: clamp(18px, 5vw, 72px);
    bottom: 26px;
    left: clamp(18px, 5vw, 72px);
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hero-stat-strip article {
    border: 1px solid rgba(214, 169, 78, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 14px 16px;
    backdrop-filter: blur(14px);
}

.hero-stat-strip strong {
    display: block;
    font-size: 26px;
}

.hero-stat-strip span {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.biz-visual-flow {
    background: #fffdf8;
}

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

.biz-media-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.biz-media-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.biz-media-card div {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 22px;
}

.biz-media-card h3,
.proof-band h2 {
    margin: 0;
}

.biz-media-card p,
.proof-band p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.proof-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 28px;
    align-items: center;
    background: var(--page);
}

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

.proof-metrics article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 18px;
}

.proof-metrics strong {
    display: block;
    font-size: 42px;
}

.proof-metrics span {
    color: var(--muted);
    font-weight: 800;
}

.operator-copy {
    display: grid;
    gap: 20px;
}

.button-row,
.topbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.calendar-view-select {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    padding: 0 14px;
    color: var(--ink);
    font-weight: 900;
}

.operator-board {
    display: grid;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 18px;
    box-shadow: var(--shadow);
}

.board-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
}

.operator-board article {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 80px;
    gap: 12px;
    border-left: 4px solid var(--teal);
    border-radius: 8px;
    background: #f8fafc;
    padding: 14px;
}

.operator-board article:nth-of-type(2) { border-left-color: var(--coral); }
.operator-board article:nth-of-type(3) { border-left-color: var(--gold); }

.board-progress,
.progress-track {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8ecef;
}

.board-progress span,
.progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--teal);
}

.pricing-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 24px;
    align-items: center;
    margin: 0 clamp(18px, 5vw, 72px) 60px;
    border-radius: 8px;
    background: var(--teal-dark);
    color: #ffffff;
    padding: 28px;
}

.pricing-strip p { color: rgba(255, 255, 255, 0.72); }
.pricing-strip strong { font-size: 42px; }

.salon-profile-page {
    background: var(--page);
    min-height: 100vh;
    padding: 32px clamp(18px, 5vw, 72px) 64px;
}

.salon-profile-hero {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    padding: 18px;
}

.salon-profile-hero img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
}

.salon-profile-hero h1 {
    margin: 8px 0 10px;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 0.98;
}

.salon-profile-hero p:not(.eyebrow) {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.5;
}

.salon-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.salon-badges span,
.time-chip-grid button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f8ead2;
    padding: 0 14px;
    font-weight: 800;
}

.salon-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    margin-top: 18px;
}

.salon-main {
    display: grid;
    gap: 18px;
}

.booking-panel {
    position: sticky;
    top: 92px;
    display: grid;
    align-self: start;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    padding: 20px;
}

.booking-panel h2 {
    margin: 0;
}

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

.booking-panel label {
    display: grid;
    gap: 6px;
}

.booking-panel label span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.booking-panel select,
.booking-panel input,
.booking-panel textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    padding: 12px;
}

.booking-panel select,
.booking-panel input {
    min-height: 46px;
}

.time-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 6px;
}

.time-chip-grid button {
    border-radius: 8px;
}

.time-chip-grid button.is-selected {
    border-color: var(--gold);
    background: var(--teal-dark);
    color: var(--gold);
}

.booking-message {
    margin: 0;
    border-radius: 8px;
    padding: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.booking-message.is-success {
    background: #ecf5ee;
    color: var(--teal-dark);
}

.booking-message.is-error {
    background: #fff0e0;
    color: #8a3f18;
}

.booking-panel [type="submit"] {
    margin-top: 6px;
}

.hours-summary {
    display: grid;
    gap: 8px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.hours-summary h3 {
    margin: 0;
}

.hours-summary div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
}

.hours-summary strong {
    color: var(--ink);
}

.venue-page {
    background: #ffffff;
    color: #050505;
    min-height: 100vh;
    padding: 14px clamp(28px, 8vw, 190px) 56px;
}

.venue-topbar {
    display: grid;
    grid-template-columns: 180px minmax(320px, 1fr) 170px;
    gap: 28px;
    align-items: center;
    margin-bottom: 34px;
}

.venue-wordmark {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0;
}

.venue-search {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 58px;
    align-items: center;
    min-height: 58px;
    border: 1px solid #dedede;
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.venue-search span {
    padding: 0 30px;
    border-right: 1px solid #dddddd;
    font-size: 17px;
    font-weight: 500;
}

.venue-search button,
.venue-menu summary,
.venue-actions button,
.venue-service-card button,
.venue-see-all,
.venue-book-card button,
.booking-flow-back,
.booking-flow-close,
.booking-summary-card form > button {
    border: 1px solid #d8d8d8;
    background: #ffffff;
    color: #050505;
}

.venue-search button {
    width: 44px;
    height: 44px;
    margin-right: 8px;
    border: 0;
    border-radius: 50%;
    background: #060606;
    position: relative;
}

.venue-search button::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.venue-search button::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    right: 13px;
    bottom: 14px;
    background: #ffffff;
    transform: rotate(45deg);
}

.venue-menu {
    justify-self: end;
    position: relative;
}

.venue-menu summary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    border-radius: 999px;
    padding: 0 28px;
    font-size: 18px;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
}

.venue-menu summary::-webkit-details-marker { display: none; }

.venue-menu summary span,
.venue-menu summary span::before,
.venue-menu summary span::after {
    display: block;
    width: 28px;
    height: 2px;
    background: #050505;
}

.venue-menu summary span {
    position: relative;
}

.venue-menu summary span::before,
.venue-menu summary span::after {
    content: "";
    position: absolute;
    left: 0;
}

.venue-menu summary span::before { top: -9px; }
.venue-menu summary span::after { top: 9px; }

.venue-menu div {
    position: absolute;
    z-index: 10;
    right: 0;
    top: calc(100% + 10px);
    display: grid;
    min-width: 220px;
    border: 1px solid #dddddd;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
    padding: 10px;
}

.venue-menu a {
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 700;
}

.venue-menu a:hover { background: #f4f4f4; }

.venue-title-block em,
.venue-mobile-location,
.venue-mobile-nav,
.venue-mobile-cta {
    display: none;
}

.venue-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
}

.venue-title-block h1 {
    margin: 0 0 12px;
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 0.98;
    letter-spacing: 0;
}

.venue-title-block p {
    margin: 0;
    color: #747474;
    font-size: 17px;
    line-height: 1.35;
}

.venue-title-block strong { color: #c45000; }
.venue-title-block a,
.venue-book-details a,
.venue-section-row a,
.venue-address a {
    color: #6849ff;
    font-weight: 600;
}

.venue-title-block p .venue-separator {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 8px 4px;
    border-radius: 50%;
    background: #777777;
}

.venue-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 32px;
}

.venue-actions button {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    position: relative;
}

.venue-actions button:first-child::before {
    content: "";
    position: absolute;
    inset: 15px 18px 18px;
    border: 2px solid #050505;
    border-top: 0;
}

.venue-actions button:last-child::before {
    content: "♡";
    font-size: 29px;
    line-height: 1;
}

.venue-gallery {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 18px;
    margin-top: 8px;
    position: relative;
    aspect-ratio: 21 / 8;
}

.venue-gallery img {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 14px;
    object-fit: cover;
}

.venue-gallery .is-large {
    grid-row: span 2;
    min-height: 0;
}

.venue-gallery button {
    position: absolute;
    right: 38px;
    bottom: 36px;
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    padding: 0 28px;
    font-weight: 800;
}

.venue-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: 38px;
    align-items: start;
    margin-top: 56px;
}

.venue-main {
    display: grid;
    gap: 52px;
}

.venue-section h2,
.venue-info-grid h2,
.venue-nearby h2 {
    margin: 0 0 24px;
    font-size: 27px;
    line-height: 1;
}

.venue-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.venue-chips button {
    min-height: 42px;
    border: 1px solid #dddddd;
    border-radius: 999px;
    background: #ffffff;
    padding: 0 17px;
    font-size: 16px;
    font-weight: 600;
}

.venue-chips .is-active {
    border-color: #050505;
    background: #050505;
    color: #ffffff;
}

.venue-service-list {
    display: grid;
    gap: 18px;
}

.venue-service-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    min-height: 116px;
    border: 1px solid #dedede;
    border-radius: 16px;
    background: #ffffff;
    padding: 20px 26px;
}

.venue-service-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.venue-service-card p {
    margin: 0 0 14px;
    color: #6f6f6f;
    font-size: 16px;
}

.venue-service-card strong {
    font-size: 17px;
}

.venue-service-card button,
.venue-see-all {
    min-height: 42px;
    border-radius: 999px;
    padding: 0 18px;
    font-size: 16px;
    font-weight: 700;
}

.venue-see-all {
    margin-top: 26px;
    background: #ffffff;
}

.venue-book-card {
    position: sticky;
    top: 28px;
    overflow: hidden;
    border: 1px solid #dddddd;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
}

.venue-book-card > div {
    padding: 28px 30px;
}

.venue-book-card h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 2.7vw, 38px);
    line-height: 1;
}

.venue-book-card p {
    margin: 0;
    color: #707070;
    font-size: 16px;
    line-height: 1.35;
}

.venue-book-card button,
.booking-summary-card form > button {
    width: 100%;
    min-height: 52px;
    margin-top: 20px;
    border: 0;
    border-radius: 999px;
    background: #050505;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
}

.venue-book-details {
    display: grid;
    gap: 22px;
    border-top: 1px solid #dddddd;
}

.venue-book-details p {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    color: #050505;
}

.venue-detail-copy {
    min-width: 0;
}

.venue-detail-copy strong {
    font-weight: 800;
}

.venue-clock > span:first-child,
.venue-pin > span:first-child {
    width: 24px;
    height: 24px;
    border: 2px solid #050505;
    border-radius: 50%;
    position: relative;
    margin-top: 1px;
}

.venue-clock > span:first-child::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 2px;
    left: 11px;
    top: 11px;
    background: #050505;
}

.venue-clock > span:first-child::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 8px;
    left: 11px;
    top: 6px;
    background: #050505;
}

.venue-pin > span:first-child::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #050505;
    left: 7px;
    top: 7px;
}

.venue-section-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.venue-team {
    display: flex;
    gap: 28px;
}

.venue-team article {
    display: grid;
    justify-items: center;
    gap: 22px;
}

.venue-team img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.venue-team strong {
    font-size: 18px;
}

.venue-about p {
    max-width: 1180px;
    margin: 0;
    font-size: 19px;
    line-height: 1.42;
}

.venue-map {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 16 / 7;
    background: #edf3ef;
}

.venue-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.venue-map > span {
    position: absolute;
    left: 50%;
    top: 48%;
    width: 48px;
    height: 38px;
    border-radius: 18px 18px 18px 4px;
    background: #050505;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.venue-map > span::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 3px;
    left: 15px;
    top: 18px;
    background: #ffffff;
    transform: rotate(45deg);
}

.venue-address {
    margin: 24px 0 0;
    font-size: 17px;
}

.venue-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 46px;
}

.venue-hours {
    display: grid;
    gap: 16px;
}

.venue-hours p {
    display: grid;
    grid-template-columns: 20px minmax(120px, 1fr) auto;
    gap: 16px;
    margin: 0;
    color: #6f6f6f;
    font-size: 17px;
}

.venue-hours span {
    width: 16px;
    height: 16px;
    margin-top: 6px;
    border-radius: 50%;
    background: #c8c8c8;
}

.venue-hours .is-open span {
    background: #66cf3b;
}

.venue-hours em {
    color: #050505;
    font-style: normal;
}

.venue-info-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 17px;
}

.venue-info-list li:first-child::before {
    content: "✓";
    display: inline-grid;
    width: 24px;
    height: 24px;
    place-items: center;
    margin-right: 14px;
    border: 2px solid #050505;
    border-radius: 50%;
    font-size: 14px;
}

.venue-nearby {
    margin-top: 60px;
}

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

.venue-nearby-grid a {
    display: grid;
    gap: 8px;
}

.venue-nearby-grid img {
    width: 100%;
    aspect-ratio: 1.55;
    border-radius: 12px;
    object-fit: cover;
}

.venue-nearby-grid strong {
    font-size: 17px;
}

.venue-nearby-grid span,
.venue-nearby-grid small {
    color: #6f6f6f;
    font-size: 15px;
}

.venue-booking-flow[hidden] { display: none; }

.venue-booking-flow {
    position: fixed;
    inset: 0;
    z-index: 50;
    overflow: auto;
    background: #f5f5f5;
    color: #050505;
    padding: 72px clamp(28px, 8vw, 190px);
}

.venue-booking-flow .booking-flow-back,
.venue-booking-flow .booking-flow-close {
    position: fixed;
    top: 28px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ffffff;
}

.venue-booking-flow .booking-flow-back { left: 40px; }
.venue-booking-flow .booking-flow-close { right: 40px; }

.venue-booking-flow .booking-flow-back::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-left: 3px solid #050505;
    border-bottom: 3px solid #050505;
    left: 21px;
    top: 18px;
    transform: rotate(45deg);
}

.venue-booking-flow .booking-flow-close::before,
.venue-booking-flow .booking-flow-close::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 2px;
    left: 15px;
    top: 26px;
    background: #050505;
}

.venue-booking-flow .booking-flow-close::before { transform: rotate(45deg); }
.venue-booking-flow .booking-flow-close::after { transform: rotate(-45deg); }

.booking-flow-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
    gap: 56px;
}

.booking-steps {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 22px;
    font-size: 17px;
}

.booking-steps em {
    color: #a4a4a4;
    font-style: normal;
}

.booking-steps span {
    width: 8px;
    height: 8px;
    border-right: 2px solid #050505;
    border-bottom: 2px solid #050505;
    transform: rotate(-45deg);
}

.booking-flow-main h1 {
    margin: 0 0 34px;
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1;
}

.booking-flow-main h2 {
    margin: 0 0 20px;
    font-size: 24px;
}

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

.booking-service-picker button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 18px;
    align-items: end;
    min-height: 150px;
    border: 1px solid #dedede;
    border-radius: 18px;
    background: #ffffff;
    padding: 24px 28px;
    text-align: left;
}

.booking-service-picker button.is-selected {
    border: 3px solid #6849ff;
}

.booking-service-picker span {
    display: grid;
    gap: 12px;
}

.booking-service-picker strong,
.booking-summary-line strong {
    font-size: 18px;
}

.booking-service-picker em,
.booking-service-picker small,
.booking-summary-venue span,
.booking-summary-line span {
    color: #6f6f6f;
    font-style: normal;
    font-size: 16px;
    line-height: 1.35;
}

.booking-service-picker b {
    margin-top: 10px;
    font-size: 18px;
}

.booking-service-picker i {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    justify-self: end;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    font-style: normal;
}

.booking-service-picker i::before {
    content: "+";
    font-size: 28px;
    line-height: 1;
}

.booking-service-picker .is-selected i {
    background: #6849ff;
    color: #ffffff;
}

.booking-service-picker .is-selected i::before {
    content: "✓";
    font-size: 21px;
}

.booking-summary-card {
    position: sticky;
    top: 72px;
    align-self: start;
    border: 1px solid #dedede;
    border-radius: 20px;
    background: #ffffff;
    padding: 32px 34px;
}

.booking-service-picker .is-selected i::before {
    content: "";
    width: 12px;
    height: 20px;
    border-right: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    transform: rotate(38deg);
}

.venue-booking-flow .site-footer {
    margin: 56px 0 0;
}

.booking-summary-card form {
    display: grid;
    gap: 18px;
}

.booking-summary-venue {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.booking-summary-venue img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
}

.booking-summary-venue strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.booking-summary-card hr {
    width: 100%;
    border: 0;
    border-top: 1px solid #dddddd;
}

.booking-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.booking-summary-line b {
    font-size: 18px;
    white-space: nowrap;
}

.booking-confirm-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.booking-confirm-fields label {
    display: grid;
    gap: 6px;
}

.booking-confirm-fields label:last-child {
    grid-column: 1 / -1;
}

.booking-confirm-fields label span {
    color: #6f6f6f;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.booking-confirm-fields input,
.booking-confirm-fields select,
.booking-confirm-fields textarea {
    width: 100%;
    border: 1px solid #dddddd;
    border-radius: 12px;
    background: #ffffff;
    padding: 10px;
}

.booking-confirm-fields input,
.booking-confirm-fields select {
    min-height: 40px;
}

body.has-booking-flow {
    overflow: hidden;
}

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

    .venue-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .venue-content,
    .booking-flow-shell {
        grid-template-columns: 1fr;
    }

    .venue-book-card,
    .booking-summary-card {
        position: static;
    }

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

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

@media (max-width: 760px) {
    .admin-table-panel {
        border-width: 1px 0;
        border-radius: 0;
        padding: 18px 14px;
    }

    .admin-edit-card {
        padding: 14px;
    }

    .admin-edit-card-heading {
        align-items: flex-start;
    }

    .admin-field-grid,
    .admin-field-wide {
        grid-template-columns: 1fr;
        grid-column: auto;
    }

    .venue-page {
        padding: 0 0 36px;
        background: #f4f4f4;
    }

    .venue-topbar {
        display: none;
    }

    .venue-hero {
        display: flex;
        flex-direction: column;
        gap: 0;
        background: #ffffff;
    }

    .venue-gallery {
        order: 1;
        display: block;
        aspect-ratio: 1 / 0.68;
        margin: 0;
        overflow: hidden;
        border-radius: 0;
        background: #111111;
    }

    .venue-gallery img,
    .venue-gallery .is-large {
        display: none;
    }

    .venue-gallery img.is-large {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 0;
        object-fit: cover;
    }

    .venue-gallery button {
        right: 22px;
        bottom: 22px;
        min-height: 34px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.58);
        color: #ffffff;
        box-shadow: none;
        padding: 0 12px;
        font-size: 0;
    }

    .venue-gallery button::before {
        content: "1/4";
        font-size: 15px;
        font-weight: 800;
    }

    .venue-actions {
        order: 1;
        position: absolute;
        z-index: 2;
        inset: 24px 24px auto 24px;
        display: flex;
        justify-content: space-between;
        padding: 0;
        pointer-events: none;
    }

    .venue-actions button {
        width: 52px;
        height: 52px;
        border: 0;
        background: rgba(255, 255, 255, 0.88);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
        pointer-events: auto;
    }

    .venue-actions button:first-child {
        margin-right: auto;
    }

    .venue-actions button:first-child::before {
        inset: 16px 19px 18px;
    }

    .venue-actions button:last-child::before {
        font-size: 30px;
    }

    .venue-title-block {
        order: 2;
        position: relative;
        z-index: 1;
        margin-top: -30px;
        border-radius: 28px 28px 0 0;
        background: #ffffff;
        padding: 28px 24px 30px;
    }

    .venue-title-block h1 {
        margin-bottom: 8px;
        font-size: 28px;
        line-height: 1.05;
    }

    .venue-title-block em {
        display: block;
        margin-bottom: 20px;
        color: #707070;
        font-size: 16px;
        font-style: normal;
    }

    .venue-title-block p {
        margin-bottom: 22px;
        color: #707070;
        font-size: 16px;
    }

    .venue-title-block p::before {
        content: "";
        display: inline-block;
        width: 14px;
        height: 14px;
        margin-right: 8px;
        border: 2px solid #c45000;
        border-radius: 50%;
        vertical-align: -1px;
    }

    .venue-title-block p > span,
    .venue-title-block p a {
        display: none;
    }

    .venue-title-block p strong,
    .venue-title-block p .venue-open-time {
        display: inline;
    }

    .venue-mobile-location {
        display: flex;
        min-height: 56px;
        align-items: center;
        border-radius: 14px;
        background: #f2f2f2;
        color: #050505;
        padding: 0 18px;
        font-size: 15px;
        font-weight: 500;
    }

    .venue-mobile-location::before {
        content: "";
        width: 12px;
        height: 12px;
        margin-right: 12px;
        border: 5px solid #050505;
        border-radius: 50%;
    }

    .venue-content {
        display: block;
        margin-top: 0;
    }

    .venue-main {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .venue-book-card {
        display: none;
    }

    .venue-mobile-nav {
        display: block;
        position: sticky;
        top: 0;
        z-index: 30;
        border-bottom: 1px solid #e4e4e4;
        background: #ffffff;
    }

    .venue-mobile-nav-header {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr) 34px 34px;
        gap: 12px;
        align-items: center;
        min-height: 58px;
        padding: 0 24px;
        border-bottom: 1px solid #ededed;
    }

    .venue-mobile-nav-header strong {
        overflow: hidden;
        font-size: 18px;
        line-height: 1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .venue-mobile-nav-header a,
    .venue-mobile-nav-header button {
        width: 34px;
        height: 34px;
        border: 0;
        background: transparent;
        position: relative;
    }

    .venue-mobile-nav-header a::before {
        content: "";
        position: absolute;
        width: 14px;
        height: 14px;
        border-left: 3px solid #050505;
        border-bottom: 3px solid #050505;
        left: 10px;
        top: 9px;
        transform: rotate(45deg);
    }

    .venue-mobile-nav-header button:first-of-type::before {
        content: "";
        position: absolute;
        inset: 7px 10px 10px;
        border: 2px solid #050505;
        border-top: 0;
    }

    .venue-mobile-nav-header button:last-of-type::before {
        content: "♡";
        font-size: 30px;
        line-height: 1;
    }

    .venue-mobile-nav > div:last-child {
        display: flex;
        overflow-x: auto;
        padding: 0 24px;
        scrollbar-width: none;
    }

    .venue-mobile-nav > div:last-child::-webkit-scrollbar {
        display: none;
    }

    .venue-mobile-nav > div:last-child a {
        flex: 0 0 auto;
        padding: 18px 18px 16px 0;
        color: #707070;
        font-size: 15px;
        font-weight: 700;
    }

    .venue-mobile-nav > div:last-child a:first-child {
        color: #050505;
        position: relative;
    }

    .venue-mobile-nav > div:last-child a:first-child::after {
        content: "";
        position: absolute;
        left: 0;
        right: 18px;
        bottom: 0;
        height: 5px;
        border-radius: 999px 999px 0 0;
        background: #050505;
    }

    .venue-section,
    .venue-info-grid,
    .venue-nearby,
    .venue-mobile-cta {
        background: #ffffff;
        padding: 30px 24px;
    }

    .venue-about {
        order: 1;
    }

    .venue-section#services {
        order: 2;
        background: #f4f4f4;
    }

    .venue-team-section {
        order: 3;
    }

    .venue-info-grid {
        order: 4;
    }

    #venue-map {
        order: 5;
    }

    .venue-nearby {
        margin-top: 0;
    }

    .venue-section h2,
    .venue-info-grid h2,
    .venue-nearby h2 {
        margin-bottom: 18px;
        font-size: 20px;
    }

    .venue-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -24px 22px;
        padding: 0 24px 4px;
        scrollbar-width: none;
    }

    .venue-chips::-webkit-scrollbar {
        display: none;
    }

    .venue-chips button {
        flex: 0 0 auto;
        min-height: 36px;
        font-size: 13px;
    }

    .venue-service-card {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 92px;
        gap: 14px;
        border-radius: 16px;
        padding: 16px 18px;
    }

    .venue-service-card button {
        justify-self: end;
        align-self: center;
        min-height: 42px;
        padding: 0 20px;
    }

    .venue-service-card h3 {
        margin-bottom: 4px;
        font-size: 16px;
    }

    .venue-service-card p {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .venue-service-card strong {
        font-size: 15px;
    }

    .booking-service-picker button {
        grid-template-columns: 1fr;
    }

    .venue-info-grid,
    .venue-nearby-grid,
    .booking-confirm-fields {
        grid-template-columns: 1fr;
    }

    .venue-team img {
        width: 82px;
        height: 82px;
    }

    .venue-about p,
    .venue-address,
    .venue-hours p,
    .venue-info-list {
        font-size: 14px;
        line-height: 1.45;
    }

    .venue-map {
        aspect-ratio: 1.15;
    }

    .venue-nearby {
        margin-top: 44px;
    }

    .venue-nearby-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        margin: 0 -24px;
        padding: 0 24px 8px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .venue-nearby-grid::-webkit-scrollbar {
        display: none;
    }

    .venue-nearby-grid a {
        flex: 0 0 62%;
        scroll-snap-align: start;
        gap: 5px;
    }

    .venue-nearby-grid img {
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }

    .venue-nearby-grid strong {
        font-size: 14px;
    }

    .venue-nearby-grid span,
    .venue-nearby-grid small {
        font-size: 12px;
        line-height: 1.25;
    }

    .venue-mobile-cta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border-top: 1px solid #e2e2e2;
        border-bottom: 1px solid #e2e2e2;
    }

    .venue-mobile-cta span {
        color: #707070;
        font-size: 14px;
    }

    .venue-mobile-cta button {
        min-height: 44px;
        border: 0;
        border-radius: 999px;
        background: #050505;
        color: #ffffff;
        padding: 0 22px;
        font-size: 15px;
        font-weight: 900;
    }

    .venue-booking-flow {
        padding: 70px 0 0;
        background: #f4f4f4;
    }

    .venue-booking-flow .booking-flow-back,
    .venue-booking-flow .booking-flow-close {
        top: 14px;
        width: 42px;
        height: 42px;
    }

    .venue-booking-flow .booking-flow-back {
        left: 14px;
    }

    .venue-booking-flow .booking-flow-close {
        right: 14px;
    }

    .venue-booking-flow .booking-flow-back::before {
        width: 14px;
        height: 14px;
        left: 16px;
        top: 14px;
    }

    .venue-booking-flow .booking-flow-close::before,
    .venue-booking-flow .booking-flow-close::after {
        width: 18px;
        left: 12px;
        top: 20px;
    }

    .booking-steps {
        gap: 12px;
        margin-bottom: 18px;
        font-size: 14px;
    }

    .booking-flow-main h1 {
        margin-bottom: 22px;
        font-size: 30px;
    }

    .booking-flow-shell {
        display: flex;
        flex-direction: column;
        gap: 18px;
        min-height: calc(100vh - 70px);
    }

    .booking-flow-main {
        padding: 0 18px;
    }

    .booking-flow-main h2 {
        font-size: 18px;
    }

    .booking-chips {
        margin: 0 -18px 20px;
        padding: 0 18px 4px;
    }

    .booking-service-picker button {
        grid-template-columns: minmax(0, 1fr) 38px;
        min-height: 82px;
        align-items: center;
        border-radius: 16px;
        padding: 13px 14px;
    }

    .booking-service-picker span {
        gap: 5px;
    }

    .booking-service-picker strong,
    .booking-summary-line strong {
        font-size: 15px;
    }

    .booking-service-picker em,
    .booking-service-picker small,
    .booking-summary-venue span,
    .booking-summary-line span {
        font-size: 13px;
    }

    .booking-service-picker small {
        display: none;
    }

    .booking-service-picker b {
        margin-top: 4px;
        font-size: 15px;
    }

    .booking-service-picker i {
        width: 34px;
        height: 34px;
    }

    .booking-service-picker i::before {
        font-size: 23px;
    }

    .booking-service-picker .is-selected i::before {
        width: 10px;
        height: 16px;
        border-right-width: 2px;
        border-bottom-width: 2px;
    }

    .booking-summary-card {
        position: static;
        width: 100%;
        margin-top: 4px;
        border-width: 1px 0 0;
        border-radius: 22px 22px 0 0;
        padding: 18px 18px calc(92px + env(safe-area-inset-bottom));
        box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.08);
    }

    .booking-summary-card form {
        gap: 14px;
    }

    .booking-summary-venue {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 12px;
    }

    .booking-summary-venue img {
        width: 52px;
        height: 52px;
    }

    .booking-summary-venue strong {
        margin-bottom: 4px;
        font-size: 15px;
    }

    .booking-summary-line {
        gap: 12px;
        align-items: flex-start;
    }

    .booking-summary-line b {
        font-size: 15px;
    }

    .booking-confirm-fields {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .booking-confirm-fields label {
        gap: 5px;
    }

    .booking-confirm-fields label span {
        font-size: 11px;
    }

    .booking-confirm-fields input,
    .booking-confirm-fields select,
    .booking-confirm-fields textarea {
        border-radius: 10px;
        padding: 9px 10px;
        font-size: 16px;
    }

    .booking-confirm-fields input,
    .booking-confirm-fields select {
        min-height: 42px;
    }

    .booking-message {
        font-size: 13px;
    }

    .booking-summary-card form > button {
        position: fixed;
        right: 18px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        left: 18px;
        z-index: 55;
        min-height: 48px;
        border-radius: 999px;
        font-size: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    }

    .venue-booking-flow .site-footer {
        margin-top: 36px;
    }
}

.app-rail {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 10;
    display: grid;
    width: 74px;
    grid-template-rows: auto 1fr auto;
    gap: 18px;
    background: var(--ink);
    padding: 16px 10px;
}

.brand-mark,
.rail-button {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 900;
}

.brand-mark { background: var(--teal); }
.rail-nav, .rail-footer { display: grid; gap: 8px; align-content: start; }
.rail-footer { align-content: end; }
.rail-button { background: rgba(255, 255, 255, 0.06); position: relative; }
.rail-button.is-active, .rail-button:hover { background: #ffffff; color: var(--ink); }

.rail-icon {
    position: relative;
    width: 24px;
    height: 24px;
    color: currentColor;
}

.rail-icon::before,
.rail-icon::after {
    position: absolute;
    content: "";
}

.dashboard-icon::before {
    inset: 2px;
    border: 2px solid currentColor;
    border-radius: 6px;
}

.dashboard-icon::after {
    inset: 8px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.calendar-icon::before {
    inset: 3px 2px 2px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.calendar-icon::after {
    top: 7px;
    right: 5px;
    left: 5px;
    height: 2px;
    background: currentColor;
    box-shadow: -2px -4px 0 -1px currentColor, 8px -4px 0 -1px currentColor;
}

.receipt-icon::before,
.cube-icon::before,
.megaphone-icon::before,
.chart-icon::before {
    inset: 3px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.receipt-icon::after {
    top: 8px;
    right: 7px;
    left: 7px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 5px 0 currentColor;
}

.people-icon::before,
.help-icon::before,
.admin-owners-icon::before,
.admin-customers-icon::before {
    inset: 2px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.people-icon::after {
    right: -1px;
    bottom: 0;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: var(--ink);
}

.admin-owners-icon::after {
    right: 1px;
    bottom: 1px;
    width: 12px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 8px 8px 2px 2px;
}

.admin-customers-icon::before {
    inset: 3px 9px 11px;
}

.admin-customers-icon::after {
    right: 2px;
    bottom: 3px;
    left: 2px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 10px 10px 3px 3px;
}

.rail-button.is-active .people-icon::after,
.rail-button:hover .people-icon::after {
    background: #ffffff;
}

.cube-icon::after {
    inset: 7px;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.megaphone-icon::before {
    border-radius: 50%;
    border-style: dashed;
}

.megaphone-icon::after {
    inset: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.chart-icon::after {
    right: 6px;
    bottom: 6px;
    left: 6px;
    height: 12px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    border-left: 3px solid currentColor;
}

.settings-icon::before {
    inset: 3px;
    border: 2px dashed currentColor;
    border-radius: 50%;
}

.settings-icon::after {
    inset: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.logout-icon::before {
    top: 4px;
    right: 4px;
    bottom: 4px;
    left: 2px;
    border: 2px solid currentColor;
    border-left: 0;
    border-radius: 0 7px 7px 0;
}

.logout-icon::after {
    top: 11px;
    left: 1px;
    width: 13px;
    height: 2px;
    background: currentColor;
}

.app-shell {
    min-height: 100vh;
    padding-left: 74px;
}

.admin-table-panel {
    display: grid;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

.admin-edit-list {
    display: grid;
    gap: 14px;
}

.admin-edit-card {
    display: grid;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfaf7;
    padding: 18px;
}

.admin-edit-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-edit-card-heading strong {
    display: block;
    font-size: 18px;
}

.admin-edit-card-heading span,
.admin-table-panel .panel-heading span {
    color: var(--muted);
}

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

.admin-field-grid label {
    display: grid;
    gap: 6px;
}

.admin-field-grid label span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-field-grid input,
.admin-field-grid textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
    padding: 10px 11px;
    font: inherit;
}

.admin-field-wide {
    grid-column: span 3;
}

.admin-check {
    align-content: end;
}

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

.admin-message-stack {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.admin-message {
    margin: 0;
    border-radius: 10px;
    background: #edf7f2;
    color: #185a3a;
    padding: 12px 14px;
    font-weight: 800;
}

.admin-message.error {
    background: #fff0f0;
    color: #9a1d1d;
}

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

.topbar {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 78px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
    padding: 14px clamp(18px, 3vw, 34px);
    backdrop-filter: blur(16px);
}

.topbar strong { font-size: 20px; }

.search-box {
    display: grid;
    min-width: min(360px, 44vw);
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 0 14px;
}

.search-box span {
    width: 15px;
    height: 15px;
    border: 2px solid var(--muted);
    border-radius: 50%;
}

.search-box input {
    min-height: 44px;
    min-width: 0;
    border: 0;
    outline: 0;
}

.dashboard-view {
    display: none;
    padding: 26px clamp(18px, 3vw, 34px) 44px;
}

.dashboard-view.is-active { display: grid; gap: 22px; }

.workspace-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0f2f2d, #16202a);
    color: #ffffff;
    padding: 30px;
}

.operator-summary {
    background:
        linear-gradient(135deg, rgba(53, 65, 31, 0.98), rgba(17, 16, 13, 0.96)),
        radial-gradient(circle at 78% 18%, rgba(212, 167, 44, 0.28), transparent 28%);
}

.workspace-hero p:not(.eyebrow) {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.72);
}

.hero-action-stack {
    display: grid;
    min-width: 180px;
    gap: 10px;
}

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

.quick-action-grid button {
    display: grid;
    min-height: 104px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px 12px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    padding: 16px;
    color: var(--ink);
    text-align: left;
}

.quick-action-grid button:hover {
    border-color: var(--gold);
    box-shadow: 0 14px 32px rgba(17, 16, 13, 0.1);
}

.quick-action-grid strong {
    align-self: end;
    font-size: 18px;
}

.quick-action-grid small {
    grid-column: 2;
    align-self: start;
    color: var(--muted);
    font-weight: 800;
}

.quick-icon {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    grid-row: 1 / span 2;
    place-items: center;
    border-radius: 8px;
    background: var(--teal-dark);
    color: var(--gold);
}

.quick-icon::before,
.quick-icon::after {
    position: absolute;
    content: "";
}

.plus-icon::before,
.plus-icon::after {
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
}

.plus-icon::after { transform: rotate(90deg); }

.block-icon::before {
    width: 20px;
    height: 20px;
    border: 3px solid currentColor;
    border-radius: 50%;
}

.block-icon::after {
    width: 20px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(-38deg);
}

.client-icon::before {
    width: 15px;
    height: 15px;
    border: 3px solid currentColor;
    border-radius: 50%;
    transform: translateY(-5px);
}

.client-icon::after {
    width: 24px;
    height: 12px;
    border: 3px solid currentColor;
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    transform: translateY(12px);
}

.service-icon::before {
    width: 20px;
    height: 24px;
    border: 3px solid currentColor;
    border-radius: 4px;
}

.service-icon::after {
    width: 12px;
    height: 3px;
    background: currentColor;
    box-shadow: 0 7px 0 currentColor;
}

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

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

.metric-card {
    display: grid;
    gap: 8px;
}

.metric-card span { color: var(--muted); font-weight: 800; }
.metric-card strong { font-size: 34px; }

.workspace-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 18px;
}

.dashboard-command-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    gap: 18px;
}

.dashboard-secondary-grid {
    align-items: start;
}

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

.panel-heading h2 { margin: 0; }

.booking-list,
.service-list,
.client-grid,
.health-list,
.staff-status-list,
.follow-up-list {
    display: grid;
    gap: 12px;
}

.booking-item,
.service-row,
.health-list article,
.staff-status-list article,
.follow-up-list article {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 14px;
}

.health-list article {
    grid-template-columns: 1fr;
    gap: 4px;
    background: var(--page);
}

.health-list span,
.staff-status-list span,
.follow-up-list span {
    color: var(--muted);
}

.day-control-panel {
    align-self: stretch;
}

.day-control-panel .button.full {
    margin-top: 4px;
}

.staff-status-list article {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 0.45fr) 86px;
}

.staff-status-list meter {
    width: 100%;
    height: 12px;
    accent-color: var(--gold);
}

.staff-status-list small {
    color: var(--teal-dark);
    font-weight: 900;
    text-align: right;
}

.follow-up-list article {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.8fr) auto;
}

.follow-up-list button {
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 0 12px;
    color: var(--teal-dark);
    font-weight: 900;
}

.service-row {
    grid-template-columns: minmax(0, 1fr) 110px 100px;
    border-left: 5px solid var(--teal);
}

.service-row.green { border-left-color: var(--teal); }
.service-row.blue { border-left-color: var(--blue); }
.service-row.amber { border-left-color: var(--gold); }

.status-pill {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 900;
}

.status-pill.confirmed,
.status-pill.active {
    background: #e8f7f3;
    color: var(--teal-dark);
}

.status-pill.pending {
    background: #fff4df;
    color: #976a10;
}

.status-pill.inactive {
    background: #eef0f3;
    color: #667085;
}

.step-list {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.step-list li {
    border-radius: 8px;
    background: #f8fafc;
    padding: 10px 12px;
    color: var(--muted);
    font-weight: 800;
}

.step-list li.complete { color: var(--teal-dark); }
.step-list li.current { background: #fff1f1; color: var(--ink); }

.schedule-board {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    padding: 12px;
}

.calendar-filter-group,
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.calendar-filter-group button,
.calendar-legend span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    padding: 0 12px;
    color: var(--muted);
    font-weight: 900;
}

.calendar-filter-group button.is-active,
.calendar-filter-group button:hover {
    border-color: var(--gold);
    background: var(--teal-dark);
    color: var(--gold);
}

.calendar-legend span::before {
    width: 9px;
    height: 9px;
    margin-right: 7px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.legend-confirmed { color: var(--teal-dark) !important; }
.legend-pending { color: #976a10 !important; }
.legend-blocked { color: #7f1d1d !important; }

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

.calendar-summary-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    padding: 16px;
}

.calendar-summary-grid strong {
    display: block;
    font-size: 28px;
}

.calendar-summary-grid span {
    color: var(--muted);
    font-weight: 800;
}

.calendar-panel {
    display: none;
}

.calendar-panel.is-active {
    display: block;
}

.week-calendar-grid {
    display: grid;
    grid-template-columns: 72px repeat(7, minmax(110px, 1fr));
    gap: 1px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.week-calendar-grid article,
.week-time-column {
    display: grid;
    min-height: 520px;
    align-content: start;
    gap: 10px;
    background: #fffdf8;
    padding: 12px;
}

.week-time-column {
    color: var(--muted);
    font-size: 12px;
}

.week-calendar-grid h3 {
    margin: 0;
    font-size: 16px;
}

.week-slot {
    display: block;
    border-left: 4px solid var(--teal);
    border-radius: 8px;
    background: #eef4df;
    padding: 10px;
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 900;
    cursor: grab;
    user-select: none;
}

.week-slot:active,
.month-booking-pill:active,
.appointment-card:active {
    cursor: grabbing;
}

.week-slot.is-dragging,
.month-booking-pill.is-dragging,
.appointment-card.is-dragging {
    opacity: 0.68;
    box-shadow: 0 18px 38px rgba(17, 16, 13, 0.2);
}

.week-calendar-grid article.is-drop-target,
.month-calendar-grid button.is-drop-target {
    outline: 3px solid rgba(212, 167, 44, 0.72);
    outline-offset: -5px;
    background: #fbf6ea;
}

.week-slot.pending {
    border-left-color: var(--gold);
    background: #fff4df;
    color: #7a5409;
}

.week-slot.blocked {
    border-left-color: #a64b3c;
    background: #fff0e8;
    color: #7f1d1d;
}

.week-slot.muted {
    border-left-color: var(--line);
    background: #f3f0e8;
    color: var(--muted);
}

.month-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.month-calendar-grid button {
    display: grid;
    min-height: 112px;
    align-content: start;
    gap: 8px;
    border: 0;
    background: #fffdf8;
    padding: 12px;
    color: var(--ink);
    text-align: left;
}

.month-calendar-grid button:hover,
.month-calendar-grid button.selected-day {
    background: var(--teal-dark);
    color: #ffffff;
}

.month-calendar-grid button.selected-day span,
.month-calendar-grid button:hover span {
    color: var(--gold);
}

.month-calendar-grid span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.month-calendar-grid .month-booking-pill {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 28px;
    align-items: center;
    border-radius: 999px;
    background: #eef4df;
    padding: 0 10px;
    color: var(--teal-dark);
    cursor: grab;
}

.year-calendar-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(80px, 1fr));
    gap: 10px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    padding: 16px;
}

.year-calendar-grid article {
    display: grid;
    min-height: 220px;
    grid-template-rows: auto 1fr auto;
    align-items: end;
    gap: 10px;
}

.year-calendar-grid strong,
.year-calendar-grid small {
    text-align: center;
}

.year-calendar-grid small {
    color: var(--muted);
    font-weight: 800;
}

.year-calendar-grid article span {
    display: block;
    min-height: 20px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, var(--gold), var(--teal));
}

.time-row {
    display: grid;
    min-height: 68px;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: start;
}

.time-label {
    color: var(--muted);
    padding: 12px;
    font-size: 12px;
    font-weight: 800;
}

.slot-line {
    height: 100%;
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.appointment-card {
    position: absolute;
    left: 108px;
    right: 24px;
    display: grid;
    gap: 4px;
    border-radius: 8px;
    background: #e9f7f3;
    color: var(--teal-dark);
    padding: 12px 14px;
    box-shadow: 0 12px 30px rgba(15, 118, 110, 0.16);
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.appointment-primary { top: 92px; min-height: 70px; }
.appointment-secondary { top: 248px; min-height: 96px; background: #eef4ff; color: #1c4385; }

.client-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.client-card {
    display: grid;
    gap: 8px;
}

.client-card button {
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    font-weight: 900;
}

.modal[hidden] { display: none; }

.modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 19, 24, 0.58);
}

.modal-card {
    position: relative;
    width: min(560px, 100%);
    border-radius: 8px;
    background: #ffffff;
    padding: 24px;
    box-shadow: var(--shadow);
}

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

.field-grid.compact { grid-template-columns: 1fr; }

.field-grid input,
.field-grid select,
.field-grid textarea,
.auth-card input,
.signup-step input,
.signup-step select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 0 14px;
}

.close-button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.auth-stage,
.signup-stage {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 32px 18px;
    background: linear-gradient(135deg, #f7fbfa, #ffffff);
}

.auth-card,
.signup-card {
    width: min(620px, 100%);
    display: grid;
    gap: 18px;
    box-shadow: var(--shadow);
}

.auth-card form,
.signup-step {
    display: grid;
    gap: 16px;
}

.auth-image-strip,
.auth-dots,
.wizard-header,
.choice-list,
.signup-hours,
.signup-service-list,
.staff-list {
    display: grid;
    gap: 10px;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 50;
    border-radius: 8px;
    background: var(--ink);
    color: #ffffff;
    padding: 14px 16px;
    box-shadow: var(--shadow);
    font-weight: 800;
}

.settings-header,
.salon-settings-header {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 86px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    padding: 14px clamp(18px, 3vw, 34px);
    backdrop-filter: blur(16px);
}

.settings-header h1 {
    margin: 0;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.04;
}

.header-subtitle {
    margin: 6px 0 0;
    color: var(--muted);
}

.back-link,
.auth-back {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.back-link::before,
.auth-back::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 13px;
    border-bottom: 3px solid currentColor;
    border-left: 3px solid currentColor;
    transform: translate(-35%, -50%) rotate(45deg);
    content: "";
}

.settings-layout,
.onboarding-page {
    display: grid;
    gap: 22px;
    padding: 26px clamp(18px, 3vw, 34px) 44px;
}

.setup-summary,
.salon-setup-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 22px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 24px;
}

.setup-summary h2 { margin-bottom: 8px; }

.setup-meter {
    display: grid;
    width: 132px;
    height: 132px;
    place-items: center;
    border: 11px solid #e8ecef;
    border-top-color: var(--teal);
    border-right-color: var(--coral);
    border-radius: 50%;
    text-align: center;
}

.setup-meter strong { font-size: 28px; }
.setup-meter span { color: var(--muted); font-size: 12px; }

.setup-step-row {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.setup-step-row li {
    flex: 1 1 150px;
    border-radius: 8px;
    background: #f8fafc;
    padding: 10px 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.setup-step-row li.complete { color: var(--teal-dark); }
.setup-step-row li.current { background: #fff1f1; color: var(--ink); }

.settings-grid,
.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 14px;
}

.settings-card,
.salon-card {
    display: grid;
    min-height: 112px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 20px;
}

.settings-card h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

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

.card-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 8px;
    background: #e8f7f3;
}

.card-icon::before {
    width: 18px;
    height: 18px;
    border: 2px solid var(--teal);
    border-radius: 5px;
    content: "";
}

.form-panel,
.hours-panel,
.services-section,
.settings-section {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 22px;
}

.focused-panel {
    max-width: 980px;
}

.field-grid label.large {
    grid-column: 1 / -1;
}

.field-grid textarea {
    min-height: 120px;
    padding-top: 12px;
    resize: vertical;
}

.services-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 16px;
}

.category-list {
    display: grid;
    align-content: start;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    padding: 14px;
}

.category-list button {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    text-align: left;
    font-weight: 800;
}

.category-list button.is-active {
    background: #ffffff;
    color: var(--teal-dark);
}

.hours-list {
    display: grid;
    gap: 10px;
}

.hours-row {
    display: grid;
    grid-template-columns: 46px 54px minmax(0, 1fr) minmax(0, 1fr) 110px;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: #f8fafc;
    padding: 8px;
}

.toggle,
.online-toggle .toggle {
    position: relative;
    width: 44px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: #cfd6df;
}

.toggle::before {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(17, 19, 24, 0.2);
    content: "";
}

.hours-row.is-open .toggle,
.online-toggle .toggle.is-on,
.toggle.is-on {
    background: var(--teal);
}

.hours-row.is-open .toggle::before,
.online-toggle .toggle.is-on::before,
.toggle.is-on::before {
    transform: translateX(20px);
}

.hours-row select,
.hours-row button:not(.toggle) {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 0 10px;
}

.category-choice-grid,
.upload-grid,
.image-review-grid,
.amenity-grid,
.rule-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.category-choice-grid label,
.amenity-grid label,
.rule-list label,
.image-upload-card,
.review-panel,
.billing-summary,
.form-list article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.category-choice-grid label,
.amenity-grid label,
.rule-list label {
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 10px;
    padding: 12px;
    font-weight: 800;
}

.category-choice-grid input,
.amenity-grid input,
.rule-list input {
    width: 18px;
    height: 18px;
    accent-color: var(--teal);
}

.upload-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.image-upload-card {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 14px;
    cursor: pointer;
}

.image-upload-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.image-upload-card small,
.image-upload-card em,
.form-list span,
.billing-summary span {
    color: var(--muted);
}

.image-upload-card em {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--ink);
    color: #ffffff;
    font-style: normal;
    font-weight: 900;
}

.preview-swatch {
    display: grid;
    aspect-ratio: 1;
    min-height: 0;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #d7eee8, #f5d5d5);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    color: rgba(17, 19, 24, 0.72);
    font-weight: 900;
    text-align: center;
}

.logo-preview {
    background: linear-gradient(135deg, #16202a, #0f766e);
    color: #ffffff;
}

.gallery-preview {
    background: linear-gradient(135deg, #f6e7b8, #d6e5fa);
}

.preview-swatch.has-file {
    background: #e8f7f3;
    color: var(--teal-dark);
}

.review-panel {
    padding: 16px;
}

.review-panel h3 {
    margin: 0 0 12px;
}

.image-review-grid {
    margin-bottom: 0;
}

.image-review-grid figure {
    display: grid;
    gap: 8px;
    margin: 0;
}

.image-review-grid figure span {
    aspect-ratio: 1;
    min-height: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #d7eee8, #f5d5d5);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.image-review-grid figcaption {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.review-logo {
    display: grid;
    place-items: center;
    background: var(--teal);
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
}

.review-gallery {
    background: linear-gradient(135deg, #f6e7b8, #d6e5fa);
}

.review-logo.has-file,
.review-gallery.has-file {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.form-list {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.form-list article,
.billing-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, auto) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
}

.billing-summary {
    margin-bottom: 18px;
    background: #f8fafc;
}

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

.password-field {
    position: relative;
}

.password-field button {
    position: absolute;
    right: 8px;
    bottom: 7px;
    min-height: 34px;
    border: 0;
    background: transparent;
    color: var(--teal-dark);
    font-weight: 900;
}

.password-field input {
    padding-right: 70px;
}

.inline-link,
.auth-footnote a {
    color: var(--teal-dark);
    font-weight: 900;
}

.auth-progress {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8ecef;
}

.auth-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--teal);
}

.auth-image-strip {
    grid-template-columns: repeat(3, 1fr);
    height: 130px;
    margin: -22px -22px 8px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.auth-image-strip span {
    background: linear-gradient(135deg, #d7eee8, #f5d5d5);
}

.auth-image-strip span:nth-child(2) { background: linear-gradient(135deg, #f6e7b8, #d7eee8); }
.auth-image-strip span:nth-child(3) { background: linear-gradient(135deg, #d6e5fa, #f5d5d5); }

.auth-dots {
    display: flex;
    justify-content: center;
}

.auth-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cfd6df;
}

.auth-dots .is-active { background: var(--teal); }

.is-hidden { display: none !important; }

@media (max-width: 980px) {
    .market-search,
    .operator-hero,
    .workspace-grid,
    .dashboard-command-grid,
    .flow-grid,
    .feature-grid,
    .metric-grid,
    .quick-action-grid,
    .calendar-summary-grid,
    .client-grid,
    .pricing-strip {
        grid-template-columns: 1fr;
    }

    .hero-stat-strip,
    .biz-media-grid,
    .proof-band,
    .proof-metrics,
    .site-footer {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 44px clamp(28px, 13vw, 72px);
    }

    .footer-brand {
        justify-items: center;
        gap: 22px;
        margin-bottom: 28px;
        text-align: center;
    }

    .site-footer nav {
        gap: 0;
        border-top: 1px solid rgba(17, 16, 13, 0.12);
    }

    .site-footer nav:last-child {
        border-bottom: 1px solid rgba(17, 16, 13, 0.12);
    }

    .footer-toggle {
        position: relative;
        width: 100%;
        min-height: 56px;
        cursor: pointer;
    }

    .footer-toggle::after {
        position: absolute;
        top: 50%;
        right: 0;
        color: var(--teal-dark);
        content: "+";
        font-size: 22px;
        line-height: 1;
        transform: translateY(-50%);
    }

    .footer-link-group.is-open .footer-toggle::after {
        content: "-";
    }

    .footer-link-list {
        display: none;
        gap: 18px;
        padding: 0 0 22px;
    }

    .footer-link-group.is-open .footer-link-list {
        display: grid;
    }

    .hero-stat-strip {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin-top: 28px;
    }

    .salon-profile-hero,
    .salon-profile-layout {
        grid-template-columns: 1fr;
    }

    .booking-panel {
        position: static;
    }

    .settings-grid,
    .detail-grid,
    .services-layout,
    .setup-summary,
    .salon-setup-summary,
    .field-grid,
    .hours-row,
    .category-choice-grid,
    .upload-grid,
    .image-review-grid,
    .amenity-grid,
    .rule-list,
    .form-list article,
    .billing-summary {
        grid-template-columns: 1fr;
    }

    .market-search .search-field {
        min-height: 46px;
        border: 1px solid #8b96b0;
        border-radius: 6px;
        background: #ffffff;
        padding: 7px 14px;
    }

    .date-time-menu {
        right: auto;
        left: -1px;
        width: min(640px, calc(100vw - 42px));
        grid-template-columns: 1fr;
    }

    .treatment-menu {
        left: -1px;
        width: min(360px, calc(100vw - 42px));
    }

    .location-menu {
        left: -1px;
        width: min(340px, calc(100vw - 42px));
    }

    .date-menu-calendar,
    .date-input-arrow::after {
        display: none;
    }

    .market-search {
        gap: 14px;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .market-search .search-field span:not([data-date-menu-summary]) {
        display: none;
    }

    .site-header,
    .topbar,
    .workspace-hero,
    .workspace-header,
    .calendar-toolbar,
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .calendar-view-select,
    .calendar-filter-group,
    .calendar-legend {
        width: 100%;
    }

    .calendar-filter-group button,
    .calendar-legend span {
        flex: 1 1 130px;
        justify-content: center;
    }

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

    .site-nav {
        flex-wrap: wrap;
    }

    .service-link-shell {
        top: 84px;
        left: 22px;
        right: 22px;
        padding: 0 28px;
    }

    .service-link-shell-static {
        margin: 18px 16px 0;
    }

    .service-link-bar {
        justify-content: flex-start;
        gap: 24px;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .service-link-bar a {
        flex: 0 0 auto;
    }

    .service-link-arrow {
        position: absolute;
        top: 50%;
        z-index: 2;
        display: inline-grid;
        width: 30px;
        height: 30px;
        place-items: center;
        border: 1px solid rgba(212, 167, 44, 0.72);
        border-radius: 999px;
        background: #ffffff;
        color: var(--teal-dark);
        font-size: 26px;
        font-weight: 900;
        line-height: 1;
        transform: translateY(-50%);
        box-shadow: 0 10px 24px rgba(15, 25, 10, 0.18);
    }

    .service-link-arrow-left {
        left: 0;
    }

    .service-link-arrow-right {
        right: 0;
    }

    .search-box {
        width: 100%;
        min-width: 0;
    }

    .booking-item,
    .service-row,
    .staff-status-list article,
    .follow-up-list article,
    .salon-results article {
        grid-template-columns: 1fr;
    }

    .staff-status-list small {
        text-align: left;
    }
}

@media (max-width: 1120px) and (min-width: 981px) {
    .market-search {
        width: min(100%, 1020px);
        grid-template-columns: minmax(220px, 1fr) minmax(205px, 0.9fr) minmax(170px, 0.7fr) 92px;
        gap: 0;
        background: #ffffff;
        padding: 8px;
        box-shadow:
            0 0 0 5px rgba(100, 117, 59, 0.32),
            0 22px 55px rgba(17, 16, 13, 0.18);
    }

    .market-search .search-field {
        min-height: 52px;
        border: 0;
        border-right: 1px solid #ebe7df;
        border-radius: 0;
        background: #ffffff;
        padding: 0 18px;
    }

    .market-search .search-field span:not([data-date-menu-summary]) {
        display: none;
    }

    .market-search input,
    .date-menu-trigger {
        min-height: 52px;
        font-size: 14px;
    }

    .market-search button[type="submit"] {
        min-height: 54px;
    }

    .date-time-menu {
        top: calc(100% + 14px);
        right: 112px;
        left: auto;
        width: min(760px, calc(100vw - 40px));
        grid-template-columns: 300px minmax(280px, 1fr);
    }

    .treatment-menu {
        left: -5px;
        width: min(370px, calc(100vw - 40px));
    }

    .location-menu {
        left: -5px;
        width: min(345px, calc(100vw - 40px));
    }

    .date-menu-calendar {
        display: grid;
    }

    .date-input-arrow::after {
        display: block;
    }
}

@media (max-width: 700px) {
    .site-header {
        min-height: 74px;
        align-items: center;
        flex-direction: row;
        padding: 14px 16px;
    }

    .site-logo {
        grid-template-columns: 44px auto;
        column-gap: 9px;
        font-size: 23px;
    }

    .site-logo::before {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .site-logo-slogan {
        font-size: 10px;
    }

    .site-nav {
        margin-left: auto;
    }

    .site-nav .nav-text-link,
    .site-nav .nav-pill {
        display: none;
    }

    .nav-menu summary {
        display: inline-flex;
        min-height: 46px;
        padding: 0 16px;
    }

    .nav-menu-panel {
        position: fixed;
        top: 74px;
        right: 12px;
        left: 12px;
        min-width: 0;
        width: auto;
    }

    .service-link-shell {
        top: 82px;
        left: 18px;
        right: 18px;
        padding: 0 27px;
    }

    .app-rail {
        width: 58px;
        padding-inline: 5px;
    }

    .brand-mark,
    .rail-button {
        width: 44px;
        height: 44px;
    }

    .app-shell {
        padding-left: 58px;
    }

    .market-hero {
        min-height: 780px;
        padding-top: 150px;
    }

    .hero-trust-row {
        justify-content: center;
        text-align: center;
    }

    .wellnest-benefits {
        padding-inline: 16px;
    }

    .wellnest-benefits .flow-grid {
        gap: 12px;
    }

    .benefit-card {
        grid-template-columns: 64px minmax(0, 1fr);
        justify-items: start;
        align-items: center;
        column-gap: 14px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fffdf8;
        padding: 14px;
        text-align: left;
    }

    .benefit-card > span {
        grid-row: 1 / span 2;
        width: 64px;
        height: 64px;
    }

    .benefit-price > span::before {
        width: 30px;
        height: 22px;
        border-width: 3px;
    }

    .benefit-price > span::after {
        width: 14px;
        height: 14px;
        border-width: 3px;
        box-shadow: -14px 0 0 -6px currentColor, 14px 0 0 -6px currentColor;
    }

    .benefit-time > span::before {
        width: 32px;
        height: 32px;
        border-width: 3px;
    }

    .benefit-time > span::after {
        width: 11px;
        height: 15px;
        border-top-width: 3px;
        border-left-width: 3px;
    }

    .benefit-trust > span::before {
        width: 28px;
        height: 34px;
        border-width: 3px;
    }

    .benefit-trust > span::after {
        width: 13px;
        height: 8px;
        border-bottom-width: 3px;
        border-left-width: 3px;
    }

    .benefit-card h3 {
        margin: 0 0 3px;
        font-size: 17px;
        line-height: 1.15;
    }

    .benefit-card p {
        max-width: none;
        font-size: 14px;
        line-height: 1.35;
    }

    .hero-copy h1 {
        font-size: 44px;
    }

    .featured-salons {
        padding-inline: 16px;
    }

    .featured-salons .section-heading {
        text-align: center;
    }

    .salon-results {
        gap: 12px;
    }

    .salon-results article {
        grid-template-columns: 92px minmax(0, 1fr);
        grid-template-areas:
            "media details"
            "action action";
        align-items: start;
        gap: 12px;
        padding: 12px;
    }

    .salon-results .result-media {
        grid-area: media;
        width: 92px;
        height: 92px;
        border-radius: 8px;
    }

    .salon-results article > div {
        grid-area: details;
        min-width: 0;
    }

    .salon-results strong {
        font-size: 16px;
        line-height: 1.15;
    }

    .salon-results span {
        display: block;
        margin-top: 2px;
        font-size: 14px;
        line-height: 1.25;
    }

    .salon-results p {
        display: -webkit-box;
        margin-top: 4px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 14px;
        line-height: 1.35;
    }

    .salon-results a {
        grid-area: action;
        min-height: 44px;
        width: 100%;
    }

    .operator-board article {
        grid-template-columns: 1fr;
    }
}
