:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --wash: #f7f7f7;
    --ink: #222222;
    --muted: #6a6a6a;
    --line: #dddddd;
    --accent: #9a3b2f;
    --accent-hover: #7f2f26;
    --copper: #c45c26;
    --success: #2f6f4e;
    --danger: #b42318;
    --warn: #b45309;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --header: 80px;
    --bottom: 72px;
    --font: "Plus Jakarta Sans", system-ui, sans-serif;
    --display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
    --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-t: env(safe-area-inset-top, 0px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }
html { overflow-x: clip; }

body.app-body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: var(--header);
    min-width: 0;
    padding: calc(0.7rem + var(--safe-t)) 1.5rem 0.7rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
    flex: 0 0 auto;
}
.brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex-shrink: 0;
    object-fit: cover;
}
.header-back {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: #fff;
    text-decoration: none;
}
.header-back svg {
    width: 1.15rem;
    height: 1.15rem;
}
.header-back:hover { border-color: var(--ink); }

.header-nav {
    display: none;
    align-items: center;
    gap: 0.2rem;
}

.header-nav a {
    text-decoration: none;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.92rem;
}

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

.header-search-row {
    display: none;
    flex: 1 1 auto;
    align-items: stretch;
    gap: 0.7rem;
    max-width: 704px;
    margin: 0 auto;
    min-width: 0;
}
.header-search-row .filter-btn {
    width: 48px;
    height: 48px;
    min-height: 48px;
    border-radius: 50%;
    align-self: center;
}
.header-search-row .air-search-wrap {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
}
.header-search {
    display: none;
    flex: 1 1 auto;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.header-search:not(.air-search):not(.air-search-wrap) input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 3.1rem 0 1.25rem;
    background: var(--surface);
    box-shadow: var(--shadow);
    font-weight: 600;
    font-size: 0.88rem;
}
.header-search:not(.air-search):not(.air-search-wrap) input:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.header-search:not(.air-search):not(.air-search-wrap) button {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.header-search svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}
.air-search-wrap svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.header-end {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex: 1 1 auto;
    min-width: 0;
}

.user-menu { position: relative; flex: 0 0 auto; }
details:not([open]) > *:not(summary) {
    display: none !important;
}

.user-chip {
    margin-left: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.2rem 0.45rem 0.2rem 0.7rem;
    background: var(--surface);
    transition: box-shadow 0.15s ease;
    list-style: none;
    cursor: pointer;
    position: relative;
}
.user-chip::-webkit-details-marker { display: none; }
.user-chip:hover,
.user-menu[open] .user-chip { box-shadow: var(--shadow); }

.lang-switch {
    display: inline-flex;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: var(--surface);
}
.lang-switch a {
    text-decoration: none;
    padding: 0.38rem 0.62rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--muted);
}
.lang-switch a.active {
    background: var(--ink);
    color: #fff;
}

.header-logout {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
}
.header-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 0.95rem;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
}
.header-workspace {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    white-space: nowrap;
}
.ops-book {
    margin-top: auto;
    color: var(--copper);
    text-decoration: none;
    font-weight: 700;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
}
.ops-book:hover { background: #f3eee7; }

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}
.avatar--guest {
    background: #717171;
}
.avatar--guest svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.7;
}

.user-chip__menu {
    width: 16px;
    height: 16px;
    color: var(--ink);
}
.user-chip__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.user-chip__name { display: none; font-weight: 600; font-size: 0.88rem; }

.user-drop {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(280px, calc(100vw - 2rem));
    max-width: calc(100vw - 1.5rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    padding: 0.45rem 0;
    z-index: 45;
    display: grid;
}
.user-drop a,
.user-drop .user-drop__name,
.user-drop .user-drop__label {
    padding: 0.7rem 1.1rem;
    margin: 0;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}
.user-drop a:hover { background: var(--wash); }
.user-drop__strong { font-weight: 700 !important; }
.user-drop__name {
    font-weight: 700;
    font-size: 0.88rem;
    padding-bottom: 0.35rem;
}
.user-drop__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 0.25rem;
}
.user-drop__split {
    height: 1px;
    background: var(--line);
    margin: 0.4rem 0;
}
.user-drop .lang-switch {
    margin: 0 1.1rem 0.55rem;
    width: calc(100% - 2.2rem);
    justify-content: stretch;
}
.user-drop .lang-switch a {
    flex: 1;
    text-align: center;
    padding: 0.42rem 0.5rem;
    font-size: 0.78rem;
}
.user-drop a em {
    font-style: normal;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.auth-brand .lang-switch,
.login-page .lang-switch {
    margin-left: auto;
}

.app-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem calc(2rem + var(--bottom) + var(--safe-b));
    display: grid;
    align-content: start;
    gap: 1.75rem;
    flex: 1 1 auto;
    min-width: 0;
}

.page-hero h1,
.page-hero .h1 {
    font-family: var(--display);
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    margin: 0.1rem 0 0.4rem;
    line-height: 1.2;
}

.eyebrow {
    margin: 0;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0;
    text-transform: none;
}

.lead { margin: 0; color: var(--muted); max-width: 40rem; }

.search-hero {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.35rem 0.35rem 0.35rem 1.1rem;
    box-shadow: var(--shadow);
    max-width: 720px;
}

.search-hero:not(.air-search):not(.air-search-wrap) input {
    flex: 1;
    border: 0;
    background: transparent;
    min-width: 0;
    padding: 0.85rem 0.5rem;
    font-weight: 500;
}

.search-hero:not(.air-search):not(.air-search-wrap) button {
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1.2rem;
    cursor: pointer;
}
.search-hero .btn-locate--search {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    white-space: nowrap;
}

