﻿/* ========================================================= */
/* L9 PORTAL CSS                                             */
/* PURPOSE                                                   */
/* Portal specific component layer for My.L9.Com.Au          */
/*                                                           */
/* THIS FILE SHOULD HOLD                                     */
/* - portal specific layout components                       */
/* - reusable portal controls                                */
/* - list and repeater components                            */
/* - timetable components                                    */
/* - specialist portal widgets                               */
/*                                                           */
/* THIS FILE SHOULD NOT HOLD                                 */
/* - tokens / variables                                      */
/* - global shell, typography, buttons, forms               */
/* Those belong in l9.tokens.css and l9.theme.css            */
/* ========================================================= */


/* ========================================================= */
/* SECTION: LAYOUT CONTROLS                                  */
/* ========================================================= */


/* ========================================================= */
/* CONTROL: layout_sectionheader                             */
/* PURPOSE                                                   */
/* Reusable title block for sections across portal pages     */
/* NOTES                                                     */
/* - Supports optional gold label above title                */
/* - Supports optional subtitle                              */
/* - Supports optional top-right actions                     */
/* ========================================================= */

.l9-sectionheader {
    margin-bottom: 20px;
}

.l9-sectionheader-bordered {
    border-bottom: 1px solid var(--l9-border);
    padding-bottom: 16px;
}

.l9-sectionheader-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.l9-sectionheader-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.l9-sectionheader-label {
    margin-bottom: 8px;
    color: var(--l9-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.l9-sectionheader-title {
    margin: 0 0 8px 0;
    color: var(--l9-text);
    font-family: var(--l9-font-heading);
    font-size: 1.75rem;
    line-height: 1.05;
}

.l9-sectionheader-subtitle {
    margin: 0;
    color: var(--l9-text-muted);
    line-height: 1.55;
    max-width: 860px;
}

.l9-sectionheader-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}


/* ========================================================= */
/* SECTION: HOME / HERO SUPPORT                              */
/* ========================================================= */

.l9-home-sidecard {
    height: 100%;
    background: var(--l9-surface);
    border: 1px solid var(--l9-border);
    border-radius: var(--l9-radius-card);
    padding: 24px;
}

.l9-home-side-label {
    color: var(--l9-text-muted);
    font-size: 14px;
    margin-bottom: 4px;
}

.l9-home-side-value {
    color: var(--l9-text);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 18px;
}

.l9-divider {
    border: 0;
    border-top: 1px solid var(--l9-border);
    margin: 18px 0;
}


/* ========================================================= */
/* SECTION: SPECIALIST CONTROLS                              */
/* ========================================================= */


/* ========================================================= */
/* CONTROL: ctrl_pausetimeline                               */
/* PURPOSE                                                   */
/* Visual control for pause start / pause end selection      */
/* FUNCTIONAL MODEL                                          */
/* - Today marker fixed                                      */
/* - Pause start marker fixed                                */
/* - End marker moves                                        */
/* - Active bar shows pause window                           */
/* ========================================================= */

.pause-timeline-wrap {
    position: relative;
    height: 46px;
    margin-top: 12px;
}

.pause-timeline-base {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 8px;
    transform: translateY(-50%);
    background: #4a4a4a;
    border-radius: 999px;
}

.pause-timeline-active {
    position: absolute;
    top: 50%;
    height: 8px;
    transform: translateY(-50%);
    background: #d4a64a;
    border-radius: 999px;
}

.pause-marker {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    z-index: 2;
    pointer-events: none;
}

.pause-marker-today {
    left: 0%;
    background: #9a9a9a;
    box-shadow: 0 0 0 4px rgba(154,154,154,.12);
}

.pause-marker-start {
    background: #d4a64a;
    box-shadow: 0 0 0 5px rgba(212,166,74,.18);
}

.pause-marker-end {
    background: #d4a64a;
    box-shadow: 0 0 0 5px rgba(212,166,74,.18);
}

.pause-range {
    position: absolute;
    left: 6.25%;
    width: 93.75%;
    top: 50%;
    transform: translateY(-50%);
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    z-index: 3;
    margin: 0;
}

    .pause-range:focus {
        outline: none;
    }

    .pause-range::-webkit-slider-runnable-track {
        height: 30px;
        background: transparent;
        border: none;
    }

    .pause-range::-moz-range-track {
        height: 30px;
        background: transparent;
        border: none;
    }

    .pause-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 30px;
        height: 30px;
        margin-top: 0;
        border-radius: 999px;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .pause-range::-moz-range-thumb {
        width: 30px;
        height: 30px;
        border-radius: 999px;
        background: transparent;
        border: none;
        cursor: pointer;
    }

#pauseStartTextAnchor {
    min-width: 140px;
}


/* ========================================================= */
/* LIST TIMETABLE                                            */
/* PURPOSE                                                   */
/* Full timetable styling block for list_timetable.ascx      */
/* Includes:                                                 */
/* - header + toolbar                                        */
/* - date strip                                              */
/* - mode toggle                                             */
/* - location filter buttons / dropdown / single label       */
/* - grid mode                                               */
/* - list mode                                               */
/* - quick booking card                                      */
/* - responsive behaviour                                    */
/* ========================================================= */

