@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Space+Grotesk:wght@300..700&display=swap');

:root {
    color-scheme: light;
    --canvas: #f9fafb;
    --surface: #ffffff;
    --text: #030712;
    --muted: #6b7280;
    --border: #e5e7eb;
    --brand: #000000;
    --success-bg: #ecfdf5;
    --success-text: #047857;
    --error-bg: #fef2f2;
    --error-text: #dc2626;
    --header-scroll-offset: 4.5rem;
    --site-header-height: 4rem;
    --input-bg: #f9fafb;
    --input-border: var(--border);
    --input-radius: 0.75rem;
    --input-padding-y: 0.65rem;
    --input-padding-x: 0.875rem;
    --input-font-size: 0.8125rem;
}

html {
    scroll-padding-top: var(--header-scroll-offset);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    background: var(--canvas);
    color: var(--text);
    line-height: 1.5;
}

::selection {
    background: #000;
    color: #fff;
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid #f3f4f6;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
}

.site-header-inner,
.page-wrap {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .site-header-inner,
    .page-wrap {
        padding: 0 1.5rem;
    }
}

.site-header-inner {
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (max-width: 639px) {
    :root {
        --header-scroll-offset: 8.5rem;
        --site-header-height: 5.25rem;
    }

    .site-header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand account"
            "sections sections";
        align-items: center;
        row-gap: 0.625rem;
        column-gap: 0.75rem;
        padding-top: 0.625rem;
        padding-bottom: 0.625rem;
    }

    .site-header-inner:not(:has(.nav-section-links)) {
        grid-template-areas: "brand account";
    }

    .brand {
        grid-area: brand;
    }

    .nav-account-links {
        grid-area: account;
        justify-self: end;
    }

    .nav-section-links {
        grid-area: sections;
        width: 100%;
        justify-content: flex-end;
        justify-self: end;
        padding-top: 0.625rem;
        border-top: 1px solid #f3f4f6;
        border-right: none;
        padding-right: 0;
    }

    .nav-account-links .btn {
        padding: 0.5rem 0.75rem;
    }
}

@media (min-width: 640px) {
    .site-header-inner {
        justify-content: flex-end;
    }

    .brand {
        margin-right: auto;
    }

    .nav-section-links {
        margin-left: 0;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.brand-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.5625rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.nav-section-links,
.nav-account-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .nav-section-links {
        padding-right: 1rem;
        border-right: 1px solid #e5e7eb;
    }
}

.nav-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link:hover {
    color: #000;
}

.admin-subnav-wrap {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    position: sticky;
    top: var(--site-header-height);
    z-index: 30;
}

.admin-page-header {
    margin-bottom: 1.5rem;
}

.admin-page-header .section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.admin-page-header .lead {
    margin-bottom: 0;
}

.admin-page-header + .lead {
    margin: 0 0 1.5rem;
}

.partner-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.admin-page {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.admin-page .card + .card {
    margin-top: 1rem;
}

.card-section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.card-section-heading .section-title {
    font-size: 1rem;
}

.card-section-heading .micro-label {
    margin: 0;
}

.admin-subnav-wrap .page-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.admin-subnav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.admin-subnav-secondary {
    padding-top: 0;
    padding-bottom: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

.admin-subnav-link {
    flex: 0 0 auto;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #6b7280;
    white-space: nowrap;
}

.admin-subnav-link-secondary {
    font-size: 0.5625rem;
    padding: 0.3rem 0.625rem;
    color: #9ca3af;
}

.admin-subnav-link:hover {
    color: #000;
    background: #f9fafb;
}

.admin-subnav-link.is-active {
    color: #fff;
    background: #000;
}

.admin-subnav-link-secondary.is-active {
    color: #000;
    background: #f3f4f6;
}

.pricing-tier-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 900px) {
    .pricing-tier-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #000;
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    background: #1f2937;
}

.btn-secondary {
    background: #fff;
    color: #374151;
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: #000;
}

main {
    flex: 1;
    padding: 2rem 0 3rem;
}

main:has(.admin-subnav-wrap) {
    padding-top: 0;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
}

.card + .card {
    margin-top: 1rem;
}

/*
 * Site-wide: side-by-side cards in grids/layouts must share row height.
 * Applies to any *-grid / *-layout with direct .card children (bookings, checkout, pricing, etc.).
 */
:where([class*='-grid'], [class*='-layout'], .faq-list):has(> .card) {
    align-items: stretch;
}

:where([class*='-grid'], [class*='-layout'], .faq-list):has(> .card) > .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    margin-top: 0;
}

:where([class*='-grid'], [class*='-layout'], .faq-list):has(> .card) > .card + .card {
    margin-top: 0;
}

.micro-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
}

