/* ==========================================================================
   css/pages.css — стили страниц личного кабинета и информационных страниц
   Вынесено из <style>-блоков PHP-файлов (перенос без изменения дизайна).
   ========================================================================== */

/* ---- edit_project.php ---- */
        /* Кнопка «Назад» — отдельным блоком над шапкой */
        .edit-back { display: flex; margin-bottom: 10px; }
        .edit-back__link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 14px;
            border: 0;
            border-radius: 10px;
            background: #fff;
            box-shadow: var(--shadow-sm);
            color: var(--gray-600) !important;
            font-size: 13px;
            font-weight: 600;
            line-height: 1.2;
            text-decoration: none;
            transition: background .15s ease, color .15s ease, box-shadow .15s ease;
        }
        .edit-back__link:hover {
            background: var(--primary-light);
            color: var(--primary) !important;
            box-shadow: 0 4px 12px rgba(30, 64, 175, .12);
        }

        /* Шапка проекта: название и бейджи */
        .edit-header {
            display: flex;
            align-items: center;
            gap: 10px 12px;
            flex-wrap: wrap;
            padding: 14px 18px;
            margin-bottom: 18px;
            background: #fff;
            border: 0;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
        }
        .edit-header h2 {
            margin: 0;
            flex: 1 1 220px;
            min-width: 0;
            font-size: clamp(18px, 2.2vw, 22px);
            font-weight: 700;
            line-height: 1.25;
            color: var(--dark);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .edit-header .badge { flex-shrink: 0; }
        @media (max-width: 560px) {
            .edit-header { padding: 12px 14px; gap: 8px; }
            .edit-header h2 { flex-basis: 100%; white-space: normal; }
            .edit-back__link { padding: 7px 12px; font-size: 12.5px; }
        }
        
        .settings-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
        @media(max-width:768px){ .settings-grid{grid-template-columns:1fr;} }
        
        .region-search { position:relative; }
        .region-results {
            position:absolute; top:100%; left:0; right:0; background:#fff;
            border:1px solid var(--gray-200); border-radius:var(--radius-sm);
            max-height:200px; overflow-y:auto; z-index:50; display:none;
            box-shadow:var(--shadow-md);
        }
        .region-item { padding:10px 14px; cursor:pointer; font-size:14px; border-bottom:1px solid var(--gray-100); display:flex; justify-content:space-between; }
        .region-item:hover { background:var(--gray-50); }
        .region-item .lr { color:var(--gray-400); font-size:12px; }
        
        /* ===== НОВЫЙ БЛОК СТАТИСТИКИ (4 блока в ряд) ===== */
        .stats-row {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            gap: 12px;
            margin-bottom: 24px;
        }
        
        .stats-block {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 16px 20px;
            text-align: center;
            border: 1px solid var(--gray-100);
            min-height: 80px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        
        .stats-block__value {
            font-size: 24px;
            font-weight: 700;
            color: var(--dark);
            line-height: 1.2;
        }
        
        .stats-block__label {
            font-size: 11px;
            color: var(--gray-500);
            text-transform: uppercase;
            letter-spacing: 0.03em;
            font-weight: 600;
            margin-top: 4px;
        }
        
        /* ===== БЛОК С ПЕРЕКЛЮЧАТЕЛЕМ ===== */
        .stats-block-toggle {
            border: 2px solid var(--gray-200);
            transition: border-color 0.3s ease;
            min-height: 80px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        
        .stats-block-toggle.active {
            border-color: var(--green);
        }
        
        .stats-block-toggle.inactive {
            border-color: var(--gray-300);
        }
        
        .stats-block__toggle {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .stats-block__toggle .status-label {
            font-size: 14px;
            font-weight: 600;
            color: var(--gray-500);
            transition: color 0.3s ease;
        }
        
        .stats-block__toggle .status-label.active {
            color: var(--green);
        }
        
        .stats-block__toggle .status-label.inactive {
            color: var(--gray-400);
        }
        
        /* ===== ПЕРЕКЛЮЧАТЕЛЬ ===== */
        .toggle {
            position: relative;
            display: inline-block;
            width: 44px;
            height: 24px;
            flex-shrink: 0;
        }
        
        .toggle input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .toggle__slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gray-300);
            border-radius: 24px;
            transition: all 0.2s ease;
        }
        
        .toggle__slider::before {
            content: "";
            position: absolute;
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background: #fff;
            border-radius: 50%;
            transition: all 0.2s ease;
            box-shadow: var(--shadow-sm);
        }
        
        .toggle input:checked + .toggle__slider {
            background: var(--green);
        }
        
        .toggle input:checked + .toggle__slider::before {
            transform: translateX(20px);
        }
        
        .toggle input:disabled + .toggle__slider {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        /* ===== ГРАФИКИ ===== */
        .charts-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin-bottom: 24px;
        }
        
        .chart-card {
            background: var(--card-bg);
            border-radius: var(--radius-xl);
            padding: 20px 24px 24px;
            border: 1px solid var(--gray-100);
            position: relative;
        }
        
        .chart-card__header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 14px;
        }
        
        .chart-card__title {
            font-size: 13px;
            font-weight: 600;
            color: var(--gray-500);
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }
        
        .chart-card__value {
            font-size: 20px;
            font-weight: 700;
            color: var(--dark);
        }
        
        .chart-card__value .currency {
            font-size: 13px;
            color: var(--gray-500);
            font-weight: 400;
        }
        
        .chart-container {
            position: relative;
            width: 100%;
            margin-top: 4px;
        }
        
        .chart-container svg {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .chart-grid-lines line {
            stroke: var(--gray-100);
            stroke-width: 1;
        }
        
        .chart-area {
            fill: none;
            stroke-width: 2.5;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        
        .chart-area-fill {
            opacity: 0.15;
        }
        
        .chart-dot {
            cursor: pointer;
            transition: r 0.15s ease;
        }
        
        .chart-dot circle {
            stroke: #fff;
            stroke-width: 2.5;
        }
        
        .chart-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 6px;
            padding: 0 2px;
        }
        
        .chart-labels span {
            font-size: 9px;
            color: var(--gray-400);
            font-weight: 500;
        }
        
        .chart-tooltip {
            display: none;
            position: fixed;
            background: rgba(0,0,0,0.85);
            color: #fff;
            padding: 8px 14px;
            border-radius: var(--radius-sm);
            font-size: 12px;
            font-weight: 500;
            pointer-events: none;
            z-index: 1000;
            white-space: nowrap;
            box-shadow: var(--shadow-md);
            border: 1px solid rgba(255,255,255,0.1);
        }
        
        .chart-tooltip.visible {
            display: block;
        }
        
        .chart-tooltip strong {
            color: #fff;
        }
        
        @media (max-width: 900px) {
            .charts-grid {
                grid-template-columns: 1fr;
            }
            .stats-row {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        @media (max-width: 640px) {
            .stats-row {
                grid-template-columns: 1fr 1fr;
                gap: 8px;
            }
            .stats-block {
                padding: 12px 14px;
                min-height: 65px;
            }
            .stats-block__value {
                font-size: 18px;
            }
            .stats-block__label {
                font-size: 10px;
            }
            .stats-block__toggle .status-label {
                font-size: 12px;
            }
            .toggle {
                width: 38px;
                height: 20px;
            }
            .toggle__slider::before {
                height: 14px;
                width: 14px;
                left: 3px;
                bottom: 3px;
            }
            .toggle input:checked + .toggle__slider::before {
                transform: translateX(18px);
            }
            .chart-container {
                height: auto;
            }
            .chart-card {
                padding: 16px 16px 20px;
            }
        }
        
        /* ===== КЛЮЧЕВЫЕ СЛОВА ===== */
        .kw-table { width:100%; border-collapse:collapse; }
        .kw-table th { font-size:12px; padding:10px 14px; text-align:left; color:var(--gray-500); text-transform:uppercase; letter-spacing:.03em; border-bottom:1px solid var(--gray-200); font-weight:600; }
        .kw-table td { padding:12px 14px; border-bottom:1px solid var(--gray-100); font-size:14px; vertical-align:middle; }
        .kw-table tr:hover td { background:var(--gray-50); }
        .kw-table tr.completed { opacity:0.5; }
        
        .freq-input { width:80px; padding:8px 10px; border:1px solid var(--gray-200); border-radius:var(--radius-sm); text-align:center; font-weight:600; font-size:14px; transition:all .15s ease; }
        .freq-input:focus { border-color:var(--primary); outline:none; }
        .freq-input.saving { border-color:var(--yellow); background:#FFFDE7; }
        .freq-input.saved { border-color:var(--green); background:#F0FFF0; }
        
        .progress-mini { height:4px; background:var(--gray-100); border-radius:2px; margin-top:4px; }
        .progress-mini__fill { height:100%; background:var(--primary); border-radius:2px; transition:width .3s ease; }
        
        .form-hint { font-size:12px; color:var(--gray-500); margin-top:4px; }
        .btn-xs { padding:5px 12px; font-size:12px; border-radius:var(--radius-sm); }
        
        .radio-group { display:flex; gap:16px; padding:8px 0; }
        .radio-group label { display:flex; align-items:center; gap:8px; cursor:pointer; font-size:14px; }
        .radio-group input[type="radio"] { width:18px; height:18px; accent-color:var(--primary); }
        
        @media (max-width: 640px) {
            .kw-table thead { display: none; }
            .kw-table, .kw-table tbody, .kw-table tr, .kw-table td { display: block; width: 100%; }
            .kw-table tr { background: var(--card-bg); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 12px; margin-bottom: 8px; box-shadow: var(--shadow-sm); }
            .kw-table td { padding: 6px 0; border-bottom: none; font-size: 13px; display: flex; justify-content: space-between; align-items: center; }
            .kw-table td::before { content: attr(data-label); font-weight: 600; font-size: 11px; color: var(--gray-500); text-transform: uppercase; margin-right: 8px; flex-shrink: 0; }
            .progress-mini { display:none; }
        }

/* ---- projects.php ---- */
/* ===== ПРОЕКТЫ: НАЗВАНИЕ СВЕРХУ ===== */
        .project-card {
            display: flex !important;
            flex-direction: column !important;
            padding: 16px 24px !important;
        }

        .project-card__name {
            display: block !important;
            font-size: 18px !important;
            font-weight: 700 !important;
            padding-bottom: 12px !important;
            border-bottom: 1px solid #efefef !important;
            width: 100% !important;
            min-width: auto !important;
        }

        .project-card__row {
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            width: 100% !important;
            gap: 16px !important;
            flex-wrap: wrap !important;
        }

        .project-card__stats {
            display: flex !important;
            gap: 24px !important;
            flex: 0 1 auto !important;
        }

        .project-card__right {
            display: flex !important;
            align-items: center !important;
            gap: 16px !important;
            flex-shrink: 0 !important;
            margin-left: auto !important;
        }

        .project-card__stats2 {
            display: flex !important;
            gap: 12px !important;
            flex-shrink: 0 !important;
        }

        .project-card__stats2 .project-card__stat {
            text-align: center !important;
            min-width: 70px !important;
        }

        /* Размеры .toggle больше не переопределяем: базовые 48×26 на десктопе
           и 38×20 в мобильном медиазапросе согласованы с ползунком. */

        .project-card .badge {
            font-size: 11px !important;
            padding: 4px 12px !important;
        }

        .project-card__actions {
            display: flex !important;
            gap: 8px !important;
            flex-shrink: 0 !important;
        }

        @media (max-width: 900px) {
            .project-card__row {
                flex-direction: column !important;
                align-items: stretch !important;
            }
            .project-card__stats {
                width: 100% !important;
                justify-content: space-around !important;
            }
            .project-card__right {
                margin-left: 0 !important;
                width: 100% !important;
                justify-content: space-around !important;
                flex-wrap: wrap !important;
            }
        }

        @media (max-width: 640px) {
            .project-card {
                padding: 16px 18px !important;
            }
            .project-card__name {
                font-size: 16px !important;
            }
            .project-card__stats {
                gap: 12px !important;
            }
            .project-card__right {
                gap: 10px !important;
            }
        }

/* ---- support.php ---- */
.tip-box {
            background: linear-gradient(135deg, var(--primary-light), rgba(59,130,246,0.05));
            border: 1px solid rgba(30,64,175,0.15);
            border-radius: var(--radius); padding: 20px 24px; margin-top: 24px;
        }
        .tip-box__title { font-weight: 700; font-size: 15px; color: var(--primary); margin-bottom: 8px; }
        .tip-box p { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin: 0; }
        
        .file-upload { position:relative; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
        .file-upload input { position:absolute; opacity:0; width:0; height:0; }
        
        .upload-preview { display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
        .upload-preview .preview-item { position:relative; }
        .upload-preview img { width:56px; height:56px; object-fit:cover; border-radius:6px; border:1px solid var(--gray-200); }
        .upload-preview .remove-preview {
            position:absolute; top:-6px; right:-6px; width:18px; height:18px;
            background:var(--red); color:#fff; border-radius:50%; font-size:10px;
            display:flex; align-items:center; justify-content:center; cursor:pointer;
        }
        .attach-row { display:flex; align-items:center; gap:8px; margin-top:8px; }

/* ---- ticket.php ---- */
.chat { display:flex; flex-direction:column; gap:12px; margin-bottom:16px; max-height:calc(100vh - 350px); overflow-y:auto; padding-right:4px; }
        .msg { display:flex; gap:8px; max-width:85%; }
        .msg-user { align-self:flex-end; flex-direction:row-reverse; }
        .msg-admin { align-self:flex-start; }
        .msg__avatar { width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0; }
        .msg-user .msg__avatar { background:var(--primary-light);color:var(--primary); }
        .msg-admin .msg__avatar { background:var(--green-light);color:var(--green); }
        .msg__body { display:flex; flex-direction:column; gap:2px; min-width:0; }
        .msg__bubble { padding:10px 14px;border-radius:14px;font-size:13px;line-height:1.5;word-wrap:break-word; }
        .msg-user .msg__bubble { background:var(--primary);color:#fff;border-bottom-right-radius:4px; }
        .msg-admin .msg__bubble { background:#fff;border:1px solid var(--gray-200);border-bottom-left-radius:4px; }
        .msg__bubble img { max-width:200px;border-radius:6px;cursor:pointer;display:block;margin-top:4px; }
        .msg__footer { display:flex;align-items:center;gap:6px;margin-top:2px; }
        .msg-user .msg__footer { justify-content:flex-end; }
        .msg__time { font-size:10px;color:var(--gray-400); }
        .msg__name { font-size:11px;color:var(--gray-500);font-weight:600; }
        .msg-user .msg__name { text-align:right; }
        .btn-quote { font-size:10px;color:var(--gray-400);background:none;border:none;cursor:pointer;padding:1px 5px;border-radius:3px; }
        .btn-quote:hover { color:var(--primary);background:var(--primary-light); }
        .chat-date { text-align:center;font-size:11px;color:var(--gray-400);padding:6px 0;position:relative; }
        .chat-date::before { content:'';position:absolute;left:0;right:0;top:50%;height:1px;background:var(--gray-200);z-index:0; }
        .chat-date span { position:relative;z-index:1;background:var(--body-bg);padding:0 12px;font-weight:500; }
        
        .chat-input-area { display:flex;gap:6px;align-items:flex-end;background:#fff;padding:10px 12px;border-radius:var(--radius);border:1px solid var(--gray-200); }
        .chat-input-area textarea { flex:1;border:none;resize:none;min-height:38px;max-height:80px;font-size:13px;padding:6px 0;background:transparent;font-family:var(--font-primary); }
        .chat-input-area textarea:focus { outline:none; }
        .chat-input-area .btn-send { width:38px;height:38px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0;border:none;cursor:pointer; }
        
        .file-upload { position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer; }
        .file-upload input { position:absolute;opacity:0;width:0;height:0; }
        
        .upload-preview { display:flex;gap:4px;flex-wrap:wrap;margin-top:6px; }
        .upload-preview .preview-item { position:relative; }
        .upload-preview img { width:48px;height:48px;object-fit:cover;border-radius:4px;border:1px solid var(--gray-200); }
        .upload-preview .remove-preview { position:absolute;top:-5px;right:-5px;width:16px;height:16px;background:var(--red);color:#fff;border-radius:50%;font-size:9px;display:flex;align-items:center;justify-content:center;cursor:pointer; }
        
        .reply-to { background:var(--gray-100);padding:6px 10px;border-radius:var(--radius-sm);font-size:11px;color:var(--gray-600);margin-bottom:6px;display:flex;justify-content:space-between;align-items:center; }
        .reply-to button { color:var(--gray-400);font-size:13px;cursor:pointer;background:none;border:none; }
        
        .image-modal { display:none;position:fixed;inset:0;background:rgba(0,0,0,.9);z-index:9999;align-items:center;justify-content:center;cursor:pointer; }
        .image-modal.active { display:flex; }
        .image-modal img { max-width:90vw;max-height:90vh;border-radius:12px; }
        .image-modal .close { position:absolute;top:20px;right:30px;color:#fff;font-size:32px;cursor:pointer; }
        .msg__bubble .quote {
            background: rgba(0,0,0,0.06);
            border-left: 3px solid var(--primary);
            padding: 8px 10px;
            border-radius: 4px;
            margin-bottom: 6px;
            font-size: 12px;
            color: var(--gray-600);
        }
        .msg-user .msg__bubble .quote {
            background: rgba(255,255,255,0.2);
            border-left-color: rgba(255,255,255,0.5);
            color: rgba(255,255,255,0.9);
        }
        .msg-admin .msg__bubble .quote {
            background: rgba(0,0,0,0.04);
            border-left-color: var(--primary);
        }

/* ---- rules.php ---- */
.faq-page { max-width: 800px; }
        
        .steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; }
        .step {
            display: flex; gap: 16px; padding: 20px 0;
            border-bottom: 1px solid var(--gray-100);
        }
        .step:last-child { border-bottom: none; }
        .step__num {
            width: 40px; height: 40px; border-radius: 50%;
            background: var(--primary-light); color: var(--primary);
            display: flex; align-items: center; justify-content: center;
            font-weight: 700; font-size: 16px; flex-shrink: 0;
        }
        .step__content { flex: 1; }
        .step__title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
        .step__desc { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
        .step__hint {
            display: inline-block; margin-top: 6px; padding: 6px 12px;
            background: var(--yellow-light); color: #B45309;
            border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
        }
        
        .faq-list { display: flex; flex-direction: column; gap: 0; }
        .faq-item { border-bottom: 1px solid var(--gray-100); }
        .faq-item:last-child { border-bottom: none; }
        .faq-item__q {
            width: 100%; text-align: left; padding: 18px 0;
            font-size: 15px; font-weight: 600; color: var(--dark);
            display: flex; align-items: center; justify-content: space-between;
            transition: var(--transition);
        }
        .faq-item__q:hover { color: var(--primary); }
        .faq-item__q::after {
            content: '+'; font-size: 20px; color: var(--gray-400);
            transition: transform 0.3s ease;
        }
        .faq-item.active .faq-item__q::after { content: '−'; transform: rotate(180deg); }
        .faq-item__a {
            display: none; padding: 0 0 18px 0;
            font-size: 14px; color: var(--gray-600); line-height: 1.7;
        }
        .faq-item.active .faq-item__a { display: block; }
        
        .tip-box {
            background: linear-gradient(135deg, var(--primary-light), rgba(59,130,246,0.05));
            border: 1px solid rgba(30,64,175,0.15);
            border-radius: var(--radius); padding: 20px 24px; margin-top: 24px;
        }
        .tip-box__title { font-weight: 700; font-size: 15px; color: var(--primary); margin-bottom: 8px; }
        .tip-box p { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin: 0; }
        
        .rules-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .rules-list li {
            padding: 12px 16px;
            border-bottom: 1px solid var(--gray-100);
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-size: 14px;
            line-height: 1.6;
            color: var(--gray-700);
        }
        .rules-list li:last-child {
            border-bottom: none;
        }
        .rules-list .rule-icon {
            font-size: 18px;
            flex-shrink: 0;
            margin-top: 2px;
        }
        .rules-list .rule-icon.success { color: var(--green); }
        .rules-list .rule-icon.danger { color: var(--red); }
        .rules-list .rule-icon.warning { color: var(--yellow); }
        .rules-list .rule-icon.info { color: var(--blue); }
        
        .rules-header {
            background: linear-gradient(135deg, var(--primary), var(--primary-hover));
            color: #fff;
            padding: 30px;
            border-radius: var(--radius-xl);
            margin-bottom: 24px;
            text-align: center;
        }
        .rules-header h1 {
            color: #fff;
            margin: 0 0 8px 0;
        }
        .rules-header p {
            color: rgba(255,255,255,0.85);
            margin: 0;
            font-size: 16px;
        }

/* ---- faq.php ---- */
.faq-page { max-width: 800px; }
        
        .steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; }
        .step {
            display: flex; gap: 16px; padding: 20px 0;
            border-bottom: 1px solid var(--gray-100);
        }
        .step:last-child { border-bottom: none; }
        .step__num {
            width: 40px; height: 40px; border-radius: 50%;
            background: var(--primary-light); color: var(--primary);
            display: flex; align-items: center; justify-content: center;
            font-weight: 700; font-size: 16px; flex-shrink: 0;
        }
        .step__content { flex: 1; }
        .step__title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
        .step__desc { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
        .step__hint {
            display: inline-block; margin-top: 6px; padding: 6px 12px;
            background: var(--yellow-light); color: #B45309;
            border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
        }
        
        .faq-list { display: flex; flex-direction: column; gap: 0; }
        .faq-item { border-bottom: 1px solid var(--gray-100); }
        .faq-item:last-child { border-bottom: none; }
        .faq-item__q {
            width: 100%; text-align: left; padding: 18px 0;
            font-size: 15px; font-weight: 600; color: var(--dark);
            display: flex; align-items: center; justify-content: space-between;
            transition: var(--transition);
        }
        .faq-item__q:hover { color: var(--primary); }
        .faq-item__q::after {
            content: '+'; font-size: 20px; color: var(--gray-400);
            transition: transform 0.3s ease;
        }
        .faq-item.active .faq-item__q::after { content: '−'; transform: rotate(180deg); }
        .faq-item__a {
            display: none; padding: 0 0 18px 0;
            font-size: 14px; color: var(--gray-600); line-height: 1.7;
        }
        .faq-item.active .faq-item__a { display: block; }
        
        .tip-box {
            background: linear-gradient(135deg, var(--primary-light), rgba(59,130,246,0.05));
            border: 1px solid rgba(30,64,175,0.15);
            border-radius: var(--radius); padding: 20px 24px; margin-top: 24px;
        }
        .tip-box__title { font-weight: 700; font-size: 15px; color: var(--primary); margin-bottom: 8px; }
        .tip-box p { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin: 0; }

/* ---- privacy_policy.php ---- */
.privacy-content {
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 0 80px;
        }
        .privacy-content h1 {
            font-family: var(--font-secondary);
            font-size: clamp(35px, 3.6363636364vw, 48px);
            font-weight: 600;
            line-height: 1.2;
            margin-bottom: 15px;
        }
        .privacy-content .update-date {
            color: #9f9f9f;
            font-size: 15px;
            margin-bottom: 40px;
            font-family: var(--font-secondary);
        }
        .privacy-content h2 {
            font-family: var(--font-secondary);
            font-size: 24px;
            font-weight: 600;
            margin: 35px 0 15px;
            color: #1a1a1a;
        }
        .privacy-content p {
            font-family: var(--font-secondary);
            font-size: 16px;
            line-height: 28px;
            color: #444;
            margin-bottom: 15px;
        }
        .privacy-content ul {
            list-style: disc;
            padding-left: 25px;
            margin-bottom: 20px;
        }
        .privacy-content li {
            font-family: var(--font-secondary);
            font-size: 16px;
            line-height: 28px;
            color: #444;
            margin-bottom: 8px;
        }
        @media (max-width: 768px) {
            .privacy-content {
                padding: 30px 0 60px;
            }
            .privacy-content h1 {
                font-size: 28px;
            }
            .privacy-content h2 {
                font-size: 20px;
            }
        }

/* ==========================================================================
   Остатки inline-стилей, вынесенные в классы (динамические — остались в PHP)
   ========================================================================== */
.project-card__stat-value--dark{color:var(--dark);}
.badge--sm{font-size:11px;}
.ticket-link{display:block;margin-bottom:10px;max-width:800px;}
.ticket-card{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;transition:var(--transition);}
.ticket-card--unread{border-left:3px solid var(--red);background:#FFF5F5;}
.progress-fill{height:100%;border-radius:7px;transition:width .5s;}
.progress-fill--blue{background:linear-gradient(90deg,var(--blue),#60a5fa);}
.progress-fill--primary{background:linear-gradient(90deg,var(--primary),#3b82f6);}

/* ==========================================================================
   Мобильные правки: баланс, история платежей, карточка проекта
   ========================================================================== */
.table-responsive{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.table-responsive .table{min-width:480px;}

@media (max-width: 640px) {
    /* Баланс: ничего не выезжает за экран */
    .balance-page{max-width:100%;}
    .balance-card{padding:20px 16px;border-radius:var(--radius-lg);}
    .balance-card__amount{font-size:34px;line-height:1.15;overflow-wrap:anywhere;}
    .balance-card__sub{font-size:12px;}
    .payment-block{padding:18px 16px;border-radius:var(--radius-lg);}
    .payment-block__title{font-size:16px;margin-bottom:14px;}
    .crypto-block{padding:18px 16px;border-radius:var(--radius-lg);}
    .payment-history__title{font-size:16px;}
    .amount-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .custom-amount{display:flex;flex-direction:column;gap:6px;}
    .custom-amount .form-input{width:100%;}

    /* Карточка проекта: статус и переключатель — на всю ширину строки */
    .project-card__status{width:100%;justify-content:space-between;}
    .project-card__actions{width:100%;flex-wrap:wrap;}
    .project-card__actions .btn{flex:1 1 auto;}
}

@media (max-width: 380px) {
    .balance-card__amount{font-size:28px;}
    .amount-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
    .amount-item{padding:11px 8px;font-size:14px;}
}

/* ==========================================================================
   Вложения: одна кнопка для двух сценариев
   .btn-attach            — иконка в поле чата (тикет)
   .btn-attach--labeled   — кнопка с подписью в форме поддержки
   ========================================================================== */
.file-upload {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.file-upload input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.btn-attach {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border: none;
    border-radius: 10px;
    background: var(--gray-100);
    color: var(--gray-600);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.btn-attach:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.btn-attach svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    display: block;
}

.btn-attach--labeled {
    width: auto;
    height: 38px;
    padding: 0 14px;
    gap: 8px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}
.btn-attach--labeled svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 480px) {
    .btn-attach--labeled { padding: 0 10px; font-size: 12px; gap: 6px; }
}
.attach-row { flex-wrap: wrap; }

/* ==========================================================================
   Новости на сайте: кнопка «Читать полностью» и модальное окно
   ========================================================================== */
.news-readmore {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    background: transparent;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.news-readmore:hover { background: var(--primary); color: #fff; }

.hb-news-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(17, 24, 39, 0.55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
.hb-news-modal.active { display: flex; }
.hb-news-modal__card {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 82vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.25);
}
.hb-news-modal__title {
    margin: 0 0 12px;
    padding-right: 28px;
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}
.hb-news-modal__body {
    font-size: 14px;
    line-height: 1.65;
    color: var(--gray-700);
    overflow-wrap: anywhere;
}
.hb-news-modal__body p { margin: 0 0 10px; }
.hb-news-modal__body h2 { font-size: 17px; margin: 14px 0 8px; color: var(--dark); }
.hb-news-modal__body ul, .hb-news-modal__body ol { margin: 0 0 12px; padding-left: 20px; }
.hb-news-modal__body a { color: var(--primary); }
.hb-news-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--gray-400);
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
}
.hb-news-modal__close:hover { background: var(--gray-100); color: var(--gray-700); }
@media (max-width: 480px) {
    .hb-news-modal__card { padding: 20px 16px; }
    .hb-news-modal__title { font-size: 17px; }
}

/* Абзацы полной новости: редактор вставляет <div>, даём им отступ как у <p> */
.hb-news-modal__body div { margin: 0 0 10px; }

/* ==========================================================================
   Пагинация списка проектов
   ========================================================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 24px 0 8px;
}
.pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: #fff;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.pagination__btn:hover { border-color: var(--primary); color: var(--primary); }
.pagination__btn--active,
.pagination__btn--active:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.pagination__btn--disabled { opacity: .45; pointer-events: none; }
.pagination__dots { color: var(--gray-400); padding: 0 2px; }
.pagination__info {
    width: 100%;
    margin-top: 6px;
    text-align: center;
    font-size: 12px;
    color: var(--gray-500);
}

/* ==========================================================================
   Оверлей загрузки (добавление ключей из Вордстата)
   ========================================================================== */
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 24, 39, 0.55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
.loading-overlay.active { display: flex; }
.loading-overlay__box {
    width: 100%;
    max-width: 340px;
    padding: 26px 28px;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.25);
}
.loading-overlay__spinner {
    width: 38px;
    height: 38px;
    margin: 0 auto 14px;
    border: 3px solid var(--gray-100);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: hbSpin .8s linear infinite;
}
@keyframes hbSpin { to { transform: rotate(360deg); } }
.loading-overlay__title { margin-bottom: 6px; font-size: 15px; font-weight: 700; color: var(--dark); }
.loading-overlay__text { font-size: 12.5px; line-height: 1.45; color: var(--gray-500); }

/* Стоимость продвижения ключа в таблице */
.kw-cost {
    margin-top: 3px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--gray-600);
    white-space: nowrap;
}

/* Компактное поле частоты и плашка со стоимостью ключа */
.kw-table .freq-input { width: 72px; padding: 5px 8px; font-size: 13px; }

.kw-cost {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 8px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}
.kw-cost__value { line-height: 1; }
.kw-cost__help {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-600);
    font-size: 10px;
    font-weight: 700;
    cursor: help;
    flex-shrink: 0;
}
.kw-cost__tip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 210px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #0F172A;
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: opacity .12s ease;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .25);
    z-index: 30;
}
.kw-cost__help:hover .kw-cost__tip,
.kw-cost__help:focus .kw-cost__tip { opacity: 1; visibility: visible; }

@media (max-width: 560px) {
    .kw-cost__tip { left: auto; right: 0; transform: none; }
}

/* Одинаковая высота поля частоты и плашки со суммой */
.kw-table .freq-input { height: 32px; padding: 0 8px; }
.kw-cost { height: 32px; padding: 0 8px; margin-top: 6px; }

/* ==========================================================================
   Поддержка: список обращений и форма
   ========================================================================== */
.support-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.support-head__title {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
}
.support-head__sub { margin: 4px 0 0; font-size: 13px; color: var(--gray-500); }
.support-head__stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}
.support-head__value { font-size: 22px; font-weight: 700; color: var(--primary); }
.support-head__label { font-size: 12px; color: var(--gray-500); }

.support-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 18px;
    align-items: start;
}
.support-panel {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}
.support-panel__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.support-panel__title { margin: 0; font-size: 15px; font-weight: 700; color: var(--dark); }
.support-panel__count {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 11px;
    font-weight: 700;
}

.support-tickets { display: flex; flex-direction: column; gap: 8px; }
.support-ticket {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.support-ticket:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 18px rgba(30, 64, 175, .08);
}
.support-ticket--unread { border-left: 3px solid var(--primary); background: rgba(30, 64, 175, .03); }
.support-ticket__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--gray-50);
    font-size: 16px;
    flex-shrink: 0;
}
.support-ticket__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.support-ticket__subject {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.support-ticket__meta { font-size: 12px; color: var(--gray-500); }
.support-ticket__side { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.support-ticket__new {
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.support-empty {
    padding: 28px 16px;
    text-align: center;
    border: 1px dashed var(--gray-200);
    border-radius: 12px;
    background: var(--gray-50);
}
.support-empty__icon { font-size: 26px; margin-bottom: 6px; }
.support-empty__title { font-size: 14px; font-weight: 700; color: var(--dark); }
.support-empty__text { margin: 4px 0 0; font-size: 12.5px; color: var(--gray-500); }

.support-form .form-group { margin-bottom: 12px; }
.support-form__hint { font-size: 11.5px; color: var(--gray-400); }
.support-form__submit { width: 100%; margin-top: 6px; }

.support-hours {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
    font-size: 12.5px;
    color: var(--gray-600);
}
.support-hours__title { margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--dark); }
.support-hours p { margin: 0 0 6px; line-height: 1.5; }
.support-hours__note { color: var(--gray-500); font-size: 11.5px; }

@media (max-width: 900px) {
    .support-grid { grid-template-columns: 1fr; }
    .support-panel--form { order: -1; }
}
@media (max-width: 560px) {
    .support-head__title { font-size: 22px; }
    .support-head__stat { display: none; }
    .support-ticket__side .badge { display: none; }
}

/* Иконки статуса обращения */
.support-ticket__icon { width: 36px; height: 36px; border-radius: 10px; }
.support-ticket__icon svg { width: 18px; height: 18px; }
.support-ticket--open .support-ticket__icon { background: rgba(30, 64, 175, .08); color: var(--primary); }
.support-ticket--closed .support-ticket__icon { background: rgba(34, 197, 94, .12); color: #16A34A; }

@media (max-width: 900px) {
    .support-panel--form { order: 0; }
}

/* ==========================================================================
   Проекты: плитки
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 14px;
    margin-bottom: 8px;
}
.project-tile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.project-tile:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 26px rgba(30, 64, 175, .08);
    transform: translateY(-1px);
}
.project-tile--inactive { opacity: .8; }
.project-tile__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project-tile__title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.project-tile__title:hover { color: var(--primary); }
.project-tile__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.project-tile--inactive .project-tile__dot { background: var(--gray-300); }

.project-tile__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.project-tile__tag {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 11px;
    font-weight: 600;
}
.project-tile__tag--accent { background: rgba(30, 64, 175, .08); border-color: rgba(30, 64, 175, .18); color: var(--primary); }
.project-tile__state {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--gray-400);
}
.project-tile--active .project-tile__state { color: #16A34A; }

.project-tile__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.project-tile__stat { display: flex; flex-direction: column; gap: 2px; }
.project-tile__value { font-size: 15px; font-weight: 700; color: var(--dark); }
.project-tile__label { font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--gray-500); }

.project-tile__progress { display: flex; flex-direction: column; gap: 6px; }
.project-tile__progress-head { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--gray-500); }
.project-tile__bar { height: 6px; border-radius: 3px; background: var(--gray-100); overflow: hidden; }
.project-tile__bar span { display: block; height: 100%; border-radius: 3px; background: var(--primary); transition: width .3s ease; }
.project-tile--inactive .project-tile__bar span { background: var(--gray-400); }

.project-tile__foot { display: flex; gap: 8px; margin-top: auto; }
.project-tile__foot .btn { flex: 1; }

@media (max-width: 560px) {
    .projects-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Проекты: одна строка — один проект
   ========================================================================== */
.projects-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }

.project-row {
    display: grid;
    grid-template-columns: minmax(240px, 1.6fr) minmax(260px, 1fr) minmax(150px, .7fr) auto;
    align-items: center;
    gap: 20px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.project-row:hover { border-color: var(--primary); box-shadow: 0 8px 22px rgba(30, 64, 175, .07); }
.project-row--inactive { opacity: .78; }

.project-row__info { min-width: 0; }
.project-row__title-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.project-row__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.project-row--inactive .project-row__dot { background: var(--gray-300); }
.project-row__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.project-row__title:hover { color: var(--primary); }
.project-row__state {
    margin-left: auto;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--gray-400);
    white-space: nowrap;
}
.project-row--active .project-row__state { color: #16A34A; }
.project-row__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }

.project-row__stats { display: flex; gap: 24px; }
.project-row__stat { display: flex; flex-direction: column; gap: 2px; }
.project-row__value { font-size: 14px; font-weight: 700; color: var(--dark); }
.project-row__label { font-size: 10px; letter-spacing: .03em; text-transform: uppercase; color: var(--gray-500); }

.project-row__progress { display: flex; flex-direction: column; gap: 5px; }
.project-row__progress-head { display: flex; justify-content: space-between; font-size: 11px; color: var(--gray-500); }
.project-row__bar { height: 5px; border-radius: 3px; background: var(--gray-100); overflow: hidden; }
.project-row__bar span { display: block; height: 100%; border-radius: 3px; background: var(--primary); }
.project-row--inactive .project-row__bar span { background: var(--gray-400); }

.project-row__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

@media (max-width: 1024px) {
    .project-row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "info info"
            "stats actions"
            "progress progress";
        row-gap: 12px;
    }
    .project-row__info { grid-area: info; }
    .project-row__stats { grid-area: stats; }
    .project-row__progress { grid-area: progress; }
    .project-row__actions { grid-area: actions; align-self: center; }
}

@media (max-width: 640px) {
    .project-row { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
    .project-row__stats { justify-content: space-between; gap: 12px; }
    .project-row__actions { justify-content: space-between; }
    .project-row__actions .btn { flex: 1; }
    .project-row__state { margin-left: 0; }
    .project-row__title-row { flex-wrap: wrap; }
}

/* Статус отправки обращения */
.support-form__status { display: none; margin-top: 10px; font-size: 13px; line-height: 1.45; }
.support-form__status--ok,
.support-form__status--error { display: block; }
.support-form__status--ok { color: #15803D; }
.support-form__status--error { color: #B91C1C; }
