/* VKService: единые стили раздела поздравлений */
.birthday-compose-v3 {
    --bc-primary: var(--color-primary, #6756c8);
    --bc-soft: var(--color-primary-soft, #f0edff);
    --bc-text: var(--color-text-primary, #15182b);
    --bc-muted: var(--color-text-secondary, #697087);
    --bc-border: var(--color-border, #e2e5ee);
    --bc-surface: var(--color-surface, #fff);
    width: 100%;
    max-width: 1160px;
    min-width: 0;
    margin: 0 auto;
    display: grid;
    gap: 15px;
    color: var(--bc-text);
    font-size: 14px;
    container-type: inline-size;
    container-name: birthday-compose;
}

.birthday-compose-v3,
.birthday-compose-v3 *,
.birthday-compose-v3 *::before,
.birthday-compose-v3 *::after {
    box-sizing: border-box;
}

.birthday-compose-v3 :is(button,
    a,
    summary,
    input,
    select,
    textarea):focus-visible {
    outline: 3px solid rgba(103, 86, 200, .25);
    outline-offset: 3px;
}

/* HERO */
.bc3-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 25px 27px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(115deg,
            #5043a0 0%,
            #6855c4 60%,
            #8670ce 100%);
    box-shadow: 0 9px 25px rgba(71, 53, 138, .12);
}

.bc3-hero::before,
.bc3-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.bc3-hero::before {
    width: 260px;
    height: 260px;
    right: -45px;
    top: -180px;
    border: 1px solid rgba(255, 255, 255, .18);
}

.bc3-hero::after {
    width: 190px;
    height: 190px;
    right: 45px;
    bottom: -145px;
    background: rgba(255, 255, 255, .055);
}

.bc3-hero__layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.bc3-hero__content {
    min-width: 0;
    max-width: 760px;
}

.bc3-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 30px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.bc3-title {
    margin: 0;
    color: #fff;
    font-size: clamp(23px, 2.3vw, 31px);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.03em;
    overflow-wrap: anywhere;
}

.bc3-lead {
    max-width: 630px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    line-height: 1.6;
}

.bc3-profile {
    display: flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    margin-top: 15px;
    color: #fff;
    font-size: 11px;
    font-weight: 650;
}

.bc3-profile span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.bc3-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .16s ease;
}

.bc3-back:hover {
    color: #fff;
    background: rgba(255, 255, 255, .23);
    border-color: #fff;
}

/* STEPS */
.bc3-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bc3-step {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid var(--bc-border);
    border-radius: 12px;
    background: var(--bc-surface);
}

.bc3-step--current {
    background: #faf8ff;
    border-color: #c9bdf5;
}

.bc3-step__number {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--bc-soft);
    color: var(--bc-primary);
    font-size: 13px;
    font-weight: 800;
}

.bc3-step--current .bc3-step__number {
    background: var(--bc-primary);
    color: #fff;
}

.bc3-step__text {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.bc3-step__text strong {
    color: var(--bc-text);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
}

.bc3-step__text small {
    color: var(--bc-muted);
    font-size: 10px;
    line-height: 1.4;
}

/* LAYOUT */
.bc3-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.bc3-panel {
    min-width: 0;
    padding: 22px 23px;
    border: 1px solid var(--bc-border);
    border-radius: 15px;
    background: var(--bc-surface);
    box-shadow: 0 3px 15px rgba(21, 24, 43, .04);
}

.bc3-panel__head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 17px;
}

.bc3-panel__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 11px;
    background: var(--bc-soft);
    color: var(--bc-primary);
    font-size: 18px;
}

.bc3-panel__copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.bc3-panel__copy h2 {
    margin: 0;
    color: var(--bc-text);
    font-size: 15px;
    font-weight: 750;
}

.bc3-panel__copy p {
    margin: 0;
    color: var(--bc-muted);
    font-size: 11px;
    line-height: 1.5;
}

/* EXISTING YII2 FORM */
.bc3-form,
.bc3-form form {
    min-width: 0;
}

.bc3-form :is(textarea,
    select,
    input:not([type=checkbox]):not([type=radio])) {
    max-width: 100%;
}

.bc3-form :is(.form-control, .form-select) {
    border: 1px solid #daddea;
    border-radius: 10px;
    background-color: #fff;
    color: var(--bc-text);
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.bc3-form :is(.form-control, .form-select):focus {
    border-color: var(--bc-primary);
    box-shadow: 0 0 0 3px rgba(103, 86, 200, .12);
}

.bc3-form textarea.form-control {
    min-height: 210px;
    line-height: 1.65;
    resize: vertical;
}

.bc3-form .form-label {
    color: var(--bc-text);
    font-size: 12px;
    font-weight: 650;
}

.bc3-form :is(button[type=submit],
    input[type=submit],
    .btn-primary) {
    min-height: 42px;
    border-radius: 10px;
    font-weight: 700;
}

.bc3-form .form-check-input:checked {
    background-color: var(--bc-primary);
    border-color: var(--bc-primary);
}

.bc3-form input[type=file] {
    width: 100%;
}

.bc3-form input[type=file]::file-selector-button {
    padding: 10px 12px;
    margin-right: 11px;
    border: 0;
    border-right: 1px solid var(--bc-border);
    background: var(--bc-soft);
    color: var(--bc-primary);
}

/* SIDEBAR */
.bc3-aside {
    display: grid;
    min-width: 0;
    gap: 13px;
}

.bc3-aside__panel {
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--bc-border);
    border-radius: 14px;
    background: #fafbfe;
}

.bc3-aside__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--bc-text);
    font-size: 13px;
    font-weight: 750;
}

.bc3-aside__title i {
    color: var(--bc-primary);
    font-size: 17px;
}

.bc3-aside__description {
    margin: 7px 0 13px;
    color: var(--bc-muted);
    font-size: 11px;
    line-height: 1.55;
}

.bc3-snippets {
    display: grid;
    gap: 7px;
}

.bc3-snippet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding: 10px 11px;
    border: 1px solid #e2ddf2;
    border-radius: 9px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition:
        background .15s ease,
        border-color .15s ease;
}

