/* Election Affidavit Intelligence - Public Data Journalism Styles (White, Navy, Neutral) */
.pnw-eai-profile-box { border-top: 3px solid #0f2942; background: #ffffff; }
.pnw-eai-profile-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.pnw-eai-kicker { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #475569; margin-bottom: 4px; }
.pnw-eai-profile-head h2 { margin: 0; font-size: 18px; font-weight: 800; color: #0f2942; letter-spacing: 0.01em; }

.pnw-eai-pill { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; }
.eai-status-pass { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.eai-status-disc { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.eai-status-review { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

.pnw-eai-profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.pnw-eai-metric-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 12px 14px; }
.eai-m-label { display: block; font-size: 11.5px; color: #64748b; font-weight: 600; margin-bottom: 4px; }
.eai-m-val { display: block; font-size: 16px; color: #0f2942; font-weight: 700; font-variant-numeric: tabular-nums; }
.eai-m-val small { font-size: 12px; font-weight: 500; color: #475569; }

.pnw-eai-profile-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 12px; border-top: 1px solid #e2e8f0; font-size: 12.5px; color: #475569; }
.pnw-eai-report-btn { display: inline-block; background: #0f2942; color: #ffffff !important; text-decoration: none; padding: 8px 14px; border-radius: 5px; font-size: 12.5px; font-weight: 600; }
.pnw-eai-report-btn:hover { background: #1e3a5f; }

/* Public Report Page */
.pnw-eai-report-page { background: #f8fafc; padding: 28px 0 56px; color: #0f172a; }
.pnw-eai-container { width: min(1120px, 94%); margin: 0 auto; }
.pnw-eai-breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: #64748b; margin-bottom: 16px; }
.pnw-eai-breadcrumb a { color: #0f2942; text-decoration: none; font-weight: 600; }

.pnw-eai-report-hero { background: #ffffff; border: 1px solid #cbd5e1; border-top: 4px solid #0f2942; border-radius: 8px; padding: 24px 26px; margin-bottom: 20px; }
.pnw-eai-hero-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.pnw-eai-report-hero h1 { margin: 0 0 12px; font-size: 26px; line-height: 1.25; color: #0f2942; font-weight: 800; }
.pnw-eai-meta-bar { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #475569; padding-top: 12px; border-top: 1px solid #f1f5f9; }
.pnw-eai-meta-bar a { color: #0f2942; font-weight: 600; }

.pnw-eai-section { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 22px 26px; margin-bottom: 18px; }
.pnw-eai-section h2 { margin: 0 0 14px; font-size: 17px; font-weight: 700; color: #0f2942; padding-bottom: 8px; border-bottom: 1px solid #e2e8f0; }

.pnw-eai-chart-wrap { max-width: 780px; margin: 12px 0 20px; }
.pnw-eai-table-wrap { overflow-x: auto; }
.pnw-eai-pub-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pnw-eai-pub-table th { text-align: left; background: #f8fafc; color: #334155; font-weight: 700; padding: 10px 12px; border-bottom: 2px solid #cbd5e1; font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; }
.pnw-eai-pub-table td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.pnw-eai-pub-table th.num, .pnw-eai-pub-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.pnw-eai-findings-note { background: #f8fafc; border-left: 3px solid #0f2942; padding: 12px 14px; font-size: 13.5px; margin-bottom: 14px; color: #1e293b; }
.pnw-eai-source-list { margin: 0 0 14px; padding-left: 18px; font-size: 13.5px; line-height: 1.7; }
.pnw-eai-methodology { font-size: 13px; color: #334155; line-height: 1.6; margin: 0 0 12px; }
.pnw-eai-disclaimer { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 6px; padding: 12px 14px; font-size: 12.5px; line-height: 1.6; color: #475569; }
.pnw-eai-muted { color: #64748b; font-size: 13.5px; }

/* Public Hub (/affidavit-intelligence/) */
.pnw-eai-hub-hero { background: #ffffff; border: 1px solid #cbd5e1; border-top: 4px solid #0f2942; border-radius: 8px; padding: 24px 26px; margin-bottom: 18px; }
.pnw-eai-hub-hero h1 { margin: 0 0 8px; font-size: 26px; font-weight: 800; color: #0f2942; }
.pnw-eai-submeta { margin: 0; font-size: 14px; color: #475569; line-height: 1.5; }
.pnw-eai-hub-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 18px; }
.pnw-eai-kpi-card { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 14px 16px; }
.pnw-eai-kpi-card span { display: block; font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 4px; }
.pnw-eai-kpi-card strong { font-size: 22px; font-weight: 800; color: #0f2942; font-variant-numeric: tabular-nums; }
.pnw-eai-hub-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.pnw-eai-hub-filters input[type="text"], .pnw-eai-hub-filters select { padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 5px; font-size: 13.5px; background: #ffffff; color: #0f172a; min-width: 170px; }
.pnw-eai-hub-filters input[type="text"] { flex: 1 1 240px; }
.pnw-eai-hub-filters button.pnw-eai-report-btn { border: none; cursor: pointer; padding: 9px 16px; }
.pnw-eai-reset-link { color: #475569; font-size: 13px; text-decoration: none; font-weight: 600; padding: 6px 10px; }
.pnw-eai-pol-link { color: #0f2942; text-decoration: none; }
.pnw-eai-pol-link:hover { text-decoration: underline; }
.pnw-eai-cell-sub { font-size: 12px; color: #64748b; margin-top: 2px; }
.pnw-eai-view-link { color: #0f2942; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pnw-eai-view-link:hover { text-decoration: underline; }
.pnw-eai-empty-hub { text-align: center; padding: 36px 20px; border: 1px dashed #cbd5e1; border-radius: 6px; background: #f8fafc; }
.pnw-eai-empty-hub h3 { margin: 0 0 6px; color: #0f2942; font-size: 17px; }
.pnw-eai-empty-hub p { margin: 0; color: #64748b; font-size: 13.5px; }
.pnw-eai-pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; justify-content: center; }
.pnw-eai-pagination a { display: inline-block; padding: 6px 12px; border: 1px solid #cbd5e1; border-radius: 5px; text-decoration: none; color: #0f2942; font-weight: 600; font-size: 13px; background: #ffffff; }
.pnw-eai-pagination a.is-active { background: #0f2942; color: #ffffff; border-color: #0f2942; }

@media (max-width: 640px) {
    .pnw-eai-report-hero, .pnw-eai-section, .pnw-eai-hub-hero { padding: 16px; }
    .pnw-eai-report-hero h1, .pnw-eai-hub-hero h1 { font-size: 21px; }
}
