h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.listing-gallery-shell {
    position: relative;
    background: #1E2933;
    border-radius: 16px;
    overflow: hidden;
}

.listing-gallery-image {
    width: 100%;
    height: 520px;
    object-fit: contain;
    display: block;
}

/* Only the public detail page's large images use this fitting policy. */
.gc-public-listing-page .listing-detail-main-image {
    height: 420px;
    margin-bottom: 24px;
    background: #EEF2EA;
}

.gc-public-listing-page .listing-detail-main-image > .gc-listing-image,
.gc-public-listing-page .listing-gallery-image {
    object-fit: scale-down;
    object-position: center;
    aspect-ratio: auto;
}

.gc-public-listing-page .listing-detail-main-image > .gc-listing-image {
    width: 100%;
    height: 100%;
}

.listing-gallery-navigation {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 0 4px;
}

.listing-gallery-thumbnails {
    margin-top: 0;
    margin-bottom: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    padding-bottom: 6px;
}

.listing-gallery-thumbnail {
    flex: 0 0 auto;
    width: 104px;
    height: 76px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid #d1d5db;
    opacity: 0.75;
}

.listing-gallery-arrow {
    background: rgba(255,255,255,0.96);
    border: 2px solid #1D5A35;
    width: 52px;
    height: 52px;
}

    .listing-gallery-arrow:hover {
        transform: scale(1.05);
    }

.listing-gallery-thumbnail-active {
    border-color: #BFD84E;
    opacity: 1;
}

@media (max-width: 960px) {
    .listing-gallery-image {
        height: 480px;
    }
}