.air-search {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 720px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 22px rgba(0, 0, 0, 0.05);
    padding: 0;
    overflow: hidden;
    min-height: 62px;
}
.air-search__seg:first-child {
    border-radius: 999px 0 0 999px;
}
.air-search__seg {
    flex: 1 1 0;
    display: grid;
    align-content: center;
    gap: 0.1rem;
    padding: 0.5rem 1rem 0.52rem;
    min-width: 0;
    border-right: 1px solid var(--line);
    cursor: text;
    position: relative;
}
.air-search__seg:focus-within {
    background: #f7f7f7;
}
.air-search__seg > span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: 0.01em;
}
.air-search__seg input,
.air-search__seg select {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
    min-width: 0;
    width: 100%;
    height: 1.35rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--ink);
    border-radius: 0;
}
.air-search__seg input:focus,
.air-search__seg input:focus-visible {
    outline: none;
}
.air-search__seg input:hover,
.air-search__seg select:hover { box-shadow: none; }
.air-search__seg select { appearance: none; cursor: pointer; }
.air-search__seg--choice {
    padding: 0;
    border-right: 1px solid var(--line);
    cursor: pointer;
}
.air-search__seg--when {
    padding: 0;
    border-right: 0;
    cursor: pointer;
}
.air-search__when-btn {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 0.1rem;
    width: 100%;
    height: 100%;
    min-height: 56px;
    padding: 0.5rem 1rem 0.52rem;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
}
.air-search__when-btn:hover {
    background: #f7f7f7;
}
.air-search__when-btn > span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: 0.01em;
}
.air-search__date {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    border: 0;
}
.air-search__value {
    display: block;
    height: 1.35rem;
    line-height: 1.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-style: normal;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.air-search__value.is-empty {
    color: var(--muted);
    font-weight: 500;
}
.air-search__go {
    flex: 0 0 auto;
    align-self: center;
    width: 48px;
    height: 48px;
    margin: 7px 8px 7px 14px;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.air-search__go:hover { background: var(--accent-hover); }
.air-search-wrap {
    position: relative;
    width: 100%;
    max-width: 720px;
}
.explore-search-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
}
.explore-search-row .air-search-wrap {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
}
.air-search-wrap.search-hero {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    max-width: none;
    display: block;
}
.air-search-wrap.search-hero .air-search {
    width: 100%;
    max-width: none;
}
.air-search-wrap.header-search {
    max-width: 640px;
}
.header-search-row .air-search-wrap.header-search {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
}
.air-search-wrap.header-search .air-search {
    width: 100%;
    max-width: none;
}
.air-search.is-open {
    background: #ebebeb;
    box-shadow: none;
    overflow: visible;
}
.air-search.is-open .air-search__seg {
    border-right-color: transparent;
}
.air-search__seg.is-on {
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    z-index: 1;
}
.air-search__seg.is-on:focus-within {
    background: #fff;
}
.air-pop {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 40;
    min-width: min(100%, 360px);
    max-width: min(420px, calc(100vw - 1.5rem));
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    padding: 1.15rem 1.2rem 1.2rem;
}
.air-pop[hidden] { display: none !important; }
.air-pop--what {
    left: 12%;
    min-width: min(100%, 340px);
}
@media (max-width: 640px) {
    .air-pop--what,
    .air-pop--when { left: 0; right: 0; transform: none; }
    .explore-search-row {
        gap: 0.5rem;
        align-items: center;
    }
    .explore-search-row .air-search {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "where where"
            "what when";
        min-height: 0;
        border-radius: 22px;
        overflow: hidden;
        position: relative;
        padding-right: 3rem;
    }
    .explore-search-row .air-search__seg:first-child {
        grid-area: where;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        padding: 0.55rem 0.4rem 0.45rem 1rem;
    }
    .explore-search-row .air-search__seg--choice:not(.air-search__seg--when) {
        grid-area: what;
        border-right: 1px solid var(--line);
        padding: 0;
    }
    .explore-search-row .air-search__seg--when {
        grid-area: when;
        border-right: 0;
        padding: 0;
    }
    .explore-search-row .air-search__when-btn {
        padding: 0.48rem 0.85rem 0.52rem;
        min-height: 2.85rem;
    }
    .explore-search-row .air-search__go {
        position: absolute;
        top: 0.42rem;
        right: 0.42rem;
        width: 2.35rem;
        height: 2.35rem;
        margin: 0;
        z-index: 2;
    }
    .explore-search-row .air-search__go svg {
        width: 15px;
        height: 15px;
    }
    .explore-search-row .filter-btn {
        width: 52px;
        height: 52px;
        min-height: 52px;
        border-radius: 50%;
        align-self: center;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 22px rgba(0, 0, 0, 0.05);
    }
    .explore-search-row .air-search.is-open {
        overflow: hidden;
        background: #fff;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 22px rgba(0, 0, 0, 0.05);
    }
    .explore-search-row .air-search.is-open .air-search__seg {
        border-right-color: var(--line);
    }
    .explore-search-row .air-search__seg.is-on,
    .explore-search-row .air-search__seg.is-on:focus-within {
        border-radius: 0;
        box-shadow: none;
        background: #f4f4f4;
        z-index: auto;
    }
}
.air-pop--when {
    left: auto;
    right: 0;
}
.air-pop__kicker {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}
.air-dest {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.55rem;
    margin: 0;
    border: 0;
    border-radius: 16px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
}
.air-dest:hover,
.air-dest.is-active {
    background: #f7f7f7;
}
.air-dest__icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ebebeb;
    display: grid;
    place-items: center;
}
.air-dest__icon--map { background: #e8f0ea; }
.air-dest__icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--ink);
}
.air-dest__copy {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}
.air-dest__copy strong {
    font-size: 0.95rem;
    font-weight: 650;
}
.air-dest__copy em {
    font-style: normal;
    color: var(--muted);
    font-size: 0.82rem;
}
.air-cal__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}
.air-cal__nav strong {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.air-cal__nav button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: inherit;
}
.air-cal__nav button:hover { border-color: var(--ink); }
.air-cal__nav button:disabled {
    opacity: 0.35;
    cursor: default;
}
.air-cal__nav svg { width: 14px; height: 14px; }
.air-cal__dow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 0.25rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
}
.air-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.15rem;
}
.air-cal__day {
    aspect-ratio: 1;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    font-size: 0.88rem;
    color: inherit;
}
.air-cal__day:hover:not(:disabled) { background: #f7f7f7; }
.air-cal__day.is-today { box-shadow: inset 0 0 0 1px var(--ink); }
.air-cal__day.is-on {
    background: var(--ink);
    color: #fff;
}
.air-cal__day:disabled {
    color: #c8c8c8;
    cursor: default;
}
.air-cal__clear {
    display: block;
    margin: 0.85rem auto 0;
    border: 0;
    background: none;
    padding: 0.35rem;
    font: inherit;
    font-weight: 650;
    font-size: 0.88rem;
    text-decoration: underline;
    cursor: pointer;
    color: inherit;
}
.air-cal__clear[hidden] { display: none !important; }
.header-search.air-search {
    display: none;
    max-width: 640px;
}
.app-content--explore .search-hero.air-search {
    max-width: none;
}
.air-search__go svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
}
.cat-toolbar {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    min-width: 0;
    position: relative;
    border-bottom: 1px solid var(--line);
}
.cat-toolbar .cat-row {
    flex: 1 1 auto;
    border-bottom: 0;
    min-width: 0;
    padding-right: 0;
}
.cat-toolbar:not(.has-chip-overflow) .cat-chip {
    flex: 1 1 0;
    min-width: 0;
}
.cat-toolbar:not(.has-chip-overflow) .cat-row::after {
    display: none;
}
.cat-toolbar .filter-btn {
    position: relative;
    z-index: 2;
    align-self: center;
    margin: 0 0 0.45rem;
    background: #fff;
    white-space: nowrap;
}
.filter-btn {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 22px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}
.filter-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}
.filter-btn:hover,
.filter-btn.has-filters { border-color: var(--ink); }
.filter-btn em {
    position: absolute;
    top: -0.28rem;
    right: -0.28rem;
    display: grid;
    place-items: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 700;
}
@media (max-width: 640px) {
    .cat-toolbar {
        gap: 0;
        align-items: stretch;
    }
    .cat-toolbar::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 3.6rem;
        height: calc(100% - 2px);
        pointer-events: none;
        z-index: 1;
        background: linear-gradient(90deg, transparent, #fff 42%, #fff 100%);
    }
    .cat-toolbar .cat-row {
        padding-right: 2.2rem;
        scroll-padding-inline-end: 2.2rem;
    }
    .cat-toolbar:not(.has-chip-overflow) .cat-chip {
        flex: 0 0 auto;
        max-width: none;
    }
}
@media (min-width: 992px) {
    .cat-toolbar { gap: 1rem; }
    .cat-toolbar .filter-btn { margin-bottom: 0.45rem; }
}
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.filter-dialog {
    width: min(calc(100vw - 1.5rem), 28rem);
    max-width: 100%;
    max-height: min(92dvh, 40rem);
    margin: auto;
    border: 0;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 16px 48px rgba(20, 16, 12, 0.22);
}
.filter-dialog::backdrop {
    background: rgba(28, 25, 23, 0.48);
}
.filter-dialog__form {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    max-height: min(92dvh, 40rem);
    min-width: 0;
    overflow: hidden;
}
.filter-dialog__handle {
    display: none;
    width: 2.4rem;
    height: 0.28rem;
    margin: 0.55rem auto 0;
    border-radius: 999px;
    background: #d9d4cc;
}
.filter-dialog__head {
    display: grid;
    grid-template-columns: 2.5rem 1fr 2.5rem;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    padding: 0.85rem 1rem 0.85rem;
    border-bottom: 1px solid var(--line);
}
.filter-dialog__head strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
    text-align: center;
}
.filter-dialog__head-spacer { display: block; }
.filter-dialog__close {
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    padding: 0;
}
.filter-dialog__close svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
}
.filter-dialog__close:hover { background: var(--wash); }
.filter-dialog__body {
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
}
.filter-dialog__body::-webkit-scrollbar { display: none; }
.filter-dialog__block {
    padding: 1.25rem 1.25rem 0.35rem;
    min-width: 0;
}
.filter-dialog__block + .filter-dialog__block {
    margin-top: 0.35rem;
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
}
.filter-dialog__block h3 {
    margin: 0;
    font-family: var(--display);
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}
.filter-dialog__hint {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}
.filter-dialog__prices {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: 0.55rem;
    margin-top: 1rem;
    min-width: 0;
}
.filter-price {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}
.filter-price__field {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    min-width: 0;
    height: 56px;
    padding: 0 0.9rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
    font-weight: 600;
}
.filter-price__field:focus-within {
    border-color: var(--ink);
    box-shadow: 0 0 0 1px var(--ink);
}
.filter-price__field em {
    font-style: normal;
    font-weight: 700;
    color: var(--muted);
}
.filter-price__field input {
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 650;
    font-size: 1.02rem;
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
}
.filter-price__field input::-webkit-outer-spin-button,
.filter-price__field input::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}
.filter-price__dash {
    width: 0.7rem;
    height: 1px;
    margin-bottom: 1.7rem;
    background: var(--line);
}
.filter-price-chips {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    margin: 0.85rem 0 0;
}
.filter-price-chip {
    height: 38px;
    width: 100%;
    padding: 0 0.25rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
}
.filter-price-chip:hover { border-color: var(--ink); }
.filter-price-chip.is-on {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.filter-dialog__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.95rem;
}
.filter-dialog .filter-pill {
    position: relative;
    margin: 0;
    cursor: pointer;
}
.filter-dialog .filter-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.filter-dialog .filter-pill span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 0.95rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}
.filter-dialog .filter-pill.is-on span,
.filter-dialog .filter-pill:has(input:checked) span {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}
.filter-dialog__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.9rem 1.25rem calc(0.95rem + var(--safe-b));
    border-top: 1px solid var(--line);
    background: #fff;
}
.filter-dialog__clear {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}
.filter-dialog__clear:hover { color: var(--muted); }
.filter-dialog__foot .btn {
    min-height: 48px;
    padding: 0 1.2rem;
    border-radius: 999px;
    flex: 0 1 auto;
    white-space: nowrap;
}
@media (max-width: 639px) {
    .filter-dialog {
        width: 100%;
        max-width: 100%;
        margin: auto 0 0;
        border-radius: 24px 24px 0 0;
        max-height: min(92dvh, 44rem);
    }
    .filter-dialog__form { max-height: min(92dvh, 44rem); }
    .filter-dialog__handle { display: block; }
}

.section-head-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.section-head-actions form { margin: 0; }
.section-head-actions .btn {
    min-height: 36px;
    padding: 0 0.9rem;
    font-size: 0.82rem;
}
.btn-locate {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    cursor: pointer;
}
.btn-locate:hover { border-color: var(--ink); }
.btn-locate:disabled { opacity: 0.65; cursor: wait; }
.locate-hint { margin: -0.35rem 0 0.5rem; }

.kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(6.4rem, 1fr));
    gap: 0.75rem;
}

.kpi {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.85rem 1rem 0.95rem;
    box-shadow: var(--shadow);
    color: inherit;
    text-decoration: none;
}
a.kpi:hover { border-color: var(--ink); }

.kpi strong {
    display: block;
    font-family: var(--display);
    font-size: 1.55rem;
    letter-spacing: -0.05em;
    line-height: 1.1;
}

.kpi span { color: var(--muted); font-size: 0.82rem; font-weight: 600; }

.kpi--alert {
    border-color: rgba(196, 92, 38, 0.35);
    background: #fff8f3;
}
.kpi--alert strong { color: var(--copper); }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 0 0 0.85rem;
}

.section-head h2 {
    margin: 0;
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.section-head a { color: var(--ink); font-weight: 600; font-size: 0.92rem; text-decoration: underline; text-underline-offset: 3px; }

.chip-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    padding: 0.1rem 0 0.35rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.5rem 0.95rem;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.listing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem 1.15rem;
    padding-top: 0.4rem;
}

.listing-card {
    background: transparent;
    position: relative;
}

.listing-card a {
    text-decoration: none;
    display: grid;
    gap: 0.55rem;
}

