/*
 *   Conjured Upon This Day, Tue Oct 20 2026
 *
 *   From his finger tips, through his IDE to your deployment environment at full throttle with no bugs, loss of data,
 *   fluctuations, signal interference, or doubt—it can only be
 *
 *   ███╗   ███╗ ██████╗ ██████╗ ████████╗██╗███╗   ██╗
 *   ████╗ ████║██╔═══██╗██╔══██╗╚══██╔══╝██║████╗  ██║
 *   ██╔████╔██║███████║║██████╔╝   ██║   ██║██╔██╗ ██║
 *   ██║╚██╔╝██║██╔══██║ ██╔══██╗   ██║   ██║██║╚██╗██║
 *   ██║ ╚═╝ ██║██║  ██║ ██║  ██║   ██║   ██║██║ ╚████║
 *   ╚═╝     ╚═╝╚═╝  ╚═╝ ╚═╝  ╚═╝   ╚═╝   ╚═╝╚═╝  ╚═══╝
 *   M B I T H I — The Legendary Coding Wizard 
 *
 *   📧  martin@devlan.co.ke
 *   🌐  www.martmbithi.github.io
 *   🐙  https://github.com/MartMbithi
 *
 *   If this code works, you're welcome.
 *   If it doesn't, it's a feature you haven't understood yet.
 *
 *   
 *   ╔══════════════════════════════════════════════════════════════╗
 *   ║              DEVLAN SOLUTIONS LTD                            ║
 *   ║       www.devlan.co.ke | hello@devlan.co.ke                  ║
 *   ╚══════════════════════════════════════════════════════════════╝
 *
 *   ┌─────────────────────────────────────────────────────────────┐
 *   │  THE DEVLAN SOLUTIONS LTD ULTRA MEGA SUPREME ELITE™         │
 *   │  END-USER LICENSE AGREEMENT (EULA) v4.2.0-final-FINAL-v2    │
 *   │  Copyright (c) 2022 Devlan Solutions LTD                    │
 *   │  All Rights Reserved. Yes, ALL of them. Even that one.      │
 *   └─────────────────────────────────────────────────────────────┘
 *
 *   By scrolling past this wall of text you definitely won't read,
 *   you agree to mass surveillance— just kidding. Or are we?
 *
 *
 *    1. LICENSE GRANT (a.k.a. 'YOU MAY TOUCH, BUT GENTLY')
 *
 *   Subject to the terms herein, and contingent upon you being a
 *   sentient carbon-based lifeform (sorry, AI bots—get your own),
 *   Devlan Solutions LTD graciously, magnanimously, and with great
 *   theatrical flair, grants you a limited, revocable, personal,
 *   non-exclusive, non-transferable, non-sublicensable, non-fungible,
 *   and overwhelmingly non-negotiable license to install this
 *   breathtaking piece of software on up to TWO (2) machines.
 *   That's right. Two. Not three. Not 'two and my cousin's laptop.'
 *   TWO. For personal, non-commercial, 'I'm just vibing' purposes
 *   only — unless you've secured a Commercial License from us,
 *   in which case, welcome to the VIP lounge, big spender.
 *
 *   Redistribution? No. Sharing your login? Also no. Letting your
 *   buddy 'just take a quick look'? Believe it or not, also no.
 *   Network deployment without a multi-user license? Straight to jail.
 *   We have lawyers. They are bored. Do not test them.
 *
 *
 *    2. INTELLECTUAL PROPERTY (a.k.a. 'WE BUILT THIS, BRUH')
 *
 *   This Software is, was, and shall remain the sole, undivided,
 *   deeply cherished intellectual property of Devlan Solutions LTD.
 *   It is protected by copyright law, international treaties, ancient
 *   covenants, and the sheer willpower of our engineering team who
 *   mass consumed mass amounts of coffee to ship this.
 *
 *   You shall not remove, alter, obscure, deface, or passive-
 *   aggressively cover up any proprietary notices, labels, watermarks,
 *   Easter eggs, or branding. If you see our logo, that's a feature,
 *   not a bug. Respect the drip.
 *
 *
 *    3. RESTRICTIONS (a.k.a. 'THE THINGS THAT WILL GET YOU YEETED')
 *
 *   You shall not, and shall not permit any third party, rogue AI,
 *   mischievous intern, or sentient houseplant to:
 *
 *   (a) reverse engineer, decompile, decode, decrypt, disassemble,
 *       or otherwise attempt to derive the source code, because
 *       our spaghetti code is OUR spaghetti code, thank you;
 *
 *   (b) modify, fork, remix, sample, create derivative works, or
 *       produce 'inspired-by' knockoffs — we see you, and no;
 *
 *   (c) copy (one backup. ONE. like a civilized person), distribute,
 *       publicly display, transmit, sell, rent, lease, sublicense,
 *       pawn, barter, airdrop, carrier-pigeon, or otherwise exploit
 *       this Software as if you woke up and chose piracy.
 *
 *   Violation of the above may result in license termination,
 *   strongly worded emails, and disappointment from our CTO.
 *
 *
 *    4. TERMINATION (a.k.a. 'THE SNAP')
 *
 *   This License remains in effect until terminated. Think of it
 *   like a Netflix subscription, but with more legal consequences.
 *
 *   You may terminate at any time by destroying all copies of the
 *   Software in your possession — and yes, 'all copies' includes
 *   the one on that USB drive you forgot in your junk drawer.
 *
 *   Devlan Solutions LTD may terminate this License if you breach
 *   any term herein. Upon termination, your rights evaporate faster
 *   than free snacks in a developer break room. You will then
 *   destroy all copies of the Software. We trust you. Sort of.
 *
 *
 *    5. DISCLAIMER OF WARRANTIES (a.k.a. 'IT IS WHAT IT IS')
 *
 *   THIS SOFTWARE IS PROVIDED 'AS IS', 'WHERE IS', 'YOLO', AND
 *   'WORKS ON MY MACHINE™'. DEVLAN SOLUTIONS LTD MAKES NO
 *   WARRANTIES, EXPRESS, IMPLIED, SPIRITUAL, ASTROLOGICAL, OR
 *   OTHERWISE, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
 *   OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
 *   NON-INFRINGEMENT.
 *
 *   Will it work perfectly? Probably. Will it summon a segfault at
 *   3 AM during a production deploy? We make no promises. Some
 *   jurisdictions do not allow the exclusion of implied warranties,
 *   so some of the above may not apply to you. Lucky you. But we
 *   still aren't fixing that edge case at midnight on a Friday.
 *
 *
 *    6. SEVERABILITY (a.k.a. 'THE JENGA CLAUSE')
 *
 *   If any provision of this Agreement is declared invalid, illegal,
 *   or unenforceable by a court of competent jurisdiction (or a
 *   really confident paralegal), the remaining provisions shall
 *   continue in full force and effect, standing tall and unbothered
 *   like a load-bearing wall in a code refactor.
 *
 *   The invalid provision shall be modified to the minimum extent
 *   necessary to make it valid, because we don't throw the whole
 *   codebase out over one flaky test.
 *
 *
 *    7. LIMITATION OF LIABILITY (a.k.a. 'DON'T @ US')
 *
 *   IN NO EVENT SHALL DEVLAN SOLUTIONS LTD, ITS AFFILIATES,
 *   OFFICERS, DIRECTORS, EMPLOYEES, INTERNS, OFFICE DOGS, OR
 *   THAT ONE GUY WHO STILL USES vim BE LIABLE FOR ANY INDIRECT,
 *   INCIDENTAL, SPECIAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE
 *   DAMAGES — INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS, DATA,
 *   GOODWILL, SLEEP, OR FAITH IN HUMANITY — ARISING OUT OF OR IN
 *   CONNECTION WITH THIS SOFTWARE.
 *
 *   IN ANY CASE, OUR TOTAL, AGGREGATE, MAXIMUM, ABSOLUTE CEILING
 *   OF LIABILITY SHALL NOT EXCEED THE AMOUNT YOU ACTUALLY PAID FOR
 *   THIS LICENSE. IF THAT AMOUNT IS ZERO, WELL... MATH IS MATH.
 *
 *   No drama. No class actions. Just code, pixels, and vibes.
 *
 *
 *   ── Built with sweat, mass amounts of coffee, and mass amounts of ctrl+z ──
 *   ── Devlan Solutions LTD · Nairobi, Kenya · Innovating since the WiFi worked ──
 *
 */
