/* Shared compact presentation; source data and candidate palettes stay separate. */
body[data-tone] #programme .programme-official-compact {
  display:inline-flex;
  align-items:center;
  max-width:100%;
  min-height:44px;
  padding:8px 10px;
  color:var(--tint);
  background:var(--highlight);
  border-color:var(--highlight);
  font-size:clamp(.875rem,3.7vw,1rem);
  letter-spacing:-.02em;
  white-space:nowrap;
}
body[data-tone] #programme .programme-official-compact:hover { filter:brightness(1.07); }
body[data-tone] #programme .programme-official-compact:focus-visible { outline:3px solid var(--highlight);outline-offset:4px; }
#votes > h2 { white-space:nowrap; }
#votes-emblematiques .votes-filter-label {
  position:absolute;
  width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip-path:inset(50%);white-space:nowrap;border:0;
}
#votes-emblematiques .votes-topic-filter { width:100%;margin:12px 0 18px; }
#votes-emblematiques .votes-topic-filter { position:relative; }
#votes-emblematiques .votes-theme-trigger {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  width:100%; min-height:46px; padding:10px 14px;
  border:1px solid var(--line); border-radius:9px;
  color:var(--ink); background:var(--tint);
  text-align:left; font:650 1rem/1.4 Inter,system-ui,sans-serif;
}
#votes-emblematiques .votes-theme-trigger::after {
  content:""; flex:0 0 9px; height:9px; margin:0 4px 4px;
  border-right:2px solid var(--highlight); border-bottom:2px solid var(--highlight);
  transform:rotate(45deg);
}
#votes-emblematiques .votes-theme-trigger[aria-expanded="true"]::after { transform:rotate(225deg); margin-block:4px 0; }
#votes-emblematiques .votes-theme-menu {
  position:absolute; z-index:20; inset:calc(100% + 6px) 0 auto;
  padding:5px; overflow-y:auto; overscroll-behavior:contain;
  border:1px solid var(--highlight); border-radius:9px;
  color:var(--ink); background:color-mix(in srgb,var(--highlight) 13%,#111116);
  box-shadow:0 10px 30px #0008;
}
#votes-emblematiques .votes-theme-menu[hidden] { display:none; }
#votes-emblematiques .votes-menu-above .votes-theme-menu { inset:auto 0 calc(100% + 6px); }
#votes-emblematiques .votes-theme-option {
  display:block; width:100%; min-height:44px; padding:10px;
  border:1px solid transparent; border-radius:5px; text-align:left;
  color:var(--ink); background:transparent; font:500 1rem/1.4 Inter,system-ui,sans-serif;
}
#votes-emblematiques .votes-theme-option[aria-selected="true"] { color:var(--highlight); background:var(--tint); font-weight:750; }
#votes-emblematiques .votes-theme-option:hover { background:var(--tint); border-color:var(--line); }
#votes-emblematiques :is(.votes-theme-trigger,.votes-theme-option):focus-visible { outline:2px solid var(--highlight); outline-offset:-3px; }
#votes-emblematiques .vote-topic { margin:18px 0 24px; }
#votes-emblematiques .vote-topic[hidden] { display:none; }
#votes-emblematiques .vote-topic > h3 { margin-bottom:12px; }
#votes-emblematiques .emblematic-vote { margin-bottom:12px;font:400 1rem/1.55 Inter,system-ui,sans-serif; }
#votes-emblematiques .vote-card-header { padding:12px 48px 12px 13px; }
#votes-emblematiques .vote-card-header .vote-date { font-size:.8125rem;line-height:1.4;margin-bottom:5px; }
#votes-emblematiques .vote-card-header .vote-title {
  font:750 1rem/1.4 "JetBrains Mono",monospace;
  letter-spacing:.015em;text-transform:uppercase;
}
#votes-emblematiques .vote-expand-icon { right:12px;width:25px;height:25px;top:calc(50% - 12.5px);font-size:1.1rem; }
#votes-emblematiques .vote-card-content { padding:12px 13px; }
#votes-emblematiques .vote-decision-row {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:10px 12px;padding-bottom:14px;margin-bottom:16px;
}
#votes-emblematiques .vote-decision-row.vote-assembly-only { grid-template-columns:minmax(0,1fr); }
#votes-emblematiques .votes-candidate-context { margin:12px 0 18px;font-size:1rem;line-height:1.55; }
#votes-emblematiques .votes-candidate-context p { margin:0 0 10px; }
#votes-emblematiques .votes-context-source { font-size:.875rem;overflow-wrap:anywhere; }
#votes-emblematiques .vote-decision-label {
  margin-bottom:5px;
  font:650 .75rem/1.35 Inter,system-ui,sans-serif;
  letter-spacing:0;text-transform:none;
}
#votes-emblematiques .vote-position {
  padding:4px 7px;border-left-width:3px;
  font:800 clamp(.875rem,2.9vw,1.05rem)/1.35 Inter,system-ui,sans-serif;
  letter-spacing:0;
}
#votes-emblematiques .vote-position-censure { white-space:nowrap; }
body[data-tone] #votes-emblematiques .vote-position-contre { color:#ffaaa2;background:#4b2021;border-color:#e87970; }
#votes-emblematiques .vote-outcome { padding:3px 0;font:800 1rem/1.35 Inter,system-ui,sans-serif; }
body[data-tone] #votes-emblematiques .vote-outcome-adopted { color:#a5edc8; }
body[data-tone] #votes-emblematiques .vote-outcome-rejected { color:#ffaaa2; }
#votes-emblematiques :is(.vote-party-counts,.vote-assembly-counts) { font-size:.875rem;line-height:1.4;margin-top:5px; }
#votes-emblematiques .vote-card-note { grid-column:1/-1;font-size:.875rem;line-height:1.4;margin:0; }
#votes-emblematiques :is(.vote-measures,.vote-limits) { margin-bottom:16px; }
#votes-emblematiques .vote-reason { margin:16px 0;padding:13px 14px; }
#votes-emblematiques .vote-section-label { margin-bottom:7px;font-size:.8125rem;line-height:1.5; }
body[data-tone] #votes-emblematiques .vote-more > summary { padding:12px 32px 8px 0;font-size:.8125rem;min-height:44px; }
#votes-emblematiques .vote-more-content { padding-top:8px; }
#votes-emblematiques .vote-censure-note { margin:12px 0 0;font-size:.875rem;line-height:1.5; }
#votes-emblematiques .votes-table { margin-block:14px; }
#votes-emblematiques .votes-table caption { margin-bottom:8px; }
#votes-emblematiques .votes-mobile-groups { margin:14px 0; }
#votes-emblematiques .vote-mobile-caption { margin-bottom:8px; }
#votes-emblematiques .vote-mobile-group { padding:9px 6px; }
#votes-emblematiques .vote-mobile-group dd { margin-top:4px; }
body[data-tone] footer.image-credits > .shell { padding-block:1rem 1.25rem; }
body[data-tone] footer.image-credits h2 { margin-bottom:.6rem;font-size:.875rem; }
body[data-tone] footer.image-credits h3 { font-size:.75rem; }
body[data-tone] footer.image-credits :is(.credit,.credit-note) { font-size:.6875rem;line-height:1.55; }
body[data-tone] footer.image-credits .image-credit-item + .image-credit-item { margin-top:.7rem; }
