/* A neutral identity for the independent candidate; LO uses the established red palette. */
body[data-tone="neutral"],.candidate[data-tone="neutral"] {
  --highlight:#d8dde5;--solid:#bfc7d3;--tint:#23262e;--edge:#525a69;
  --reference-muted:#c2c7ce;--reference-edge:#535b68;--reference-active:#bfc7d3;
  --reference-halo:#292e36;--reference-mast:#1d2027;--reference-hero:#3b434f;
  --reference-base:#15181d;--reference-band:#252b34;--reference-card:#1d222a;
  --reference-open-edge:#939fad;--reference-glow:#bfc7d333;--reference-link:#e3e7ed;
  --reference-open-line:#939fad;--reference-open:#3b434f;--reference-focus:#4a5665;--reference-nested:#2d343e;
}
body[data-tone="neutral"] .hero {background:linear-gradient(125deg,#353b47,#1d2027)}
body[data-tone="neutral"] .hero img {object-position:50% 18%}
.candidate-logo-placeholder {display:block;width:100%;height:3.25rem;background:#fff;border-radius:.35rem}
@media(max-width:580px) {.candidate-logo-placeholder {height:3rem}}
body[data-additional-candidate] #programme > h2 {white-space:normal}
body[data-additional-candidate] #programme > h2 .programme-status {white-space:normal;overflow-wrap:anywhere;font-size:.875rem;line-height:1.45}

/* New identities reuse the shared section hierarchy and existing polling colours. */
body[data-tone="slate"],.candidate[data-tone="slate"] {
 --highlight:#c0d0e4;--solid:#9cabc2;--tint:#202734;--edge:#526278;
 --reference-muted:#c0c9d6;--reference-edge:#526278;--reference-active:#9cabc2;
 --reference-halo:#242f40;--reference-mast:#1b222e;--reference-hero:#394b64;
 --reference-base:#121a25;--reference-band:#243248;--reference-card:#1c2634;
 --reference-open-edge:#91a8c5;--reference-glow:#9cabc233;--reference-link:#d5e5fb;
 --reference-open-line:#91a8c5;--reference-open:#354961;--reference-focus:#435b77;--reference-nested:#273a50;
}
body[data-tone="green"],.candidate[data-tone="green"] {
 --highlight:#9ee0b8;--solid:#51b67e;--tint:#132b20;--edge:#3f6e53;
 --reference-muted:#bbd0c3;--reference-edge:#3f6e53;--reference-active:#51b67e;
 --reference-halo:#173d2b;--reference-mast:#11271d;--reference-hero:#1f563b;
 --reference-base:#0d1c15;--reference-band:#123a25;--reference-card:#15281e;
 --reference-open-edge:#6dbd8c;--reference-glow:#51b67e33;--reference-link:#a8edc2;
 --reference-open-line:#6dbd8c;--reference-open:#24553a;--reference-focus:#326b49;--reference-nested:#1b3d2b;
}
body[data-additional-candidate="dominique-de-villepin"] .hero img,
body[data-additional-candidate="marine-tondelier"] .hero img {object-position:center top}

.candidate.marine-tondelier > img {background:#f0f6ec;border-radius:5px;padding:3px}

body[data-additional-candidate="dominique-de-villepin"] .candidate-portrait-frame {display:block;overflow:hidden;min-width:0}
body[data-additional-candidate="dominique-de-villepin"] .candidate-portrait-frame img {transform:scale(2.1);transform-origin:50% 10%}
body[data-additional-candidate="dominique-de-villepin"] .votes-candidate .candidate-portrait-frame {width:88px;height:96px;flex:0 0 88px;border-radius:12px}
@media(max-width:540px) {body[data-additional-candidate="dominique-de-villepin"] .votes-candidate .candidate-portrait-frame {width:65px;height:78px;flex-basis:65px;border-radius:9px}}
body[data-additional-candidate="marine-tondelier"] .hero > div {min-width:0}
body[data-additional-candidate="marine-tondelier"] .hero .badge {max-width:100%;white-space:normal;overflow-wrap:normal}
