body:has(.support-page) .column-left .content-bg > .content-header {
    display: none !important;
}

.support-page {
    padding: 18px 0 12px;
    color: #a8b1b6;
}

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

.support-eyebrow {
    display: block;
    color: #b9aa63;
    font-size: 11px;
    line-height: 15px;
    font-weight: 800;
    letter-spacing: .72px;
    text-transform: uppercase;
}

.support-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 150px;
    padding: 26px 28px;
    margin-bottom: 12px;
    background:
        radial-gradient(circle at 81% 0, rgba(199,179,95,.07), transparent 34%),
        linear-gradient(135deg, rgba(15,20,23,.98), rgba(7,11,14,.99));
    border: 1px solid rgba(205,188,103,.10);
    border-left: 3px solid #cdbd72;
    border-radius: 4px;
}

.support-hero__main h1 {
    margin: 6px 0 6px;
    color: #eef1f2;
    font-size: 31px;
    line-height: 37px;
}

.support-hero__main p {
    max-width: 590px;
    margin: 0;
    color: #6d787e;
    font-size: 13px;
    line-height: 20px;
}

.support-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(118px, 1fr));
    gap: 8px;
    min-width: 260px;
}

.support-hero-stat {
    min-height: 74px;
    padding: 12px 14px;
    background: rgba(7,10,12,.78);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 4px;
}

