.support-booking {
    padding: 48px 0 58px;
    background: #fff;
}

.support-booking *, .support-booking *::before, .support-booking *::after { box-sizing: border-box; }

.support-booking__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
}

.support-booking__intro { max-width: 760px; }
.support-booking__title {
    margin: 0 0 9px !important;
    color: #111827 !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: left !important;
    text-transform: none !important;
}
.support-booking__subtitle {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.55;
}

.support-booking__price {
    min-width: 265px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 14px;
    background: #f3f8fd;
}
.support-booking__price-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #0878d1;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(34, 79, 122, .08);
}
.support-booking__price-text { display: flex; flex-direction: column; gap: 2px; }
.support-booking__price-text strong { color: #18243a; font-size: 14px; line-height: 1.3; }
.support-booking__price-text small { color: #7b8797; font-size: 11px; }

.support-booking__workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(335px, .82fr);
    gap: 22px;
    align-items: stretch;
}

.support-booking__calendar-column,
.support-booking__form-column {
    min-width: 0;
    border: 1px solid #e9eff5;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(24, 48, 75, .065);
}
.support-booking__calendar-column { padding: 20px; }
.support-booking__form-column { position: relative; min-height: 470px; padding: 20px; overflow: hidden; }

.support-booking__calendar-toolbar {
    display: grid;
    grid-template-columns: 42px auto 42px 1fr auto;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
}
.support-booking__month-button,
.support-booking__today {
    text-decoration: none !important;
    border: 1px solid #dce6ef;
    background: #fff;
    color: #0878d1 !important;
    transition: .2s ease;
}
.support-booking__month-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 26px;
    line-height: 1;
}
.support-booking__today {
    grid-column: 5;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 12px;
}
.support-booking__month-button:hover,
.support-booking__today:hover { background: #f5faff; border-color: #a8cceb; }
.support-booking__month {
    color: #15223b;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.support-booking__calendar { width: 100%; }
.support-booking__weekdays,
.support-booking__week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}
.support-booking__weekdays { margin-bottom: 5px; }
.support-booking__week + .support-booking__week { margin-top: 5px; }
.support-booking__weekday {
    padding: 3px 0 6px;
    text-align: center;
    color: #6e7f93;
    font-size: 12px;
    font-weight: 600;
}

.support-booking__day {
    position: relative;
    min-width: 0;
    height: 64px;
    border: 1px solid #e1e8ef;
    border-radius: 10px;
    background: #fff;
    overflow: visible;
    transition: border-color .18s ease, box-shadow .18s ease, opacity .18s ease, background .18s ease;
}
.support-booking__day-button,
.support-booking__day-static {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: #182335;
    font: inherit;
    text-decoration: none;
}
.support-booking__day-button { cursor: pointer; }
.support-booking__day.is-bookable:hover {
    border-color: #92bfe6;
    box-shadow: 0 5px 14px rgba(25, 90, 148, .09);
}
.support-booking__day-number { font-size: 14px; font-weight: 600; line-height: 1; }

.support-booking__day-slots {
    display: flex;
    justify-content: center;
    gap: 3px;
    min-height: 6px;
}
.support-booking__day-slots i,
.support-booking__legend-slots i {
    display: block;
    height: 6px;
    border-radius: 5px;
}
.support-booking__day-slots i { width: 18px; }
.support-booking__day-slots i.is-free,
.support-booking__legend-slots i.is-free { background: #38bd6b; }
.support-booking__day-slots i.is-busy,
.support-booking__legend-slots i.is-busy { background: #cbd3dc; }

/* Прошедшие дни: только серый номер, без индикаторов. */
.support-booking__day.is-past,
.support-booking__day.is-other-month {
    background: #f6f7f8;
    border-color: #edf0f2;
    opacity: .68;
}
.support-booking__day.is-past .support-booking__day-number,
.support-booking__day.is-other-month .support-booking__day-number { color: #9ba5b0; font-weight: 500; }
.support-booking__day.is-past .support-booking__day-slots,
.support-booking__day.is-other-month .support-booking__day-slots { display: none; }

/* Выходные — очень мягкий фон, без индикаторов. */
.support-booking__day.is-weekend:not(.is-past):not(.is-other-month) {
    background: #fff8f8;
    border-color: #faeeee;
}
.support-booking__day.is-weekend:not(.is-past):not(.is-other-month) .support-booking__day-number { color: #dc5b5b; }
.support-booking__day.is-weekend .support-booking__day-slots { display: none; }

/* Полностью занятый рабочий день — приглушённый, не кричащий. */
.support-booking__day.is-busy:not(.is-past):not(.is-weekend):not(.is-other-month) {
    background: #f2f4f6;
    border-color: #e7ebef;
    opacity: .72;
}
.support-booking__day.is-busy .support-booking__day-number { color: #606c79; }

.support-booking__day.is-selected {
    border-color: #1684e5 !important;
    background: #f2f8ff !important;
    opacity: 1 !important;
    box-shadow: 0 0 0 2px rgba(22, 132, 229, .10);
}
.support-booking__day.is-today:not(.is-selected) { box-shadow: inset 0 0 0 1px rgba(8, 120, 209, .25); }

.support-booking__legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 15px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fafbfd;
    color: #697687;
    font-size: 11px;
}
.support-booking__legend-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.support-booking__legend-slots { display: inline-flex; gap: 2px; }
.support-booking__legend-slots i { width: 13px; }
.support-booking__legend-past { width: 17px; height: 17px; border-radius: 5px; background: #eceff2; }

.support-booking__admin-tip {
    display: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 7px);
    width: 250px;
    transform: translateX(-50%);
    padding: 10px 12px;
    border: 1px solid #d8e0e8;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .14);
    color: #3f4b58;
    font-size: 11px;
    line-height: 1.45;
    z-index: 20;
}
.support-booking__day:hover .support-booking__admin-tip { display: block; }

.support-booking__form-loader,
.support-booking__skeleton {
    display: flex;
    align-items: center;
    justify-content: center;
}
.support-booking__skeleton {
    min-height: 420px;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    background: #fbfcfd;
}
.support-booking__loader,
.support-booking__form-loader {
    flex-direction: column;
    gap: 10px;
    color: #7d8996;
    font-size: 13px;
}
.support-booking__form-loader {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.86);
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: .2s ease;
}
.support-booking__form-loader.is-visible { opacity: 1; visibility: visible; }
.support-booking__spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 4px solid #edf1f4;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: supportBookingSpin .8s linear infinite;
}
@keyframes supportBookingSpin { to { transform: rotate(360deg); } }

.support-booking__form-content { min-height: 100%; }
.support-booking__form-error { color: #b94747; }

.support-booking.is-ajax-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.35);
    pointer-events: none;
    z-index: 30;
}
.support-booking { position: relative; }

.support-booking__submit-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255,255,255,.82);
    z-index: 10;
    border-radius: inherit;
    color: #5f6d7b;
    font-size: 13px;
}
form[name="calendar-form"] { position: relative; }

