/* Permanent-slot offers and their payment preview share the calendar's lilac palette. */
.student-calendar .student-calendar-grid-day-header button.sp-subscription-offer {
    display: grid;
    gap: 4px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 8px 0 0;
    padding: 9px 8px !important;
    border: 1px solid #c9b8d9 !important;
    border-radius: 12px !important;
    background: #faf7fd !important;
    color: #42314f !important;
    -webkit-text-fill-color: currentColor !important;
    box-shadow: none !important;
    font: inherit;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
    cursor: pointer;
    transform: none !important;
    transition: background-color .15s, border-color .15s;
}
.student-calendar .student-calendar-grid-day-header button.sp-subscription-offer:is(:hover,:focus-visible,:active) {
    background: #e8e0f2 !important;
    border-color: #9c81b7 !important;
    color: #42314f !important;
}
.student-calendar .sp-subscription-offer :is(strong,span,small) {
    display: block;
    min-width: 0;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}
.student-calendar .sp-subscription-offer strong { font-size: 12px; font-weight: 750; }
.student-calendar .sp-subscription-offer :is(span,small) { font-size: 11px; font-weight: 500; }
.student-calendar .sp-subscription-offer small { color: #62566f !important; }
.student-calendar button.sp-subscription-offer:focus-visible,
.sp-subscription-plan button:focus-visible {
    outline: 2px solid #8064a2 !important;
    outline-offset: 3px;
}
.sp-subscription-plan {
    padding: 14px !important;
    background: #faf8fc !important;
    color: #273b35 !important;
    border: 1px solid #e6deed;
    border-radius: 14px;
}
.sp-subscription-plan > strong { display: block; margin-bottom: 8px; color: #42314f !important; }
.sp-subscription-date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid #e6deed;
}
.sp-subscription-date > span { min-width: 0; overflow-wrap: anywhere; }
.sp-subscription-date button,
.sp-subscription-plan > button {
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid #c9b8d9;
    border-radius: 999px;
    background: #e8e0f2;
    color: #42314f;
    font: inherit;
    font-size: 13px;
    white-space: normal;
    cursor: pointer;
}
.sp-subscription-unavailable { width: 100%; color: #775c27; }
.sp-subscription-replacement { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; padding: 8px 0; }
.sp-subscription-replacement :is(input,select) { flex: 1; min-width: 140px; max-width: 100%; margin: 0 !important; }
.sp-subscription-replacement small { width: 100%; }
#sp-main-book-button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 480px) {
    .sp-subscription-replacement :is(input,select) { flex-basis: 100%; min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .student-calendar button.sp-subscription-offer { transition: none; }
}