.listing-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 50% 38%, rgba(255,255,255,0.16), transparent 58%),
        linear-gradient(165deg, rgba(255,255,255,0.1), rgba(0,0,0,0.28));
    box-shadow: none;
}
.listing-card .listing-card__media {
    aspect-ratio: 16 / 10;
}
@media (min-width: 640px) {
    .listing-card .listing-card__media { aspect-ratio: 4 / 3; }
}
.shop-media-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    z-index: 1;
}
.shop-media-fallback__glow {
    position: absolute;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 68%);
}
.shop-media-fallback__logo,
.shop-media-fallback__mark {
    position: relative;
    width: 4.75rem;
    height: 4.75rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    background: #fff;
    z-index: 1;
}
.shop-media-fallback__mark {
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    color: #fff;
    background: rgba(20, 18, 16, 0.35);
    border-color: rgba(255, 255, 255, 0.45);
}
.shop-media-fallback__icon {
    position: absolute;
    right: 0.85rem;
    bottom: 0.75rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.78);
    z-index: 1;
}
.shop-media-fallback__icon svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.book-card .shop-media-fallback__logo,
.book-card .shop-media-fallback__mark,
.confirm-card .shop-media-fallback__logo,
.confirm-card .shop-media-fallback__mark {
    width: 3.1rem;
    height: 3.1rem;
    font-size: 0.85rem;
    border-width: 2px;
}
.book-card .shop-media-fallback__icon,
.confirm-card .shop-media-fallback__icon { display: none; }
.listing-hero__media .shop-media-fallback__logo,
.listing-hero__media .shop-media-fallback__mark {
    width: 5.5rem;
    height: 5.5rem;
    font-size: 1.45rem;
}
.listing-card__media .shop-photo {
    transition: transform 0.35s ease;
}
.listing-card a:hover .listing-card__media .shop-photo {
    transform: scale(1.04);
}
.listing-card__media .shop-photo,
.listing-hero__media .shop-photo,
.shop-media-preview .shop-photo,
.shop-media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.shop-logo {
    position: absolute;
    left: 0.7rem;
    bottom: 0.7rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    background: #fff;
    z-index: 1;
}
.shop-logo--mark {
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.78rem;
    color: #fff;
    background: var(--ink);
    letter-spacing: 0.02em;
}
.listing-hero__media .shop-logo {
    width: 72px;
    height: 72px;
    left: 1rem;
    bottom: 1rem;
}
.listing-card__identity {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}
.listing-card__identity h3 { margin: 0; }
.shop-logo--inline,
.shop-logo--table {
    position: static;
    width: 36px;
    height: 36px;
    box-shadow: none;
    flex: 0 0 auto;
}
.admin-shop-name {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.listing-card a:hover .listing-card__media {
    box-shadow: none;
}

.tone-1 { background-color: #3f2e2a; }
.tone-2 { background-color: #1f3a34; }
.tone-3 { background-color: #3a2f1b; }
.tone-4 { background-color: #2c3340; }
.tone-5 { background-color: #4a2a32; }
.tone-6 { background-color: #243044; }

.listing-card__row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: start;
}

.listing-card__body {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}
.listing-card h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.listing-card__meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.listing-card__price {
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
}
.listing-card__price strong { font-weight: 700; }
.listing-card__price span { color: var(--muted); font-weight: 500; }
.rating {
    font-weight: 500;
    font-size: 0.88rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem;
}

.panel h2 { margin: 0 0 0.9rem; font-family: var(--display); font-size: 1.15rem; }

.floor-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}
.floor-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 0.9rem 1rem;
    box-shadow: var(--shadow);
    align-items: start;
}
.avatar--md {
    width: 48px;
    height: 48px;
    font-size: 0.82rem;
    font-family: var(--display);
}
.floor-card__body { min-width: 0; display: grid; gap: 0.15rem; }
.floor-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
}
.floor-card__top h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.floor-card__when {
    margin: 0.1rem 0 0;
    font-weight: 650;
    font-size: 0.95rem;
}
.floor-card__meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.floor-card__phone {
    color: inherit;
    font-weight: 650;
    text-decoration: none;
}
.floor-card__phone:hover { text-decoration: underline; }
.floor-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.55rem;
}
.floor-card__cancel {
    border: 0;
    background: none;
    padding: 0.2rem 0.15rem;
    font: inherit;
    font-weight: 650;
    font-size: 0.88rem;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.floor-card__cancel:hover { color: var(--danger); }
.cat-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}
.settings-card fieldset.field {
    border: 0;
    padding: 0;
    min-width: 0;
}
.hours-closures .card-list { gap: 0.55rem; }
.hours-closures__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: var(--wash);
    border-radius: 14px;
    padding: 0.8rem 0.95rem;
}
body.panel-shop .settings-form { max-width: 42rem; }
body.panel-shop .account-logout { margin-top: 0.25rem; }

.trips {
    max-width: 42rem;
    display: grid;
    gap: 1.5rem;
    padding-bottom: calc(var(--bottom) + 0.75rem);
}
.trip-section h2 {
    margin: 0 0 0.75rem;
    font-family: var(--display);
    font-size: 1.2rem;
    letter-spacing: -0.03em;
}
.trip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}
.trip-card {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 0.9rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 0.75rem;
    box-shadow: var(--shadow);
    align-items: stretch;
}
.trip-card.is-past { box-shadow: none; }
.trip-card__media-link {
    display: block;
    min-height: 7.5rem;
    text-decoration: none;
}
.trip-card__media {
    position: relative;
    height: 100%;
    min-height: 7.5rem;
    border-radius: 14px;
    overflow: hidden;
}
.trip-card__media .shop-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.trip-card__body {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 0.2rem;
}
.trip-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
}
.trip-card__top a { text-decoration: none; color: inherit; min-width: 0; }
.trip-card__top h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.trip-card__when {
    margin: 0.15rem 0 0;
    font-weight: 650;
    font-size: 0.95rem;
}
.trip-card__meta,
.trip-card__done {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.trip-card__actions { margin-top: 0.45rem; }
.trip-card__cancel {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-weight: 650;
    font-size: 0.88rem;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.trip-card__cancel:hover { color: var(--danger); }
.trip-card .review-form {
    margin-top: 0.55rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
}
.trip-card .review-form .btn { min-height: 36px; }
@media (max-width: 639px) {
    .trip-card { grid-template-columns: 5.6rem minmax(0, 1fr); }
    .trip-card__media-link,
    .trip-card__media { min-height: 5.6rem; }
    .trip-card .review-form { grid-template-columns: 1fr; }
}

.card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }

.card {
    background: var(--wash);
    border-radius: var(--radius-sm);
    padding: 0.95rem 1rem;
    display: grid;
    gap: 0.2rem;
}

.appt-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
}

.appt-card__when {
    min-width: 4.6rem;
    text-align: center;
    background: var(--ink);
    color: #fff;
    border-radius: 12px;
    padding: 0.55rem 0.45rem;
    font-weight: 700;
    line-height: 1.15;
}

.appt-card__when small { display: block; font-size: 0.72rem; opacity: 0.75; font-weight: 600; }

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

