:root {
    --bg: #f4f6f4;
    --surface: #ffffff;
    --surface-soft: #f8faf8;
    --surface-strong: #edf2ef;
    --line: #d7dfd9;
    --line-strong: #bbc9c1;
    --text: #17231e;
    --muted: #63736a;
    --brand: #17745f;
    --brand-deep: #0f4b40;
    --brand-soft: #e4f4ee;
    --clay: #ba6d35;
    --clay-soft: #fff0e5;
    --blue: #2d628b;
    --blue-soft: #e7f0f7;
    --amber: #9f6b14;
    --amber-soft: #fff4d7;
    --violet: #6f5794;
    --violet-soft: #f0ebf8;
    --danger: #b42318;
    --danger-soft: #fff0ee;
    --success: #227447;
    --success-soft: #e7f5ed;
    --warning: #9a6700;
    --warning-soft: #fff5d8;
    --radius: 8px;
    --shadow: 0 18px 44px rgba(23, 35, 30, .08);
    --shadow-subtle: 0 8px 24px rgba(23, 35, 30, .06);
    --sidebar-width: 276px;
}

.public-search.public-search-wide {
    grid-template-columns: minmax(260px, 1.6fr) minmax(160px, .7fr) minmax(130px, .55fr) auto;
}

.public-search.public-search-range,
.public-search.public-search-wide.public-search-range {
    grid-template-columns: minmax(300px, 1.9fr) minmax(142px, .72fr) minmax(142px, .72fr) minmax(120px, .58fr) auto;
}

.public-search .search-place input {
    min-width: 240px;
}

.market-pulse {
    width: min(1180px, calc(100% - 32px));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: -22px auto 34px;
    position: relative;
    z-index: 2;
}

.pulse-card {
    display: grid;
    gap: 6px;
    border: 1px solid rgba(23, 116, 95, .16);
    border-radius: var(--radius);
    padding: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
}

.pulse-card span {
    color: var(--clay);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.pulse-card strong {
    color: var(--brand-deep);
    font-size: 1.25rem;
}

.pulse-card small {
    color: var(--muted);
}

.story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.catalog-band-featured {
    margin-top: 18px;
}

.dashboard-hero-kpi {
    background:
        linear-gradient(90deg, rgba(18, 63, 54, .97), rgba(111, 80, 43, .72)),
        url("../img/hero-air-rumi.png") center / cover;
}

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

.kpi-card {
    min-height: 148px;
    display: grid;
    gap: 8px;
    align-content: space-between;
    border-top: 4px solid var(--brand);
}

.kpi-card.accent-blue {
    border-top-color: var(--blue);
}

.kpi-card.accent-clay {
    border-top-color: var(--clay);
}

.kpi-card.accent-purple {
    border-top-color: var(--violet);
}

.kpi-card span,
.host-command-card span {
    color: var(--muted);
    font-weight: 900;
}

.kpi-card strong,
.host-command-card strong {
    color: var(--brand-deep);
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1;
}

.kpi-card small,
.host-command-card small {
    color: var(--muted);
}

.kpi-meter {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-strong);
}

.kpi-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand), var(--clay));
}

.dashboard-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
    gap: 16px;
}

.signal-list,
.rank-list,
.host-next-steps,
.host-offer-list {
    display: grid;
    gap: 10px;
}

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

.signal-list article,
.host-next-steps article {
    display: grid;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: var(--surface-soft);
}

.signal-list span,
.host-next-steps span {
    color: var(--muted);
    font-size: .84rem;
    font-weight: 800;
}

.signal-list strong {
    color: var(--brand-deep);
    font-size: 1.65rem;
    line-height: 1;
}

.signal-list small,
.host-next-steps small {
    color: var(--muted);
}

.mini-bars {
    display: grid;
    gap: 14px;
}

.mini-bars div {
    display: grid;
    gap: 6px;
}

.mini-bars span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-weight: 800;
}

.mini-bars b {
    color: var(--text);
}

.mini-bars i {
    display: block;
    height: 10px;
    min-width: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--blue));
}

.ops-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    gap: 8px 12px;
    align-items: center;
    margin-top: 22px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.ops-strip span {
    color: var(--muted);
    font-weight: 800;
}

.ops-strip strong {
    color: var(--brand-deep);
}

.rank-list article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
}

.rank-list article > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-weight: 900;
}

.rank-list small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
}

.rank-list b {
    color: var(--clay);
}

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

.admin-health-grid span {
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    color: var(--muted);
    background: var(--surface-soft);
}

.admin-health-grid strong {
    color: var(--brand-deep);
    font-size: 1.7rem;
    line-height: 1;
}

.host-hero {
    background:
        linear-gradient(90deg, rgba(18, 63, 54, .97), rgba(45, 98, 139, .74)),
        url("../img/hero-air-rumi.png") center / cover;
}

.host-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

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

.host-wizard-strip,
.host-room-helper,
.reputation-scoreboard,
.rating-bars,
.moderation-pulse div {
    display: grid;
    gap: 12px;
}

.host-wizard-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 16px;
}

.host-wizard-strip span,
.host-wizard-strip button,
.host-room-helper,
.moderation-pulse div span {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: var(--surface-soft);
}

.host-wizard-strip button {
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.host-wizard-strip button:hover {
    border-color: rgba(23, 116, 95, .32);
    background: #fff;
}

.host-wizard-strip button.is-active {
    border-color: var(--brand);
    background: var(--brand-soft);
    box-shadow: inset 0 0 0 1px rgba(23, 116, 95, .14);
}

.host-wizard-strip button.is-complete strong {
    background: var(--success);
}

.host-wizard-strip strong {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
}

.host-room-helper {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin-bottom: 12px;
}

.host-room-helper p {
    margin: 4px 0 0;
    color: var(--muted);
}

.host-room-helper code {
    white-space: normal;
}

.host-editor-page {
    display: grid;
    gap: 18px;
}

.host-editor-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 24px;
    background:
        linear-gradient(120deg, rgba(18, 63, 54, .95), rgba(24, 126, 101, .72)),
        url("../img/hero-air-rumi.png") center / cover;
    color: #fff;
    box-shadow: var(--shadow-subtle);
}

.host-editor-hero h2,
.host-editor-hero p {
    margin: 0;
}

.host-editor-hero h2 {
    max-width: 760px;
    font-size: clamp(1.85rem, 3vw, 2.8rem);
    line-height: 1.05;
}

.host-editor-hero .eyebrow {
    color: #f6b36b;
}

.host-editor-hero p:not(.eyebrow) {
    max-width: 680px;
    margin-top: 8px;
    color: rgba(255, 255, 255, .86);
    font-weight: 700;
}

.host-editor-hero .btn {
    background: #fff;
    color: var(--brand-deep);
}

.reputation-scoreboard {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .46fr);
}

.rating-bars div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 36px;
    gap: 10px;
    align-items: center;
}

.rating-bars span {
    color: var(--muted);
    font-weight: 800;
}

.rating-bars i {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-strong);
}

.rating-bars b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--clay), var(--brand));
}

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

.moderation-pulse strong {
    display: block;
    color: var(--brand-deep);
    font-size: 1.8rem;
}

.host-command-card {
    min-height: 140px;
    display: grid;
    gap: 8px;
    align-content: space-between;
}

.host-next-steps article.done {
    border-color: rgba(36, 137, 91, .3);
    background: var(--success-soft);
}

.host-next-steps article.done span {
    color: var(--success);
}

.host-offer-list article {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    background: #fff;
}

.host-offer-list img {
    width: 88px;
    height: 70px;
    object-fit: cover;
    border-radius: calc(var(--radius) - 4px);
}

.host-offer-list small,
.host-offer-list span:not(.badge) {
    display: block;
    margin-top: 3px;
    color: var(--muted);
}