@media (max-width: 600px) {
    .listing-gallery-image {
        height: 320px;
    }

    .listing-gallery-thumbnail {
        width: 86px;
        height: 64px;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

html,
body {
    background: #F6F7F3;
    color: #2C2E30;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gc-select-date-header {
    width: 100%;
}

.gc-availability-header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

@media (max-width: 959.98px) {
    .gc-availability-header-actions {
        justify-content: flex-start;
    }
}

.gc-bulk-slot-left {
    padding-right: 24px;
}

.gc-bulk-divider {
    display: flex;
    justify-content: center;
}

.gc-bulk-divider-line {
    width: 1px;
    height: 75%;
    margin-top: 40px;
    background: rgba(0,0,0,.12);
}

/* -------------------------------------------------
   Layout
------------------------------------------------- */

.main-content {
    padding-top: 1rem;
    padding-bottom: 3rem;
}

.gc-main-container {
    max-width: 960px !important;
}

/* The batch preview opts into extra width without changing other CRM pages. */
.gc-main-container:has(.crm-import-page) {
    max-width: 1440px !important;
}

/* Prospect details uses a 1200px content area without widening other Admin pages. */
.gc-main-container:has(.crm-prospect-details-page) {
    max-width: 1248px !important;
}

.mud-main-content {
    min-height: calc(100vh - 64px);
}

/* -------------------------------------------------
   Desktop Density
------------------------------------------------- */

@media (min-width: 960px) {

    .mud-appbar .mud-toolbar {
        min-height: 50px !important;
        height: 50px !important;
    }

    .mud-main-content {
        min-height: calc(100vh - 50px);
    }

    .main-content {
        padding-top: 0.75rem;
        padding-bottom: 2rem;
    }

    .mud-card,
    .gc-soft-surface {
        border-radius: 12px !important;
    }

    .gc-calendar-day {
        min-height: 60px;
        border-radius: 9px;
        padding: 5px 3px;
    }

    .gc-profile-avatar {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
    }

    .business-cover-thumbnail {
        height: 140px;
    }

    .gc-auth-input {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .passkey-name-input {
        min-height: 42px;
        padding: 9px 11px;
    }
}

/* -------------------------------------------------
   App Bar
------------------------------------------------- */

.mud-appbar {
    background: linear-gradient(90deg, #124B2C 0%, #1D5A35 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-left: 12px;
    padding-right: 12px;
}

.gc-logo {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
}

.mud-appbar .mud-button {
    border-radius: 10px;
    transition: background-color .18s ease;
}

    .mud-appbar .mud-button:hover {
        background: rgba(255,255,255,.08);
    }

/* Normalize only desktop header controls; menu panels and mobile sizing stay unchanged. */
@media (min-width: 960px) {
    .gc-main-header .mud-button-root.gc-header-nav-item,
    .gc-main-header .gc-header-nav-item > .mud-button-root {
        display: inline-flex;
        align-items: center;
        height: 36px;
        min-height: 36px;
        padding-top: 4px;
        padding-bottom: 4px;
        font-size: var(--mud-typography-button-size);
        line-height: var(--mud-typography-button-lineheight);
        white-space: nowrap;
    }

    .gc-main-header .gc-user-greeting .mud-typography {
        font-size: inherit;
        line-height: inherit;
    }
}

/* -------------------------------------------------
   Cards
------------------------------------------------- */

.mud-card {
    border-radius: 18px !important;
    border: 1px solid #DDE3D8;
    box-shadow: 0 2px 6px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.03) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

    .mud-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,.05), 0 14px 32px rgba(0,0,0,.06) !important;
        border-color: #C9D9B6;
    }

.gc-featured-card {
    border-color: #C8D98A !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.05), 0 10px 28px rgba(191,216,78,.12) !important;
}

/* -------------------------------------------------
   Buttons
------------------------------------------------- */

.mud-button-filled.mud-button-filled-primary {
    background-color: #1D5A35 !important;
}

.mud-button-filled.mud-button-filled-secondary {
    background-color: #BFD84E !important;
    color: #1B1B1B !important;
}

.mud-button-outlined:hover {
    background-color: #EEF2EA !important;
}

/* -------------------------------------------------
   Chips
------------------------------------------------- */

.gc-featured-chip {
    background: #BFD84E !important;
    color: #243018 !important;
    font-weight: 700;
}

.gc-pro-chip {
    background: #E9F2D0 !important;
    color: #1D5A35 !important;
    font-weight: 600;
}

/* Purchased-plan chips: shared colors and wrapping for full plan names. */
.mud-chip.gc-pricing-chip {
    background-color: var(--gc-pricing-chip-background, #E2E8F0) !important;
    color: var(--gc-pricing-chip-foreground, #1F2937) !important;
    height: auto !important;
    min-height: 24px;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 4px 12px;
    font-weight: 700;
    white-space: normal;
}

.mud-chip.gc-pricing-chip .mud-chip-content {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.gc-pricing-chip-green {
    --gc-pricing-chip-background: #2E7D32;
    --gc-pricing-chip-foreground: #FFFFFF;
}

.gc-pricing-chip-blue {
    --gc-pricing-chip-background: #1565C0;
    --gc-pricing-chip-foreground: #FFFFFF;
}

.gc-pricing-chip-bronze {
    --gc-pricing-chip-background: #CD7F32;
    --gc-pricing-chip-foreground: #1F2937;
}

.gc-pricing-chip-silver {
    --gc-pricing-chip-background: #C0C0C0;
    --gc-pricing-chip-foreground: #1F2937;
}

.gc-pricing-chip-gold {
    --gc-pricing-chip-background: #FFD700;
    --gc-pricing-chip-foreground: #1F2937;
}

/* -------------------------------------------------
   Listing Cards
------------------------------------------------- */

.gc-listing-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    background: #EEF2EA;
}

.gc-listing-image-placeholder {
    object-fit: contain;
    padding: 18px;
    background: #EEF2EA;
}

.gc-listing-title {
    font-weight: 700;
    color: #1F2933;
}

.gc-listing-location {
    color: #7A7D82;
}

.gc-listing-description {
    color: #52565A;
}

.gc-line-clamp-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gc-line-clamp-2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gc-listing-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "main tier"
        "meta inquiry";
    column-gap: 24px;
    row-gap: 12px;
    align-items: start;
}

.gc-listing-header-main {
    grid-area: main;
    min-width: 0;
}

.gc-listing-header-tier {
    grid-area: tier;
    justify-self: end;
}

.gc-listing-header-meta {
    grid-area: meta;
    min-width: 0;
}

.gc-listing-header-inquiry {
    grid-area: inquiry;
    justify-self: end;
    align-self: center;
}

@media (max-width: 959.98px) {
    .gc-listing-header {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "tier"
            "meta"
            "inquiry";
    }

    .gc-listing-header-tier,
    .gc-listing-header-inquiry {
        justify-self: start;
    }
}

/* -------------------------------------------------
   Links
------------------------------------------------- */

a {
    color: #1D5A35;
}

    a:hover {
        color: #124B2C;
    }

/* -------------------------------------------------
   Footer
------------------------------------------------- */

.gc-footer {
    background: #FFFFFF;
    border-top: 1px solid #DDE3D8;
}

/* -------------------------------------------------
   Utilities
------------------------------------------------- */

.gc-soft-surface {
    background: #FFFFFF;
    border: 1px solid #DDE3D8;
    border-radius: 18px;
}

.gc-page-title {
    font-weight: 700;
    color: #1D5A35;
}

.gc-subtitle {
    color: #6E7175;
}

.gc-calendar-day {
    min-height: 74px;
    border-radius: 12px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.gc-calendar-day-clickable {
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

    .gc-calendar-day-clickable:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0,0,0,.08);
    }

.gc-calendar-day-empty {
    background: transparent;
    border: 1px solid transparent;
}

.gc-calendar-day-today {
    outline: 2px solid #1D5A35;
    outline-offset: 2px;
}

.gc-calendar-day-past {
    opacity: .55;
}

.gc-availability-available {
    background: #E9F5E8 !important;
    color: #1D5A35 !important;
    border: 1px solid #86C287 !important;
}

.gc-availability-limited {
    background: #FFF7D6 !important;
    color: #6F5800 !important;
    border: 1px solid #E4C65A !important;
}

.gc-availability-booked {
    background: #F3F4F6 !important;
    color: #6B7280 !important;
    border: 1px solid #D1D5DB !important;
}

.gc-availability-unavailable {
    background: #FEE2E2 !important;
    color: #8A1F1F !important;
    border: 1px solid #F3A7A7 !important;
}

.gc-availability-pending {
    background-color: #E0F2FE !important;
    color: #075985 !important;
    border: 1px solid #7DD3FC !important;
}

.gc-calendar-note-indicator {
    font-size: .68rem;
    font-weight: 700;
    color: #1D5A35;
}

.gc-calendar-day-selected {
    background: #1D5A35 !important;
    border: 2px solid #0F3F25 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(29, 90, 53, .28);
    transform: translateY(-1px);
}

    .gc-calendar-day-selected .mud-typography {
        color: #FFFFFF !important;
    }

.gc-listing-title {
    font-weight: 700;
    color: #1b5e20;
}

.gc-calendar-slot-indicator {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.85;
}

/* =========================
   Auth / Login Form Styling
   ========================= */

.gc-auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .gc-auth-field label {
        font-size: 0.95rem;
        font-weight: 600;
        color: #1f2937;
    }

.gc-auth-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.15);
    background: #fff;
    font-size: 1rem;
    transition: all 0.18s ease;
    outline: none;
}

    .gc-auth-input:focus {
        border-color: #1b5e20;
        box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.12);
    }

    .gc-auth-input::placeholder {
        color: #9ca3af;
    }

