/* Chronos (chronos.js): Zeitleiste oben, darunter ein Fluss 1946-heute (Ereignisse links, Abstimmungen rechts,
   Bruecken, Epochen als Schilder), ein Jahr aufklappbar; nur am Computer, normale Seitenbreite */
#chronos a { text-decoration: none; }
.kicker { font: 800 11.5px var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--faint); margin: 0 0 4px; }
.kicker a { color: var(--un-deep); }
/* Abstimmung als Zeile, ganz verlinkt: Hover hellblau hinterlegt, Titel blau, sanft */
#chronos a.vrow { display: block; color: var(--ink); border-radius: 8px; padding: 6px 8px; margin: 0 -8px;
  transition: background-color .2s ease; }
#chronos a.vrow .tt { display: block; transition: color .2s ease; }
#chronos a.vrow:hover, #chronos a.vrow:focus-visible { background-color: var(--un-softer); outline: none; }
#chronos a.vrow:hover .tt, #chronos a.vrow:focus-visible .tt { color: var(--un-deep); }
#chronos a.vrow .mini { cursor: inherit; }
span.draft {
  display: inline-block; font: 800 10px var(--font-body); letter-spacing: .05em; text-transform: uppercase; vertical-align: 1px;
  background: var(--abst-bg); color: var(--abst-ink); border-radius: var(--r-pill); padding: 1px 7px;
}
#chronos .pill {
  display: inline-block; font: 700 13px/1.2 var(--font-body); border-radius: var(--r-pill); padding: 7px 13px; white-space: nowrap; cursor: pointer;
}
span.preview {
  display: inline-block; font: 800 10px var(--font-body); letter-spacing: .05em; text-transform: uppercase; vertical-align: 1px;
  background: var(--yes-bg); color: var(--yes-ink); border-radius: var(--r-pill); padding: 1px 7px;
}
#chronos a.showdrafts { font-size: 11.5px; font-weight: 700; color: var(--un); text-transform: none; letter-spacing: 0; margin-left: 4px; }
#chronos a.showdrafts:hover { text-decoration: underline; }
#chronos .pill { border: 1.5px solid var(--line); background: var(--surface); color: var(--un-deep); }
#chronos .pill:hover { border-color: var(--un); }

/* ---------- Zeitleiste: klebt mit Abstand unter dem Menue, breiter als die Seite ---------- */
.chr-planbar {
  position: sticky; top: var(--masthead-h); z-index: 20; background: var(--bg);
  margin: -4px calc(50% - 50vw) 6px; padding: 14px calc(50vw - 50%) 10px; transition: box-shadow .15s;
}
.chr-planbar[hidden] { display: none; }
.chr-planbar.stuck { box-shadow: 0 8px 16px -12px rgba(30, 50, 80, .35); }
.chr-plan { position: relative; left: 50%; transform: translateX(-50%); width: min(1200px, calc(100vw - 48px));
  background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); padding: 20px 18px 2px;
  display: flex; align-items: flex-start; gap: 10px; }
