:root {
    --hbs-ink: #1d2925;
    --hbs-muted: #65736d;
    --hbs-green: #173f35;
    --hbs-green-2: #246b58;
    --hbs-coral: #d96f4d;
    --hbs-gold: #c79a38;
    --hbs-paper: #ffffff;
    --hbs-canvas: #f7f9f8;
    --hbs-line: #dce3df;
    --hbs-soft-green: #e8f2ee;
    --hbs-soft-coral: #faeee9;
    --hbs-radius: 6px;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

a {
    color: var(--hbs-green-2);
    text-underline-offset: 0.18em;
}

.material-symbols-outlined {
    font-size: 1.25rem;
    line-height: 1;
    vertical-align: middle;
}

.btn {
    border-radius: var(--hbs-radius);
}

.btn-primary,
.btn-dark {
    --bs-btn-bg: var(--hbs-green);
    --bs-btn-border-color: var(--hbs-green);
    --bs-btn-hover-bg: #0f3129;
    --bs-btn-hover-border-color: #0f3129;
}

.hbs-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hbs-header,
.hbs-marketing-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--hbs-line);
    backdrop-filter: blur(10px);
}

.hbs-header-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.hbs-marketing-header .container {
    min-height: 68px;
}

.hbs-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--hbs-ink);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.hbs-brand-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    color: white;
    background: var(--hbs-green);
    border-radius: 5px;
    font-family: Georgia, serif;
    font-size: 1.25rem;
}

.hbs-primary-nav {
    align-items: stretch;
    align-self: stretch;
    gap: 1.2rem;
    overflow-x: auto;
}

.hbs-primary-nav a {
    display: inline-flex;
    align-items: center;
    color: #4e5c56;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.hbs-primary-nav a.active {
    color: var(--hbs-green);
    border-color: var(--hbs-coral);
}

.hbs-main {
    flex: 1;
}

.hbs-main-workspace {
    background: #f3f6f4;
}

.hbs-footer {
    padding: 2.25rem 0;
    background: white;
    border-top: 1px solid var(--hbs-line);
}

.hbs-footer a {
    color: var(--hbs-muted);
    text-decoration: none;
}

.hbs-mobile-nav {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1030;
    min-height: 64px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: white;
    border-top: 1px solid var(--hbs-line);
}

.hbs-mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    color: var(--hbs-muted);
    font-size: 0.68rem;
    text-decoration: none;
}

.hbs-mobile-nav a.active {
    color: var(--hbs-green);
}

.hbs-eyebrow {
    color: var(--hbs-coral);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hbs-accent-text {
    color: var(--hbs-coral);
}

.hbs-search-hero {
    position: relative;
    min-height: min(650px, 82vh);
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    background: #325247;
}

.hbs-search-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hbs-search-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 31, 26, 0.78), rgba(13, 31, 26, 0.12));
}

.hbs-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hbs-hero-copy h1 {
    max-width: 700px;
    font-family: Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.02;
}

.hbs-search-form {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(135px, 1fr)) auto;
    gap: 0.55rem;
    padding: 0.75rem;
    color: var(--hbs-ink);
    background: white;
    border-radius: var(--hbs-radius);
    box-shadow: 0 18px 55px rgba(11, 24, 20, 0.22);
}

.hbs-search-form label,
.hbs-step-value {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--hbs-muted);
    font-size: 0.7rem;
    font-weight: 600;
}

.hbs-search-form input,
.hbs-search-form button {
    min-height: 48px;
}

.hbs-guest-menu {
    width: min(320px, calc(100vw - 2rem));
}

.hbs-search-destination {
    position: relative;
}

.hbs-suggestions {
    position: absolute;
    top: calc(100% + 0.5rem);
    inset-inline: 0;
    z-index: 1040;
    padding: 0.35rem;
    background: white;
    border: 1px solid var(--hbs-line);
    border-radius: var(--hbs-radius);
    box-shadow: 0 14px 35px rgba(20, 35, 29, 0.15);
}

.hbs-suggestion {
    width: 100%;
    padding: 0.65rem;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 4px;
}