.support-booking__mobile-modal { display: none; }
.support-modal-open { overflow: hidden; }

@media (max-width: 1100px) {
    .support-booking__workspace { grid-template-columns: minmax(0, 1.2fr) minmax(315px, .8fr); }
    .support-booking__title { font-size: 32px !important; }
}

@media (max-width: 767px) {
    .support-booking { padding: 30px 0 40px; }
    .support-booking__head { display: block; margin-bottom: 17px; }
    .support-booking__title { font-size: 28px !important; }
    .support-booking__subtitle { font-size: 14px; }
    .support-booking__price { min-width: 0; width: 100%; margin-top: 13px; padding: 11px 13px; }
    .support-booking__workspace { display: block; }
    .support-booking__calendar-column { padding: 12px; border-radius: 16px; box-shadow: none; }
    .support-booking__form-column { display: none; }
    .support-booking__calendar-toolbar { grid-template-columns: 38px 1fr 38px; gap: 6px; }
    .support-booking__month-button { width: 38px; height: 38px; }
    .support-booking__month { text-align: center; font-size: 19px; }
    .support-booking__today { display: none; }
    .support-booking__weekday { font-size: 10px; }
    .support-booking__weekdays, .support-booking__week { gap: 3px; }
    .support-booking__week + .support-booking__week { margin-top: 3px; }
    .support-booking__day { height: 54px; border-radius: 8px; }
    .support-booking__day-button, .support-booking__day-static { gap: 5px; padding: 4px 2px; }
    .support-booking__day-number { font-size: 12px; }
    .support-booking__day-slots i { width: 11px; height: 5px; }
    .support-booking__legend { gap: 8px 12px; padding: 9px; font-size: 10px; }
    .support-booking__legend-item { white-space: normal; }

    .support-booking__mobile-modal {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10050;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: .2s ease;
    }
    .support-booking__mobile-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
    .support-booking__mobile-backdrop { position: absolute; inset: 0; background: rgba(17,24,39,.58); }
    .support-booking__mobile-dialog {
        position: absolute;
        left: 12px;
        right: 12px;
        top: 50%;
        max-height: calc(100vh - 30px);
        overflow: auto;
        transform: translateY(-50%);
        padding: 18px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 25px 70px rgba(0,0,0,.28);
    }
    .support-booking__mobile-close {
        position: sticky;
        float: right;
        top: 0;
        width: 32px;
        height: 32px;
        margin: -6px -6px 4px 4px;
        border: 1px solid #dfe6ed;
        border-radius: 50%;
        background: #fff;
        color: #5f6c79;
        font-size: 23px;
        line-height: 1;
        cursor: pointer;
        z-index: 3;
    }
}