.support-hero-stat span {
    display: block;
    color: #667078;
    font-size: 8px;
    line-height: 10px;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.support-hero-stat strong {
    display: block;
    margin-top: 5px;
    color: #ddd083;
    font-size: 24px;
    line-height: 28px;
}

.support-hero-stat--accent strong {
    color: #8fb38d;
}

.support-main {
    display: grid;
    grid-template-columns: minmax(0,1.65fr) minmax(235px,.75fr);
    gap: 10px;
    margin-bottom: 10px;
}

.support-create,
.support-info,
.support-history,
.support-conversation {
    background: linear-gradient(180deg, rgba(12,17,20,.99), rgba(7,11,13,.995));
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 4px;
}

.support-create {
    padding: 18px;
}

.support-section-head,
.support-history__head,
.support-conversation__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.support-section-head {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.support-section-head h2,
.support-history__head h2,
.support-conversation__head h2 {
    margin: 3px 0 0;
    color: #cbd1d4;
    font-size: 19px;
    line-height: 24px;
}

.support-section-head__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #aa9a58;
    background: rgba(198,175,82,.035);
    border: 1px solid rgba(198,175,82,.08);
    border-radius: 4px;
    font-size: 13px;
}

.support-form {
    padding-top: 17px;
}

.support-form__row {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 10px;
}

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

.support-field > span,
.support-reply label > span {
    display: block;
    margin-bottom: 7px;
    color: #747f84;
    font-size: 11px;
    line-height: 15px;
    font-weight: 700;
}

.support-field__control {
    display: flex;
    align-items: center;
    min-height: 50px;
    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 4px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.support-field__control:focus-within,
.support-field__textarea:focus-within,
.support-reply textarea:focus {
    border-color: rgba(204,185,97,.25);
    box-shadow: 0 0 0 2px rgba(203,183,93,.035);
}

.support-field__control > i {
    flex: 0 0 45px;
    color: #887d50;
    font-size: 12px;
    text-align: center;
}

.support-field__control input,
.support-field__control select {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 0;
    color: #d2d8da;
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 13px;
    line-height: 20px;
}

.support-field__control select {
    cursor: pointer;
}

.support-field__control select option {
    color: #d2d8da;
    background: #11161a;
}

.support-field__textarea {
    padding: 0;
    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 4px;
    overflow: hidden;
}

.support-field__textarea textarea,
.support-reply textarea {
    display: block;
    width: 100%;
    min-height: 120px;
    padding: 13px 14px;
    resize: vertical;
    color: #d2d8da;
    background: transparent;
    border: 0;
    outline: 0;
    font-family: inherit;
    font-size: 13px;
    line-height: 19px;
}

.support-field__textarea small {
    display: block;
    padding: 8px 14px 10px;
    color: #4f5b61;
    border-top: 1px solid rgba(255,255,255,.035);
    font-size: 9px;
    line-height: 12px;
}

.support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 3px;
    font-family: inherit;
    font-size: 11px;
    line-height: 15px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none !important;
}

.support-button--primary {
    color: #e0d27e;
    background: linear-gradient(180deg, rgba(55,49,27,.78), rgba(20,20,14,.96));
    border: 1px solid #77693c;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 5px 13px rgba(0,0,0,.24);
}

.support-button--primary:hover {
    color: #f0e4aa;
    border-color: #a18d50;
}

.support-button--ghost {
    color: #adb6ba;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.08);
}

.support-button--full {
    width: 100%;
}

.support-info {
    overflow: hidden;
}

.support-info__stat {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 17px 15px;
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.support-info__stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 41px;
    width: 41px;
    height: 41px;
    color: #7ea479;
    background: rgba(89,143,86,.045);
    border: 1px solid rgba(100,151,94,.08);
    border-radius: 4px;
    font-size: 13px;
}

.support-info__stat div > span {
    display: block;
    color: #5c676d;
    font-size: 10px;
    line-height: 13px;
    text-transform: uppercase;
}

.support-info__stat strong {
    display: block;
    margin-top: 2px;
    color: #cfc47b;
    font-size: 25px;
    line-height: 29px;
}

.support-info__rules {
    padding: 15px;
}

.support-info__rules ul {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.support-info__rules li {
    position: relative;
    padding: 0 0 11px 15px;
    color: #657178;
    font-size: 11px;
    line-height: 17px;
}

.support-info__rules li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 1px;
    width: 4px;
    height: 4px;
    background: #9b8d54;
    border-radius: 50%;
}

.support-history {
    overflow: hidden;
}

.support-history__head {
    min-height: 65px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.support-history__count {
    color: #5a656b;
    font-size: 11px;
    line-height: 15px;
}

.support-ticket-list {
    padding: 8px;
}

.support-ticket-card {
    display: grid;
    grid-template-columns: 46px minmax(0,1fr) 170px;
    gap: 10px;
    align-items: center;
    min-height: 78px;
    padding: 10px 11px;
    margin-bottom: 7px;
    color: inherit !important;
    background: rgba(255,255,255,.012);
    border: 1px solid rgba(255,255,255,.045);
    border-radius: 4px;
    text-decoration: none !important;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.support-ticket-card:last-child {
    margin-bottom: 0;
}

.support-ticket-card:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,.02);
    border-color: rgba(205,188,103,.10);
}

.support-ticket-card--unread {
    background: radial-gradient(circle at 0 50%, rgba(199,179,95,.07), transparent 40%), rgba(255,255,255,.014);
    border-color: rgba(205,188,103,.13);
}

.support-ticket-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #aa9a58;
    background: rgba(198,175,82,.035);
    border: 1px solid rgba(198,175,82,.08);
    border-radius: 4px;
    font-size: 13px;
}

.support-ticket-card__content {
    min-width: 0;
}

.support-ticket-card__top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.support-ticket-card__top > small {
    color: #566168;
    font-size: 9px;
    line-height: 12px;
}