.gc-auth-validation {
    font-size: 0.82rem;
    color: #d32f2f;
}

.gc-auth-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.gc-auth-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #1b5e20;
    cursor: pointer;
}

.gc-auth-check label {
    font-size: 0.95rem;
    color: #1f2937;
    cursor: pointer;
}

.mud-breadcrumbs li:last-child,
.mud-breadcrumbs li:last-child a,
.mud-breadcrumbs li:last-child span {
    color: var(--mud-palette-primary) !important;
    font-weight: 600 !important;
}

.gc-empty-state-alert,
.gc-empty-state-button {
    width: 500px;
    max-width: 100%;
}

.gc-dashboard-link-card {
    cursor: pointer;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

    .gc-dashboard-link-card:hover {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
        transform: translateY(-1px);
    }

.gc-rating-chip {
    border: 1px solid rgba(0, 0, 0, 0.45);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    font-weight: 700;
}

.gc-login-container {
    max-width: 480px !important;
}

.gc-login-card {
    border-radius: 12px;
}

@media (min-width: 960px) {
    .gc-auth-field {
        gap: 4px;
    }

        .gc-auth-field label {
            font-size: 0.82rem;
        }

    .gc-auth-input {
        padding: 9px 11px;
        border-radius: 10px;
        font-size: 0.86rem;
    }

    .gc-auth-check {
        gap: 7px;
        margin-top: 2px;
    }

    .gc-auth-checkbox {
        width: 15px;
        height: 15px;
    }

    .gc-auth-check label {
        font-size: 0.82rem;
    }
}

/* =========================
   Logo Text in Nav Bar Styling
   ========================= */

.gc-brand {
    display: flex;
    align-items: center;
    gap: 12px; /* slightly more breathing room */
}

.gc-logo {
    height: 54px;
    width: auto;
}

.gc-brand-text {
    font-family: "Comfortaa", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    margin-top: -2px;
    white-space: nowrap;
    user-select: none;
}

.gc-brand-go {
    color: #CFCFCF;
}

.gc-brand-colorado {
    color: #FFFFFF;
}

.gc-brand-co {
    color: #C9E44C;
}

/*Logged-in User First Name display in the Nav bar*/
.gc-user-greeting {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    text-transform: none;
}

.gc-user-greeting:hover {
    color: #ffffff;
}

/*ApexCharts table input Dashboard*/
.apexcharts-canvas,
.apexcharts-svg {
    cursor: default !important;
}

/*Launch.razor*/
.launch-email,
.launch-email:visited,
.launch-email:hover,
.launch-email:active {
    color: #b9df52 !important;
    text-decoration: none;
    font-weight: 700;
}

.gc-profile-avatar {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
    font-weight: 600;
}

.passkey-name-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.23);
    border-radius: 8px;
    background-color: transparent;
    color: inherit;
    font: inherit;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
}

    .passkey-name-input:hover {
        border-color: rgba(0, 0, 0, 0.87);
    }

    .passkey-name-input:focus {
        border: 2px solid var(--mud-palette-primary);
        padding: 11px 13px;
    }