/* v4: авторизация, служебная информация и AJAX-overlay календаря */
.support-booking__auth {
    display:flex;align-items:center;gap:8px;flex-wrap:wrap;
    margin:-10px 0 16px;padding:8px 11px;border-radius:10px;
    background:#f8fafc;color:#6b7788;font-size:12px;line-height:1.35;
}
.support-booking__auth--logged{background:#f4f9fd}
.support-booking__auth strong{color:#243248}
.support-booking__auth-note{color:#8490a0}
.support-booking__auth-link{color:#0878d1!important;text-decoration:none!important;font-weight:600}
.support-booking__auth-link:hover{text-decoration:underline!important}
.support-booking__calendar-meta{grid-column:5;display:flex;align-items:center;gap:7px;justify-self:end;padding:7px 10px;border-radius:9px;background:#f5f8fb;color:#718096;font-size:11px;white-space:nowrap}
.support-booking__calendar-meta span{display:inline-flex;padding:2px 5px;border-radius:5px;background:#e7f2fb;color:#0878d1;font-weight:700}
.support-booking__calendar-meta b{font-weight:600;color:#526071}
.support-booking__calendar-ajax-loader{position:fixed;inset:0;z-index:10040;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;background:rgba(255,255,255,.58);backdrop-filter:blur(1px);color:#5f6e7e;font-size:13px;opacity:0;visibility:hidden;pointer-events:none;transition:.14s ease}
.support-booking.is-ajax-loading .support-booking__calendar-ajax-loader{opacity:1;visibility:visible;pointer-events:auto}
.support-booking.has-own-booking{}
.support-booking__day.has-own-booking{box-shadow:inset 0 0 0 2px rgba(8,120,209,.22)}
.support-booking__own-booking{position:absolute;right:4px;top:4px;max-width:52px;padding:2px 4px;border-radius:5px;background:#eaf4fd;color:#0878d1;font-size:8px;font-weight:700;line-height:1;text-transform:uppercase;letter-spacing:.02em;pointer-events:none}

@media(max-width:767px){
    .support-booking > .container.main-block{width:100%!important;max-width:none!important;padding-left:12px!important;padding-right:12px!important;margin-left:auto!important;margin-right:auto!important}
    .support-booking .maxwidth-theme{width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important}
    .support-booking__head{margin-bottom:12px}
    .support-booking__subtitle{line-height:1.45}
    .support-booking__price{display:inline-flex;width:auto;max-width:100%;margin-top:11px;padding:8px 11px;gap:9px;border-radius:11px}
    .support-booking__price-icon{width:31px;height:31px;flex-basis:31px;font-size:18px}
    .support-booking__price-text strong{font-size:13px}
    .support-booking__price-text small{font-size:10px}
    .support-booking__auth{margin:0 0 12px;padding:7px 9px;font-size:11px}
    .support-booking__auth-note{display:none}
    .support-booking__calendar-meta{display:none}
    .support-booking__own-booking{display:none}
    .support-booking__calendar-ajax-loader{position:fixed}
}

/* v5: финальные UX-доработки */
.support-booking__calendar-column{position:relative;overflow:hidden}
.support-booking__calendar-ajax-loader{
    position:absolute;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;
    flex-direction:column;gap:10px;background:rgba(255,255,255,.82);backdrop-filter:blur(1.5px);
    color:#5d6b7a;font-size:13px;opacity:0;visibility:hidden;pointer-events:none;transition:.14s ease
}
.support-booking.is-ajax-loading .support-booking__calendar-ajax-loader{opacity:1;visibility:visible;pointer-events:auto}
.support-booking.is-ajax-loading::after{display:none!important}

.support-booking__head{align-items:center;margin-bottom:14px}
.support-booking__subtitle{max-width:780px}
.support-booking__price{min-width:auto;padding:9px 12px;border:1px solid #e5eef6}
.support-booking__price.is-personal{background:#f1fbf5;border-color:#dcefe4}
.support-booking__price-icon{width:32px;height:32px;flex:0 0 32px;font-size:17px}
.support-booking__price-icon i{display:block;line-height:1}
.support-booking__price-text strong{font-size:13px}
.support-booking__price-text small{font-size:10px}
.support-booking__price-text s{opacity:.7}

.support-booking__auth{margin:0 0 14px;padding:7px 10px}
.support-booking__auth-status{display:inline-flex;align-items:center;gap:6px}

.support-booking__calendar-toolbar{grid-template-columns:42px minmax(120px,auto) 42px 1fr;margin-bottom:13px}
.support-booking__calendar-meta{grid-column:4;justify-self:end}
.support-booking__day.has-own-booking{box-shadow:inset 0 0 0 2px rgba(8,120,209,.24)}
.support-booking__own-booking{right:3px;top:3px;max-width:58px;padding:2px 4px;background:#e7f3fd;color:#0878d1;font-size:7px}

@media(max-width:767px){
    .support-booking{padding:26px 0 34px}
    .support-booking > .container.main-block{width:auto!important;max-width:none!important;margin-left:12px!important;margin-right:12px!important;padding-left:0!important;padding-right:0!important}
    .support-booking .maxwidth-theme{width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important;margin:0!important}
    .support-booking__head{margin-bottom:10px}
    .support-booking__title{font-size:26px!important;line-height:1.12!important}
    .support-booking__subtitle{font-size:13px;line-height:1.42}
    .support-booking__price{display:inline-flex;width:auto;max-width:100%;margin-top:9px;padding:7px 9px;gap:8px;border-radius:10px}
    .support-booking__price-icon{width:28px;height:28px;flex-basis:28px;font-size:15px}
    .support-booking__price-text strong{font-size:12px}
    .support-booking__price-text small{font-size:9px}
    .support-booking__auth{margin-bottom:10px;font-size:10px}
    .support-booking__calendar-column{padding:10px;border-radius:14px}
    .support-booking__calendar-toolbar{grid-template-columns:36px 1fr 36px;gap:5px;margin-bottom:9px}
    .support-booking__calendar-meta{display:none}
    .support-booking__month-button{width:36px;height:36px;border-radius:9px}
    .support-booking__month{font-size:18px}
    .support-booking__legend{margin-top:10px;padding:8px;gap:6px 10px;font-size:9px}
    .support-booking__mobile-dialog{left:8px;right:8px;max-height:calc(100vh - 16px);padding:13px;border-radius:14px}
    .support-booking__mobile-close{width:28px;height:28px}
}


/* ==========================================================================
   v6 — compact desktop redesign
   ========================================================================== */
@media (min-width: 768px) {
    .support-booking__workspace {
        grid-template-columns: minmax(0, 1.38fr) minmax(360px, .92fr);
        gap: 20px;
    }

    /* Обычный клиент: обе карточки заканчиваются на одной линии. */
    .support-booking__workspace:not(.is-admin) {
        align-items: stretch;
    }
    .support-booking__workspace:not(.is-admin) .support-booking__calendar-column,
    .support-booking__workspace:not(.is-admin) .support-booking__form-column {
        height: 100%;
    }
    .support-booking__workspace:not(.is-admin) .support-booking__form-column {
        display: flex;
        flex-direction: column;
    }
    .support-booking__workspace:not(.is-admin) .support-booking__form-content {
        flex: 1 1 auto;
        min-height: 0;
    }

    /* Администраторская форма может быть длиннее календаря. */
    .support-booking__workspace.is-admin {
        align-items: start;
    }
    .support-booking__workspace.is-admin .support-booking__calendar-column,
    .support-booking__workspace.is-admin .support-booking__form-column {
        height: auto;
    }

    .support-booking__calendar-column {
        padding: 20px 20px 18px;
    }
    .support-booking__form-column {
        min-height: 0;
        padding: 18px;
    }

    /* Только стрелки + месяц. Никакой отдельной плашки МСК. */
    .support-booking__calendar-toolbar {
        grid-template-columns: 44px 1fr 44px;
        gap: 12px;
        margin-bottom: 15px;
    }
    .support-booking__month {
        text-align: center;
        font-size: 24px;
    }
    .support-booking__month-button {
        width: 44px;
        height: 44px;
    }
    .support-booking__calendar-meta,
    .support-booking__today {
        display: none !important;
    }

    .support-booking__legend {
        min-height: 42px;
        margin-top: 14px;
        padding: 9px 11px;
        gap: 8px 17px;
    }

    /* На старых датах не показываем принадлежность брони. */
    .support-booking__day.is-past.has-own-booking,
    .support-booking__day.is-other-month.has-own-booking {
        box-shadow: none !important;
    }
    .support-booking__day.is-past .support-booking__own-booking,
    .support-booking__day.is-other-month .support-booking__own-booking {
        display: none !important;
    }
}

/* ==========================================================================
   v7 — natural column heights, keep the form comfortable
   ========================================================================== */
@media (min-width: 768px) {
    /* Не растягиваем форму искусственно до высоты календаря и наоборот. */
    .support-booking__workspace,
    .support-booking__workspace:not(.is-admin),
    .support-booking__workspace.is-admin {
        align-items: start;
    }

    .support-booking__workspace:not(.is-admin) .support-booking__calendar-column,
    .support-booking__workspace:not(.is-admin) .support-booking__form-column,
    .support-booking__workspace.is-admin .support-booking__calendar-column,
    .support-booking__workspace.is-admin .support-booking__form-column {
        height: auto;
    }

    .support-booking__workspace:not(.is-admin) .support-booking__form-column {
        display: block;
    }

    .support-booking__workspace:not(.is-admin) .support-booking__form-content {
        min-height: 0;
    }
}

/* =========================================================
   V8 — compact account strip in the calendar header only
   ========================================================= */
.support-booking__auth {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    min-height: 42px;
    margin: -6px 0 20px;
    padding: 8px 14px;
    border: 1px solid #edf3f8;
    border-radius: 12px;
    background: #f7fafd;
    color: #718096;
    font-size: 13px;
    line-height: 1.35;
}

.support-booking__auth--logged {
    background: #f7fafd;
}

.support-booking__auth-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1684e5;
}

.support-booking__auth-icon svg {
    display: block;
    width: 21px;
    height: 21px;
}

.support-booking__auth-question,
.support-booking__auth-status {
    color: #68788c;
}

.support-booking__auth-status strong {
    color: #22324a;
    font-weight: 700;
}

.support-booking__auth-separator {
    width: 1px;
    height: 18px;
    margin: 0 3px;
    background: #d9e3ec;
}

.support-booking__auth-note {
    color: #8b98a8;
}

.support-booking__auth-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 5px;
    color: #0878d1 !important;
    font-weight: 700;
    text-decoration: none !important;
    transition: color .18s ease, gap .18s ease;
}

.support-booking__auth-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    transition: transform .18s ease;
}

.support-booking__auth-link:hover {
    color: #0568b8 !important;
    text-decoration: none !important;
}

.support-booking__auth-link:hover svg {
    transform: translateX(2px);
}

@media (max-width: 767px) {
    .support-booking__auth {
        min-height: 40px;
        margin: -3px 0 14px;
        padding: 8px 10px;
        gap: 7px;
        border-radius: 10px;
        font-size: 12px;
    }

    .support-booking__auth-icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .support-booking__auth-icon svg {
        width: 19px;
        height: 19px;
    }

    .support-booking__auth-link {
        margin-left: 1px;
    }

    .support-booking__auth-note,
    .support-booking__auth-separator {
        display: none;
    }
}

/* =========================================================
   V9 — price strip, variant 2
   Only the top calendar header is changed.
   ========================================================= */
.support-booking__head {
    display: block;
    margin-bottom: 14px;
}

.support-booking__intro {
    max-width: 900px;
}

.support-booking__price--strip {
    width: min(100%, 610px);
    min-width: 0;
    min-height: 44px;
    margin: 0 0 10px;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e5eef6;
    border-radius: 12px;
    background: #f5f9fd;
    box-shadow: none;
}

.support-booking__price--strip .support-booking__price-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    font-size: 16px;
    box-shadow: none;
}

.support-booking__price--strip .support-booking__price-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.support-booking__price--strip .support-booking__price-text strong {
    font-size: 13px;
    line-height: 1.2;
}

.support-booking__price--strip .support-booking__price-text small {
    position: relative;
    padding-left: 13px;
    color: #7d8998;
    font-size: 11px;
    line-height: 1.2;
}

.support-booking__price--strip .support-booking__price-text small::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 16px;
    background: #d9e4ed;
    transform: translateY(-50%);
}

.support-booking__price--strip.is-personal {
    background: #f3fbf6;
    border-color: #dcefe4;
}

.support-booking__auth {
    margin-top: 0;
}

@media (min-width: 768px) {
    .support-booking__price--strip {
        max-width: 610px;
    }
}

@media (max-width: 767px) {
    .support-booking__head {
        margin-bottom: 10px;
    }

    .support-booking__price--strip {
        width: 100%;
        max-width: none;
        min-height: 40px;
        margin: 0 0 9px;
        padding: 6px 10px;
        gap: 8px;
        border-radius: 10px;
    }

    .support-booking__price--strip .support-booking__price-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: 15px;
    }

    .support-booking__price--strip .support-booking__price-text {
        gap: 9px;
    }

    .support-booking__price--strip .support-booking__price-text strong {
        font-size: 12px;
    }

    .support-booking__price--strip .support-booking__price-text small {
        padding-left: 10px;
        font-size: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .support-booking__price--strip .support-booking__price-text small::before {
        height: 14px;
    }
}

@media (max-width: 390px) {
    .support-booking__price--strip .support-booking__price-text {
        white-space: normal;
    }

    .support-booking__price--strip .support-booking__price-text small {
        line-height: 1.25;
    }
}

/* =========================================================
   V10 — desktop price card on the right, compact mobile strip
   ========================================================= */
@media (min-width: 768px) {
    .support-booking__head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 28px;
        margin-bottom: 14px;
    }

    .support-booking__intro {
        flex: 1 1 auto;
        max-width: 900px;
        min-width: 0;
    }

    .support-booking__price--strip {
        width: auto;
        min-width: 265px;
        max-width: none;
        min-height: 76px;
        margin: 0;
        padding: 13px 16px;
        flex: 0 0 auto;
        gap: 12px;
        border: 1px solid #e2ebf3;
        border-radius: 14px;
        background: #f3f8fd;
    }

    .support-booking__price--strip .support-booking__price-icon {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        font-size: 20px;
        box-shadow: 0 5px 15px rgba(34, 79, 122, .08);
    }

    .support-booking__price--strip .support-booking__price-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        white-space: normal;
    }

    .support-booking__price--strip .support-booking__price-text strong {
        font-size: 14px;
        line-height: 1.3;
    }

    .support-booking__price--strip .support-booking__price-text small {
        padding-left: 0;
        font-size: 11px;
        line-height: 1.35;
    }

    .support-booking__price--strip .support-booking__price-text small::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .support-booking__head {
        display: block;
        margin-bottom: 9px;
    }

    .support-booking__price--strip {
        margin-top: 12px;
        margin-bottom: 0;
    }
}

/* =========================================================
   Passwordless support-client authorization modal
   ========================================================= */
html.support-auth-open,
body.support-auth-open {
    overflow: hidden;
}

.support-auth-modal-root {
    position: relative;
    z-index: 100050;
}

.support-auth-modal-root:not(.is-open) {
    display: none;
}

.support-auth-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100050;
    background: rgba(12, 24, 42, .62);
    backdrop-filter: blur(2px);
}

.support-auth-dialog {
    position: fixed;
    z-index: 100051;
    left: 50%;
    top: 50%;
    width: min(92vw, 470px);
    max-height: min(90vh, 680px);
    overflow: auto;
    transform: translate(-50%, -50%);
    padding: 28px;
    border: 1px solid #e4ebf3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(16, 42, 67, .24);
}

.support-auth-close {
    position: absolute;
    right: 16px;
    top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #e2e9f1;
    border-radius: 50%;
    background: #fff;
    color: #607086;
    font: 400 27px/1 Arial, sans-serif;
    cursor: pointer;
    transition: .2s ease;
}

.support-auth-close:hover {
    color: #0878d1;
    border-color: #bcd7ee;
    background: #f7fbff;
}

.support-auth-head {
    padding-right: 42px;
    margin-bottom: 22px;
}

.support-auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #0878d1;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .045em;
}

.support-auth-title {
    margin: 0 0 7px;
    color: #13213a;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
}

.support-auth-text {
    margin: 0;
    color: #6c7b90;
    font-size: 14px;
    line-height: 1.55;
}

.support-auth-field {
    display: block;
    margin-bottom: 14px;
}

.support-auth-field > span {
    display: block;
    margin-bottom: 7px;
    color: #26364c;
    font-size: 13px;
    font-weight: 600;
}

.support-auth-input-wrap {
    position: relative;
}

.support-auth-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 20px;
    height: 20px;
    color: #7a8ba0;
    transform: translateY(-50%);
    pointer-events: none;
}

.support-auth-input-icon svg {
    width: 100%;
    height: 100%;
}

.support-auth-field input[type="text"],
.support-auth-field input[type="email"],
.support-auth-field input[type="tel"] {
    width: 100%;
    height: 50px;
    padding: 0 14px 0 44px;
    border: 1px solid #d8e2ec;
    border-radius: 11px;
    background: #fff;
    color: #18263a;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.support-auth-field input:focus {
    border-color: #71afe4;
    box-shadow: 0 0 0 4px rgba(8, 120, 209, .09);
}

.support-auth-hint {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 11px 0 17px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f4f8fc;
    color: #718097;
    font-size: 12px;
    line-height: 1.45;
}

.support-auth-hint svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: #4096dc;
    margin-top: 1px;
}

.support-auth-error {
    margin: 0 0 13px;
    padding: 10px 12px;
    border-radius: 9px;
    background: #fff2f0;
    color: #b73a2d;
    font-size: 13px;
    line-height: 1.4;
}

.support-auth-submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 11px;
    background: #0878d1;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.support-auth-submit:hover {
    background: #056dbf;
}