.status {
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    justify-self: start;
    width: max-content;
}
.status-pending { background: #fff4e5; color: var(--warn); }
.status-confirmed { background: #e8f6ee; color: var(--success); }
.status-completed { background: #eeeae4; color: var(--muted); }
.status-cancelled { background: #fde8e6; color: var(--danger); }
.status-no_show { background: #f3e8e6; color: #7a3b32; }

.btn,
.inline-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 0.95rem;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover,
.inline-actions button:hover { background: var(--accent-hover); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}
.btn.btn-ghost:hover {
    background: #f3eee7;
    color: var(--ink);
}

.btn-ink { background: var(--ink); }
.btn-ink:hover { background: #000; }

.actions--desktop { display: none; margin-top: 1rem; }
.inline-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.55rem; }
.inline-actions .btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}
.inline-actions .btn-ghost:hover { background: #f3eee7; color: var(--ink); }
.inline-actions .danger { background: var(--danger); }
.inline-actions .danger:hover { background: #9f1239; }

.field { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    padding: 0 0.85rem;
    font-weight: 500;
    font: inherit;
}
.field input,
.field select { height: 48px; }
.field input[type="file"] { height: auto; padding: 0.55rem; }
.field textarea { padding: 0.85rem; min-height: 110px; resize: vertical; }

.hours-week {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 0.25rem 0.25rem 1.1rem;
    display: grid;
}
.hours-row {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0.9rem 1rem;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}
.hours-row:last-of-type { border-bottom: 0; }
.hours-week .btn { margin: 0.9rem 1rem 0.15rem; justify-self: start; }
.hours-row__day { font-size: 0.95rem; letter-spacing: -0.02em; }
.hours-row__dash {
    display: none;
    color: var(--muted);
    font-weight: 700;
}
.hours-row .field { position: relative; }
.hours-row .field { margin-bottom: 0; }
.hours-head {
    display: none;
    padding: 0.7rem 1rem 0.2rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hours-row:has(.switch input:checked) .switch-off { display: none; }
.hours-row:not(:has(.switch input:checked)) .switch-on { display: none; }
.hours-row:not(:has(.switch input:checked)) .hours-row__time,
.hours-row:not(:has(.switch input:checked)) .hours-row__slot,
.hours-row:not(:has(.switch input:checked)) .hours-row__dash,
.hours-row:not(:has(.switch input:checked)) .hours-row__break {
    opacity: 0.38;
    pointer-events: none;
}

.switch {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.82rem;
    min-height: 48px;
}
.switch input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--ink);
}

.book-ops { display: grid; gap: 0.15rem; }
.book-ops > .muted { margin: 0 0 0.55rem; }
.book-ops__online,
.book-ops__off { display: grid; gap: 0.15rem; }
.book-ops:has([name="bookings_enabled"]:checked) .book-ops__off { display: none; }
.book-ops:not(:has([name="bookings_enabled"]:checked)) .book-ops__online {
    opacity: 0.42;
    pointer-events: none;
}

.book-pick { margin-bottom: 0; }
.book-cal {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem 0.9rem 0.85rem;
    background: var(--surface);
    max-width: 22rem;
}
.book-cal .air-cal__day {
    max-width: 44px;
    max-height: 44px;
    justify-self: center;
}
.book-cal .air-cal__day:not(:disabled) {
    font-weight: 700;
}
.slots {
    border: 0;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.slots legend { font-weight: 700; margin-bottom: 0.55rem; }
.slot {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 12px;
    min-height: 46px;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: var(--surface);
    font-weight: 600;
}
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot:has(input:checked) {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.alert { padding: 0.85rem 1rem; border-radius: 12px; }
.alert-danger { background: #fde8e6; color: var(--danger); }
.alert-success { background: #e8f6ee; color: var(--success); }

.notice {
    border-radius: 16px;
    padding: 1rem 1.15rem;
    margin: 0 0 1.25rem;
}
.notice strong { display: block; }
.notice p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }
.notice--warn { background: #fff4e5; }
.notice--danger { background: #fde8e6; }

.listing-hero {
    display: grid;
    gap: 1.25rem;
    min-width: 0;
}
.shop-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    min-width: 0;
}
.shop-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    background: #ebebeb;
}
.shop-gallery__shot {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    border-radius: 14px;
    overflow: hidden;
}
.shop-gallery--edit .shop-gallery__item {
    display: grid;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
}
.shop-gallery--edit .shop-gallery__item span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.shop-phone,
.appt-card__phone {
    color: var(--ink);
    font-weight: 650;
    text-decoration: none;
}
.shop-phone:hover,
.appt-card__phone:hover { text-decoration: underline; }
.hours-public {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}
.hours-public li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.92rem;
}
.hours-public em { color: var(--muted); font-style: normal; }
.review-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}
.review-card p { margin: 0.35rem 0 0; }
.review-card__reply {
    margin-top: 0.55rem;
    padding: 0.65rem 0.8rem;
    background: var(--cream, #f6f1ea);
    border-radius: 12px;
    font-size: 0.92rem;
}
.review-card__reply span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.2rem;
}
.review-form--reply { margin-top: 0.7rem; }
.review-card__head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: baseline;
}
.review-form {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.65rem;
}
.review-form__stars {
    display: flex;
    gap: 0.25rem;
    border: 0;
    padding: 0;
    margin: 0;
}
.review-form__stars label { cursor: pointer; font-weight: 700; color: var(--muted); }
.review-form__stars input { position: absolute; opacity: 0; pointer-events: none; }
.review-form__stars label:has(input:checked) span,
.review-form__stars label:has(input:checked) ~ label span { color: var(--ink); }
.hours-closures { margin-top: 1.25rem; }
.hours-closures h3 {
    margin: 1.2rem 0 0.4rem;
    font-family: var(--display);
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}
.hours-holidays { margin: 0 0 0.35rem; }
.hours-holidays h3 { margin-top: 0.15rem; }
.hours-holidays__sub {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
}
.hours-holidays__year { margin-bottom: 0.85rem; }
.hours-holidays__year-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}
.hours-holidays__year-head strong {
    font-family: var(--display);
    font-size: 1rem;
    letter-spacing: -0.03em;
}
.hours-holidays__year-add,
.hours-holidays__add {
    border: 0;
    background: none;
    padding: 0.2rem 0.15rem;
    font: inherit;
    font-weight: 650;
    font-size: 0.88rem;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.hours-holidays__year-add:hover,
.hours-holidays__add:hover { color: var(--copper, #b87333); }
.hours-holidays__list { gap: 0.45rem; }
.hours-holidays__row.is-added { opacity: 0.58; }
.hours-holidays__done {
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--muted);
    white-space: nowrap;
}
.hours-closures__add {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.hours-closures__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
@media (min-width: 720px) {
    .shop-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hours-closures__add {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
        align-items: end;
    }
}

.listing-hero__media {
    position: relative;
    min-height: 240px;
    min-width: 0;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: none;
}
.listing-hero__media .shop-photo {
    position: absolute;
    inset: 0;
}

.listing-hero__copy h1 {
    font-family: var(--display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    margin: 0 0 0.4rem;
    letter-spacing: -0.035em;
}

.listing-split {
    display: grid;
    gap: 2rem;
    min-width: 0;
}
.listing-split .panel {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 1.6rem 0 0.4rem;
}
.listing-split .panel h2 {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.listing-split .card-list { gap: 0; }
.listing-split .service-row {
    background: transparent;
    border-radius: 0;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
}
.listing-split .service-row:not(a) { cursor: default; }
.book-card {
    display: none;
}

.service-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.sticky-book {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: calc(var(--bottom) + var(--safe-b) + 0.55rem);
    z-index: 36;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.75rem 0.85rem;
    box-shadow: var(--shadow-hover);
}

.empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--muted);
}

.empty-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 2.6rem 1.5rem 2.2rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.empty-card__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.85rem;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #f3eee7;
    color: var(--ink);
}
.empty-card__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}
.empty-card h2 {
    margin: 0 0 0.35rem;
    font-family: var(--display);
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}
.empty-card p {
    margin: 0 auto 1.2rem;
    color: var(--muted);
    max-width: 28rem;
    line-height: 1.45;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    background: rgba(255,255,255,0.96);
    border-top: 1px solid var(--line);
    padding: 0.35rem 0.4rem calc(0.4rem + var(--safe-b));
}

.bottom-nav a {
    text-decoration: none;
    color: var(--muted);
    display: grid;
    justify-items: center;
    gap: 0.15rem;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.35rem 0.2rem;
}

.bottom-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}

.bottom-nav a.active { color: var(--accent); }

select.time-24 {
    min-width: 6.5rem;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 991px) {
    body.panel-shop,
    body.panel-admin { --bottom: 92px; }
}

.account {
    max-width: 42rem;
    display: grid;
    gap: 1.15rem;
    padding-bottom: calc(var(--bottom) + 0.75rem);
}
.account-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.15rem 0 0.35rem;
}
.account-hero h1 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.2;
}
.account-hero p {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    word-break: break-word;
}
.avatar--lg {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    font-size: 1.15rem;
    font-family: var(--display);
    letter-spacing: 0.02em;
}
.account .settings-card h2 { margin-bottom: 0.85rem; }
.account .settings-card .btn { margin-top: 0.25rem; }
.account fieldset.field {
    border: 0;
    padding: 0;
    min-width: 0;
}
.field-hint {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
    font-style: normal;
}
.lang-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
}
.lang-pill {
    position: relative;
    margin: 0;
}
.lang-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.lang-pill span {
    display: grid;
    place-items: center;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--ink);
    font-weight: 650;
    cursor: pointer;
}
.lang-pill input:checked + span {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.account-row {
    display: grid;
    gap: 0.15rem;
    margin: 0 0 1rem;
    padding: 0.85rem 0.95rem;
    background: var(--wash);
    border-radius: 12px;
}
.account-row span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 650;
}
.account-row strong {
    font-size: 0.98rem;
    font-weight: 650;
    word-break: break-word;
}
.account-row em {
    color: var(--muted);
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 500;
}
.account-note {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}
.account-password { display: grid; }
.account-password .btn { justify-self: start; }
.account-logout {
    justify-self: start;
    color: var(--muted);
    font-weight: 650;
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0.25rem 0 0.5rem;
}
.account-logout:hover { color: var(--danger); }