.bc3-snippet:hover {
    background: #f3f0ff;
    border-color: #bfb3ef;
}

.bc3-snippet code {
    min-width: 0;
    color: #5947a8;
    font-size: 12px;
    font-weight: 700;
    white-space: normal;
    overflow-wrap: anywhere;
}

.bc3-snippet i {
    flex: 0 0 auto;
    color: var(--bc-primary);
}

.bc3-aside__hint {
    margin: 10px 0 0;
    color: var(--bc-muted);
    font-size: 10px;
    line-height: 1.5;
}

.bc3-status {
    min-height: 17px;
    margin-top: 7px;
    color: #21875d;
    font-size: 11px;
}

.bc3-counter {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--bc-border);
    color: var(--bc-muted);
    font-size: 11px;
}

.bc3-counter strong {
    color: var(--bc-text);
    font-variant-numeric: tabular-nums;
}

/* PREVIEW */
.bc3-preview {
    overflow: hidden;
    margin-top: 12px;
    border: 1px solid var(--bc-border);
    border-radius: 10px;
    background: #fff;
}

.bc3-preview summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
    color: var(--bc-text);
    font-size: 11px;
    font-weight: 700;
}

.bc3-preview summary::-webkit-details-marker {
    display: none;
}

.bc3-preview summary::after {
    content: '+';
    margin-left: auto;
    color: var(--bc-primary);
    font-size: 18px;
}

.bc3-preview[open] summary::after {
    content: '−';
}

.bc3-preview__body {
    padding: 12px;
    border-top: 1px solid var(--bc-border);
}

.bc3-preview__text {
    max-height: 270px;
    margin: 0;
    overflow-y: auto;
    overflow-wrap: anywhere;
    color: var(--bc-text);
    font-size: 12px;
    line-height: 1.65;
    white-space: pre-wrap;
}

.bc3-preview__note {
    margin: 10px 0 0;
    color: var(--bc-muted);
    font-size: 10px;
    line-height: 1.5;
}

/* SHARED HELP */
.bc3-help {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--bc-border);
    border-radius: 14px;
    background: var(--bc-surface);
}

.bc3-help summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 65px;
    padding: 13px 18px;
    cursor: pointer;
    list-style: none;
}

.bc3-help summary::-webkit-details-marker {
    display: none;
}

.bc3-help__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    background: var(--bc-soft);
    color: var(--bc-primary);
    font-size: 17px;
}

.bc3-help__copy {
    display: grid;
    flex: 1;
    min-width: 0;
    gap: 3px;
}

.bc3-help__copy strong {
    color: var(--bc-text);
    font-size: 13px;
}

.bc3-help__copy small {
    color: var(--bc-muted);
    font-size: 11px;
    line-height: 1.4;
}

.bc3-help__chevron {
    color: var(--bc-primary);
    transition: transform .16s ease;
}

.bc3-help[open] .bc3-help__chevron {
    transform: rotate(180deg);
}

.bc3-help__body {
    min-width: 0;
    padding: 2px 18px 19px;
    border-top: 1px solid var(--bc-border);
    overflow-wrap: anywhere;
}

.bc3-help__body :is(img, video, iframe) {
    max-width: 100%;
}

/* RESPONSIVE */
@container birthday-compose (min-width: 870px) {
    .bc3-layout {
        grid-template-columns:
            minmax(0, 1.65fr) minmax(265px, .82fr);
        /* Колонки вытягиваются на высоту самой высокой панели. */
        align-items: stretch;
    }

    .bc3-layout>.bc3-panel,
    .bc3-layout>.bc3-aside {
        min-height: 100%;
        height: 100%;
    }

    .bc3-aside {
        /* Sticky высокой панели здесь мешает растягиванию и прокрутке. */
        position: static;
        align-self: stretch;
        grid-template-rows: minmax(0, 1fr);
    }

    .bc3-aside>.bc3-aside__panel {
        height: 100%;
        min-height: 100%;
    }
}

