/* SEO audit report: A4 pages (794 x 1123 px at 96 dpi), white paper with navy/blue brand. */
.report-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; align-items: center; }
.report-stage { overflow: hidden; padding-bottom: 20px; }
.report-scale { width: 794px; transform-origin: top left; }
@media (min-width: 1100px) { .report-stage { display: flex; justify-content: center; } .report-scale { transform-origin: top center; } }
.report-progress { display: flex; flex-direction: column; gap: 10px; max-width: 460px; margin: 0 auto; text-align: left; }
.report-progress li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.report-progress li.done { color: var(--good); }
.report-progress li.run { color: #fff; }

.rp-page {
    --navy: #050a30; --navy-2: #0d1b5e; --blue: #1e6fff; --cyan: #22b8ff; --ink: #1d2433; --muted: #6b7489; --line: #e6ebf3;
    --good: #18a957; --warn: #f59e0b; --bad: #ef4444;
    position: relative; width: 794px; height: 1123px; overflow: hidden;
    margin: 0 auto 26px; padding: 30px 34px 0;
    background: #fff; color: var(--ink);
    font-family: 'Poppins', Arial, sans-serif; font-size: 11px; line-height: 1.45;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.rp-page * { box-sizing: border-box; }
.rp-page h1, .rp-page h2, .rp-page h3 { font-family: 'Montserrat', Arial, sans-serif; color: var(--navy); margin: 0; line-height: 1.15; }

.rp-title { text-align: center; margin-bottom: 12px; }
.rp-title h1 { font-size: 28px; font-weight: 900; letter-spacing: -.3px; }
.rp-title h1 span { color: var(--blue); }
.rp-title p { margin: 4px 0 0; font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; font-size: 13px; color: var(--navy); }
.rp-title small { display: block; color: var(--muted); font-size: 10.5px; margin-top: 2px; }

.rp-grid { display: grid; gap: 12px; margin-bottom: 12px; }
.rp-card { background: #fff; border-radius: 6px; box-shadow: 0 2px 10px rgba(16, 32, 80, .12); padding: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-width: 0; }
.rp-card h3 { font-size: 12px; font-weight: 700; margin-top: 4px; }
.rp-card .rp-label { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 11px; color: var(--navy); margin-top: 4px; }
.rp-card .rp-value { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; font-size: 14px; color: var(--navy); margin-top: 5px; padding-bottom: 4px; border-bottom: 1px solid var(--line); min-width: 50px; }

.rp-brand img { width: 120px; }
.rp-brand b { display: block; font-family: 'Montserrat', Arial, sans-serif; font-weight: 900; color: var(--blue); font-size: 15px; margin-top: 4px; }
.rp-brand small { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; color: var(--navy); font-size: 8.5px; letter-spacing: 1px; }

.rp-bars { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 9px; }
.rp-bars div > span { display: flex; justify-content: space-between; font-weight: 600; font-size: 11px; color: var(--navy); }
.rp-bars div > span em { font-style: normal; color: var(--muted); font-weight: 500; }
.rp-bars i { display: block; height: 5px; border-radius: 3px; background: #eef1f6; margin-top: 3px; overflow: hidden; }
.rp-bars i b { display: block; height: 100%; border-radius: 3px; }

.rp-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.rp-chart h3 { align-self: flex-start; font-size: 12px; margin-bottom: 6px; }
.rp-legend { display: flex; flex-direction: column; gap: 6px; font-size: 10.5px; text-align: left; }
.rp-legend span { display: flex; align-items: center; gap: 6px; }
.rp-legend i { width: 9px; height: 9px; transform: rotate(45deg); display: inline-block; }

.rp-meter { width: 7px; height: 48px; background: #e9edf3; border-radius: 1px; position: relative; overflow: hidden; }
.rp-meter b { position: absolute; left: 0; right: 0; bottom: 0; background: var(--navy); }

.rp-issues { display: flex; flex-direction: column; gap: 5px; }
.rp-issue { display: flex; align-items: stretch; border-radius: 2px; overflow: hidden; }
.rp-issue i { width: 36px; display: grid; place-items: center; background: var(--blue); color: #fff; font-style: normal; font-size: 13px; }
.rp-issue span { flex: 1; background: var(--navy); color: #fff; padding: 5px 12px; font-size: 11px; font-weight: 500; }
.rp-issue span b { font-weight: 700; margin-right: 4px; }

.rp-cta { border: 2.5px solid var(--navy); border-radius: 10px; padding: 10px 16px; text-align: left; width: 100%; position: relative; }
.rp-cta .tag { display: inline-block; background: var(--navy); color: #fff; font-size: 8.5px; font-weight: 700; padding: 3px 7px; border-radius: 3px; }
.rp-cta h3 { font-size: 15px; margin-top: 4px; }
.rp-cta p { margin: 2px 0 0; color: var(--muted); font-size: 10.5px; }
.rp-cta strong { display: block; font-family: 'Montserrat', Arial, sans-serif; font-size: 15px; color: var(--blue); margin-top: 6px; }

.rp-footer { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; align-items: center; padding: 14px 34px; border-top: 1px solid var(--line); font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 12px; color: var(--navy); background: #fff; }
.rp-footer span { display: flex; align-items: center; gap: 8px; }
.rp-footer i { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 10px; }

/* Detail pages */
.rp-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 3px solid var(--navy); }
.rp-head img { width: 38px; }
.rp-head div { display: flex; align-items: center; gap: 10px; }
.rp-head b { font-family: 'Montserrat', Arial, sans-serif; font-weight: 900; color: var(--blue); font-size: 13px; line-height: 1; }
.rp-head small { display: block; font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; color: var(--navy); font-size: 7.5px; letter-spacing: .8px; }
.rp-head .rp-head-meta { text-align: right; font-size: 10px; color: var(--muted); display: block; }
.rp-section { font-size: 17px !important; font-weight: 900; margin: 4px 0 4px !important; }
.rp-section + p { color: var(--muted); margin: 0 0 12px; font-size: 10.5px; }
.rp-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.rp-table th { background: var(--navy); color: #fff; font-weight: 600; text-align: left; padding: 6px 8px; font-size: 9.5px; text-transform: uppercase; letter-spacing: .4px; }
.rp-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rp-table tr:nth-child(even) td { background: #f7f9fc; }
.rp-table td.n { text-align: center; white-space: nowrap; }
.rp-table .url { word-break: break-all; color: var(--navy-2); }
.rp-pill { display: inline-block; padding: 2px 7px; border-radius: 10px; font-size: 9px; font-weight: 700; color: #fff; white-space: nowrap; }
.rp-pill.pass { background: var(--good); } .rp-pill.warn { background: var(--warn); } .rp-pill.fail { background: var(--bad); }
.rp-num.pass { color: var(--good); font-weight: 700; } .rp-num.warn { color: var(--warn); font-weight: 700; } .rp-num.fail { color: var(--bad); font-weight: 700; }
.rp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.rp-box { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.rp-box h3 { font-size: 12.5px; margin-bottom: 8px; }
.rp-kv { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; font-size: 10.5px; }
.rp-kv b { font-family: 'Montserrat', Arial, sans-serif; color: var(--navy); }
.rp-fix { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.rp-fix > b { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 10px; background: var(--blue); }
.rp-fix h4 { margin: 0 0 2px; font-family: 'Montserrat', Arial, sans-serif; font-size: 11.5px; color: var(--navy); }
.rp-fix p { margin: 0; color: #4a5468; font-size: 10.3px; }
.rp-fix small { color: var(--muted); font-size: 9.3px; word-break: break-all; }
.rp-note { margin-top: 10px; padding: 9px 12px; border-radius: 6px; background: #f1f5ff; border-left: 3px solid var(--blue); font-size: 10px; color: #3c4760; }
.rp-pagenum { position: absolute; right: 34px; bottom: 50px; font-size: 9px; color: var(--muted); }

/* While exporting to PDF: capture each page at exact A4 size. */
.exporting .rp-page { margin: 0; box-shadow: none; }