.list_timetable {
    width: 100%;
}

    .list_timetable .l9-timetable-title {
        margin: 0 0 8px 0;
        color: var(--l9-text);
        font-family: var(--l9-font-heading);
        font-size: 1.75rem;
        line-height: 1.05;
    }

    .list_timetable .l9-timetable-subtitle {
        margin: 0;
        color: var(--l9-text-muted);
        line-height: 1.55;
        max-width: 860px;
    }

    .list_timetable .l9-timetable-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 18px;
    }

    .list_timetable .l9-timetable-header-main {
        min-width: 0;
        flex: 1 1 auto;
    }

    .list_timetable .l9-timetable-header-actions {
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
    }

    .list_timetable .l9-timetable-toolbar {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 18px;
    }

    .list_timetable .l9-timetable-toolbar-left {
        min-width: 0;
        flex: 1 1 auto;
    }

    .list_timetable .l9-timetable-toolbar-right {
        flex: 0 0 auto;
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    /* DATE STRIP */

    .list_timetable .l9-date-strip {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .list_timetable .l9-date-chip {
        min-width: 72px;
        min-height: 64px;
        padding: 8px 10px;
        border-radius: 14px;
        border: 1px solid var(--l9-border);
        background: rgba(255,255,255,0.02);
        color: var(--l9-text);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: all .2s ease;
    }

        .list_timetable .l9-date-chip:hover {
            border-color: rgba(212,166,74,.45);
        }

        .list_timetable .l9-date-chip.is-active {
            background: #d4a64a;
            color: #111111;
            border-color: #d4a64a;
            font-weight: 700;
        }

    .list_timetable .l9-date-chip-top {
        font-size: 0.72rem;
        text-transform: uppercase;
        line-height: 1;
        margin-bottom: 4px;
    }

    .list_timetable .l9-date-chip-bottom {
        font-size: 1.35rem;
        line-height: 1;
        font-weight: 700;
    }

    /* MODE TOGGLE */

    .list_timetable .l9-mode-toggle {
        display: inline-flex;
        border: 1px solid var(--l9-border);
        border-radius: 14px;
        overflow: hidden;
        background: rgba(255,255,255,0.02);
    }

    .list_timetable .l9-mode-btn {
        min-width: 96px;
        padding: 10px 16px;
        border: 0;
        background: transparent;
        color: var(--l9-text);
        cursor: pointer;
        transition: all .2s ease;
        font-weight: 700;
    }

        .list_timetable .l9-mode-btn.is-active {
            background: #d4a64a;
            color: #111111;
        }

    /* LOCATION FILTERS */

    .list_timetable .l9-location-filter {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .list_timetable .l9-location-filter-btn {
        min-height: 40px;
        padding: 0 14px;
        border-radius: 999px;
        border: 1px solid var(--l9-border);
        background: rgba(255,255,255,0.02);
        color: var(--l9-text);
        font-weight: 700;
        transition: all .2s ease;
        cursor: pointer;
    }

        .list_timetable .l9-location-filter-btn:hover {
            border-color: rgba(212,166,74,.45);
        }

        .list_timetable .l9-location-filter-btn.is-active {
            background: #d4a64a;
            color: #111111;
            border-color: #d4a64a;
        }

    .list_timetable .l9-location-filter-select-wrap {
        min-width: 220px;
    }

    .list_timetable .l9-location-filter-single {
        color: var(--l9-text);
        font-weight: 700;
        padding-top: 10px;
    }

    /* PANELS */

    .list_timetable [data-l9-timetable-panel] {
        display: none;
    }

        .list_timetable [data-l9-timetable-panel].is-active {
            display: block;
        }

    /* GRID MODE */

    .list_timetable .l9-week-grid {
        display: grid;
        grid-template-columns: 86px repeat(7, minmax(92px, 1fr));
        gap: 8px;
        align-items: stretch;
    }

    .list_timetable .l9-week-head {
        min-height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--l9-text-muted);
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

        .list_timetable .l9-week-head.is-selected {
            color: #d4a64a;
        }

    .list_timetable .l9-week-head-time {
        justify-content: flex-start;
    }

    .list_timetable .l9-time-cell {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        color: var(--l9-text);
        font-weight: 700;
        font-size: 0.95rem;
        padding-top: 14px;
        padding-right: 8px;
    }

    .list_timetable .l9-grid-cell {
        min-height: 94px;
    }

        .list_timetable .l9-grid-cell.is-selected-day {
            outline: 1px solid rgba(212,166,74,0.35);
            outline-offset: -1px;
        }

    .list_timetable .l9-grid-session-stack {
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-height: 100%;
    }

    .list_timetable .l9-grid-session {
        width: 100%;
        min-height: 94px;
        border-radius: 14px;
        padding: 8px;
        border: 1px solid rgba(255,255,255,.10);
        background: rgba(255,255,255,0.03);
        color: var(--l9-text);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        text-align: left;
        transition: all .2s ease;
        cursor: pointer;
    }

        .list_timetable .l9-grid-session:hover {
            transform: translateY(-1px);
            border-color: rgba(212,166,74,.45);
        }

        .list_timetable .l9-grid-session.is-selected {
            box-shadow: 0 0 0 1px rgba(212,166,74,.35);
        }

        .list_timetable .l9-grid-session:disabled,
        .list_timetable .l9-grid-session.is-disabled {
            opacity: .45;
            cursor: not-allowed;
        }

        .list_timetable .l9-grid-session.level-1 {
            background: linear-gradient(180deg, rgba(255,193,7,.16) 0%, rgba(255,193,7,.10) 100%);
            border-color: rgba(255,193,7,.28);
        }

        .list_timetable .l9-grid-session.level-2 {
            background: linear-gradient(180deg, rgba(255,145,0,.22) 0%, rgba(255,145,0,.14) 100%);
            border-color: rgba(255,145,0,.34);
        }

        .list_timetable .l9-grid-session.level-3 {
            background: linear-gradient(180deg, rgba(255,106,0,.24) 0%, rgba(255,106,0,.16) 100%);
            border-color: rgba(255,106,0,.36);
        }

    .list_timetable .l9-grid-session-time {
        font-size: 0.72rem;
        line-height: 1.15;
        opacity: .92;
    }

    .list_timetable .l9-grid-session-title {
        display: block;
        font-size: 0.92rem;
        line-height: 1.15;
        font-weight: 700;
    }

    .list_timetable .l9-grid-session-meta {
        display: block;
        font-size: 0.78rem;
        color: var(--l9-text-muted);
        line-height: 1.2;
    }

    .list_timetable .l9-grid-session-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 22px;
        padding: 0 8px;
        border-radius: 999px;
        font-size: 0.68rem;
        font-weight: 700;
        border: 1px solid rgba(255,255,255,.16);
        background: rgba(0,0,0,.18);
    }

    .list_timetable .l9-timetable-footnote {
        margin-top: 14px;
        color: var(--l9-text-muted);
        font-size: 0.85rem;
    }

    /* LIST MODE */

    .list_timetable .l9-day-list-header {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        align-items: baseline;
        margin-bottom: 14px;
    }

    .list_timetable .l9-day-list-title {
        color: #d4a64a;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .list_timetable .l9-day-list-subtitle {
        color: var(--l9-text-muted);
        font-size: 0.88rem;
    }

    .list_timetable .l9-day-location-group {
        margin-bottom: 18px;
    }

    .list_timetable .l9-day-location-title {
        color: var(--l9-text);
        font-weight: 700;
        margin-bottom: 10px;
    }

    .list_timetable .l9-day-agenda {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 16px;
    }

    .list_timetable .l9-agenda-item {
        width: 100%;
        border-radius: 16px;
        border: 1px solid var(--l9-border);
        background: rgba(255,255,255,0.02);
        color: var(--l9-text);
        display: grid;
        grid-template-columns: 96px 1fr auto;
        gap: 14px;
        padding: 14px;
        text-align: left;
        align-items: center;
        transition: all .2s ease;
        cursor: pointer;
    }

        .list_timetable .l9-agenda-item:hover,
        .list_timetable .l9-agenda-item.is-selected {
            border-color: rgba(212,166,74,.45);
            background: rgba(255,255,255,0.04);
        }

        .list_timetable .l9-agenda-item:disabled,
        .list_timetable .l9-agenda-item.is-disabled {
            opacity: .45;
            cursor: not-allowed;
        }

    .list_timetable .l9-agenda-time {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .list_timetable .l9-agenda-time-main {
        font-weight: 800;
        font-size: 1rem;
        line-height: 1.1;
    }

    .list_timetable .l9-agenda-time-sub {
        color: var(--l9-text-muted);
        font-size: 0.86rem;
    }

    .list_timetable .l9-agenda-main {
        min-width: 0;
    }

    .list_timetable .l9-agenda-title {
        font-weight: 800;
        font-size: 1.02rem;
        margin-bottom: 4px;
    }

    .list_timetable .l9-agenda-meta {
        color: var(--l9-text-muted);
        line-height: 1.35;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        align-items: center;
    }

    .list_timetable .l9-agenda-action {
        font-weight: 700;
        color: var(--l9-accent);
        white-space: nowrap;
    }

    /* QUICK BOOK CARD */

    .list_timetable .l9-quick-book-card {
        display: grid;
        grid-template-columns: 112px 1fr;
        gap: 14px;
        border-radius: 18px;
        border: 1px solid var(--l9-border);
        background: rgba(255,255,255,0.03);
        padding: 14px;
        margin-bottom: 12px;
    }

    .list_timetable .l9-quick-book-left {
        min-width: 0;
    }

    .list_timetable .l9-quick-book-main {
        min-width: 0;
    }

    .list_timetable .l9-quick-book-badge {
        min-height: 110px;
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(255,106,0,.75) 0%, rgba(255,145,0,.68) 100%);
        color: #111111;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 10px;
        font-weight: 800;
        line-height: 1.2;
    }

    .list_timetable .l9-quick-book-title {
        font-size: 1.25rem;
        font-weight: 800;
        margin-bottom: 4px;
    }

    .list_timetable .l9-quick-book-meta {
        color: var(--l9-text-muted);
        margin-bottom: 6px;
    }

    .list_timetable .l9-quick-book-desc {
        margin-bottom: 8px;
        color: var(--l9-text);
    }

    .list_timetable .l9-quick-book-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .list_timetable .l9-quick-book-actions {
        display: grid;
        gap: 10px;
    }

    /* EMPTY HELPERS */

    .list_timetable .l9-day-list-empty {
        margin-bottom: 16px;
    }

/* RESPONSIVE */

@media (max-width: 991.98px) {
    .list_timetable .l9-timetable-header,
    .list_timetable .l9-timetable-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .list_timetable .l9-timetable-header-actions,
    .list_timetable .l9-timetable-toolbar-right {
        justify-content: flex-start;
    }

    .list_timetable .l9-date-strip {
        overflow-x: auto;
        flex-wrap: nowrap;
        width: 100%;
        padding-bottom: 4px;
    }

    .list_timetable .l9-date-chip {
        flex: 0 0 auto;
    }

    .list_timetable .l9-week-grid {
        grid-template-columns: 72px repeat(7, minmax(92px, 1fr));
    }

    .list_timetable .l9-location-filter-select-wrap {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .list_timetable .l9-week-grid {
        min-width: 820px;
    }

    .list_timetable .l9-agenda-item {
        grid-template-columns: 84px 1fr;
        padding: 12px;
    }

    .list_timetable .l9-agenda-action {
        grid-column: 2;
        margin-top: 4px;
    }

    .list_timetable .l9-quick-book-card {
        grid-template-columns: 1fr;
    }

    .list_timetable .l9-quick-book-badge {
        min-height: 72px;
    }
}

/* ========================================================= */
/* SECTION: LIST / MEDIA                                     */
/* ========================================================= */


/* ========================================================= */
/* CONTROL: list_media                                       */
/* PURPOSE                                                   */
/* Large image/video + text rows                             */
/* ========================================================= */

.l9-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.l9-media-row {
    display: flex;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--l9-border);
    border-radius: 20px;
    background: rgba(255,255,255,0.02);
}

.l9-media-row-thumb {
    flex: 0 0 220px;
    min-height: 140px;
    border-radius: 18px;
    background: #2b2b2b;
    color: var(--l9-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.l9-media-row-body {
    flex: 1 1 auto;
    min-width: 0;
}

.l9-media-row-meta {
    margin-bottom: 8px;
    color: var(--l9-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.l9-media-row-title {
    font-family: var(--l9-font-heading);
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--l9-text);
    margin-bottom: 8px;
}

.l9-media-row-desc {
    color: var(--l9-text-muted);
    line-height: 1.65;
    margin-bottom: 14px;
}

.l9-media-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* ========================================================= */
/* CONTROL: list_featurescroller                             */
/* PURPOSE                                                   */
/* Swipeable / scrollable feature tiles                      */
/* ========================================================= */

.l9-horizontal-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
}

.l9-horizontal-tile {
    min-width: 420px;
    max-width: 420px;
    border: 1px solid var(--l9-border);
    border-radius: 22px;
    background: rgba(255,255,255,0.02);
    overflow: hidden;
    scroll-snap-align: start;
}

.l9-horizontal-tile-media {
    height: 220px;
    background: #2b2b2b;
    color: var(--l9-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.l9-horizontal-tile-body {
    padding: 18px;
}

.l9-horizontal-tile-title {
    font-family: var(--l9-font-heading);
    font-size: 1.45rem;
    line-height: 1.1;
    color: var(--l9-text);
    margin-bottom: 8px;
}

.l9-horizontal-tile-desc {
    color: var(--l9-text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.l9-horizontal-tile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* ========================================================= */
/* CONTROL: list_faqaccordion                                */
/* PURPOSE                                                   */
/* FAQ answer layouts                                        */
/* ========================================================= */

.l9-faq-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.l9-faq-followups {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* ========================================================= */
/* SECTION: MODAL HELPERS                                    */
/* ========================================================= */

.l9-modal-media {
    border-radius: 18px;
    overflow: hidden;
    background: #222222;
}

.l9-modal-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.l9-modal-action-stack {
    display: grid;
    gap: 10px;
}


/* ========================================================= */
/* SECTION: EMPTY STATES                                     */
/* ========================================================= */

.l9-empty-state {
    border: 1px solid var(--l9-border);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    background: rgba(255,255,255,0.02);
}

.l9-empty-state-title {
    color: var(--l9-text);
    font-family: var(--l9-font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.l9-empty-state-copy {
    color: var(--l9-text-muted);
    margin-bottom: 16px;
}


/* ========================================================= */
/* SECTION: ASK LANA                                         */
/* ========================================================= */

.l9-lana-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.l9-lana-notes {
    border: 1px solid var(--l9-border);
    border-radius: 20px;
    background: rgba(255,255,255,0.02);
    padding: 18px;
    height: 100%;
}

.l9-lana-panel {
    border: 1px solid var(--l9-border);
    border-radius: 22px;
    background: rgba(255,255,255,0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 760px;
}

.l9-lana-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 18px 14px 18px;
    border-bottom: 1px solid var(--l9-border);
    background: rgba(255,255,255,0.02);
}

.l9-lana-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.l9-lana-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d4a64a 0%, #b98524 100%);
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--l9-font-heading);
}

.l9-lana-title {
    color: var(--l9-text);
    font-weight: 800;
    font-size: 1.05rem;
}

.l9-lana-subtitle {
    color: var(--l9-text-muted);
    font-size: 0.88rem;
}

.l9-lana-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--l9-border);
    background: rgba(255,255,255,0.015);
}

.l9-lana-messages {
    flex: 1 1 auto;
    padding: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 420px;
}

.l9-lana-message {
    display: flex;
}

.l9-lana-message-assistant {
    justify-content: flex-start;
}

.l9-lana-message-user {
    justify-content: flex-end;
}

.l9-lana-bubble {
    max-width: min(680px, 88%);
    border-radius: 18px;
    padding: 14px 16px;
    line-height: 1.5;
    border: 1px solid var(--l9-border);
}

.l9-lana-message-assistant .l9-lana-bubble {
    background: rgba(255,255,255,0.04);
    color: var(--l9-text);
}

.l9-lana-message-user .l9-lana-bubble {
    background: linear-gradient(180deg, rgba(212,166,74,.22) 0%, rgba(212,166,74,.14) 100%);
    border-color: rgba(212,166,74,.38);
    color: var(--l9-text);
}

.l9-lana-rich-card {
    width: min(720px, 100%);
    border: 1px solid var(--l9-border);
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    padding: 16px;
}

.l9-lana-rich-meta {
    color: var(--l9-accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.l9-lana-rich-title {
    color: var(--l9-text);
    font-family: var(--l9-font-heading);
    font-size: 1.2rem;
    line-height: 1.1;
    margin-bottom: 8px;
}

.l9-lana-rich-desc {
    color: var(--l9-text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.l9-lana-link-card {
    border: 1px solid var(--l9-border);
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
    padding: 14px;
    margin-bottom: 12px;
}

.l9-lana-link-card-title {
    color: var(--l9-text);
    font-weight: 700;
    margin-bottom: 4px;
}

.l9-lana-link-card-url {
    color: var(--l9-text-muted);
    font-size: 0.88rem;
    word-break: break-all;
}

.l9-lana-followups {
    width: min(720px, 100%);
    border: 1px solid var(--l9-border);
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    padding: 14px;
}

.l9-lana-composer {
    padding: 16px 18px 18px 18px;
    border-top: 1px solid var(--l9-border);
    background: rgba(255,255,255,0.02);
}


/* ========================================================= */
/* SECTION: RESPONSIVE                                       */
/* ========================================================= */

@media (max-width: 991.98px) {
    .l9-timetable-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .l9-date-strip {
        overflow-x: auto;
        flex-wrap: nowrap;
        width: 100%;
        padding-bottom: 4px;
    }

    .l9-date-chip {
        flex: 0 0 auto;
    }

    .l9-week-grid {
        grid-template-columns: 72px repeat(7, minmax(92px, 1fr));
    }

    .l9-media-row {
        flex-direction: column;
    }

    .l9-media-row-thumb {
        flex: 0 0 auto;
        width: 100%;
        min-height: 200px;
    }

    .l9-horizontal-tile {
        min-width: 320px;
        max-width: 320px;
    }

    .l9-lana-shell {
        grid-template-columns: 1fr;
    }

    .l9-lana-panel {
        min-height: 680px;
    }
}

@media (max-width: 767.98px) {
    .l9-sectionheader-top {
        flex-direction: column;
        align-items: stretch;
    }

    .l9-sectionheader-actions {
        justify-content: flex-start;
    }

    .l9-sectionheader-title {
        font-size: 1.45rem;
    }

    .l9-home-side-value {
        font-size: 18px;
    }

    .l9-week-grid {
        min-width: 820px;
    }

    .l9-agenda-item {
        grid-template-columns: 84px 1fr 16px;
        padding: 12px;
    }

    .l9-quick-book-card {
        grid-template-columns: 1fr;
    }

    .l9-quick-book-badge {
        min-height: 72px;
    }

    .l9-faq-media-grid {
        grid-template-columns: 1fr;
    }

    .l9-lana-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .l9-lana-bubble,
    .l9-lana-rich-card,
    .l9-lana-followups {
        max-width: 100%;
        width: 100%;
    }

    .l9-lana-panel {
        min-height: 620px;
    }
}

/* ========================================================= */
/* CONTROL: layout_stickyactionbar                           */
/* PURPOSE                                                   */
/* Script-assisted sticky action bar                         */
/* ========================================================= */

.l9-stickybar-wrap {
    position: relative;
    width: 100%;
}

.l9-stickybar-spacer {
    display: none;
    height: 0;
}

.l9-stickybar-card {
    border: 1px solid var(--l9-border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
    background: rgba(31,31,31,0.96);
    backdrop-filter: blur(10px);
    box-shadow: var(--l9-shadow-strong);
    z-index: 1030;
}

.l9-stickybar-fixed-top {
    position: fixed !important;
}

.l9-stickybar-fixed-bottom {
    position: fixed !important;
}

@media (min-width: 992px) {
    .l9-stickybar-card {
        flex-direction: row;
        align-items: center;
    }
}

/* ========================================================= */
/* CONTROL: ctrl_daterangeselector                           */
/* PURPOSE                                                   */
/* Expanded date range selector for From / To date picking   */
/* ========================================================= */

.l9-daterange-selector {
    width: 100%;
}

.l9-daterange-display-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.l9-daterange-display {
    border: 1px solid var(--l9-border);
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    color: var(--l9-text);
    padding: 14px 16px;
    text-align: left;
    transition: all .2s ease;
}

    .l9-daterange-display:hover,
    .l9-daterange-display.is-active {
        border-color: rgba(212,166,74,.55);
        background: rgba(255,255,255,0.05);
    }

.l9-daterange-display-label {
    display: block;
    color: var(--l9-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.l9-daterange-display-value {
    display: block;
    color: var(--l9-text);
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.25;
}

.l9-daterange-calendar-shell {
    border: 1px solid var(--l9-border);
    border-radius: 20px;
    background: rgba(255,255,255,0.02);
    padding: 16px;
}

.l9-daterange-calendar-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.l9-daterange-calendar-instruction {
    color: var(--l9-text-muted);
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.35;
}

.l9-daterange-calendar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.l9-daterange-month {
    min-width: 0;
}

.l9-daterange-month-title {
    color: var(--l9-text);
    font-family: var(--l9-font-heading);
    font-size: 1.25rem;
    line-height: 1.1;
    margin-bottom: 12px;
    text-align: center;
}

.l9-daterange-weekdays,
.l9-daterange-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.l9-daterange-weekdays {
    margin-bottom: 8px;
}

.l9-daterange-weekday {
    color: var(--l9-text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.l9-daterange-day {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    color: var(--l9-text);
    font-weight: 700;
    transition: all .15s ease;
}

    .l9-daterange-day:hover {
        border-color: rgba(212,166,74,.45);
        background: rgba(255,255,255,0.06);
    }

    .l9-daterange-day.is-empty {
        background: transparent;
        pointer-events: none;
    }

    .l9-daterange-day.is-disabled {
        opacity: .26;
        cursor: not-allowed;
        background: rgba(255,255,255,0.015);
        color: var(--l9-text-muted);
    }

    .l9-daterange-day.is-in-range {
        background: rgba(212,166,74,.16);
        border-color: rgba(212,166,74,.20);
    }

    .l9-daterange-day.is-selected {
        background: var(--l9-accent);
        border-color: var(--l9-accent);
        color: #111111;
    }

@media (max-width: 991.98px) {
    .l9-daterange-calendar-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .l9-daterange-display-row {
        grid-template-columns: 1fr;
    }

    .l9-daterange-calendar-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .l9-daterange-day {
        min-height: 38px;
        border-radius: 10px;
    }
}

/* ========================================================= */
/* CONTROL: ctrl_productcomparison                           */
/* PURPOSE                                                   */
/* Generic comparison cards for memberships, passes, offers  */
/* and product tiers.                                        */
/* ========================================================= */

.l9-productcomparison {
    width: 100%;
}

.l9-productcomparison-header {
    margin-bottom: 18px;
}

.l9-productcomparison-title {
    margin: 0 0 8px 0;
    color: var(--l9-text);
    font-family: var(--l9-font-heading);
    font-size: 1.75rem;
    line-height: 1.05;
}

.l9-productcomparison-subtitle {
    margin: 0;
    color: var(--l9-text-muted);
    line-height: 1.55;
    max-width: 860px;
}

.l9-productcomparison-grid {
    display: grid;
    gap: 18px;
    align-items: stretch;
}

.l9-productcomparison-cols-1 .l9-productcomparison-grid {
    grid-template-columns: 1fr;
}

.l9-productcomparison-cols-2 .l9-productcomparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.l9-productcomparison-cols-3 .l9-productcomparison-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.l9-productcomparison-cols-4 .l9-productcomparison-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.l9-productcomparison-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid var(--l9-border);
    border-radius: 22px;
    background: rgba(255,255,255,0.025);
    padding: 22px;
    color: var(--l9-text);
    box-shadow: var(--l9-shadow-soft);
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

    .l9-productcomparison-card:hover {
        transform: translateY(-2px);
        border-color: rgba(212,166,74,.45);
        background: rgba(255,255,255,0.04);
    }

    .l9-productcomparison-card.is-featured {
        border-color: rgba(212,166,74,.72);
        background: linear-gradient(180deg, rgba(212,166,74,.12) 0%, rgba(255,255,255,0.025) 100%);
    }

    .l9-productcomparison-card.is-disabled {
        opacity: .52;
    }

.l9-productcomparison-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--l9-accent);
    color: #111111;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.l9-productcomparison-card-head {
    margin-bottom: 18px;
}

.l9-productcomparison-card-title {
    color: var(--l9-text);
    font-family: var(--l9-font-heading);
    font-size: 1.55rem;
    line-height: 1.05;
    margin-bottom: 8px;
}

.l9-productcomparison-card-description {
    color: var(--l9-text-muted);
    line-height: 1.55;
}

.l9-productcomparison-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
}

.l9-productcomparison-price {
    color: var(--l9-text);
    font-family: var(--l9-font-heading);
    font-size: 2.1rem;
    line-height: 1;
}

.l9-productcomparison-price-suffix {
    color: var(--l9-text-muted);
    font-weight: 700;
}

.l9-productcomparison-features {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--l9-text);
}

    .l9-productcomparison-features ul {
        display: grid;
        gap: 10px;
        padding-left: 1.15rem;
        margin: 0;
    }

    .l9-productcomparison-features li {
        color: var(--l9-text);
        line-height: 1.45;
    }

.l9-productcomparison-footer-text {
    color: var(--l9-text-muted);
    font-size: 0.9rem;
    line-height: 1.45;
    margin-top: auto;
    padding-top: 4px;
}

.l9-productcomparison-action {
    margin-top: 18px;
}

@media (max-width: 1199.98px) {
    .l9-productcomparison-cols-4 .l9-productcomparison-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .l9-productcomparison-cols-3 .l9-productcomparison-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .l9-productcomparison-cols-2 .l9-productcomparison-grid,
    .l9-productcomparison-cols-4 .l9-productcomparison-grid {
        grid-template-columns: 1fr;
    }

    .l9-productcomparison-card {
        padding: 18px;
    }

    .l9-productcomparison-card-title {
        font-size: 1.35rem;
    }

    .l9-productcomparison-price {
        font-size: 1.8rem;
    }
}

/* ========================================================= */
/* LIST: list_datalist                                       */
/* PURPOSE                                                   */
/* Dense data driven record list with optional media,        */
/* per row actions, selected row, More menu and pagination.  */
/* ========================================================= */

.list_datalist {
    width: 100%;
}

.l9-datalist-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.l9-datalist-header-main {
    min-width: 0;
}

.l9-datalist-title {
    margin: 0 0 4px 0;
    color: var(--l9-text);
    font-family: var(--l9-font-heading);
    font-size: 1.18rem;
    line-height: 1.1;
}

.l9-datalist-subtitle {
    margin: 0;
    color: var(--l9-text-muted);
    line-height: 1.45;
}

.l9-datalist-body {
    display: grid;
    gap: 7px;
}

.l9-datalist-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--l9-border);
    border-radius: 14px;
    background: rgba(255,255,255,0.025);
    color: var(--l9-text);
    transition: background .15s ease, border-color .15s ease;
}

    .l9-datalist-row:hover {
        border-color: rgba(212,166,74,.34);
        background: rgba(255,255,255,0.04);
    }

    .l9-datalist-row.is-selected {
        border-color: rgba(212,166,74,.82);
        background: rgba(212,166,74,.12);
    }

    .l9-datalist-row.is-highlight {
        border-color: rgba(212,166,74,.36);
    }

    .l9-datalist-row.is-disabled {
        opacity: .52;
    }

.list_datalist.is-compact .l9-datalist-row {
    min-height: 58px;
    padding: 7px 8px;
}

.list_datalist.is-comfortable .l9-datalist-row {
    min-height: 78px;
    padding: 11px;
}

.list_datalist.is-large .l9-datalist-row {
    min-height: 102px;
    padding: 16px;
}

.l9-datalist-media {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(212,166,74,.14);
    color: var(--l9-accent);
    font-weight: 900;
}

.list_datalist.is-compact .l9-datalist-media {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: .82rem;
}

.list_datalist.is-comfortable .l9-datalist-media {
    width: 52px;
    height: 52px;
    border-radius: 13px;
}

.list_datalist.is-large .l9-datalist-media {
    width: 70px;
    height: 70px;
    border-radius: 16px;
}

.l9-datalist-media.is-circle {
    border-radius: 999px;
}

.l9-datalist-media.is-rectangle {
    width: 70px;
}

.list_datalist.is-comfortable .l9-datalist-media.is-rectangle {
    width: 92px;
}

.list_datalist.is-large .l9-datalist-media.is-rectangle {
    width: 126px;
}

.l9-datalist-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.l9-datalist-play {
    position: absolute;
    inset: auto auto 5px 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(0,0,0,.72);
    color: #ffffff;
    font-size: .68rem;
}

.l9-datalist-main {
    min-width: 0;
}

.l9-datalist-topline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 1px;
}

.l9-datalist-meta {
    color: var(--l9-accent);
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.l9-datalist-titleline {
    color: var(--l9-text);
    font-weight: 850;
    line-height: 1.16;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list_datalist.is-compact .l9-datalist-titleline {
    font-size: .92rem;
}

.list_datalist.is-comfortable .l9-datalist-titleline,
.list_datalist.is-large .l9-datalist-titleline {
    font-size: 1.03rem;
}

.l9-datalist-subline,
.l9-datalist-description {
    color: var(--l9-text-muted);
    font-size: .78rem;
    line-height: 1.25;
}

.l9-datalist-subline {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.l9-datalist-description.is-hidden {
    display: none;
}

.l9-datalist-description.is-clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

.l9-datalist-description.is-clamped-1 {
    -webkit-line-clamp: 1;
}

.l9-datalist-description.is-clamped-2 {
    -webkit-line-clamp: 2;
}

.l9-datalist-description.is-clamped-3 {
    -webkit-line-clamp: 3;
}

.l9-datalist-description.is-clamped-4 {
    -webkit-line-clamp: 4;
}

.l9-datalist-description.is-clamped-5 {
    -webkit-line-clamp: 5;
}

.l9-datalist-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    min-width: max-content;
}

.l9-datalist-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid var(--l9-border);
    border-radius: 10px;
    background: transparent;
    color: var(--l9-text);
    font-size: .76rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .015em;
    white-space: nowrap;
    cursor: pointer;
}

    .l9-datalist-action:hover {
        border-color: rgba(212,166,74,.45);
        color: var(--l9-text);
    }

    .l9-datalist-action.is-primary {
        border-color: var(--l9-accent);
        background: var(--l9-accent);
        color: #111111;
    }

    .l9-datalist-action.is-secondary {
        border-color: rgba(255,255,255,.22);
        background: rgba(255,255,255,.02);
    }

    .l9-datalist-action.is-danger {
        border-color: rgba(255,96,96,.55);
        color: #ffb1b1;
    }

    .l9-datalist-action.is-link {
        border-color: transparent;
        color: var(--l9-accent);
        padding-left: 3px;
        padding-right: 3px;
    }

    .l9-datalist-action.is-ghost {
        background: transparent;
    }

    .l9-datalist-action.is-icon {
        width: 30px;
        min-width: 30px;
        padding-left: 0;
        padding-right: 0;
    }

    .l9-datalist-action.is-pill {
        border-radius: 999px;
    }

    .l9-datalist-action:disabled,
    .l9-datalist-action.disabled {
        opacity: .42;
        cursor: not-allowed;
    }

.l9-datalist-action-icon {
    display: inline-flex;
    line-height: 1;
}

.l9-datalist-more .dropdown-menu {
    background: #181818;
    border: 1px solid var(--l9-border);
    border-radius: 14px;
    padding: 6px;
    box-shadow: var(--l9-shadow-soft);
}

.l9-datalist-more .dropdown-item {
    color: var(--l9-text);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: .86rem;
    font-weight: 750;
}

    .l9-datalist-more .dropdown-item:hover,
    .l9-datalist-more .dropdown-item:focus {
        background: rgba(212,166,74,.14);
        color: var(--l9-text);
    }

.l9-datalist-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.l9-datalist-paging-summary {
    color: var(--l9-text-muted);
    font-size: .86rem;
}

.l9-datalist-loadmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(212,166,74,.46);
    border-radius: 12px;
    background: rgba(212,166,74,.12);
    color: var(--l9-accent);
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .02em;
}

    .l9-datalist-loadmore:hover {
        background: rgba(212,166,74,.18);
    }

.l9-datalist-pager {
    display: flex;
    justify-content: flex-end;
}

.l9-datalist-pager-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.l9-datalist-pagebtn {
    min-width: 32px;
    min-height: 30px;
    padding: 0 9px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
    color: var(--l9-text);
    font-size: .78rem;
    font-weight: 850;
}

    .l9-datalist-pagebtn.is-active {
        border-color: var(--l9-accent);
        background: var(--l9-accent);
        color: #111111;
    }

    .l9-datalist-pagebtn:disabled {
        opacity: .42;
        cursor: not-allowed;
    }

.l9-datalist-pager-ellipsis {
    color: var(--l9-text-muted);
    padding: 0 2px;
}

@media (max-width: 767.98px) {
    .l9-datalist-header {
        flex-direction: column;
        align-items: stretch;
    }

    .l9-datalist-row {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
    }

    .l9-datalist-actions {
        grid-column: auto;
        justify-content: flex-end;
        align-self: center;
        flex-wrap: nowrap;
        padding-top: 0;
    }

    .list_datalist.is-compact .l9-datalist-row {
        min-height: 72px;
    }

    .l9-datalist-action {
        min-height: 28px;
        padding: 0 8px;
        font-size: .68rem;
        border-radius: 9px;
    }

        .l9-datalist-action.is-icon {
            width: 28px;
            min-width: 28px;
        }

        .l9-datalist-action span:not(.l9-datalist-action-icon) {
            display: none;
        }

    .l9-datalist-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .l9-datalist-loadmore,
    .l9-datalist-pager {
        width: 100%;
    }

    .l9-datalist-pager-inner {
        justify-content: flex-start;
    }

    .l9-datalist-description.is-desktop-only {
        display: none;
    }
}

@media (min-width: 768px) {
    .l9-datalist-description.is-mobile-only {
        display: none;
    }
}}



/* modal_base */

body.l9-modal-open {
    overflow: hidden;
}

.l9-modal-root {
    position: fixed;
    inset: 0;
    z-index: 1080;
}

    .l9-modal-root:not(.is-open) {
        display: none;
    }

.l9-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.68);
    backdrop-filter: blur(3px);
}

.l9-modal-shell {
    position: absolute;
    background: #151515;
    border: 1px solid var(--l9-border);
    box-shadow: 0 24px 80px rgba(0,0,0,.45);
    color: var(--l9-text);
    overflow: hidden;
}

.l9-modal-root.is-popover .l9-modal-shell {
    top: 50%;
    left: 50%;
    width: min(680px, calc(100vw - 28px));
    max-height: calc(100vh - 42px);
    transform: translate(-50%, -50%);
    border-radius: 22px;
}

.l9-modal-root.is-slidein .l9-modal-shell {
    top: 0;
    right: 0;
    width: min(520px, 100vw);
    height: 100vh;
    border-radius: 22px 0 0 22px;
}

.l9-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 20px 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.l9-modal-header-main {
    min-width: 0;
}

.l9-modal-title {
    margin: 0;
    font-family: var(--l9-font-heading);
    font-size: 1.32rem;
    line-height: 1.12;
    color: var(--l9-text);
}

.l9-modal-subtitle {
    margin: 6px 0 0;
    color: var(--l9-text-muted);
    line-height: 1.35;
}

.l9-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: transparent;
    color: var(--l9-text);
    font-size: 1.4rem;
    line-height: 1;
}

.l9-modal-statusrow {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 12px 20px 0;
}

.l9-modal-body {
    padding: 18px 20px;
    overflow: auto;
    max-height: calc(100vh - 180px);
}

.l9-modal-root.is-slidein .l9-modal-body {
    max-height: calc(100vh - 172px);
}

.l9-modal-fields {
    display: grid;
    gap: 12px;
}

.l9-modal-field {
    display: grid;
    gap: 6px;
}

.l9-modal-field-label {
    color: var(--l9-accent);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.l9-modal-field-value {
    color: var(--l9-text);
    font-weight: 700;
    line-height: 1.35;
}

.l9-modal-input {
    width: 100%;
    min-height: 40px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    color: var(--l9-text);
    padding: 9px 11px;
    outline: none;
}

    .l9-modal-input:focus {
        border-color: rgba(212,166,74,.7);
    }

.l9-modal-check,
.l9-modal-option {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--l9-text);
}

.l9-modal-options {
    display: grid;
    gap: 8px;
}

.l9-modal-message {
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(212,166,74,.35);
    border-radius: 12px;
    background: rgba(212,166,74,.1);
    color: var(--l9-text);
}

    .l9-modal-message.is-error {
        border-color: rgba(255,96,96,.48);
        background: rgba(255,96,96,.11);
    }

.l9-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 20px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.l9-modal-action {
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background: transparent;
    color: var(--l9-text);
    font-weight: 850;
}

    .l9-modal-action.is-primary {
        border-color: var(--l9-accent);
        background: var(--l9-accent);
        color: #111111;
    }

    .l9-modal-action.is-danger {
        border-color: rgba(255,96,96,.55);
        color: #ffb1b1;
    }

    .l9-modal-action.is-ghost {
        border-color: transparent;
    }

@media (max-width: 767.98px) {
    .l9-modal-root.is-popover .l9-modal-shell,
    .l9-modal-root.is-slidein .l9-modal-shell {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: auto;
        max-height: 92vh;
        transform: none;
        border-radius: 22px 22px 0 0;
    }

    .l9-modal-body {
        max-height: calc(92vh - 170px);
    }

    .l9-modal-footer {
        flex-direction: column-reverse;
    }

    .l9-modal-action {
        width: 100%;
    }
}



/* ========================================================= */
/* CONTROL: ctrl_loggedin                                    */
/* PURPOSE                                                   */
/* Session based logged in identity panel                    */
/* ========================================================= */

.l9-loggedin-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    background: linear-gradient(180deg, rgba(38,38,38,0.97) 0%, rgba(27,27,27,0.97) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--l9-shadow-strong);
}

.l9-loggedin-avatar-wrap {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: rgba(212,166,74,0.16);
    border: 1px solid rgba(212,166,74,0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--l9-shadow-soft);
}

.l9-loggedin-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.l9-loggedin-initials {
    color: var(--l9-accent);
    font-family: var(--l9-font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.l9-loggedin-title {
    margin: 0 0 8px 0;
    color: var(--l9-text);
    font-family: var(--l9-font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.l9-loggedin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--l9-text-muted);
    font-weight: 600;
    margin-bottom: 10px;
}

.l9-loggedin-dot {
    color: var(--l9-accent);
}

.l9-loggedin-nickname {
    color: var(--l9-text-muted);
    margin-bottom: 16px;
}

    .l9-loggedin-nickname strong {
        color: var(--l9-text);
    }

.l9-loggedin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

@media (max-width: 767.98px) {
    .l9-loggedin-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px;
    }

    .l9-loggedin-avatar-wrap {
        margin: 0 auto;
    }

    .l9-loggedin-meta,
    .l9-loggedin-actions {
        justify-content: center;
    }
}

/* ========================================================= */
/* HOME DECISION HERO                                        */
/* PURPOSE                                                   */
/* Potent default.aspx decision panel                        */
/* ========================================================= */

.l9-home-hero {
    min-height: 430px;
    display: flex;
    align-items: center;
}

.l9-home-hero-inner {
    max-width: 820px;
}

.l9-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.l9-home-context {
    margin-top: 20px;
    color: var(--l9-text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .l9-home-hero {
        min-height: 360px;
    }

    .l9-home-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* ========================================================= */
/* L9.FITNESS LIGHT PORTAL PRODUCTION UX PATCH               */
/* PURPOSE                                                   */
/* Finishes the light portal around membership management    */
/* and support routing without changing the ASCX architecture */
/* ========================================================= */

.l9-utility-hero {
    min-height: 380px;
}

.l9-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.l9-title-page {
    margin-bottom: 8px;
}

.l9-page-heading-actions,
.l9-action-row,
.l9-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.l9-current-membership {
    border-color: rgba(212,166,74,0.42);
}

.l9-card-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.l9-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(212,166,74,0.14);
    border: 1px solid rgba(212,166,74,0.45);
    color: var(--l9-accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
}

.l9-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.l9-metric-card,
.l9-mini-summary {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 16px;
}

.l9-mini-label {
    color: var(--l9-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.l9-mini-value {
    color: var(--l9-text);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    word-break: break-word;
}

.l9-membership-grid,
.l9-membership-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.l9-membership-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
}

.l9-membership-row-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.l9-membership-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,166,74,0.16);
    color: var(--l9-accent);
    font-weight: 900;
}

.l9-row-title {
    color: var(--l9-text);
    font-weight: 800;
    line-height: 1.25;
}

.l9-row-meta,
.l9-row-closed {
    color: var(--l9-text-muted);
    font-size: 0.92rem;
    line-height: 1.35;
}

.l9-btn-small {
    min-height: 38px;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
}

.l9-muted-panel {
    opacity: 0.92;
}

.l9-warning-box {
    background: rgba(212,166,74,0.12);
    border: 1px solid rgba(212,166,74,0.36);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 18px;
    color: var(--l9-text);
    font-weight: 650;
    line-height: 1.45;
}

.l9-breadcrumb {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 16px !important;
}

.l9-breadcrumb-link {
    color: var(--l9-text-muted);
    text-decoration: none;
}

.l9-breadcrumb-link:hover {
    color: var(--l9-text);
}

.l9-breadcrumb .breadcrumb-item.active .l9-breadcrumb-text {
    color: var(--l9-text);
}

.l9-breadcrumb .breadcrumb-item:not(.active) .l9-breadcrumb-text {
    color: var(--l9-text-muted);
}

.l9-breadcrumb-inner {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.l9-breadcrumb-icon svg {
    width: 13px;
    height: 13px;
}

/* PAUSE FLOW — sectioned, chip-driven duration picker */

.l9-pause-section {
    margin-top: 28px;
}

    .l9-pause-section:first-of-type {
        margin-top: 20px;
    }

.l9-pause-section-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--l9-text);
    margin: 0 0 12px 0;
}

.l9-pause-subfield-label {
    color: var(--l9-text-muted);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.l9-pause-paid-through {
    color: var(--l9-text-muted);
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.l9-bonus-hero {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(200, 168, 75, 0.07);
    border: 1px solid rgba(200, 168, 75, 0.25);
    border-radius: 8px;
    padding: 12px 16px;
}

.l9-bonus-hero-days {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--l9-accent);
    white-space: nowrap;
    line-height: 1;
    padding-top: 2px;
}

.l9-bonus-hero-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.l9-bonus-hero-text {
    font-size: 0.875rem;
    color: var(--l9-text-muted);
    line-height: 1.45;
}

.l9-bonus-hero-detail {
    margin: 0;
}

.l9-bonus-hero-detail-toggle {
    font-size: 0.78rem;
    color: var(--l9-accent);
    cursor: pointer;
    list-style: none;
    display: inline;
    user-select: none;
}

.l9-bonus-hero-detail-toggle::-webkit-details-marker {
    display: none;
}

.l9-bonus-hero-detail-body {
    font-size: 0.8rem;
    color: var(--l9-text-muted);
    margin: 4px 0 0;
    line-height: 1.45;
}

.l9-pause-summary-bonus-warn {
    display: block;
    font-size: 0.82rem;
    color: var(--l9-accent);
    font-weight: 400;
    margin-top: 4px;
    opacity: 0.85;
}

.l9-pause-bonus-separator {
    width: 100%;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--l9-accent);
    margin: 10px 0 4px;
}

    .l9-pause-quickpick.is-bonus {
        border-color: var(--l9-accent);
        color: var(--l9-accent);
    }

    .l9-pause-quickpick.is-bonus:hover,
    .l9-pause-quickpick.is-bonus:focus {
        background: rgba(200, 168, 75, 0.1);
        outline: none;
    }

    .l9-pause-quickpick.is-bonus.is-selected {
        background: var(--l9-accent);
        color: #111;
    }

    .l9-pause-quickpick.is-bonus.is-selected .l9-pause-quickpick-suffix {
        color: rgba(17, 17, 17, 0.75);
    }

.l9-pause-view-toggle {
    display: inline-flex;
    border: 1px solid #444;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
}

.l9-pause-view-btn {
    background: transparent;
    border: none;
    border-right: 1px solid #444;
    padding: 6px 18px;
    font-size: 0.875rem;
    color: var(--l9-text-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

    .l9-pause-view-btn:last-child {
        border-right: none;
    }

    .l9-pause-view-btn.is-active {
        background: var(--l9-accent);
        color: #111;
        font-weight: 600;
    }

    .l9-pause-view-btn:not(.is-active):hover {
        background: rgba(255, 255, 255, 0.06);
        color: var(--l9-text);
    }

.l9-pause-quickpick-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.l9-pause-quickpick-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.l9-pause-quickpick {
    flex: 1 1 auto;
    min-width: 90px;
    padding: 10px 14px;
    background: transparent;
    color: var(--l9-text);
    border: 1px solid #555;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
    white-space: nowrap;
}

    .l9-pause-quickpick:hover,
    .l9-pause-quickpick:focus {
        border-color: var(--l9-accent);
        outline: none;
    }

    .l9-pause-quickpick.is-selected {
        background: var(--l9-accent);
        border-color: var(--l9-accent);
        color: #111;
    }

.l9-pause-quickpick-suffix {
    color: var(--l9-text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

.l9-pause-quickpick.is-selected .l9-pause-quickpick-suffix {
    color: rgba(17, 17, 17, 0.75);
}

.l9-pause-calendar-wrap {
    margin-bottom: 8px;
}

.l9-pause-mondays-note {
    font-size: 0.85rem;
    color: var(--l9-text-muted);
    margin: 4px 0 0 0;
    font-style: italic;
}

.l9-pause-summary {
    color: var(--l9-text-muted);
    font-size: 1rem;
    min-height: 1.5rem;
    margin-top: 20px;
}

    .l9-pause-summary.is-active {
        color: var(--l9-text);
        font-weight: 600;
    }

.l9-pause-summary-meta {
    color: var(--l9-text-muted);
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-left: 8px;
}

.l9-pause-back-to-presets {
    margin-top: 14px;
    text-align: center;
}

    .l9-pause-back-to-presets .l9-btn-link {
        font-size: 0.85rem;
        font-weight: 400;
        text-transform: none;
        letter-spacing: 0;
        color: var(--l9-text-muted);
    }

        .l9-pause-back-to-presets .l9-btn-link:hover,
        .l9-pause-back-to-presets .l9-btn-link:focus {
            color: var(--l9-text);
        }

@media (min-width: 640px) {
    .l9-pause-chip-group {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .l9-pause-chip {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
    }
}

/* DATE RANGE SELECTOR — inline month chevrons, locked-from box */

.l9-daterange-display.is-locked {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: transparent;
    border: 1px solid #333;
    color: var(--l9-text-muted);
    cursor: default;
    padding: 14px 18px;
    border-radius: var(--l9-radius-button);
}

.l9-daterange-month-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.l9-daterange-month-title {
    flex: 1;
    text-align: center;
    font-weight: 700;
    color: var(--l9-text);
}

.l9-daterange-nav {
    background: transparent;
    border: 1px solid #444;
    color: var(--l9-text);
    font-size: 1.2rem;
    line-height: 1;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: color .15s ease, background .15s ease, border-color .15s ease;
}

    .l9-daterange-nav:hover,
    .l9-daterange-nav:focus {
        color: var(--l9-accent);
        border-color: var(--l9-accent);
        background: rgba(255, 255, 255, 0.04);
        outline: none;
    }

.l9-cancel-row {
    margin-top: 24px;
    text-align: center;
}

    .l9-cancel-row .l9-btn-link {
        font-size: 0.9rem;
        font-weight: 400;
        text-transform: none;
        letter-spacing: 0;
        color: var(--l9-text-muted);
        opacity: 0.85;
    }

        .l9-cancel-row .l9-btn-link:hover,
        .l9-cancel-row .l9-btn-link:focus {
            color: var(--l9-text);
            opacity: 1;
        }

.l9-error-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e0a0a;
    border: 1px solid #7a2020;
    color: #f08080;
    border-radius: 10px;
    padding: 14px 18px;
    max-width: 440px;
    width: calc(100% - 48px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.5);
}

.l9-error-toast-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.l9-error-toast-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.65;
    flex-shrink: 0;
}

    .l9-error-toast-close:hover {
        opacity: 1;
    }

.l9-back-link {
    display: block;
    width: fit-content;
    color: var(--l9-text-muted);
    margin-bottom: 18px;
    font-weight: 700;
}

.l9-back-link:hover,
.l9-back-link:focus {
    color: var(--l9-text);
}

.l9-location-card,
.l9-support-form-card {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    padding: 20px;
}

.l9-location-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.10);
    margin-bottom: 18px;
}

.l9-success-panel {
    border-color: rgba(87, 190, 124, 0.42);
}

.l9-form-checkline {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.l9-form-checkline input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    background-color: #181818;
    border: 1px solid #666666;
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.l9-form-checkline input[type="checkbox"]:checked {
    background-color: var(--l9-accent);
    border-color: var(--l9-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath fill='%23111111' d='M6.2 11.4 2.7 7.9l1.4-1.4 2.1 2.1 5.7-5.7 1.4 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.l9-form-checkline label {
    line-height: 1.45;
}

@media (max-width: 991.98px) {
    .l9-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .l9-page-heading {
        align-items: stretch;
    }

    .l9-page-heading-actions,
    .l9-action-row,
    .l9-contact-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .l9-summary-grid {
        grid-template-columns: 1fr;
    }

    .l9-card-topline,
    .l9-membership-row {
        align-items: stretch;
        flex-direction: column;
    }
}

/* ---- Copy text control ---- */
.l9-copytext-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.l9-copytext-value {
    word-break: break-all;
}

.l9-copy-btn {
    background: none;
    border: 1px solid var(--l9-border, rgba(255,255,255,.18));
    border-radius: 4px;
    color: var(--l9-text-muted, #aaa);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 6px;
    transition: color .15s, border-color .15s;
    flex-shrink: 0;
    line-height: 1;
}

.l9-copy-btn:hover,
.l9-copy-btn:focus {
    color: var(--l9-gold, #c9a84c);
    border-color: var(--l9-gold, #c9a84c);
    outline: none;
}

.l9-copy-btn.is-copied {
    color: #6bcb77;
    border-color: #6bcb77;
}

.l9-support-ref {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.78rem;
    word-break: break-all;
    font-weight: 600;
}

/* ---- Paid through bar ---- */
.l9-paid-through-bar {
    border-top: 1px solid var(--l9-border, rgba(255,255,255,.1));
    padding: 18px 0 4px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.l9-paid-through-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--l9-text-muted, #aaa);
    text-transform: uppercase;
    white-space: nowrap;
}

.l9-paid-through-date {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--l9-text, #fff);
}

/* ---- Billing portal section ---- */
.l9-billing-portal-section {
    border-top: 1px solid var(--l9-border, rgba(255,255,255,.1));
    padding: 20px 0 8px;
    margin-bottom: 4px;
}

.l9-billing-portal-section .l9-eyebrow {
    margin-bottom: 6px;
}

.l9-billing-portal-section p {
    color: var(--l9-text-muted, #aaa);
    font-size: .88rem;
    margin-bottom: 12px;
}

/* ---- Activity log ---- */
.l9-action-log-list {
    display: flex;
    flex-direction: column;
}

.l9-action-log-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--l9-border, rgba(255,255,255,.07));
}

.l9-action-log-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.l9-action-log-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--l9-gold, #c9a84c);
    margin-top: 5px;
    flex-shrink: 0;
}

.l9-action-log-dot.is-failed {
    background: #e05252;
}

.l9-action-log-dot.is-pending {
    background: #888;
}

.l9-action-log-body {
    flex: 1;
}

.l9-action-log-title {
    font-weight: 600;
    font-size: .9rem;
    color: var(--l9-text, #fff);
}

.l9-action-log-meta {
    font-size: .8rem;
    color: var(--l9-text-muted, #aaa);
    margin-top: 2px;
}