.business-cover-thumbnail {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.gc-return-request-button {
    background-color: white !important;
    border-width: 1px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

    .gc-return-request-button:hover {
        background-color: #f8faf8 !important;
        box-shadow: 0 3px 7px rgba(0, 0, 0, 0.16);
    }

.gc-public-listing-page {
    margin-top: -16px;
}

/* /guides - Popular Destinations */
.gc-popular-destinations {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 5px;
}

.gc-popular-destination {
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    line-height: 1.15 !important;
    text-transform: none !important;
}

/* -------------------------------------------------
   Static SSR App-Bar Dropdowns (/Account/*)
   ------------------------------------------------- */

.gc-static-nav-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

/*
   The trigger itself is a MudButton so its font, sizing, spacing and
   hover treatment come from the same MudBlazor app-bar styles as the
   normal interactive MudMenu activator.
*/
.gc-static-nav-menu-trigger {
    min-width: 0 !important;
}

.gc-static-nav-menu-panel {
    position: absolute;
    top: calc(100% - 8px);
    right: 0;
    z-index: 1400;
    min-width: max-content;
    padding: 4px 0;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 5px 5px -3px rgba(0,0,0,.20), 0 8px 10px 1px rgba(0,0,0,.14), 0 3px 14px 2px rgba(0,0,0,.12);
    overflow: hidden;
}

    .gc-static-nav-menu-panel[hidden] {
        display: none !important;
    }

    .gc-static-nav-menu-panel > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 30px;
        padding: 4px 12px;
        color: rgba(0,0,0,.87) !important;
        font-family: 'Inter', sans-serif;
        font-size: .8125rem;
        font-weight: 400;
        line-height: 1.43;
        letter-spacing: .01071em;
        text-decoration: none;
        white-space: nowrap;
    }

        .gc-static-nav-menu-panel > a:hover,
        .gc-static-nav-menu-panel > a:focus-visible {
            background: rgba(0,0,0,.04);
            color: rgba(0,0,0,.87) !important;
            outline: none;
        }

.gc-static-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
}

.gc-static-nav-badge-error {
    background: var(--mud-palette-error);
    color: var(--mud-palette-error-text);
}

.gc-static-nav-badge-success {
    background: var(--mud-palette-success);
    color: var(--mud-palette-success-text);
}

.gc-static-nav-badge-warning {
    background: var(--mud-palette-warning);
    color: var(--mud-palette-warning-text);
}

html {
    scroll-behavior: smooth;
}

/* One compact navigation surface below the existing desktop boundary. */
.gc-desktop-navigation {
    display: flex;
    align-items: center;
    align-self: stretch;
}

.gc-mobile-navigation {
    display: none;
}

.gc-mobile-nav-trigger > .mud-button-root:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* MudMenu popovers live outside the header, so scope the panel directly. */
.gc-mobile-nav-panel {
    width: min(22rem, calc(100vw - 24px));
    min-width: 0;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Override MudBlazor's menu-popover overflow:hidden without affecting other menus. */
.mud-popover.gc-mobile-nav-panel:has(.mud-menu-list) {
    overflow-y: auto;
    overflow-x: hidden;
}

.gc-static-nav-menu-panel.gc-mobile-nav-panel {
    top: 100%;
}

.gc-mobile-nav-panel .gc-mobile-nav-link {
    min-height: 44px;
    padding: 10px 16px;
    white-space: normal;
}

.gc-mobile-nav-panel .mud-list-item-text {
    min-width: 0;
    white-space: normal;
}

.gc-mobile-nav-link-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.gc-mobile-nav-link-content .gc-static-nav-badge,
.gc-mobile-nav-greeting .mud-avatar {
    flex-shrink: 0;
}

.gc-mobile-nav-heading {
    padding: 12px 16px 4px;
    font-weight: 600;
    border-top: 1px solid var(--mud-palette-divider);
}

.gc-mobile-nav-greeting {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
}

.gc-mobile-nav-greeting > span {
    min-width: 0;
}

.gc-mobile-nav-panel .gc-mobile-nav-link:focus-visible {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

@media (width < 960px) {
    .gc-desktop-navigation,
    .gc-desktop-nav-panel {
        display: none;
    }

    .gc-mobile-navigation {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
    }

    .gc-main-header .mud-toolbar {
        padding-left: 0;
        padding-right: 0;
        gap: 8px;
    }

    .gc-main-header .gc-header-brand {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .gc-mobile-nav-trigger.mud-button-root,
    .gc-mobile-nav-trigger > .mud-button-root {
        min-height: 44px;
    }
}

@media (min-width: 960px) {
    .gc-mobile-nav-panel {
        display: none !important;
    }
}
