:root { --ink:#173c46; --text:#253f48; --muted:#65777d; --line:#dce6e5; --paper:#f7faf9; --white:#fff; --teal:#0f9f96; --violet:#6775c9; --pale:#e9f5f3; --shadow:0 14px 42px rgba(21,63,70,.055); }
    * { box-sizing:border-box; }
    html { scroll-behavior:smooth; }
    body { margin:0; background:var(--paper); color:var(--text); font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; line-height:1.5; }
    button,input,select { font:inherit; }
    button { cursor:pointer; }
    a { color:inherit; }
    .shell { max-width:1232px; padding:0 28px; margin:0 auto; }
    /* demo-strip removed in production */
    .topbar { background:rgba(255,255,255,.96); border-bottom:1px solid var(--line); }
    .topbar-inner { min-height:82px; display:flex; align-items:center; gap:36px; }
    .brand { display:inline-flex; align-items:center; gap:10px; text-decoration:none; white-space:nowrap; flex:none; }
    .brand-mark { width:42px; height:42px; flex:none; }
    .brand-name { color:var(--ink); font-size:25px; font-weight:800; letter-spacing:-1.5px; line-height:1; }
    .brand-name span { color:var(--teal); }
    .nav { display:flex; align-items:center; gap:32px; margin-left:auto; }
    .nav a,.nav button { border:0; background:none; color:#496168; padding:8px 0; font-size:14px; text-decoration:none; font-weight:650; }
    .nav a:hover,.nav button:hover { color:var(--teal); }
    .top-cta { border:1px solid #b8ddda; background:#f0faf8; color:#117b76; border-radius:10px; padding:10px 16px; font-weight:750; white-space:nowrap; }
    .top-cta:hover { background:#e2f4f0; }
    .mobile-nav { display:none; }
    .home-hero { margin:34px 0 54px; background:#173c46; border-radius:24px; min-height:275px; overflow:hidden; position:relative; display:flex; align-items:center; box-shadow:var(--shadow); }
    .home-hero:after { content:""; position:absolute; width:550px; height:550px; border:1px solid rgba(255,255,255,.1); border-radius:50%; right:-108px; top:-148px; box-shadow:0 0 0 100px rgba(255,255,255,.018),0 0 0 200px rgba(255,255,255,.018); }
    .hero-copy { position:relative; z-index:1; padding:40px 48px; max-width:740px; }
    .eyebrow { margin:0 0 11px; color:#66c8bb; font-size:11px; font-weight:850; text-transform:uppercase; letter-spacing:.16em; }
    h1,h2,h3,p { margin-top:0; }
    .hero-copy h1 { color:#fff; font-size:clamp(31px,4vw,46px); line-height:1.11; margin:0 0 13px; letter-spacing:-.045em; }
    .hero-copy p:not(.eyebrow) { color:#d3e3e4; font-size:15px; max-width:540px; margin:0 0 23px; }
    .hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px; }
    .btn { border:0; padding:12px 19px; border-radius:10px; font-weight:800; font-size:14px; display:inline-flex; gap:10px; align-items:center; justify-content:center; text-decoration:none; transition:transform .15s,background .15s; }
    .btn:hover { transform:translateY(-1px); }
    .btn-light { background:#fff; color:#16444a; }
    .btn-primary { background:var(--teal); color:#fff; }
    .btn-ghost { border:1px solid var(--line); background:#fff; color:var(--ink); }
    .hero-note { font-size:12px; color:#a9c8c9; }
    .hero-art { width:318px; height:250px; position:absolute; right:60px; top:12px; z-index:1; opacity:.9; }
    .hero-art-deco { width:100%; height:100%; display:block; }
    .hero-art-deco[hidden], .hero-radar[hidden] { display:none !important; }
    .hero-radar { width:100%; height:100%; display:grid; place-items:center; }
    .hero-radar .hero-chart { width:100%; height:auto; max-height:100%; display:block; }
    .home-hero.has-visitor-radar .hero-art { opacity:.95; }
    .section-heading { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:22px; }
    .section-heading h2 { font-size:27px; letter-spacing:-.035em; color:var(--ink); margin:0 0 4px; line-height:1.2; }
    .section-heading p { color:var(--muted); font-size:14px; margin:0; }
    .count { font-size:13px; color:var(--muted); white-space:nowrap; }
    .toolbar { display:grid; grid-template-columns:minmax(230px,1.7fr) minmax(175px,1fr) minmax(175px,1fr); gap:12px; margin-bottom:20px; }
    .field { position:relative; }
    .field input,.field select { width:100%; min-height:48px; border:1px solid #d7e2e0; border-radius:11px; background:#fff; color:var(--ink); padding:0 15px; outline:none; font-size:14px; }
    .field input { padding-left:43px; }
    .field input:focus,.field select:focus { border-color:#61b8af; box-shadow:0 0 0 3px #daf2ed; }
    .search-icon { position:absolute; left:15px; top:15px; width:18px; height:18px; stroke:#78908f; fill:none; stroke-width:2; pointer-events:none; }
    .party-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
    .party-card { border:1px solid var(--line); border-radius:18px; background:#fff; padding:23px; text-align:left; color:var(--text); min-width:0; box-shadow:var(--shadow); transition:transform .16s,box-shadow .16s,border-color .16s; }
    .party-card:hover { transform:translateY(-3px); border-color:#a5cfc8; box-shadow:0 18px 38px rgba(21,63,70,.11); }
    .party-card:focus-visible { outline:3px solid #69bbb3; outline-offset:3px; }
    .card-head { display:flex; align-items:center; gap:12px; min-height:47px; }
    .party-symbol { width:44px; height:44px; border-radius:12px; display:grid; place-items:center; font-weight:800; font-size:16px; flex:none; }
    .card-title { color:var(--ink); font-size:17px; font-weight:800; line-height:1.22; margin:0; }
    .card-meta { color:var(--muted); font-size:12px; margin-top:3px; }
    .mini-chart { width:100%; height:210px; display:block; margin:12px auto 3px; }
    .card-foot { border-top:1px solid #edf1f0; padding-top:15px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
    .card-foot span:first-child { color:#698081; font-size:12px; }
    .empty { grid-column:1/-1; border:1px dashed #bfcecb; border-radius:16px; padding:44px 24px; text-align:center; color:var(--muted); background:#fff; }
    .info-row { display:grid; grid-template-columns:1fr; gap:20px; margin:60px 0 70px; max-width:560px; }
    .info-tile { padding:28px; border:1px solid var(--line); border-radius:18px; background:#fff; }
    .info-icon { display:inline-grid; place-items:center; width:36px; height:36px; border-radius:10px; color:var(--teal); background:#eaf6f4; font-weight:850; margin-bottom:14px; }
    .info-tile h3 { color:var(--ink); margin:0 0 7px; font-size:17px; }
    .info-tile p { color:var(--muted); font-size:13px; line-height:1.62; margin:0; }
    .footer { background:#fff; border-top:1px solid var(--line); padding:24px 0; margin-top:30px; }
    .footer-inner { display:flex; flex-direction:column; gap:12px; color:#75878a; font-size:12px; }
    .footer-row { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }
    .footer-disclaimer { margin:0; max-width:52rem; line-height:1.55; color:#6a7d80; }
    .footer strong { color:var(--ink); }
    .methodology-disclaimer { color:var(--muted); font-size:14px; line-height:1.55; margin:0 0 18px; padding:12px 14px; border:1px solid var(--line); border-radius:12px; background:#f7fbfa; }
    .detail { padding-top:30px; }
    .crumb { border:0; background:none; color:#6b7f83; font-size:13px; font-weight:700; padding:0; margin-bottom:25px; }
    .crumb:hover { color:var(--teal); }
    .detail-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:25px; }
    .detail-identity { display:flex; align-items:center; gap:15px; }
    .detail-identity .party-symbol { width:58px; height:58px; font-size:19px; border-radius:15px; }
    .detail-identity h1 { font-size:32px; color:var(--ink); margin:0 0 2px; line-height:1.15; letter-spacing:-.04em; }
    .detail-identity p { margin:0; font-size:13px; color:var(--muted); }
    .stamp { border:1px solid #d9e7e5; background:#fff; padding:8px 12px; border-radius:9px; color:#64807e; font-size:12px; white-space:nowrap; }
    .tabs { display:flex; gap:27px; border-bottom:1px solid var(--line); margin-bottom:24px; }
    .tab { border:0; border-bottom:2px solid transparent; background:none; color:#687c80; padding:0 1px 13px; font-size:14px; font-weight:750; }
    .tab.active { color:var(--ink); border-color:var(--teal); }
    .detail-top { display:grid; grid-template-columns:minmax(0,1.38fr) minmax(285px,.62fr); gap:20px; }
    .panel { background:#fff; border:1px solid var(--line); border-radius:18px; padding:25px; }
    .panel h2 { color:var(--ink); font-size:20px; margin:0 0 4px; letter-spacing:-.025em; }
    .panel-lead { color:var(--muted); font-size:13px; margin:0; }
    .big-chart { display:block; width:100%; max-width:580px; height:auto; margin:13px auto 0; }
    .chart-caption { color:#7c8e90; font-size:11px; text-align:center; margin-top:-5px; }
    .key-pair { display:flex; gap:10px; align-items:center; margin-top:21px; padding-top:20px; border-top:1px solid #e9efed; }
    .swatch { width:11px; height:11px; border-radius:3px; background:var(--teal); flex:none; }
    .key-pair span { font-size:12px; color:#597277; }
    .side-panel h3 { color:var(--ink); font-size:16px; margin:0 0 13px; }
    .side-panel p { color:#60767a; font-size:13px; line-height:1.65; margin:0 0 17px; }
    .scale { margin:22px 0; }
    .scale-track { height:8px; border-radius:5px; background:linear-gradient(90deg,#e8f1f1,#b7d8d5,#e8f1f1); position:relative; }
    .scale-track:after { content:""; width:2px; height:14px; background:#638589; position:absolute; left:50%; top:-3px; }
    .scale-labels { display:flex; justify-content:space-between; color:#71878a; font-size:11px; margin-top:9px; }
    .side-list { border-top:1px solid #e9efed; padding-top:18px; }
    .side-list strong { font-size:12px; color:var(--ink); display:block; margin-bottom:8px; }
    .side-list div { padding:6px 0; font-size:12px; color:#61777a; }
    .side-list div:before { content:'↗'; color:var(--teal); margin-right:9px; }
    .topics-head { margin:38px 0 15px; display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
    .topics-head h2 { color:var(--ink); font-size:23px; margin:0; letter-spacing:-.025em; }
    .topics-head span { color:var(--muted); font-size:12px; }
    .topic-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:58px; }
    .topic { background:#fff; border:1px solid var(--line); border-radius:13px; overflow:hidden; }
    .topic summary { display:flex; align-items:center; gap:15px; padding:16px 18px; list-style:none; cursor:pointer; }
    .topic summary::-webkit-details-marker { display:none; }
    .topic summary:hover { background:#f9fcfb; }
    .topic-title { color:var(--ink); font-weight:750; font-size:13px; min-width:0; flex:1; }
    .score { min-width:55px; color:var(--ink); font-size:13px; font-weight:800; text-align:right; font-variant-numeric:tabular-nums; }
    .topic-chevron { color:#9cafae; font-size:17px; margin-left:2px; }
    .topic[open] .topic-chevron { transform:rotate(180deg); }
    .topic-fill { width:65px; height:5px; background:#e7efed; border-radius:5px; overflow:hidden; }
    .topic-fill i { display:block; height:100%; background:#65b8ae; border-radius:5px; }
    .topic-body { padding:0 18px 19px; color:#5f7579; font-size:12px; border-top:1px solid #eef2f1; }
    .pole-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; padding:15px 0; }
    .pole-row div { line-height:1.45; }
    .pole-row strong { display:block; color:#89999b; text-transform:uppercase; font-size:10px; letter-spacing:.08em; margin-bottom:5px; }
    .future { padding:12px 13px; background:#eff7f5; color:#476d6a; border-radius:8px; line-height:1.45; }
    .future strong { color:#185852; }
    .content-panel { min-height:480px; margin-bottom:55px; }
    .selection { margin:22px 0; max-width:400px; }
    .selection label { display:block; font-size:12px; font-weight:700; color:var(--muted); margin-bottom:6px; }
    .selection select { border:1px solid var(--line); background:#fff; padding:10px 13px; border-radius:9px; min-width:260px; color:var(--ink); }
    .history-chart { width:100%; height:auto; display:block; margin:10px 0; }
    .source-list { margin-top:18px; }
    .source-row { padding:20px 0; border-bottom:1px solid #e9eeed; }
    .source-row:last-child { border-bottom:0; }
    .source-type { color:#188b83; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
    .source-row h3 { color:var(--ink); font-size:16px; margin:5px 0; }
    .source-row p { color:#687d80; font-size:13px; margin:0; }
    .muted-banner { background:#f0f7f5; color:#537570; padding:10px 14px; border-radius:9px; font-size:12px; margin-top:15px; }
    .modal-backdrop { position:fixed; inset:0; z-index:10; background:rgba(14,39,43,.56); display:grid; place-items:center; padding:20px; }
    .modal { width:min(460px,100%); border-radius:19px; background:#fff; padding:32px; box-shadow:0 25px 90px rgba(0,0,0,.2); position:relative; }
    .modal h2 { color:var(--ink); font-size:25px; margin:0 0 10px; letter-spacing:-.03em; }
    .modal p { color:#61777a; font-size:14px; line-height:1.65; }
    .close { position:absolute; right:18px; top:15px; border:0; background:#eff4f3; color:#486366; border-radius:8px; width:34px; height:34px; font-size:20px; }
    [hidden] { display:none!important; }
    @media (max-width:1020px) { .party-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .hero-art { right:-35px; opacity:.45; } .detail-top { grid-template-columns:1fr; } .side-panel { display:grid; grid-template-columns:1fr 1fr; gap:0 28px; } .side-panel h3 { grid-column:1/-1; } }
    @media (max-width:700px) { .shell { padding:0 18px; } .topbar-inner { min-height:68px; gap:12px; } .brand-name { font-size:22px; } .brand-mark { width:37px; height:37px; } .nav,.top-cta { display:none; } .mobile-nav { display:inline-flex; align-items:center; gap:6px; margin-left:auto; border:0; background:none; color:var(--ink); font-size:12px; font-weight:750; } .home-hero { margin:20px 0 42px; min-height:295px; border-radius:18px; } .hero-copy { padding:32px 24px; } .hero-copy h1 { font-size:34px; } .hero-copy p:not(.eyebrow) { font-size:14px; } .hero-art { width:220px; height:220px; right:-98px; top:25px; opacity:.25; } .section-heading { align-items:flex-start; } .section-heading h2 { font-size:24px; } .toolbar { grid-template-columns:1fr 1fr; } .toolbar .field:first-child { grid-column:1/-1; } .party-grid { grid-template-columns:1fr; } .party-card { padding:20px; } .mini-chart { height:200px; } .info-row { grid-template-columns:1fr; margin:43px 0; } .footer-row { flex-direction:column; } .detail-head { flex-direction:column; } .detail-identity h1 { font-size:26px; } .stamp { margin-left:73px; } .tabs { gap:24px; } .panel { padding:18px; } .side-panel { display:block; } .topic-grid { grid-template-columns:1fr; } .topics-head { display:block; } .topics-head span { display:block; margin-top:4px; } }
    @media (max-width:380px) { .toolbar { grid-template-columns:1fr; } .toolbar .field:first-child { grid-column:auto; } .hero-copy h1 { font-size:30px; } .topic-fill { width:50px; } .detail-identity .party-symbol { width:48px; height:48px; } .stamp { margin-left:63px; } }
    @media (prefers-reduced-motion:reduce) { *,*:before,*:after { scroll-behavior:auto!important; transition:none!important; } }

.seg { display:inline-flex; border:1px solid var(--line); border-radius:10px; overflow:hidden; margin:16px 0; }
.seg a,.seg button { border:0; background:#fff; color:#687c80; padding:10px 14px; font-size:13px; font-weight:750; text-decoration:none; }
.seg .active { background:#eaf6f4; color:var(--ink); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.score-table { width:100%; border-collapse:collapse; margin-top:16px; font-size:13px; }
.score-table th,.score-table td { text-align:left; padding:8px 6px; border-bottom:1px solid #e9efed; }
.admin-wrap { max-width:960px; margin:40px auto; padding:0 20px; }
.admin-wrap form { display:grid; gap:12px; }
.admin-wrap label { font-size:13px; font-weight:700; color:var(--muted); }
.admin-wrap input,.admin-wrap textarea,.admin-wrap select { min-height:44px; border:1px solid var(--line); border-radius:10px; padding:10px 12px; }
.admin-wrap textarea { min-height:100px; }
.flash { background:#eaf6f4; color:#185852; padding:10px 14px; border-radius:9px; margin-bottom:16px; }
.errors { background:#fce8e8; color:#c92a2a; padding:10px 14px; border-radius:9px; margin-bottom:16px; }
.page-prose { max-width:720px; }
.page-prose h1 { color:var(--ink); letter-spacing:-.03em; }
.page-prose p,.page-prose li { color:#5f7579; line-height:1.7; }
.little-data { text-align:center; color:var(--muted); font-size:13px; font-weight:700; margin-top:-8px; }
a.tab { text-decoration:none; }
a.top-cta { text-decoration:none; display:inline-flex; align-items:center; }
.match-page { padding-top:28px; padding-bottom:56px; overflow-x:hidden; max-width:100%; }
.match-head { margin-bottom:28px; max-width:720px; }
.match-head h1 { color:var(--ink); font-size:clamp(28px,4vw,38px); letter-spacing:-.04em; margin:0 0 10px; }
.match-lead { color:#5f7579; font-size:15px; margin:0 0 8px; line-height:1.6; }
.match-scale-note { color:var(--teal); font-size:13px; font-weight:700; margin:0; }
.match-layout { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:20px; align-items:start; min-width:0; }
.match-chart-panel,.match-sliders-panel { min-width:0; }
.match-chart-panel .match-radar { min-height:280px; max-width:100%; overflow:hidden; }
.match-chart-panel .match-radar svg { display:block; width:100%; height:auto; max-width:100%; }
.match-legend { list-style:none; padding:0; margin:14px 0 0; display:grid; gap:6px; border-top:1px solid #e9efed; padding-top:14px; }
.match-legend-item { margin:0; min-width:0; }
.match-legend-static,.match-legend-toggle {
  display:flex; align-items:center; gap:8px; width:100%;
  font-size:12px; color:#597277; text-align:left; line-height:1.3;
}
.match-legend-toggle {
  margin:0; padding:6px 8px; border:0; border-radius:8px;
  background:transparent; cursor:pointer; font:inherit;
}
.match-legend-toggle:hover { background:#eaf6f4; color:var(--ink); }
.match-legend-toggle:focus-visible { outline:3px solid #69bbb3; outline-offset:2px; }
.match-legend-toggle.is-off { opacity:.48; color:#8a9a9c; }
.match-legend-toggle.is-off .swatch { filter:grayscale(1); opacity:.55; }
.match-legend-you .match-legend-static { padding:6px 8px; font-weight:750; color:var(--ink); }
.match-sliders-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:4px; }
.match-sliders-head h2 { margin:0; }
.match-clear { padding:8px 12px; font-size:13px; }
.match-prefs { margin-top:18px; min-width:0; }
.match-axis {
  box-sizing:border-box;
  padding:16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fbfdfe;
  min-width:0;
}
.match-axis[hidden] { display:none !important; }
.match-axis-top { display:flex; justify-content:space-between; align-items:baseline; gap:10px; margin-bottom:6px; }
.match-axis-top label { color:var(--ink); font-weight:750; font-size:15px; line-height:1.35; }
.match-axis-value { font-variant-numeric:tabular-nums; font-weight:800; color:var(--teal); min-width:1.5em; text-align:right; }
.match-poles { display:flex; justify-content:space-between; gap:12px; font-size:11px; color:#71878a; margin-bottom:8px; line-height:1.35; }
.match-axis input[type=range] { width:100%; accent-color:var(--teal); height:28px; }
.match-axis-hint-row { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:6px; }
.match-axis-hint { margin:0; font-size:11px; color:#8a9a9c; flex:1; min-width:0; }
.match-axis-expand {
  flex:none;
  width:28px;
  height:28px;
  margin:0;
  padding:0;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#9cafae;
  display:inline-grid;
  place-items:center;
  line-height:0;
}
.match-axis-expand svg { display:block; transition:transform .15s ease; }
.match-axis-expand:hover { color:var(--teal); background:#eaf6f4; }
.match-axis-expand:focus-visible { outline:3px solid #69bbb3; outline-offset:2px; color:var(--teal); }
.match-axis-expand[aria-expanded="true"] { color:var(--teal); background:#eaf6f4; }
.match-axis-expand[aria-expanded="true"] svg { transform:rotate(180deg); }
.match-axis-explain {
  margin-top:10px;
  padding:12px 14px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:10px;
  color:#5f7579;
  font-size:12px;
  line-height:1.55;
}
.match-axis-explain-lead { margin:0 0 10px; }
.match-axis-positions { margin:0; padding:0; list-style:none; display:grid; gap:8px; }
.match-axis-positions strong { color:var(--ink); font-weight:750; margin-right:4px; }
.match-axis-explain-link { margin:12px 0 0; }
.match-axis-explain-link a,.match-method-link a { color:#0b827c; font-weight:750; text-decoration:underline; text-underline-offset:2px; }
.match-axis-explain-link a:hover,.match-method-link a:hover { color:var(--teal); }
.match-method-link { margin:8px 0 0; font-size:13px; }
.match-radar .radar-axis-hit { cursor:pointer; }
.match-radar .radar-axis-hit:focus { outline:none; }
.match-radar .radar-axis-hit:focus-visible .radar-axis-hit-area {
  stroke:#69bbb3;
  stroke-width:1.5;
  stroke-opacity:.55;
  fill:rgba(15,159,150,.06);
}
.match-radar .radar-axis-hit:hover .radar-axis-label { fill:var(--teal); }
.match-radar .radar-axis-badge-num {
  pointer-events:none;
  font-variant-numeric:tabular-nums;
}
.match-radar .radar-axis-pill { pointer-events:none; }
.match-actions { margin-top:22px; display:flex; flex-wrap:wrap; align-items:center; gap:14px; }
.match-hint { margin:0; font-size:13px; color:var(--muted); }
.match-results { margin-top:24px; }
.match-empty { margin-top:18px; }
.match-agree-wrap { margin-top:18px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.match-agree-table { width:100%; min-width:max-content; border-collapse:collapse; font-size:13px; }
.match-agree-table th,.match-agree-table td {
  padding:10px 12px; border-bottom:1px solid #e9efed; text-align:center;
  font-variant-numeric:tabular-nums; white-space:nowrap;
}
.match-agree-table thead th {
  color:#5f7579; font-weight:750; font-size:12px;
  border-bottom:1px solid #d7e3e1; background:#f7fbfa;
}
.match-agree-table tbody th[scope="row"] {
  text-align:left; color:var(--ink); font-weight:750; position:sticky; left:0;
  background:#fff; z-index:1; box-shadow:1px 0 0 #e9efed;
}
.match-agree-table td { color:var(--ink); font-weight:700; }
.match-agree-table [data-party-col].is-party-hidden { display:none; }
.match-excluded { margin-top:28px; padding-top:18px; border-top:1px solid #e9efed; }
.match-excluded h3 { font-size:15px; color:var(--ink); margin:0 0 10px; }
.match-excluded ul { margin:0; padding-left:18px; color:#61777a; font-size:13px; }
.match-excluded li { margin-bottom:6px; }
.party-summary { margin-bottom:20px; }
.party-summary h2 { margin-bottom:8px; }
.party-summary-body { color:#5f7579; font-size:14px; line-height:1.65; margin:0 0 10px; }
.party-summary-source { margin:0; font-size:13px; }
.party-summary-source a { color:#0b827c; font-weight:750; text-decoration:underline; text-underline-offset:2px; }
.party-summary-source a:hover { color:var(--teal); }
.party-profile-layout { margin-bottom:48px; }
.party-axis-name { color:var(--ink); font-weight:750; font-size:15px; line-height:1.35; }
.party-axis-band { margin:12px 0 0; color:#5f7579; font-size:13px; line-height:1.55; }
.party-axis-missing { color:#8a9a9c; }
.party-radar .radar-axis-hit { cursor:pointer; }
.party-radar .radar-axis-hit:focus { outline:none; }
.party-radar .radar-axis-hit:focus-visible .radar-axis-hit-area {
  stroke:#69bbb3;
  stroke-width:1.5;
  stroke-opacity:.55;
  fill:rgba(15,159,150,.06);
}
.party-radar .radar-axis-hit:hover .radar-axis-label { fill:var(--teal); }
.party-radar .radar-axis-badge-num { pointer-events:none; font-variant-numeric:tabular-nums; }
.party-radar .radar-axis-pill { pointer-events:none; }
.radar-axis-icon { pointer-events:none; }
/* Homepage party cards: chart-dominant, icon-only axis marks, tight around chart */
.party-card.home-party-card { padding:16px 14px 12px; }
.party-card.home-party-card .card-head { min-height:0; margin:0; }
.party-card .home-radar { margin:2px 0 0; }
.party-card .home-radar .card-chart {
  width:100%;
  height:auto;
  display:block;
  margin:0 auto;
  aspect-ratio:320 / 300;
}
.party-card .home-radar .radar-icon-label { pointer-events:none; }
.campaign-section { margin:0 0 36px; }
.campaign-tags { display:flex; flex-wrap:wrap; gap:12px; }
.campaign-tag {
  appearance:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:16px;
  padding:14px 18px;
  text-align:left;
  cursor:pointer;
  box-shadow:var(--shadow);
  color:var(--ink);
  min-width:148px;
  transition:border-color .15s, box-shadow .15s, transform .15s, background .15s;
}
.campaign-tag:hover { border-color:#a5cfc8; transform:translateY(-2px); }
.campaign-tag:focus-visible { outline:3px solid #69bbb3; outline-offset:3px; }
.campaign-tag.is-on {
  border-color:#0f9f96;
  background:#eaf6f4;
  box-shadow:0 10px 24px rgba(15,159,150,.16);
}
.campaign-tag-year { display:block; font-size:22px; font-weight:850; line-height:1.1; color:var(--ink); }
.campaign-tag-kind { display:block; margin-top:4px; font-size:13px; font-weight:650; color:#5f7579; text-transform:lowercase; }
.campaign-tag-place { display:block; margin-top:2px; font-size:15px; font-weight:750; color:var(--teal); }
@media (max-width:700px) {
  .party-card.home-party-card { padding:14px 12px 10px; }
  .party-card .home-radar { margin:0; }
  .party-card .home-radar .card-chart { aspect-ratio:320 / 300; }
  .campaign-tag { min-width:132px; padding:12px 14px; }
}
@media (max-width:900px) {
  .match-layout { grid-template-columns:1fr; }
  .match-sliders-panel { order:2; }
  .match-chart-panel { order:1; }
}
@media (prefers-reduced-motion:reduce) {
  .match-axis-expand svg { transition:none; }
}