.profile-card {
    max-width: 560px;
}
.settings-form {
    display: grid;
    gap: 1.1rem;
    min-width: 0;
}
.settings-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1.2rem 1.25rem 1.3rem;
    min-width: 0;
}
.settings-card h2 {
    margin: 0 0 1rem;
    font-family: var(--display);
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}
.settings-card .lead {
    margin: -0.45rem 0 1rem;
    font-size: 0.92rem;
}
.settings-card .field { margin-bottom: 0.85rem; }
.settings-card__grid { margin-bottom: 0.35rem; }
.settings-form__save { padding: 0.15rem 0 0.5rem; }
.shop-media-grid {
    display: grid;
    gap: 1.25rem;
    min-width: 0;
}
.shop-photos { overflow: hidden; }
.shop-photos__stage {
    position: relative;
    margin-bottom: 0.7rem;
}
.shop-photos__cover .shop-media-preview--cover {
    aspect-ratio: 2 / 1;
    min-height: 11.5rem;
    border-radius: 18px;
    background: var(--wash);
}
.shop-photos .shop-media-preview {
    background: var(--wash);
}
.shop-photos__cover .shop-media-preview--cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.shop-photos__logo {
    position: absolute;
    left: 0.9rem;
    bottom: 0.9rem;
    z-index: 4;
    width: 5.6rem;
}
.shop-photos__logo .shop-media-preview--logo {
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 22px;
    border: 3px solid #fff;
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.2);
    background: var(--ink);
}
.shop-photos__logo .shop-media-preview--logo .shop-logo,
.shop-photos__logo .shop-media-preview--logo img {
    position: static;
    left: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    border: 0;
    box-shadow: none;
    border-radius: 19px;
    object-fit: cover;
}
.shop-photos__hint {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.28rem;
    background: rgba(17, 17, 17, 0);
    color: #fff;
    opacity: 0;
    transition: opacity 0.16s ease, background 0.16s ease;
    pointer-events: none;
    text-align: center;
    font-weight: 650;
    font-size: 0.78rem;
}
.shop-photos__hint .shop-photos__ico {
    width: 1.35rem;
    height: 1.35rem;
}
.media-tile__pick:hover .shop-photos__hint,
.media-tile__pick:focus-within .shop-photos__hint {
    opacity: 1;
    background: rgba(17, 17, 17, 0.42);
}
.shop-photos__cover:not(.has-photo) .shop-photos__hint {
    opacity: 1;
    background: rgba(17, 17, 17, 0.22);
    color: #fff;
}
.shop-photos__logo .shop-photos__hint {
    border-radius: 19px;
}
.shop-photos__tag {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    z-index: 3;
    padding: 0.22rem 0.58rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 10px rgba(17, 17, 17, 0.12);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    pointer-events: none;
}
.shop-photos__clear {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 5;
    width: 2rem;
    height: 2rem;
    margin: 0;
    cursor: pointer;
}
.shop-photos__clear input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.shop-photos__clear span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 10px rgba(17, 17, 17, 0.16);
    color: var(--ink);
}
.shop-photos__clear:hover span { color: var(--danger); }
.shop-photos__clear .shop-photos__ico {
    width: 0.95rem;
    height: 0.95rem;
}
.shop-photos__clear em {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.shop-photos .is-removing .media-tile__frame,
.shop-photos__tile.is-removing {
    opacity: 0.42;
}
.shop-photos .is-removing .shop-photos__clear span {
    background: var(--ink);
    color: #fff;
}
.shop-photos__note {
    margin: 0 0 0.45rem;
    font-size: 0.86rem;
}
.shop-photos__logo-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem 0.75rem;
    margin: 0 0 1.15rem;
}
.shop-photos__logo-tools strong {
    font-size: 0.92rem;
}
.shop-photos__logo-tools > span {
    color: var(--muted);
    font-size: 0.84rem;
}
.shop-photos__text-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 650;
    color: var(--danger);
}
.shop-photos__text-clear input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--danger);
    margin: 0;
}
.shop-photos__more-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}
.shop-photos__more-head strong {
    font-family: var(--display);
    font-size: 1.02rem;
    letter-spacing: -0.03em;
}
.shop-photos__more-head span {
    color: var(--muted);
    font-size: 0.82rem;
}
.shop-photos__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}
.shop-photos__tile {
    position: relative;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--wash);
}
.shop-photos__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.shop-photos__tile-actions {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.42), transparent 42%);
}
.shop-photos__reorder {
    position: absolute;
    left: 0.4rem;
    bottom: 0.4rem;
    display: flex;
    gap: 0.3rem;
    pointer-events: auto;
}
.shop-photos__sort {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 10px rgba(17, 17, 17, 0.16);
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    color: var(--ink);
}
.shop-photos__sort:disabled { display: none; }
.shop-photos__clear-btn {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
}
.shop-photos__clear-btn span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 10px rgba(17, 17, 17, 0.16);
    color: var(--ink);
}
.shop-photos__clear-btn:hover span { color: var(--danger); }
.shop-photos__clear-btn .shop-photos__ico {
    width: 0.95rem;
    height: 0.95rem;
}
.shop-photos__add {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.28rem;
    aspect-ratio: 1;
    border-radius: 16px;
    border: 1.5px dashed var(--line);
    background: var(--wash);
    color: var(--muted);
    cursor: pointer;
    font-weight: 650;
    font-size: 0.82rem;
}
.shop-photos__add:hover,
.shop-photos__add:focus-within {
    border-color: var(--ink);
    color: var(--ink);
    background: #fff;
}
.shop-photos__add .shop-photos__ico {
    width: 1.35rem;
    height: 1.35rem;
}
@media (min-width: 640px) {
    .shop-photos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .shop-photos__cover .shop-media-preview--cover { min-height: 13.5rem; }
    .shop-photos__logo {
        width: 6.25rem;
        left: 1.05rem;
        bottom: 1.05rem;
    }
    .shop-photos__logo .shop-media-preview--logo {
        width: 6.25rem;
        height: 6.25rem;
    }
}
.shop-photos .media-tile__frame { margin: 0; }
.media-tile { min-width: 0; }
.media-tile__pick { display: block; cursor: pointer; }
.media-tile__frame {
    position: relative;
    margin-bottom: 0.7rem;
}
.media-tile__input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.media-tile__cta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.5rem 0.7rem 0.65rem;
    background: linear-gradient(transparent, rgba(17, 17, 17, 0.62));
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
    letter-spacing: 0.01em;
}
.media-tile--logo .media-tile__cta {
    left: 0.45rem;
    right: 0.45rem;
    bottom: 0.45rem;
    padding: 0.32rem 0.4rem;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.72);
}
.media-tile--cover .media-tile__cta { border-radius: 0 0 16px 16px; }
.media-tile__meta {
    margin: 0;
    display: grid;
    gap: 0.2rem;
}
.media-tile__meta strong { font-size: 0.92rem; }
.media-tile__meta span { color: var(--muted); font-size: 0.82rem; font-weight: 500; line-height: 1.4; }
.media-tile__remove {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.55rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.media-tile__remove:hover { color: var(--danger); }
.media-tile:has(.media-tile__remove input:checked) .media-tile__frame {
    opacity: 0.38;
}
.shop-media-preview {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(255,255,255,0.08), rgba(0,0,0,0.18)),
        repeating-linear-gradient(-18deg, transparent, transparent 18px, rgba(255,255,255,0.08) 18px, rgba(255,255,255,0.08) 22px);
}
.shop-media-preview--logo {
    width: 128px;
    height: 128px;
    border-radius: 28px;
}
.shop-media-preview--logo .shop-logo,
.shop-media-preview--logo img {
    position: static;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 28px;
    box-shadow: none;
}
.shop-media-preview--cover { aspect-ratio: 16 / 9; }
.shop-media-preview--cover img[hidden] { display: none; }
@media (min-width: 640px) {
    .shop-media-grid {
        grid-template-columns: 11rem minmax(0, 1fr);
        align-items: start;
        gap: 1.5rem;
    }
    .settings-card__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 640px) {
    .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .book-you__grid { grid-template-columns: 1fr 1fr; }
    .book-you__email { grid-column: 1 / -1; }
    .user-chip__name { display: inline; }
}