.hbs-suggestion:hover {
    background: var(--hbs-soft-green);
}

.hbs-suggestion-muted {
    padding: 0.65rem;
    color: var(--hbs-muted);
    font-size: 0.85rem;
}

.hbs-home-band,
.hbs-marketing-section {
    padding: 5rem 0;
}

.hbs-bg-coral {
    background: var(--hbs-soft-coral);
}

.hbs-feature-tile,
.hbs-marketing-feature {
    height: 100%;
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--hbs-line);
    border-radius: var(--hbs-radius);
}

.hbs-feature-tile h3,
.hbs-marketing-feature h3 {
    margin-top: 1rem;
    font-size: 1.08rem;
}

.hbs-feature-tile p,
.hbs-marketing-feature p {
    margin-bottom: 0;
    color: var(--hbs-muted);
}

.hbs-search-results-header {
    background: var(--hbs-green);
}

.hbs-search-results-header .hbs-search-form {
    box-shadow: none;
}

.hbs-hotel-card {
    display: grid;
    grid-template-columns: minmax(220px, 33%) 1fr;
    overflow: hidden;
    background: white;
    border: 1px solid var(--hbs-line);
    border-radius: var(--hbs-radius);
}

.hbs-hotel-image,
.hbs-room-image,
.hbs-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hbs-hotel-image-link {
    min-height: 230px;
}

.hbs-hotel-card-body {
    padding: 1.35rem;
}

.hbs-image-placeholder,
.hbs-gallery-placeholder {
    height: 100%;
    min-height: 200px;
    display: grid;
    place-items: center;
    color: var(--hbs-muted);
    background: #e5ebe8;
}

.hbs-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.hbs-amenities span {
    padding: 0.25rem 0.45rem;
    color: #415049;
    background: var(--hbs-soft-green);
    border-radius: 4px;
    font-size: 0.75rem;
}

.hbs-gallery {
    min-height: 340px;
    overflow: hidden;
    border-radius: var(--hbs-radius);
}

.hbs-room-card {
    display: grid;
    grid-template-columns: minmax(190px, 28%) 1fr;
    overflow: hidden;
    background: white;
    border: 1px solid var(--hbs-line);
    border-radius: var(--hbs-radius);
}

.hbs-room-content {
    padding: 1.25rem;
}

.hbs-rate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--hbs-line);
}

.hbs-detail-panel,
.hbs-form-section,
.hbs-sticky-panel,
.hbs-ops-panel {
    padding: 1.35rem;
    background: white;
    border: 1px solid var(--hbs-line);
    border-radius: var(--hbs-radius);
}

.hbs-sticky-panel {
    position: sticky;
    top: 84px;
}

.hbs-choice-row {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--hbs-line);
}

.hbs-choice-row + .hbs-choice-row {
    margin-top: 0.6rem;
}

.hbs-choice-row label,
.hbs-choice-row small {
    display: block;
}

.hbs-checkout-thumb {
    width: 76px;
    height: 64px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #e5ebe8;
    border-radius: 4px;
}

.hbs-checkout-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hbs-summary-list {
    margin: 0;
}

.hbs-summary-list > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
}

.hbs-summary-list dt {
    font-weight: 400;
    color: var(--hbs-muted);
}

.hbs-summary-list dd {
    margin: 0;
    text-align: right;
}

.hbs-confirmation-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hbs-confirmation-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--hbs-green-2);
    border-radius: 50%;
}

.hbs-narrow {
    max-width: 520px;
    margin-inline: auto;
}

.hbs-narrow-page {
    max-width: 720px;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hbs-narrow-wide,
.hbs-legal-copy {
    max-width: 860px;
    margin-inline: auto;
}

.hbs-legal-copy h1 {
    font-size: 2.3rem;
}

.hbs-legal-copy h2 {
    margin-top: 2rem;
    font-size: 1.25rem;
}

.hbs-message-thread {
    min-height: 320px;
    max-height: 58vh;
    overflow-y: auto;
    padding: 1rem;
    background: #eef2f0;
    border: 1px solid var(--hbs-line);
    border-radius: var(--hbs-radius);
}

.hbs-message {
    max-width: 78%;
    margin-bottom: 0.75rem;
    padding: 0.85rem;
    background: white;
    border-radius: var(--hbs-radius);
}

.hbs-message-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
    color: var(--hbs-muted);
    font-size: 0.75rem;
}