.lead {
    color: var(--muted);
    font-size: 0.9375rem;
    margin: 0 0 1.5rem;
}

.alert {
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.alert-error {
    background: var(--error-bg);
    color: var(--error-text);
    border: 1px solid #fecaca;
}

.alert-success {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid #d1fae5;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.checkout-auth-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
}

.checkout-gate-layout {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.checkout-gate-main {
    min-width: 0;
}

.checkout-auth-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 0;
}

.checkout-auth-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
}

.checkout-auth-lead {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #4b5563;
    margin: 0 0 1rem;
}

.checkout-auth-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.checkout-auth-submit {
    margin-top: auto;
}

.square-card-container {
    min-height: 7rem;
    margin: 1rem 0 1.25rem;
}

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

@media (min-width: 1024px) {
    .checkout-gate-layout {
        grid-template-columns: minmax(0, 1fr) min(22rem, 34%);
        align-items: stretch;
    }

    .checkout-gate-layout .price-panel {
        position: sticky;
        top: calc(var(--header-scroll-offset) + 0.75rem);
        height: 100%;
    }
}

.address-fieldset {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 0;
}

.address-fieldset legend {
    padding: 0 0.25rem;
}

.checkbox-inline {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.8125rem;
}

.checkbox-inline input {
    width: auto;
    margin-top: 0.15rem;
}

.checkout-profile-pref {
    display: grid;
    gap: 0.35rem;
}

.checkout-profile-pref-note {
    font-size: 0.75rem;
    margin: 0;
    color: #6b7280;
    padding-left: 1.35rem;
}

.checkout-submit-block {
    display: grid;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.checkout-agreement {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.875rem;
    line-height: 1.5;
}

.checkout-agreement input {
    width: auto;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.checkout-agreement a {
    font-weight: 600;
}

.checkout-submit-btn {
    width: 100%;
}

.agreement-modal[hidden] {
    display: none;
}

.agreement-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.agreement-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
}

.agreement-modal-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto 1fr auto;
    width: min(720px, 100%);
    max-height: min(85vh, 900px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.agreement-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.agreement-modal-title {
    margin: 0.25rem 0 0;
    font-size: 1.125rem;
}

.agreement-modal-version {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    color: #6b7280;
}

.agreement-modal-close {
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
}

.agreement-modal-body {
    margin: 0;
    padding: 1rem 1.25rem;
    overflow: auto;
}

.agreement-modal-body .agreement-version-footer {
    margin-top: 1rem;
    padding-top: 0.875rem;
}

.agreement-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
    background: #fafafa;
}

.payment-method-section {
    display: grid;
    gap: 0.75rem;
}

.payment-method-options {
    display: grid;
    gap: 0.75rem;
}

.payment-method-option {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.875rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    cursor: pointer;
    background: #fff;
}

.payment-method-option:has(input:checked) {
    border-color: #111827;
    box-shadow: 0 0 0 1px #111827;
}

.payment-method-option input {
    width: auto;
    margin-top: 0.15rem;
}

.payment-method-copy {
    display: grid;
    gap: 0.25rem;
    font-size: 0.8125rem;
}

.payment-method-copy strong {
    font-size: 0.875rem;
    color: #111827;
}

.payment-method-copy span {
    color: #6b7280;
    line-height: 1.45;
}

.payment-method-card,
.payment-instructions-card {
    max-width: 40rem;
}

.payment-instructions-grid {
    display: grid;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.payment-instruction {
    display: grid;
    gap: 0.25rem;
    padding: 0.875rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #f9fafb;
}

.payment-instruction-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.payment-steps {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.55;
}

.payment-steps li + li {
    margin-top: 0.5rem;
}

.payment-instructions-footnote {
    font-size: 0.8125rem;
    margin: 1rem 0;
}

label span {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.35rem;
}

input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='file']):not([type='button']):not([type='submit']):not([type='reset']):not([type='image']),
select,
textarea {
    width: 100%;
    border: 1px solid var(--input-border);
    border-radius: var(--input-radius);
    background: var(--input-bg);
    padding: var(--input-padding-y) var(--input-padding-x);
    font-size: var(--input-font-size);
    font-family: inherit;
    color: inherit;
    line-height: 1.4;
}