@media (min-width: 768px) {
    .hours-head,
    .hours-row {
        grid-template-columns: 8.4rem 6.4rem minmax(7.5rem, 1fr) 1.1rem minmax(7.5rem, 1fr) 7.4rem;
        align-items: center;
    }
    .hours-head { display: grid; }
    .hours-row .field > span:not(.affix) {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
    .hours-row__dash {
        display: grid;
        place-items: center;
        padding-bottom: 0;
    }
    .hours-row__break {
        grid-column: 1 / -1;
    }
    .listing-hero__media { min-height: 360px; }
}

@media (min-width: 992px) {
    .header-nav,
    .header-search,
    .header-search.air-search { display: flex; }
    .header-search-row { display: flex; }
    .air-search-wrap.header-search { display: block; }
    .app-content--explore .search-hero,
    .app-content--explore .explore-search-row { display: none; }
    .bottom-nav { display: none; }
    .app-content { padding-bottom: 2.5rem; }
    body.panel-shop .ops-frame .app-content,
    body.panel-admin .ops-frame .app-content { padding-bottom: 3rem; }
    .trips,
    .account { padding-bottom: 0; }
    .site-footer,
    .site-footer--compact { padding-bottom: 0.55rem; margin-bottom: 0; }
    .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sticky-book { display: none; }
    .actions--desktop { display: flex; }
    .listing-split {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 3rem;
        align-items: start;
    }
    .book-card {
        display: grid;
        gap: 0.85rem;
        position: sticky;
        top: calc(var(--header) + 24px);
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 1.35rem;
        box-shadow: var(--shadow-hover);
        background: #fff;
    }
    .book-card .btn { width: 100%; }
    .book-card__price { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em; }
    .book-card__price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
}

@media (min-width: 1200px) {
    .listing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.panel-badge {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
    background: var(--accent);
    color: #fff;
}
.panel-shop .panel-badge { background: var(--copper); }
.panel-admin .panel-badge { background: var(--ink); }

.ops-sidebar { display: none; }
.ops-frame, .app-frame {
    min-width: 0;
    min-height: calc(100dvh - var(--header));
    display: flex;
    flex-direction: column;
}

body.panel-shop .ops-frame .app-content {
    max-width: 960px;
    width: 100%;
    padding: 1.75rem 1.5rem calc(var(--bottom) + 1.75rem);
    gap: 1.5rem;
}
body.panel-admin .ops-frame .app-content {
    max-width: 42rem;
    width: 100%;
    padding: 1.75rem 1.5rem calc(var(--bottom) + 1.75rem);
    gap: 1.5rem;
}

body.panel-shop .ops-frame .card,
body.panel-admin .ops-frame .card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1rem 1.1rem;
}

body.panel-shop .kpi-row,
body.panel-admin .kpi-row {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.admin-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1rem;
}
.admin-pills a {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    font-weight: 650;
    font-size: 0.88rem;
}
.admin-pills a.is-active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.admin-pills a:hover { border-color: var(--ink); }
.admin-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: center;
    margin: 0 0 1.15rem;
}
.admin-search input[type="search"] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    font: inherit;
    background: #fff;
}
.admin-search input[type="search"]:focus {
    outline: 2px solid var(--ink);
    outline-offset: 1px;
}
.text-action {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.text-action:hover { color: var(--muted); }
.shop-logo--card {
    position: static;
    left: auto;
    bottom: auto;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    box-shadow: none;
    flex: 0 0 auto;
}
.floor-card__top .pill {
    flex: 0 0 auto;
    align-self: start;
}

body.panel-shop .site-footer--compact,
body.panel-admin .site-footer--compact {
    background: transparent;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}
.data-table th,
.data-table td {
    text-align: left;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
}
.data-table th {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    background: #f7f3ee;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table-wrap { overflow-x: auto; }

.gateway {
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 3rem;
}
.gateway-hero { text-align: center; margin-bottom: 2rem; }
.gateway-hero h1 {
    font-family: var(--display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: -0.05em;
    margin: 0.3rem 0;
}
.gateway-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
.gateway-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.4rem;
    text-decoration: none;
    color: inherit;
    display: grid;
    gap: 0.45rem;
    box-shadow: var(--shadow);
    min-height: 180px;
}
.gateway-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.gateway-card h2 { margin: 0; font-family: var(--display); font-size: 1.4rem; }
.gateway-card p { margin: 0; color: var(--muted); }
.gateway-card .btn { margin-top: 0.6rem; justify-self: start; }
.gateway-card .panel-badge { justify-self: start; }
.gateway .alert { max-width: 28rem; margin: 0 auto 1.4rem; text-align: center; }

.pill {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
}
.pill-on { background: #e8f6ee; color: var(--success); }
.pill-off { background: #fde8e6; color: var(--danger); }

@media (min-width: 768px) {
    .gateway-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
    .ops-sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header);
        left: 0;
        bottom: 0;
        width: 240px;
        background: #fff;
        border-right: 1px solid var(--line);
        padding: 1.1rem 0.85rem 1.25rem;
        gap: 0.35rem;
        z-index: 20;
    }
    .ops-sidebar__label {
        margin: 0 0.7rem 0.5rem;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--muted);
        font-weight: 700;
    }
    .ops-sidebar nav { display: grid; gap: 0.2rem; }
    .ops-sidebar a {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        text-decoration: none;
        color: var(--muted);
        font-weight: 600;
        padding: 0.7rem 0.75rem;
        border-radius: 12px;
    }
    .ops-sidebar a.active,
    .ops-sidebar a:hover { background: #f3eee7; color: var(--ink); }
    .ops-sidebar svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
    }
    .ops-book { margin-top: auto; }
    body.panel-shop .ops-frame,
    body.panel-admin .ops-frame { margin-left: 240px; }
    body.panel-shop .header-nav,
    body.panel-admin .header-nav,
    body.panel-shop .header-search,
    body.panel-admin .header-search { display: none; }
}

body.gateway-page {
    margin: 0;
    min-height: 100dvh;
    background:
        radial-gradient(1200px 420px at 50% -10%, rgba(196, 92, 38, 0.12), transparent 60%),
        var(--bg);
    color: var(--ink);
    font-family: var(--font);
}
.gateway-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.4rem;
}
.gateway-hero p { color: var(--muted); max-width: 42ch; margin: 0 auto; }
.gateway-card.tone-client { border-top: 4px solid var(--accent); }
.gateway-card.tone-shop { border-top: 4px solid var(--copper); }
.gateway-card.tone-shop .panel-badge { background: var(--copper); }
.gateway-card.tone-admin { border-top: 4px solid #111827; }
.gateway-card.tone-admin .panel-badge { background: #111827; }
.gateway-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.1rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}
.gateway-card.tone-shop .btn { background: var(--copper); }
.gateway-card.tone-admin .btn { background: #111827; }
.gateway-demo { text-align: center; margin-top: 1.75rem; font-size: 0.82rem; word-break: break-word; }
.ops-logout {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
}
.ops-logout:hover { background: #fde8e6; color: var(--danger); }
.form-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}
.field--affix .affix {
    display: flex;
    align-items: center;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    overflow: hidden;
}
.field--affix .affix em {
    font-style: normal;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0 0.75rem;
    white-space: nowrap;
}
.field--affix .affix input {
    border: 0;
    height: 100%;
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 0;
    padding: 0 0.7rem;
    background: transparent;
}
.menu-composer,
.menu-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.menu-composer {
    padding: 1.2rem 1.25rem 1.3rem;
}
.menu-composer h2 {
    margin: 0 0 0.95rem;
    font-family: var(--display);
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}
.menu-composer__grid {
    display: grid;
    gap: 0.75rem;
}
.menu-composer .field,
.menu-item .field { margin-bottom: 0; }
.menu-composer .btn { min-height: 48px; }
.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}
.menu-item { padding: 1rem 1.1rem 1.05rem; }
.menu-item.is-off { background: #faf8f5; }
.menu-item__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.menu-item__grid {
    display: grid;
    gap: 0.75rem;
}
.menu-item__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.45rem;
    margin-top: 0.9rem;
}
.btn-sm { height: 40px; padding: 0 0.9rem; font-size: 0.88rem; min-height: 40px; }
.filter-pills {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin: 0 0 1rem;
}
.filter-pills a {
    text-decoration: none;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.88rem;
}
.filter-pills a.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.notif-menu { position: relative; flex: 0 0 auto; }
.notif-bell {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    position: relative;
}
.notif-bell::-webkit-details-marker { display: none; }
.notif-bell svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}
.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.notif-drop {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(320px, calc(100vw - 1.5rem));
    max-width: calc(100vw - 1.5rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    padding: 0.55rem;
    display: grid;
    gap: 0.25rem;
    z-index: 40;
}
.notif-drop a {
    text-decoration: none;
    display: grid;
    gap: 0.15rem;
    padding: 0.65rem 0.7rem;
    border-radius: 12px;
}
.notif-drop a:hover { background: #f3eee7; }
.notif-drop a.unread { background: #faf3ee; }
.notif-drop a strong { font-size: 0.88rem; }
.notif-drop a span { color: var(--muted); font-size: 0.8rem; }
.notif-all { font-weight: 700 !important; font-size: 0.82rem; text-align: center; }

.listing-card.is-map-active {
    outline: 2px solid var(--ink);
    outline-offset: 6px;
    border-radius: 20px;
}
.recent-row .listing-card.is-map-active {
    outline: none;
}
.listing-card.is-map-active .listing-card__media {
    box-shadow: var(--shadow-hover);
}
.explore-layout {
    display: grid;
    gap: 1.25rem;
}
.explore-results {
    display: grid;
    gap: 0.85rem;
    min-width: 0;
    align-content: start;
}
.app-content--explore {
    max-width: none;
    gap: 1rem;
}
.app-content--explore .page-hero h1 {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    margin-bottom: 0.15rem;
}
.app-content--explore .lead { margin: 0; }
.explore-filters {
    display: grid;
    gap: 0.4rem;
    min-width: 0;
}
.cat-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.15rem 0.1rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    padding: 0.15rem 0 0;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.cat-row::-webkit-scrollbar { display: none; }
.cat-row.has-overflow,
.chip-row.has-overflow { cursor: grab; }
.cat-row.is-dragging,
.chip-row.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.cat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.38rem;
    min-width: 4.1rem;
    padding: 0.5rem 0.5rem 0.68rem;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    flex: 0 0 auto;
    user-select: none;
    -webkit-user-drag: none;
}
.cat-chip svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
    opacity: 0.88;
}
.cat-chip:hover { color: var(--ink); }
.cat-chip:hover svg { opacity: 1; }
.cat-chip.is-active {
    color: var(--ink);
    font-weight: 700;
    border-bottom-color: var(--ink);
}
.cat-chip.is-active svg { opacity: 1; }
.cat-row::after {
    content: "";
    flex: 0 0 1.2rem;
    width: 1.2rem;
    margin-left: -0.35rem;
    position: sticky;
    right: 0;
    align-self: stretch;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #fff);
    opacity: 0;
    z-index: 1;
}
.cat-toolbar.chip-overflow-end .cat-row::after { opacity: 1; }
.browse-bar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    overflow: hidden;
    position: relative;
}
.browse-bar--tools {
    justify-content: flex-end;
    overflow: visible;
    gap: 0.5rem;
}
.browse-bar .filter-btn {
    margin: 0;
    align-self: center;
    flex: 0 0 auto;
}
.browse-bar .chip-row {
    flex: 1 1 0%;
    min-width: 0;
    width: 0;
    padding-bottom: 0.2rem;
    scroll-snap-type: x proximity;
}
.browse-bar.has-chip-overflow .chip-row {
    cursor: grab;
}
.browse-bar .chip-row.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}
.browse-bar .chip-row .chip {
    scroll-snap-align: start;
}
.browse-bar::before,
.browse-bar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0.25rem;
    width: 1.5rem;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}