.support-ticket-card__content > strong {
    display: block;
    overflow: hidden;
    color: #bcc4c8;
    font-size: 13px;
    line-height: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-ticket-card__preview {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #626d73;
    font-size: 10px;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-ticket-card__side {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: #566168;
}

.support-ticket-card__side b {
    color: #c8b96d;
    font-size: 9px;
    line-height: 12px;
}

.support-ticket-card__side small {
    font-size: 9px;
    line-height: 12px;
}

.support-ticket-card__side > i {
    color: #716946;
    font-size: 9px;
}

.support-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 23px;
    padding: 0 7px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    font-size: 8px;
    line-height: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.support-status--waiting {
    color: #c8b96d;
    background: rgba(177,144,43,.045);
    border-color: rgba(185,154,55,.10);
}

.support-status--answered {
    color: #78a17c;
    background: rgba(74,127,76,.045);
    border-color: rgba(89,142,91,.10);
}

.support-status--closed {
    color: #737d82;
    background: rgba(110,120,126,.035);
}

.support-empty {
    padding: 36px 14px;
    color: #59656b;
    text-align: center;
}

.support-empty i {
    display: block;
    margin-bottom: 8px;
    color: #756b47;
    font-size: 19px;
}

.support-empty strong,
.support-empty span {
    display: block;
}

.support-empty strong {
    color: #858f93;
    font-size: 12px;
}

.support-empty span {
    margin-top: 4px;
    font-size: 10px;
}

.support-conversation {
    margin-bottom: 10px;
    overflow: hidden;
}

.support-conversation__head {
    min-height: 92px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.support-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 9px;
    color: #706846 !important;
    font-size: 9px;
    text-decoration: none !important;
}

.support-ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 7px;
}

.support-ticket-meta span {
    color: #5e696f;
    font-size: 9px;
    line-height: 12px;
}

.support-ticket-meta i {
    margin-right: 4px;
    color: #756b47;
}

.support-messages {
    padding: 14px 16px 2px;
}

.support-message {
    display: flex;
    gap: 10px;
    max-width: 82%;
    margin-bottom: 12px;
}

.support-message--admin {
    margin-left: auto;
    flex-direction: row-reverse;
}

.support-message__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    color: #8e8453;
    background: rgba(198,175,82,.035);
    border: 1px solid rgba(198,175,82,.08);
    border-radius: 50%;
    font-size: 10px;
}

.support-message--admin .support-message__avatar {
    color: #7fa083;
    background: rgba(75,131,81,.045);
    border-color: rgba(91,144,97,.09);
}

.support-message__body {
    min-width: 0;
    padding: 10px 12px;
    background: rgba(255,255,255,.018);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 4px;
}

.support-message--admin .support-message__body {
    background: rgba(75,131,81,.025);
    border-color: rgba(91,144,97,.07);
}

.support-message__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 6px;
}

.support-message__meta strong {
    color: #adb6ba;
    font-size: 10px;
    line-height: 13px;
}

.support-message--admin .support-message__meta strong {
    color: #8eae91;
}

.support-message__meta span {
    color: #4f5a60;
    font-size: 8px;
    line-height: 11px;
    white-space: nowrap;
}

.support-message__text {
    color: #7f8a90;
    font-size: 12px;
    line-height: 18px;
    word-break: break-word;
}

.support-reply {
    margin: 10px 16px 0;
    padding: 14px;
    background: rgba(0,0,0,.13);
    border: 1px solid rgba(255,255,255,.04);
    border-radius: 4px;
}

.support-reply textarea {
    min-height: 108px;
    background: rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 4px;
}

.support-reply__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 9px;
}

.support-close-form {
    padding: 10px 16px 15px;
    text-align: right;
}

.support-link-button {
    color: #6f797e;
    background: transparent;
    border: 0;
    font-family: inherit;
    font-size: 9px;
    cursor: pointer;
}

.support-link-button:hover {
    color: #9b7770;
}

.support-closed-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 16px 16px;
    padding: 13px;
    background: rgba(255,255,255,.012);
    border: 1px solid rgba(255,255,255,.045);
    border-radius: 4px;
}

.support-closed-note > i {
    color: #69747a;
}

.support-closed-note > div {
    flex: 1 1 auto;
}

.support-closed-note strong,
.support-closed-note span {
    display: block;
}

.support-closed-note strong {
    color: #949ea2;
    font-size: 11px;
}

.support-closed-note span {
    margin-top: 2px;
    color: #59646a;
    font-size: 9px;
}