.support-auth-submit:disabled {
    cursor: wait;
    opacity: .78;
}

.support-auth-submit-spinner {
    display: none;
    width: 19px;
    height: 19px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: supportAuthSpin .75s linear infinite;
}

.support-auth-form.is-loading .support-auth-submit-icon {
    display: none;
}

.support-auth-form.is-loading .support-auth-submit-spinner {
    display: block;
}

.support-auth-code {
    text-align: center;
    letter-spacing: .28em;
    font-size: 22px !important;
    font-weight: 700;
    padding-left: calc(14px + .28em) !important;
}

.support-auth-resend {
    display: inline-block;
    margin-top: 12px;
    border: 0;
    padding: 0;
    background: none;
    color: #0878d1;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.support-auth-resend:hover {
    text-decoration: underline;
}

.support-auth-state {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    color: #66778d;
}

.support-auth-state strong {
    color: #14233b;
    font-size: 20px;
}

.support-auth-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 7px;
    border-radius: 50%;
    background: #e9f8ef;
    color: #20a55b;
    font-size: 27px;
}

.support-auth-loading {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #728197;
    font-size: 13px;
}

.support-auth-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #e5edf5;
    border-top-color: #0878d1;
    border-radius: 50%;
    animation: supportAuthSpin .75s linear infinite;
}