.browse-bar::before {
    left: 0;
    background: linear-gradient(270deg, transparent, #fff);
}
.browse-bar::after {
    right: 2.85rem;
    background: linear-gradient(90deg, transparent, #fff);
}
.browse-bar.has-chip-overflow.chip-overflow-start::before,
.browse-bar.has-chip-overflow.chip-overflow-end::after {
    opacity: 1;
}
.browse-bar__locate {
    flex: 0 0 auto;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.browse-bar__locate svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}
.browse-bar__locate[aria-busy="true"] {
    opacity: 0.6;
    pointer-events: none;
}
.browse-bar__locate[aria-busy="true"] svg {
    animation: locate-spin 0.9s linear infinite;
}
@keyframes locate-spin {
    to { transform: rotate(180deg); }
}
body:has(.app-content--explore) .site-footer { display: none; }

.map-float {
    position: fixed;
    left: 50%;
    bottom: calc(var(--bottom) + var(--safe-b) + 0.75rem);
    transform: translateX(-50%);
    z-index: 35;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    padding: 0.72rem 1.2rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.02em;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    white-space: nowrap;
}
.map-float svg {
    width: 18px;
    height: 18px;
}
.map-float__map { fill: currentColor; }
.map-float__list {
    display: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linejoin: round;
}
.map-float.is-map .map-float__map { display: none; }
.map-float.is-map .map-float__list { display: block; }

@media (max-width: 991.98px) {
    .explore-map {
        display: block;
        position: fixed;
        top: var(--header);
        left: 0;
        right: 0;
        bottom: calc(var(--bottom) + var(--safe-b));
        z-index: 5;
        height: auto;
        min-height: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .explore-map .shops-map,
    .explore-layout--map .explore-map .shops-map,
    .explore-layout--map .explore-map .leaflet-container {
        height: 100%;
        width: 100%;
    }
    .explore-layout--map .explore-map {
        z-index: 28;
        visibility: visible;
        pointer-events: auto;
    }
    .explore-layout--map .page-hero,
    .explore-layout--map .search-hero,
    .explore-layout--map .listing-grid,
    .explore-layout--map .empty,
    .explore-layout--map .locate-hint,
    .explore-layout--map .active-filters { display: none; }
    .explore-layout--map .explore-search-row {
        position: fixed;
        top: calc(var(--header) + 0.55rem);
        right: 1rem;
        left: auto;
        width: auto;
        z-index: 29;
        display: flex;
        padding: 0;
        background: none;
        border: 0;
        gap: 0;
    }
    .explore-layout--map .explore-search-row .air-search-wrap { display: none; }
    .explore-layout--map .leaflet-top.leaflet-left { top: 0.85rem; }
    body.explore-map-open { overflow: hidden; }
    body:has(.map-float) .app-content--explore {
        padding-bottom: calc(var(--bottom) + 4.8rem);
    }
}
.explore-map,
.shop-map,
.settings-map {
    min-height: 280px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #ebebeb;
}
.shop-map { min-height: 240px; margin-top: 0.75rem; overflow: hidden; }
.shop-map .leaflet-container,
.settings-map .leaflet-container {
    z-index: 0;
    isolation: isolate;
}
.settings-map { min-height: 260px; margin: 0.35rem 0 1rem; }
.shops-map {
    width: 100%;
    height: 280px;
}
.shop-map .shops-map { height: 240px; }
.settings-map .shops-map { height: 260px; }
.explore-map .shops-map { height: 280px; }
.shop-price-pin {
    border: 0;
    background: transparent;
}
.shop-price-pin span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
    font-size: 0.82rem;
    box-shadow: 0 6px 16px rgba(28, 25, 23, 0.18);
    border: 1px solid var(--line);
    white-space: nowrap;
}
.shop-price-pin.is-active span,
.shop-price-pin:hover span {
    background: var(--copper);
    color: #fff;
    border-color: var(--copper);
}
.map-popup { min-width: 0; }
.map-popup__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(255,255,255,0.08), rgba(0,0,0,0.18)),
        repeating-linear-gradient(-18deg, transparent, transparent 18px, rgba(255,255,255,0.08) 18px, rgba(255,255,255,0.08) 22px);
}
.map-popup__media img:not(.map-popup__logo) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.map-popup__logo {
    position: absolute;
    left: 0.7rem;
    bottom: 0.7rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(28, 25, 23, 0.16);
    background: var(--ink);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    z-index: 1;
}
.map-popup__logo--mark { font-family: var(--display); }
.map-popup__body { padding: 0.85rem 0.9rem 0.95rem; }
.map-popup__row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 0.55rem;
}
.map-popup__row strong {
    display: block;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.map-popup__rating {
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}
.map-popup__meta,
.map-popup__addr {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}
.map-popup__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    margin-top: 0.75rem;
}
.map-popup__actions .btn {
    min-height: 36px;
    padding: 0 0.55rem;
    font-size: 0.78rem;
    width: 100%;
    white-space: nowrap;
}
.leaflet-container .map-popup__actions a.btn {
    color: #fff;
}
.leaflet-container .map-popup__actions a.btn:hover {
    color: #fff;
}
.leaflet-container .map-popup__actions a.btn-ghost,
.leaflet-container .map-popup__actions a.btn-ghost:hover {
    color: var(--ink);
}
.map-popup--compact .map-popup__logo {
    position: static;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    box-shadow: none;
}
.map-popup--compact .map-popup__row { align-items: center; }
.map-popup--compact .map-popup__row strong { flex: 1; min-width: 0; }
.leaflet-container { font-family: var(--font); }
.shop-popup .leaflet-popup-content-wrapper {
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    padding: 0;
}
.shop-popup .leaflet-popup-content {
    margin: 0;
    min-width: 228px;
}
.shop-popup .leaflet-popup-tip {
    box-shadow: none;
}
.leaflet-container a.leaflet-popup-close-button {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(28, 25, 23, 0.12);
}
.map-pin-hint { margin: 0.15rem 0 0.45rem; }
@media (min-width: 992px) {
    .app-content--explore { padding-right: 0; }
    .explore-results { padding-right: 1.25rem; padding-bottom: 2rem; }
    .explore-layout {
        grid-template-columns: minmax(280px, 1fr) minmax(340px, 1.05fr);
        align-items: start;
        gap: 1.5rem;
    }
    .explore-layout .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .explore-map {
        position: sticky;
        top: var(--header);
        height: calc(100dvh - var(--header));
        min-height: 480px;
        border-radius: 16px 0 0 0;
        border-right: 0;
        margin: -1.1rem 0 -2.5rem;
    }
    .explore-map .shops-map { height: 100%; }
    .map-float { display: none; }
}

@media (min-width: 768px) {
    .cat-pills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .form-grid { grid-template-columns: 2fr 1fr 1fr; }
    .settings-card__grid.form-grid { grid-template-columns: 1fr 1fr; }
    .menu-composer__grid {
        grid-template-columns: minmax(0, 1.7fr) 9.6rem 8.4rem auto;
        align-items: end;
    }
    .menu-item__grid {
        grid-template-columns: minmax(0, 1.7fr) 9.6rem 8.4rem;
    }
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--wash);
    color: var(--muted);
    margin-top: auto;
    padding: 0.55rem 1.5rem calc(0.55rem + var(--bottom) + var(--safe-b));
}
.site-footer__inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}
.site-footer__grid {
    display: grid;
    gap: 1.6rem 2rem;
}
.site-footer__brand p {
    margin: 0.55rem 0 0;
    max-width: 28ch;
    font-size: 0.92rem;
    line-height: 1.45;
}
.site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}
.site-footer__logo img { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; }
.site-footer__col {
    display: grid;
    gap: 0.42rem;
    align-content: start;
}
.site-footer__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 0.2rem;
}
.site-footer__col a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--muted);
}
.site-footer__col a:hover { color: var(--ink); }
.site-footer__copy {
    margin: 1.5rem 0 0;
    padding-top: 1.15rem;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
}
.site-footer--compact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem 1.25rem;
    width: 100%;
    max-width: none;
    background: var(--wash);
    border-top: 1px solid var(--line);
    margin-top: auto;
    padding: 0.5rem 1.5rem calc(0.5rem + var(--bottom) + var(--safe-b));
}
.site-footer--compact .site-footer__copy {
    margin: 0;
    padding: 0;
    border: 0;
    text-align: left;
}
.site-footer__legal {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin: 0;
}
.site-footer__legal a {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
}
.site-footer__legal a:hover { color: var(--ink); }

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: 1.35fr 1fr 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
}

body:has(.sticky-book) .app-content {
    padding-bottom: calc(5.5rem + var(--bottom) + var(--safe-b));
}
@media (min-width: 992px) {
    body:has(.sticky-book) .app-content { padding-bottom: 2.25rem; }
}

