/* ============================================
   ИИ-Экспресс Аудит сайтов (174web)
   ============================================ */

* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* === КОНТЕЙНЕР === */
.ws-audit-container {
    width: 100%;
    max-width: 750px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* === ШАПКА === */
.ws-audit-header {
    text-align: center;
}

.ws-audit-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0EBED5;
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ws-audit-badge i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.ws-audit-header h1 {
    font-size: 28px;
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.ws-audit-header p {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* === КАРТОЧКА === */
.ws-audit-card {
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e1e8ed;
    overflow: hidden;
}

.ws-audit-card-header {
    background: #2c3e50;
    color: white;
    padding: 20px 25px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ws-audit-card-header i {
    color: #0EBED5;
    font-size: 20px;
}

.ws-audit-body {
    padding: 30px;
}

/* === ФОРМА === */
.ws-audit-form-group {
    display: flex;
    gap: 12px;
    width: 100%;
}

.ws-audit-input {
    flex: 1;
    padding: 14px 22px;
    border: 2px solid #e1e8ed;
    border-radius: 30px;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.ws-audit-input:focus {
    border-color: #0EBED5;
    background: white;
}

.ws-audit-input::placeholder {
    color: #999;
}

.ws-audit-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    background: #0EBED5;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-family: inherit;
    white-space: nowrap;
}

.ws-audit-btn:hover {
}

.ws-audit-btn:active {
}

.ws-audit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* === ПРОГРЕСС-БАР === */
.ws-audit-progress {
    display: none;
    padding: 30px 0 10px 0;
}

.ws-audit-progress.visible {
    display: block;
}

.ws-progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
}

.ws-progress-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: var(--inset, 10%);
    right: var(--inset, 10%);
    height: 3px;
    background: #e1e8ed;
    z-index: 0;
}

.ws-progress-line {
    position: absolute;
    top: 18px;
    left: var(--inset, 10%);
    height: 3px;
    background: #0EBED5;
    z-index: 1;
    transition: width 0.5s ease;
    width: 0%;
}

.ws-progress-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.ws-progress-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e1e8ed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    transition: all 0.4s ease;
}

.ws-progress-step.active .ws-progress-icon {
    border-color: #0EBED5;
    color: #0EBED5;
}

.ws-progress-step.done .ws-progress-icon {
    background: #0EBED5;
    border-color: #0EBED5;
    color: white;
}


.ws-progress-label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s;
}

.ws-progress-step.active .ws-progress-label,
.ws-progress-step.done .ws-progress-label {
    color: #2c3e50;
    font-weight: 600;
}

.ws-progress-status {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    min-height: 20px;
}

/* === ОШИБКА === */
.ws-audit-error {
    display: none;
    background: #fdf2f2;
    border: 1px solid #fde8e8;
    color: #d63384;
    padding: 18px 20px;
    border-radius: 14px;
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.5;
    align-items: flex-start;
    gap: 12px;
}

.ws-audit-error i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ws-audit-error.visible {
    display: flex;
}

/* === РЕЗУЛЬТАТ === */
.ws-audit-result-box {
    display: none;
    margin-top: 30px;
    border-top: 2px solid #f0f0f0;
    padding-top: 25px;
}

.ws-audit-result-box.visible {
    display: block;
}

