
/* ==========================================================
   BMS Schedule Manager — frontend v1.5.0
   Desktop: day filter + compact full-week mode with sticky header
   Mobile: accordion + practice-name filter
   ========================================================== */

.bms-schedule {
    --bms-cream: #F8F3EB;
    --bms-surface: #FCF9F4;
    --bms-surface-strong: #F3E6D2;
    --bms-green: #0A1306;
    --bms-gold: #D09D3A;
    --bms-border: #E7DCC7;
    --bms-text: #2A2F0F;
    --bms-muted: #747463;
    --bms-sticky-offset: 0px;

    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    color: var(--bms-text);
    font-family: "Manrope", Arial, sans-serif;
}

.bms-schedule *,
.bms-schedule *::before,
.bms-schedule *::after {
    box-sizing: border-box;
}

.bms-schedule button,
.bms-schedule select {
    font: inherit;
}

/* Heading */

.bms-schedule-heading {
    position: relative;
    margin: 0 auto 30px;
    padding-bottom: 16px;
    text-align: center;
}

.bms-schedule-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 64px;
    height: 2px;
    border-radius: 999px;
    background: var(--bms-gold);
    transform: translateX(-50%);
}

.bms-schedule-heading h2 {
    margin: 0;
    color: var(--bms-green);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.05;
    font-weight: 600;
}


/* Desktop practice filter */

.bms-desktop-practice-filter {
    width: min(340px, 100%);
    margin: 0 auto 12px;
}

.bms-desktop-practice-filter label {
    display: block;
    margin-bottom: 5px;
    color: var(--bms-green);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 750;
    text-align: center;
}

.bms-desktop-practice-filter select {
    width: 100%;
    min-height: 38px;
    padding: 6px 34px 6px 11px;
    border: 1px solid var(--bms-border);
    border-radius: 8px;
    background-color: rgba(255,255,255,.38);
    color: var(--bms-green);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 650;
}

.bms-desktop-filtered-view[hidden],
.bms-desktop-toolbar[hidden],
[data-bms-single-view][hidden],
[data-bms-week-view][hidden] {
    display: none !important;
}

.bms-desktop-filtered-view {
    padding: 16px 18px 18px;
    border: 1px solid var(--bms-border);
    border-radius: 16px;
    background: rgba(252,249,244,.68);
}

.bms-desktop-filtered-head {
    margin-bottom: 13px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--bms-border);
    text-align: center;
}

.bms-desktop-filtered-head h3 {
    margin: 2px 0 0;
    color: var(--bms-green);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 600;
}

.bms-desktop-filtered-results {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-content: center;
    gap: 8px;
}

/* When a filtered practice appears on fewer than five days,
   keep compact tile widths and center the group instead of
   pinning the tiles to the left side. */
.bms-desktop-filtered-results[data-day-count="1"] {
    grid-template-columns: minmax(0, 230px);
}

.bms-desktop-filtered-results[data-day-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 230px));
}

.bms-desktop-filtered-results[data-day-count="3"] {
    grid-template-columns: repeat(3, minmax(0, 230px));
}

.bms-desktop-filtered-results[data-day-count="4"] {
    grid-template-columns: repeat(4, minmax(0, 230px));
}

.bms-desktop-filter-day {
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--bms-border);
    border-radius: 9px;
    background: rgba(255,255,255,.26);
}

.bms-desktop-filter-day h4 {
    margin: 0 0 7px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--bms-border);
    color: var(--bms-green);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
}

.bms-desktop-filter-day-entries {
    display: grid;
    gap: 6px;
}

.bms-desktop-filter-day .bms-practice {
    min-height: 0;
    padding: 7px 5px 8px;
    border: 0;
    border-bottom: 1px solid var(--bms-border);
    border-radius: 0;
    background: transparent;
}

.bms-desktop-filter-day .bms-practice:last-child {
    border-bottom: 0;
}

.bms-desktop-filter-day .bms-practice-time {
    margin-bottom: 4px;
    padding-left: 5px;
    border-left-width: 2px;
    font-size: 9.5px;
    line-height: 1.15;
}

.bms-desktop-filter-day .bms-practice-time .bms-end {
    font-size: 8.5px;
}