.listing-fav {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    z-index: 3;
    margin: 0;
    background: transparent;
    box-shadow: none;
    width: auto;
    height: auto;
}
.listing-card a.listing-fav {
    display: grid;
    place-items: center;
    gap: 0;
}
.listing-fav button,
a.listing-fav {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.listing-fav svg {
    width: 1.5rem;
    height: 1.5rem;
    overflow: visible;
    fill: transparent;
    stroke: #fff;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
    paint-order: stroke fill;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
    transition: transform 0.15s ease, fill 0.15s ease;
}
.listing-fav button:hover svg,
a.listing-fav:hover svg {
    transform: scale(1.08);
}
.listing-fav button:active svg,
a.listing-fav:active svg {
    transform: scale(0.94);
}
.listing-fav.is-on svg {
    fill: var(--accent);
    stroke: #fff;
}
.listing-hero {
    position: relative;
}
.listing-hero .listing-fav {
    top: 0.65rem;
    right: 0.65rem;
}
.hours-row__break {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.7rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 650;
}
.shop-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
    margin: 0.35rem 0 0;
}
.floor-card__link {
    color: inherit;
    text-decoration: none;
}
.floor-card__link:hover { text-decoration: underline; }
.trip-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.9rem;
    margin-top: 0.45rem;
}
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(12, 10, 8, 0.88);
    display: grid;
    place-items: center;
    padding: 2.5rem 1.25rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
    max-width: min(92vw, 960px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 12px;
}
.lightbox__close {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}
.profile-saved {
    display: block;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
}
.rating--new {
    color: var(--muted);
    font-weight: 650;
}
.listing-card__slot,
.listing-card__instant {
    color: var(--ink);
    font-weight: 650;
    font-size: 0.82rem;
}
.listing-card__instant { color: var(--accent); }
.listing-card__call {
    color: var(--muted);
    font-weight: 650;
    font-size: 0.82rem;
}
.explore-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.35rem 0 1rem;
}
@media (max-width: 640px) {
    .explore-sort {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 0.85rem;
    }
    .explore-sort::-webkit-scrollbar { display: none; }
    .explore-sort a { flex: 0 0 auto; }
}
.explore-sort a {
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 650;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: #fff;
}
.explore-sort a.is-active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.share-btn {
    position: absolute;
    top: 0.65rem;
    right: 3.35rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 2.6rem;
    padding: 0 0.85rem 0 0.7rem;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 650;
}
.share-btn svg {
    width: 1.05rem;
    height: 1.05rem;
}
.share-btn:hover { background: rgba(0, 0, 0, 0.58); }
.confirm-card {
    display: grid;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.confirm-card__media {
    aspect-ratio: 16 / 9;
    border-radius: 0;
}
.confirm-card__body {
    padding: 1.1rem 1.2rem 1.3rem;
    display: grid;
    gap: 0.35rem;
}
.confirm-card__when {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}
.confirm-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.7rem;
}
.book-policy {
    font-size: 0.82rem !important;
}
.day-book {
    margin-bottom: 2rem;
}
.day-book__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}
.day-book__nav div {
    text-align: center;
}
.day-book__nav strong {
    display: block;
    font-size: 1.05rem;
}
.day-book__nav a { font-weight: 650; }
.day-book__arrow {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    flex: 0 0 auto;
}
.day-book__arrow svg { width: 1.15rem; height: 1.15rem; }
.day-book__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 1rem;
}
.day-book__empty {
    padding: 1.6rem 1rem;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: 16px;
    background: #faf7f2;
}
.day-book__empty p {
    margin: 0;
    color: var(--muted);
}
.chair-board {
    display: grid;
    grid-template-columns: 2.6rem repeat(auto-fit, minmax(8rem, 1fr));
    gap: 0 0.55rem;
    margin: 0 0 1.35rem;
    overflow: visible;
}
.chair-board__times {
    position: relative;
    height: var(--lane-h, 400px);
    margin-top: 1.55rem;
}
.chair-board__times span {
    position: absolute;
    left: 0;
    font-size: 0.68rem;
    color: var(--muted);
    transform: translateY(-0.35em);
    white-space: nowrap;
}
.chair-board__col strong {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chair-board__lane {
    position: relative;
    height: var(--lane-h, 400px);
    background:
        repeating-linear-gradient(
            to bottom,
            #faf7f2 0,
            #faf7f2 calc(var(--hour-h, 40px) - 1px),
            var(--line) calc(var(--hour-h, 40px) - 1px),
            var(--line) var(--hour-h, 40px)
        );
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
.chair-block {
    position: absolute;
    left: 5px;
    right: 5px;
    overflow: hidden;
    border-radius: 10px;
    padding: 0.28rem 0.4rem;
    font-size: 0.72rem;
    line-height: 1.2;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(28, 25, 23, 0.04);
}
.chair-block strong {
    display: block;
    margin: 0;
    font-size: 0.75rem;
}
.chair-block span {
    display: block;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chair-block.status-pending { border-color: #c45c26; background: #fff8f3; }
.chair-block.status-confirmed { background: #f4ebe3; border-color: #e4d5c8; }
a.chair-block { text-decoration: none; color: inherit; }
a.chair-block:hover { border-color: var(--ink); }
.reject-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}
.reject-form input[type="text"] {
    min-width: 10rem;
    flex: 1 1 10rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
    font: inherit;
}
.card.is-unread {
    box-shadow: inset 3px 0 0 var(--accent);
}
.notif-toolbar { margin: 0 0 1rem; }
.filter-check {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0;
    font-weight: 650;
    cursor: pointer;
}
.filter-check + .filter-check { border-top: 1px solid var(--line); }
.filter-check input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--accent);
}
a.service-row { text-decoration: none; color: inherit; }
.setup-card {
    margin: 0 0 1.4rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}
.setup-card h2 { margin: 0 0 0.7rem; font-size: 1.05rem; }
.setup-card__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.setup-card__list a { font-weight: 650; }
.billing-card {
    margin: 0 0 1.4rem;
    padding: 1.15rem 1.2rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    display: grid;
    gap: 0.7rem;
}
.billing-card h2 { margin: 0; font-size: 1.15rem; }
.billing-card .eyebrow { margin: 0; }
.billing-card form { display: grid; gap: 0.65rem; justify-items: start; }
.billing-inline { margin: 0; }
.billing-progress-label { margin: 0.15rem 0 0; font-size: 0.86rem; color: var(--muted); }
.billing-progress {
    height: 8px;
    background: var(--line);
    border-radius: 99px;
    overflow: hidden;
}
.billing-progress > span {
    display: block;
    height: 100%;
    background: var(--accent);
    border-radius: inherit;
}
.billing-banner .billing-progress { margin: 0.45rem 0 0.2rem; }
.billing-banner .btn { margin-top: 0.2rem; }
.billing-meta { margin: 0; display: grid; gap: 0.65rem; }
.billing-meta div { display: grid; gap: 0.15rem; }
.billing-meta dt { font-size: 0.78rem; color: var(--muted); }
.billing-meta dd { margin: 0; word-break: break-all; }
.billing-meta code { font-size: 0.82rem; }
.billing-comp-form { display: grid; gap: 0.65rem; }
.billing-comp-form .btn { justify-self: start; }
.stack-form { display: grid; gap: 0.65rem; }
.confirm-cancel { display: inline; margin: 0; }

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

.book-head h1 {
    font-family: var(--display);
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    margin: 0.1rem 0 0.4rem;
    line-height: 1.2;
}
.book-head .lead { margin-bottom: 0.35rem; }
.book-section { margin: 0 0 1.6rem; }
.book-section h2 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 0.7rem;
}
.book-svcs { display: grid; gap: 0.55rem; }
.book-svc {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    margin: 0;
}
.book-svc input { position: absolute; opacity: 0; pointer-events: none; }
.book-svc__copy { display: grid; gap: 0.15rem; min-width: 0; }
.book-svc__copy strong { font-size: 1rem; }
.book-svc em { font-style: normal; font-weight: 650; white-space: nowrap; }
.book-svc:has(input:checked),
.book-svc.is-locked {
    border-color: var(--ink);
    box-shadow: 0 0 0 1px var(--ink);
}
.book-addons {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.75rem;
}
.book-addons > span { font-weight: 650; font-size: 0.88rem; }
.book-addon {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    background: #fff;
}
.book-addon em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 0.85rem; }
.book-addon:has(input:checked) { border-color: var(--ink); }
.book-staff {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.book-staff .staff-chip {
    position: relative;
    cursor: pointer;
}
.book-staff .staff-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.book-staff .staff-chip:has(input:checked) {
    border-color: var(--ink);
    box-shadow: 0 0 0 1px var(--ink);
}
.book-staff .staff-chip strong {
    font-size: 0.9rem;
    margin: 0;
}
.book-flow .book-cal { max-width: none; }
.book-you > .muted { margin: -0.35rem 0 0.75rem; }
.book-google { margin: 0.85rem 0 0.45rem; }
.book-google .btn-google {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}
.book-google .btn-google svg { width: 18px; height: 18px; }
.book-google-or {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 0.85rem;
}
.book-you__grid {
    display: grid;
    gap: 0.75rem;
}
.book-card__svc,
.book-card__when {
    margin: 0;
    font-size: 0.92rem;
}
.book-card__when { font-weight: 700; font-size: 1.02rem; }
.book-card .book-card__media {
    height: 132px;
    border-radius: 12px;
    overflow: hidden;
}
.book-post .field { margin-top: 0.25rem; }

body:has(.book-flow) .sticky-book { display: none; }
body:has(.book-flow input[name="time_slot"]:checked) .sticky-book { display: flex; }
body:has(.book-flow):not(:has(input[name="time_slot"]:checked)) .app-content {
    padding-bottom: calc(2rem + var(--bottom) + var(--safe-b));
}
@media (max-width: 991px) {
    body:has(.book-flow input[name="time_slot"]:checked) .book-flow .slots {
        padding-bottom: 6.25rem;
    }
}
@media (min-width: 992px) {
    body:has(.book-flow input[name="time_slot"]:checked) .sticky-book { display: none; }
}

.slot-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.staff-row {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.staff-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    color: inherit;
    background: var(--surface);
}
.staff-chip > span:not(.avatar) { color: var(--muted); font-size: 0.82rem; margin-left: auto; }
.staff-chip img.avatar { object-fit: cover; }
.staff-chip--bio { align-items: flex-start; border-radius: 18px; }
.staff-chip--bio > span:first-of-type em,
.staff-chip--bio span em {
    display: block;
    font-style: normal;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 500;
    margin-top: 0.12rem;
}
.shop-switch {
    position: relative;
    z-index: 60;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 13.5rem;
}
.shop-switch summary {
    list-style: none;
    cursor: pointer;
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 650;
    font-size: 0.88rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}
.shop-switch summary::-webkit-details-marker { display: none; }
.shop-switch__list {
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 90;
    min-width: 16rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 0.35rem;
    display: grid;
}
.shop-switch__list a {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: 0.9rem;
}
.shop-switch__list a em { color: var(--muted); font-style: normal; font-weight: 500; }
.shop-switch__list a.is-on,
.shop-switch__list a:hover { background: var(--cream, #f6f1ea); }
@media (max-width: 840px) {
    .site-header {
        gap: 0.4rem;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }
    .brand { gap: 0; }
    .brand span,
    .site-header .panel-badge { display: none; }
    .brand img {
        width: 32px;
        height: 32px;
    }
    .header-end { gap: 0.3rem; }
    .shop-switch { max-width: none; }
    .shop-switch summary {
        padding: 0.4rem 0.65rem;
        font-size: 0.82rem;
    }
    .shop-switch__list {
        position: fixed;
        left: 0.7rem;
        right: 0.7rem;
        top: calc(0.65rem + var(--safe-t) + 3.15rem);
        min-width: 0;
        max-height: min(70vh, 22rem);
        overflow-y: auto;
    }
    .user-chip { padding: 0.15rem 0.3rem 0.15rem 0.5rem; }
    .notif-bell {
        width: 38px;
        height: 38px;
    }
}
.recent-row { display: grid; gap: 0.55rem; overflow: hidden; }
.recent-row h2 { margin: 0; font-size: 1rem; }
.recent-row__scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(16rem, 18rem);
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.15rem 0.15rem 0.45rem;
}
.client-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.client-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.7rem 1rem;
    padding: 0.9rem 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.client-card p { margin: 0.2rem 0 0; }
.client-card__act { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.repeat-picks { border: 0; margin: 0.7rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.repeat-picks legend { font-weight: 700; margin-bottom: 0.2rem; }
.repeat-picks__opt { display: flex; gap: 0.45rem; align-items: center; font-weight: 600; }
.export-line { margin: 0.15rem 0 0.4rem; }
.export-line a { font-weight: 650; font-size: 0.9rem; }
.section-head__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}
.staff-edit { display: flex; gap: 0.75rem; align-items: flex-start; flex: 1; }
.staff-edit__photo {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--cream, #f6f1ea);
    position: relative;
    flex: 0 0 auto;
}
.staff-edit__photo img,
.staff-edit__photo .avatar { width: 100%; height: 100%; object-fit: cover; display: block; }
.staff-edit__photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.staff-edit__fields { flex: 1; display: grid; gap: 0.35rem; }
.staff-edit__save { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.walkin-search { display: flex; gap: 0.5rem; align-items: end; flex-wrap: wrap; }
.walkin-search .field { flex: 1 1 12rem; }
.walkin-hits { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0.6rem 0 0; padding: 0; }
.addon-list { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.3rem; }
.addon-list li { display: flex; justify-content: space-between; gap: 0.5rem; align-items: center; font-size: 0.88rem; }
.addon-add { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.55rem; align-items: center; }
.addon-add input[type="text"] { flex: 1 1 8rem; }
.addon-add input[type="number"] { width: 4.5rem; }
.staff-hours { margin-top: 0.5rem; }
.staff-hours__form { display: grid; gap: 0.4rem; margin-top: 0.5rem; }
.hours-row--staff { grid-template-columns: 5.5rem auto 1fr 1fr; }
.hours-staff-row { display: grid; gap: 0.45rem; }
.book-addons { display: grid; gap: 0.35rem; }
.floor-card:target { outline: 2px solid var(--ink); outline-offset: 2px; }