@keyframes supportAuthSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .support-auth-dialog {
        width: calc(100vw - 28px);
        padding: 23px 18px 20px;
        border-radius: 17px;
    }

    .support-auth-title {
        font-size: 22px;
    }

    .support-auth-field input[type="text"],
    .support-auth-field input[type="email"],
    .support-auth-field input[type="tel"] {
        height: 48px;
        font-size: 16px; /* prevents iOS zoom */
    }
}

/* ==========================================================================\n   V15 — form AJAX loader: keep the right card visible while the form loads\n   ========================================================================== */
@media (min-width: 768px) {
    .support-booking__form-column.is-loading {
        min-height: 260px !important;
    }

    .support-booking__form-column.is-loading .support-booking__form-content {
        min-height: 224px;
    }
}

.support-booking__form-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: rgba(255,255,255,.96);
}

.support-booking__form-loader.is-visible {
    opacity: 1;
    visibility: visible;
}

.support-booking__form-loader .support-booking__spinner {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-width: 4px;
}

.support-booking__form-loader > span:last-child {
    display: block;
    color: #7d8996;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
}

/* =========================================================
   V16: tooltips must not be clipped by the booking card
   ========================================================= */

/* Loaded form may contain tooltips that extend outside the card. */
.support-booking__form-column {
    overflow: visible;
}