.chr-plan .planmap { flex: 1; min-width: 0; }
/* Schalter fuer die Hecken: Symbol auf Hoehe der Balken, Name auf Hoehe der Epochen */
.chr-plan .hedgetoggle { flex: none; display: flex; flex-direction: column; align-items: center; gap: 7px; height: 52px; padding: 0 8px;
  margin-left: -8px; background: none; border: 0; border-right: 1px solid #E3EAF1; border-radius: 5px 0 0 5px; cursor: pointer; }
.chr-plan .hedgetoggle:hover, .chr-plan .hedgetoggle:focus-visible { background: #F4F8FC; outline: none; }
.chr-plan .hedgetoggle svg { display: block; }
.chr-plan .hedgetoggle line { stroke: #CFDCE9; stroke-width: 3.5; stroke-linecap: round; transition: stroke .2s; }
.chr-plan .hedgetoggle[aria-pressed="true"] line { stroke: #86AFD8; }
.chr-plan .hedgetoggle span { font: 800 9.5px var(--font-body); letter-spacing: .05em; text-transform: uppercase; color: #A3B5C7; }
.chr-plan .hedgetoggle[aria-pressed="true"] span, .chr-plan .hedgetoggle:hover span { color: var(--un-deep); }
.chr-plan svg { display: block; overflow: visible; }
.chr-plan .seg { fill: transparent; }
.chr-plan g.era { cursor: pointer; outline: none; }
.chr-plan g.era:hover .seg, .chr-plan g.era:focus .seg { fill: #F4F8FC; }
.chr-plan g.era.on .seg { fill: var(--un-softer); }
.chr-plan g.era text { font: 800 9.5px var(--font-body); letter-spacing: .05em; fill: #A3B5C7; }
.chr-plan g.era.on text { fill: var(--un-deep); }
.chr-plan .sep { stroke: #E3EAF1; }
.chr-plan .yb { fill: #CFDCE9; pointer-events: none; }
.chr-plan .yb.on { fill: #86AFD8; }
.chr-plan .yb.mk { fill: var(--un-deep); }
.chr-plan .marker { pointer-events: none; transition: transform .2s; }
.chr-plan .marker path { fill: var(--un-deep); }
.chr-plan .marker text { font: 800 11px var(--font-display); fill: var(--un-deep); }
.chr-plan .marker text { transition: opacity .15s; }
.chr-plan .marker.dim text { opacity: 0; }
/* Jahr unter der Maus: hellblau, ohne Gleiten (folgt der Maus direkt) */
.chr-plan .marker.hover { opacity: 0; transition: opacity .15s; }
.chr-plan .marker.hover.show { opacity: 1; }
.chr-plan .marker.hover path { fill: #86AFD8; }
.chr-plan .marker.hover text { fill: #6F9DCB; }
.chr-plan .hit { fill: transparent; cursor: pointer; }
.chr-plan .hit:hover { fill: rgba(60, 127, 192, .12); }

/* ---------- der Fluss ---------- */
/* --gutter registriert, damit sich der Rand der Hecken weich oeffnet und schliesst */
@property --gutter { syntax: '<length>'; inherits: true; initial-value: 64px; }
.chr-river { --gutter: 64px; overflow-x: clip; transition: --gutter .3s ease; display: flex; flex-direction: column; box-sizing: border-box; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 18px 24px 20px; margin-top: 4px; }
.chr-river .rhead { position: relative; z-index: 10; margin: 0 0 12px; }
.chr-river .rhead .kicker { display: flex; align-items: center; gap: 6px; }
/* Info-Knopf am rechten Rand, gegenueber von "Chronos"; die Erklaerung gleitet darunter rechtsbuendig heraus */
.chr-river .infobtn { display: inline-flex; align-items: center; gap: 5px; margin: -3px -9px -3px auto; padding: 3px 9px 3px 4px; border: 0; border-radius: 999px;
  background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--un-deep); cursor: pointer; transition: background-color .2s ease; }
.chr-river .infobtn:hover, .chr-river .infobtn:focus-visible, .chr-river .infobtn[aria-expanded="true"] { background: var(--un-softer); outline: none; }
.chr-river .infobtn svg { display: block; }
.chr-river .infobtn circle { fill: none; stroke: currentColor; stroke-width: 1.6; }
.chr-river .infobtn circle.pt { fill: currentColor; stroke: none; }
.chr-river .infobtn line { stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.chr-river .infobox { position: absolute; top: calc(100% + 4px); right: -8px; width: min(600px, 100%); box-sizing: border-box;
  background: #fff; border: 1px solid #DCE7F2; border-radius: 14px; padding: 14px 18px 14px;
  box-shadow: 0 22px 46px -14px rgba(30, 50, 80, .28), 0 4px 12px rgba(30, 50, 80, .07);
  clip-path: inset(0 -40px 100% -40px round 14px); transform: translateY(-6px); opacity: 0; visibility: hidden;
  transition: clip-path .3s ease, transform .3s ease, opacity .2s ease, visibility 0s linear .3s; }
.chr-river .infobox.open { clip-path: inset(0 -40px -60px -40px round 14px); transform: none; opacity: 1; visibility: visible;
  transition: clip-path .3s ease, transform .3s ease, opacity .2s ease, visibility 0s; }
.chr-river .infobox .lede { margin: 0 0 8px; color: var(--muted); font-size: 14.5px; }
.chr-river .infobox .lede.note { font-size: 13px; }
.chr-river .infobox .lede.note a { color: var(--un-deep); font-weight: 700; }
.chr-river .infobox .lede.note a:hover { text-decoration: underline; }
.chr-river .infobox .legend > span:first-child { flex-basis: 100%; }
/* Epochen als Schilder ueber dem Fluss */
.chr-river .era-head { position: relative; z-index: 3; display: grid; grid-template-columns: var(--gutter) minmax(0, 1fr) 84px minmax(0, 1fr);
  justify-items: center; padding: 28px 0 14px; }
.chr-river .band + .era-head { padding-top: 6px; }
.chr-river .era-head > * { grid-column: 2 / 5; }
.chr-river .era-head .plate { display: inline-flex; align-items: baseline; gap: 10px; background: #fff; border: 2px solid #BFD6EE; border-radius: 999px;
  padding: 7px 18px; box-shadow: 0 0 0 6px var(--surface); }
.chr-river .era-head .nm { font: 700 17px var(--font-display); color: var(--ink); }
.chr-river .era-head .yy { font: 700 13px var(--font-body); color: var(--faint); white-space: nowrap; }
.chr-river .era-head .ef { margin: 8px 0 0; padding: 0 8px; font-size: 12.5px; color: var(--muted); text-align: center; background: var(--surface); }
.chr-river .era-head .ed { margin: 4px 0 0; padding: 0 8px; font-size: 13.5px; color: var(--ink); text-align: center; max-width: 60ch; background: var(--surface); }
.chr-river .cols, .chr-river .row { display: grid; grid-template-columns: var(--gutter) minmax(0, 1fr) 84px minmax(0, 1fr); }
.chr-river .cols .h { font: 800 11.5px var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding-bottom: 8px; }
.chr-river .cols .h.left { text-align: right; color: var(--faint); padding-right: 4px; }
.chr-river .cols .h.right { color: var(--un-deep); padding-left: 6px; }
.chr-river .rows { position: relative; }
/* Trommel: Kopf und Spaltenkoepfe stehen fest, der Fluss dreht sich darunter in einem festen Fenster (Hoehe setzt
   chronos.js) und blendet oben und unten weich aus wie eine Walze; die Zeitleiste ersetzt den Rollbalken */
.chr-river .drum { position: relative; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  scrollbar-width: none; padding-top: 26px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26px, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 26px, #000 calc(100% - 56px), transparent 100%); }
.chr-river .drum::-webkit-scrollbar { display: none; }
.chr-river .band { position: absolute; top: 0; bottom: -6px; left: calc(var(--gutter) + (100% - var(--gutter) - 84px) / 2 + 20px); width: 44px; border-radius: 22px;
  background: #E6F0FA url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='64'><path d='M15 0 C 9 16, 21 32, 15 48 S 9 64, 15 64' fill='none' stroke='%23D2E3F4' stroke-width='1.5'/><path d='M29 0 C 35 16, 23 32, 29 48 S 35 64, 29 64' fill='none' stroke='%23D2E3F4' stroke-width='1.5'/></svg>") repeat-y center top; }
.chr-river .row { position: relative; z-index: 1; cursor: pointer; }
.chr-river .row .bank.left { grid-column: 2; }
.chr-river .row .river { grid-column: 3; display: flex; justify-content: center; align-items: flex-start; }
.chr-river .row .bank.right { grid-column: 4; padding-left: 6px; }
.chr-river .row.event { padding: 14px 0 12px; min-height: 60px; grid-template-rows: auto auto; }
/* Ereignisjahr: die Jahreszahl sitzt auf einer feinen Linie quer ueber beide Ufer, Ereignisse und Abstimmungen darunter */
.chr-river .row.event::before { content: ''; grid-column: 2 / 5; grid-row: 1; align-self: center; height: 1px;
  background: linear-gradient(90deg, transparent, #D5E1ED 10%, #D5E1ED 90%, transparent); }
.chr-river .row.event .river { grid-row: 1; }
.chr-river .row.event .bank { grid-row: 2; padding-top: 9px; }
.chr-river .row.event .votes { margin-top: 2px; }
.chr-river .row.quiet, .chr-river .row.run { padding: 3px 0; }
.chr-river .row:hover .pill { border-color: var(--un); }
.chr-river .river .pill { position: relative; z-index: 3; background: #fff; border: 1.5px solid #BFD6EE; font: 700 13.5px var(--font-display);
  color: var(--un-deep); padding: 3px 9px; margin-top: 1px; }
.chr-river .row.open .pill { background: var(--un-deep); border-color: var(--un-deep); color: #fff; }
.chr-river .river .pill.dashed { border-style: dashed; color: var(--muted); font-size: 12px; background: #F3F8FD; }
.chr-river .river .yr { position: relative; z-index: 3; font: 700 11.5px var(--font-display); color: #8FA6BD; margin-top: 3px;
  background: #E6F0FA; border: 0; border-radius: 6px; padding: 0 4px; cursor: pointer; }
.chr-river .row.quiet:hover .yr, .chr-river .row.open .yr { color: var(--un-deep); }
.chr-river button.ev { display: flex; justify-content: flex-end; align-items: flex-start; gap: 10px; width: 100%; text-align: right;
  font: inherit; color: inherit; background: none; border: 0; padding: 0; margin-bottom: 9px; cursor: pointer; }
.chr-river button.ev:last-child { margin-bottom: 0; }
.chr-river .ev .t b { display: block; font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.chr-river .ev:hover .t b { color: var(--un-deep); }
.chr-river .ev.sel .t b { color: #A85512; }
.chr-river .ev .t small { display: block; font-size: 12.5px; color: var(--faint); font-weight: 600; margin-top: 1px; }
.chr-river .ev .t small.later { color: #B5651D; font-weight: 700; }
.chr-river .dot { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid var(--un-deep); background: #fff; margin-top: 4px; margin-right: -3px; }
.chr-river .dot.br { background: #D9792B; border-color: #D9792B; }
.chr-river .votes { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.chr-river .votes b { color: var(--ink); }
.chr-river .votes.small { font-size: 12.5px; color: var(--faint); margin-top: 3px; }
.chr-river .votes.small b { color: var(--faint); font-weight: 700; }
.chr-river .votes.none { font-style: italic; color: var(--faint); font-size: 13px; }
.chr-river .votes .more { color: var(--un); font-weight: 700; }
.chr-river .nw { white-space: nowrap; }
.chr-river .vbar { display: inline-flex; gap: 1px; border-radius: 3px; overflow: hidden; flex: none; }
.chr-river .vbar i { min-width: 1px; }
#chronos .b1 { background: #D3E3F3; } #chronos .b2 { background: #97BCE2; } #chronos .b3 { background: #5B8FC8; } #chronos .b4 { background: #2B4F7A; }
.chr-river .sight { display: block; font-size: 12px; font-weight: 800; color: #B5651D; }
.chr-river .sight:empty { display: none; }
.chr-river .row.sighted .bank.right { background: linear-gradient(90deg, #FDF3EA, transparent 80%); border-radius: 8px; }
.chr-river .chip { position: relative; z-index: 3; display: block; margin-top: 8px; background: #FDF3EA; border: 1px solid #F2CDA8; border-radius: 10px;
  padding: 6px 10px; font-size: 13px; color: var(--ink); line-height: 1.35; transition: border-color .15s; }
.chr-river .chip:hover { border-color: #D9792B; }
.chr-river .chip small { display: block; color: #B5651D; font-weight: 800; font-size: 11.5px; margin-top: 2px; }
.chr-river .chip.past { background: #FFF9F4; border-style: dashed; }
.chr-river .overlay { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; z-index: 2; }
.chr-river .overlay.bridges { z-index: 0; }
.chr-river .overlay .bridge { fill: none; stroke: #D9792B; stroke-width: 2; }
.chr-river .overlay .bend { fill: #D9792B; }
.chr-river .overlay g.hedges { transition: transform .3s ease, opacity .3s ease; }
.chr-river.no-hedges .overlay g.hedges { transform: translateX(-120px); opacity: 0; pointer-events: none; }
.chr-river .overlay g.hedge { pointer-events: auto; cursor: pointer; }
.chr-river.no-hedges .overlay g.hedge { pointer-events: none; }
.chr-river .overlay .hedge .hit { stroke: transparent; stroke-width: 16; }
.chr-river .overlay .hedge .ln { stroke: #C6D4E2; stroke-width: 4; stroke-linecap: round; }
.chr-river .overlay .hedge:hover .ln { stroke: #9DB4CB; }
.chr-river .overlay .hedge .arrow { fill: none; stroke: #C6D4E2; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chr-river .overlay .hedge text { font: 800 9.5px var(--font-body); letter-spacing: .08em; fill: #9DB0C3; }
.chr-river .overlay .hedge:hover text { fill: var(--un-deep); }
.chr-river .legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--faint); }
.chr-river .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.chr-river .legend i.lk { background: #D9792B; }

/* ---------- Jahresansicht: Ebene ueber dem Fluss, so breit wie die Zeitleiste (top/max-height setzt chronos.js) ---------- */
.chr-clearing { position: relative; z-index: 4; margin: 4px -10px 16px; background: #fff; border: 2px solid #CFE2F5; border-radius: 18px;
  box-shadow: 0 0 0 6px #EEF5FC, 0 12px 30px rgba(46, 65, 87, .10); padding: 16px 20px 14px; cursor: default; }
.chr-clearing.chr-yearview { position: fixed; z-index: 25; left: 50%; top: 200px; transform: translateX(-50%); margin: 0;
  width: min(1200px, calc(100vw - 48px)); overflow: auto; overscroll-behavior: contain; border: 1px solid #DCE7F2; border-radius: 16px;
  box-shadow: 0 26px 60px -14px rgba(30, 50, 80, .30), 0 4px 14px rgba(30, 50, 80, .08); padding: 18px 24px 20px; }
.chr-yearview[hidden] { display: none; }
/* Erscheinen: aufblenden und von der Zeitleiste ein Stueck herabgleiten; Verschwinden umgekehrt, etwas schneller */
.chr-yearview.opening, .chr-yearview.closing { transform-origin: 50% 0; }
.chr-yearview.opening { animation: yv-in .28s cubic-bezier(.2, .8, .3, 1) both; }
.chr-yearview.closing { animation: yv-out .2s ease-in both; pointer-events: none; }
@keyframes yv-in { from { opacity: 0; transform: translateX(-50%) translateY(-14px) scale(.985); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes yv-out { from { opacity: 1; transform: translateX(-50%); } to { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(.99); } }
@media (prefers-reduced-motion: reduce) { .chr-yearview.opening, .chr-yearview.closing { animation-duration: 1ms; } }
.chr-clearing.chr-yearview { overflow-x: hidden; overflow-y: auto; }
/* zwei Bahnen: Jahr und Vorschau einer Abstimmung; die Abstimmung gleitet von rechts herein */
.yv-track { display: grid; grid-template-columns: 100% 100%; transition: transform .3s ease; }
.yv-track.at-vote { transform: translateX(-100%); }
.yv-track.instant { transition: none; }
.yv-pane { min-width: 0; }
.yv-pane.away { height: 0; overflow: hidden; visibility: hidden; }
/* Vorschau einer Abstimmung */
/* Blaettern zwischen Jahren und zwischen Abstimmungen: die alte Seite gleitet hinaus, die neue herein
   (top der alten setzt chronos.js, damit sie dabei bleibt, wo sie war) */
.yv-pane { position: relative; }
.yv-page.leaving { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; }
.yv-page.to-left { animation: vp-to-left .3s ease both; }
.yv-page.to-right { animation: vp-to-right .3s ease both; }
.yv-page.from-right { animation: vp-from-right .3s ease both; }
.yv-page.from-left { animation: vp-from-left .3s ease both; }
@keyframes vp-to-left { to { transform: translateX(-100%); } }
@keyframes vp-to-right { to { transform: translateX(100%); } }
@keyframes vp-from-right { from { transform: translateX(100%); } }
@keyframes vp-from-left { from { transform: translateX(-100%); } }
#chr-votepane .vp-head { display: flex; align-items: flex-start; gap: 16px; }
#chr-votepane .back { flex: none; font: 800 14px var(--font-display); color: var(--un-deep); background: var(--un-softer); border: 0; border-radius: 999px;
  padding: 8px 14px; margin-top: 2px; cursor: pointer; transition: background-color .2s ease; }
#chr-votepane .back:hover, #chr-votepane .back:focus-visible { background: var(--un-soft); outline: none; }
#chr-votepane .vp-title { flex: 1; min-width: 0; }
#chr-votepane .vp-title .date { font: 800 11.5px var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--faint); margin: 0 0 2px; }
#chr-votepane .vp-title h3 { font: 700 22px var(--font-display); margin: 0; line-height: 1.25; }
#chr-votepane .full { flex: none; margin-top: 9px; font-size: 13.5px; font-weight: 700; color: var(--un-deep); }
#chr-votepane .full:hover { text-decoration: underline; }
#chr-votepane .vp-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 26px; margin-top: 16px; align-items: start; }
#chr-votepane .vp-map { position: sticky; top: 0; }   /* Karte bleibt stehen, waehrend man die Zusammenfassung liest */
#chr-votepane .mapwrap { position: relative; background: #FAFCFE; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
#chr-votepane .mapwrap .loading { text-align: center; color: var(--faint); padding: 90px 0; font-size: 13px; }
#chr-votepane .worldmap { display: block; width: 100%; height: auto; }
#chr-votepane .worldmap .other { fill: #EEF2F6; stroke: #fff; stroke-width: .5; }
#chr-votepane .worldmap .shapes path { stroke: #fff; stroke-width: .5; }
#chr-votepane .worldmap .dots circle { stroke: #fff; stroke-width: 1.2; }
#chr-votepane .worldmap .v-yes { fill: var(--yes-bg); }
#chr-votepane .worldmap .v-no { fill: var(--no-bg); }
#chr-votepane .worldmap .v-abst { fill: var(--abst-bg); }
#chr-votepane .worldmap .v-nv { fill: #C3CEDA; }
#chr-votepane .worldmap .v-none { fill: #E6EBF1; }
#chr-votepane .worldmap .off { display: none; }
#chr-votepane .worldmap .shapes path:not(.v-none):hover { stroke: var(--ink); stroke-width: 1.2; }
#chr-votepane .maptip { position: absolute; transform: translate(-50%, -100%); pointer-events: none; z-index: 2; background: var(--surface); color: var(--ink);
  border-radius: 10px; box-shadow: var(--shadow-hover); padding: 7px 11px; font-size: 13px; white-space: nowrap; }
#chr-votepane .maptip small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
#chr-votepane .mapnote { margin: 6px 0 0; font-size: 12px; color: var(--faint); }
#chr-votepane .bigbar { display: flex; gap: 2px; height: 26px; border-radius: 8px; overflow: hidden; margin: 6px 0 8px; }
#chr-votepane .bigbar i { display: flex; align-items: center; justify-content: center; min-width: 3px; font: 800 12px var(--font-body); font-style: normal;
  color: rgba(30, 50, 70, .7); }
#chr-votepane .s-yes { background: var(--yes-bg); } #chr-votepane .s-no { background: var(--no-bg); }
#chr-votepane .s-abst { background: var(--abst-bg); } #chr-votepane .s-nv { background: var(--nv-bg); }
#chr-votepane .counts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); margin: 0 0 12px; }
#chr-votepane .counts i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
#chr-votepane .counts b { color: var(--ink); }
#chr-votepane .onlist { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
#chr-votepane .onev { font: 700 12.5px var(--font-body); background: #FDF3EA; border: 1px solid #F2CDA8; color: #A85512; border-radius: 999px;
  padding: 4px 11px; cursor: pointer; transition: border-color .2s ease; }
#chr-votepane .onev:hover { border-color: #D9792B; }
#chr-votepane .onev small { color: #B5651D; font-weight: 600; margin-left: 2px; }
#chr-votepane .vp-result { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
#chr-votepane .vp-result .onlist { margin-bottom: 0; }
#chr-votepane .vp-summary { padding-top: 2px; }
#chr-votepane .sumhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#chr-votepane .sumhead .kicker { margin: 0; }
#chr-votepane .langs { display: flex; gap: 5px; }
#chr-votepane .langs button { font: 700 12px var(--font-body); border: 1.5px solid var(--line); background: #fff; color: var(--muted); border-radius: 999px;
  padding: 3px 9px; cursor: pointer; }
#chr-votepane .langs button[aria-pressed="true"] { background: var(--un-soft); border-color: var(--un-soft); color: var(--un-deep); }
#chr-votepane .sumtext p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: #44576C; }
#chr-votepane .vp-summary .note { margin: 10px 0 0; font-size: 12px; color: var(--faint); }
#chr-votepane p.none { font-size: 13.5px; color: var(--faint); font-style: italic; margin: 8px 0 0; }
.chr-yearview .vp-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 12px;
  border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); }
.chr-yearview .vp-nav .pill { cursor: pointer; }
.chr-yearview .vp-nav .pill[disabled] { opacity: .4; cursor: default; }
.chr-yearview .allvotes { max-height: none; overflow: visible; }
.chr-clearing .ch-head { display: flex; align-items: baseline; gap: 14px; }
.chr-clearing .big { font: 700 30px var(--font-display); color: var(--ink); line-height: 1; }
.chr-clearing .facts { color: var(--muted); font-size: 14.5px; }
.chr-clearing .facts b { color: var(--ink); }
.chr-clearing .keys { margin-left: auto; font-size: 12px; color: var(--faint); }
.chr-clearing .close { margin-left: 8px; align-self: center; border: 1.5px solid var(--line); background: #fff; border-radius: 50%; width: 32px; height: 32px;
  font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; }
.chr-clearing .close:hover { border-color: var(--un); color: var(--un-deep); }
.chr-clearing .ongoing { margin: 6px 0 0; font-size: 12.5px; color: var(--faint); font-weight: 700; }
.chr-clearing .strip { margin-top: 10px; }
.chr-clearing .strip svg { display: block; overflow: visible; }
.chr-clearing .mon { fill: #F7FAFC; }
.chr-clearing .mlab { font: 700 12px var(--font-body); fill: #8FA3B8; }
.chr-clearing .axis { stroke: #C9D6E3; }
.chr-clearing .sq { cursor: pointer; }
.chr-clearing .sq.b1 { fill: #D3E3F3; } .chr-clearing .sq.b2 { fill: #97BCE2; } .chr-clearing .sq.b3 { fill: #5B8FC8; } .chr-clearing .sq.b4 { fill: #2B4F7A; }
.chr-clearing .sq.lk { fill: #F0B27A; } .chr-clearing .sq.lk.on { fill: #D9792B; }
.chr-clearing .sq:hover { stroke: var(--ink); stroke-width: 1.5; }
.chr-clearing .thread { fill: none; stroke: #F3C9A3; stroke-width: 1.5; }
.chr-clearing .thread.on { stroke: #D9792B; stroke-width: 2; }
.chr-clearing g.pin { cursor: pointer; }
.chr-clearing g.pin circle { fill: #fff; stroke: var(--un-deep); stroke-width: 2.5; }
.chr-clearing g.pin.br circle { fill: #F6D2B2; stroke: #D9792B; }
.chr-clearing g.pin.on circle { fill: #D9792B; stroke: #D9792B; }
.chr-clearing g.pin text { font: 700 13.5px var(--font-body); fill: var(--ink); }
.chr-clearing g.pin:hover text, .chr-clearing g.pin.on text { fill: #A85512; }
.chr-clearing .range { fill: #F3C9A3; }
.chr-clearing .ch-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-top: 12px; align-items: start; }
.chr-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-bottom: 8px; }
.chr-tabs .tl { font-size: 11.5px; font-weight: 800; color: var(--faint); margin: 0 2px 0 4px; }
.chr-tabs button { font: 700 12px var(--font-body); border: 1.5px solid var(--line); background: #fff; color: var(--muted); border-radius: var(--r-pill);
  padding: 3px 9px; cursor: pointer; }
.chr-tabs button:hover { border-color: #F2CDA8; }
.chr-tabs button[aria-pressed="true"] { background: #FDF3EA; border-color: #F2CDA8; color: #A85512; }
.chr-clearing .card { background: #FBFCFE; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.chr-clearing .card .date { font: 800 11.5px var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--faint); margin: 0 0 2px; }
.chr-clearing .card h3 { font: 700 20px var(--font-display); margin: 0 0 6px; }
.chr-clearing .card p { font-size: 14px; color: #52647A; line-height: 1.5; margin: 0 0 8px; }
.chr-clearing .voted { color: #B5651D; font: 800 11.5px var(--font-body); letter-spacing: .07em; text-transform: uppercase; margin: 10px 0 4px; }
.chr-clearing .card .voted { border-top: 1px solid var(--line); padding-top: 10px; }
.chr-clearing ul { list-style: none; padding: 0; margin: 0; }
.chr-clearing .card li, .chr-clearing .contested li { font-size: 13.5px; padding: 2px 0; line-height: 1.35; color: var(--ink); }
.chr-clearing .contested li { border-bottom: 1px solid var(--line); }
.chr-clearing p.more { font-size: 12.5px; color: var(--muted); font-weight: 700; margin: 4px 0 0; }
.chr-clearing p.none { font-size: 13.5px; color: var(--faint); font-style: italic; margin: 8px 0 0; }
#chronos .res { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
#chronos .mini { display: flex; width: 110px; height: 7px; border-radius: 4px; overflow: hidden; gap: 1px; flex: none; cursor: help; }
#chronos .mini i { min-width: 0; }
#chronos .mini .y { background: var(--yes-bg); } #chronos .mini .n { background: var(--no-bg); } #chronos .mini .a { background: var(--abst-bg); }
#chronos .res small { font-size: 12px; color: var(--muted); }
.chr-clearing .contested .ghost { margin-top: 10px; }
.chr-clearing .allvotes { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 6px; max-height: 520px; overflow: auto; }
.chr-clearing .allvotes li { padding: 1px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
#chronos .allvotes a.vrow { display: grid; grid-template-columns: 92px minmax(0, 1fr) 110px; gap: 14px; align-items: center; margin: 0; }
.chr-clearing .allvotes .d { color: var(--faint); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
#chronos .allvotes .res { margin: 0; }

/* Tooltip (Quadrate) */
.chr-tip {
  position: fixed; z-index: 50; max-width: 340px; pointer-events: none; background: var(--ink); color: #fff;
  font-size: 13px; line-height: 1.45; padding: 8px 11px; border-radius: 9px; box-shadow: 0 6px 20px rgba(46,65,87,.25);
}
.chr-tip .res { display: flex; align-items: center; gap: 8px; margin-top: 5px; color: #D5E1EC; font-size: 12px; }
.chr-tip .mini { display: flex; width: 90px; height: 6px; border-radius: 3px; overflow: hidden; gap: 1px; }
.chr-tip .mini .y { background: var(--yes-bg); } .chr-tip .mini .n { background: var(--no-bg); } .chr-tip .mini .a { background: var(--abst-bg); }
