.my-schedule-front,
.my-schedule-profile {
    --mys-white: #ffffff;
    --mys-ink: #26231e;
    --mys-muted: #766f64;
    --mys-gold: #b28a43;
    --mys-gold-dark: #7f612b;
    --mys-gold-soft: #faf6ed;
    --mys-border: #ddd3c1;
    box-sizing: border-box;
    color: var(--mys-ink);
    letter-spacing: 0;
}

.my-schedule-front *,
.my-schedule-front *::before,
.my-schedule-front *::after,
.my-schedule-profile *,
.my-schedule-profile *::before,
.my-schedule-profile *::after {
    box-sizing: border-box;
}

.my-schedule-front {
    background: var(--mys-white);
    border-bottom: 1px solid var(--mys-border);
    border-top: 2px solid var(--mys-gold);
    margin: 28px auto;
    max-width: 1180px;
    padding: 20px;
    width: 100%;
}

.my-schedule-front.no-title {
    background: transparent;
    border-bottom: 0;
    border-top: 0;
    margin: 0;
    padding: 0;
}

.my-schedule-front + .list,
#my-content-schedule + .list {
    display: none !important;
}

.my-schedule-title {
    align-items: baseline;
    border-bottom: 1px solid var(--mys-border);
    display: flex;
    gap: 12px;
    justify-content: center;
    letter-spacing: 0;
    margin: 0 0 16px;
    padding: 0 0 10px;
    text-align: center;
}

.my-schedule-title em {
    color: var(--mys-ink);
    font-size: 23px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.3;
}

.my-schedule-title span {
    color: var(--mys-gold-dark);
    font-size: 11px;
    font-weight: 700;
}

.my-schedule-toolbar {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 8px;
}

.my-schedule-filters {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.my-schedule-front .my-schedule-filters button,
.my-schedule-front .my-schedule-dates button {
    appearance: none;
    background: var(--mys-white);
    border: 1px solid var(--mys-border);
    border-radius: 4px;
    box-shadow: none;
    color: var(--mys-ink);
    cursor: pointer;
    font: inherit;
    letter-spacing: 0;
    margin: 0;
    text-shadow: none;
}

.my-schedule-front .my-schedule-filters button {
    min-height: 36px;
    min-width: 74px;
    padding: 7px 15px;
}

.my-schedule-front .my-schedule-filters button:hover,
.my-schedule-front .my-schedule-dates button:hover {
    border-color: var(--mys-gold);
    color: var(--mys-gold-dark);
}

.my-schedule-front .my-schedule-filters button.is-active {
    background: var(--mys-gold);
    border-color: var(--mys-gold);
    color: var(--mys-white);
}

.my-schedule-dates {
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin-bottom: 14px;
    overflow: visible;
}

.my-schedule-front .my-schedule-dates button {
    display: grid;
    min-height: 52px;
    min-width: 0;
    padding: 6px 2px;
    place-content: center;
}

.my-schedule-front .my-schedule-dates button.is-weekend:not(.is-active) {
    background: var(--mys-gold-soft);
}

.my-schedule-dates button span,
.my-schedule-dates button small {
    display: block;
}

.my-schedule-dates button span {
    font-size: 15px;
    font-weight: 700;
}

.my-schedule-dates button small {
    color: var(--mys-muted);
    font-size: 10px;
    margin-top: 2px;
}

.my-schedule-front .my-schedule-dates button.is-active {
    background: var(--mys-gold-dark);
    border-color: var(--mys-gold-dark);
    color: var(--mys-white);
}

.my-schedule-front .my-schedule-dates button.is-active small {
    color: var(--mys-white);
}

.my-schedule-cards.list {
    min-height: 100px;
}

.my-schedule-front .my-schedule-time {
    background: var(--mys-white);
    border: 1px solid var(--mys-gold);
    color: #6b5125;
    display: block;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    margin: 0 -10px 4px;
    padding: 4px 2px;
    text-align: center;
    text-shadow: none !important;
    white-space: nowrap;
    width: calc(100% + 20px);
}

.my-schedule-front .my-schedule-time.is-tel {
    color: #135e96;
}

.my-schedule-empty {
    border: 1px dashed var(--mys-border);
    color: var(--mys-muted);
    grid-column: 1 / -1;
    margin: 0;
    padding: 34px 16px;
    text-align: center;
}

.my-schedule-profile {
    background: var(--mys-white);
    border-bottom: 1px solid var(--mys-border);
    border-top: 2px solid var(--mys-gold);
    margin: 26px 0;
    padding: 8px 0;
    width: 100%;
}

.my-schedule-profile-week {
    display: grid;
    gap: 3px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: visible;
    padding: 2px 0;
}

.my-schedule-profile-day {
    align-content: center;
    background: var(--mys-white);
    border: 1px solid var(--mys-border);
    border-radius: 4px;
    display: grid;
    grid-template-rows: max-content max-content max-content;
    min-height: 82px;
    min-width: 0;
    padding: 7px 2px;
    text-align: center;
}

.my-schedule-profile-day.is-weekend:not(.is-off) {
    background: var(--mys-gold-soft);
}

.my-schedule-profile-day.is-today {
    border-color: var(--mys-gold);
    box-shadow: inset 0 3px 0 var(--mys-gold);
}

.my-schedule-profile-day > span {
    color: var(--mys-ink);
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.my-schedule-profile-day small {
    color: var(--mys-gold-dark);
    display: block;
    font-size: 8px;
    line-height: 1.2;
    margin: 1px 0 0;
    position: static;
}

.my-schedule-profile-day strong {
    align-self: auto;
    color: var(--mys-ink);
    display: grid;
    font-size: 11px;
    gap: 1px;
    line-height: 1.15;
    margin-top: 5px;
    min-width: 0;
}

.my-schedule-profile-day strong span {
    display: block;
    white-space: nowrap;
}

.my-schedule-profile-day.is-off {
    background: #f3f3f2;
    border-color: #ddddda;
}

.my-schedule-profile-day.is-off > span,
.my-schedule-profile-day.is-off small,
.my-schedule-profile-day.is-off strong {
    color: #8b8984;
}

.my-schedule-profile-day.is-tel {
    background: #eef7ff;
    border-color: #9ec5e5;
}

.my-schedule-profile-day.is-tel strong {
    color: #135e96;
}

@media (max-width: 720px) {
    .my-schedule-front {
        margin: 20px auto;
        padding: 14px 10px;
    }

    .my-schedule-title em {
        font-size: 20px;
    }

    .my-schedule-dates {
        gap: 2px;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        margin-bottom: 10px;
    }

    .my-schedule-front .my-schedule-dates button {
        min-height: 44px;
        padding: 4px 1px;
    }

    .my-schedule-dates button span {
        font-size: 11px;
    }

    .my-schedule-dates button small {
        font-size: 8px;
    }

    .my-schedule-front .my-schedule-time {
        font-size: 11px;
        padding: 4px 1px;
    }

    .my-schedule-profile {
        margin: 20px 0;
        padding: 6px 0;
    }

    .my-schedule-profile-week {
        gap: 2px;
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .my-schedule-profile-day {
        min-height: 72px;
        padding: 5px 1px;
    }

    .my-schedule-profile-day > span {
        font-size: 10px;
    }

    .my-schedule-profile-day small {
        font-size: 7px;
    }

    .my-schedule-profile-day strong {
        font-size: 9px;
    }
}