/* ECM public pages: the campaign's face to voters.

   One campaign colour (--brand, from Settings) on white, with the text on
   it (--brand-ink) chosen for contrast. System fonts, so nothing loads from
   elsewhere. Built phone-first: most voters will open this on mobile data. */

@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/instrument-sans.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/instrument-sans-italic.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-italic.woff2) format('woff2'); }

:root {
  --brand: #0b6e4f;
  --brand-ink: #ffffff;
  --text: #15191e;
  --muted: #586370;
  --line: #e4e7eb;
  --soft: #f5f6f8;
  --ok: #17803d; --ok-soft: #e8f5ed;
  --warn: #9a5200; --warn-soft: #fdf3e6;
  --crit: #b8211e; --crit-soft: #fcecec;
  --radius: 10px;
  --wrap: 1120px;
  --font: 'Instrument Sans', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #ffffff; color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; font-weight: 600; }
/* Plain text links darken on hover; buttons, cards and nav items style their own. */
a:where(:not([class])):hover { color: color-mix(in srgb, var(--brand) 75%, #000000); }
.btn:hover, .btn:focus-visible { color: var(--brand-ink); }
.btn-quiet:hover, .btn-quiet:focus-visible { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.code { font-family: var(--mono); font-size: 13.5px; word-break: break-all; }

/* ── buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 2px solid var(--brand); border-radius: 999px;
  background: var(--brand); color: var(--brand-ink); font: 600 16px/1 var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: filter .15s, background .15s;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn-quiet { background: transparent; color: var(--brand); }
.btn-quiet:hover { background: color-mix(in srgb, var(--brand) 8%, transparent); filter: none; }
.btn-light { background: #ffffff; border-color: #ffffff; color: var(--brand); }
.btn-light:hover, .btn-light:focus-visible { color: var(--brand); filter: none; background: color-mix(in srgb, var(--brand) 8%, #ffffff); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14.5px; }

/* ── header and footer ───────────────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-head { background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); } }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.site-brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
.site-logo { height: 40px; width: auto; max-width: 140px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 15.5px; font-weight: 550; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--brand); }
@media (max-width: 820px) {
  .site-nav a:not(.btn) { display: none; }
  .site-brand span { max-width: 52vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.site-foot { margin-top: 0; background: #12161b; color: #c9d0d8; font-size: 15px; padding: 48px 0 24px; }
.site-foot a { color: #ffffff; }
.site-foot strong { color: #ffffff; display: block; margin-bottom: 8px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.foot-small { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid #2a3139; font-size: 13.5px; color: #8e98a3; }
.plain { list-style: none; margin: 0; padding: 0; } .plain li + li { margin-top: 6px; }

/* ── hero ────────────────────────────────────────────────────── */
.hero { padding: 56px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 10%, #ffffff); color: var(--brand); font-weight: 650; font-size: 14.5px; }
.hero h1 { font-family: var(--serif); font-size: clamp(48px, 8vw, 88px); font-weight: 400; letter-spacing: -.02em; line-height: 1.02; }
.tagline { margin: 14px 0 0; font-size: clamp(20px, 2.4vw, 26px); color: var(--brand); font-weight: 600; line-height: 1.35; }
.lede { margin: 18px 0 0; font-size: 18.5px; color: var(--muted); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; background: var(--soft); }
.hero-solo { padding: 72px 0 64px; text-align: center; }
.hero-solo .hero-grid { grid-template-columns: 1fr; }
.hero-solo .lede { margin-left: auto; margin-right: auto; }
.hero-solo .hero-actions { justify-content: center; }
@media (max-width: 860px) {
  .hero { padding: 28px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo { order: -1; max-width: 300px; }
  .hero-photo img { aspect-ratio: 1; border-radius: 50%; }
  .hero-solo { padding: 40px 0 36px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ── election day strip ──────────────────────────────────────── */
.strip { background: var(--brand); color: var(--brand-ink); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.strip-label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; opacity: .8; font-weight: 600; }
.strip strong { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.2; }
@media (max-width: 760px) { .strip-grid { grid-template-columns: 1fr 1fr; } }

/* ── sections ────────────────────────────────────────────────── */
.section { padding: 64px 0; }
.section-alt { background: var(--soft); }
.section-title { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 52px); font-weight: 400; letter-spacing: -.01em; margin-bottom: 10px; }
.section-lede { color: var(--muted); font-size: 18px; margin-bottom: 30px; max-width: 42em; }
.page-top { padding: 48px 0 8px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-top h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 64px); font-weight: 400; letter-spacing: -.015em; }
.page-top .lede { margin-bottom: 26px; }
.page-top + .section { padding-top: 36px; }
@media (max-width: 640px) { .section { padding: 44px 0; } }

.promises { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.promises li { display: flex; gap: 16px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; font-size: 18px; font-weight: 500; line-height: 1.45; }
.promises.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .promises, .promises.two { grid-template-columns: 1fr; } }
.promise-n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, #ffffff); color: var(--brand); font-family: var(--serif); font-size: 22px; }

.steps { list-style: none; counter-reset: step; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps li { counter-increment: step; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-family: var(--serif); font-size: 21px; }
.steps b { display: block; font-size: 17.5px; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel h3 { font-size: 19px; margin-bottom: 12px; }
.panel h3 + p { color: var(--muted); }
.panel > *:last-child { margin-bottom: 0; }
.ticks { list-style: none; margin: 0 0 18px; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 6px; height: 11px; border: solid var(--brand); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.contact-list li { display: flex; gap: 12px; align-items: baseline; font-size: 18px; }
.contact-list span { min-width: 92px; color: var(--muted); font-size: 15px; }
.contact-list a { font-weight: 650; }

/* ── search ──────────────────────────────────────────────────── */
.search { display: flex; gap: 10px; flex-wrap: wrap; }
.search input, .search select { min-height: 52px; border: 1.5px solid #cdd3da; border-radius: 12px; padding: 0 16px; font: 17px var(--font); background: #ffffff; color: var(--text); }
.search input { flex: 1 1 320px; }
.search select { flex: 0 1 200px; }
.search input:focus, .search select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.search .btn { min-height: 52px; }
@media (max-width: 560px) { .search select, .search .btn { flex: 1 1 100%; } }
.result-count { color: var(--muted); margin-bottom: 14px; }
.centres { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.centre { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.centre h2 { font-size: 19px; margin-bottom: 4px; }
.centre p { margin: 0; font-size: 15.5px; }
@media (max-width: 560px) { .centre { flex-direction: column; align-items: stretch; } .centre .btn { width: 100%; } }

/* ── facts ───────────────────────────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.fact { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--brand); }
.fact h3 { font-size: 19px; margin-bottom: 8px; }
.myth { font-size: 15.5px; color: var(--muted); font-style: italic; }
.myth span { display: block; font-style: normal; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--crit); margin-bottom: 2px; }
.source { font-size: 14px; color: var(--muted); margin: 0; }

/* ── call to action band ─────────────────────────────────────── */
.band { background: var(--brand); color: var(--brand-ink); padding: 56px 0; }
.band-grid { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 48px); font-weight: 400; margin-bottom: 8px; }
.band p { margin: 0; font-size: 18px; opacity: .92; max-width: 38em; }

/* ── forms ───────────────────────────────────────────────────── */
.join-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .join-grid { grid-template-columns: 1fr; } }
.form label { display: block; margin-bottom: 18px; }
.form label > span { display: block; font-weight: 650; font-size: 15.5px; margin-bottom: 6px; }
.form small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 5px; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form select, .form textarea {
  width: 100%; min-height: 50px; border: 1.5px solid #cdd3da; border-radius: 12px; padding: 10px 14px; font: 17px var(--font); background: #ffffff; color: var(--text);
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.form .check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.form .btn { width: 100%; }
.thanks { text-align: center; padding: 40px 24px; }
.thanks h2 { font-family: var(--serif); font-size: 38px; font-weight: 400; margin-bottom: 10px; }

/* ── notices, tables, observer detail ────────────────────────── */
.notice { margin: 18px 0; padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--soft); }
.notice.ok { background: var(--ok-soft); border-color: transparent; color: #0f5a2b; }
.notice.warn, .notice.info { background: var(--warn-soft); border-color: transparent; color: #6e3b00; }
.notice.error { background: var(--crit-soft); border-color: transparent; color: #8a1716; }
.observer { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.observer summary { cursor: pointer; padding: 18px 0; font-weight: 650; }
.observer[open] { padding-bottom: 22px; }
.observer p { color: var(--muted); font-size: 15.5px; }
.observer h4 { margin: 22px 0 8px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; color: var(--muted); font-weight: 650; }

/* ── refined controls (ui.js) ────────────────────────────────── */
.search select.ui-select, .form select.ui-select, .cb-button {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; text-align: left;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23586370' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.cb { position: relative; }
.search .cb { flex: 0 1 220px; }
.form .cb { width: 100%; }
.cb-native { position: absolute !important; inset: 0; opacity: 0; pointer-events: none; }
.cb-button { display: block; width: 100%; min-height: 52px; padding-left: 16px; border: 1.5px solid #cdd3da; border-radius: 12px; color: var(--text); font: 17px var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.form .cb-button { min-height: 50px; }
.cb-button:hover { border-color: #a9b2bc; }
.cb-button:focus-visible, .cb.open .cb-button { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.cb-button.placeholder { color: var(--muted); }
.cb-panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 260px; background: #ffffff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 2px 4px rgba(16, 24, 32, .05), 0 16px 40px rgba(16, 24, 32, .12); overflow: hidden; }
.cb.up .cb-panel { top: auto; bottom: calc(100% + 6px); }
.cb-filter { width: 100%; border: 0; border-bottom: 1px solid var(--line); height: 48px; padding: 0 16px; font: 16px var(--font); outline: none; }
.cb-list { list-style: none; margin: 0; padding: 6px; max-height: 300px; overflow-y: auto; }
.cb-list li { padding: 10px 12px; border-radius: 9px; cursor: pointer; font-size: 16px; }
.cb-list li.active { background: var(--soft); }
.cb-list li.on { color: var(--brand); font-weight: 600; }
.cb-list .cb-none { color: var(--muted); cursor: default; }

/* ── SweetAlert dialogs ────────────────────────────────────── */
.dlg.swal2-popup { border-radius: 16px; font-family: var(--font); }
.dlg .dlg-title { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.dlg .dlg-actions { gap: 10px; }

/* "What we watch": a heading word, then the sentence. */
.promises li b { display: block; font-weight: 650; margin-bottom: 2px; }
.promises li { align-items: flex-start; }
.promises { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .promises { grid-template-columns: 1fr; } }

/* ── volunteering and giving ─────────────────────────────────── */
.form input[type=date], .form input[type=number] {
  width: 100%; min-height: 50px; border: 1.5px solid #cdd3da; border-radius: 12px; padding: 10px 14px; font: 17px var(--font); background: #ffffff; color: var(--text);
}
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form legend { font-weight: 650; font-size: 15.5px; margin-bottom: 8px; padding: 0; }
.form fieldset .check { margin-bottom: 8px; }
.code { font-family: var(--mono); letter-spacing: .02em; word-break: break-all; }
.small { font-size: 14px; }
.prose p { margin: 0 0 1em; }
.instructions { background: var(--soft); border-radius: var(--radius); padding: 14px 18px; margin: 16px 0; font-family: var(--mono); font-size: 15px; }
.progress { height: 10px; border-radius: 999px; background: var(--soft); overflow: hidden; margin: 12px 0 8px; }
.progress.big { height: 14px; }
.progress i { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
.appeals { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.appeal-card h2 { font-size: 22px; margin-bottom: 8px; }
.methods { display: grid; gap: 10px; }
.form .method { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid #cdd3da; border-radius: 12px; padding: 12px 14px; margin: 0; cursor: pointer; }
.form .method input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.form .method small { margin-top: 2px; }
.form .method:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
.named { columns: 2; column-gap: 28px; }
.named li { break-inside: avoid; padding: 4px 0; }
@media (max-width: 700px) { .named { columns: 1; } }
.receipt .kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; text-align: left; max-width: 520px; margin: 18px auto; }
.receipt .kv dt { color: var(--muted); }
.receipt .kv dd { margin: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ── media centre ────────────────────────────────────────────── */
.press-links { font-size: 15px; }
.press-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .press-grid { grid-template-columns: 1fr; } }
.race-head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; margin-bottom: 12px; }
.standing { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 650; background: var(--soft); }
.standing-unassailable { background: var(--ok-soft); color: #0f5a2b; }
.standing-early { background: var(--warn-soft); color: #6e3b00; }
.cands { list-style: none; margin: 0; padding: 0; }
.cand { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cand:last-child { border-bottom: 0; }
.cand-num { display: flex; flex-direction: column; align-items: flex-end; font-variant-numeric: tabular-nums; }
.cand-test { grid-column: 1 / -1; }
.cand-bar { display: block; height: 10px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.cand-bar i { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 650; background: var(--brand); color: var(--brand-ink); vertical-align: 1px; }
.tag.quiet { background: var(--soft); color: var(--muted); }
@media (max-width: 560px) { .cand { grid-template-columns: 1fr auto; } .cand .cand-bar { grid-column: 1 / -1; grid-row: 2; } }
.hbar { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 3em; gap: 10px; align-items: center; padding: 6px 0; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stats strong { display: block; font-size: 30px; font-family: var(--serif); font-weight: 400; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bulletin { border-bottom: 1px solid var(--line); padding: 12px 0; }
.bulletin h4, .bulletin h3 { margin: 4px 0; }
.release-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.release-item h2, .release-item h3 { margin: 4px 0; }
.tilemap { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 3px; }
.tile { aspect-ratio: 1.25; border-radius: 4px; background: var(--soft); border: 1px solid var(--line); padding: 3px 4px; font-size: 10px; line-height: 1.1; overflow: hidden; color: var(--text); display: flex; flex-direction: column; justify-content: space-between; min-width: 0; font-weight: 400; }
.tile b { font-size: 10px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile span { font-family: var(--mono); font-size: 10px; }
.tile.blank { visibility: hidden; }
a.tile:hover { outline: 2px solid var(--brand); outline-offset: -1px; }
.tile.q1 { background: color-mix(in srgb, var(--brand) 14%, #ffffff); }
.tile.q2 { background: color-mix(in srgb, var(--brand) 30%, #ffffff); }
.tile.q3 { background: color-mix(in srgb, var(--brand) 48%, #ffffff); }
.tile.q4 { background: color-mix(in srgb, var(--brand) 68%, #ffffff); color: #ffffff; }
.tile.q5 { background: var(--brand); color: var(--brand-ink); }
@media (max-width: 560px) { .tile b { font-size: 8px; } .tile span { display: none; } }
.panel h3:not(:first-child) { margin-top: 22px; }

/* ── public forms: sections in a card, fields side by side ───── */
.page-top-tight { padding-top: 34px; }
.page-top-tight h1 { font-size: clamp(34px, 5vw, 52px); }
.page-top-tight .lede { margin: 10px 0 22px; font-size: 17.5px; }
.raised { max-width: 560px; margin-bottom: 22px; }
.raised p { margin: 6px 0 0; }
.section-tight { padding: 32px 0 64px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { background: #ffffff; border: 1px solid var(--line); border-radius: 16px; padding: 8px 28px 28px; box-shadow: 0 1px 2px rgba(16, 24, 32, .04); }
@media (max-width: 560px) { .form-card { padding: 4px 16px 20px; border-radius: 12px; } }
.form .form-section { padding: 20px 0 6px; border-bottom: 1px solid var(--line); margin: 0; }
.form .form-section legend { display: flex; align-items: center; gap: 10px; float: left; width: 100%; font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.form .form-section legend + * { clear: both; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-size: 14px; font-weight: 700; flex: none; }
.grid-2, .grid-3 { display: grid; gap: 0 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.form .check-inline { align-self: center; margin-top: 12px; }
.field-label { font-weight: 650; font-size: 15.5px; margin: 0 0 8px; }

/* Checkboxes as pills: tap targets a thumb can hit. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.form .chip { display: inline-flex; margin: 0; cursor: pointer; }
.form .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .chip span { display: inline-block; margin: 0; padding: 8px 14px; border: 1.5px solid #cdd3da; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 1.2; background: #ffffff; }
.form .chip:hover span { border-color: #a9b2bc; }
.form .chip input:checked + span { background: color-mix(in srgb, var(--brand) 10%, #ffffff); border-color: var(--brand); color: var(--brand); font-weight: 650; }
.form .chip input:checked + span::before { content: "✓ "; }
.form .chip input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

/* The optional part, folded away. */
.form details.more { border-bottom: 1px solid var(--line); padding: 4px 0; }
.form details.more summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 650; }
.form details.more summary::-webkit-details-marker { display: none; }
.form details.more summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); font-weight: 700; line-height: 1; }
.form details.more[open] summary::before { content: "−"; }
.form details.more summary .muted { font-weight: 400; font-size: 14.5px; }
.form details.more[open] { padding-bottom: 10px; }
.more-plain summary { cursor: pointer; color: var(--brand); font-weight: 600; margin: 4px 0 10px; }

/* Giving: methods side by side, quick amounts, the currency in the box. */
.form .methods { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 14px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.pick { min-height: 40px; padding: 0 16px; border: 1.5px solid #cdd3da; border-radius: 999px; background: #ffffff; font: 600 15px var(--font); color: var(--text); cursor: pointer; }
.pick:hover { border-color: var(--brand); color: var(--brand); }
.pick.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.input-prefix { display: flex; align-items: stretch; border: 1.5px solid #cdd3da; border-radius: 12px; overflow: hidden; background: #ffffff; }
.input-prefix:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.input-prefix b { display: grid; place-items: center; padding: 0 14px; background: var(--soft); border-right: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.form .input-prefix input { border: 0; border-radius: 0; box-shadow: none; font-size: 20px; font-weight: 650; min-width: 0; }
.form .amount { max-width: 320px; }
.form [hidden] { display: none !important; }
.form .declaration { margin: 20px 0 6px; padding: 14px 16px; background: var(--soft); border-radius: 12px; }
.secure-note { text-align: center; margin: 12px 0 0; }
.captcha { margin: 18px 0 4px; min-height: 65px; }
.form > .btn { margin-top: 14px; }

.side-note { position: sticky; top: 20px; padding: 22px; }
.side-note h3 { font-size: 17px; }
.steps-small { margin: 0 0 6px; padding-left: 20px; font-size: 15px; color: var(--muted); }
.steps-small li { margin-bottom: 6px; }
.supporters li { padding: 2px 0; }
@media (max-width: 960px) { .side-note { position: static; } }
.form label > .input-prefix { display: flex; margin: 0; font-weight: 400; font-size: inherit; }
.form .input-prefix > b { display: grid; margin: 0; }

/* ── media centre, second pass ───────────────────────────────── */
.press-top { border-bottom: 0; }
.press-top .lede { margin-bottom: 18px; }
.h1-where { color: var(--muted); }
.press-nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.press-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 6px 18px; flex-wrap: wrap; min-height: 54px; }
.press-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px; }
.press-tabs::-webkit-scrollbar { display: none; }
.press-tabs a { white-space: nowrap; padding: 15px 12px 13px; color: var(--muted); font-size: 15.5px; border-bottom: 2px solid transparent; }
.press-tabs a:hover { color: var(--text); }
.press-tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--brand); }
.press-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); padding: 6px 0; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #d4361f; box-shadow: 0 0 0 0 rgba(212, 54, 31, .5); animation: livepulse 2s infinite; flex: none; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(212, 54, 31, .45); } 70% { box-shadow: 0 0 0 8px rgba(212, 54, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 54, 31, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 22px; }
.figure { background: #ffffff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.figure span { font-size: 12.5px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.figure strong { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.figure small { font-size: 13px; color: var(--muted); }

.press-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
@media (max-width: 980px) { .press-main { grid-template-columns: 1fr; } }
.press-col, .press-side { display: grid; gap: 20px; min-width: 0; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2 { font-size: 22px; }
.card-head h3 { font-size: 18px; }
.card-head a { font-size: 14.5px; }
.race-card { padding: 22px 24px; }
@media (max-width: 560px) { .race-card, .panel { padding: 18px 16px; } }

.race-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 10px; }
.race-meta { font-size: 14px; color: var(--muted); }
.race-meta strong { color: var(--text); font-weight: 650; }
.coverage { position: relative; height: 6px; border-radius: 999px; background: var(--soft); margin: 0 0 14px; overflow: visible; }
.coverage i { display: block; height: 100%; border-radius: inherit; background: var(--text); opacity: .55; }
.coverage b { position: absolute; top: -3px; width: 2px; height: 12px; background: var(--muted); }
.race-empty { color: var(--muted); margin: 6px 0 0; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; flex: none; vertical-align: 0; }
.swatch.none { background: var(--soft); border: 1px solid var(--line); }
.cand { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 92px; padding: 12px 0; }
.cand-name { display: flex; align-items: center; min-width: 0; }
.cand-name > span { display: flex; flex-direction: column; min-width: 0; }
.cand-name small { color: var(--muted); font-size: 13px; }
.cand-bar { height: 12px; }
.cand.first .cand-bar { height: 16px; }
.cand-num strong { font-size: 19px; }
.cand.first .cand-num strong { font-size: 24px; }
.cand-num small { color: var(--muted); font-size: 12.5px; }
.race-foot { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.race-foot strong { color: var(--text); }
.threshold { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.threshold summary, .how-to-read summary { cursor: pointer; font-weight: 650; color: var(--brand); font-size: 15px; }
.threshold table { margin-top: 8px; font-size: 14px; }
.estimate { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.estimate h3 { font-size: 16px; margin-bottom: 4px; }
.race-card .notice { margin: 16px 0 0; }
.waiting p { margin: 0 0 8px; }

.side-list article { padding: 10px 0; border-bottom: 1px solid var(--line); }
.side-list article:last-of-type { border-bottom: 0; }
.side-list small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 2px; }
.side-list article a { color: var(--text); font-weight: 600; line-height: 1.35; }
.side-list article a:hover { color: var(--brand); }
.side-list .btn { margin-top: 12px; width: 100%; }
.mini-bars { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.mini-bars .hbar { font-size: 13.5px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 2.2em; padding: 4px 0; }
.mini-bars .cand-bar { height: 8px; }

.leaders { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 22px; align-items: start; }
@media (max-width: 760px) { .leaders { grid-template-columns: 1fr; } }
.key-list li { display: flex; align-items: center; gap: 0; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.key-list li span { flex: 1; min-width: 0; }
.key-list li small { color: var(--muted); }
.key-list li b { font-variant-numeric: tabular-nums; }
.tilemap .tile.lead { border-color: transparent; }
.tilemap .tile.q0 { color: var(--muted); }
.tilemap .tile span { font-weight: 650; }

.how-to-read { margin-top: 22px; }
.how-to-read .grid-2 { margin-top: 12px; gap: 6px 26px; }
.how-to-read p { font-size: 14.5px; color: var(--muted); margin: 0 0 8px; }
.how-to-read strong { color: var(--text); }

.race-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 18px; padding: 14px 16px; background: var(--soft); border-radius: 14px; }
.race-filter label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 650; color: var(--muted); flex: 1 1 180px; }
.race-filter select { min-height: 44px; border: 1.5px solid #cdd3da; border-radius: 10px; padding: 0 12px; font: 16px var(--font); background: #ffffff; color: var(--text); width: 100%; }
.race-filter .btn { min-height: 44px; }
.block-title { font-size: 22px; margin: 28px 0 12px; }
.race-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.panel.flush { padding: 0; overflow: hidden; }
.results-table td { vertical-align: middle; }
.results-table td .swatch { margin-right: 6px; }
.mini-cover { display: inline-block; width: 60px; height: 6px; border-radius: 999px; background: var(--soft); vertical-align: middle; margin-right: 8px; overflow: hidden; }
.mini-cover i { display: block; height: 100%; background: var(--brand); }
.bulletin:target { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent); }
.leaders-card { margin-top: 20px; }
.leaders { grid-template-columns: minmax(0, 1fr) 280px; }
.leaders .tilemap { gap: 4px; }
.leaders .tile { font-size: 11px; padding: 4px 5px; }
.leaders .tile b { font-size: 11px; }
.leaders .tile span { font-size: 13px; }
@media (max-width: 700px) { .leaders .tile b { font-size: 8.5px; } .leaders .tile span { font-size: 10px; display: block; } }
.leaders .tile { aspect-ratio: 1.6; }
@media (max-width: 700px) { .leaders .tile { aspect-ratio: 1.15; } }
@media (max-width: 760px) { .leaders { grid-template-columns: 1fr; } }