.bms-desktop-filter-day .bms-practice h3 {
    margin-bottom: 3px;
    font-size: 10.5px;
    line-height: 1.22;
    overflow-wrap: anywhere;
}

.bms-desktop-filter-day .bms-level,
.bms-desktop-filter-day .bms-teacher {
    font-size: 8px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.bms-desktop-filter-day .bms-status-label {
    font-size: 7px;
    line-height: 1.1;
}

/* Scoped shortcode already contains one practice, so no practice selector is needed. */
.bms-schedule[data-practice-scope] .bms-mobile-practice-filter,
.bms-schedule[data-practice-scope] .bms-mobile-filtered-view {
    display: none !important;
}


/* Desktop controls */

.bms-desktop-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.bms-day-tabs {
    min-width: 0;
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 2px;
}

.bms-day-tab,
.bms-week-toggle {
    border: 1px solid var(--bms-border);
    background: rgba(255,255,255,.25);
    color: var(--bms-green);
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.bms-day-tab {
    position: relative;
    flex: 0 0 auto;
    min-width: 92px;
    min-height: 38px;
    padding: 6px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    line-height: 1;
    font-weight: 750;
    white-space: nowrap;
}

.bms-day-tab small {
    padding: 3px 5px 2px;
    border-radius: 999px;
    background: rgba(208,157,58,.13);
    color: #8B6625;
    font-size: 6px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bms-day-tab:hover,
.bms-day-tab.is-active {
    border-color: rgba(208,157,58,.62);
    background: rgba(208,157,58,.10);
}

.bms-day-tab.is-active {
    box-shadow: inset 0 -2px 0 var(--bms-gold);
}

.bms-week-toggle {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 6px 13px;
    border-color: var(--bms-green);
    border-radius: 8px;
    background: var(--bms-green);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 750;
    white-space: nowrap;
}

.bms-week-toggle:hover {
    opacity: .9;
}

/* Single-day desktop view */

.bms-single-day-panel {
    display: none;
    padding: 18px;
    border: 1px solid var(--bms-border);
    border-radius: 16px;
    background: rgba(252,249,244,.68);
}

.bms-single-day-panel.is-active {
    display: block;
}

.bms-single-day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bms-border);
}

.bms-single-kicker {
    margin-bottom: 2px;
    color: var(--bms-gold);
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bms-single-day-head h3 {
    margin: 0;
    color: var(--bms-green);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 600;
}

.bms-current-day-badge {
    display: inline-flex;
    padding: 5px 9px;
    border: 1px solid rgba(208,157,58,.35);
    border-radius: 999px;
    background: rgba(208,157,58,.09);
    color: #8B6625;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bms-single-practices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 9px;
}

/* Shared practice item, intentionally compact */

.bms-practice {
    min-width: 0;
    padding: 11px 12px 12px;
    border: 1px solid var(--bms-border);
    border-radius: 10px;
    background: rgba(255,255,255,.34);
}

.bms-practice-time {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 6px;
    padding-left: 8px;
    border-left: 2px solid var(--bms-gold);
    color: var(--bms-green);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.bms-practice-time::before {
    content: none;
}

.bms-practice-time .bms-end {
    color: var(--bms-muted);
    font-size: 10px;
    font-weight: 650;
}

.bms-practice-time .bms-end::before {
    content: "– ";
}

.bms-practice-info,
.bms-practice-topline {
    min-width: 0;
}

.bms-practice-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.bms-practice h3 {
    min-width: 0;
    margin: 0;
    color: var(--bms-green);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.32;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.bms-level {
    margin-top: 4px;
    color: var(--bms-muted);
    font-size: 10px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.bms-teacher {
    margin-top: 4px;
    color: var(--bms-text);
    font-size: 10px;
    line-height: 1.35;
    font-weight: 650;
    overflow-wrap: anywhere;
}

/* Status is text + dot, not a large pill */

.bms-status-label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 8px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: normal;
}

.bms-status-label::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.bms-status-active .bms-status-label {
    color: #315B2A;
}
.bms-status-active .bms-status-label::before {
    background: #5E8A53;
}

.bms-status-paused .bms-status-label {
    color: #806026;
}
.bms-status-paused .bms-status-label::before {
    background: var(--bms-gold);
}

.bms-status-cancelled .bms-status-label {
    color: #804338;
}
.bms-status-cancelled .bms-status-label::before {
    background: #A65D50;
}

.bms-note {
    position: relative;
    margin-top: 7px;
    padding: 7px 8px 7px 26px;
    border: 1px solid rgba(208,157,58,.19);
    border-radius: 7px;
    background: rgba(243,230,210,.55);
    color: #624F2D;
    font-size: 9px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.bms-note::before {
    content: "!";
    position: absolute;
    top: 7px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--bms-gold);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
}

/* Rest day */

.bms-rest-day {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    border: 1px dashed var(--bms-border);
    border-radius: 11px;
    color: var(--bms-muted);
    text-align: left;
}

.bms-rest-day-mark {
    width: 10px;
    height: 10px;
    border: 2px solid var(--bms-gold);
    border-radius: 50%;
}

.bms-rest-day strong,
.bms-rest-day span {
    display: block;
}

.bms-rest-day strong {
    color: var(--bms-green);
    font-size: 14px;
}

.bms-rest-day span {
    margin-top: 2px;
    font-size: 10px;
}

/* Full week desktop view */

.bms-week-view[hidden] {
    display: none !important;
}

.bms-week-table {
    --bms-week-columns: 5;
    position: relative;
    border: 1px solid var(--bms-border);
    border-radius: 14px;
    background: rgba(252,249,244,.55);
}

.bms-week-sticky-head,
.bms-week-columns {
    display: grid;
    grid-template-columns: repeat(var(--bms-week-columns), minmax(0, 1fr));
}

.bms-week-sticky-head {
    position: sticky;
    top: var(--bms-sticky-offset);
    z-index: 20;
    border-bottom: 1px solid var(--bms-border);
    border-radius: 13px 13px 0 0;
    background: var(--bms-cream);
    box-shadow: 0 5px 12px rgba(10,19,6,.045);
}

.bms-week-day-name {
    min-width: 0;
    min-height: 48px;
    padding: 10px 8px;
    border-left: 1px solid var(--bms-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--bms-green);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 19px;
    line-height: 1;
    font-weight: 600;
    text-align: center;
}

.bms-week-day-name:first-child {
    border-left: 0;
}

.bms-week-day-name.is-today {
    background: rgba(208,157,58,.09);
}

.bms-week-day-name small {
    padding: 3px 5px;
    border-radius: 999px;
    background: rgba(208,157,58,.14);
    color: #8B6625;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 6px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bms-week-column {
    min-width: 0;
    padding: 7px;
    border-left: 1px solid var(--bms-border);
}

.bms-week-column:first-child {
    border-left: 0;
}

.bms-week-column.is-today {
    background: rgba(208,157,58,.035);
}

.bms-week-column .bms-practice {
    padding: 8px 8px 9px;
    border: 0;
    border-bottom: 1px solid var(--bms-border);
    border-radius: 0;
    background: transparent;
}

.bms-week-column .bms-practice:last-child {
    border-bottom: 0;
}

.bms-week-column .bms-practice-time {
    margin-bottom: 5px;
    padding-left: 6px;
    border-left-width: 2px;
    font-size: 10px;
}

.bms-week-column .bms-practice-time::before {
    content: none;
}

.bms-week-column .bms-practice-time .bms-end {
    font-size: 9px;
}

.bms-week-column .bms-practice-topline {
    display: block;
}

.bms-week-column .bms-practice h3 {
    font-size: 11px;
    line-height: 1.28;
}

.bms-week-column .bms-level,
.bms-week-column .bms-teacher {
    font-size: 8.5px;
    line-height: 1.32;
}

.bms-week-column .bms-status-label {
    margin-top: 5px;
    font-size: 7px;
}

.bms-week-column .bms-note {
    margin-top: 5px;
    padding: 5px 5px 5px 21px;
    font-size: 8px;
}

.bms-week-column .bms-note::before {
    top: 5px;
    left: 5px;
    width: 12px;
    height: 12px;
    font-size: 7px;
}

/* Mobile is hidden on desktop */

.bms-mobile-schedule {
    display: none;
}

/* Smaller desktop/tablet */

@media (max-width: 1050px) and (min-width: 768px) {
    .bms-desktop-toolbar {
        flex-direction: column;
    }

    .bms-week-toggle {
        align-self: flex-end;
    }

    .bms-single-practices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bms-week-day-name {
        font-size: 16px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .bms-week-column {
        padding: 5px;
    }
}


/* Respect the JS filter state even when layout rules set display values. */
.bms-mobile-practice-filter[hidden],
.bms-mobile-days[hidden],
.bms-mobile-filtered-view[hidden] {
    display: none !important;
}


/* Desktop sizing guard against theme / Elementor button inheritance. */
@media (min-width: 768px) {
    .bms-schedule .bms-day-tab {
        width: auto !important;
        min-width: 92px !important;
        min-height: 38px !important;
        padding: 6px 10px !important;
        font-size: 11px !important;
        line-height: 1 !important;
    }

    .bms-schedule .bms-week-toggle {
        width: auto !important;
        min-height: 38px !important;
        padding: 6px 13px !important;
        font-size: 11px !important;
        line-height: 1 !important;
    }
}


/* Filtered desktop grid: 5 columns on standard desktop, fewer only when
   the available width is genuinely too small to keep text readable. */
@media (min-width: 1200px) {
    .bms-desktop-filtered-results {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 960px) and (max-width: 1199px) {
    .bms-desktop-filtered-results {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 959px) {
    .bms-desktop-filtered-results {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .bms-desktop-filtered-results[data-day-count="1"] {
        grid-template-columns: minmax(0, 230px);
    }

    .bms-desktop-filtered-results[data-day-count="2"] {
        grid-template-columns: repeat(2, minmax(0, 230px));
    }

    .bms-desktop-filtered-results[data-day-count="3"] {
        grid-template-columns: repeat(3, minmax(0, 230px));
    }

    .bms-desktop-filtered-results[data-day-count="4"] {
        grid-template-columns: repeat(4, minmax(0, 230px));
    }
}

@media (min-width: 768px) and (max-width: 959px) {
    .bms-desktop-filtered-results[data-day-count="1"] {
        grid-template-columns: minmax(0, 230px);
    }

    .bms-desktop-filtered-results[data-day-count="2"] {
        grid-template-columns: repeat(2, minmax(0, 230px));
    }

    .bms-desktop-filtered-results[data-day-count="3"],
    .bms-desktop-filtered-results[data-day-count="4"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {
    .bms-desktop-schedule {
        display: none;
    }

    .bms-mobile-schedule {
        display: block;
    }

    .bms-schedule-heading {
        margin-bottom: 24px;
    }

    .bms-schedule-heading h2 {
        font-size: 36px;
    }

    .bms-mobile-practice-filter {
        margin-bottom: 14px;
    }

    .bms-mobile-practice-filter label {
        display: block;
        margin-bottom: 6px;
        color: var(--bms-green);
        font-size: 11px;
        font-weight: 750;
    }

    .bms-mobile-practice-filter select {
        width: 100%;
        min-height: 46px;
        padding: 8px 38px 8px 12px;
        border: 1px solid var(--bms-border);
        border-radius: 10px;
        background-color: rgba(255,255,255,.42);
        color: var(--bms-green);
        font-size: 13px;
        font-weight: 650;
    }

    .bms-mobile-days {
        display: grid;
        gap: 10px;
    }

    .bms-mobile-day {
        overflow: hidden;
        border: 1px solid var(--bms-border);
        border-radius: 13px;
        background: rgba(252,249,244,.68);
    }

    .bms-mobile-day.is-today {
        border-color: rgba(208,157,58,.52);
    }

    .bms-mobile-day-toggle {
        position: relative;
        width: 100%;
        min-height: 58px;
        padding: 14px 48px 14px 15px;
        border: 0;
        background: transparent;
        color: var(--bms-green);
        display: flex;
        align-items: center;
        gap: 9px;
        text-align: left;
        cursor: pointer;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 23px;
        line-height: 1;
        font-weight: 600;
    }

    .bms-mobile-day-toggle small {
        padding: 4px 7px 3px;
        border-radius: 999px;
        background: rgba(208,157,58,.10);
        color: #8B6625;
        font-family: "Manrope", Arial, sans-serif;
        font-size: 7px;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .bms-chevron {
        position: absolute;
        right: 18px;
        top: 50%;
        width: 8px;
        height: 8px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: translateY(-65%) rotate(45deg);
        transition: transform .18s ease;
    }

    .bms-mobile-day-toggle[aria-expanded="true"] .bms-chevron {
        transform: translateY(-25%) rotate(225deg);
    }

    .bms-mobile-day-content {
        display: none;
        border-top: 1px solid var(--bms-border);
    }

    .bms-mobile-day.is-open .bms-mobile-day-content {
        display: block;
    }

    .bms-mobile-practice-source {
        border-top: 1px solid var(--bms-border);
    }

    .bms-mobile-practice-source:first-child {
        border-top: 0;
    }

    .bms-mobile-practice-source > .bms-practice {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 12px;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .bms-mobile-practice-source .bms-practice-time {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
        margin: 0;
        padding: 1px 0 1px 8px;
        border-left: 2px solid var(--bms-gold);
        font-size: 14px;
    }

    .bms-mobile-practice-source .bms-practice-time::before {
        content: none;
    }

    .bms-mobile-practice-source .bms-practice-time .bms-end {
        font-size: 9px;
    }

    .bms-mobile-practice-source .bms-practice-time .bms-end::before {
        content: "";
    }

    .bms-mobile-practice-source .bms-practice-topline {
        flex-direction: column;
        gap: 6px;
    }

    .bms-mobile-practice-source .bms-practice h3 {
        font-size: 14px;
    }

    .bms-mobile-practice-source .bms-level,
    .bms-mobile-practice-source .bms-teacher {
        font-size: 11px;
    }


    .bms-mobile-filter-back {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 14px;
        padding: 7px 0;
        border: 0;
        background: transparent;
        color: var(--bms-green);
        cursor: pointer;
        font-size: 12px;
        line-height: 1.2;
        font-weight: 750;
    }

    .bms-mobile-filter-back-icon {
        position: relative;
        display: inline-block;
        width: 18px;
        height: 18px;
        border: 1px solid var(--bms-border);
        border-radius: 50%;
        background: rgba(255,255,255,.4);
    }

    .bms-mobile-filter-back-icon::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 6px;
        width: 6px;
        height: 6px;
        border-left: 1.5px solid var(--bms-green);
        border-bottom: 1.5px solid var(--bms-green);
        transform: translateY(-50%) rotate(45deg);
    }

    .bms-mobile-filter-back-icon::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 6px;
        width: 7px;
        height: 1.5px;
        background: var(--bms-green);
        transform: translateY(-50%);
    }

    .bms-mobile-filtered-head {
        margin-bottom: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--bms-border);
    }

    .bms-mobile-filtered-head > span {
        color: var(--bms-gold);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .11em;
        text-transform: uppercase;
    }

    .bms-mobile-filtered-head h3 {
        margin: 3px 0 0;
        color: var(--bms-green);
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 27px;
        line-height: 1.05;
        font-weight: 600;
    }

    .bms-mobile-filter-day {
        margin-bottom: 10px;
        overflow: hidden;
        border: 1px solid var(--bms-border);
        border-radius: 12px;
        background: rgba(252,249,244,.68);
    }

    .bms-mobile-filter-day h4 {
        margin: 0;
        padding: 10px 12px;
        border-bottom: 1px solid var(--bms-border);
        color: var(--bms-green);
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 20px;
        line-height: 1;
        font-weight: 600;
    }

    .bms-mobile-filter-day .bms-practice {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 12px;
        border: 0;
        border-top: 1px solid var(--bms-border);
        border-radius: 0;
        background: transparent;
    }

    .bms-mobile-filter-day h4 + .bms-practice {
        border-top: 0;
    }

    .bms-mobile-filter-day .bms-practice-time {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
    }

    .bms-mobile-filter-day .bms-practice-time .bms-end::before {
        content: "";
    }

    .bms-mobile-reset-filter {
        width: 100%;
        min-height: 44px;
        margin-top: 4px;
        border: 1px solid var(--bms-green);
        border-radius: 10px;
        background: transparent;
        color: var(--bms-green);
        cursor: pointer;
        font-size: 12px;
        font-weight: 750;
    }
}

@media (max-width: 390px) {
    .bms-mobile-practice-source > .bms-practice,
    .bms-mobile-filter-day .bms-practice {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 10px;
    }
}
