/* v6.38 — Compact Elegance / Gallery / Month in White. Patron scope only. */
body.patron-experience {
    --library-border: var(--cpl-line-e5e7eb, #e5e7eb);
    --library-radius: 14px;
    --library-shadow: none;
    --library-shadow-hover: none;
    --bs-body-bg: var(--cpl-bg-fff, #fff);
    --bs-secondary-color: var(--cpl-fg-59616d, #59616d);
    background: var(--cpl-bg-fff, #fff) !important;
    color: var(--cpl-fg-1d232b, #1d232b);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.55;
}
.patron-experience .patron-navbar-light {
    background: var(--cpl-bg-fff, #fff);
    border-bottom: 1px solid var(--cpl-line-eef0f2, #eef0f2);
    padding-block: 1.25rem;
}
.patron-experience .patron-navbar-light > .container,
.patron-experience > main.container { max-width: 1160px; }
.patron-experience > main.container { padding-top: 3rem !important; padding-bottom: 4rem !important; }
.patron-experience .cpl-brand-logo-public { width: 255px; }
.patron-experience .patron-primary-nav { gap: .6rem; }
.patron-experience .patron-navbar-light .nav-link { font-weight: 500; font-size: .95rem; }
.patron-experience .page-header { margin-bottom: 2rem; align-items: center; gap: 1.5rem; }
.patron-experience .page-header h1 { font-size: clamp(2rem, 3.2vw, 2.7rem); font-weight: 650; letter-spacing: -.045em; color: var(--cpl-fg-1d232b, #1d232b); }
.patron-experience .page-header p { margin-top: .6rem; }
.patron-experience .btn { padding: .65rem 1rem; font-weight: 600; box-shadow: none; min-height: 44px; }
.patron-experience .btn:hover:not(:disabled) { transform: none; }
.patron-experience .btn-sm { padding: .45rem .8rem; }
.patron-experience .btn-link { min-height: auto; }
.patron-experience .patron-view-switcher { gap: .2rem; padding: .25rem; border-radius: .75rem; background: var(--cpl-bg-f3f4f6, #f3f4f6); flex-wrap: wrap; }
.patron-experience .patron-view-switcher .btn { font-size: .86rem; padding: .5rem .85rem; min-height: 40px; }
.patron-experience .patron-view-switcher .btn:not([aria-current="page"]) { background: var(--cpl-bg-edf0f3, #edf0f3); border-color: var(--cpl-line-edf0f3, #edf0f3); color: var(--cpl-fg-354353, #354353); }
.patron-experience .patron-view-switcher .btn:not([aria-current="page"]):hover { background: var(--cpl-bg-e1e7ed, #e1e7ed); color: var(--cpl-fg-244a73, #244a73); border-color: var(--cpl-line-e1e7ed, #e1e7ed); }
.patron-experience .patron-view-switcher .btn[aria-current="page"] { box-shadow: none !important; }
.patron-experience .card { border: 1px solid var(--cpl-line-e5e7eb, #e5e7eb); background: var(--cpl-bg-fff, #fff); box-shadow: none; border-radius: 14px; }
.patron-experience .card:hover { box-shadow: none; }
.patron-experience .card-header, .patron-experience .card-footer { border-color: var(--cpl-line-eef0f2, #eef0f2); background: var(--cpl-bg-fff, #fff); }
.patron-experience .card-body { padding: 1.5rem; }
.patron-experience .card-header { padding: 1.15rem 1.5rem; }
.patron-experience .form-control, .patron-experience .form-select {
    border-color: var(--cpl-line-dfe3e8, #dfe3e8); background-color: var(--cpl-bg-fff, #fff); min-height: 48px; border-radius: 10px; padding-block: .65rem;
}
.patron-experience .form-label { font-size: .9rem; font-weight: 600; color: var(--cpl-fg-454d58, #454d58); }
.patron-experience .input-group-text { background: var(--cpl-bg-fff, #fff); border-color: var(--cpl-line-dfe3e8, #dfe3e8); color: var(--cpl-fg-59616d, #59616d); }
.patron-experience .table { --bs-table-bg: var(--cpl-bg-fff, #fff); --bs-table-striped-bg: var(--cpl-bg-fafbfc, #fafbfc); --bs-table-hover-bg: var(--cpl-bg-f7f9fb, #f7f9fb); border-color: var(--cpl-line-e9ecef, #e9ecef); }
.patron-experience .table > :not(caption) > * > * { padding: 1rem; }
.patron-experience .table thead th { font-size: .82rem; font-weight: 600; color: var(--cpl-fg-59616d, #59616d); background: var(--cpl-bg-fafbfc, #fafbfc); }
.patron-experience .account-stat { border-left: 1px solid var(--cpl-line-e5e7eb, #e5e7eb); }
.patron-experience .badge-soft { background: var(--cpl-bg-f0f4f8, #f0f4f8); color: var(--cpl-fg-244a73, #244a73); }
.patron-experience .alert { border-radius: 12px; }
/* One compact search/filter row, with real labels retained for assistive technology. */
.patron-experience .patron-calendar-controls { border: 0; border-radius: 0; margin-bottom: 2rem !important; overflow: visible; }
.patron-experience .patron-calendar-controls .card-body { padding: 0; }

.patron-experience .patron-calendar-controls .form-label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.patron-experience .patron-calendar-controls .input-group { border-radius: 10px; }
.patron-experience .patron-calendar-controls .input-group-text { padding-inline: .9rem; border-right: 0; }
.patron-experience .patron-calendar-controls .input-group .form-control { border-left: 0; padding-left: 0; }
/* Compact Elegance list. Descriptions stay in the detail panel. */
.patron-experience #calendarAgenda { margin-top: .5rem; }
.patron-experience .calendar-month-divider { margin: 2rem 0 .5rem; justify-content: flex-start; }
.patron-experience .calendar-month-divider-line { display: none; }
.patron-experience .calendar-month-divider-title { color: var(--cpl-fg-1d232b, #1d232b); font-size: 1.2rem; font-weight: 600; padding: 0; background: var(--cpl-bg-fff, #fff); }
.patron-experience .calendar-agenda-day { margin-bottom: 0; }
.patron-experience .calendar-list-event {
    grid-template-columns: 215px minmax(0, 1fr) 165px;
    gap: 1.8rem; padding: 1.75rem 0; align-items: center;
    border-bottom: 1px solid var(--cpl-line-e5e7eb, #e5e7eb); border-radius: 0; background: var(--cpl-bg-fff, #fff);
}
.patron-experience .calendar-list-event:last-child { border-bottom: 1px solid var(--cpl-line-e5e7eb, #e5e7eb); }
.patron-experience .calendar-event-time { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; font-size: .9rem; color: var(--cpl-fg-59616d, #59616d); white-space: normal; }
.patron-experience .calendar-event-time strong { font-size: .97rem; color: var(--cpl-fg-1d232b, #1d232b); font-weight: 600; }
.patron-experience .calendar-event-time > .bi { display: none; }
.patron-experience .calendar-event-main { padding-left: 1.6rem; border-left: 1px solid var(--cpl-line-eef0f2, #eef0f2); min-width: 0; }
.patron-experience .calendar-event-category { color: var(--cpl-fg-59616d, #59616d); font-size: .82rem; margin-bottom: .3rem; }
.patron-experience .calendar-event-category::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--cpl-bg-244a73, #244a73); border-radius: 50%; margin-right: .5rem; }
.patron-experience .calendar-event-title-link { color: var(--cpl-fg-1d232b, #1d232b); font-size: 1.17rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.4; }
.patron-experience .calendar-event-room { color: var(--cpl-fg-59616d, #59616d); font-size: .88rem; margin-top: .4rem; white-space: normal; }
.patron-experience .calendar-event-action { min-width: 0; width: 165px; }
.patron-experience .calendar-event-action .btn { min-width: 0; max-width: none; width: 100%; font-size: .9rem; }
.patron-experience .calendar-event-action .bi { display: none; }
/* Registered Gallery: three clean, text-only cards. */
.patron-experience #registeredProgramGrid { --bs-gutter-x: 1.4rem; --bs-gutter-y: 1.4rem; }
.patron-experience .gallery-program-card { border-color: var(--cpl-line-dfe3e8, #dfe3e8); border-radius: 14px; }
.patron-experience .gallery-program-card .card-body { padding: 1.65rem; }
.patron-experience .gallery-event-date { font-size: .8rem; color: var(--cpl-fg-59616d, #59616d); font-weight: 600; letter-spacing: .035em; text-transform: uppercase; margin-bottom: .8rem; }
.patron-experience .gallery-program-card .program-title { font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.3; font-weight: 650; margin-bottom: .5rem; }
.patron-experience .gallery-program-card .program-title a { color: var(--cpl-fg-1d232b, #1d232b); text-decoration: none; }
.patron-experience .gallery-program-card .program-title a:hover { text-decoration: underline; }
.patron-experience .gallery-event-category { font-size: .82rem; color: var(--cpl-fg-59616d, #59616d); margin-bottom: 1.2rem; }
.patron-experience .gallery-event-meta { font-size: .9rem; margin-bottom: 1.6rem; }
.patron-experience .gallery-event-meta .program-meta-row { margin-bottom: .5rem; gap: .55rem; }
.patron-experience .gallery-event-meta .program-meta-row i { color: var(--cpl-fg-59616d, #59616d); }
.patron-experience .gallery-schedule-label { font-size: .8rem; margin-top: .6rem; }
.patron-experience .gallery-availability { font-size: .87rem; color: var(--cpl-fg-59616d, #59616d); }
.patron-experience .gallery-event-fee { font-size: .9rem; color: var(--cpl-fg-1d232b, #1d232b); font-weight: 600; margin: .35rem 0 1rem; }
.patron-experience .gallery-event-footer .btn { min-width: 128px; max-width: 100%; font-size: .9rem; }
/* Month in White: clean grid, titles and times only, no room labels. */
.patron-experience .monthly-calendar { box-shadow: none; border-radius: 8px; border-color: var(--cpl-line-e5e7eb, #e5e7eb); }
.patron-experience .monthly-calendar-weekdays { background: var(--cpl-bg-fff, #fff); border-color: var(--cpl-line-e5e7eb, #e5e7eb); }
.patron-experience .monthly-calendar-weekdays > div { font-weight: 500; font-size: .8rem; padding: 1rem .5rem; color: var(--cpl-fg-59616d, #59616d); letter-spacing: .02em; }
.patron-experience .monthly-calendar-day { min-height: 170px; padding: .8rem; border-color: var(--cpl-line-e5e7eb, #e5e7eb); }
.patron-experience .monthly-calendar-day-outside { background: var(--cpl-bg-fcfcfd, #fcfcfd); }
.patron-experience .monthly-calendar-day-clickable:hover,
.patron-experience .monthly-calendar-day-clickable:focus { background: var(--cpl-bg-fafcfe, #fafcfe); box-shadow: none; }
.patron-experience .monthly-calendar-day-number { font-weight: 500; color: var(--cpl-fg-59616d, #59616d); margin-bottom: .6rem; }
.patron-experience .monthly-calendar-day-number.is-today { background: var(--cpl-bg-244a73, #244a73); color: var(--cpl-fg-fff, #fff); }
.patron-experience .monthly-calendar-programs { gap: .65rem; }
.patron-experience .monthly-calendar-program {
    appearance: none; border: 0; background: transparent; padding: .15rem;
    display: flex; flex-direction: column-reverse; align-items: flex-start;
    gap: .15rem; color: var(--cpl-fg-244a73, #244a73); text-align: left; font: inherit; font-size: .8rem;
    width: 100%; cursor: pointer; border-radius: 4px; line-height: 1.35;
}
.patron-experience .monthly-calendar-program:hover { background: var(--cpl-bg-eef4f9, #eef4f9); }
.patron-experience .monthly-calendar-program-title { white-space: normal; overflow-wrap: anywhere; font-weight: 600; }
.patron-experience .monthly-calendar-program-time { font-size: .73rem; font-weight: 400; color: var(--cpl-fg-59616d, #59616d); }
.patron-experience .monthly-calendar-more { font-weight: 500; padding: .25rem .15rem; }
/* Patron subpages and detail panels use the same typography, surfaces and spacing. */
.patron-experience .offcanvas { background: var(--cpl-bg-fff, #fff); }
.patron-experience .offcanvas-header { padding: 1.5rem; }
.patron-experience .offcanvas-body, .patron-experience .program-detail-body { padding: 1.5rem; }
.patron-experience .offcanvas-title { font-weight: 650; letter-spacing: -.03em; }
.patron-experience .calendar-event-detail-offcanvas { --bs-offcanvas-width: min(500px, 94vw); }
.patron-experience .calendar-detail-meta-row { display: flex; align-items: flex-start; gap: .7rem; color: var(--cpl-fg-59616d, #59616d); margin-bottom: .6rem; }
.patron-experience .calendar-detail-meta-row i { width: 1.2rem; color: var(--cpl-fg-244a73, #244a73); }
.patron-experience .calendar-day-panel-event { box-shadow: none; border-color: var(--cpl-line-e5e7eb, #e5e7eb); padding: 1.25rem; }
.patron-experience .patron-login-shell { max-width: 600px; margin-inline: auto; }
.patron-experience .patron-login-card { box-shadow: none; border-color: var(--cpl-line-e5e7eb, #e5e7eb); }
.patron-experience .patron-login-card .card-body { padding: 2.5rem; }
.patron-experience .patron-login-heading { color: var(--cpl-fg-1d232b, #1d232b); letter-spacing: -.035em; border-bottom: 0; }
.patron-experience .event-page { max-width: 820px; }
.patron-experience .patron-mobile-nav { background: var(--cpl-bg-fff, #fff); border-top: 1px solid var(--cpl-line-e5e7eb, #e5e7eb); box-shadow: none; }
@media (min-width: 992px) {
    .patron-experience .patron-calendar-controls .row > div { width: 20%; }
    .patron-experience .patron-calendar-controls .row > div:first-child { width: 40%; }
}
@media (max-width: 991.98px) {
    .patron-experience .calendar-list-event { grid-template-columns: 165px minmax(0, 1fr) 135px; gap: 1rem; }
    .patron-experience .calendar-event-main { padding-left: 1rem; }
    .patron-experience .calendar-event-action { width: 135px; }
    .patron-experience .monthly-calendar-weekdays, .patron-experience .monthly-calendar-grid { min-width: 780px; }
}
@media (max-width: 767.98px) {
    .patron-experience > main.container { padding-top: 1.75rem !important; padding-bottom: 6rem !important; }
    .patron-experience .page-header { gap: 1rem; margin-bottom: 1.5rem; }
    .patron-experience .patron-navbar-light { padding-block: .85rem; }
    .patron-experience .cpl-brand-logo-public { width: 215px; }
    .patron-experience .calendar-list-event { grid-template-columns: minmax(0,1fr); gap: .8rem; padding: 1.4rem 0; }
    .patron-experience .calendar-event-main { padding-left: 0; border-left: 0; }
    .patron-experience .calendar-event-time { gap: .15rem; }
    .patron-experience .calendar-event-action { justify-self: start; width: auto; }
    .patron-experience .calendar-event-action .btn { min-width: 150px; width: auto; }
    .patron-experience .gallery-program-card .card-body { padding: 1.5rem; }
    .patron-experience .card-body { padding: 1.25rem; }
    .patron-experience .patron-login-card .card-body { padding: 1.75rem; }
    .patron-experience .table > :not(caption) > * > * { padding: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .patron-experience .btn, .patron-experience .monthly-calendar-day-clickable { transition: none; }
}

.patron-experience .monthly-calendar-day-toggle { appearance: none; border: 0; background: transparent; cursor: pointer; padding: 0; }
.patron-experience .monthly-calendar-day-toggle:hover { background: var(--cpl-bg-eef4f9, #eef4f9); color: var(--cpl-fg-244a73, #244a73); }
.patron-experience .monthly-calendar-more { appearance: none; border: 0; background: transparent; text-align: left; cursor: pointer; }
.patron-experience .monthly-calendar-day-clickable { cursor: default; }

/* v6.39: capsule view selector and functional search + expandable filter panel. */
.patron-experience .patron-view-switcher.btn-group {
    border-radius: 999px; border: 1px solid var(--cpl-line-dce1e7, #dce1e7); background: var(--cpl-bg-f3f4f6, #f3f4f6);
    padding: 4px; gap: 4px; flex-wrap: nowrap;
}
.patron-experience .patron-view-switcher.btn-group > .btn,
.patron-experience .patron-view-switcher.btn-group > .btn:not(:first-child),
.patron-experience .patron-view-switcher.btn-group > .btn:not(:last-child) {
    border-radius: 999px !important; margin: 0 !important;
    min-height: 40px; min-width: 86px; padding: .45rem 1.15rem;
    border-color: transparent; font-size: .9rem; font-weight: 500;
}
.patron-experience .patron-view-switcher.btn-group > .btn:not([aria-current="page"]) { background: transparent; }
.patron-experience .patron-filter-controls { margin: 0 0 2.25rem; }
.patron-experience .patron-search-toolbar { display: flex; align-items: center; gap: 1rem; }
.patron-experience .patron-search-field { position: relative; flex: 1; min-width: 0; }
.patron-experience .patron-search-field > .bi { position: absolute; inset: 50% auto auto 1.1rem; transform: translateY(-50%); color: var(--cpl-fg-59616d, #59616d); pointer-events: none; }
.patron-experience .patron-search-field > .form-control { border-radius: 999px; padding: .8rem 1.25rem .8rem 2.8rem; min-height: 52px; background: var(--cpl-bg-fff, #fff); }
.patron-experience .patron-filter-toggle { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .55rem; min-height: 52px; padding: .75rem 1.2rem; background: var(--cpl-bg-f3f4f6, #f3f4f6); border: 1px solid var(--cpl-line-dce1e7, #dce1e7); color: var(--cpl-fg-29394a, #29394a); border-radius: 12px !important; }
.patron-experience .patron-filter-toggle:hover,
.patron-experience .patron-filter-toggle[aria-expanded="true"] { background: var(--cpl-bg-eaf0f6, #eaf0f6); border-color: var(--cpl-line-b9c8d8, #b9c8d8); color: var(--cpl-fg-244a73, #244a73); }
.patron-experience .patron-filter-count { padding: .1rem .45rem; border-radius: 999px; background: var(--cpl-bg-244a73, #244a73); color: var(--cpl-fg-fff, #fff); font-size: .75rem; }
.patron-experience .patron-filter-panel { border: 1px solid var(--cpl-line-b9c8d8, #b9c8d8); border-radius: 14px; padding: 1.2rem; margin-top: 1rem; background: var(--cpl-bg-eaf0f6, #eaf0f6); }
.patron-experience .patron-filter-panel[hidden],
.patron-experience .patron-filter-count[hidden] { display: none !important; }
.patron-experience .patron-filter-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.patron-experience .patron-filter-fields > div { min-width: 0; }
.patron-experience .patron-filter-reset { color: var(--cpl-fg-244a73, #244a73); font-size: .85rem; padding: .6rem 0 0; }
@media (max-width: 575.98px) {
    .patron-experience .patron-search-toolbar { gap: .6rem; }
    .patron-experience .patron-filter-toggle { padding-inline: .85rem; }
    .patron-experience .patron-filter-fields { grid-template-columns: 1fr; }
    .patron-experience .patron-view-switcher.btn-group > .btn { min-width: 0; padding-inline: 1rem; }
}

/* v6.40: consistently centered patron actions; Calendar List remains unchanged. */
.patron-experience .btn:where(:not(.btn-link):not(.calendar-row-action-button):not(.patron-filter-toggle)) {
    display: inline-flex; align-items: center; justify-content: center;
    gap: .4rem; box-sizing: border-box; vertical-align: middle;
    line-height: 1.25; min-height: 44px; padding: .55rem 1rem;
}
.patron-experience .account-sortable-table .btn,
.patron-experience .card-header .btn,
.patron-experience .card-footer .btn {
    line-height: 1.25; padding: .55rem .9rem; min-height: 44px;
    align-self: center; margin-block: 0;
}
.patron-experience .gallery-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.patron-experience .gallery-card-badges { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; min-width: 0; }
.patron-experience .gallery-card-badges .badge { font-size: .73rem; font-weight: 500; line-height: 1.35; padding: .3rem .55rem; white-space: normal; text-align: left; }
.patron-experience .gallery-schedule-badge { background: var(--cpl-bg-f7f8fa, #f7f8fa); color: var(--cpl-fg-39424d, #39424d); border: 1px solid var(--cpl-line-e1e5ea, #e1e5ea); }
.patron-experience .gallery-header-fee { margin: .1rem 0 0; text-align: right; color: var(--cpl-fg-244a73, #244a73); font-size: .85rem; flex: 0 0 auto; max-width: 42%; }
.patron-experience .gallery-program-card .program-title { margin-bottom: 1.25rem; }
.patron-experience .gallery-event-meta { margin-bottom: 1.5rem; }
.patron-experience .gallery-date-row { font-weight: 400; }
.patron-experience .gallery-availability { margin-bottom: 1rem; }
.patron-experience .gallery-availability .bi { margin-right: .3rem; }
.patron-experience .gallery-event-footer .public-program-action { width: auto; max-width: 100%; min-width: 140px; }
.patron-experience .cart-checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,300px); gap: 1.5rem; align-items: center; }
.patron-experience .cart-checkout-layout > form { width: 100%; margin: 0; }
@media (max-width: 767.98px) {
    .patron-experience .cart-checkout-layout { grid-template-columns: minmax(0,1fr); gap: 1rem; }
}

/* Registered cards: schedule below details, with aligned availability and compact actions. */
.patron-experience .gallery-schedule-slot { min-height: 2.5rem; margin-bottom: 1rem; }
.patron-experience .gallery-schedule-slot .badge { font-size: .78rem; font-weight: 500; line-height: 1.4; padding: .3rem .6rem; border-radius: 999px; white-space: normal; text-align: left; }

/* v6.77: patron action hierarchy, retaining Compact Elegance List buttons. */
.patron-experience .btn-secondary,
.patron-experience .btn-outline-secondary,
.patron-experience .btn-public-info,
.patron-experience .btn-public-closed {
    --bs-btn-color: var(--cpl-fg-39424d, #39424d);
    --bs-btn-bg: var(--cpl-bg-f3f4f6, #f3f4f6);
    --bs-btn-border-color: var(--cpl-line-f3f4f6, #f3f4f6);
    --bs-btn-hover-color: var(--cpl-fg-244a73, #244a73);
    --bs-btn-hover-bg: var(--cpl-bg-e1e7ed, #e1e7ed);
    --bs-btn-hover-border-color: var(--cpl-line-e1e7ed, #e1e7ed);
    --bs-btn-active-color: var(--cpl-fg-244a73, #244a73);
    --bs-btn-active-bg: var(--cpl-bg-e1e7ed, #e1e7ed);
    --bs-btn-active-border-color: var(--cpl-line-e1e7ed, #e1e7ed);
    --bs-btn-disabled-color: var(--cpl-fg-59616d, #59616d);
    --bs-btn-disabled-bg: var(--cpl-bg-f3f4f6, #f3f4f6);
    --bs-btn-disabled-border-color: var(--cpl-line-f3f4f6, #f3f4f6);
    color: var(--cpl-fg-39424d, #39424d); background: var(--cpl-bg-f3f4f6, #f3f4f6); border-color: var(--cpl-line-f3f4f6, #f3f4f6);
}
.patron-experience .btn-secondary:hover,
.patron-experience .btn-secondary:focus,
.patron-experience .btn-outline-secondary:hover,
.patron-experience .btn-outline-secondary:focus,
.patron-experience .btn-public-info:hover,
.patron-experience .btn-public-info:focus,
.patron-experience .btn-public-closed:hover,
.patron-experience .btn-public-closed:focus {
    color: var(--cpl-fg-244a73, #244a73); background: var(--cpl-bg-e1e7ed, #e1e7ed); border-color: var(--cpl-line-e1e7ed, #e1e7ed);
}
.patron-experience .btn-public-info:disabled,
.patron-experience .btn-public-closed:disabled {
    color: var(--cpl-fg-59616d, #59616d); background: var(--cpl-bg-f3f4f6, #f3f4f6); border-color: var(--cpl-line-f3f4f6, #f3f4f6);
}
.patron-experience .btn:where(:not(.btn-link):not(.patron-view-switcher .btn):not(.patron-filter-toggle)) {
    border-radius: .5rem;
}
.patron-experience .public-program-action .bi { font-size: 1em; flex-shrink: 0; }
.patron-experience .patron-registration-opening {
    padding: .85rem 1rem; border-radius: .5rem; background: var(--cpl-bg-f3f4f6, #f3f4f6);
    color: var(--cpl-fg-39424d, #39424d); font-size: .9rem; line-height: 1.5;
}
.patron-experience .patron-registration-opening .bi { color: var(--cpl-fg-244a73, #244a73); margin-right: .35rem; }
.patron-experience .patron-registration-opening time { font-weight: 600; }
.patron-experience .btn:focus-visible,
.patron-experience .btn-close:focus-visible {
    outline: 3px solid var(--cpl-line-005fcc, #005fcc); outline-offset: 3px; box-shadow: none;
}

.patron-experience .btn-secondary:active,
.patron-experience .btn-outline-secondary:active,
.patron-experience .btn-public-info:active,
.patron-experience .btn-public-closed:active {
    color: var(--cpl-fg-244a73, #244a73); background: var(--cpl-bg-e1e7ed, #e1e7ed); border-color: var(--cpl-line-e1e7ed, #e1e7ed);
}

/* v6.78: one detail layout across patron views; full-width gallery actions. */
.patron-experience .gallery-event-footer .public-program-action {
    width: 100%; min-width: 0; max-width: 100%;
}
.patron-experience .patron-session-list { display: flex; flex-direction: column; gap: .75rem; }
.patron-experience .patron-session { border: 1px solid var(--cpl-line-e5e7eb, #e5e7eb); border-radius: .5rem; padding: 1rem; }
.patron-experience .patron-session-date { color: var(--cpl-fg-1d232b, #1d232b); font-weight: 600; }
.patron-experience .patron-session-meta { color: var(--cpl-fg-59616d, #59616d); font-size: .9rem; margin-top: .25rem; }
.patron-experience .patron-spots-remaining { color: var(--cpl-fg-59616d, #59616d); font-size: .9rem; margin-block: .75rem; }
/* Keep mobile navigation below the offcanvas backdrop and detail actions. */
.patron-experience .patron-mobile-nav { z-index: 1030; }

/* v6.79: matching leading action icons in List and Registered views. */
.patron-experience .calendar-event-action .bi {
    display: inline-block; flex-shrink: 0; font-size: 1em;
}
.patron-experience .calendar-event-action .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
}
.patron-experience .calendar-event-action .btn > .bi { margin-right: 0 !important; }

/* v6.84: registration-first details, usable Safari viewport and account Series dates. */
.patron-experience .patron-session-instruction { color:var(--cpl-fg-932825, #932825); font-size:1rem; padding:.75rem 1rem; background:var(--cpl-bg-fff5f4, #fff5f4); border-left:3px solid var(--cpl-line-932825, #932825); border-radius:.35rem; }
.patron-experience.patron-panel-open .patron-mobile-nav { display:none !important; }
.patron-experience .calendar-event-detail-offcanvas,
.patron-experience .calendar-day-offcanvas { top:var(--patron-panel-top,0px) !important; bottom:auto !important; height:var(--patron-panel-height,100dvh) !important; max-height:var(--patron-panel-height,100dvh) !important; }
.patron-experience .offcanvas-header { flex-shrink:0; padding-top:calc(1.5rem + env(safe-area-inset-top)); }
.patron-experience .offcanvas-body { min-height:0; overflow-y:auto; overscroll-behavior-y:contain; -webkit-overflow-scrolling:touch; padding-bottom:calc(1.5rem + env(safe-area-inset-bottom)); }
.patron-experience .account-series-dates { min-width:180px; white-space:normal; }
.patron-experience .account-series-dates summary { color:var(--cpl-fg-244a73, #244a73); cursor:pointer; }
.patron-experience .booking-combobox { position:relative; margin-bottom:1rem; }
.patron-experience .booking-combobox > input { padding-right:3rem; }
.patron-experience .booking-combobox-toggle { position:absolute; right:.3rem; top:.2rem; border:0; background:transparent; padding:.4rem .7rem; color:var(--cpl-fg-244a73, #244a73); }
.patron-experience .booking-combobox-results { position:absolute; left:0; right:0; top:100%; z-index:1055; max-height:18rem; overflow-y:auto; background:var(--cpl-bg-fff, #fff); border:1px solid var(--cpl-line-dce1e7, #dce1e7); border-radius:.65rem; box-shadow:0 .5rem 1.5rem var(--cpl-shadow-24384c18, #24384c18); }
.patron-experience .booking-combobox-results [role=option],.patron-experience .booking-combobox-empty { padding:.8rem 1rem; white-space:normal; overflow-wrap:anywhere; }
.patron-experience .booking-combobox-results [role=option] { cursor:pointer; }
.patron-experience .booking-combobox-results [role=option]:hover,.patron-experience .booking-combobox-results .active { background:var(--cpl-bg-edf2f6, #edf2f6); }

.patron-experience.patron-panel-open [data-analytics-consent] { display:none !important; }

/* Eligibility is informative: event details remain available from gray tiles. */
.patron-experience .monthly-calendar-program.is-patron-unavailable{background:var(--cpl-bg-f3f4f6, #f3f4f6);color:var(--cpl-fg-59616d, #59616d);border-color:var(--cpl-line-e5e7eb, #e5e7eb)}
.patron-experience .monthly-calendar-program.is-patron-unavailable:hover{background:var(--cpl-bg-e9edf1, #e9edf1)}
.patron-experience .monthly-calendar-program-status{font-size:.72rem;line-height:1.3;color:var(--cpl-fg-59616d, #59616d)}

/* Search visibility is independent of Bootstrap's utility stylesheet. */
.patron-experience [data-month-item][hidden],
.patron-experience [data-month-more][hidden],
.patron-experience [data-month-panel-item][hidden]{display:none!important}
.patron-filter-submit{border:1px solid var(--cpl-line-dce2e8, #dce2e8);border-radius:999px;color:var(--cpl-fg-244a73, #244a73);background:var(--cpl-bg-fff, #fff);min-width:44px}

.patron-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.45em;height:1.45em;padding:0 .35em;margin-left:.2em;border-radius:999px;background:#174d77;color:#fff;font-size:.75em;font-weight:700;vertical-align:middle;line-height:1}.patron-cart-count[hidden]{display:none!important}

/* v7.15: explicit continue-browsing action; mobile-only account reservation cards. */
.patron-experience .cart-checkout-layout { grid-template-columns:minmax(0,1fr); }
.patron-experience .cart-checkout-actions { display:flex;justify-content:flex-end;align-items:center;gap:.75rem;flex-wrap:wrap; }
.patron-experience .cart-checkout-actions > form { margin:0; }
.patron-experience .cart-checkout-actions > .btn { width:auto!important; }
.patron-experience .account-reservations-table td { overflow-wrap:anywhere; }
@media(max-width:575.98px){
 .patron-experience .cart-checkout-actions { flex-direction:column;align-items:stretch; }
 .patron-experience .cart-checkout-actions > .btn,.patron-experience .cart-checkout-actions > form { width:100%!important; }
 .patron-experience .account-reservations-wrapper { overflow:visible; }
 .patron-experience .account-reservations-table { display:block;width:100%;min-width:0; }
 .patron-experience .account-reservations-table thead { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap; }
 .patron-experience .account-reservations-table tbody { display:block; }
 .patron-experience .account-reservations-table tr { display:block;padding:1rem; }
 .patron-experience .account-reservations-table tr+tr { border-top:1px solid var(--cpl-line-e5e7eb,#e5e7eb); }
 .patron-experience .account-reservations-table td { display:block;max-width:100%;padding:.35rem 0;border:0;white-space:normal!important;text-align:left!important;box-shadow:none; }
 .patron-experience .account-reservations-table td::before { content:attr(data-label);display:block;font-size:.75rem;color:var(--cpl-fg-59616d,#59616d);margin-bottom:.15rem; }
 .patron-experience .account-reservations-table td:first-child::before,.patron-experience .account-reservations-table .account-empty-row td::before { display:none; }
 .patron-experience .account-reservations-table .text-nowrap { white-space:normal!important; }
 .patron-experience .account-reservations-table .account-reservation-actions { padding-top:.85rem;margin-top:.4rem;border-top:1px solid var(--cpl-line-e5e7eb,#e5e7eb); }
 .patron-experience .account-reservation-actions > .d-flex { justify-content:flex-start!important; }
 .patron-experience .account-reservation-actions .btn { min-height:44px; }
}