.hbs-message p {
    margin: 0;
    white-space: pre-wrap;
}

.hbs-message-composer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
}

.hbs-payment-element {
    min-height: 120px;
    padding: 1rem;
    background: white;
    border: 1px solid var(--hbs-line);
    border-radius: var(--hbs-radius);
}

.hbs-loading-state,
.hbs-empty-state {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    text-align: center;
}

.hbs-empty-state-compact {
    min-height: 220px;
}

.hbs-workspace-page {
    min-height: calc(100vh - 64px);
    padding: 1.25rem;
}

.hbs-workspace-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hbs-workspace-picker,
.hbs-date-control {
    width: auto;
    min-width: 190px;
}

.hbs-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(135px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hbs-kpi {
    min-height: 120px;
    padding: 1rem;
    background: white;
    border: 1px solid var(--hbs-line);
    border-radius: var(--hbs-radius);
}

.hbs-kpi strong {
    display: block;
    margin-top: 0.8rem;
    font-size: 1.5rem;
}

.hbs-kpi small {
    color: var(--hbs-muted);
}

.hbs-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hbs-task-list,
.hbs-room-readiness {
    display: grid;
    gap: 0.75rem;
}

.hbs-task-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0;
    border-top: 1px solid var(--hbs-line);
}

.hbs-task-row > div,
.hbs-task-row small {
    display: block;
}

.hbs-task-row small {
    margin-top: 0.1rem;
    color: var(--hbs-muted);
}

.hbs-room-readiness > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
}

.hbs-status-dot {
    width: 0.65rem;
    height: 0.65rem;
    display: inline-block;
    border-radius: 50%;
}

.hbs-map-panel {
    position: sticky;
    top: 84px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--hbs-line);
    border-radius: var(--hbs-radius);
}

.hbs-map-placeholder {
    min-height: 360px;
    display: grid;
    place-content: center;
    gap: 0.35rem;
    padding: 1rem;
    color: var(--hbs-muted);
    text-align: center;
    background:
        linear-gradient(45deg, transparent 48%, #dce6e1 49%, #dce6e1 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, #dce6e1 49%, #dce6e1 51%, transparent 52%),
        #edf2ef;
    background-size: 42px 42px;
}

.hbs-map-placeholder .material-symbols-outlined {
    color: var(--hbs-green);
    font-size: 2rem;
}

.hbs-map-placeholder-sm {
    min-height: 220px;
}

.hbs-booking-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
}

.hbs-booking-totals dt {
    color: var(--hbs-muted);
    font-weight: 400;
}

.hbs-booking-totals dd {
    margin: 0;
    text-align: right;
}

.hbs-table-shell {
    overflow-x: auto;
    background: white;
    border: 1px solid var(--hbs-line);
    border-radius: var(--hbs-radius);
}

.hbs-table-shell th {
    color: #51605a;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.hbs-empty-table {
    padding: 2.5rem;
    color: var(--hbs-muted);
    text-align: center;
}

.hbs-filter-tabs {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
}

.hbs-filter-tabs button {
    padding: 0.45rem 0.75rem;
    color: var(--hbs-muted);
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.hbs-filter-tabs button.active {
    color: var(--hbs-green);
    border-color: var(--hbs-coral);
}

.hbs-housekeeping-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 0.75rem;
    overflow-x: auto;
}

.hbs-housekeeping-column {
    min-height: 420px;
    padding: 0.75rem;
    background: #e9eeeb;
    border-radius: var(--hbs-radius);
}

.hbs-housekeeping-column > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.hbs-housekeeping-column h2 {
    margin: 0;
    font-size: 0.9rem;
}

.hbs-housekeeping-task {
    padding: 0.85rem;
    background: white;
    border: 1px solid var(--hbs-line);
    border-radius: 4px;
}