input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='file']):not([type='button']):not([type='submit']):not([type='reset']):not([type='image']):focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #000;
}

input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='file']):not([type='button']):not([type='submit']):not([type='reset']):not([type='image']):disabled,
select:disabled,
textarea:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    background: #f3f4f6;
}

textarea {
    min-height: 4rem;
    resize: vertical;
}

.admin-input-compact {
    width: auto;
    min-width: 10rem;
    max-width: 100%;
}

.stats-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

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

.stats-grid .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.35rem;
    height: 6rem;
    min-width: 0;
    margin-top: 0;
}

.stats-grid .card + .card {
    margin-top: 0;
}

.stats-grid .micro-label {
    margin-bottom: 0;
    line-height: 1.35;
}

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 0;
}

.table-wrap {
    overflow-x: auto;
}

.notifications-rules-table {
    table-layout: fixed;
}

.notifications-rules-table th:nth-child(2),
.notifications-rules-table th:nth-child(3),
.notifications-rules-table td:nth-child(2),
.notifications-rules-table td:nth-child(3) {
    width: 9rem;
    text-align: center;
    vertical-align: middle;
}

.notifications-rules-table .checkbox-inline {
    justify-content: center;
}

.notifications-rules-table .checkbox-inline input {
    margin-top: 0;
}

.notifications-group-row td {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding-top: 1.1rem;
    padding-bottom: 0.45rem;
}

.notifications-rules-table tbody tr:first-child.notifications-group-row td {
    padding-top: 0.55rem;
}

.notifications-group-title {
    font-size: 0.875rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.notifications-rules-form .btn-primary {
    margin-top: 1rem;
}

.notification-preview-trigger {
    appearance: none;
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    color: #1d4ed8;
    text-align: left;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.notification-preview-trigger:hover {
    color: #1e3a8a;
}

.notification-preview-modal[hidden] {
    display: none;
}

.notification-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.notification-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
}

.notification-preview-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100vh - 2rem);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.notification-preview-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.notification-preview-body {
    flex: 1;
    min-height: 320px;
    background: #f9fafb;
}