.offer-status {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

@media (max-width: 920px) {
    .public-search.public-search-wide,
    .market-pulse,
    .kpi-dashboard-grid,
    .host-command-grid,
    .host-wizard-strip,
    .host-room-helper,
    .reputation-scoreboard,
    .dashboard-split {
        grid-template-columns: 1fr;
    }

    .public-search .search-place input {
        min-width: 0;
    }

    .market-pulse {
        margin-top: 18px;
    }

    .host-hero-actions {
        justify-content: flex-start;
    }

    .host-wizard-strip {
        display: flex;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
    }

    .host-wizard-strip button {
        min-width: 188px;
        scroll-snap-align: start;
    }
}

@media (max-width: 680px) {
    .signal-list,
    .admin-health-grid {
        grid-template-columns: 1fr;
    }

    .host-offer-list article {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .host-offer-list img {
        width: 72px;
        height: 62px;
    }

    .offer-status {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

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

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

button {
    -webkit-tap-highlight-color: transparent;
}

code {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--surface-strong);
    color: var(--brand-deep);
    font-size: .9em;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    transform: translateY(-140%);
    border-radius: var(--radius);
    padding: 9px 12px;
    background: var(--brand-deep);
    color: #fff;
    font-weight: 800;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 9px 14px;
    cursor: pointer;
    font-weight: 800;
    line-height: 1.1;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

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

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(23, 116, 95, .22);
    outline-offset: 2px;
}

.btn.primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 20px rgba(23, 116, 95, .18);
}

.btn.primary:hover {
    background: var(--brand-deep);
}

.btn.ghost {
    background: #fff;
    border-color: var(--line);
    color: var(--text);
}

.btn.ghost:hover {
    border-color: var(--brand);
    color: var(--brand-deep);
}

.btn.ghost.inverse {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .36);
    color: #fff;
}

.btn.ghost.inverse:hover {
    background: #fff;
    border-color: #fff;
    color: var(--brand-deep);
}

.btn.danger {
    background: var(--danger-soft);
    border-color: #edb6ae;
    color: var(--danger);
}

.btn.danger:hover {
    border-color: var(--danger);
    background: #ffe3df;
}

.btn.small {
    min-height: 34px;
    padding: 6px 10px;
    font-size: .9rem;
}

.btn.full {
    width: 100%;
}

.public-body {
    background: #fbfaf7;
}

.hero {
    min-height: auto;
    display: grid;
    grid-template-rows: auto auto;
    gap: 18px;
    padding: 18px 24px 26px;
    color: var(--text);
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.public-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
}

.hero .public-nav {
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(220px, .8fr) auto minmax(420px, 1fr);
    gap: 18px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.public-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.hero .public-actions {
    flex-wrap: nowrap;
    gap: 8px;
}

.hero .public-actions .btn {
    min-height: 38px;
    padding: 8px 12px;
    font-size: .92rem;
    white-space: nowrap;
}

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

.brand small,
.brand span span {
    display: block;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 600;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: var(--brand-soft);
    color: var(--brand-deep);
    letter-spacing: 0;
}

.home-mode-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.home-mode-nav a {
    min-width: 118px;
    min-height: 54px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 2px;
    border-bottom: 3px solid transparent;
    padding: 7px 10px;
    color: var(--muted);
    font-weight: 900;
}

.home-mode-nav a span {
    color: var(--brand-deep);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.home-mode-nav a.active,
.home-mode-nav a:hover {
    border-bottom-color: var(--text);
    color: var(--text);
}

.hero-content {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 4px 0 8px;
    display: grid;
    justify-items: center;
    gap: 14px;
}

.hero-copy {
    max-width: 720px;
    display: grid;
    gap: 6px;
    text-align: center;
}

.hero-content h1 {
    margin: 0;
    max-width: none;
    font-size: clamp(1.75rem, 2.7vw, 2.25rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
    max-width: 64ch;
    margin: 0;
    font-size: 1rem;
    color: var(--muted);
}

.public-search {
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: minmax(360px, 2.15fr) minmax(190px, 1fr) minmax(160px, .85fr) auto;
    align-items: end;
    gap: 0;
    margin-top: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px;
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow);
}

.public-search.floating {
    margin: 18px auto 0;
    border-color: var(--line);
}

.public-search label {
    min-width: 0;
    gap: 2px;
    border-right: 1px solid var(--line);
    padding: 0 18px;
}

.public-search label:last-of-type {
    border-right: 0;
}

.public-search label span {
    font-size: .76rem;
    color: var(--text);
    font-weight: 900;
}

.public-search input {
    min-height: 34px;
    border: 0;
    border-radius: 0;
    padding: 2px 0;
    color: var(--text);
}

.public-search input:focus {
    outline: 0;
}

.date-picker-trigger {
    width: 100%;
    min-height: 36px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 8px;
    align-items: center;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.booking-card .date-picker-trigger,
.reservation-field-strip .date-picker-trigger {
    min-height: 54px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 12px;
    background: #fff;
}

.booking-card .date-picker-trigger:hover,
.reservation-field-strip .date-picker-trigger:hover {
    border-color: var(--line-strong);
}

.date-picker-trigger span {
    overflow: hidden;
    color: var(--text);
    font-size: 1rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.date-picker-trigger b {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface-strong);
}

.date-picker-trigger b::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid var(--brand-deep);
    border-top-width: 4px;
    border-radius: 4px;
}

.date-picker-trigger:focus-visible {
    outline: 3px solid rgba(23, 116, 95, .2);
    outline-offset: 4px;
}

.date-picker-popover {
    position: absolute;
    z-index: 60;
    display: grid;
    gap: 12px;
    border: 1px solid rgba(23, 116, 95, .22);
    border-radius: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 60px rgba(15, 75, 64, .22);
}

.date-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.date-picker-head strong {
    color: var(--brand-deep);
    font-size: 1rem;
}

.date-picker-head span {
    display: flex;
    gap: 6px;
}

.date-picker-head button,
.date-picker-actions button {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--brand-deep);
    cursor: pointer;
    font-weight: 900;
}

.date-picker-head button {
    width: 34px;
    height: 34px;
    font-size: 1.3rem;
    line-height: 1;
}

.date-picker-week,
.date-picker-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.date-picker-week span {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 900;
    text-align: center;
}

.date-picker-grid button {
    aspect-ratio: 1;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-weight: 800;
}

.date-picker-grid button:hover {
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.date-picker-grid button.other-month {
    color: var(--line-strong);
}

.date-picker-grid button.today {
    box-shadow: inset 0 0 0 2px var(--clay);
}

.date-picker-grid button.selected {
    background: var(--brand);
    color: #fff;
}

.date-picker-grid button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.date-picker-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.date-picker-actions button {
    padding: 8px 12px;
}

.search-button {
    min-width: 92px;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-proof span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .86);
    font-weight: 800;
}

.hero-proof strong {
    color: #fff;
}

.home-discovery {
    width: min(940px, 100%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.home-discovery a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    color: var(--brand-deep);
    font-weight: 900;
    box-shadow: var(--shadow-subtle);
}

.public-section {
    width: min(1180px, calc(100% - 32px));
    margin: -42px auto 48px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.public-section article {
    min-height: 150px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.public-section h2 {
    margin: 0 0 10px;
}

.public-section p {
    margin: 0;
    color: var(--muted);
}

.public-tabs {
    width: min(1180px, calc(100% - 32px));
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 18px auto 28px;
    overflow-x: auto;
    position: relative;
    z-index: 2;
}

.public-tabs a {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 14px;
    background: #fff;
    color: var(--muted);
    font-weight: 900;
    box-shadow: var(--shadow-subtle);
}

.public-tabs a.active,
.public-tabs a:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.sticky-tabs {
    position: sticky;
    top: 0;
    z-index: 3;
    margin-top: 0;
    padding: 10px 0;
    background: var(--bg);
}

.catalog-header {
    padding: 24px 24px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.catalog-header.detail-header {
    border-bottom: 0;
}

.checkout-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px rgba(23, 35, 30, .07);
}

.public-nav.compact {
    color: var(--text);
}

.public-nav.compact .brand small {
    color: var(--muted);
}

.public-nav.compact .brand-mark {
    background: var(--brand-soft);
}

.catalog-page,
.detail-page {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.plain-page,
.host-apply-page {
    width: min(1120px, calc(100% - 32px));
    display: grid;
    gap: 18px;
    margin: 0 auto 46px;
}

.host-apply-head {
    border-radius: var(--radius);
    padding: 28px;
    background: #123f36;
    color: #fff;
}

.host-apply-head h1,
.host-apply-head p {
    margin: 0;
}

.host-apply-head h1 {
    max-width: 14ch;
    font-size: clamp(2rem, 6vw, 4.4rem);
    line-height: 1;
}

.host-apply-head p:not(.eyebrow) {
    max-width: 58ch;
    margin-top: 12px;
    color: rgba(255, 255, 255, .82);
}

.host-apply-form {
    align-content: start;
}

.form-section {
    display: grid;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
}

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

.guided-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 16px;
    align-items: start;
}

.guided-sections {
    display: grid;
    gap: 16px;
}

.guided-step {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.guided-step h3,
.listing-readiness h3 {
    margin: 0;
}

.listing-readiness {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 12px;
}

.readiness-list {
    display: grid;
    gap: 8px;
}

.readiness-list span {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 9px;
    background: var(--surface-soft);
    color: var(--muted);
    font-weight: 800;
}

.readiness-list strong {
    display: inline-flex;
    justify-content: center;
    border-radius: 999px;
    padding: 3px 7px;
    background: var(--warning-soft);
    color: var(--warning);
    font-size: .72rem;
}

.readiness-list .done strong {
    background: var(--success-soft);
    color: var(--success);
}

.media-picker {
    display: grid;
    grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.host-guided-form {
    gap: 18px;
}

.host-guided-form .guided-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.host-guided-form .listing-readiness {
    position: static;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.host-guided-form .listing-readiness .muted-text {
    margin: 0;
}

.host-guided-form .readiness-list {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.host-guided-form .readiness-list span {
    min-height: 48px;
    background: linear-gradient(180deg, #fff, var(--surface-soft));
}

.host-guided-form .guided-sections {
    gap: 18px;
}

.host-guided-form .guided-step {
    padding: 24px;
    overflow: hidden;
}

.host-guided-form .guided-step[hidden],
.host-guided-form .listing-readiness[hidden],
.host-guided-form [hidden] {
    display: none !important;
}

.host-guided-form .guided-step > .eyebrow {
    color: var(--accent);
}

.host-guided-form .guided-step h3 {
    margin-bottom: 4px;
    font-size: clamp(1.18rem, 1.5vw, 1.45rem);
}

.host-step-note {
    display: grid;
    gap: 5px;
    border: 1px solid rgba(23, 116, 95, .2);
    border-radius: var(--radius);
    padding: 13px 14px;
    background: linear-gradient(180deg, #fff, var(--brand-soft));
    color: var(--brand-deep);
}

.host-step-note strong,
.host-step-note p {
    margin: 0;
}

.host-step-note p {
    color: var(--muted);
    font-weight: 700;
}

.host-step-note.compact {
    margin-top: 4px;
}

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

.rate-mode-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: #fff;
    cursor: pointer;
}

.rate-mode-card:has(input:checked) {
    border-color: var(--brand);
    background: var(--brand-soft);
    box-shadow: inset 0 0 0 1px rgba(23, 116, 95, .12);
}

.rate-mode-card input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
}

.rate-mode-card span {
    display: grid;
    gap: 4px;
}

.rate-mode-card small {
    color: var(--muted);
    font-weight: 700;
}

.rate-mode-panel[hidden] {
    display: none !important;
}

.field-label {
    display: inline-block;
    color: var(--text);
    font-weight: 900;
}

.option-picker {
    display: grid;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    background: #fff;
}

.option-picker .muted-text {
    margin: 4px 0 0;
}

.option-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    background: var(--surface-soft);
    color: var(--brand-deep);
    cursor: pointer;
}

.option-chip:has(input:checked) {
    border-color: var(--brand);
    background: var(--brand-soft);
    box-shadow: inset 0 0 0 1px rgba(23, 116, 95, .12);
}

.option-chip input {
    width: 16px;
    min-height: 16px;
}

.option-chip span {
    font-weight: 900;
}

.host-guided-form .form-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    align-items: start;
}

.host-guided-form .form-grid.three-up {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
}

.host-guided-form label {
    min-width: 0;
}

.host-guided-form input,
.host-guided-form select,
.host-guided-form textarea {
    min-height: 48px;
    font-size: .96rem;
    font-weight: 800;
}

.host-guided-form textarea {
    line-height: 1.45;
}

.host-guided-form label small:not(.field-error) {
    line-height: 1.35;
}

.host-guided-form select {
    overflow: hidden;
    text-overflow: ellipsis;
}

.host-guided-form .media-picker {
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
}

.host-guided-form .media-preview {
    min-height: 230px;
}

.host-guided-form .host-room-helper {
    border-color: rgba(23, 116, 95, .22);
    background: var(--brand-soft);
}

.host-guided-form .host-room-helper code {
    max-width: 420px;
    border: 1px solid rgba(23, 116, 95, .16);
    border-radius: var(--radius);
    padding: 10px;
    background: #fff;
}

.host-guided-form .form-actions {
    position: sticky;
    bottom: 0;
    z-index: 8;
    margin-top: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-subtle);
}

.host-wizard-actions {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
}

.host-wizard-progress {
    justify-self: center;
    color: var(--muted);
    font-weight: 900;
}

.media-preview {
    min-height: 210px;
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background-color: var(--surface-strong);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-subtle);
}

.catalog-band {
    width: min(1280px, calc(100% - 32px));
    display: grid;
    gap: 14px;
    margin: 26px auto 40px;
}

.story-strip {
    width: min(1280px, calc(100% - 32px));
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(360px, 1fr);
    gap: 20px;
    align-items: stretch;
    margin: 14px auto 46px;
}

.story-copy {
    display: grid;
    align-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.story-copy h2 {
    max-width: 17ch;
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1;
}

.story-copy p:not(.eyebrow) {
    max-width: 54ch;
    margin: 12px 0 0;
    color: var(--muted);
}

.story-gallery {
    min-height: 300px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.story-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-subtle);
}

.story-gallery img:first-child {
    grid-row: 1 / span 2;
}

.catalog-band.flat {
    width: 100%;
}

.market-filter-panel {
    display: grid;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.market-filter-panel h2 {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.market-filters {
    display: grid;
    grid-template-columns: minmax(170px, 1.1fr) repeat(3, minmax(110px, .7fr)) auto;
    gap: 10px;
    align-items: end;
}

.category-rail {
    display: flex;
    gap: 10px;
    margin: 16px 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-rail::-webkit-scrollbar {
    display: none;
}

.category-rail a {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 13px;
    background: #fff;
    color: var(--muted);
    font-weight: 900;
}

.category-rail a.active,
.category-rail a:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-deep);
}

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

.catalog-section-head h1,
.catalog-section-head h2 {
    margin: 0;
    line-height: 1.1;
}

.catalog-section-head h2 {
    font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.result-count {
    color: var(--muted);
    font-weight: 900;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 16px;
}

.listing-card a {
    display: grid;
    gap: 10px;
}

.listing-card {
    min-width: 0;
}

.listing-image {
    position: relative;
    display: block;
    aspect-ratio: 1 / .78;
    border-radius: var(--radius);
    background-color: var(--surface-strong);
    background-size: auto 148%;
    background-position: center bottom;
    box-shadow: var(--shadow-subtle);
}

.listing-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, .92);
    color: var(--text);
    font-size: .78rem;
    font-weight: 900;
}

.favorite-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: var(--brand-deep);
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: 0 6px 18px rgba(23, 35, 30, .12);
}

.listing-body {
    display: grid;
    gap: 2px;
}

.listing-body strong {
    line-height: 1.2;
    min-height: 2.35em;
    font-size: .96rem;
}

.card-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
}

.card-line strong {
    min-height: 0;
}

.listing-body span:not(.listing-meta) {
    color: var(--muted);
    font-size: .92rem;
}

.card-rating {
    color: var(--brand-deep) !important;
    font-weight: 800;
}

.listing-meta {
    color: var(--text);
    font-weight: 900;
}

.empty-panel {
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    padding: 28px;
    background: #fff;
    text-align: center;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
    gap: 18px;
    align-items: stretch;
    margin: 18px 0 22px;
}

.detail-hero > div {
    display: grid;
    align-content: end;
    border-radius: var(--radius);
    padding: 26px;
    background: #123f36;
    color: #fff;
}

.marketplace-detail-hero .detail-hero-copy {
    align-content: center;
    min-height: 380px;
}

.detail-hero h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(1.85rem, 3vw, 2.85rem);
    line-height: 1.04;
}

.detail-hero p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .82);
}

.detail-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.detail-gallery {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 380px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.detail-image {
    min-height: 320px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center bottom;
    box-shadow: var(--shadow);
}

.detail-gallery .detail-image {
    min-height: 0;
    border-radius: 0;
    box-shadow: none;
}

.detail-gallery-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.detail-gallery-info span {
    display: grid;
    gap: 2px;
    padding: 14px;
    background: #fff;
}

.detail-gallery-info strong {
    color: var(--brand-deep);
    font-size: 1.1rem;
    line-height: 1.1;
}

.detail-gallery-info small {
    color: var(--muted);
    font-weight: 800;
}

.detail-rating {
    width: max-content;
    max-width: 100%;
    margin-top: 14px;
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-weight: 900;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}

.detail-main {
    display: grid;
    gap: 14px;
}

.detail-main h2,
.detail-main p {
    margin: 0;
}

.detail-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.detail-facts span {
    display: grid;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: var(--surface-soft);
    color: var(--muted);
}

.detail-facts strong {
    color: var(--text);
    font-size: 1.4rem;
}

.booking-card {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 16px;
}

.reservation-page {
    width: min(1220px, calc(100% - 32px));
    display: grid;
    gap: 18px;
    margin: 0 auto 48px;
}

.reservation-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    border-radius: var(--radius);
    padding: 24px;
    background:
        linear-gradient(90deg, rgba(18, 63, 54, .96), rgba(45, 98, 139, .82)),
        url("../img/hero-air-rumi.png");
    background-size: cover;
    background-position: center;
    color: #fff;
}

.reservation-head h1,
.reservation-head p {
    margin: 0;
}

.reservation-head h1 {
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    line-height: 1.08;
}

.reservation-head p:not(.eyebrow) {
    margin-top: 10px;
    color: rgba(255, 255, 255, .78);
}

.reservation-price {
    min-width: 170px;
    display: grid;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius);
    padding: 14px;
    background: rgba(255, 255, 255, .1);
}

.reservation-price span {
    font-size: 1.4rem;
    font-weight: 900;
}

.reservation-price small {
    color: rgba(255, 255, 255, .74);
}

.reservation-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.reservation-steps li {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    background: #fff;
    font-weight: 900;
}

.reservation-steps span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: .82rem;
}

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

.booking-trust-strip span {
    display: grid;
    gap: 3px;
    border: 1px solid rgba(23, 116, 95, .16);
    border-radius: var(--radius);
    padding: 12px;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.booking-trust-strip strong {
    color: var(--brand-deep);
}

.booking-trust-strip small {
    color: var(--muted);
    font-weight: 700;
}

.reservation-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr);
    gap: 16px;
    align-items: start;
}

.availability-panel {
    display: grid;
    gap: 14px;
    margin: 22px 0;
}

.availability-table table {
    min-width: 920px;
}

.availability-table th {
    background: #eef5f1;
}

.availability-table td {
    vertical-align: middle;
}

.availability-table strong {
    line-height: 1.2;
}

.availability-table .variant-subrow td:first-child {
    padding-left: 28px;
    border-left: 3px solid var(--brand);
}

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

.availability-card {
    display: grid;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.availability-card.is-unavailable {
    background: var(--surface-soft);
}

.availability-card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.availability-card-head h3,
.availability-card-head p {
    margin: 0;
}

.availability-card-head h3 {
    font-size: 1.2rem;
}

.availability-meta,
.availability-features,
.availability-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.availability-meta span,
.availability-features span,
.availability-rules span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 9px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: .88rem;
    font-weight: 800;
}

