/* Election Atlas — additions to the Ownership Atlas page system (ownership-profiles.css). */
.company-profile.ea-page .cp-facts{grid-template-columns:repeat(4,minmax(0,1fr))}
.ea-page .cp-hero h1{text-wrap:balance}
.ea-lead{font-size:16px;line-height:1.7;color:#333;max-width:760px;margin:0}
.ea-note{font-size:13px;line-height:1.65;color:#5e5e5e;max-width:760px}
.ea-chamber{background:#f9f9f9;border-radius:8px;padding:clamp(16px,3vw,32px);margin:0 0 8px}
.ea-chamber figure{margin:0}
.ea-chamber svg{display:block;width:100%;max-width:680px;height:auto;margin:0 auto}
.ea-chamber figcaption{font-size:12px;color:#5e5e5e;text-align:center;margin-top:10px}
.ea-chamber g[data-party]{transition:opacity .15s ease}
.ea-chamber.is-focused g[data-party]{opacity:.18}
.ea-chamber.is-focused g[data-party].is-active{opacity:1}
.ea-legend{list-style:none;display:flex;flex-wrap:wrap;gap:6px 14px;padding:0;margin:16px 0 0;justify-content:center}
.ea-legend li{display:inline-flex}
.ea-legend a,.ea-legend span.ea-key{display:inline-flex;align-items:center;gap:7px;font-size:13px;line-height:1.5;color:#222;text-decoration:none;padding:2px 4px;border-radius:8px}
.ea-legend a:hover,.ea-legend a:focus-visible{background:#fff;text-decoration:underline}
.ea-swatch{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none}
.ea-bar{display:flex;height:12px;border-radius:8px;overflow:hidden;background:#ececec;margin:6px 0 10px}
.ea-bar span{display:block;height:100%;min-width:2px}
.ea-bar span+span{box-shadow:inset 1px 0 0 #fff}
.ea-status{display:inline-block;font-size:12px;line-height:1.5;padding:2px 8px;border-radius:8px;background:#f9f9f9;border:1px solid #e3e3e3;white-space:nowrap}
.ea-status[data-status="verified_primary"]{border-color:#9cc3a6;background:#f1f8f3}
.ea-status[data-status="corroborated_secondary"]{border-color:#c9d6e6;background:#f3f6fa}
.ea-status[data-status="discrepancy"]{border-color:#e0a9a9;background:#fbf2f2}
.ea-filter{margin:0 0 14px}
.ea-filter label{display:block;font-size:12px;color:#5e5e5e;margin-bottom:6px}
.ea-filter input{width:100%;max-width:420px;padding:10px 12px;border:1px solid #d9d9d9;border-radius:8px;font:inherit;font-size:15px;background:#fff}
.ea-filter input:focus-visible{outline:2px solid #222;outline-offset:2px}
.ea-page .cp-table td,.ea-page .cp-table th{vertical-align:top}
.ea-page .cp-table small{display:block;color:#606060;font-size:12px;margin-top:2px}
.ea-page .cp-table a{color:inherit}
.ea-sources ol{padding-left:22px;margin:0;font-size:14px;line-height:1.7}
.ea-sources li{overflow-wrap:anywhere}
.ea-codes{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0}
.ea-codes li{font-size:12px;padding:3px 8px;border-radius:8px;background:#f9f9f9}
.ea-page dl.cp-business-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ea-page dl.cp-business-facts>div{background:#f9f9f9;border-radius:8px;padding:14px 16px}
.ea-page dl.cp-business-facts dt{font-size:11px;color:#606060;margin:0 0 4px}
.ea-page dl.cp-business-facts dd{margin:0;font-size:14px;overflow-wrap:anywhere}
.ea-links{margin:40px 0 8px;padding:28px 0 0;border-top:1px solid #ededed}
.ea-links h2{font-size:clamp(20px,3vw,26px);font-weight:500;letter-spacing:-.03em;margin:0 0 6px}
.ea-links p{font-size:13px;color:#5e5e5e;margin:0 0 14px}
.ea-links .cp-related-grid{margin-bottom:14px}
.ea-region-links{display:flex;flex-wrap:wrap;gap:6px 12px;list-style:none;padding:0;margin:0;font-size:13px}
.ea-region-links a{color:#222}
[data-ea-row][hidden]{display:none}
@media (max-width:900px){.company-profile.ea-page .cp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.company-profile.ea-page .cp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.ea-page dl.cp-business-facts{grid-template-columns:1fr}.ea-legend{justify-content:flex-start}}
@media (max-width:360px){.company-profile.ea-page .cp-facts{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.ea-chamber g[data-party]{transition:none}}