.hbs-housekeeping-task p,
.hbs-housekeeping-task small {
    display: block;
    margin: 0.45rem 0 0;
    color: var(--hbs-muted);
    font-size: 0.78rem;
}

.hbs-calendar-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 180px;
    background: white;
}

.hbs-calendar-table th span,
.hbs-calendar-table th small {
    display: block;
}

.hbs-calendar-table td {
    min-width: 100px;
    padding: 0.35rem;
}

.hbs-calendar-cell {
    width: 100%;
    min-height: 66px;
    padding: 0.35rem;
    color: var(--hbs-ink);
    background: white;
    border: 1px solid var(--hbs-line);
    border-radius: 4px;
}

.hbs-calendar-cell span,
.hbs-calendar-cell small {
    display: block;
}

.hbs-calendar-cell small {
    color: var(--hbs-muted);
}

.hbs-calendar-cell.low {
    background: #fff4d8;
    border-color: #e7c76c;
}

.hbs-calendar-cell.closed {
    color: #7c4940;
    background: #fae8e4;
    border-color: #e8b6aa;
}

.hbs-marketing-shell {
    min-height: 100vh;
    background: white;
}

.hbs-marketing-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hbs-marketing-hero > img,
.hbs-marketing-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hbs-marketing-hero > img {
    object-fit: cover;
}

.hbs-marketing-hero-shade {
    background: linear-gradient(90deg, rgba(10, 28, 23, 0.88) 0%, rgba(10, 28, 23, 0.3) 72%);
}

.hbs-marketing-hero-copy {
    position: relative;
    z-index: 1;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hbs-marketing-hero-copy h1 {
    max-width: 780px;
    font-family: Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: 1;
}

.hbs-marketing-hero-copy p:not(.hbs-eyebrow) {
    max-width: 660px;
    font-size: 1.2rem;
}

.hbs-marketing-section-muted {
    background: #edf2ef;
}

.hbs-product-shot {
    width: 100%;
    border: 1px solid var(--hbs-line);
    border-radius: var(--hbs-radius);
    box-shadow: 0 24px 60px rgba(17, 42, 34, 0.16);
}

.hbs-check-list {
    padding: 0;
    list-style: none;
}

.hbs-check-list li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.65rem;
}

.hbs-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--hbs-green-2);
    font-weight: 700;
}

.hbs-section-heading {
    max-width: 620px;
    margin-bottom: 2rem;
}

.hbs-marketing-feature > .material-symbols-outlined {
    color: var(--hbs-coral);
    font-size: 2rem;
}

.hbs-marketing-cta {
    padding: 5rem 0;
    color: white;
    text-align: center;
    background: var(--hbs-green);
}

.hbs-marketing-cta p {
    color: #d9e5e0;
}

@media (max-width: 1199.98px) {
    .hbs-kpi-grid {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
    }

    .hbs-housekeeping-board {
        grid-template-columns: repeat(4, 280px);
    }
}

@media (max-width: 991.98px) {
    .hbs-search-form {
        grid-template-columns: 1fr 1fr;
    }

    .hbs-search-destination,
    .hbs-search-submit {
        grid-column: 1 / -1;
    }

    .hbs-marketing-hero {
        min-height: 650px;
    }
}

@media (max-width: 767.98px) {
    .hbs-main,
    .hbs-footer {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }

    .hbs-header-inner {
        min-height: 58px;
    }

    .hbs-search-hero {
        min-height: 620px;
        align-items: flex-end;
    }

    .hbs-search-form {
        grid-template-columns: 1fr;
    }

    .hbs-search-form > * {
        grid-column: 1;
    }

    .hbs-hotel-card,
    .hbs-room-card {
        grid-template-columns: 1fr;
    }

    .hbs-hotel-image-link,
    .hbs-room-image {
        min-height: 210px;
    }

    .hbs-workspace-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .hbs-workspace-picker,
    .hbs-date-control {
        width: 100%;
    }

    .hbs-kpi-grid {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }

    .hbs-message-composer {
        grid-template-columns: 1fr;
    }

    .hbs-marketing-hero {
        min-height: 600px;
    }
}