.ws-audit-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.ws-audit-result-title {
    font-weight: 700;
    font-size: 16px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.ws-audit-result-title i {
    color: #0EBED5;
}

.ws-audit-result-url {
    font-size: 12px;
    color: #999;
    background: #f4f6f8;
    padding: 4px 12px;
    border-radius: 20px;
    word-break: break-all;
}

.ws-audit-result-content {
    background: #fafbfc;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 24px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #333;
    max-height: 500px;
    overflow-y: auto;
}

.ws-audit-result-content h2,
.ws-audit-result-content h3,
.ws-audit-result-content h4 {
    color: #2c3e50;
    margin: 20px 0 10px 0;
    font-weight: 700;
}

.ws-audit-result-content h2 {
    font-size: 19px;
}

.ws-audit-result-content h3 {
    font-size: 17px;
}

.ws-audit-result-content h4 {
    font-size: 15px;
    color: #0EBED5;
}

.ws-audit-result-content p {
    margin: 10px 0;
}

.ws-audit-result-content ul {
    padding-left: 22px;
    margin: 12px 0;
}

.ws-audit-result-content ul li {
    margin: 8px 0;
    line-height: 1.6;
}

.ws-audit-result-content ul li::marker {
    color: #0EBED5;
    font-size: 14px;
}

.ws-audit-result-content strong,
.ws-audit-result-content b {
    color: #2c3e50;
    font-weight: 700;
}

.ws-audit-result-content em {
    color: #666;
    font-style: italic;
}

/* Скроллбар */
.ws-audit-result-content::-webkit-scrollbar {
    width: 6px;
}

.ws-audit-result-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.ws-audit-result-content::-webkit-scrollbar-thumb {
    background: #0EBED5;
    border-radius: 10px;
}

/* === КНОПКИ ДЕЙСТВИЙ === */
.ws-audit-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.ws-audit-action-btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 11px 22px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.ws-audit-action-btn:hover {
    background: #1a252f;
}

.ws-audit-action-btn.secondary {
    background: #f4f6f8;
    color: #2c3e50;
    border: 1px solid #e1e8ed;
}

.ws-audit-action-btn.secondary:hover {
    background: #e8eef3;
}

.ws-audit-action-btn.success {
    background: #10b981;
}

.ws-audit-action-btn.success:hover {
    background: #059669;
}

/* === ИСТОРИЯ === */
.ws-audit-history {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e1e8ed;
}

.ws-audit-history-title {
    font-size: 13px;
    color: #999;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ws-audit-history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ws-history-item {
    background: #f4f6f8;
    border: 1px solid #e1e8ed;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ws-history-item:hover {
    background: #0EBED5;
    color: white;
    border-color: #0EBED5;
}

.ws-history-item i {
    font-size: 10px;
    opacity: 0.6;
}

/* === ПОДВАЛ === */
.ws-audit-footer {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

.ws-audit-footer a {
    color: #0EBED5;
    text-decoration: none;
    font-weight: 600;
}

.ws-audit-footer a:hover {
    text-decoration: underline;
}

/* === TOAST === */
.ws-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #2c3e50;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.ws-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.ws-toast i {
    color: #0EBED5;
}

/* === АДАПТИВ === */
@media (max-width: 768px) {
    .ws-audit-container {
        padding: 20px 15px;
    }

    .ws-audit-header h1 {
        font-size: 22px;
    }

    .ws-audit-form-group {
        flex-direction: column;
    }

    .ws-audit-btn {
        justify-content: center;
    }

    .ws-audit-body {
        padding: 20px;
    }

    .ws-audit-result-content {
        padding: 18px;
        font-size: 14px;
    }

    .ws-audit-actions {
        flex-direction: column;
    }

    .ws-audit-action-btn {
        justify-content: center;
    }

    .ws-progress-label {
        font-size: 10px;
    }

    .ws-progress-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}
/* ============================================
   v3: оценка, проблемы, показатели, заявка
   ============================================ */

.ws-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.ws-audit-input:focus-visible,
.ws-audit-btn:focus-visible,
.ws-audit-action-btn:focus-visible,
.ws-history-item:focus-visible,
.ws-metrics summary:focus-visible,
.ws-lead input:focus-visible,
.ws-lead textarea:focus-visible {
    outline: 3px solid #2c3e50;
    outline-offset: 2px;
}

button.ws-history-item {
    font-family: inherit;
}

/* --- Оценка --- */
.ws-score {
    --score-color: #D64545;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 20px 24px;
    border-radius: 16px;
    background: #f4f8fa;
    margin-bottom: 18px;
}

.ws-score-good { --score-color: #1E9E6A; }
.ws-score-mid  { --score-color: #D98200; }
.ws-score-bad  { --score-color: #D64545; }

.ws-score-num {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    color: var(--score-color);
    font-variant-numeric: tabular-nums;
    letter-spacing: -2px;
    min-width: 128px;
}

.ws-score-num small {
    font-size: 17px;
    font-weight: 600;
    color: #8a97a3;
    letter-spacing: 0;
    margin-left: 2px;
}

.ws-score-grade {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.ws-score-counts {
    font-size: 13px;
    color: #5b6b79;
    margin-top: 4px;
    white-space: pre-wrap;
}

/* --- Проблемы --- */
.ws-findings {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.ws-finding {
    border-left: 4px solid #D98200;
    background: #fafbfc;
    border-radius: 0 10px 10px 0;
    padding: 11px 16px;
}

.ws-finding-critical { border-left-color: #D64545; }
.ws-finding-warning  { border-left-color: #D98200; }

.ws-finding-tag {
    font-size: 11.5px;
    font-weight: 600;
    color: #D98200;
}

.ws-finding-critical .ws-finding-tag { color: #D64545; }

.ws-finding-title {
    font-weight: 700;
    color: #2c3e50;
    font-size: 14.5px;
}

.ws-finding-text {
    font-size: 13.5px;
    color: #5b6b79;
    line-height: 1.5;
    margin-top: 2px;
}

.ws-finding-okline {
    display: flex;
    gap: 8px;
    align-items: baseline;
    font-size: 13px;
    color: #5b6b79;
    padding: 6px 2px 0;
}

.ws-finding-okline i { color: #1E9E6A; }

/* --- Таблица показателей --- */
.ws-metrics {
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    margin-bottom: 22px;
    background: #fff;
}

.ws-metrics summary {
    cursor: pointer;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
}

.ws-metrics table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.ws-metrics td {
    padding: 8px 16px;
    border-top: 1px solid #eef2f5;
    color: #5b6b79;
}

.ws-metrics .ws-m-val { color: #2c3e50; font-weight: 600; }
.ws-metrics .ws-m-status { text-align: right; font-size: 12px; white-space: nowrap; }
.ws-m-ok { color: #1E9E6A !important; }
.ws-m-warning { color: #D98200 !important; }
.ws-m-critical { color: #D64545 !important; }

.ws-expert-title {
    font-weight: 700;
    font-size: 15px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.ws-audit-result-content ol {
    padding-left: 22px;
    margin: 12px 0;
}

.ws-audit-result-content ol li { margin: 8px 0; }

/* --- Кнопка PDF --- */
#ws-audit-pdf {
    background: #0EBED5;
}

#ws-audit-pdf:hover {
}

/* --- Форма заявки --- */
.ws-lead {
    display: none;
    margin-top: 22px;
    padding: 22px;
    border-radius: 16px;
    border: 2px solid #0EBED5;
    background: #f5fcfd;
}

.ws-lead.visible { display: block; }

.ws-lead-title {
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
}

.ws-lead-text {
    font-size: 13.5px;
    color: #5b6b79;
    margin: 6px 0 16px;
    line-height: 1.5;
}

.ws-lead-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ws-lead-grid label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: #2c3e50;
}

.ws-lead-wide { grid-column: 1 / -1; }

.ws-optional { font-weight: 400; color: #8a97a3; }

.ws-lead input[type="text"],
.ws-lead input[type="tel"],
.ws-lead input[type="email"],
.ws-lead textarea {
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    padding: 11px 14px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    background: #fff;
    resize: vertical;
    transition: border-color 0.2s;
}

.ws-lead input:focus,
.ws-lead textarea:focus {
    border-color: #0EBED5;
    outline: none;
}

.ws-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ws-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12.5px;
    color: #5b6b79;
    margin: 16px 0 6px;
    line-height: 1.45;
    cursor: pointer;
}

.ws-consent input {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #0EBED5;
    flex-shrink: 0;
}

.ws-consent a { color: #0DA8C0; }

.ws-lead-error {
    color: #D64545;
    font-size: 13px;
    min-height: 18px;
    margin-bottom: 8px;
}

.ws-lead-submit { margin-top: 2px; }

.ws-lead-done {
    display: none;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #eefaf4;
    color: #1d6b4b;
    font-size: 14px;
    gap: 10px;
    align-items: baseline;
}

.ws-lead-done.visible { display: flex; }
.ws-lead-done i { color: #1E9E6A; }
.ws-lead-done a { color: #1d6b4b; font-weight: 600; }

@media (max-width: 768px) {
    .ws-score { gap: 14px; padding: 16px 18px; }
    .ws-score-num { font-size: 42px; min-width: 104px; }
    .ws-lead-grid { grid-template-columns: 1fr; }
    .ws-lead { padding: 18px; }
    .ws-metrics td { padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}


/* ============================================
   v4: уровни, конкурент, PageSpeed, сравнение
   ============================================ */
.ws-levels {
    border: 0;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.ws-levels legend {
    font-size: 13px;
    font-weight: 600;
    color: #5b6b79;
    margin-bottom: 8px;
    padding: 0;
}
.ws-level { position: relative; cursor: pointer; display: block; }
.ws-level input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ws-level-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 12px 14px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    background: #fff;
    transition: border-color .2s, background .2s;
}
.ws-level:hover .ws-level-body { border-color: #b7e6ee; }
.ws-level input:checked + .ws-level-body {
    border-color: #0EBED5;
    background: #f1fbfd;
}
.ws-level input:focus-visible + .ws-level-body { outline: 3px solid #2c3e50; outline-offset: 2px; }
.ws-level-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ws-level-head b { color: #2c3e50; font-size: 15px; }
.ws-level-head small { color: #0DA8C0; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ws-level-desc { font-size: 12.5px; color: #5b6b79; line-height: 1.45; }

.ws-competitor { margin-top: 14px; }
.ws-link-btn {
    background: none;
    border: 0;
    padding: 4px 0;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #0DA8C0;
    cursor: pointer;
}
.ws-link-btn:hover { text-decoration: underline; }
.ws-link-btn:focus-visible { outline: 2px solid #2c3e50; outline-offset: 2px; border-radius: 4px; }
.ws-comp-field { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.ws-comp-field[hidden], .ws-audit-history[hidden] { display: none; }
.ws-comp-field label { font-size: 13px; color: #5b6b79; }
.ws-comp-field .ws-audit-input { width: 100%; }

.ws-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 24px 0 12px;
}
.ws-finding-tag { display: flex; gap: 10px; flex-wrap: wrap; }
.ws-finding-cat { color: #8a97a3; font-weight: 500; }
.ws-info i { color: #6b7a88 !important; }
.ws-muted { color: #6b7a88; font-size: 13.5px; }

.ws-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: middle; }
.ws-dot-ok { background: #1E9E6A; }
.ws-dot-warning { background: #D98200; }
.ws-dot-critical { background: #D64545; }
.ws-dot-info { background: #8a97a3; }
.ws-m-info { color: #6b7a88 !important; }
#ws-metrics-body tr.ws-m-cat td {
    background: #f3f8fa;
    color: #2c3e50;
    font-weight: 700;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.ws-psi { display: flex; gap: 20px; align-items: flex-start; }
.ws-psi-table, .ws-compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ws-psi-table th, .ws-compare-table th {
    text-align: left;
    font-weight: 500;
    color: #6b7a88;
    font-size: 12.5px;
    padding: 8px 10px;
    border-bottom: 2px solid #e1e8ed;
}
.ws-psi-table td, .ws-compare-table td { padding: 8px 10px; border-bottom: 1px solid #eef2f5; color: #2c3e50; }
.ws-psi-score { font-size: 16px; }
.ws-psi-ok { color: #1E9E6A; }
.ws-psi-warning { color: #D98200; }
.ws-psi-critical { color: #D64545; }
.ws-phone { margin: 0; flex: 0 0 150px; text-align: center; }
.ws-phone img {
    width: 150px;
    display: block;
    border: 6px solid #2c3e50;
    border-radius: 18px;
}
.ws-phone figcaption { font-size: 12px; color: #8a97a3; margin-top: 6px; }
.ws-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ws-compare-table { min-width: 460px; }
.ws-compare-score td { font-weight: 700; font-size: 15px; }

/* Встраиваемый режим (виджет) */
body.is-embed { background: #fff; min-height: 0; }
body.is-embed .ws-audit-container { padding: 16px 14px; gap: 14px; max-width: none; }
body.is-embed .ws-audit-header h1 { font-size: 24px; margin: 0 0 6px; }
body.is-embed .ws-audit-header p { font-size: 14px; margin: 0; }
body.is-embed .ws-audit-card { box-shadow: none; border: 1px solid #e1e8ed; }

@media (max-width: 640px) {
    .ws-levels { grid-template-columns: 1fr; }
    .ws-psi { flex-direction: column; align-items: center; }
    .ws-phone { flex-basis: auto; }
    .ws-progress-label { font-size: 10.5px; }
}

/* ============================================
   Режим воронки
   ============================================ */
.ws-funnel-steps {
    list-style: none;
    counter-reset: fs;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.ws-funnel-steps li {
    counter-increment: fs;
    position: relative;
    padding: 12px 14px 12px 46px;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12.5px;
    color: #5b6b79;
    line-height: 1.4;
}
.ws-funnel-steps li::before {
    content: counter(fs);
    position: absolute;
    left: 12px;
    top: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0EBED5;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ws-funnel-steps li:nth-child(3)::before { background: #2c3e50; }
.ws-funnel-steps b { color: #2c3e50; font-size: 14px; }

.ws-lock {
    display: flex;
    gap: 16px;
    margin: 22px 0;
    padding: 20px 22px;
    border-radius: 14px;
    background: #f1fbfd;
    border: 1px solid #b7e6ee;
}
.ws-lock-icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 50%;
    background: #0EBED5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.ws-lock-title { font-weight: 700; font-size: 16px; color: #2c3e50; }
.ws-lock-text { margin: 6px 0 0; font-size: 14px; color: #3d4c59; line-height: 1.5; }
.ws-lock-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ws-chip {
    background: #fff;
    border: 1px solid #cdeaf0;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    color: #2c3e50;
}
.ws-lock-btn { margin-top: 14px; }

@media (max-width: 640px) {
    .ws-funnel-steps { grid-template-columns: 1fr; }
    .ws-lock { flex-direction: column; padding: 16px; }
}


/* ============================================
   Flat: без теней и градиентов
   ============================================ */
.ws-audit-card { border: 1px solid #e1e8ed; }
.ws-audit-input:focus { border-color: #0EBED5; outline: none; }
.ws-audit-input:focus-visible { outline: 2px solid #0EBED5; outline-offset: 1px; }
.ws-audit-btn:hover:not(:disabled), #ws-audit-pdf:hover { background: #0DA8C0; }
.ws-progress-step.active .ws-progress-icon { background: #e6f8fb; }
.ws-phone img { border-width: 5px; }
.ws-toast { border: 1px solid rgba(255, 255, 255, .15); }
.ws-score-note { margin-top: 6px; font-size: 12.5px; color: #5b6b79; line-height: 1.45; }
.ws-score-note[hidden] { display: none; }
.ws-compare-brief { font-size: 14px; color: #3d4c59; margin: 0 0 16px; }

/* ============================================
   Концепция нового дизайна
   ============================================ */
.ws-redesign-promo {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 22px;
    border: 1px solid #b7e6ee;
    border-radius: 14px;
    background: #f1fbfd;
}
.ws-redesign-promo-icon {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: #2c3e50;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.ws-redesign-promo-title { font-weight: 700; font-size: 16px; color: #2c3e50; }
.ws-redesign-promo p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: #3d4c59; }
.ws-consent-accent { background: #f1fbfd; border: 1px solid #b7e6ee; border-radius: 10px; padding: 10px 12px; }
.ws-consent-accent span { color: #2c3e50; font-weight: 600; }
.ws-redesign-wishes { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #5b6b79; margin: 4px 0 8px; }
.ws-redesign-wishes[hidden] { display: none; }
.ws-redesign-wishes textarea {
    font: inherit;
    font-size: 14px;
    padding: 10px 12px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    resize: vertical;
}
.ws-redesign-wishes textarea:focus { border-color: #0EBED5; outline: none; }
.ws-lock-redesign { font-weight: 600; color: #2c3e50; }
body.is-embed .ws-redesign-promo { padding: 14px 16px; }
@media (max-width: 640px) { .ws-redesign-promo { flex-direction: column; } }