.availability-features span {
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.availability-rules span {
    background: #fff;
}

.availability-card-body {
    display: grid;
    grid-template-columns: minmax(150px, .45fr) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.availability-price {
    display: grid;
    gap: 2px;
    border: 1px solid rgba(23, 116, 95, .18);
    border-radius: var(--radius);
    padding: 12px;
    background: linear-gradient(135deg, var(--brand-soft), #fff);
}

.availability-price strong {
    color: var(--brand-deep);
    font-size: 1.35rem;
}

.availability-price span,
.availability-price small {
    color: var(--muted);
    font-weight: 800;
}

.availability-card-actions {
    align-self: end;
}

.feature-list {
    display: grid;
    gap: 5px;
    margin: 0;
    padding-left: 18px;
}

.feature-list.compact {
    font-size: .9rem;
}

.reservation-section {
    display: grid;
    gap: 14px;
}

.reservation-section:nth-child(-n+3) {
    grid-column: 1;
}

.reservation-section h2,
.reservation-section p {
    margin: 0;
}

.reservation-pickers label:first-child {
    grid-column: span 2;
}

.reservation-section:nth-child(4) {
    grid-column: 2;
    grid-row: 1 / span 3;
    position: sticky;
    top: 18px;
}

.payment-options {
    display: grid;
    gap: 10px;
}

.payment-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.payment-account-card {
    display: grid;
    gap: 14px;
}

.payment-option {
    grid-template-columns: auto 1fr;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: var(--surface-soft);
}

.payment-option input {
    width: auto;
    min-height: auto;
    margin-top: 4px;
}

.payment-option small {
    display: block;
    margin-top: 3px;
}

.check-option {
    grid-template-columns: auto 1fr;
    align-items: center;
    min-height: 44px;
    padding-top: 21px;
}

.check-option input {
    width: auto;
    min-height: auto;
}

.muted-copy {
    max-width: 78ch;
    color: var(--muted);
}

.reservation-total {
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: var(--surface-soft);
}

.reservation-total strong {
    font-size: 1.5rem;
}

.reservation-total small {
    color: var(--muted);
}

.reservation-booking {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.reservation-flow {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.booking-step {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.step-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.step-heading h2,
.step-heading p {
    margin: 0;
}

.step-index {
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--brand-deep);
    color: #fff;
    font-weight: 900;
}

.reservation-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
}

.reservation-option-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    min-height: 152px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: var(--surface-soft);
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease, transform .16s ease;
}

.reservation-option-card:hover {
    transform: translateY(-1px);
    border-color: var(--brand);
    box-shadow: var(--shadow-subtle);
}

.reservation-option-card.is-selected {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(23, 116, 95, .12);
}

.reservation-option-card.is-unavailable {
    opacity: .72;
}

.reservation-option-card input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
    accent-color: var(--brand);
}

.option-card-body,
.option-card-top,
.option-facts,
.option-tags {
    display: flex;
}

.option-card-body {
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.option-card-top {
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.option-card-top strong {
    line-height: 1.2;
}

.option-card-top em {
    color: var(--brand-deep);
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.option-availability {
    width: max-content;
    max-width: 100%;
}

.option-facts,
.option-tags {
    flex-wrap: wrap;
    gap: 6px;
}

.option-facts small,
.option-tags small {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 8px;
    background: #fff;
    color: var(--muted);
    font-weight: 800;
}

.option-tags small {
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.reservation-field-strip {
    display: grid;
    gap: 14px;
}

.reservation-field-strip.is-accommodation {
    grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) minmax(128px, .62fr) minmax(128px, .62fr);
}

.reservation-field-strip.is-experience {
    grid-template-columns: minmax(170px, 1fr) minmax(150px, .85fr) minmax(128px, .62fr);
}

.reservation-field-strip label {
    min-width: 0;
}

.reservation-field-strip input,
.reservation-field-strip select,
.reservation-contact-grid input,
.reservation-contact-grid select {
    min-height: 54px;
    font-weight: 850;
}

.reservation-field-strip label > small {
    min-height: 2.4em;
    line-height: 1.2;
}

.reservation-contact-grid {
    align-items: start;
}

.reservation-contact-grid label {
    min-width: 0;
}

.reservation-contact-grid label > small {
    min-height: 1.25em;
    line-height: 1.2;
}

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

.reservation-sidebar {
    position: sticky;
    top: 18px;
}

.reservation-summary-card {
    display: grid;
    gap: 14px;
}

.reservation-summary-card h2,
.reservation-summary-card p {
    margin: 0;
}

.summary-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    background-color: var(--surface-strong);
    background-position: center;
    background-size: cover;
}

.summary-mini {
    display: grid;
    gap: 8px;
    margin: 0;
}

.summary-mini div {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
}

.summary-mini dt {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.summary-mini dd {
    margin: 0;
    font-weight: 900;
}

.price-lines {
    display: grid;
    gap: 8px;
}

.price-lines div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price-lines span {
    color: var(--muted);
}

.price-lines strong {
    text-align: right;
}

.price-lines .price-total {
    border-top: 1px solid var(--line);
    margin-top: 4px;
    padding-top: 10px;
}

.price-total strong {
    color: var(--brand-deep);
    font-size: 1.35rem;
}

.reservation-policy-note {
    display: grid;
    gap: 5px;
    border: 1px solid var(--amber);
    border-radius: var(--radius);
    padding: 12px;
    background: var(--amber-soft);
    color: #5f3f08;
}

.reservation-policy-note small {
    color: #6f4b0b;
}

.host-apply-layout,
.audit-layout,
.reputation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
    gap: 16px;
    align-items: start;
}

.host-apply-flow {
    display: grid;
    gap: 16px;
}

.host-apply-aside {
    position: sticky;
    top: 18px;
}

.host-apply-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
    gap: 18px;
    align-items: end;
}

.host-apply-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.host-apply-steps li {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--radius);
    padding: 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 900;
}

.host-apply-steps span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #fff;
    color: var(--brand-deep);
}

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

.host-type-card {
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: var(--surface-soft);
}

.host-type-card input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
    accent-color: var(--brand);
}

.host-type-card small,
.host-review-card small {
    display: block;
    margin-top: 3px;
}

.host-photo-drop {
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    padding: 16px;
    background: var(--surface-soft);
}

.review-checklist {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: var(--surface-soft);
}

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

.audit-action-list,
.reputation-breakdown {
    display: grid;
    gap: 10px;
}

.audit-action-list span,
.reputation-breakdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    background: var(--surface-soft);
}

.reputation-breakdown a:hover {
    border-color: var(--brand);
}

.reputation-breakdown span {
    display: grid;
    gap: 2px;
}

.reputation-breakdown em {
    color: var(--brand-deep);
    font-style: normal;
    font-weight: 900;
}

.moderation-guide h2 {
    margin-top: 0;
}

.public-rating-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 14px;
    padding: 14px;
    background: #fff;
}

.public-rating-strip strong {
    color: var(--brand-deep);
    font-size: 2rem;
    line-height: 1;
}

.public-rating-strip span {
    display: grid;
    gap: 2px;
    color: var(--amber);
    font-weight: 900;
}

.public-rating-strip small {
    color: var(--muted);
    font-weight: 700;
}

.reservation-confirmation {
    display: grid;
    gap: 14px;
    text-align: left;
}

.reservation-confirmation h1 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 4rem);
}

.reservation-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.reservation-summary div {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: var(--surface-soft);
}

.reservation-summary dt {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 900;
}

.reservation-summary dd {
    margin: 2px 0 0;
    font-weight: 800;
}

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

.payment-next-step {
    display: grid;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    background: var(--surface-soft);
}

.payment-next-step h2,
.payment-next-step p {
    margin: 0;
}

.confirmation-page {
    max-width: 1180px;
    display: grid;
    gap: 18px;
    padding-bottom: 34px;
}

.confirmation-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
    gap: 18px;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(23, 116, 95, .94), rgba(15, 75, 64, .88)),
        url("../img/hero-air-rumi.png") center / cover;
    color: #fff;
}

.confirmation-hero h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    letter-spacing: 0;
    line-height: 1.02;
}

.confirmation-hero p {
    max-width: 66ch;
    color: rgba(255, 255, 255, .9);
}

.confirmation-hero .eyebrow {
    color: #ffd6ad;
}

.confirmation-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.confirmation-badges .badge {
    min-height: 32px;
    padding-inline: 12px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.confirmation-badges .badge.ok {
    background: #e7f5ed;
    color: var(--success);
}

.confirmation-badges .badge.danger {
    background: #fff0ee;
    color: var(--danger);
}

.confirmation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    gap: 16px;
    align-items: start;
}

.confirmation-payment {
    position: sticky;
    top: 18px;
    gap: 14px;
    background: #fff;
}

.payment-amount-box {
    display: grid;
    gap: 3px;
    border: 1px solid rgba(23, 116, 95, .24);
    border-radius: var(--radius);
    padding: 14px;
    background: linear-gradient(135deg, var(--brand-soft), #fff);
}

.payment-amount-box span,
.payment-amount-box small {
    color: var(--brand-deep);
    font-weight: 800;
}

.payment-amount-box strong {
    color: var(--brand-deep);
    font-size: 1.65rem;
    line-height: 1;
}

.evidence-form {
    display: grid;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.evidence-form input[type="file"] {
    padding: 10px;
    border-style: dashed;
    background: var(--surface-soft);
}

.confirmation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}

.calendar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
    gap: 18px;
    align-items: start;
}

.calendar-preview {
    position: sticky;
    top: 18px;
}

.compact-table table {
    min-width: 620px;
}

.calendar-edit-row td {
    padding-top: 0;
    background: #fbfcfb;
}

.inline-calendar-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr)) auto;
    gap: 8px;
    align-items: end;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.inline-calendar-form label {
    display: grid;
    gap: 4px;
}

.inline-calendar-form span {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 900;
}

.inline-calendar-form input,
.inline-calendar-form select {
    min-height: 34px;
    padding: 7px 9px;
    font-size: .88rem;
}

.auth-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(244, 248, 245, .92)),
        url("../img/hero-air-rumi.png");
    background-size: cover;
    background-position: center;
}

.auth-panel {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
    gap: 18px;
    align-items: stretch;
}

.auth-copy {
    border-radius: var(--radius);
    padding: 36px;
    background: #123f36;
    color: #fff;
    display: grid;
    align-content: center;
    gap: 18px;
}

.auth-copy h1 {
    margin: 0;
    max-width: 12ch;
    font-size: 2.5rem;
    line-height: 1;
}

.auth-copy p {
    max-width: 36ch;
    margin: 0;
    color: rgba(255, 255, 255, .78);
}

.form-card {
    display: grid;
    gap: 15px;
    align-content: center;
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: center;
    color: var(--brand-deep);
    font-weight: 900;
}

.auth-check {
    grid-template-columns: auto 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    background: var(--surface-soft);
}

.auth-check .field-error {
    grid-column: 2;
}

.admin-body {
    background: var(--bg);
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

.sidebar {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 22px;
    background: linear-gradient(180deg, #123f36 0%, #0e302b 100%);
    color: #fff;
}

.side-nav {
    display: grid;
    align-content: start;
    gap: 8px;
    margin-top: 28px;
}

.side-nav a {
    min-height: 46px;
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: rgba(255, 255, 255, .8);
}

.side-nav a.active,
.side-nav a:hover {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .11);
    color: #fff;
}

.nav-token {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .12);
    font-size: .72rem;
    font-weight: 900;
}

.side-nav a.active .nav-token {
    background: #fff;
    color: var(--brand-deep);
}

.sidebar-meta {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    padding: 14px;
    background: rgba(255, 255, 255, .08);
}

.sidebar-meta span {
    color: rgba(255, 255, 255, .62);
    font-size: .78rem;
}

.admin-main {
    min-width: 0;
    display: grid;
    grid-template-rows: auto auto 1fr;
}

.topbar {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
}

.topbar h1,
.topbar p {
    margin: 0;
}

.topbar h1 {
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.15;
}

.topbar-user {
    display: flex;
    gap: 12px;
    align-items: center;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px 12px;
    background: var(--surface-soft);
    font-weight: 800;
}

.mobile-nav {
    display: none;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.mobile-nav a {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px 11px;
    color: var(--muted);
    font-weight: 800;
}

.mobile-nav a.active {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.page {
    width: min(1440px, 100%);
    padding: 24px 28px 36px;
    display: grid;
    gap: 18px;
    align-content: start;
}

.eyebrow {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .74rem;
    color: var(--clay);
    font-weight: 900;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-subtle);
}

.card.confirmation-hero {
    background:
        linear-gradient(135deg, rgba(23, 116, 95, .94), rgba(15, 75, 64, .88)),
        url("../img/hero-air-rumi.png") center / cover;
    color: #fff;
}

.card.narrow {
    max-width: 760px;
}

.card.wide {
    max-width: 1120px;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    min-height: 142px;
    border: 1px solid rgba(23, 116, 95, .18);
    border-radius: var(--radius);
    padding: 24px;
    background:
        linear-gradient(90deg, rgba(18, 63, 54, .96), rgba(30, 105, 88, .86)),
        url("../img/hero-air-rumi.png");
    background-size: cover;
    background-position: center;
    color: #fff;
    box-shadow: var(--shadow);
}

.ops-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
    gap: 18px;
    align-items: stretch;
    border: 1px solid rgba(23, 116, 95, .18);
    border-radius: var(--radius);
    padding: 24px;
    background:
        linear-gradient(90deg, rgba(18, 63, 54, .96), rgba(45, 98, 139, .72)),
        url("../img/hero-air-rumi.png");
    background-size: cover;
    background-position: center;
    color: #fff;
    box-shadow: var(--shadow);
}

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

.timeline-list article {
    display: grid;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: var(--surface-soft);
}

.timeline-list form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.review-grid,
.maintenance-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.review-card,
.maintenance-calendar article {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.review-card strong {
    color: var(--brand-deep);
    font-size: 1.2rem;
}

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

.maintenance-calendar article > span:first-child {
    color: var(--clay);
    font-size: .82rem;
    font-weight: 900;
}

.ops-hero h2,
.ops-hero p {
    margin: 0;
}

.ops-hero h2 {
    max-width: 14ch;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1;
}

.ops-hero p:not(.eyebrow) {
    max-width: 52ch;
    margin-top: 12px;
    color: rgba(255, 255, 255, .82);
}

.qr-scan-panel {
    display: grid;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: var(--radius);
    padding: 16px;
    background: rgba(255, 255, 255, .94);
    color: var(--text);
}

.dashboard-hero h2 {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3.1rem);
    line-height: .98;
}

.dashboard-hero p:not(.eyebrow) {
    max-width: 64ch;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .78);
}

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

.quick-actions .card {
    display: grid;
    gap: 4px;
    min-height: 88px;
    align-content: center;
}

.quick-actions strong {
    font-size: 1.05rem;
}

.quick-actions span {
    color: var(--muted);
}

.hero-status {
    min-width: 148px;
    display: grid;
    gap: 4px;
    justify-items: start;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--radius);
    padding: 14px;
    background: rgba(255, 255, 255, .11);
}

.hero-status span {
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
}

.hero-status strong {
    font-size: 1.35rem;
}

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

.stat-card {
    min-height: 118px;
    display: grid;
    gap: 8px;
    align-content: space-between;
    border-top: 4px solid var(--brand);
}