@container birthday-compose (max-width: 680px) {
    .bc3-hero {
        padding: 20px 17px;
    }

    .bc3-hero__layout {
        flex-wrap: wrap;
        gap: 14px;
    }

    .bc3-steps {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .bc3-step {
        min-height: 54px;
    }

    .bc3-panel {
        padding: 17px 14px;
    }

    .bc3-help summary {
        padding: 13px;
    }

    .bc3-help__body {
        padding: 2px 13px 15px;
    }
}

@media (max-width: 767px) {
    .birthday-compose-v3 {
        gap: 12px;
    }

    .bc3-form :is(textarea,
        select,
        input:not([type=checkbox]):not([type=radio])) {
        font-size: 16px;
    }

    .bc3-snippet {
        min-height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .birthday-compose-v3 *,
    .birthday-compose-v3 *::before,
    .birthday-compose-v3 *::after {
        transition-duration: 0s !important;
    }
}

/* V4: help lives under the hero, defaults to expanded. */
.birthday-compose-v3 .bc3-help {
    border-color: #d9d1f5;
    box-shadow: 0 4px 18px rgba(76, 58, 149, .06);
}

.birthday-compose-v3 .bc3-help>summary {
    background: linear-gradient(95deg, #faf8ff 0%, #ffffff 85%);
    border-radius: 13px;
}

.birthday-compose-v3 .bc3-help[open]>summary {
    border-radius: 13px 13px 0 0;
}

.birthday-compose-v3 .bc3-help>summary:hover {
    background: #f5f1ff;
}

.birthday-compose-v3 .bc3-help__toggle-label {
    flex: 0 0 auto;
    color: var(--bc-primary);
    font-size: 11px;
    font-weight: 700;
}

.birthday-compose-v3 .bc3-help__toggle-label::after {
    content: 'Развернуть';
}

.birthday-compose-v3 .bc3-help[open] .bc3-help__toggle-label::after {
    content: 'Свернуть';
}

.birthday-compose-v3 .bc3-help__body {
    padding-top: 18px;
    background: #fff;
}

.birthday-compose-v3 .bc3-help__to-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    padding: 10px 14px;
    border: 1px solid #ddd6f7;
    border-radius: 9px;
    background: #f7f4ff;
    color: var(--bc-primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.birthday-compose-v3 .bc3-help__to-form:hover {
    color: #49398f;
    border-color: #bbadf4;
    background: #f0ebff;
}

/* Segmented filter and grouped snippet buttons. */
.birthday-compose-v3 .bc3-snippet-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 4px;
    margin-bottom: 11px;
    border: 1px solid #e6e3f0;
    border-radius: 11px;
    background: #f1f0f7;
}

.birthday-compose-v3 .bc3-snippet-tab {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 35px;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #65647a;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    white-space: nowrap;
}

.birthday-compose-v3 .bc3-snippet-tab:hover {
    color: var(--bc-primary);
}

.birthday-compose-v3 .bc3-snippet-tab.is-active,
.birthday-compose-v3 .bc3-snippet-tab[aria-pressed="true"] {
    background: #fff;
    border-color: #e3def4;
    color: var(--bc-primary);
    box-shadow: 0 1px 4px rgba(50, 40, 75, .05);
}

.birthday-compose-v3 .bc3-snippet-group {
    display: grid;
    gap: 7px;
}

.birthday-compose-v3 .bc3-snippet-group[hidden] {
    display: none !important;
}

.birthday-compose-v3 .bc3-snippet__content {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 4px;
}

.birthday-compose-v3 .bc3-snippet__content strong {
    color: var(--bc-text);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 650;
}

.birthday-compose-v3 .bc3-snippet__content code {
    font-weight: 500;
    font-size: 11px;
    line-height: 1.4;
    white-space: pre-wrap;
}

.birthday-compose-v3 .bc3-snippet:active {
    transform: scale(.99);
}

@container birthday-compose (max-width: 680px) {
    .birthday-compose-v3 .bc3-help__toggle-label {
        display: none;
    }

    .birthday-compose-v3 .bc3-help__body {
        padding-top: 12px;
    }

    .birthday-compose-v3 .bc3-snippet-tab {
        min-height: 41px;
        font-size: 11px;
    }
}

/* V5 — безопасная очистка черновика в боковых инструментах. */
.birthday-compose-v3 .bc3-clear {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid var(--bc-border);
}

.birthday-compose-v3 .bc3-clear__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.birthday-compose-v3 .bc3-clear__copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.birthday-compose-v3 .bc3-clear__copy strong {
    font-size: 11px;
    color: var(--bc-text);
}

.birthday-compose-v3 .bc3-clear__copy span {
    font-size: 10px;
    line-height: 1.4;
    color: var(--bc-muted);
}

.birthday-compose-v3 .bc3-clear__trigger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
    min-height: 36px;
    padding: 7px 10px;
    border-radius: 9px;
    border: 1px solid #f0d1d1;
    color: #b44747;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.birthday-compose-v3 .bc3-clear__trigger:hover:not(:disabled) {
    background: #fff4f4;
    border-color: #eab3b3;
}

.birthday-compose-v3 .bc3-clear__trigger:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.birthday-compose-v3 .bc3-clear__confirm {
    margin-top: 12px;
    padding: 13px;
    border-radius: 10px;
    border: 1px solid #efcccc;
    background: #fff9f9;
}

.birthday-compose-v3 .bc3-clear__confirm[hidden] {
    display: none !important;
}

.birthday-compose-v3 .bc3-clear__confirm strong {
    display: block;
    margin-bottom: 4px;
    color: #783d3d;
    font-size: 12px;
}

.birthday-compose-v3 .bc3-clear__confirm p {
    margin: 0 0 12px;
    color: #8c6262;
    font-size: 11px;
    line-height: 1.45;
}

.birthday-compose-v3 .bc3-clear__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.birthday-compose-v3 .bc3-clear__actions button {
    min-height: 36px;
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.birthday-compose-v3 .bc3-clear__cancel {
    border: 1px solid #dddde6;
    color: #525468;
    background: white;
}

.birthday-compose-v3 .bc3-clear__apply {
    border: 1px solid #b84343;
    background: #b84343;
    color: #fff;
}

.birthday-compose-v3 .bc3-clear__apply:hover {
    background: #9b3434;
}

@container birthday-compose (max-width: 420px) {
    .birthday-compose-v3 .bc3-clear__row {
        align-items: stretch;
        flex-direction: column;
    }

    .birthday-compose-v3 .bc3-clear__trigger {
        width: 100%;
    }
}

/* Только форма создания/редактирования поздравления. */
.bcf {
    --bcf-primary: var(--bc-primary, var(--color-primary, #6756c8));
    --bcf-soft: var(--bc-soft, #f1edff);
    --bcf-border: var(--bc-border, #e2e5ee);
    --bcf-muted: var(--bc-muted, #697087);
    --bcf-text: var(--bc-text, #15182b);
    min-width: 0;
}

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

/* Вытягиваем редактор на свободную высоту левой карточки — без фиксированных высот и JS. */
.birthday-compose-v3 .bc3-panel.bc3-form {
    display: flex;
    flex-direction: column;
}

.birthday-compose-v3 .bc3-panel.bc3-form>.bcf {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.bcf-form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    gap: 17px;
}

.bcf-editor {
    display: flex;
    flex: 1 1 auto;
    min-height: 275px;
    flex-direction: column;
}

.bcf-editor__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.bcf-editor__head strong {
    color: var(--bcf-text);
    font-size: 13px;
    font-weight: 750;
}

.bcf-editor__head small {
    color: var(--bcf-muted);
    font-size: 11px;
}

.bcf .bcf-message-field {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    margin: 0 !important;
}

.bcf .bcf-message-field .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--bcf-text);
}

.bcf .bcf-message-field textarea.form-control {
    display: block;
    width: 100%;
    min-height: 260px;
    height: 100%;
    flex: 1 1 auto;
    padding: 14px 16px;
    border: 1px solid #dcdfea;
    border-radius: 11px;
    background: #fff;
    color: var(--bcf-text);
    line-height: 1.65;
    font-size: 14px;
    resize: vertical;
    box-shadow: 0 2px 8px rgba(21, 24, 43, .02);
}

.bcf .bcf-message-field textarea.form-control::placeholder {
    color: #9da3b4;
}

.bcf .bcf-message-field textarea.form-control:focus {
    border-color: var(--bcf-primary);
    box-shadow: 0 0 0 3px rgba(103, 86, 200, .11);
}

.bcf .bcf-message-field .help-block,
.bcf .bcf-message-field .invalid-feedback {
    margin: 5px 0 0;
    font-size: 12px;
    color: #c7384a;
}

.bcf-hint {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 8px 0 0;
    color: var(--bcf-muted);
    line-height: 1.5;
    font-size: 11px;
}

.bcf-hint i {
    color: var(--bcf-primary);
    flex: 0 0 auto;
}

.bcf-media {
    padding: 15px;
    border: 1px solid var(--bcf-border);
    border-radius: 12px;
    background: #fafbfe;
}

.bcf-media__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.bcf-media__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--bcf-text);
    font-size: 13px;
    font-weight: 750;
}

.bcf-media__heading i {
    color: var(--bcf-primary);
    font-size: 17px;
}

.bcf-media__optional {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 100px;
    background: #f1edff;
    color: #6153a8;
    font-size: 10px;
    font-weight: 700;
}

.bcf-media {
    position: relative;
}

/* Перебиваем общий стиль страницы input[type=file] { width:100% } — иначе input создаёт горизонтальную прокрутку. */
.birthday-compose-v3 .bc3-form .bcf-file,
.bcf .bcf-file {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    max-width: 1px !important;
    opacity: 0;
    overflow: hidden;
    clip-path: inset(50%);
}

.bcf-dropzone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    min-height: 83px;
    border: 1.5px dashed #c9c0e8;
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.bcf-dropzone:hover,
.bcf-dropzone.is-dragover {
    background: #f6f3ff;
    border-color: var(--bcf-primary);
}

.bcf-file:focus-visible+.bcf-dropzone {
    outline: 3px solid rgba(103, 86, 200, .25);
    outline-offset: 3px;
}

.bcf-file:disabled+.bcf-dropzone {
    opacity: .65;
    cursor: wait;
}

.bcf-dropzone__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 11px;
    background: var(--bcf-soft);
    color: var(--bcf-primary);
    font-size: 20px;
}

.bcf-dropzone__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.bcf-dropzone__copy strong {
    color: var(--bcf-text);
    font-size: 12px;
    font-weight: 750;
}

.bcf-dropzone__copy small {
    color: var(--bcf-muted);
    font-size: 11px;
    line-height: 1.45;
}

.bcf-upload-status {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-height: 18px;
    margin-top: 10px;
    color: var(--bcf-muted);
    font-size: 11px;
    line-height: 1.4;
}

.bcf-upload-status i {
    flex: 0 0 auto;
    font-size: 14px;
}

.bcf-upload-status[data-state="saving"] {
    color: var(--bcf-primary);
}

.bcf-upload-status[data-state="success"] {
    color: #17895b;
}

.bcf-upload-status[data-state="error"] {
    color: #b72f42;
}

.bcf-upload-status[data-state="saving"] i {
    animation: bcf-spin .9s linear infinite;
}

@keyframes bcf-spin {
    to {
        transform: rotate(360deg);
    }
}

.bcf-preview {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px;
    padding: 11px;
    border: 1px solid #e4e6ef;
    border-radius: 10px;
    background: #fff;
}

.bcf-preview[hidden],
.bcf-preview__remove[hidden] {
    display: none !important;
}

.bcf-preview__image {
    display: block;
    width: 90px;
    height: 90px;
    flex: 0 0 90px;
    object-fit: cover;
    border-radius: 8px;
    background: #f2f3f9;
}

.bcf-preview__meta {
    display: grid;
    align-content: center;
    gap: 5px;
    min-width: 0;
}

.bcf-preview__meta strong {
    color: var(--bcf-text);
    font-size: 12px;
    font-weight: 700;
}

.bcf-preview__meta small {
    color: var(--bcf-muted);
    overflow-wrap: anywhere;
    font-size: 11px;
}

.bcf-preview__remove {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    color: #bb3e4c;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.bcf-preview__remove:hover {
    color: #941e30;
    text-decoration: underline;
}

.bcf-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--bcf-border);
}

.bcf-actions__note {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: var(--bcf-muted);
    font-size: 11px;
    line-height: 1.45;
}

.bcf-actions__note i {
    color: var(--bcf-primary);
}

.bcf-actions__save {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 19px;
    border: 1px solid var(--bcf-primary);
    border-radius: 10px;
    background: var(--bcf-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    transition: filter .15s ease, transform .15s ease;
    cursor: pointer;
}

.bcf-actions__save:hover:not(:disabled) {
    filter: brightness(.94);
    color: #fff;
}

.bcf-actions__save:disabled {
    opacity: .65;
    cursor: wait;
}

.bcf-actions__save:focus-visible {
    outline: 3px solid rgba(103, 86, 200, .22);
    outline-offset: 3px;
}

@media(max-width:767px) {
    .bcf-form {
        gap: 13px;
    }

    .bcf-editor {
        min-height: 245px;
    }

    .bcf .bcf-message-field textarea.form-control {
        min-height: 240px;
        font-size: 16px;
    }

    .bcf-media {
        padding: 12px;
    }

    .bcf-dropzone {
        min-height: 80px;
        padding: 12px;
    }

    .bcf-actions__save {
        width: 100%;
        min-height: 49px;
    }

    .bcf-actions__note {
        width: 100%;
    }
}

@media(prefers-reduced-motion:reduce) {
    .bcf-upload-status[data-state="saving"] i {
        animation: none;
    }
}


/* ============================================================
 * Unified Birthday Messages — Index / View / Filters
 * Все селекторы ограничены разделом поздравлений.
 * ============================================================ */
.bm-page {
    --bc-primary: var(--color-primary, #6756c8);
    --bc-soft: var(--color-primary-soft, #f0edff);
    --bc-text: var(--color-text-primary, #15182b);
    --bc-muted: var(--color-text-secondary, #697087);
    --bc-border: var(--color-border, #e2e5ee);
    --bc-surface: var(--color-surface, #fff);
    --bm-primary: var(--color-primary, #6756c8);
    --bm-text: var(--color-text-primary, #15182b);
    --bm-muted: var(--color-text-secondary, #697087);
    --bm-border: var(--color-border, #e2e5ee);
    --bm-surface: var(--color-surface, #fff);
    min-width: 0;
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
    color: var(--bm-text);
    font-size: 13px;
}

.bm-page,
.bm-page *,
.bm-page *::before,
.bm-page *::after {
    box-sizing: border-box;
}

.bm-page .bc3-hero {
    padding: 25px 27px;
}

.bm-panel {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--bm-border);
    border-radius: 15px;
    background: var(--bm-surface);
    box-shadow: 0 3px 15px rgba(21, 24, 43, .04);
}

.bm-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 17px;
    flex-wrap: wrap;
}

.bm-toolbar__title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 15px;
    font-weight: 750;
}

.bm-toolbar__title i {
    color: var(--bm-primary);
}

.bm-toolbar__note {
    margin: 5px 0 0;
    color: var(--bm-muted);
    font-size: 11px;
}

.bm-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--bm-border);
    border-radius: 10px;
    color: var(--bm-text);
    background: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.bm-btn:hover,
.bm-btn:focus-visible {
    border-color: var(--bm-primary);
    color: var(--bm-primary);
}

.bm-btn--primary {
    border-color: var(--bm-primary);
    color: #fff;
    background: var(--bm-primary);
}

.bm-btn--primary:hover,
.bm-btn--primary:focus-visible {
    color: #fff;
    background: #5949b6;
}

.bm-btn--danger {
    border-color: #f1d3d8;
    background: #fff8f9;
    color: #b72f42;
}

.bm-btn--danger:hover {
    color: #9a2336;
    border-color: #da808d;
}

.bm-stat-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.bm-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid #e4e0f7;
    border-radius: 999px;
    background: #f8f6ff;
    color: #5546a1;
    font-size: 11px;
    font-weight: 700;
}

.bm-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 10px 0;
    color: var(--bm-muted);
    line-height: 1.55;
    font-size: 12px;
}

.bm-note i {
    flex: 0 0 auto;
    color: var(--bm-primary);
}

.bm-details {
    border: 1px solid var(--bm-border);
    border-radius: 11px;
    background: #fbfcff;
    overflow: hidden;
}

.bm-details>summary {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 15px;
    list-style: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.bm-details>summary::-webkit-details-marker {
    display: none;
}

.bm-details>summary i {
    color: var(--bm-primary);
}

.bm-details>summary::after {
    content: '+';
    margin-left: auto;
    color: var(--bm-primary);
    font-size: 20px;
}

.bm-details[open]>summary::after {
    content: '−';
}

.bm-details__body {
    padding: 0 15px 15px;
}

.bm-search {
    display: grid;
    gap: 12px;
}

.bm-search__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.bm-search__grid .form-group,
.bm-search__grid .mb-3 {
    margin-bottom: 0;
    min-width: 0;
}

.bm-search__grid label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
}

.bm-search .form-control {
    width: 100%;
    min-height: 41px;
    border: 1px solid #daddE9;
    border-radius: 9px;
    font-size: 13px;
}

.bm-search__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bm-table-wrap {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bm-page .grid-view {
    min-width: 0;
}

.bm-page .grid-view .summary {
    margin-bottom: 12px;
    color: var(--bm-muted);
    font-size: 11px;
}

.bm-page .bm-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0 7px;
    table-layout: fixed;
}

.bm-page .bm-table thead th {
    padding: 10px 11px;
    color: var(--bm-muted);
    font-weight: 650;
    font-size: 11px;
    background: #fafbfe;
    border-bottom: 1px solid var(--bm-border);
}

.bm-page .bm-table tbody tr {
    background: #fff;
}

.bm-page .bm-table tbody td {
    padding: 11px;
    vertical-align: middle;
    border-top: 1px solid #e9ebf3;
    border-bottom: 1px solid #e9ebf3;
}

.bm-page .bm-table tbody td:first-child {
    border-left: 1px solid #e9ebf3;
    border-radius: 9px 0 0 9px;
}

.bm-page .bm-table tbody td:last-child {
    border-right: 1px solid #e9ebf3;
    border-radius: 0 9px 9px 0;
}

.bm-page .bm-table .bm-id-col {
    width: 75px;
    white-space: nowrap;
}

.bm-page .bm-table .bm-profile-col {
    width: 110px;
    white-space: nowrap;
}

.bm-page .bm-table .bm-actions-col {
    width: 110px;
    text-align: right;
    white-space: nowrap;
}

.bm-page .bm-table .bm-actions-col a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 29px;
    min-height: 29px;
    padding: 5px;
    border-radius: 7px;
    color: var(--bm-primary);
    background: #f3f0ff;
    margin-left: 3px;
}

.bm-page .bm-table .bm-actions-col a:hover {
    color: #fff;
    background: var(--bm-primary);
}

.bm-message-details {
    max-width: 100%;
}

.bm-message-details>summary {
    list-style: none;
    cursor: pointer;
}

.bm-message-details>summary::-webkit-details-marker {
    display: none;
}

.bm-message-details__line {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #4a5069;
}

.bm-message-details__line:hover,
.bm-message-details__line:focus-visible {
    color: var(--bm-primary);
}

.bm-message-details__full {
    margin-top: 10px;
    padding: 11px;
    border: 1px solid #e6e1f4;
    border-radius: 9px;
    background: #faf8ff;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    max-height: 300px;
    overflow: auto;
    font-size: 12px;
    line-height: 1.6;
}

.bm-view__message {
    padding: 17px;
    background: #fafbfe;
    border: 1px solid var(--bm-border);
    border-radius: 12px;
    color: #353950;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.75;
    font-size: 14px;
}

.bm-view__media {
    margin-top: 17px;
}

.bm-view__image {
    width: auto;
    max-width: min(100%, 480px);
    max-height: 340px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--bm-border);
}

.bm-page .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 16px;
    padding: 0;
    list-style: none;
}

.bm-page .pagination a,
.bm-page .pagination span {
    display: block;
    padding: 7px 10px;
    border: 1px solid var(--bm-border);
    border-radius: 7px;
    text-decoration: none;
}

.bm-page .pagination .active a {
    background: var(--bm-primary);
    border-color: var(--bm-primary);
    color: white;
}

@media(max-width:767px) {
    .bm-page .bc3-hero {
        padding: 19px 16px;
    }

    .bm-panel {
        padding: 16px 12px;
    }

    .bm-search__grid {
        grid-template-columns: 1fr;
    }

    .bm-page .bm-table {
        min-width: 550px;
    }

    .bm-view__message {
        padding: 13px;
        font-size: 13px;
    }
}

/* Universal message editor (birthday and friend request share all existing classes). */
.message-editor[data-message-kind="friend"] .bc3-panel__icon,
.message-editor[data-message-kind="friend"] .bc3-help__icon {
    background: var(--bc-soft, #f0edff);
}

.message-editor[data-message-kind="friend"] .bcf-editor {
    min-height: 340px;
}

.message-editor[data-message-kind="friend"] .bcf-editor textarea.form-control {
    min-height: 300px;
}

.message-editor .bc3-help {
    scroll-margin-top: 16px;
}

.message-editor #bc3-form-title {
    scroll-margin-top: 16px;
}

@media(max-width:767px) {
    .message-editor[data-message-kind="friend"] .bcf-editor {
        min-height: 245px;
    }

    .message-editor[data-message-kind="friend"] .bcf-editor textarea.form-control {
        min-height: 240px;
    }
}


/* VKService — единая справка для birthday / friend. Добавить ОДИН раз в глобальный CSS. */
.message-help-v3 {
    --mh-primary: var(--color-primary, #6756c8);
    --mh-soft: var(--color-primary-soft, #f1edff);
    --mh-text: var(--color-text-primary, #15182b);
    --mh-muted: var(--color-text-secondary, #697087);
    --mh-border: var(--color-border, #e4e6ef);
    min-width: 0;
    display: grid;
    gap: 16px;
    color: var(--mh-text);
    font-size: 13px;
    line-height: 1.55;
}

.message-help-v3,
.message-help-v3 *,
.message-help-v3 *::before,
.message-help-v3 *::after {
    box-sizing: border-box;
}

.message-help-v3__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.message-help-v3__heading {
    min-width: 0;
}

.message-help-v3__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: var(--mh-soft);
    color: var(--mh-primary);
    font-size: 11px;
    font-weight: 750;
}

.message-help-v3__title {
    margin: 0;
    color: var(--mh-text);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.message-help-v3__intro {
    margin: 7px 0 0;
    max-width: 680px;
    font-size: 12px;
    color: var(--mh-muted);
    line-height: 1.65;
}

.message-help-v3__count {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid var(--mh-border);
    border-radius: 9px;
    font-size: 11px;
    color: var(--mh-muted);
    font-weight: 650;
    white-space: nowrap;
    background: #fff;
}

.message-help-v3__count i {
    color: var(--mh-primary);
}

.message-help-v3__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 10px;
}

.message-help-v3__card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border: 1px solid var(--mh-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 11px rgba(31, 27, 55, .035);
    transition: border-color .18s, box-shadow .18s;
}

.message-help-v3__card:hover {
    border-color: #cabff2;
    box-shadow: 0 6px 18px rgba(85, 66, 158, .075);
}

.message-help-v3__card-heading {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 9px;
}

.message-help-v3__card-heading h4 {
    margin: 0;
    color: var(--mh-text);
    font-size: 13px;
    font-weight: 750;
}

.message-help-v3__icon {
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--mh-soft);
    color: var(--mh-primary);
    font-size: 17px;
}

.message-help-v3__syntax {
    display: block;
    padding: 10px 11px;
    border: 1px solid #e8e1fd;
    border-radius: 8px;
    background: #f8f6ff;
    color: #5945a3;
    font-size: 12px;
    font-weight: 700;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.message-help-v3__description {
    margin: 0;
    flex: 1;
    color: var(--mh-muted);
    font-size: 12px;
}

.message-help-v3__card-example {
    display: grid;
    gap: 5px;
    padding: 10px 11px;
    border: 1px solid #eef0f6;
    border-radius: 8px;
    background: #fafbfe;
}

.message-help-v3__card-example span {
    color: var(--mh-muted);
    font-size: 10px;
    font-weight: 700;
}

.message-help-v3__card-example code {
    font-size: 12px;
    color: #414861;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.message-help-v3__utilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 10px;
}

.message-help-v3__utility {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--mh-border);
    border-radius: 12px;
    background: #fafbfe;
}

.message-help-v3__utility h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--mh-text);
    font-size: 13px;
    font-weight: 750;
}

.message-help-v3__utility h4 i {
    color: var(--mh-primary);
    font-size: 16px;
}

.message-help-v3__utility p {
    margin: 0 0 12px;
    color: var(--mh-muted);
    font-size: 12px;
    line-height: 1.6;
}

.message-help-v3__tokens,
.message-help-v3__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.message-help-v3__tokens code,
.message-help-v3__chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border: 1px solid var(--mh-border);
    border-radius: 8px;
    background: #fff;
    color: #5746a1;
    font-size: 12px;
    font-weight: 650;
}

.message-help-v3__chips span {
    color: #525971;
}

.message-help-v3__chips i {
    color: var(--mh-primary);
}

.message-help-v3__sample {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dcd3f2;
    border-radius: 13px;
    background: linear-gradient(125deg, #faf7ff, #f5f8ff);
}

.message-help-v3__sample-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 16px 0;
}

.message-help-v3__sample-icon {
    display: grid;
    flex: 0 0 38px;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e8e1fc;
    color: var(--mh-primary);
    font-size: 17px;
}

.message-help-v3__sample-copy {
    flex: 1;
    min-width: 0;
}

.message-help-v3__sample-copy h4 {
    margin: 0;
    color: var(--mh-text);
    font-size: 13px;
    font-weight: 750;
}

.message-help-v3__sample-copy p {
    margin: 3px 0 0;
    color: var(--mh-muted);
    font-size: 11px;
}

.message-help-v3__sample-label {
    flex: 0 0 auto;
    color: #7866ae;
    font-size: 11px;
    font-weight: 700;
}

.message-help-v3__sample-text {
    margin: 13px 15px;
    padding: 16px;
    border: 1px solid #e8e2f2;
    border-radius: 10px;
    background: rgba(255, 255, 255, .9);
    color: #333d56;
    line-height: 1.75;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.message-help-v3__sample-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0 15px 15px;
    flex-wrap: wrap;
}

.message-help-v3__sample-footer p {
    flex: 1 1 220px;
    margin: 0;
    color: var(--mh-muted);
    font-size: 11px;
}

.message-help-v3__sample-footer p i {
    color: var(--mh-primary);
    margin-right: 3px;
}

.message-help-v3__insert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 39px;
    padding: 8px 13px;
    border: 1px solid #6756c8;
    border-radius: 9px;
    background: #6756c8;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    transition: background .18s, transform .18s;
}

.message-help-v3__insert:hover {
    background: #5545ac;
    color: #fff;
}

.message-help-v3__insert:focus-visible {
    outline: 3px solid rgba(103, 86, 200, .28);
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .message-help-v3 {
        gap: 12px;
    }

    .message-help-v3__header {
        flex-wrap: wrap;
    }

    .message-help-v3__count {
        padding: 6px 9px;
    }

    .message-help-v3__grid,
    .message-help-v3__utilities {
        grid-template-columns: minmax(0, 1fr);
    }

    .message-help-v3__card,
    .message-help-v3__utility {
        padding: 12px;
    }

    .message-help-v3__sample-header {
        padding: 12px 12px 0;
    }

    .message-help-v3__sample-text {
        margin: 10px 12px;
        padding: 12px;
    }

    .message-help-v3__sample-footer {
        padding: 0 12px 12px;
    }

    .message-help-v3__insert {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .message-help-v3__card,
    .message-help-v3__insert {
        transition: none;
    }
}