.notification-preview-frame {
    width: 100%;
    height: min(70vh, 640px);
    border: 0;
    background: #f9fafb;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

th,
td {
    text-align: left;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
}

th {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.15rem 0.55rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-active {
    background: #ecfdf5;
    color: #047857;
}

.badge-muted {
    background: #f3f4f6;
    color: #6b7280;
}

.badge-info {
    background: #eff6ff;
    color: #1d4ed8;
}

.badge-warning {
    background: #fffbeb;
    color: #b45309;
}

.admin-booking-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-booking-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 0.5rem 0.75rem;
    align-items: center;
    padding: 0.875rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.admin-booking-row:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.admin-booking-row-main {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.admin-booking-ref {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.admin-booking-subtitle {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8125rem;
    color: #4b5563;
    line-height: 1.35;
}

.admin-booking-sort-meta {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.6875rem;
    color: #9ca3af;
}

.admin-booking-row-attention {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.admin-booking-row-cta {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    pointer-events: none;
}

.admin-attention-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.2rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.admin-attention-chip--urgent {
    background: #fef2f2;
    color: #b91c1c;
}

.admin-attention-chip--warn {
    background: #fffbeb;
    color: #b45309;
}

.admin-attention-chip--info {
    background: #eff6ff;
    color: #1d4ed8;
}

.admin-booking-attention-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.admin-booking-detail-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .admin-booking-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.admin-booking-detail-span {
    grid-column: 1 / -1;
}

.admin-deposit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.admin-ledger-square {
    white-space: nowrap;
    vertical-align: middle;
}

.admin-square-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1;
}

.admin-payment-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.admin-payment-section .micro-label {
    margin-bottom: 0.35rem;
}

.admin-payment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.admin-detail-line {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: #111827;
}

.admin-detail-meta {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.35;
}

.admin-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-detail-action-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

.admin-detail-action-block:first-child {
    padding-top: 0;
    border-top: none;
}

.admin-detail-action-block--muted {
    opacity: 0.9;
}

.admin-verify-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-verify-item {
    padding: 0.5rem 0.65rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.35;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.admin-verify-item--urgent {
    background: #fef2f2;
    border-color: #fecaca;
}

.admin-verify-item--warn {
    background: #fffbeb;
    border-color: #fde68a;
}

.admin-verify-item--info {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.admin-ledger-table {
    width: 100%;
    margin-top: 0.5rem;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.admin-ledger-table th,
.admin-ledger-table td {
    padding: 0.5rem 0.4rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #f3f4f6;
}

.admin-ledger-table th {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
}

.admin-ledger-at {
    white-space: nowrap;
    font-size: 0.75rem;
}

.admin-ledger-amount--credit {
    color: #047857;
}

.admin-ledger-amount--hold {
    color: #b45309;
}

.admin-cancel-refund-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8125rem;
}

.admin-cancel-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
}

.admin-bookings-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.admin-bookings-filters a {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    color: #374151;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.admin-bookings-filters a.is-active {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

.admin-bookings-wrap {
    -webkit-overflow-scrolling: touch;
}

.admin-bookings-table {
    width: 100%;
    table-layout: fixed;
    min-width: 58rem;
}

.admin-bookings-table th,
.admin-bookings-table td {
    padding: 0.65rem 0.4rem;
    vertical-align: top;
}

.admin-bookings-table th:nth-child(1),
.admin-bookings-table td:nth-child(1) {
    width: 5.5rem;
    padding-right: 0.25rem;
}

.admin-bookings-table th:nth-child(2),
.admin-bookings-table td:nth-child(2) {
    width: 6.75rem;
    padding-left: 0.25rem;
    padding-right: 0.35rem;
}

.admin-bookings-table th:nth-child(3),
.admin-bookings-table td:nth-child(3) {
    width: 8.5rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

.admin-bookings-table th:nth-child(4),
.admin-bookings-table td:nth-child(4) {
    width: 11.5rem;
    padding-left: 0.35rem;
    padding-right: 0.25rem;
}

.admin-bookings-table th:nth-child(5),
.admin-bookings-table td:nth-child(5) {
    width: 7.25rem;
    padding-left: 0.25rem;
    padding-right: 0.35rem;
}

.admin-bookings-table th:nth-child(6),
.admin-bookings-table td:nth-child(6) {
    width: 8.5rem;
    padding-left: 0.35rem;
}

.admin-bookings-code,
.admin-bookings-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.8125rem;
    line-height: 1.3;
}

.admin-bookings-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-bookings-dates {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-weight: 600;
    color: #111827;
    font-size: 0.75rem;
    line-height: 1.25;
}

.admin-bookings-date-line--end::before {
    content: '→ ';
    color: #9ca3af;
    font-weight: 400;
}

/* Shared line rhythm across booking table columns */
.admin-bookings-cell-head {
    margin: 0 0 0.35rem;
    min-height: 2.05rem;
}

.admin-bookings-meta {
    margin: 0;
    color: #9ca3af;
    font-size: 0.6875rem;
    line-height: 1.3;
    word-break: break-word;
}

.admin-bookings-cell-head + .admin-bookings-meta,
.admin-bookings-meta + .admin-bookings-meta,
.admin-bookings-code + .admin-bookings-meta {
    margin-top: 0.2rem;
}

.admin-bookings-payment {
    font-size: 0.8125rem;
    line-height: 1.25;
}

.admin-bookings-payment .admin-pay-lines {
    gap: 0.3rem;
}

.admin-pay-flow {
    color: #6b7280;
    font-size: 0.6875rem;
    line-height: 1.3;
    margin-bottom: 0;
}

.admin-pay-lines {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.admin-pay-lines li {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 0.5rem;
    align-items: start;
}

.admin-pay-label {
    color: #9ca3af;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-top: 0.1rem;
}

.admin-pay-value {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.admin-pay-value .mono {
    font-weight: 700;
    color: #111827;
}

.admin-pay-state {
    color: #4b5563;
    font-size: 0.6875rem;
    line-height: 1.3;
}

.admin-pay-total {
    margin-top: 0.35rem;
    padding-top: 0;
    border-top: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151;
    line-height: 1.25;
}

.admin-pay-alert {
    margin-top: 0.45rem;
    color: #b45309;
    font-size: 0.75rem;
    font-weight: 700;
}

.admin-bookings-status .badge {
    font-size: 0.625rem;
    padding: 0.15rem 0.45rem;
    line-height: 1.2;
}

.admin-bookings-status .admin-bookings-meta {
    font-size: 0.6875rem;
    line-height: 1.3;
}

.admin-bookings-actions {
    min-width: 8.5rem;
}

.admin-stage-move {
    margin-bottom: 0.35rem;
    padding: 0.45rem 0.5rem;
    border-radius: 0.5rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.admin-stage-move-route {
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    word-break: break-word;
}

.admin-stage-move .admin-bookings-meta {
    margin-top: 0.15rem;
}

.admin-actions-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
}

.btn-compact {
    padding: 0.45rem 0.65rem;
    font-size: 0.6875rem;
    border-radius: 0.5rem;
    width: 100%;
}

.site-footer {
    border-top: 1px solid #f3f4f6;
    background: #fff;
    padding: 2rem 0;
    color: #9ca3af;
    font-size: 0.75rem;
}

.site-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
}

.site-footer-dev-notes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 0.7rem;
    font-variant-numeric: tabular-nums;
}

.site-footer-version-link {
    font-weight: 600;
    text-decoration: none;
}

.site-footer-version-link:hover {
    text-decoration: underline;
}

.site-footer-version-link.version-badge--current {
    color: #92400e;
}

.site-footer-version-link.version-badge--ahead {
    color: #047857;
}

.site-footer-version-link.version-badge--behind {
    color: #b91c1c;
}

.site-footer-dev-sep {
    opacity: 0.6;
}

.version-registry {
    max-width: 56rem;
    margin: 0 auto;
}

.version-registry-header {
    margin-bottom: 2rem;
}

.version-registry-header h1 {
    margin: 0.25rem 0 0.5rem;
}

.version-registry-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-top: 0.75rem;
    max-width: 48rem;
}

.version-registry-hint {
    margin-top: 0.5rem;
    max-width: 40rem;
}

.version-badge {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.version-badge--current {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.version-badge--ahead {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #047857;
}

.version-badge--behind {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
}

.version-registry-table a {
    color: #b45309;
    font-weight: 500;
}

.version-registry-table a:hover {
    text-decoration: underline;
}

.version-registry-table a code {
    color: inherit;
}

.version-registry-open-cell {
    white-space: nowrap;
}

.version-registry-open-link {
    font-size: 0.8125rem;
    font-weight: 600;
}

.hero {
    max-width: 42rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.hero-compact {
    margin-bottom: 2.5rem;
}

.hero-compact h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.hero-signed-in {
    margin: 1rem 0 0;
}

.home-section {
    margin-bottom: 3rem;
}

.section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.03em;
    margin: 0;
}

.section-heading .micro-label {
    margin: 0;
}

.pricing-display-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
    align-items: stretch;
}

@media (min-width: 640px) {
    .pricing-display-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

.pricing-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    height: 100%;
    min-height: 9.5rem;
}

.pricing-card-special {
    border-color: #d1d5db;
}

.pricing-card-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.pricing-card-days {
    font-size: 0.8125rem;
    color: #9ca3af;
    min-height: 1.25rem;
}

.pricing-card-rate {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.pricing-card-unit {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
}

.pricing-card-notes {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: var(--muted);
    line-height: 1.45;
    flex-grow: 1;
}

.pricing-card-notes-spacer {
    visibility: hidden;
}

.pricing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: #374151;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.9375rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    float: right;
    font-family: 'JetBrains Mono', monospace;
    color: #9ca3af;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin: 0;
    padding: 0 1.25rem 1.25rem;
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.55;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 0 0 1rem;
}

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

.auth-card {
    max-width: 28rem;
    margin: 0 auto;
}

.auth-footnote {
    font-size: 0.8125rem;
    margin: 1rem 0 0;
    color: var(--muted);
}

.auth-remember {
    margin: 0;
}

.field-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.35rem;
    line-height: 1.4;
}

.pickup-schedule-lead {
    font-size: 0.875rem;
    margin: 0 0 0.75rem;
}

.pickup-schedule-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.pickup-schedule-date {
    font-size: 0.875rem;
    color: var(--muted);
}

.pickup-schedule-time {
    margin: 0;
}

.pickup-time-select {
    width: 9rem;
    min-width: 9rem;
    max-width: 9rem;
}

.center-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.calendar-layout {
    display: grid;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .calendar-layout {
        grid-template-columns: 2fr 1fr;
        align-items: stretch;
    }

    .calendar-sidebar {
        position: sticky;
        top: calc(var(--header-scroll-offset) + 0.75rem);
    }
}

.calendar-controls {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.calendar-sidebar .location-pickup-info {
    margin-top: 1rem;
    padding: 0.875rem 0 0;
    border-top: 1px solid var(--border);
    background: transparent;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-radius: 0;
}

.location-pickup-info {
    grid-column: 1 / -1;
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    background: #f9fafb;
    padding: 0.875rem 1rem;
}

.location-pickup-info-static {
    margin-bottom: 1rem;
}

.location-pickup-info-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.35rem;
}

.location-pickup-info-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.location-pickup-info-address,
.location-pickup-info-instructions {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.45;
}

.location-pickup-info-instructions {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
    .calendar-controls {
        grid-template-columns: 1fr 1fr;
    }
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    grid-column: 1 / -1;
}

.calendar-month-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
}

.calendar-weekday {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    text-transform: uppercase;
    color: #9ca3af;
    text-align: center;
    padding: 0.25rem 0;
}

.calendar-day,
.calendar-day-empty {
    aspect-ratio: 1;
    border-radius: 0.65rem;
    border: 1px solid #f3f4f6;
}

.calendar-day-empty {
    background: transparent;
    border-color: transparent;
}

.calendar-day {
    background: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    line-height: 1.2;
    cursor: pointer;
    padding: 0.25rem;
}

.calendar-day.is-available:hover {
    border-color: #000;
}

.calendar-day.is-blocked {
    background: #fef2f2;
    color: #fca5a5;
    text-decoration: line-through;
    cursor: not-allowed;
}

.calendar-day.is-start,
.calendar-day.is-end {
    background: #000;
    color: #fff;
    border-color: #000;
}

.calendar-day.is-range {
    background: #f3f4f6;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.legend-dot {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 0.25rem;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.legend-available {
    background: #fff;
    border: 1px solid #e5e7eb;
}

.legend-blocked {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.legend-selected {
    background: #000;
}

.selection-summary {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #374151;
}

.summary-dates {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.summary-dates span {
    display: inline-block;
    min-width: 4.5rem;
    color: #9ca3af;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.summary-empty {
    margin: 0;
    color: var(--muted);
    font-size: 0.8125rem;
}

.summary-quote {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.summary-quote-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.summary-quote-custom {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.875rem;
    margin-top: 0.25rem;
}

.calendar-sidebar .quote-lines {
    margin-bottom: 0.75rem;
}

.calendar-sidebar .quote-total {
    font-size: 0.9375rem;
}

.calendar-loading {
    font-size: 0.875rem;
    color: #6b7280;
}

.form-row {
    display: grid;
    gap: 1rem;
}

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

.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: end;
}

.inline-form label {
    flex: 1 1 10rem;
}

.price-panel {
    background: #fffbeb;
    border-color: #fde68a;
}

.quote-lines {
    display: grid;
    gap: 0.5rem;
    font-size: 0.8125rem;
}

.quote-lines div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.quote-lines span {
    color: #92400e;
}

.quote-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #fde68a;
    font-size: 1.125rem;
}

.agreement-text {
    white-space: pre-wrap;
    font-family: Inter, sans-serif;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #374151;
}

.agreement-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.agreement-admin-tools {
    margin-bottom: 1rem;
    display: grid;
    gap: 0.75rem;
}

.agreement-admin-tools-lead {
    margin: 0;
    font-size: 0.875rem;
}

.agreement-admin-tools-form {
    margin: 0;
}

.agreement-body {
    font-family: Inter, sans-serif;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #374151;
}

.agreement-body .agreement-heading {
    margin: 1.5rem 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.agreement-body .agreement-heading:first-child {
    margin-top: 0;
}

.agreement-body .agreement-paragraph {
    margin: 0 0 0.875rem;
}

.agreement-body .agreement-list {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.agreement-body .agreement-list li {
    margin-bottom: 0.5rem;
}

.agreement-table-wrap {
    overflow-x: auto;
    margin: 0 0 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
}

.agreement-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.agreement-table th,
.agreement-table td {
    padding: 0.625rem 0.75rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}

.agreement-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
}

.agreement-table tbody tr:last-child td {
    border-bottom: 0;
}

.agreement-version-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: #6b7280;
    text-align: right;
}

.booking-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.booking-list-card {
    display: block;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: var(--surface);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.booking-list-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.booking-list-card--action {
    border-color: #fde68a;
    background: #fffbeb;
}

.booking-list-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.booking-list-ref {
    font-size: 1.125rem;
    font-weight: 600;
}

.booking-list-dates {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
}

.booking-list-meta {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: var(--muted);
}

.booking-list-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

.booking-list-cta {
    font-size: 0.8125rem;
    color: var(--muted);
}

.booking-list-hint {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: #b45309;
}

.booking-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.booking-detail-grid {
    display: grid;
    gap: 1rem;
}

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

    .booking-detail-grid .booking-detail-panel:last-child {
        grid-column: 1 / -1;
    }
}

.booking-detail-panel {
    padding: 1.25rem;
}

.booking-detail-heading {
    margin: 0.5rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.booking-detail-line {
    margin: 0.25rem 0;
    font-size: 0.875rem;
    color: #374151;
}

.booking-detail-meta {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: var(--muted);
}

.payment-timeline {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-step {
    padding: 0.75rem 0.875rem;
    border-radius: 0.5rem;
    border: 1px solid #f3f4f6;
    background: #fafafa;
}

.payment-step--done {
    border-color: #a7f3d0;
    background: var(--success-bg);
}

.payment-step--active {
    border-color: #93c5fd;
    background: #eff6ff;
}

.payment-step--scheduled {
    border-color: #fde68a;
    background: #fffbeb;
}

.payment-step--failed {
    border-color: #fecaca;
    background: var(--error-bg);
}

.payment-step--refunded,
.payment-step--pending {
    border-color: #e5e7eb;
    background: #f9fafb;
}

.payment-step-main {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
}

.payment-step-label {
    font-weight: 600;
    font-size: 0.875rem;
}

.payment-step-amount {
    font-size: 0.9375rem;
}

.payment-step-detail {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: var(--muted);
}

.cancel-policy-box {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.cancel-policy-box--pending {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.cancel-policy-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.8125rem;
    color: #374151;
}

.cancel-policy-list li {
    margin-bottom: 0.35rem;
}