.stat-card:nth-child(2) {
    border-top-color: var(--clay);
}

.stat-card:nth-child(3) {
    border-top-color: var(--blue);
}

.stat-card:nth-child(4) {
    border-top-color: var(--violet);
}

.stat-card span {
    color: var(--muted);
    font-weight: 800;
}

.stat-card strong {
    font-size: 2.2rem;
    line-height: 1;
}

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

.module-tile {
    min-height: 104px;
    display: grid;
    align-content: space-between;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.module-tile span {
    width: max-content;
    max-width: 100%;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: .76rem;
    font-weight: 900;
}

.module-tile strong {
    font-size: 1.05rem;
}

.module-tile.teal span {
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.module-tile.clay span {
    background: var(--clay-soft);
    color: var(--clay);
}

.module-tile.blue span {
    background: var(--blue-soft);
    color: var(--blue);
}

.module-tile.slate span {
    background: var(--surface-strong);
    color: var(--muted);
}

.module-tile.amber span {
    background: var(--amber-soft);
    color: var(--amber);
}

.module-tile.violet span {
    background: var(--violet-soft);
    color: var(--violet);
}

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

.section-head h2 {
    margin: 0;
    font-size: 1.35rem;
}

.filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-bottom: 16px;
}

.stack-form {
    display: grid;
    gap: 14px;
}

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

.form-grid.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

label {
    display: grid;
    gap: 7px;
    color: var(--text);
    font-weight: 800;
}

label small {
    color: var(--muted);
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    padding: 11px 12px;
}

textarea {
    resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
    border-color: var(--line-strong);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand);
    outline: 3px solid rgba(23, 116, 95, .14);
}

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

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

fieldset {
    margin: 0;
}

legend {
    padding: 0 6px;
    color: var(--muted);
    font-weight: 900;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: var(--surface-soft);
}

.check-item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 9px;
    border-radius: 7px;
    padding: 6px;
    font-weight: 700;
}

.check-item:hover {
    background: #fff;
}

.check-item input {
    width: auto;
    min-height: auto;
    margin-top: 4px;
}

.permission-fieldset {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: var(--surface-soft);
}

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

.media-upload {
    display: grid;
    grid-template-columns: minmax(180px, .9fr) minmax(120px, .4fr) minmax(180px, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
}

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

.media-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
}

.media-grid figure {
    display: grid;
    gap: 8px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    background: #fff;
}

.media-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    background: var(--surface-strong);
}

.media-grid figcaption {
    display: grid;
    gap: 3px;
    color: var(--muted);
    font-size: .82rem;
    overflow-wrap: anywhere;
}

.danger-zone {
    margin-top: 14px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.permission-group {
    border: 1px solid #e2e8e4;
    border-radius: var(--radius);
    padding: 14px;
    background: #fff;
    display: grid;
    gap: 10px;
}

.permission-group h3 {
    margin: 0;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 12px 13px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--surface-soft);
    color: var(--muted);
    font-size: .86rem;
    font-weight: 900;
}

tbody tr:hover {
    background: #fbfcfb;
}

tr:last-child td {
    border-bottom: 0;
}

.actions-col {
    width: 210px;
}

.row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.inline-moderation {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.inline-moderation input {
    width: min(180px, 100%);
    min-height: 34px;
    padding: 7px 9px;
    font-size: .88rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: .78rem;
    font-weight: 900;
}

.badge.ok {
    color: var(--success);
    background: var(--success-soft);
}

.badge.muted {
    color: var(--muted);
    background: var(--surface-strong);
}

.badge.danger {
    color: var(--danger);
    background: var(--danger-soft);
}

.muted-text {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: .82rem;
}

.settings-panel {
    display: grid;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: var(--surface-soft);
}

.alert {
    border-radius: var(--radius);
    padding: 12px 14px;
    border: 1px solid transparent;
    font-weight: 800;
}

.alert.success {
    background: var(--success-soft);
    border-color: #b9dfc8;
    color: var(--success);
}

.alert.warning {
    background: var(--warning-soft);
    border-color: #f1d185;
    color: var(--warning);
}

.empty-state {
    text-align: center;
    color: var(--muted);
    padding: 28px;
}

.metadata {
    max-width: 360px;
    max-height: 110px;
    overflow: auto;
    white-space: pre-wrap;
    margin: 0;
    font-size: .82rem;
}

.error-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.public-footer {
    width: min(1280px, calc(100% - 32px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin: 34px auto 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 36px;
    color: var(--muted);
}

.public-footer .brand small {
    color: var(--muted);
}

.public-footer .brand-mark {
    background: var(--brand-soft);
}

.public-footer p {
    max-width: 48ch;
    margin: 12px 0 0;
}

.public-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.public-footer a {
    font-weight: 900;
}

.public-footer nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 12px;
}

.public-footer nav a:hover {
    border-color: var(--line);
    background: #fff;
    color: var(--brand-deep);
}

.footer-cta {
    border-color: rgba(23, 116, 95, .22) !important;
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.error-card {
    display: grid;
    gap: 10px;
}

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

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

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

@media (max-width: 920px) {
    .admin-shell,
    .auth-panel,
    .guided-layout,
    .market-filters,
    .media-picker,
    .quick-actions,
    .ops-hero,
    .public-section,
    .public-search,
    .story-strip,
    .media-upload,
    .form-grid,
    .form-grid.three-up,
    .detail-layout,
    .detail-hero,
    .availability-card-grid,
    .availability-card-body,
    .reservation-head,
    .reservation-form,
    .reservation-booking,
    .reservation-field-strip,
    .payment-choice-grid,
    .booking-trust-strip,
    .host-apply-layout,
    .host-apply-hero,
    .host-type-grid,
    .audit-layout,
    .audit-filters,
    .reputation-layout,
    .calendar-layout,
    .inline-calendar-form,
    .payment-account-grid,
    .admin-detail-grid,
    .confirmation-hero,
    .confirmation-layout,
    .permission-groups {
        grid-template-columns: 1fr;
    }

    .public-search {
        border-radius: var(--radius);
        gap: 10px;
    }

    .hero .public-nav {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .home-mode-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .public-search label {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 4px 8px 10px;
    }

    .public-search label:last-of-type {
        border-bottom: 0;
    }

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

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

    .booking-card {
        position: static;
    }

    .listing-readiness {
        position: static;
        order: -1;
    }

    .host-editor-hero {
        align-items: stretch;
        flex-direction: column;
        padding: 18px;
    }

    .host-editor-hero h2 {
        font-size: 2rem;
    }

    .host-editor-hero .btn {
        width: 100%;
        justify-content: center;
    }

    .host-guided-form .readiness-list,
    .host-guided-form .media-picker,
    .host-guided-form .form-grid,
    .host-guided-form .form-grid.three-up,
    .rate-mode-choice,
    .host-guided-form .host-room-helper {
        grid-template-columns: 1fr;
    }

    .host-guided-form .guided-step {
        padding: 18px;
    }

    .host-guided-form .host-room-helper code {
        max-width: none;
    }

    .host-wizard-actions {
        grid-template-columns: 1fr;
    }

    .host-wizard-actions .btn,
    .host-wizard-progress {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .calendar-preview {
        position: static;
    }

    .confirmation-payment {
        position: static;
    }

    .confirmation-badges {
        justify-content: flex-start;
    }

    .story-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: 190px;
    }

    .story-gallery img:first-child {
        grid-row: auto;
    }

    .reservation-section:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
        position: static;
    }

    .reservation-sidebar {
        position: static;
    }

    .host-apply-aside {
        position: static;
    }

    .reservation-pickers label:first-child {
        grid-column: auto;
    }

    .sidebar {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 16px;
    }

    .topbar-user {
        width: 100%;
        justify-content: space-between;
    }

    .page {
        padding: 18px 16px 28px;
    }
}

@media (max-width: 680px) {
    .hero {
        min-height: auto;
        padding: 18px;
    }

    .hero-copy {
        text-align: left;
    }

    .public-nav,
    .section-head,
    .filters,
    .public-footer,
    .dashboard-hero {
        grid-template-columns: 1fr;
        display: grid;
    }

    .stats-grid,
    .module-grid,
    .listing-grid,
    .availability-card-grid,
    .availability-card-body,
    .booking-trust-strip,
    .media-grid,
    .media-grid.compact,
    .detail-facts,
    .reservation-steps,
    .reservation-summary,
    .check-grid {
        grid-template-columns: 1fr;
    }

    .auth-copy,
    .card,
    .dashboard-hero {
        padding: 18px;
    }

    .hero-status {
        width: 100%;
    }

    .public-actions,
    .public-footer nav {
        justify-content: stretch;
    }

    .hero .public-nav {
        border-radius: var(--radius);
    }

    .story-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 170px);
    }

    .form-actions,
    .row-actions {
        justify-content: stretch;
    }

    .form-actions .btn,
    .row-actions .btn,
    .row-actions form {
        width: 100%;
    }
}

@media (max-width: 760px) {
    body {
        overflow-wrap: normal;
    }

    .btn,
    .search-button,
    input,
    select,
    textarea {
        min-height: 44px;
        font-size: 1rem;
    }

    .hero {
        padding: 16px 16px 20px;
        gap: 14px;
    }

    .hero .public-nav,
    .public-nav.compact {
        width: 100%;
        gap: 12px;
    }

    .brand {
        gap: 10px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .hero .public-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hero .public-actions .btn {
        min-width: 0;
        width: 100%;
        min-height: 42px;
        padding: 8px 10px;
        white-space: normal;
        text-align: center;
    }

    .hero .public-actions .btn:first-child {
        grid-column: 1 / -1;
    }

    .public-nav.compact .btn {
        width: 100%;
    }

    .home-mode-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        overflow: visible;
        padding-bottom: 0;
    }

    .home-mode-nav a {
        min-width: 0;
        min-height: 50px;
        padding: 7px 4px;
        text-align: center;
        font-size: .9rem;
    }

    .home-mode-nav a span {
        font-size: .66rem;
    }

    .hero-content {
        justify-items: stretch;
        gap: 14px;
        padding: 0;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-content h1 {
        max-width: 15ch;
        font-size: 1.8rem;
        line-height: 1.08;
    }

    .hero-content p:not(.eyebrow) {
        font-size: .98rem;
    }

    .home-discovery {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .home-discovery::-webkit-scrollbar {
        display: none;
    }

    .public-search {
        width: 100%;
        border-radius: 14px;
        padding: 10px;
        box-shadow: 0 12px 26px rgba(23, 35, 30, .08);
    }

    .public-search label {
        min-height: 72px;
        padding: 7px 8px 12px;
    }

    .public-search input {
        min-height: 34px;
        font-weight: 800;
    }

    .search-button {
        width: 100%;
        min-height: 52px;
    }

    .catalog-header {
        padding: 16px;
    }

    .catalog-header .public-search.floating {
        margin-top: 14px;
    }

    .catalog-page,
    .detail-page,
    .reservation-page,
    .plain-page,
    .host-apply-page,
    .catalog-band,
    .story-strip,
    .public-tabs,
    .public-footer {
        width: calc(100% - 24px);
    }

    .public-footer {
        grid-template-columns: 1fr;
        align-items: start;
        margin-top: 26px;
        padding: 22px 0 28px;
        gap: 16px;
    }

    .public-footer .brand {
        align-items: start;
    }

    .public-footer p {
        max-width: none;
        margin-top: 10px;
        font-size: .95rem;
    }

    .public-footer nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        justify-content: stretch;
    }

    .public-footer nav a {
        justify-content: center;
        min-width: 0;
        min-height: 44px;
        border-color: var(--line);
        border-radius: var(--radius);
        background: #fff;
        padding: 9px 10px;
        text-align: center;
    }

    .public-footer .footer-cta {
        grid-column: 1 / -1;
    }

    .public-tabs {
        justify-content: flex-start;
        margin-bottom: 18px;
        padding: 8px 2px 10px;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .public-tabs::-webkit-scrollbar,
    .mobile-nav::-webkit-scrollbar {
        display: none;
    }

    .public-tabs a {
        scroll-snap-align: start;
        min-height: 40px;
        padding: 8px 12px;
    }

    .catalog-section-head {
        align-items: start;
    }

    .catalog-section-head .btn {
        min-width: 128px;
        padding-inline: 10px;
    }

    .listing-grid {
        gap: 18px;
    }

    .listing-image {
        aspect-ratio: 4 / 3;
        background-size: auto 148%;
        background-position: center 78%;
    }

    .listing-body {
        gap: 4px;
    }

    .listing-body strong {
        min-height: 0;
        font-size: 1.02rem;
    }

    .listing-body span:not(.listing-meta),
    .listing-meta {
        font-size: .94rem;
    }

    .detail-hero {
        gap: 12px;
        margin: 12px 0 16px;
    }

    .detail-hero > div {
        order: 2;
        padding: 18px;
        background: #fff;
        color: var(--text);
        box-shadow: var(--shadow-subtle);
        border: 1px solid var(--line);
    }

    .detail-hero > div .eyebrow {
        color: var(--clay);
    }

    .detail-hero h1 {
        max-width: 17ch;
        font-size: 1.78rem;
        line-height: 1.08;
    }

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

    .detail-hero .btn.ghost.inverse {
        background: #fff;
        border-color: var(--line);
        color: var(--text);
    }

    .detail-rating {
        background: var(--brand-soft);
        color: var(--brand-deep);
    }

    .detail-gallery {
        min-height: 0;
    }

    .detail-image {
        order: 1;
        min-height: 220px;
        background-size: auto 148%;
        background-position: center bottom;
    }

    .detail-gallery-info {
        grid-template-columns: 1fr;
    }

    .detail-main,
    .booking-card,
    .reservation-section {
        gap: 12px;
    }

    .availability-panel {
        margin: 16px 0;
    }

    .availability-card-head {
        display: grid;
    }

    .availability-table {
        border: 0;
        background: transparent;
    }

    .availability-table table,
    .availability-table tbody,
    .availability-table tr,
    .availability-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .availability-table thead {
        display: none;
    }

    .availability-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 14px;
        background: #fff;
        box-shadow: var(--shadow-subtle);
    }

    .availability-table td {
        border-bottom: 1px solid var(--line);
        padding: 10px 0;
    }

    .availability-table td:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .availability-table td::before {
        content: "";
        display: block;
        margin-bottom: 4px;
        color: var(--muted);
        font-size: .72rem;
        font-weight: 900;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .availability-table td:nth-child(1)::before {
        content: "Tipo";
    }

    .availability-table td:nth-child(2)::before {
        content: "Personas";
    }

    .availability-table td:nth-child(3)::before {
        content: "Disponible";
    }

    .availability-table td:nth-child(4)::before {
        content: "Precio";
    }

    .availability-table td:nth-child(5)::before {
        content: "Reglas e incluye";
    }

    .availability-table td:nth-child(6)::before {
        content: "Reservar";
    }

    .availability-table .variant-subrow td:first-child {
        border-left: 0;
        padding-left: 0;
    }

    .feature-list.compact {
        font-size: .92rem;
    }

    .reservation-head {
        padding: 18px;
        gap: 14px;
        background-position: center bottom;
    }

    .reservation-head h1 {
        font-size: 1.72rem;
    }

    .confirmation-page {
        gap: 14px;
    }

    .confirmation-hero {
        padding: 18px;
        gap: 14px;
    }

    .confirmation-hero h1 {
        font-size: 2rem;
        overflow-wrap: anywhere;
    }

    .confirmation-hero p {
        font-size: .98rem;
    }

    .confirmation-badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .confirmation-badges .badge {
        justify-content: center;
        min-width: 0;
        text-align: center;
    }

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

    .reservation-price {
        width: 100%;
        min-width: 0;
    }

    .booking-step {
        padding: 14px;
    }

    .reservation-option-grid {
        grid-template-columns: 1fr;
    }

    .reservation-option-card {
        min-height: auto;
        padding: 12px;
    }

    .host-apply-steps {
        grid-template-columns: 1fr;
    }

    .audit-filters .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .public-rating-strip {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .option-card-top {
        flex-direction: column;
        gap: 4px;
    }

    .summary-mini div {
        grid-template-columns: 1fr;
    }

    .price-lines div {
        flex-wrap: wrap;
    }

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

    .reservation-steps li {
        min-height: 54px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 6px;
        padding: 10px;
        text-align: left;
        font-size: .9rem;
        line-height: 1.1;
        overflow-wrap: normal;
        word-break: normal;
    }

    .reservation-steps span {
        width: 28px;
        height: 28px;
    }

    .payment-option {
        align-items: start;
    }

    .admin-main {
        min-width: 0;
    }

    .topbar {
        position: sticky;
        top: 0;
        z-index: 8;
        gap: 12px;
        padding: 14px 12px;
    }

    .topbar h1 {
        font-size: 1.25rem;
    }

    .topbar-user {
        gap: 8px;
    }

    .user-chip {
        min-width: 0;
        max-width: 58vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-nav {
        position: sticky;
        top: 93px;
        z-index: 7;
        padding: 9px 12px;
        scrollbar-width: none;
    }

    .page {
        padding: 14px 12px 26px;
    }

    .card,
    .dashboard-hero,
    .ops-hero,
    .host-apply-head {
        padding: 16px;
    }

    .dashboard-hero h2,
    .ops-hero h2,
    .host-apply-head h1 {
        max-width: 18ch;
        font-size: 1.85rem;
        line-height: 1.05;
    }

    .timeline-list form,
    .inline-moderation {
        grid-template-columns: 1fr;
    }

    .table-wrap {
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }
}

/* Host onboarding, publication review and visual-content management. */
.host-onboarding-page,
.host-status-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 56px;
}

.host-onboarding-page {
    display: grid;
    gap: 22px;
}

.host-onboarding-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
    gap: 32px;
    align-items: end;
    border-radius: 8px;
    padding: 34px;
    background:
        linear-gradient(90deg, rgba(6, 54, 45, .96), rgba(16, 103, 82, .86)),
        var(--home-hero-image, url("../img/hero-air-rumi.png")) center / cover;
    color: #fff;
}

.host-onboarding-intro h1,
.host-onboarding-intro p {
    margin: 0;
}

.host-onboarding-intro h1 {
    margin-top: 4px;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.02;
}

.host-onboarding-intro > div:first-child > p:last-child {
    max-width: 66ch;
    margin-top: 12px;
    color: rgba(255, 255, 255, .86);
}

.host-onboarding-path {
    display: grid;
    gap: 10px;
}

.host-onboarding-path span {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 6px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, .16);
    font-weight: 800;
}

.host-onboarding-path strong {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}

.host-onboarding-path .is-active {
    background: #fff;
    color: var(--brand-deep);
}

.host-onboarding-path .is-active strong {
    background: var(--brand);
    color: #fff;
}

.host-onboarding-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.host-onboarding-card,
.host-onboarding-submit,
.host-application-existing {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.host-onboarding-card {
    display: grid;
    gap: 18px;
    padding: 26px;
}

.host-onboarding-card-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.host-onboarding-card-head > span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-deep);
    color: #fff;
    font-weight: 900;
}

.host-onboarding-card-head h2,
.host-onboarding-card-head p {
    margin: 0;
}

.host-onboarding-card-head p:last-child {
    margin-top: 4px;
    color: var(--muted);
}

.account-note,
.host-onboarding-submit {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: var(--brand-soft);
}

.account-note {
    justify-content: flex-start;
    border: 1px solid rgba(23, 116, 95, .18);
    border-radius: 6px;
}

.account-note span,
.host-onboarding-submit span {
    color: var(--muted);
}

.host-onboarding-submit > div {
    display: grid;
    gap: 3px;
    max-width: 70ch;
}

.host-onboarding-submit .btn {
    flex: 0 0 auto;
}

.host-terms a {
    color: var(--brand-deep);
    text-decoration: underline;
}

.host-application-existing {
    max-width: 760px;
    padding: 28px;
}

.host-status-page {
    padding-top: 24px;
}

.host-status-card {
    display: grid;
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
    padding: 30px;
}

.host-status-heading {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.host-status-heading h1,
.host-status-heading p {
    margin: 0;
}

.status-orb {
    width: 54px;
    height: 54px;
    border: 12px solid var(--warning-soft);
    border-radius: 50%;
    background: var(--warning);
}

.status-orb.approved {
    border-color: var(--success-soft);
    background: var(--success);
}

.status-orb.rejected {
    border-color: #ffe3df;
    background: var(--danger);
}

.host-status-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.host-status-timeline span {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 8px 10px;
    color: var(--muted);
    font-weight: 800;
}

.host-status-timeline strong {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface-soft);
}

.host-status-timeline .done,
.host-status-timeline .current {
    border-color: rgba(23, 116, 95, .3);
    color: var(--brand-deep);
}

.host-status-timeline .done strong {
    background: var(--brand);
    color: #fff;
}

.host-status-summary,
.application-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--line);
}

