/* Scrutin — isoloir aux couleurs de interp.ch (clair ou sombre selon l'appareil, comme le site).
   Uniquement des couleurs et des polices : le fonctionnement de Belenios n'est pas modifié. */
@font-face{font-family:'Red Hat Display';font-weight:500 900;font-display:swap;src:url(/marque/fonts/RedHatDisplay-500-900-normal-latin.woff2) format('woff2')}
@font-face{font-family:'Red Hat Display';font-weight:500 900;font-display:swap;src:url(/marque/fonts/RedHatDisplay-500-900-normal-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F}
@font-face{font-family:'Red Hat Text';font-weight:400 700;font-display:swap;src:url(/marque/fonts/RedHatText-400-700-normal-latin.woff2) format('woff2')}
@font-face{font-family:'Red Hat Text';font-weight:400 700;font-display:swap;src:url(/marque/fonts/RedHatText-400-700-normal-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F}
:root{
  --accent:#d81e00; --accent-hover:color-mix(in srgb,#d81e00 82%,#000); --accent-active:color-mix(in srgb,#d81e00 68%,#000);
  --accent-soft:color-mix(in srgb,#d81e00 10%,#fbf9f5); --box-blue:color-mix(in srgb,#d81e00 8%,#fbf9f5);
  --font-light:#ffffff; --font-dark:#1d1b18; --font-muted:#6b645b; --alert-text:#d81e00;
  --background-light:#fbf9f5; --body-background:#f4f0e9; --surface-subtle:#f7f3ec;
  --border-subtle:#e3dccf; --border-input:#a39d94; --border-input-hover:#6b645b;
  --header-background:#d81e00; --header-background-solid:#d81e00; --header-font:#ffffff;
  --footer-background:#1d1b18; --footer-font:#d5cfc5; --footer-link-font:#ffffff;
  --progress-active:#d81e00; --progress-inactive:#d5cfc5; --vote-nav-background:#3a3631;
  --review-ballot-background:color-mix(in srgb,#d81e00 8%,#fbf9f5);
  --button-default:#ebe5db; --button-default-hover:#e3dccf; --button-default-active:#d5cfc5;
  --button-white:#fbf9f5; --button-white-hover:#f4f0e9; --button-white-active:#ebe5db;
  --button-grey:#3a3631; --button-grey-hover:#1d1b18; --button-grey-active:#000;
  --candidate-background:#f7f3ec; --candidate-background-hover:#efe8dd;
  --candidate-background-checked:color-mix(in srgb,#d81e00 16%,#fbf9f5); --candidate-background-checked-hover:color-mix(in srgb,#d81e00 24%,#fbf9f5);
  --candidate-checkbox-background:#ffffff; --candidate-checkbox-border:#a39d94; --candidate-checkbox-checked:#d81e00;
  --button-shadow-hover:0 4px 12px -2px color-mix(in srgb,#d81e00 30%,transparent),0 2px 6px -1px rgba(29,27,24,.12);
  --focus-ring:0 0 0 3px color-mix(in srgb,#d81e00 30%,transparent);
  --lien:#d81e00;
}
@media (prefers-color-scheme:dark){:root{
  --accent-soft:color-mix(in srgb,#d81e00 22%,#1f1f23); --box-blue:color-mix(in srgb,#d81e00 18%,#1f1f23);
  --font-dark:#ece7df; --font-muted:#a39d94; --alert-text:#ff7a5c;
  --background-light:#1f1f23; --body-background:#17171a; --surface-subtle:#24242a;
  --border-subtle:#34343b; --border-input:#5a5a63; --border-input-hover:#a39d94;
  --footer-background:#0f0f11; --footer-font:#a39d94; --progress-inactive:#4a4a52; --vote-nav-background:#26262b;
  --review-ballot-background:color-mix(in srgb,#d81e00 18%,#1f1f23);
  --button-default:#2c2c32; --button-default-hover:#37373e; --button-default-active:#44444c;
  --button-white:#24242a; --button-white-hover:#2c2c32; --button-white-active:#37373e;
  --button-grey:#3a3a42; --button-grey-hover:#4a4a52; --button-grey-active:#5a5a63;
  --candidate-background:#24242a; --candidate-background-hover:#2c2c32;
  --candidate-background-checked:color-mix(in srgb,#d81e00 35%,#1f1f23); --candidate-background-checked-hover:color-mix(in srgb,#d81e00 45%,#1f1f23);
  --candidate-checkbox-background:#17171a; --candidate-checkbox-border:#5a5a63;
  --lien:#ff7a5c;
}
  body{color:var(--font-dark)}
  #main,.review-encrypt-section__smart-ballot-tracker,.preferential-voting__candidate,.preferential-voting-without-equality__candidate,
  .majority-judgment-vote-big-candidates-list--wide{background:var(--background-light)!important;color:var(--font-dark)}
  .majority-judgment-vote-big-candidate,#page-title,#page-title-home{background:var(--surface-subtle)!important}
  input,select,textarea,.select-css{background:#17171a!important;color:#ece7df!important;border-color:#5a5a63}
  table,th,td{border-color:var(--border-subtle)}
}
html,body,button,input,select,textarea{font-family:'Red Hat Text',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
h1,h2,h3,h4{font-family:'Red Hat Display','Red Hat Text',sans-serif!important}
a{color:var(--lien)}
a:hover{color:var(--accent)}