/* While loading, clipping is useful only to keep the loader inside
   the rounded card. As soon as loading finishes, overflow is visible. */
.support-booking__form-column.is-loading {
    overflow: hidden;
}

/* Give tooltips enough stacking priority above neighboring cards. */
.support-booking__form-column .support-tip {
    z-index: 30;
}

.support-booking__form-column .support-tip:hover::after,
.support-booking__form-column .support-tip:focus::after,
.support-booking__form-column .support-tip:focus-visible::after {
    z-index: 100500 !important;
}

.support-booking__form-column .support-tip:hover::before,
.support-booking__form-column .support-tip:focus::before,
.support-booking__form-column .support-tip:focus-visible::before {
    z-index: 100501 !important;
}

@media (max-width: 767px) {
    /* Do not center the mobile dialog with transform: a transformed
       ancestor becomes a containing block for position:fixed tooltip
       and can cause the tooltip to be clipped by the scrollable dialog. */
    .support-booking__mobile-modal {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 12px;
    }

    .support-booking__mobile-dialog {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        width: 100%;
        max-height: calc(100vh - 30px);
        max-height: calc(100dvh - 30px);
        transform: none;
        overflow: auto;
    }

    /* Tooltip becomes a viewport notification on mobile and therefore
       never goes outside the left/right edge of the screen. */
    .support-tip:hover::after,
    .support-tip:focus::after,
    .support-tip:focus-visible::after {
        position: fixed !important;
        left: 14px !important;
        right: 14px !important;
        top: auto !important;
        bottom: 14px !important;
        width: auto !important;
        max-width: none !important;
        transform: none !important;
        z-index: 100500 !important;
    }

    .support-tip:hover::before,
    .support-tip:focus::before,
    .support-tip:focus-visible::before {
        display: none !important;
    }
}