.host-status-summary div,
.application-data-grid div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 14px;
    background: #fff;
}

.host-status-summary dt,
.application-data-grid dt {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.host-status-summary dd,
.application-data-grid dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-weight: 800;
}

.host-review-note,
.application-message,
.application-account-state,
.admin-offer-note {
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    padding: 13px 15px;
    background: #fff8ef;
}

.host-review-note p,
.application-message p {
    margin: 5px 0 0;
}

.application-review-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}

.application-profile-card,
.application-decision-card {
    display: grid;
    gap: 20px;
}

.application-decision-card {
    position: sticky;
    top: 18px;
}

.application-profile-head {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.profile-monogram {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-weight: 900;
}

.application-profile-head h3,
.application-profile-head p {
    margin: 0;
}

.application-message > span,
.application-account-state strong {
    display: block;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.application-account-state {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    border-left-color: var(--brand);
    background: var(--brand-soft);
}

.review-points {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.decision-reject {
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.application-list,
.admin-offer-list {
    display: grid;
    gap: 12px;
}

.application-list-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.application-list-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.application-list-copy span,
.application-list-copy small {
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-offer-row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 250px;
    gap: 18px;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.admin-offer-row.needs-review {
    border-color: rgba(190, 95, 24, .35);
}

.admin-offer-row > img {
    width: 100%;
    height: 100%;
    min-height: 150px;
    border-radius: 6px;
    object-fit: cover;
}

.admin-offer-copy {
    display: grid;
    align-content: center;
    gap: 7px;
    min-width: 0;
}

.admin-offer-copy h3,
.admin-offer-copy p {
    margin: 0;
}

.admin-offer-copy p,
.admin-offer-copy small {
    color: var(--muted);
}

.admin-offer-title {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-offer-actions {
    display: grid;
    align-content: center;
    gap: 10px;
    border-left: 1px solid var(--line);
    padding-left: 18px;
}

.review-change-box {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 9px 10px;
}

.review-change-box summary {
    cursor: pointer;
    font-weight: 800;
}

.review-change-box form {
    margin-top: 10px;
}

.listing-wizard-form .guided-layout {
    grid-template-columns: minmax(0, 1fr);
}

.listing-wizard-form .listing-readiness {
    position: static;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.listing-wizard-form .readiness-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-wizard-form .guided-step {
    padding: 24px;
}

.listing-wizard-form [hidden] {
    display: none !important;
}

.listing-wizard-form .host-wizard-actions {
    position: sticky;
    z-index: 20;
    bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.listing-gallery-upload {
    display: grid;
    gap: 14px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.listing-gallery-manager {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.listing-gallery-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-soft);
}

.listing-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.listing-gallery-item span {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 8px;
    font-size: .8rem;
}

.appearance-page {
    display: grid;
    gap: 18px;
}

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

.appearance-slot {
    display: grid;
    grid-template-rows: 190px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.appearance-slot.is-wide {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
    grid-template-rows: 330px;
}

.appearance-slot > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appearance-slot > div {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 16px;
}

.appearance-slot h3,
.appearance-slot p {
    margin: 0;
}

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

.appearance-slot form {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.file-button {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 42px;
    overflow: hidden;
    border: 1px dashed var(--brand);
    border-radius: 6px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    cursor: pointer;
    font-weight: 800;
}

.file-button input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.media-library-section {
    margin-top: 20px;
}

.media-library-upload {
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px;
}

.media-library-upload summary {
    cursor: pointer;
    font-weight: 800;
}

.side-nav.grouped {
    gap: 2px;
}

.side-nav-heading {
    display: block;
    margin: 16px 10px 5px;
    color: rgba(255, 255, 255, .5);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.side-nav-heading:first-child {
    margin-top: 0;
}

.detail-photo-collage {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 5px;
    min-height: 330px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.detail-photo-collage .detail-image-main {
    grid-row: 1 / -1;
}

.detail-photo-collage .detail-image {
    min-height: 0;
    background-position: center;
    background-size: cover;
}

.home-hero-photo {
    min-height: 610px;
    position: relative;
    align-content: space-between;
    isolation: isolate;
    border-bottom: 0;
    background:
        linear-gradient(90deg, rgba(3, 39, 32, .76), rgba(3, 39, 32, .24) 62%, rgba(3, 39, 32, .1)),
        var(--home-hero-image) center / cover no-repeat;
    color: #fff;
}

.home-hero-photo .public-nav {
    border-radius: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .96);
    color: var(--text);
    box-shadow: var(--shadow-subtle);
}

.home-hero-photo .hero-content {
    align-self: end;
    justify-items: start;
    padding-bottom: 32px;
}

.home-hero-photo .hero-copy {
    max-width: 680px;
    text-align: left;
}

.home-hero-photo .hero-content h1 {
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    color: #fff;
}

.home-hero-photo .hero-content p:not(.eyebrow) {
    color: rgba(255, 255, 255, .9);
}

.home-hero-photo .home-discovery a {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .94);
}

@media (max-width: 1020px) {
    .host-onboarding-intro,
    .application-review-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .application-decision-card {
        position: static;
    }

    .admin-offer-row {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .admin-offer-actions {
        grid-column: 1 / -1;
        border-top: 1px solid var(--line);
        border-left: 0;
        padding-top: 14px;
        padding-left: 0;
    }

    .appearance-slot.is-wide {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 280px auto;
    }
}

@media (max-width: 760px) {
    .host-onboarding-page,
    .host-status-page {
        width: calc(100% - 24px);
    }

    .host-onboarding-intro {
        gap: 22px;
        padding: 22px 18px;
    }

    .host-onboarding-card,
    .host-status-card {
        padding: 18px;
    }

    .host-onboarding-submit,
    .account-note,
    .application-account-state {
        align-items: stretch;
        flex-direction: column;
    }

    .host-onboarding-submit .btn {
        width: 100%;
    }

    .host-status-timeline,
    .host-status-summary,
    .application-data-grid,
    .listing-wizard-form .readiness-list,
    .appearance-slot-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .host-status-heading {
        align-items: flex-start;
    }

    .application-list-item {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .application-list-item > .badge,
    .application-list-item > .btn {
        grid-column: 2;
        justify-self: start;
    }

    .admin-offer-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-offer-row > img {
        height: 210px;
    }

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

    .appearance-slot,
    .appearance-slot.is-wide {
        grid-column: auto;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 220px auto;
    }

    .detail-photo-collage {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 260px;
        min-height: 260px;
    }

    .detail-photo-collage .detail-image-main {
        grid-row: auto;
    }

    .detail-photo-collage .detail-image:not(.detail-image-main) {
        display: none;
    }

    .home-hero-photo {
        min-height: 690px;
        background-position: 58% center;
    }

    .home-hero-photo .public-nav {
        padding: 10px;
    }

    .home-hero-photo .hero-content {
        padding-bottom: 10px;
    }

    .home-hero-photo .hero-content h1 {
        font-size: clamp(2rem, 10vw, 2.7rem);
    }
}

@media (max-width: 420px) {
    .catalog-section-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .catalog-section-head h1 {
        font-size: 1.65rem;
    }

    .catalog-section-head h2 {
        font-size: 1.22rem;
    }

    .catalog-section-head .btn {
        min-width: 0;
        max-width: 142px;
    }

    .result-count {
        align-self: end;
        white-space: nowrap;
    }

    .hero-content h1,
    .detail-hero h1,
    .reservation-head h1 {
        max-width: none;
    }

    .confirmation-badges {
        grid-template-columns: 1fr;
    }

}

/* End-to-end marketplace polish: public discovery, detail, checkout and dashboards. */
.public-body {
    background:
        linear-gradient(180deg, #fff 0, #fbfaf7 260px, #f4f6f4 100%);
}

.hero {
    border-bottom-color: rgba(23, 116, 95, .12);
    box-shadow: 0 10px 34px rgba(23, 35, 30, .035);
}

.hero .public-nav,
.catalog-header .public-nav {
    max-width: 1280px;
}

.hero-copy {
    margin-top: 6px;
}

.hero-content h1 {
    font-size: clamp(2rem, 3vw, 2.65rem);
}

.public-search {
    border-color: rgba(23, 116, 95, .18);
    box-shadow: 0 18px 48px rgba(23, 35, 30, .1);
}

.public-search label span {
    letter-spacing: 0;
}

.public-search input {
    font-size: 1.02rem;
    font-weight: 850;
}

.home-discovery a,
.category-rail a,
.public-tabs a {
    box-shadow: 0 8px 20px rgba(23, 35, 30, .055);
}

.market-pulse {
    margin-top: -18px;
}

.pulse-card {
    min-height: 112px;
    align-content: center;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.pulse-card:hover,
.marketplace-card:hover .listing-image {
    transform: translateY(-2px);
    border-color: rgba(23, 116, 95, .34);
    box-shadow: 0 18px 42px rgba(23, 35, 30, .11);
}

.story-strip {
    grid-template-columns: minmax(0, .78fr) minmax(420px, 1.05fr);
    align-items: stretch;
}

.story-copy {
    align-content: center;
    min-height: 260px;
    padding: 30px;
}

.story-copy h2 {
    max-width: 22ch;
    font-size: clamp(1.7rem, 2.2vw, 2.25rem);
    line-height: 1.08;
}

.story-gallery {
    min-height: 260px;
}

.story-gallery img {
    object-position: center bottom;
}

.story-gallery img:first-child {
    object-position: left bottom;
}

.listing-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px;
}

.marketplace-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.marketplace-card {
    min-width: 0;
}

.marketplace-card a {
    height: 100%;
    align-content: start;
}

.listing-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-size: auto 132%;
    background-position: center bottom;
    transition: transform .18s ease, box-shadow .18s ease;
}

.listing-pill {
    max-width: calc(100% - 70px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listing-body {
    gap: 5px;
}

.listing-summary {
    display: -webkit-box;
    min-height: 2.55em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.listing-card-foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-top: 3px;
}

.listing-card-foot .listing-meta {
    min-width: 0;
}

.listing-cta {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(23, 116, 95, .22);
    border-radius: 999px;
    padding: 4px 9px;
    background: var(--brand-soft);
    color: var(--brand-deep) !important;
    font-size: .8rem !important;
    font-weight: 900;
}

.market-filter-panel {
    border-color: rgba(23, 116, 95, .16);
}

.detail-page {
    padding-top: 8px;
}

.detail-hero {
    grid-template-columns: minmax(310px, .78fr) minmax(0, 1.22fr);
    gap: 16px;
}

.marketplace-detail-hero .detail-hero-copy {
    min-height: 320px;
    background:
        linear-gradient(160deg, rgba(15, 75, 64, .98), rgba(23, 116, 95, .9));
}

.detail-hero h1 {
    max-width: 13ch;
    font-size: clamp(2rem, 3.1vw, 3rem);
}

.detail-gallery {
    min-height: 320px;
}

.detail-main.card,
.booking-card.card {
    border-color: rgba(23, 116, 95, .14);
}

.detail-facts span {
    min-height: 92px;
    align-content: center;
}

.booking-card {
    top: 92px;
}

.availability-card {
    border-color: rgba(23, 116, 95, .15);
}

.availability-card-head h3 {
    font-size: 1.28rem;
}

.availability-price {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: var(--surface-soft);
}

.availability-price strong {
    display: block;
    color: var(--brand-deep);
    font-size: 1.3rem;
}

.checkout-topbar .public-nav.compact {
    display: grid;
    grid-template-columns: minmax(190px, auto) minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.checkout-mini-summary {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 1px;
    color: var(--muted);
    text-align: center;
}

.checkout-mini-summary span {
    color: var(--clay);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.checkout-mini-summary strong {
    max-width: 42vw;
    overflow: hidden;
    color: var(--text);
    font-size: .96rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-mini-summary small {
    font-size: .82rem;
}

.checkout-mini-summary b {
    color: var(--brand-deep);
}

.reservation-page {
    width: min(1240px, calc(100% - 32px));
}

.booking-head {
    min-height: 132px;
    margin-top: 0;
}

.reservation-steps {
    position: sticky;
    top: 87px;
    z-index: 30;
    padding: 8px 0;
    background: linear-gradient(180deg, rgba(244, 246, 244, .98), rgba(244, 246, 244, .92));
    backdrop-filter: blur(12px);
}

.reservation-steps li {
    min-width: 0;
    box-shadow: 0 8px 18px rgba(23, 35, 30, .045);
}

.booking-step {
    padding: 20px;
}

.reservation-option-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 14px;
}

.reservation-option-card {
    min-height: 140px;
}

.reservation-field-strip {
    margin-top: 14px;
    align-items: start;
}

.reservation-field-strip input,
.reservation-field-strip select,
.reservation-contact-grid input,
.reservation-contact-grid select,
.reservation-contact-grid textarea {
    width: 100%;
    border-color: var(--line);
    background: #fff;
}

.reservation-field-strip label > small,
.reservation-contact-grid label > small {
    color: var(--muted);
}

.reservation-contact-grid {
    gap: 14px;
    margin-top: 14px;
}

.payment-choice-grid {
    margin-top: 14px;
}

.reservation-sidebar {
    top: 146px;
}

.reservation-summary-card {
    border-color: rgba(23, 116, 95, .16);
    box-shadow: 0 18px 48px rgba(23, 35, 30, .09);
}

.summary-thumb {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    background: var(--surface-strong);
}

.summary-mini div {
    align-items: start;
}

.price-lines .price-total {
    border-top-color: rgba(23, 116, 95, .22);
}

.dashboard-hero {
    min-height: 160px;
}

.dashboard-hero h2 {
    max-width: 18ch;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.04;
}

.kpi-card,
.host-command-card {
    border-color: rgba(23, 116, 95, .15);
}

.quick-actions .card,
.rank-list article,
.signal-list article,
.host-next-steps article,
.host-offer-list article {
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.quick-actions .card:hover,
.rank-list article:hover,
.host-offer-list article:hover {
    transform: translateY(-1px);
    border-color: rgba(23, 116, 95, .28);
    box-shadow: 0 12px 28px rgba(23, 35, 30, .075);
}

@media (max-width: 1080px) {
    .checkout-topbar .public-nav.compact {
        grid-template-columns: minmax(170px, auto) minmax(0, 1fr) auto;
    }

    .reservation-booking {
        grid-template-columns: minmax(0, 1fr) minmax(292px, 330px);
    }
}

@media (max-width: 920px) {
    .story-strip,
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .story-copy,
    .marketplace-detail-hero .detail-hero-copy {
        min-height: auto;
    }

    .reservation-steps {
        position: static;
        backdrop-filter: none;
    }

    .reservation-sidebar {
        top: auto;
    }
}

@media (max-width: 760px) {
    .hero-content h1 {
        max-width: none;
        font-size: 2rem;
    }

    .market-pulse {
        width: calc(100% - 24px);
        margin-top: 14px;
    }

    .pulse-card {
        min-height: 92px;
    }

    .story-strip {
        margin-top: 18px;
        gap: 12px;
    }

    .story-copy {
        padding: 18px;
    }

    .story-copy h2 {
        max-width: none;
        font-size: 1.65rem;
    }

    .marketplace-grid,
    .listing-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .listing-image {
        aspect-ratio: 16 / 11;
    }

    .listing-card-foot {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .listing-cta {
        width: max-content;
    }

    .checkout-topbar .public-nav.compact {
        grid-template-columns: 1fr auto;
    }

    .checkout-mini-summary {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-items: start;
        text-align: left;
    }

    .checkout-mini-summary strong {
        max-width: 100%;
    }

    .booking-head {
        min-height: auto;
    }

    .booking-step {
        padding: 16px;
    }

    .reservation-field-strip.is-accommodation,
    .reservation-field-strip.is-experience,
    .payment-choice-grid {
        grid-template-columns: 1fr;
    }

    .reservation-option-grid {
        grid-template-columns: 1fr;
    }

    .summary-thumb {
        aspect-ratio: 16 / 10;
    }
}

/* Production mobile alignment pass: keep marketplace public pages inside the viewport. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

main,
.hero,
.catalog-header,
.catalog-page,
.detail-page,
.reservation-page,
.plain-page,
.host-apply-page,
.catalog-band,
.story-strip,
.market-pulse,
.public-footer {
    min-width: 0;
}

.public-search input,
.public-search select,
.public-search button,
.home-mode-nav a,
.home-discovery a,
.public-actions .btn,
.public-footer a {
    min-width: 0;
}

@media (min-width: 761px) and (max-width: 1120px) {
    .hero .public-nav {
        grid-template-columns: minmax(190px, auto) minmax(320px, 1fr);
        align-items: start;
    }

    .hero .public-actions {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .public-search.public-search-wide.public-search-range,
    .public-search.public-search-range {
        grid-template-columns: minmax(260px, 1.6fr) repeat(2, minmax(132px, .72fr)) minmax(112px, .55fr) auto;
    }
}

@media (max-width: 760px) {
    .public-body {
        background: #fbfaf7;
    }

    .hero {
        width: 100%;
        padding: 14px 12px 18px;
        gap: 14px;
        overflow: hidden;
    }

    .hero .public-nav,
    .catalog-header .public-nav,
    .public-nav.compact {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        align-items: stretch;
        margin: 0;
        overflow: hidden;
    }

    .brand,
    .public-brand {
        width: 100%;
        min-width: 0;
    }

    .brand > span:last-child,
    .public-brand > span:last-child {
        min-width: 0;
        overflow: hidden;
    }

    .brand strong,
    .brand small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-mode-nav {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        padding: 4px 0;
        overflow: hidden;
    }

    .home-mode-nav a {
        min-height: 48px;
        padding: 6px 4px;
        border-bottom-width: 2px;
        font-size: .82rem;
        line-height: 1.12;
        overflow: hidden;
        text-align: center;
    }

    .home-mode-nav a span {
        font-size: .62rem;
    }

    .hero .public-actions,
    .public-actions {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px;
    }

    .hero .public-actions .btn,
    .public-actions .btn {
        width: 100%;
        min-height: 42px;
        padding: 8px;
        font-size: .9rem;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .hero .public-actions .btn:first-child {
        grid-column: 1 / -1;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        justify-items: stretch;
        gap: 12px;
        overflow: hidden;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        text-align: left;
    }

    .hero-content h1 {
        max-width: 100%;
        font-size: clamp(1.65rem, 9vw, 2rem);
        line-height: 1.06;
        overflow-wrap: anywhere;
    }

    .hero-content p:not(.eyebrow) {
        max-width: 100%;
        font-size: .96rem;
    }

    .public-search,
    .public-search.public-search-wide,
    .public-search.public-search-range,
    .public-search.public-search-wide.public-search-range,
    .catalog-header .public-search.floating {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        margin: 0;
        border-radius: 18px;
        padding: 8px;
        overflow: hidden;
    }

    .public-search label,
    .public-search label:last-of-type {
        width: 100%;
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 10px 10px 11px;
    }

    .public-search label:last-of-type {
        border-bottom: 0;
    }

    .public-search .search-place input {
        min-width: 0;
    }

    .public-search input {
        width: 100%;
        min-height: 34px;
        font-size: .96rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .search-button {
        width: 100%;
        min-height: 50px;
        margin-top: 8px;
        border-radius: 14px;
    }

    .home-discovery,
    .public-tabs {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .home-discovery::-webkit-scrollbar,
    .public-tabs::-webkit-scrollbar {
        display: none;
    }

    .home-discovery a,
    .public-tabs a {
        flex: 0 0 auto;
        max-width: 72vw;
        white-space: normal;
    }

    .market-pulse,
    .catalog-band,
    .story-strip,
    .public-footer,
    .catalog-page,
    .detail-page,
    .reservation-page,
    .plain-page,
    .host-apply-page {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
    }

    .market-pulse {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 14px;
        gap: 10px;
    }

    .pulse-card {
        min-height: auto;
        padding: 16px;
    }

    .story-strip {
        grid-template-columns: minmax(0, 1fr);
    }

    .story-copy {
        min-width: 0;
        padding: 18px;
    }

    .story-gallery {
        min-width: 0;
    }

    .listing-grid,
    .marketplace-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .listing-card,
    .marketplace-card,
    .card {
        min-width: 0;
    }

    .public-footer {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .public-footer nav {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 430px) {
    .hero {
        padding-inline: 10px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .home-mode-nav a {
        font-size: .78rem;
    }

    .hero .public-actions,
    .public-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero .public-actions .btn:first-child {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .mobile-nav::-webkit-scrollbar {
        display: none;
    }

    .host-wizard-strip {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 5px;
        overflow: visible;
        scroll-snap-type: none;
    }

    .host-wizard-strip button {
        min-width: 0;
        min-height: 56px;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        padding: 6px 2px;
        font-size: .7rem;
        line-height: 1;
        text-align: center;
    }

    .host-wizard-strip strong {
        width: 22px;
        height: 22px;
        font-size: .76rem;
    }
}

/* Host and user workspace polish. */
.section-copy {
    max-width: 68ch;
    margin: 6px 0 0;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 600;
}

.host-guide-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.host-guide-strip article {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 2px 12px;
    align-items: center;
    border: 1px solid rgba(23, 116, 95, .16);
    border-radius: var(--radius);
    padding: 14px;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.host-guide-strip span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-weight: 900;
}

.host-guide-strip strong {
    color: var(--brand-deep);
}

.host-guide-strip small {
    color: var(--muted);
}

.host-listings-card .filters,
.users-directory-card .filters {
    grid-template-columns: minmax(220px, 360px) auto;
    justify-content: start;
}

.responsive-table code {
    max-width: 100%;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.users-table td[data-label="Correo"] {
    overflow-wrap: anywhere;
}

.host-offers-table td[data-label="Oferta"] strong,
.users-table td[data-label="Nombre"] strong {
    color: var(--brand-deep);
}

.host-editor-page {
    max-width: 1280px;
}

.host-wizard-strip {
    position: sticky;
    top: 0;
    z-index: 6;
    padding: 8px 0;
    background: linear-gradient(180deg, rgba(244, 246, 244, .98), rgba(244, 246, 244, .88));
    backdrop-filter: blur(10px);
}

.check-grid .check-item,
.option-chip {
    min-width: 0;
}

@media (max-width: 1020px) {
    .admin-shell {
        display: block;
    }

    .sidebar {
        display: none;
    }

    .mobile-nav {
        display: flex;
        position: sticky;
        top: 78px;
        z-index: 20;
        -webkit-overflow-scrolling: touch;
    }

    .topbar {
        position: sticky;
        top: 0;
        z-index: 22;
    }

    .host-command-grid,
    .host-guide-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-split {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .admin-main {
        width: 100%;
        min-width: 0;
    }

    .topbar {
        min-height: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 14px 12px;
    }

    .topbar h1 {
        font-size: 1.28rem;
    }

    .topbar-user {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .topbar-user form,
    .topbar-user .btn {
        width: 100%;
    }

    .user-chip {
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-nav {
        top: 112px;
        padding: 8px 12px;
    }

    .mobile-nav a {
        min-height: 36px;
        padding: 7px 10px;
        font-size: .88rem;
    }

    .page {
        width: 100%;
        padding: 14px 12px 28px;
        gap: 14px;
    }

    .card,
    .dashboard-hero,
    .ops-hero,
    .host-editor-hero {
        padding: 16px;
    }

    .section-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 12px;
    }

    .section-head .btn {
        width: 100%;
    }

    .host-hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
    }

    .host-hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

    .host-guide-strip,
    .host-command-grid,
    .signal-list,
    .admin-health-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .host-guide-strip article {
        padding: 13px;
    }

    .host-command-card {
        min-height: 112px;
    }

    .host-listings-card .filters,
    .users-directory-card .filters,
    .filters {
        grid-template-columns: minmax(0, 1fr);
    }

    .responsive-table {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .responsive-table table,
    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .responsive-table table {
        border-collapse: separate;
        border-spacing: 0;
    }

    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 12px;
        background: #fff;
        box-shadow: var(--shadow-subtle);
    }

    .responsive-table td {
        border-bottom: 1px solid var(--line);
        padding: 9px 0;
    }

    .responsive-table td:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .responsive-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        color: var(--muted);
        font-size: .72rem;
        font-weight: 900;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .responsive-table .row-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .responsive-table .row-actions .btn,
    .responsive-table .row-actions form {
        width: 100%;
    }

    .responsive-table .row-actions form {
        display: grid;
    }

    .host-wizard-strip {
        top: 0;
        margin: 0 -12px;
        padding: 8px 12px;
    }

    .host-wizard-strip button {
        min-width: 0;
        min-height: 56px;
        padding: 6px 2px;
        font-size: .7rem;
    }

    .host-editor-hero {
        display: grid;
        gap: 14px;
    }

    .host-editor-hero h2 {
        font-size: 1.75rem;
    }

    .host-editor-hero .btn {
        width: 100%;
    }

    .check-grid,
    .permission-groups,
    .form-grid,
    .form-grid.three-up {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 430px) {
    .responsive-table .row-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .host-guide-strip article {
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .host-guide-strip span {
        width: 30px;
        height: 30px;
    }
}

/* Local products marketplace */
.products-hero {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 10px;
}

.products-hero-copy {
    display: grid;
    gap: 8px;
    max-width: 760px;
    margin: 32px 0 20px;
}

.products-hero-copy h1 {
    max-width: 12ch;
    color: var(--brand-deep);
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    line-height: .95;
}

.products-hero-copy p:not(.eyebrow) {
    max-width: 56ch;
    color: var(--muted);
    font-size: 1.08rem;
    font-weight: 650;
}

.product-search {
    display: grid;
    grid-template-columns: minmax(250px, 1.35fr) minmax(150px, .72fr) minmax(150px, .7fr) minmax(112px, .52fr) minmax(112px, .52fr) minmax(150px, .7fr) auto;
    gap: 0;
    align-items: stretch;
    border: 1px solid rgba(23, 116, 95, .16);
    border-radius: 28px;
    padding: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(23, 35, 30, .08);
}

.product-search label {
    display: grid;
    gap: 5px;
    min-width: 0;
    border-right: 1px solid var(--line);
    padding: 8px 18px;
}

.product-search label:nth-last-child(2) {
    border-right: 0;
}

.product-search span {
    color: var(--text);
    font-size: .76rem;
    font-weight: 900;
}

.product-search input,
.product-search select {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.products-page,
.product-detail-page {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 48px;
}

.product-category-rail {
    display: flex;
    gap: 10px;
    margin: 18px 0 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-category-rail a {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
    color: var(--brand-deep);
    font-weight: 900;
    text-decoration: none;
}

.product-category-rail a.active {
    border-color: rgba(23, 116, 95, .45);
    background: var(--brand-soft);
}

.product-headline {
    margin-bottom: 18px;
}

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

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

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(23, 116, 95, .14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(23, 35, 30, .075);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 116, 95, .3);
    box-shadow: 0 22px 58px rgba(23, 35, 30, .12);
}

.product-card a {
    display: grid;
    color: inherit;
    text-decoration: none;
}

.product-card-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--surface-strong) center / cover no-repeat;
}

.product-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, .94);
    color: var(--brand-deep);
    font-size: .78rem;
    font-weight: 900;
}

.product-contact-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(7, 64, 53, .9);
    color: #fff;
    font-size: .74rem;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(7, 35, 30, .18);
}

.product-card-body {
    display: grid;
    gap: 7px;
    padding: 15px;
}

.product-card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
}

.product-card-top strong {
    color: var(--text);
    font-size: 1.04rem;
    line-height: 1.15;
}

.product-card-top b {
    color: var(--brand-deep);
    white-space: nowrap;
}

.product-summary {
    min-height: 2.6em;
    color: var(--muted);
    font-weight: 650;
    line-height: 1.3;
}

.product-card-origin {
    color: var(--brand-deep);
    font-size: .88rem;
    font-weight: 900;
}

.product-card-foot {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
}

.product-card-foot small {
    color: var(--muted);
    font-weight: 800;
}

.product-card-foot em {
    border-radius: 999px;
    padding: 6px 11px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-style: normal;
    font-weight: 900;
}

.product-buy-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 24px;
}

.product-buy-steps article {
    display: grid;
    gap: 5px;
    border: 1px solid rgba(23, 116, 95, .14);
    border-radius: 16px;
    padding: 15px;
    background: linear-gradient(180deg, rgba(230, 246, 240, .72), rgba(255, 255, 255, .96));
}

.product-buy-steps strong {
    color: var(--brand-deep);
}

.product-buy-steps span {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.35;
}

.product-detail-hero {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
    gap: 22px;
    align-items: stretch;
    margin-top: 22px;
}

.product-detail-photo {
    min-height: 520px;
    border-radius: 24px;
    background: var(--surface-strong) center / cover no-repeat;
    box-shadow: 0 24px 70px rgba(23, 35, 30, .12);
}

.product-detail-copy {
    display: grid;
    align-content: center;
    gap: 16px;
    border: 1px solid rgba(23, 116, 95, .15);
    border-radius: 24px;
    padding: 34px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(23, 35, 30, .075);
}

.product-detail-copy h1 {
    color: var(--brand-deep);
    font-size: clamp(2.2rem, 4.8vw, 4.4rem);
    line-height: .96;
}

.product-detail-price {
    display: grid;
    gap: 2px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}

.product-detail-price strong {
    color: var(--brand-deep);
    font-size: 1.7rem;
}

.whatsapp-cta {
    width: 100%;
    justify-content: center;
    background: #128c7e;
    color: #fff;
}

.whatsapp-cta:hover {
    background: #0e7268;
}

.product-story {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.product-facts,
.product-variant-grid,
.product-trust-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.product-facts span,
.product-variant-grid article,
.product-trust-band article,
.product-review-box {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(23, 116, 95, .14);
    border-radius: var(--radius);
    padding: 14px;
    background: #fff;
}

.product-trust-band {
    margin: 18px 0;
}

.product-trust-band strong,
.product-facts strong,
.product-variant-grid strong {
    color: var(--brand-deep);
}

.product-editor-hero,
.product-host-hero {
    background:
        linear-gradient(145deg, rgba(12, 72, 60, .96), rgba(26, 129, 104, .88)),
        var(--surface-strong);
}

.product-preview {
    background-size: cover;
}

.product-how-card ol {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--muted);
    font-weight: 700;
}

.product-gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.product-gallery-preview span {
    min-height: 92px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: center / cover no-repeat var(--surface-soft);
}

.product-variant-builder {
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(25, 125, 103, .22);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(230, 246, 240, .55), rgba(255, 255, 255, .92));
}

.product-variant-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.product-variant-head div {
    display: grid;
    gap: 4px;
}

.product-variant-head span,
.product-variant-builder > small {
    color: var(--muted);
    font-weight: 700;
}

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

.product-variant-row {
    display: grid;
    grid-template-columns: minmax(190px, 1.4fr) minmax(110px, .7fr) minmax(92px, .55fr) minmax(130px, .8fr) minmax(135px, .85fr) auto;
    align-items: end;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.product-gallery-showcase {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-auto-rows: 190px;
    gap: 10px;
    margin-bottom: 18px;
}

.product-gallery-showcase a {
    overflow: hidden;
    border-radius: 16px;
    background: var(--surface-soft);
}

.product-gallery-showcase a.featured {
    grid-row: span 2;
}

.product-gallery-showcase img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .22s ease;
}

.product-gallery-showcase a:hover img {
    transform: scale(1.035);
}

.product-metric-pill {
    display: inline-flex;
    align-items: center;
    margin: 0 4px 6px 0;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(18, 126, 103, .1);
    color: var(--brand-deep);
    font-size: .82rem;
    font-weight: 900;
    white-space: nowrap;
}

.product-insight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 18px;
    margin: 18px 0;
}

.product-insight-card {
    display: grid;
    gap: 10px;
    align-content: start;
    overflow: hidden;
}

.product-insight-card h2 {
    color: var(--brand-deep);
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    line-height: 1.05;
}

.product-insight-card p {
    color: var(--muted);
    font-weight: 700;
}

.product-insight-card.soft {
    background:
        linear-gradient(145deg, rgba(230, 246, 240, .88), rgba(255, 255, 255, .96)),
        #fff;
}

.product-insight-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 4px;
}

.product-insight-metrics span {
    display: grid;
    gap: 2px;
    border: 1px solid rgba(23, 116, 95, .14);
    border-radius: 14px;
    padding: 12px;
    background: #fff;
}

.product-insight-metrics strong {
    color: var(--brand-deep);
    font-size: 1.45rem;
}

.product-insight-metrics small {
    color: var(--muted);
    font-weight: 800;
}

/* Tourism marketplace polish: discovery, detail and booking. */
.marketplace-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(23, 116, 95, .12);
}

.marketplace-hero-copy {
    display: grid;
    gap: 10px;
    width: min(1280px, 100%);
    margin: 34px auto 22px;
}

.marketplace-hero-copy h1 {
    max-width: 14ch;
    color: var(--brand-deep);
    font-size: clamp(2.35rem, 5.4vw, 4.7rem);
    line-height: .96;
}

.marketplace-hero-copy p:not(.eyebrow) {
    max-width: 58ch;
    color: var(--muted);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
}

.marketplace-search {
    box-shadow: 0 24px 72px rgba(23, 35, 30, .11);
}

.marketplace-promise-strip,
.detail-experience-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 22px;
}

.marketplace-promise-strip article,
.detail-experience-strip article {
    display: grid;
    gap: 5px;
    border: 1px solid rgba(23, 116, 95, .14);
    border-radius: 16px;
    padding: 15px;
    background: linear-gradient(180deg, rgba(230, 246, 240, .74), rgba(255, 255, 255, .96));
}

.marketplace-promise-strip strong,
.detail-experience-strip strong {
    color: var(--brand-deep);
    font-size: 1rem;
}

.marketplace-promise-strip span,
.detail-experience-strip span {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.35;
}

.listing-category-pill {
    position: absolute;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(7, 64, 53, .9);
    color: #fff;
    font-size: .74rem;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(7, 35, 30, .18);
}

.listing-location,
.listing-host {
    color: var(--brand-deep);
    font-size: .9rem;
    font-weight: 900;
}

.listing-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.listing-card-tags small {
    border: 1px solid rgba(23, 116, 95, .15);
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(230, 246, 240, .72);
    color: var(--brand-deep);
    font-weight: 900;
}

.detail-hero-polished {
    background:
        linear-gradient(135deg, rgba(8, 64, 53, .96), rgba(24, 124, 103, .82)),
        var(--surface-strong);
}

.detail-hero-polished .detail-hero-copy {
    color: #fff;
}

.detail-hero-polished .detail-hero-copy h1,
.detail-hero-polished .detail-hero-copy p,
.detail-hero-polished .detail-hero-copy .eyebrow {
    color: #fff;
}

.detail-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-hero-meta span {
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 900;
}

.detail-chip-list,
.detail-rule-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.detail-chip-list span,
.detail-rule-list span {
    border-radius: 999px;
    padding: 8px 11px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-weight: 900;
}

.detail-booking-card {
    position: sticky;
    top: 86px;
}

.reservation-page-polished {
    padding-top: 14px;
}

.checkout-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(23, 116, 95, .12);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
}

.booking-trust-polished {
    margin-top: 0;
}

.reservation-summary-polished {
    position: sticky;
    top: 96px;
}

.reservation-summary-polished .summary-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    object-fit: cover;
}

@media (max-width: 1020px) {
    .marketplace-promise-strip,
    .detail-experience-strip {
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-booking-card,
    .reservation-summary-polished {
        position: static;
    }
}

@media (max-width: 760px) {
    .marketplace-hero-copy h1 {
        max-width: none;
        font-size: clamp(2rem, 10vw, 3rem);
    }

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

    .marketplace-search .search-place {
        grid-column: 1 / -1;
    }

    .marketplace-search .search-button {
        grid-column: auto;
    }

    .marketplace-promise-strip,
    .detail-experience-strip {
        gap: 10px;
    }

    .listing-category-pill {
        left: 12px;
        right: auto;
        bottom: 12px;
    }

    .detail-hero-meta {
        gap: 6px;
    }

    .checkout-mini-summary {
        display: none;
    }
}

@media (max-width: 1020px) {
    .product-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 24px;
    }

    .product-search label:nth-child(2n) {
        border-right: 0;
    }

    .product-search .search-button {
        grid-column: 1 / -1;
    }

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

    .product-detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-detail-photo {
        min-height: auto;
        aspect-ratio: 16 / 10;
    }

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

    .product-insight-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-variant-row .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 760px) {
    .home-mode-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .products-hero,
    .products-page,
    .product-detail-hero,
    .product-detail-page {
        width: calc(100% - 24px);
    }

    .products-hero-copy {
        margin-top: 18px;
    }

    .products-hero-copy h1 {
        max-width: none;
        font-size: clamp(2rem, 12vw, 3.1rem);
    }

    .product-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 18px;
    }

    .product-search label {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 11px 12px;
    }

    .product-search label:first-child {
        grid-column: 1 / -1;
    }

    .product-search .search-button {
        grid-column: auto;
    }

    .product-search label:nth-last-child(2) {
        border-bottom: 0;
    }

    .product-grid,
    .product-grid.compact,
    .product-facts,
    .product-variant-grid,
    .product-trust-band,
    .product-buy-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-card-image {
        aspect-ratio: 16 / 11;
    }

    .product-detail-copy {
        padding: 20px;
    }

    .product-variant-head {
        align-items: stretch;
        flex-direction: column;
    }

    .product-variant-row,
    .product-gallery-showcase {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-gallery-showcase {
        grid-auto-rows: 180px;
    }

    .product-gallery-showcase a.featured {
        grid-row: span 1;
    }
}

@media (max-width: 760px) {
    .public-search.marketplace-search {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .public-search.marketplace-search .search-place {
        grid-column: 1 / -1 !important;
    }

    .public-search.marketplace-search .search-button {
        grid-column: auto !important;
    }

    .home-hero-photo {
        min-height: 690px;
        background:
            linear-gradient(90deg, rgba(3, 39, 32, .82), rgba(3, 39, 32, .34)),
            var(--home-hero-image) 58% center / cover no-repeat;
    }

    .home-hero-photo .home-mode-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-hero-photo .hero-content h1 {
        font-size: clamp(2rem, 10vw, 2.7rem);
        color: #fff;
    }

    .home-hero-photo .hero-content p:not(.eyebrow) {
        color: rgba(255, 255, 255, .9);
    }
}

/* Public navigation and compact mobile forms. */
.public-mobile-nav {
    display: none;
}

@media (max-width: 760px) {
    .public-body {
        padding-bottom: 72px;
    }

    .public-mobile-nav {
        position: fixed;
        right: 10px;
        bottom: max(8px, env(safe-area-inset-bottom));
        left: 10px;
        z-index: 90;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        min-height: 56px;
        border: 1px solid rgba(15, 75, 64, .16);
        border-radius: 8px;
        padding: 4px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 16px 40px rgba(15, 45, 38, .2);
        backdrop-filter: blur(14px);
    }

    .public-mobile-nav a {
        position: relative;
        display: grid;
        place-items: center;
        min-width: 0;
        min-height: 46px;
        border-radius: 6px;
        padding: 5px 2px;
        color: var(--muted);
        font-size: .74rem;
        font-weight: 900;
        line-height: 1;
        text-align: center;
    }

    .public-mobile-nav a::before {
        content: "";
        position: absolute;
        top: 4px;
        left: 50%;
        width: 18px;
        height: 3px;
        transform: translateX(-50%);
        border-radius: 999px;
        background: transparent;
    }

    .public-mobile-nav a.active {
        background: var(--brand-soft);
        color: var(--brand-deep);
    }

    .public-mobile-nav a.active::before {
        background: var(--brand);
    }

    .hero,
    .catalog-header {
        padding: 10px 12px 14px;
    }

    .hero .public-nav,
    .catalog-header .public-nav,
    .public-nav.compact {
        min-height: 48px;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        overflow: visible;
    }

    .hero .public-nav .brand,
    .catalog-header .public-nav .brand,
    .public-nav.compact .brand {
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
    }

    .hero .public-nav .brand-mark,
    .catalog-header .public-nav .brand-mark,
    .public-nav.compact .brand-mark {
        width: 36px;
        height: 36px;
    }

    .hero .public-nav .brand small,
    .catalog-header .public-nav .brand small,
    .public-nav.compact .brand small {
        font-size: .68rem;
    }

    .home-mode-nav {
        display: none;
    }

    .hero .public-actions {
        width: auto;
        display: flex;
        flex: 0 0 auto;
    }

    .hero .public-actions .btn {
        display: none;
    }

    .hero .public-actions .btn:last-child {
        display: inline-flex;
        width: auto;
        min-height: 40px;
        padding: 8px 11px;
        font-size: .82rem;
        white-space: nowrap;
    }

    .catalog-header .public-actions {
        display: none;
    }

    .public-nav.compact > .btn {
        width: auto;
        min-height: 40px;
        flex: 0 0 auto;
        padding: 8px 11px;
        font-size: .82rem;
        white-space: nowrap;
    }

    .home-hero-photo {
        min-height: 590px;
        padding-bottom: 18px;
    }

    .home-hero-photo .hero-content {
        align-content: start;
        gap: 12px;
        padding-top: 10px;
    }

    .home-hero-photo .hero-content h1,
    .marketplace-hero-copy h1,
    .products-hero-copy h1 {
        font-size: 2rem;
        line-height: 1.03;
    }

    .marketplace-hero-copy {
        gap: 6px;
        margin: 14px auto 12px;
    }

    .marketplace-hero-copy p:not(.eyebrow) {
        font-size: .9rem;
        line-height: 1.4;
    }

    .public-search,
    .public-search.public-search-wide,
    .public-search.public-search-range,
    .public-search.public-search-wide.public-search-range,
    .public-search.marketplace-search,
    .catalog-header .public-search.floating {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0;
        border-radius: 8px;
        padding: 6px;
    }

    .public-search .search-place,
    .public-search.marketplace-search .search-place {
        grid-column: 1 / -1 !important;
    }

    .public-search label,
    .public-search label:last-of-type {
        min-height: 56px;
        padding: 7px 8px;
    }

    .public-search label:nth-of-type(2) {
        border-right: 1px solid var(--line);
    }

    .public-search label:nth-of-type(4) {
        border-right: 1px solid var(--line);
        border-bottom: 0;
    }

    .public-search label span {
        font-size: .7rem;
    }

    .public-search input,
    .public-search .date-picker-trigger {
        min-width: 0;
        min-height: 31px;
        font-size: .88rem;
    }

    .public-search .date-picker-trigger {
        grid-template-columns: minmax(0, 1fr) 24px;
        gap: 4px;
    }

    .public-search .date-picker-trigger span {
        font-size: .84rem;
    }

    .public-search .search-button,
    .public-search.marketplace-search .search-button {
        grid-column: auto !important;
        width: 100%;
        min-height: 46px;
        align-self: stretch;
        margin: 0;
        border-radius: 6px;
        font-size: .9rem;
    }

    .home-discovery {
        gap: 6px;
    }

    .home-discovery a,
    .public-tabs a {
        min-height: 40px;
        padding: 7px 11px;
        font-size: .86rem;
    }

    .marketplace-promise-strip,
    .detail-experience-strip,
    .booking-trust-strip {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .marketplace-promise-strip::-webkit-scrollbar,
    .detail-experience-strip::-webkit-scrollbar,
    .booking-trust-strip::-webkit-scrollbar {
        display: none;
    }

    .marketplace-promise-strip article,
    .detail-experience-strip article {
        flex: 0 0 min(78vw, 280px);
        scroll-snap-align: start;
        padding: 12px;
    }

    .booking-trust-strip span {
        flex: 0 0 min(72vw, 250px);
        min-height: 78px;
        align-content: center;
        scroll-snap-align: start;
        padding: 10px 12px;
    }

    .booking-trust-strip small {
        font-size: .78rem;
        line-height: 1.3;
    }

    .market-filter-panel {
        padding: 14px;
    }

    .market-filter-panel > div:first-child p:not(.eyebrow) {
        display: none;
    }

    .auth-screen {
        min-height: calc(100svh - 72px);
        align-items: start;
        padding: 14px 12px 24px;
    }

    .auth-panel {
        gap: 10px;
    }

    .auth-copy {
        gap: 9px;
        padding: 18px;
    }

    .auth-copy .brand-mark {
        width: 36px;
        height: 36px;
    }

    .auth-copy h1 {
        max-width: none;
        font-size: 1.75rem;
        line-height: 1.05;
    }

    .auth-copy p {
        font-size: .88rem;
    }

    .form-card {
        gap: 11px;
        padding: 16px;
    }

    .form-card label {
        gap: 4px;
    }

    .form-card input,
    .form-card select {
        min-height: 46px;
        padding: 9px 11px;
    }

    .auth-links {
        gap: 8px 14px;
        font-size: .88rem;
    }

    .checkout-topbar {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .reservation-page {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        gap: 10px;
        margin-bottom: 24px;
    }

    .booking-head {
        min-height: auto;
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 12px;
        padding: 15px;
    }

    .booking-head h1 {
        font-size: 1.45rem;
    }

    .booking-head p:not(.eyebrow) {
        margin-top: 4px;
        font-size: .82rem;
    }

    .reservation-price {
        min-width: 112px;
        padding: 9px;
    }

    .reservation-price span {
        font-size: 1.08rem;
    }

    .reservation-steps {
        position: sticky;
        top: 60px;
        z-index: 32;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        padding: 5px 0;
        background: rgba(244, 246, 244, .96);
        backdrop-filter: blur(10px);
    }

    .reservation-steps li {
        min-height: 42px;
        justify-content: center;
        gap: 4px;
        padding: 5px 2px;
        font-size: .72rem;
        line-height: 1;
        text-align: center;
    }

    .reservation-steps span {
        width: 22px;
        height: 22px;
        font-size: .68rem;
    }

    .reservation-booking {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .reservation-flow,
    .reservation-sidebar,
    .reservation-summary-polished {
        width: 100%;
        min-width: 0;
    }

    .booking-step {
        gap: 10px;
        padding: 14px;
    }

    .step-heading {
        gap: 9px;
    }

    .step-index {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    .step-heading h2 {
        font-size: 1.2rem;
    }

    .reservation-option-grid {
        margin-top: 6px;
    }

    .reservation-option-card {
        min-height: auto;
        padding: 11px;
    }

    .reservation-field-strip,
    .reservation-field-strip.is-accommodation,
    .reservation-field-strip.is-experience {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        margin-top: 6px;
    }

    .reservation-field-strip label > small,
    .reservation-contact-grid label > small {
        min-height: auto;
        font-size: .76rem;
    }

    .reservation-field-strip input,
    .reservation-field-strip select,
    .reservation-field-strip .date-picker-trigger,
    .reservation-contact-grid input,
    .reservation-contact-grid select {
        min-height: 46px;
        padding: 8px 10px;
    }

    .reservation-contact-grid {
        gap: 9px;
        margin-top: 8px;
    }

    .payment-choice-grid {
        gap: 8px;
        margin-top: 8px;
    }

    .payment-option {
        min-height: 64px;
        padding: 9px;
    }

    .reservation-summary-polished {
        padding: 14px;
    }

    .reservation-summary-polished .summary-thumb {
        display: none;
    }

    .reservation-summary-card {
        gap: 10px;
    }

    .host-onboarding-page {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        gap: 12px;
        margin-bottom: 24px;
    }

    .host-onboarding-intro {
        gap: 14px;
        padding: 18px;
    }

    .host-onboarding-intro h1 {
        font-size: 1.8rem;
    }

    .host-onboarding-intro > div:first-child > p:last-child {
        margin-top: 7px;
        font-size: .88rem;
    }

    .host-onboarding-path {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }

    .host-onboarding-path span {
        min-height: 64px;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 3px;
        padding: 6px 3px;
        font-size: .7rem;
        line-height: 1.15;
        text-align: center;
    }

    .host-onboarding-path strong {
        width: 25px;
        height: 25px;
    }

    .host-onboarding-card {
        gap: 13px;
        padding: 15px;
    }

    .host-onboarding-card-head {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 9px;
    }

    .host-onboarding-card-head > span {
        width: 30px;
        height: 30px;
    }

    .host-onboarding-card-head h2 {
        font-size: 1.2rem;
    }

    .host-onboarding-card-head p:last-child {
        font-size: .82rem;
    }

    .host-onboarding-card .form-grid,
    .host-onboarding-card .form-grid.three-up {
        gap: 10px;
    }

    .host-onboarding-card label {
        gap: 4px;
    }

    .host-onboarding-card input,
    .host-onboarding-card select,
    .host-onboarding-card textarea {
        min-height: 46px;
        padding: 9px 10px;
    }

    .account-note,
    .host-onboarding-submit {
        align-items: stretch;
        flex-direction: column;
        padding: 12px;
    }

    .host-onboarding-submit .btn {
        width: 100%;
    }

    .public-footer {
        margin-bottom: 12px;
        padding: 20px 16px;
    }
}

@media (min-width: 761px) {
    .auth-panel .form-card {
        padding: 24px;
    }

    .host-onboarding-card input,
    .host-onboarding-card select {
        min-height: 46px;
        padding-block: 9px;
    }
}

@media (max-width: 760px) {
    .admin-body .topbar {
        min-height: 64px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        padding: 9px 12px;
    }

    .admin-body .topbar .eyebrow {
        font-size: .62rem;
    }

    .admin-body .topbar h1 {
        overflow: hidden;
        font-size: 1.08rem;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-body .topbar-user {
        width: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
    }

    .admin-body .topbar-user .user-chip {
        display: none;
    }

    .admin-body .topbar-user form,
    .admin-body .topbar-user .btn {
        width: auto;
        min-width: 0;
        min-height: 38px;
        padding: 7px 9px;
        font-size: .78rem;
        white-space: nowrap;
    }

    .admin-body .mobile-nav {
        top: 64px;
        min-height: 50px;
        gap: 6px;
        padding: 7px 10px;
        background: rgba(244, 246, 244, .97);
        box-shadow: 0 8px 20px rgba(23, 35, 30, .07);
        backdrop-filter: blur(12px);
        scrollbar-width: none;
    }

    .admin-body .mobile-nav a {
        min-height: 36px;
        padding: 7px 10px;
        font-size: .78rem;
        white-space: nowrap;
    }

    .admin-body .page {
        padding-top: 12px;
    }

    .admin-body .page input,
    .admin-body .page select,
    .admin-body .page textarea {
        min-height: 44px;
        padding: 9px 10px;
    }

    .admin-body .page label {
        gap: 4px;
    }

    .admin-body .page .form-grid,
    .admin-body .page .form-grid.three-up,
    .admin-body .page .stack-form {
        gap: 10px;
    }
}