@media (max-width: 900px) {
    .support-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .support-hero__stats {
        min-width: 0;
    }

    .support-main {
        grid-template-columns: 1fr;
    }

    .support-ticket-card {
        grid-template-columns: 42px minmax(0,1fr);
    }

    .support-ticket-card__side {
        grid-column: 2;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .support-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .support-message {
        max-width: 100%;
    }

    .support-conversation__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .support-hero__stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   V2 — SUPPORT READABILITY / FIELD ICON ALIGNMENT
   ========================================================================== */


/* --------------------------------------------------------------------------
   Topic pencil — fixed alignment
   -------------------------------------------------------------------------- */

/*
 * Старый прямой <i> больше не участвует в геометрии поля.
 * Для новой версии используем отдельную фиксированную обёртку.
 */
.support-page .support-field__control > .support-field__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 46px;

    width: 46px;
    height: 48px;

    margin: 0;
    padding: 0;

    color: #887d50;

    border-right:
        1px solid rgba(255, 255, 255, .025);

    line-height: 1;
}


.support-page .support-field__control > .support-field__icon > i {
    display: block;

    width: auto;
    height: auto;

    margin: 0 !important;
    padding: 0 !important;

    color: inherit;

    font-size: 14px;
    line-height: 1;

    text-align: center;

    vertical-align: middle;

    transform: none !important;
}


/*
 * Старое правило для прямой иконки оставляем только для Category.
 */
.support-page .support-field__control > i {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 46px;

    width: 46px;
    height: 48px;

    margin: 0;
    padding: 0;

    color: #887d50;

    font-size: 14px;
    line-height: 1;

    text-align: center;
}


/*
 * У поля темы теперь нормальный отступ после иконки.
 */
.support-page .support-field__control input {
    padding-left: 14px !important;
}


/* --------------------------------------------------------------------------
   Right "ВАЖНО" block — larger, readable typography
   -------------------------------------------------------------------------- */

.support-page .support-info__rules {
    padding:
        22px 18px
        20px;
}


.support-page .support-info__rules .support-eyebrow {
    margin-bottom: 14px;

    font-size: 14px;
    line-height: 18px;

    letter-spacing: .65px;
}


.support-page .support-info__rules ul {
    margin: 0;
}


.support-page .support-info__rules li {
    position: relative;

    padding:
        0 0
        18px 20px;

    color: #7d898f;

    font-size: 14px;
    line-height: 21px;

    font-weight: 400;
}


.support-page .support-info__rules li:last-child {
    padding-bottom: 0;
}


.support-page .support-info__rules li::before {
    top: 8px;
    left: 2px;

    width: 5px;
    height: 5px;

    background: #b09e58;

    box-shadow:
        0 0 6px rgba(176, 158, 88, .12);
}


/*
 * Немного увеличиваем внутреннее пространство правой панели,
 * чтобы крупный текст не выглядел сжатым.
 */
.support-page .support-info {
    min-height: 100%;
}


/* --------------------------------------------------------------------------
   Also make field labels a little easier to read
   -------------------------------------------------------------------------- */

.support-page .support-field > span,
.support-page .support-reply label > span {
    font-size: 12px;
    line-height: 16px;
}


/*
 * Placeholder/input text — чуть крупнее, чтобы соответствовать правой колонке.
 */
.support-page .support-field__control input,
.support-page .support-field__control select {
    font-size: 14px;
    line-height: 20px;
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 760px) {

    .support-page .support-info__rules li {
        font-size: 13px;
        line-height: 20px;
    }

}

/* ==========================================================================
   V3 — PUBLIC PRIVACY / CLEAN INFO PANEL
   ========================================================================== */

/*
 * После удаления блока "Всего обращений" правила занимают всю правую карточку.
 */
.support-page .support-info__rules {
    min-height: 100%;
    padding:
        24px 20px
        22px;
}


/*
 * Убираем возможную верхнюю границу, которая раньше разделяла stat/rules.
 */
.support-page .support-info__rules {
    border-top: 0 !important;
}


/*
 * Заголовок истории больше не обязан резервировать место под "Всего: N".
 */
.support-page .support-history__head {
    justify-content: flex-start;
}


/*
 * Имя сотрудника — единое публичное обозначение.
 */
.support-page
.support-message--admin
.support-message__meta strong {
    color: #7fa77f;
}

