/*
 * Audit page styles
 * Extracted from audit.php to keep the template cleaner.
 * Functional behavior is unchanged.
 */


/* ===============================
   Audit page UI
   =============================== */

.audit-page { min-height: 100vh; padding: 48px 20px; background: var(--bg, #f8fbfc); }
        .audit-container { max-width: 1120px; margin: 0 auto; }
        .audit-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; margin-top: 30px; }
        .audit-card { background: #fff; border-radius: 28px; padding: 28px; box-shadow: 0 20px 60px rgba(27,36,48,.08); border: 1px solid rgba(27,36,48,.08); }
        .audit-title { font-size: clamp(34px, 5vw, 72px); line-height: .95; margin: 18px 0; letter-spacing: -2px; color: var(--dark, #1b2430); }
        .audit-subtitle { font-size: 18px; line-height: 1.7; color: rgba(27,36,48,.78); max-width: 720px; }
        .audit-form { display: flex; gap: 12px; margin-top: 24px; }
        .audit-form input { flex: 1; border: 1px solid rgba(27,36,48,.15); border-radius: 16px; padding: 17px 18px; font-size: 16px; outline: none; }
        .audit-form button { border: 0; border-radius: 16px; padding: 17px 24px; font-weight: 800; cursor: pointer; background: var(--primary, #00c497); color: #fff; }
        .audit-form button[disabled] { opacity: .6; cursor: wait; }
        .audit-note { font-size: 13px; color: rgba(27,36,48,.62); margin-top: 12px; }
        .audit-preview-list { display: grid; gap: 10px; }
        .audit-preview-item { min-height: 58px; display: flex; align-items: center; padding: 13px 16px; background: rgba(0,196,151,.08); border: 1px solid rgba(0,196,151,.10); border-radius: 16px; font-weight: 700; color: #1b2430; }
        .audit-preview-seo { background: linear-gradient(135deg, rgba(0,196,151,.13), rgba(0,196,151,.06)); border: 1px solid rgba(0,196,151,.34); box-shadow: 0 10px 28px rgba(0,196,151,.10); }
        .audit-preview-main { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
        .seo-updated-badge { display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid rgba(0,196,151,.34); color: #067a5d; font-size: 11px; font-weight: 900; line-height: 1; white-space: nowrap; box-shadow: 0 6px 16px rgba(27,36,48,.06); }
        .audit-results { display: none; margin-top: 32px; }
        .audit-results.active { display: block; }
        .score-wrap { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
        .score-circle { width: 126px; height: 126px; border-radius: 50%; display: grid; place-items: center; background: #f1f5f7; border: 10px solid #00c497; font-size: 34px; font-weight: 900; color: #1b2430; }
        .score-circle.warn { border-color: #ffd166; }
        .score-circle.bad { border-color: #ff4f8b; }
        .result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
        .mini-stat { background: #fff; border: 1px solid rgba(27,36,48,.08); border-radius: 18px; padding: 18px; }
        .mini-stat span { display: block; font-size: 13px; color: rgba(27,36,48,.62); margin-bottom: 6px; }
        .mini-stat strong { font-size: 18px; color: #1b2430; }
        .issue-list { display: grid; gap: 12px; margin-top: 18px; }
        .issue { padding: 16px; border-radius: 18px; background: #fff; border-left: 5px solid #ffd166; box-shadow: 0 10px 30px rgba(27,36,48,.05); }
        .issue.high { border-left-color: #ff4f8b; }
        .issue.low { border-left-color: #00c497; }
        .issue h4 { margin: 0 0 6px; color: #1b2430; }
        .issue p { margin: 0; color: rgba(27,36,48,.68); line-height: 1.55; }
        .pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
        .pill { padding: 8px 10px; border-radius: 999px; background: rgba(27,36,48,.06); font-size: 13px; }

        .cache-cdn-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:14px; }
        .cache-cdn-card { border:1px solid rgba(27,36,48,.08); border-radius:16px; padding:14px; background:rgba(27,36,48,.025); min-width:0; }
        .cache-cdn-card span { display:block; font-size:12px; color:rgba(27,36,48,.62); margin-bottom:6px; }
        .cache-cdn-card strong { display:block; font-size:18px; color:#1b2430; overflow-wrap:anywhere; }
        @media (max-width: 900px) { .cache-cdn-summary { grid-template-columns:repeat(2,minmax(0,1fr)); } }
        @media (max-width: 640px) { .cache-cdn-summary { grid-template-columns:1fr; } }
        .broken-link-table td:nth-child(1), .broken-link-table td:nth-child(2) { overflow-wrap:anywhere; }
        .broken-links-list { display:grid; gap:12px; margin-top:14px; }
        .broken-link-card { border:1px solid rgba(27,36,48,.08); border-radius:18px; padding:16px; background:#fff; box-shadow:0 10px 24px rgba(27,36,48,.045); min-width:0; }
        .broken-link-card.is-broken { border-left:5px solid #ff4f8b; }
        .broken-link-card.is-redirect { border-left:5px solid #ffd166; }
        .broken-link-card.is-warning { border-left:5px solid #ffd166; }
        .broken-link-card.is-ok { border-left:5px solid #00c497; }
        .broken-link-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
        .broken-link-badges { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
        .broken-link-badge { display:inline-flex; align-items:center; justify-content:center; padding:5px 9px; border-radius:999px; font-size:11px; font-weight:900; line-height:1; background:rgba(27,36,48,.06); color:#1b2430; }
        .broken-link-badge.status-bad { background:rgba(255,79,139,.12); color:#9e1b47; }
        .broken-link-badge.status-warn { background:rgba(255,209,102,.22); color:#8a5b00; }
        .broken-link-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
        .broken-link-field { min-width:0; padding:12px; border-radius:14px; background:rgba(27,36,48,.035); }
        .broken-link-field span { display:block; font-size:11px; text-transform:uppercase; letter-spacing:.02em; color:rgba(27,36,48,.58); margin-bottom:5px; font-weight:800; }
        .broken-link-field strong { display:block; color:#1b2430; font-size:13px; line-height:1.45; overflow-wrap:anywhere; word-break:break-word; }
        .broken-link-extra { display:none; }
        .broken-link-extra.is-visible { display:block; }
        .show-more-btn { margin-top:14px; border:1px solid rgba(0,196,151,.26); background:rgba(0,196,151,.08); color:#067a5d; border-radius:14px; padding:12px 16px; font-weight:900; cursor:pointer; }
        .show-more-btn:hover { background:rgba(0,196,151,.14); }
        @media (max-width: 760px) { .broken-link-grid { grid-template-columns:1fr; } }
        .link-health-good { border-color:#00c497; }
        .link-health-average { border-color:#ffd166; }
        .link-health-needs_work { border-color:#ff4f8b; }
        .audit-error { display:none; margin-top:16px; background:#fff0f4; border:1px solid rgba(255,79,139,.25); color:#9e1b47; padding:14px 16px; border-radius:16px; }
        .software-table-wrap {
            width: 100%;
            max-width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            margin-top: 14px;
            border: 1px solid rgba(27,36,48,.08);
            border-radius: 18px;
            background: #fff;
        }
        .software-table {
            width: 100%;
            min-width: 1080px;
            border-collapse: collapse;
            table-layout: fixed;
        }
        .software-table th,
        .software-table td {
            padding: 16px 14px;
            border-bottom: 1px solid rgba(27,36,48,.08);
            text-align: left;
            vertical-align: top;
            font-size: 14px;
            line-height: 1.45;
        }
        .software-table th {
            background: rgba(27,36,48,.04);
            font-size: 11px;
            letter-spacing: .02em;
            text-transform: uppercase;
            color: rgba(27,36,48,.62);
            white-space: nowrap;
        }
        .software-table th:nth-child(1),
        .software-table td:nth-child(1) { width: 74px; }
        .software-table th:nth-child(2),
        .software-table td:nth-child(2) { width: 170px; }
        .software-table th:nth-child(3),
        .software-table td:nth-child(3) { width: 120px; }
        .software-table th:nth-child(4),
        .software-table td:nth-child(4) { width: 150px; }
        .software-table th:nth-child(5),
        .software-table td:nth-child(5) { width: 130px; }
        .software-table th:nth-child(6),
        .software-table td:nth-child(6) { width: auto; }
        .software-table td:nth-child(1),
        .software-table td:nth-child(3),
        .software-table td:nth-child(4),
        .software-table td:nth-child(5) {
            word-break: normal;
            overflow-wrap: normal;
        }
        .software-table td:nth-child(2),
        .software-table td:nth-child(6),
        .software-table .small-muted {
            overflow-wrap: anywhere;
            word-break: normal;
        }
        .software-type-badge,
        .software-risk-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 6px 9px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 900;
            line-height: 1;
            white-space: nowrap;
        }
        .software-type-badge {
            background: rgba(27,36,48,.06);
            color: rgba(27,36,48,.78);
        }
        .software-risk-badge {
            background: rgba(6,118,71,.10);
            color: #067647;
        }
        .software-risk-badge.review_required,
        .software-risk-badge.version_hidden {
            background: rgba(154,103,0,.12);
            color: #9a6700;
        }
        .software-risk-badge.vulnerable {
            background: rgba(180,35,24,.10);
            color: #b42318;
        }
        .software-name {
            display: block;
            font-weight: 900;
            color: #1b2430;
            margin-bottom: 3px;
        }
        .software-details-text {
            max-width: 100%;
            color: rgba(27,36,48,.82);
        }
        .risk-vulnerable { color:#b42318; font-weight:900; }
        .risk-review_required,.risk-version_hidden { color:#9a6700; font-weight:900; }
        .risk-no_public_match { color:#067647; font-weight:900; }
        .small-muted { color:rgba(27,36,48,.62); font-size:12px; display:block; margin-top:3px; }
        .speed-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:14px; margin-top:14px; }
        .speed-score { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
        .speed-badge { width:82px; height:82px; border-radius:50%; display:grid; place-items:center; font-weight:900; font-size:24px; background:#f1f5f7; border:8px solid #00c497; color:#1b2430; }
        .speed-badge.average { border-color:#ffd166; }
        .speed-badge.needs_work { border-color:#ff4f8b; }
        .speed-issue-list { display:grid; gap:10px; margin-top:14px; }
        .speed-issue { background:rgba(27,36,48,.04); border-radius:14px; padding:12px 14px; border-left:4px solid #ffd166; }
        .speed-issue.high { border-left-color:#ff4f8b; }
        .speed-issue.low { border-left-color:#00c497; }
        .speed-analysis { margin-top:16px; padding:16px; border-radius:18px; background:rgba(0,196,151,.08); border:1px solid rgba(0,196,151,.18); }
        .speed-analysis.high { background:rgba(255,79,139,.08); border-color:rgba(255,79,139,.22); }
        .speed-analysis.medium { background:rgba(255,209,102,.16); border-color:rgba(255,209,102,.34); }
        .recommendation-list { display:grid; gap:10px; margin-top:12px; }
        .recommendation-item { padding:12px 14px; border-radius:14px; background:#fff; border:1px solid rgba(27,36,48,.08); }
        .recommendation-item strong { color:#1b2430; }
        .rec-meta { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:6px; }
        .rec-tag { font-size:11px; text-transform:uppercase; font-weight:800; padding:4px 7px; border-radius:999px; background:rgba(27,36,48,.06); color:rgba(27,36,48,.72); }

        .breakdown-grid { display:grid; grid-template-columns: repeat(5, 1fr); gap:12px; margin-top:16px; }
        .breakdown-item { border:1px solid rgba(27,36,48,.08); border-radius:16px; padding:14px; background:rgba(27,36,48,.025); }
        .breakdown-item span { display:block; font-size:12px; color:rgba(27,36,48,.62); margin-bottom:5px; }
        .breakdown-item strong { font-size:22px; color:#1b2430; }
        .action-list { display:grid; gap:12px; margin-top:14px; }
        .action-card { border:1px solid rgba(27,36,48,.08); border-radius:18px; padding:15px; background:#fff; border-left:5px solid #ffd166; }
        .action-card.high { border-left-color:#ff4f8b; }
        .action-card.low { border-left-color:#00c497; }
        .action-card strong { color:#1b2430; display:block; margin-bottom:5px; }
        .audit-two-col { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:20px; }
        .check-list { display:grid; gap:10px; margin-top:12px; }
        .check-row { padding:12px 14px; border-radius:14px; background:rgba(27,36,48,.035); border-left:4px solid #00c497; }
        .check-row.risk,.check-row.high,.check-row.medium { border-left-color:#ff4f8b; }
        .check-row.low { border-left-color:#ffd166; }
        .service-list { display:grid; gap:10px; margin-top:12px; }
        .service-card { border:1px solid rgba(0,196,151,.18); background:rgba(0,196,151,.06); border-radius:16px; padding:14px; }
        .ai-consult-card { background: linear-gradient(135deg, rgba(0,196,151,.10), rgba(27,36,48,.035)); border:1px solid rgba(0,196,151,.22); }
        .ai-consult-actions { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:14px; }
        .ai-consult-actions button { border:0; border-radius:14px; padding:13px 18px; font-weight:900; cursor:pointer; background:var(--primary,#00c497); color:#fff; }
        .ai-consult-actions button[disabled] { opacity:.6; cursor:wait; }
        .ai-response { display:none; margin-top:16px; white-space:pre-wrap; line-height:1.7; background:#fff; border:1px solid rgba(27,36,48,.08); border-radius:18px; padding:18px; color:#1b2430; }
        .ai-response.active { display:block; }

        .managed-banner { display:none; margin-bottom:20px; border:1px solid rgba(0,196,151,.24); background:linear-gradient(135deg, rgba(0,196,151,.12), rgba(27,36,48,.035)); border-radius:22px; padding:18px 20px; }
        .managed-banner.active { display:block; }
        .managed-banner strong { color:#1b2430; font-size:18px; display:block; margin-bottom:6px; }
        .managed-banner p { margin:0; color:rgba(27,36,48,.72); line-height:1.6; }

        .seo-tabs { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:14px; }
        .seo-mini { border:1px solid rgba(27,36,48,.08); border-radius:16px; padding:14px; background:rgba(27,36,48,.025); }
        .seo-mini span { display:block; font-size:12px; color:rgba(27,36,48,.62); margin-bottom:6px; }
        .seo-mini strong { font-size:20px; color:#1b2430; }
        .seo-summary { margin-top:14px; padding:15px; border-radius:16px; background:rgba(0,196,151,.07); border:1px solid rgba(0,196,151,.18); line-height:1.6; color:rgba(27,36,48,.78); }
        .seo-table-wrap { overflow:auto; margin-top:14px; border-radius:16px; border:1px solid rgba(27,36,48,.08); }
        .seo-table { width:100%; border-collapse:collapse; min-width:780px; background:#fff; }
        .seo-table th,.seo-table td { padding:12px; border-bottom:1px solid rgba(27,36,48,.08); text-align:left; vertical-align:top; font-size:13px; }
        .seo-table th { background:rgba(27,36,48,.04); color:rgba(27,36,48,.62); text-transform:uppercase; font-size:11px; }
        @media (max-width: 820px) { .audit-hero, .result-grid, .speed-grid, .breakdown-grid, .audit-two-col { grid-template-columns: 1fr; } .audit-form { flex-direction: column; } }


        /* Mobile / responsive hardening for audit UI */
        html, body { width:100%; max-width:100%; overflow-x:hidden; }
        .audit-page { width:100%; overflow-x:hidden; }
        .audit-container { width:min(1120px, calc(100% - 32px)); max-width:1120px; }
        .audit-card, .mini-stat, .issue, .action-card, .check-row, .service-card, .seo-mini { min-width:0; }
        .audit-card * { max-width:100%; }
        .audit-form input { min-width:0; }
        .audit-form button { white-space:nowrap; }
        .audit-url, .seo-url, .issue-source, code, pre, .small-muted, .issue p, .issue h4 { overflow-wrap:anywhere; word-break:break-word; }
        .seo-tabs { grid-template-columns:repeat(auto-fit, minmax(145px, 1fr)); }
        .seo-table-wrap, .table-wrapper, .audit-table-wrapper { width:100%; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
        .seo-table td, .seo-table th { overflow-wrap:anywhere; word-break:break-word; }
        img, svg, video, canvas, iframe { max-width:100%; height:auto; }

        @media (max-width: 1024px) {
            .audit-hero { grid-template-columns:1fr; align-items:start; }
            .result-grid, .speed-grid, .breakdown-grid, .audit-two-col { grid-template-columns:1fr 1fr; }
        }



        .audit-version-footer {
            margin-top: 26px;
            text-align: center;
            color: rgba(27,36,48,.62);
            font-size: 13px;
            line-height: 1.6;
        }
        .audit-version-footer strong {
            color: #1b2430;
            font-weight: 900;
        }
        .audit-version-pill {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 9px 13px;
            border-radius: 999px;
            background: rgba(0,196,151,.08);
            border: 1px solid rgba(0,196,151,.18);
            color: #1b2430;
            font-weight: 800;
            margin-bottom: 8px;
        }

        @media (max-width: 640px) {
            .audit-page { padding:28px 0; }
            .audit-container { width:calc(100% - 20px); }
            .audit-card { padding:16px; border-radius:18px; }
            .audit-title { font-size:clamp(30px, 11vw, 44px); line-height:1.02; letter-spacing:-1px; }
            .audit-subtitle { font-size:15px; line-height:1.6; }
            .audit-form { flex-direction:column; gap:10px; }
            .audit-form input, .audit-form button { width:100%; }
            .result-grid, .speed-grid, .breakdown-grid, .audit-two-col, .seo-tabs { grid-template-columns:1fr; }
            .score-wrap, .speed-score { align-items:flex-start; }
            .score-circle { width:104px; height:104px; font-size:28px; border-width:8px; }
            .speed-badge { width:74px; height:74px; font-size:22px; border-width:7px; }
            .pill-row, .ai-consult-actions, .rec-meta { gap:7px; }
            .pill, .badge, .status-badge, .issue-priority, .rec-tag { white-space:normal; max-width:100%; }
            .audit-preview-main { align-items:flex-start; justify-content:flex-start; }
            .seo-updated-badge { margin-top:4px; }
            .software-table { min-width: 980px; }
            .software-table th, .software-table td { padding: 13px 12px; }
            .seo-table { min-width:720px; }
        }


        /* Phase 1 advanced modules */
        .advanced-audit-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; flex-wrap:wrap; }
        .advanced-actions { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
        .print-report-btn { border:0; border-radius:14px; padding:12px 16px; font-weight:900; cursor:pointer; background:#1b2430; color:#fff; }
        .advanced-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px; margin-top:16px; }
        .advanced-module { border:1px solid rgba(27,36,48,.08); border-radius:18px; padding:16px; background:#fff; min-width:0; box-shadow:0 10px 28px rgba(27,36,48,.04); }
        .advanced-module-top { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
        .advanced-module h4 { margin:0; color:#1b2430; font-size:16px; }
        .advanced-score { min-width:54px; height:54px; border-radius:50%; display:grid; place-items:center; font-size:18px; font-weight:900; background:#f1f5f7; border:6px solid #00c497; color:#1b2430; }
        .advanced-score.warn { border-color:#ffd166; }
        .advanced-score.bad { border-color:#ff4f8b; }
        .advanced-score.disabled { border-color:rgba(27,36,48,.18); color:rgba(27,36,48,.55); }
        .advanced-stats { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px; margin-top:12px; }
        .advanced-stat { border-radius:12px; padding:10px; background:rgba(27,36,48,.035); font-size:12px; color:rgba(27,36,48,.68); overflow-wrap:anywhere; }
        .advanced-stat strong { display:block; color:#1b2430; font-size:14px; margin-top:3px; }
        .advanced-issues { display:grid; gap:8px; margin-top:12px; }
        .advanced-issue { border-left:4px solid #ffd166; border-radius:12px; background:rgba(27,36,48,.035); padding:10px 12px; font-size:13px; line-height:1.5; }
        .advanced-issue.high, .advanced-issue.critical { border-left-color:#ff4f8b; }
        .advanced-issue.low { border-left-color:#00c497; }
        .advanced-issue strong { display:block; color:#1b2430; margin-bottom:2px; }
        .pagespeed-strategy { margin-top:12px; border:1px solid rgba(27,36,48,.08); border-radius:14px; overflow:hidden; }
        .pagespeed-strategy-title { padding:10px 12px; background:rgba(27,36,48,.04); font-weight:900; color:#1b2430; }
        .pagespeed-metrics { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:1px; background:rgba(27,36,48,.08); }
        .pagespeed-metrics div { background:#fff; padding:10px; font-size:12px; color:rgba(27,36,48,.66); }
        .pagespeed-metrics strong { display:block; color:#1b2430; font-size:14px; margin-top:3px; }
        @media (max-width: 820px) { .advanced-grid { grid-template-columns:1fr; } .pagespeed-metrics { grid-template-columns:repeat(2, minmax(0,1fr)); } }

        @media print {
            body { background:#fff !important; }
            .audit-page { padding:0 !important; background:#fff !important; }
            .audit-container { width:100% !important; max-width:none !important; }
            .audit-form, .btn, .ai-consult-card, .print-report-btn, .audit-preview-list { display:none !important; }
            .audit-card { box-shadow:none !important; break-inside:avoid; border:1px solid #ddd !important; }
            .audit-results { display:block !important; }
        }



        /* Audit progress / quick-full mode UI */
        .audit-mode-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:14px; }
        .audit-mode-card { display:flex; align-items:flex-start; gap:10px; padding:12px 14px; border:1px solid rgba(27,36,48,.10); border-radius:16px; background:rgba(255,255,255,.72); cursor:pointer; transition:.18s ease; }
        .audit-mode-card:hover { border-color:rgba(0,196,151,.32); background:rgba(0,196,151,.06); }
        .audit-mode-card input { margin-top:3px; accent-color:var(--primary,#00c497); }
        .audit-mode-card strong { display:block; color:#1b2430; font-size:14px; line-height:1.25; }
        .audit-mode-card small { display:block; color:rgba(27,36,48,.58); font-size:12px; line-height:1.45; margin-top:3px; }
        .audit-progress { display:none; margin-top:20px; padding:18px; border-radius:22px; background:linear-gradient(135deg, rgba(0,196,151,.10), rgba(255,255,255,.86)); border:1px solid rgba(0,196,151,.20); box-shadow:0 18px 42px rgba(27,36,48,.07); }
        .audit-progress.active { display:block; }
        .audit-progress-head { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:14px; }
        .audit-progress-title { display:flex; align-items:center; gap:12px; color:#1b2430; font-weight:900; }
        .audit-spinner { width:22px; height:22px; border-radius:50%; border:3px solid rgba(0,196,151,.20); border-top-color:var(--primary,#00c497); animation:auditSpin .85s linear infinite; flex:0 0 auto; }
        @keyframes auditSpin { to { transform:rotate(360deg); } }
        .audit-progress-time { color:rgba(27,36,48,.58); font-size:13px; white-space:nowrap; }
        .audit-progress-bar { height:8px; border-radius:999px; background:rgba(27,36,48,.08); overflow:hidden; margin-bottom:14px; }
        .audit-progress-fill { height:100%; width:8%; border-radius:999px; background:linear-gradient(90deg, var(--primary,#00c497), #84BD9B); transition:width .35s ease; }
        .audit-progress-current { font-size:14px; line-height:1.55; color:rgba(27,36,48,.72); margin-bottom:12px; }
        .audit-progress-steps { display:grid; gap:8px; }
        .audit-progress-step { display:flex; align-items:center; gap:9px; color:rgba(27,36,48,.54); font-size:13px; }
        .audit-progress-step::before { content:'•'; width:18px; height:18px; border-radius:50%; display:grid; place-items:center; background:rgba(27,36,48,.07); color:rgba(27,36,48,.40); font-size:18px; line-height:1; }
        .audit-progress-step.done { color:#067647; font-weight:700; }
        .audit-progress-step.done::before { content:'✓'; background:rgba(0,196,151,.14); color:#067647; font-size:12px; }
        .audit-progress-step.active { color:#1b2430; font-weight:800; }
        .audit-progress-step.active::before { content:''; background:var(--primary,#00c497); box-shadow:0 0 0 5px rgba(0,196,151,.12); }
        .audit-progress-note { margin-top:12px; color:rgba(27,36,48,.56); font-size:12px; line-height:1.55; }
        @media (max-width:640px){ .audit-mode-row{grid-template-columns:1fr;} .audit-progress-head{align-items:flex-start; flex-direction:column;} }


        /* Version changelog modal */
        .audit-version-button {
            border: 0;
            cursor: pointer;
            font: inherit;
            appearance: none;
        }
        .audit-version-button:hover {
            background: rgba(0,196,151,.14);
            border-color: rgba(0,196,151,.34);
            transform: translateY(-1px);
        }
        .audit-version-button:focus-visible {
            outline: 3px solid rgba(0,196,151,.28);
            outline-offset: 3px;
        }
        .version-modal-backdrop {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 22px;
            background: rgba(15, 23, 42, .52);
            backdrop-filter: blur(8px);
            z-index: 9999;
        }
        .version-modal-backdrop.active { display: flex; }
        .version-modal {
            width: min(760px, 100%);
            max-height: min(86vh, 820px);
            overflow: auto;
            background: #fff;
            border: 1px solid rgba(27,36,48,.10);
            border-radius: 26px;
            box-shadow: 0 30px 90px rgba(15, 23, 42, .24);
            padding: 24px;
        }
        .version-modal-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
            padding-bottom: 16px;
            border-bottom: 1px solid rgba(27,36,48,.08);
        }
        .version-modal-head h3 {
            margin: 0;
            color: #1b2430;
            font-size: 24px;
            letter-spacing: -.02em;
        }
        .version-modal-head p {
            margin: 6px 0 0;
            color: rgba(27,36,48,.62);
            line-height: 1.55;
            font-size: 14px;
        }
        .version-modal-close {
            width: 38px;
            height: 38px;
            border: 1px solid rgba(27,36,48,.10);
            border-radius: 999px;
            background: rgba(27,36,48,.04);
            color: #1b2430;
            font-size: 22px;
            line-height: 1;
            cursor: pointer;
            flex: 0 0 auto;
        }
        .version-modal-close:hover { background: rgba(255,79,139,.10); color: #9e1b47; }
        .version-timeline { display: grid; gap: 14px; margin-top: 18px; }
        .version-item {
            display: grid;
            grid-template-columns: 130px 1fr;
            gap: 14px;
            border: 1px solid rgba(27,36,48,.08);
            border-radius: 18px;
            background: linear-gradient(135deg, rgba(0,196,151,.045), rgba(27,36,48,.018));
            padding: 16px;
        }
        .version-item-meta strong {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            padding: 7px 11px;
            background: rgba(0,196,151,.12);
            color: #067a5d;
            font-size: 13px;
            font-weight: 900;
        }
        .version-item-meta span {
            display: block;
            margin-top: 8px;
            color: rgba(27,36,48,.58);
            font-size: 12px;
            line-height: 1.4;
        }
        .version-item-content h4 {
            margin: 0 0 7px;
            color: #1b2430;
            font-size: 16px;
        }
        .version-item-content p {
            margin: 0;
            color: rgba(27,36,48,.70);
            line-height: 1.6;
            font-size: 14px;
        }
        .version-feature-list {
            display: flex;
            flex-wrap: wrap;
            gap: 7px;
            margin-top: 10px;
        }
        .version-feature-pill {
            display: inline-flex;
            border-radius: 999px;
            padding: 6px 9px;
            background: rgba(27,36,48,.055);
            color: rgba(27,36,48,.72);
            font-size: 12px;
            font-weight: 800;
        }
        @media (max-width: 640px) {
            .version-modal { padding: 18px; border-radius: 20px; }
            .version-item { grid-template-columns: 1fr; }
            .version-modal-head h3 { font-size: 20px; }
        }


        /* WordPress Error Analyzer */
        .wp-error-analyzer-card { margin-top: 24px; background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(0,196,151,.055)); }
        .wp-error-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:16px; }
        .wp-error-head h2 { margin:0; color:#1b2430; font-size:24px; letter-spacing:-.3px; }
        .wp-error-head p { margin:8px 0 0; color:rgba(27,36,48,.68); line-height:1.6; max-width:780px; }
        .wp-error-badge { display:inline-flex; align-items:center; gap:6px; padding:7px 11px; border-radius:999px; background:#fff; border:1px solid rgba(0,196,151,.26); color:#067a5d; font-weight:900; font-size:12px; white-space:nowrap; }
        .wp-error-form { display:grid; gap:14px; }
        .wp-error-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
        .wp-error-field { display:grid; gap:7px; }
        .wp-error-field label { font-size:13px; font-weight:900; color:#1b2430; }
        .wp-error-field small { color:rgba(27,36,48,.58); line-height:1.45; }
        .wp-error-field input[type="url"],
        .wp-error-field input[type="file"],
        .wp-error-field textarea { width:100%; border:1px solid rgba(27,36,48,.13); border-radius:16px; padding:14px 15px; font-size:14px; outline:none; background:#fff; color:#1b2430; box-sizing:border-box; }
        .wp-error-field textarea { min-height:170px; resize:vertical; line-height:1.55; font-family:inherit; }
        .wp-error-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
        .wp-error-actions button { border:0; border-radius:16px; padding:14px 20px; font-weight:900; cursor:pointer; background:#1b2430; color:#fff; }
        .wp-error-actions button[disabled] { opacity:.65; cursor:wait; }
        .wp-error-result { display:none; margin-top:18px; border:1px solid rgba(27,36,48,.08); border-radius:20px; background:#fff; padding:18px; box-shadow:0 12px 30px rgba(27,36,48,.05); }
        .wp-error-result.active { display:block; }
        .wp-error-result-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
        .wp-error-result-title { font-weight:900; color:#1b2430; }
        .wp-error-response { white-space:pre-wrap; line-height:1.75; color:#1b2430; font-size:14px; }
        .wp-error-findings { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 0; }
        .wp-error-finding { padding:7px 10px; border-radius:999px; background:rgba(27,36,48,.06); color:rgba(27,36,48,.78); font-size:12px; font-weight:800; }
        .wp-error-finding.high { background:rgba(255,79,139,.10); color:#9e1b47; }
        .wp-error-finding.medium { background:rgba(255,209,102,.22); color:#8a5b00; }
        .wp-error-error { display:none; margin-top:12px; border-radius:14px; padding:12px 14px; background:#fff0f4; border:1px solid rgba(255,79,139,.25); color:#9e1b47; font-size:14px; }
        .wp-error-error.active { display:block; }
        @media (max-width: 820px) { .wp-error-form-grid { grid-template-columns:1fr; } }

    

        /* WordPress Error Analyzer — CTA + modal UI */
        .wp-error-launch-card {
            margin-top: 24px;
            position: relative;
            overflow: hidden;
            background:
                radial-gradient(circle at top right, rgba(0,196,151,.18), transparent 34%),
                linear-gradient(135deg, #ffffff, rgba(248,250,252,.96));
        }
        .wp-error-launch-card::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            border-radius: 28px;
            background: linear-gradient(135deg, rgba(0,196,151,.08), transparent 58%);
        }
        .wp-error-launch-content {
            position: relative;
            z-index: 1;
            max-width: 760px;
        }
        .wp-error-launch-content h2 {
            margin: 0 0 8px;
            color: #1b2430;
            font-size: clamp(24px, 3vw, 34px);
            letter-spacing: -.6px;
        }
        .wp-error-launch-content p {
            margin: 0;
            color: rgba(27,36,48,.72);
            line-height: 1.7;
            font-size: 15px;
        }
        .wp-error-floating-version {
            position: absolute;
            top: 22px;
            right: 22px;
            z-index: 2;
        }
        .wp-error-open-btn {
            margin-top: 18px;
            border: 0;
            border-radius: 18px;
            padding: 15px 22px;
            background: #1b2430;
            color: #fff;
            font-weight: 900;
            cursor: pointer;
            box-shadow: 0 14px 34px rgba(27,36,48,.16);
            transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
        }
        .wp-error-open-btn:hover {
            transform: translateY(-1px);
            background: #111827;
            box-shadow: 0 18px 42px rgba(27,36,48,.22);
        }
        .wp-error-modal {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: none;
        }
        .wp-error-modal.active { display: block; }
        .wp-error-modal-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(15, 23, 42, .58);
            backdrop-filter: blur(8px);
        }
        .wp-error-modal-panel {
            position: relative;
            z-index: 1;
            width: min(920px, calc(100% - 28px));
            max-height: calc(100vh - 36px);
            overflow: auto;
            margin: 18px auto;
            background: #fff;
            border-radius: 28px;
            padding: 26px;
            box-shadow: 0 30px 90px rgba(15,23,42,.30);
            border: 1px solid rgba(255,255,255,.22);
        }
        .wp-error-modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 38px;
            height: 38px;
            border: 0;
            border-radius: 999px;
            background: rgba(27,36,48,.06);
            color: #1b2430;
            font-size: 26px;
            line-height: 1;
            cursor: pointer;
        }
        .wp-error-modal-close:hover {
            background: rgba(255,79,139,.12);
            color: #9e1b47;
        }
        .wp-error-modal-header {
            padding-right: 48px;
            margin-bottom: 18px;
        }
        .wp-error-modal-header h2 {
            margin: 0 0 8px;
            color: #1b2430;
            font-size: clamp(24px, 3vw, 34px);
            letter-spacing: -.6px;
        }
        .wp-error-modal-header p {
            margin: 0;
            color: rgba(27,36,48,.68);
            line-height: 1.7;
        }
        .wp-error-modal .wp-error-field textarea { min-height: 150px; }
        .wp-error-modal .wp-error-result {
            border-color: rgba(0,196,151,.18);
            background: rgba(0,196,151,.045);
        }
        @media (max-width: 720px) {
            .wp-error-modal-panel {
                padding: 20px;
                border-radius: 22px;
            }
            .wp-error-floating-version {
                position: relative;
                top: auto;
                right: auto;
                margin-top: 14px;
            }
            .wp-error-open-btn,
            .wp-error-actions button { width: 100%; }
        }

/* ===============================
   Support chat widget
   =============================== */

.wi-support-chat {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    font-family: inherit;
}

.wi-support-chat-button {
    position: relative;
    width: 66px;
    height: 66px;
    border: 4px solid #111827;
    border-radius: 22px;
    background: #00c497;
    color: #111827;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 7px 7px 0 #111827;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.wi-support-chat-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 #111827;
    background: #12d2a5;
}

.wi-support-chat-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #ffffff;
    display: grid;
    place-items: center;
    font-size: 21px;
    line-height: 1;
    font-weight: 1000;
    color: #111827;
}

.wi-support-chat-dot {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #25D366;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(37,211,102,.18);
}

.wi-support-chat-window {
    position: absolute;
    right: 0;
    bottom: 84px;
    width: min(380px, calc(100vw - 32px));
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(27,36,48,.10);
    box-shadow: 0 30px 90px rgba(15,23,42,.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.96);
    transform-origin: bottom right;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.wi-support-chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wi-support-chat-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 20px 18px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.34), transparent 36%),
        linear-gradient(135deg, #00c497, #84BD9B);
    color: #111827;
}

.wi-support-chat-header strong {
    display: block;
    margin-top: 4px;
    font-size: 21px;
    line-height: 1.15;
    letter-spacing: -.3px;
}

.wi-support-chat-kicker {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(255,255,255,.55);
    color: #067a5d;
    font-size: 11px;
    font-weight: 900;
}

.wi-support-chat-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.70);
    color: #111827;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 auto;
}

.wi-support-chat-close:hover {
    background: #ffffff;
}

.wi-support-chat-body {
    padding: 18px;
    background:
        radial-gradient(circle at bottom left, rgba(0,196,151,.10), transparent 34%),
        #ffffff;
}

.wi-support-chat-body p {
    margin: 0;
    color: rgba(27,36,48,.72);
    line-height: 1.65;
    font-size: 14px;
}

.wi-support-chat-message {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px 18px 18px 6px;
    background: rgba(27,36,48,.045);
    color: #1b2430;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid rgba(27,36,48,.06);
}

.wi-support-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    width: 100%;
    border-radius: 17px;
    padding: 14px 18px;
    background: #25D366;
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(37,211,102,.22);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.wi-support-whatsapp:hover {
    transform: translateY(-1px);
    background: #1fb95a;
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(37,211,102,.30);
}

@media (max-width: 640px) {
    .wi-support-chat {
        right: 16px;
        bottom: 16px;
    }

    .wi-support-chat-button {
        width: 60px;
        height: 60px;
        border-radius: 20px;
        box-shadow: 5px 5px 0 #111827;
    }

    .wi-support-chat-window {
        right: 0;
        bottom: 78px;
        width: calc(100vw - 32px);
        border-radius: 24px;
    }
}


/* Cloudflare / limited public audit notice */
.audit-notice-banner {
    display: none;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 209, 102, .45);
    background: linear-gradient(135deg, rgba(255, 209, 102, .18), rgba(255, 255, 255, .92));
    border-radius: 22px;
    padding: 18px 20px;
    box-shadow: 0 16px 40px rgba(27, 36, 48, .07);
    gap: 16px;
    align-items: flex-start;
}

.audit-notice-banner.active {
    display: flex;
}

.audit-notice-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 209, 102, .28);
    color: #8a5b00;
    font-size: 24px;
    font-weight: 900;
}

.audit-notice-content {
    flex: 1;
    min-width: 0;
}

.audit-notice-content strong {
    display: block;
    color: #1b2430;
    font-size: 18px;
    margin-bottom: 6px;
}

.audit-notice-content p {
    margin: 0;
    color: rgba(27, 36, 48, .74);
    line-height: 1.65;
}

.audit-notice-meta {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(27, 36, 48, .58);
    line-height: 1.5;
    word-break: break-word;
}

.audit-limited-card {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 209, 102, .12);
    border: 1px solid rgba(255, 209, 102, .35);
    color: #1b2430;
    line-height: 1.65;
}

.audit-limited-card strong {
    display: block;
    margin-bottom: 6px;
    color: #1b2430;
}

@media (max-width: 640px) {
    .audit-notice-banner.active {
        flex-direction: column;
    }
}


/* Verified Audit Access panel */
.audit-notice-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.verified-audit-open-btn,
.verify-check-btn,
.copy-btn {
    border: 0;
    cursor: pointer;
    font-weight: 900;
}

.verified-audit-open-btn {
    border-radius: 14px;
    padding: 12px 16px;
    background: var(--primary, #00c497);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 196, 151, .18);
}

.verified-audit-panel {
    display: none;
    margin-bottom: 20px;
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(27, 36, 48, .08);
    box-shadow: 0 20px 60px rgba(27, 36, 48, .08);
}

.verified-audit-panel.active {
    display: block;
}

.verified-audit-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(0, 196, 151, .10);
    color: #067a5d;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 10px;
}

.verified-audit-head h3 {
    margin: 0 0 8px;
    color: #1b2430;
    font-size: 24px;
}

.verified-audit-head p {
    margin: 0;
    color: rgba(27, 36, 48, .72);
    line-height: 1.65;
}

.verified-audit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 18px;
}

.verified-step-card {
    position: relative;
    min-width: 0;
    padding: 18px;
    border-radius: 20px;
    background: rgba(27, 36, 48, .025);
    border: 1px solid rgba(27, 36, 48, .08);
}

.verified-step-number {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 196, 151, .12);
    color: #067a5d;
    font-weight: 900;
    margin-bottom: 10px;
}

.verified-step-card h4 {
    margin: 0 0 8px;
    color: #1b2430;
    font-size: 18px;
}

.verified-step-card p {
    margin: 0 0 14px;
    color: rgba(27, 36, 48, .68);
    line-height: 1.55;
}

.verified-step-card label {
    display: block;
    margin: 12px 0 6px;
    color: rgba(27, 36, 48, .58);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .03em;
}

.copy-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}

.copy-row code {
    flex: 1;
    min-width: 0;
    display: block;
    padding: 11px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(27, 36, 48, .08);
    color: #1b2430;
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.copy-row.expression-row {
    align-items: flex-start;
}

.copy-row.expression-row code {
    min-height: 86px;
}

.copy-btn {
    flex: 0 0 auto;
    border-radius: 12px;
    padding: 0 12px;
    background: rgba(27, 36, 48, .07);
    color: rgba(27, 36, 48, .78);
}

.copy-btn:hover {
    background: rgba(27, 36, 48, .11);
}

.verify-check-btn {
    margin-top: 14px;
    width: 100%;
    border-radius: 14px;
    padding: 13px 16px;
    background: var(--dark, #1b2430);
    color: #fff;
}

.verify-check-btn[disabled] {
    opacity: .65;
    cursor: wait;
}

.verify-status {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    line-height: 1.5;
    font-size: 13px;
}

.verify-status.active {
    display: block;
}

.verify-status.success {
    background: rgba(0, 196, 151, .10);
    border: 1px solid rgba(0, 196, 151, .22);
    color: #067a5d;
}

.verify-status.warning {
    background: rgba(255, 209, 102, .18);
    border: 1px solid rgba(255, 209, 102, .36);
    color: #8a5b00;
}

.verify-status.error {
    background: rgba(255, 79, 139, .08);
    border: 1px solid rgba(255, 79, 139, .22);
    color: #9e1b47;
}

.verified-audit-note {
    margin-top: 14px;
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(255, 209, 102, .13);
    border: 1px solid rgba(255, 209, 102, .28);
    color: rgba(27, 36, 48, .72);
    line-height: 1.6;
    font-size: 13px;
}

@media (max-width: 900px) {
    .verified-audit-grid {
        grid-template-columns: 1fr;
    }
}


/* Verified Audit refinement */
.verified-audit-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.verified-audit-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 209, 102, .18);
    border: 1px solid rgba(255, 209, 102, .36);
    color: #8a5b00;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.verified-audit-status.is-verified {
    background: rgba(0, 196, 151, .12);
    border-color: rgba(0, 196, 151, .26);
    color: #067a5d;
}

.verified-audit-status.is-error {
    background: rgba(255, 79, 139, .08);
    border-color: rgba(255, 79, 139, .22);
    color: #9e1b47;
}

.verified-step-card {
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.verified-step-card.is-complete {
    border-color: rgba(0, 196, 151, .30);
    background: linear-gradient(135deg, rgba(0, 196, 151, .08), rgba(255, 255, 255, .94));
    box-shadow: 0 16px 34px rgba(0, 196, 151, .08);
}

.verified-step-card.is-ready {
    border-color: rgba(255, 209, 102, .42);
    background: linear-gradient(135deg, rgba(255, 209, 102, .13), rgba(255, 255, 255, .96));
}

.verified-step-card.is-complete .verified-step-number {
    background: rgba(0, 196, 151, .16);
    color: #067a5d;
}

.verified-step-card.is-ready .verified-step-number {
    background: rgba(255, 209, 102, .24);
    color: #8a5b00;
}

.verified-audit-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(27, 36, 48, .035), rgba(255, 255, 255, .92));
    border: 1px solid rgba(27, 36, 48, .08);
}

.verified-audit-footer strong {
    color: #1b2430;
    display: block;
    margin-bottom: 4px;
}

.verified-audit-footer p {
    margin: 0;
    color: rgba(27, 36, 48, .68);
    line-height: 1.55;
    font-size: 14px;
}

.rerun-audit-btn {
    border: 0;
    border-radius: 14px;
    padding: 13px 18px;
    background: var(--primary, #00c497);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 196, 151, .18);
}

.rerun-audit-btn[disabled] {
    cursor: not-allowed;
    opacity: .55;
    box-shadow: none;
    background: rgba(27, 36, 48, .28);
}

.rerun-audit-btn:not([disabled]):hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(0, 196, 151, .24);
}

.copy-btn.is-copied {
    background: rgba(0, 196, 151, .12);
    color: #067a5d;
}

@media (max-width: 640px) {
    .verified-audit-footer {
        align-items: stretch;
    }

    .rerun-audit-btn {
        width: 100%;
    }
}
