@media (max-width: 900px) {
    .class-group-head { flex-wrap: wrap; }
    .class-actions-static { width: 100%; margin-left: 56px; }
    .schedule-list { overflow-x: auto; }
    .schedule-list-head, .schedule-row { min-width: 750px; }
}

@media (max-width: 520px) {
    .class-actions-static { margin-left: 0; }
    .class-actions-static .button { flex: 1; }
    .class-title-row h2 { width: 100%; }
    .schedule-list { padding-right: 8px; padding-left: 8px; }
}

.schedule-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(145px, 1fr)) auto auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 20px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(35, 43, 31, .05);
}

.schedule-filters label { min-width: 0; margin: 0; }
.schedule-filters label > span {
    display: block;
    margin: 0 0 7px;
    color: #788174;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.schedule-filters select {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding-left: 0;
    border: 0;
    border-bottom: 1px solid #dce1d9;
    border-radius: 0;
    background: #fff;
}
.schedule-filters .button { height: 44px; }
.clear-filters { align-self: center; color: #77836d; font-size: 10px; font-weight: 800; }

.list-week-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 14px 0 20px;
}
.list-week-nav > a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}
.list-week-nav > div { text-align: center; }
.list-week-nav strong { display: block; font-size: 14px; }
.list-week-nav div a {
    display: block;
    margin-top: 3px;
    color: #788817;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
}

.daily-schedule-list { display: flex; flex-direction: column; gap: 15px; }
.daily-schedule {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(35, 43, 31, .045);
}
.daily-schedule.is-today {
    border-color: #bad66d;
    box-shadow: 0 10px 30px rgba(116, 145, 36, .1);
}
.daily-schedule > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #edf0ea;
}
.daily-schedule > header span {
    display: block;
    color: #839077;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.daily-schedule > header h2 { margin: 4px 0 0; font-size: 15px; }
.daily-schedule > header > b {
    padding: 6px 9px;
    border-radius: 999px;
    background: #f1f4ed;
    color: #737d6e;
    font-size: 8px;
}
.daily-schedule.is-today > header { background: #f7fce9; }
.daily-schedule.is-today > header > b { background: var(--lime); color: #273018; }

@media (max-width: 1050px) {
    .schedule-filters { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; }
}

@media (max-width: 650px) {
    .schedule-filters { grid-template-columns: 1fr; padding: 17px; }
    .schedule-filters .button { width: 100%; }
    .list-week-nav { gap: 9px; }
    .list-week-nav strong { font-size: 12px; }
    .daily-schedule > header { padding: 15px 17px; }
    .daily-schedule > header h2 { font-size: 13px; }
}
