/* PolitiQo.com stylesheet */
:root {
  --navy: #0D1D2B; --navy-2: #13283A; --navy-3: #101F2E; --line-dark: #23364A; --line-dark-2: #3A4C60;
  --purple: #6924B5; --purple-dark: #4E1A88; --lavender: #B58AE0; --lavender-bg: #F1EAFB; --lavender-soft: #F7F3FD;
  --white: #FFFFFF; --grey: #F4F5F7; --line: #E6E8EC; --line-2: #D5D9E0;
  --text: #0D1D2B; --muted: #4A5563; --muted-2: #5B6573; --on-dark: #C9D1DB; --on-dark-2: #DCE2E9;
  --head: "Inter Tight", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
  --dev: "Noto Sans Devanagari", Inter, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 20px; --track: 0.14em; --lh-head: 1.08; --ls-head: -0.02em;
}
.lang-hi { --head: var(--dev); --body: var(--dev); --track: 0.02em; --lh-head: 1.3; --ls-head: 0; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--white); line-height: 1.6; font-size: 17px; }
img, svg { max-width: 100%; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-dark); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--head); line-height: var(--lh-head); letter-spacing: var(--ls-head); margin: 0; }
h1 { font-weight: 800; font-size: clamp(38px, 6.4vw, 88px); }
h2, .h2 { font-weight: 800; font-size: clamp(30px, 4vw, 44px); margin-top: 12px; }
.h2-sm { font-size: clamp(26px, 3vw, 34px); }
h3, .h3 { font-weight: 700; font-size: 22px; line-height: 1.3; }
.h4 { font-size: 18px; font-weight: 700; margin: 8px 0; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bordered { border-bottom: 1px solid var(--line); }
.grey { background: var(--grey); }
.dark { background: var(--navy); color: #fff; }
.dark .lead { color: var(--on-dark); }
.lead { font-size: 19px; line-height: 1.7; margin-top: 18px; max-width: 680px; }
.dark-text { color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.maxw { max-width: 760px; }
.mt-auto { margin-top: auto; }

.eyebrow { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13px; letter-spacing: var(--track); text-transform: uppercase; color: var(--purple); }
.eyebrow.light { color: var(--lavender); }
.eyebrow.small { font-size: 12px; }
.capsule { display: inline-block; flex-shrink: 0; width: 8px; height: 18px; border-radius: 999px; background: currentColor; }
.capsule.sm { width: 6px; height: 14px; }
.capsule.lg { width: 10px; height: 26px; background: var(--purple); }
.accent { color: var(--lavender); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; text-align: center; transition: filter .15s, background .15s; }
.btn:hover { filter: brightness(1.1); }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: #5A6878; }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.06); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 30px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.center-row { justify-content: center; }
.link-strong { font-weight: 600; }
.link-light { color: var(--lavender); font-weight: 600; }
.link-light:hover { color: #fff; }
.link-btn { background: none; border: 0; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; padding: 8px 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo img { display: block; height: 30px; width: auto; }
.nav-desktop { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
.nav-desktop a { color: var(--navy); white-space: nowrap; }
.nav-desktop a[aria-current] { color: var(--purple); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--navy); font-weight: 600; font-size: 14px; }
.lang-switch[lang="hi"] { font-family: var(--dev); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { border-top: 1px solid var(--line); padding: 8px 24px 24px; background: #fff; }
.mobile-menu a:not(.btn) { display: flex; justify-content: space-between; align-items: center; min-height: 52px; border-bottom: 1px solid #EEF0F3; color: var(--navy); font-weight: 600; font-size: 18px; }
.mobile-menu .capsule { color: var(--lavender); width: 6px; height: 14px; }
.mobile-menu .btn { margin-top: 20px; }
@media (max-width: 1100px) { .nav-desktop, .nav-cta { display: none; } .burger { display: inline-flex; } }
@media (min-width: 1101px) { .mobile-menu { display: none !important; } }

/* Hero */
.hero { padding: 88px 0 56px; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 1 1 480px; min-width: 0; }
.hero h1 { margin-top: 26px; }
.atlas { flex: 1 1 380px; min-width: 0; margin: 0; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 24px; background: var(--navy-3); }
.atlas-head { display: flex; justify-content: space-between; font: 500 12px var(--mono); letter-spacing: .22em; color: #93A0AD; }
.atlas svg { display: block; width: 100%; height: auto; margin-top: 18px; }
.atlas figcaption { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #93A0AD; }
.atlas figcaption strong { color: var(--on-dark-2); }
.cal-strip { margin-top: 64px; border-top: 1px solid var(--line-dark); padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 14px; color: var(--on-dark); }
.cal-strip a { color: var(--lavender); font-weight: 600; }
.page-hero { padding: 80px 0 64px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); margin-top: 20px; }
.h1-article { font-size: clamp(30px, 4.4vw, 52px) !important; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 14px; color: var(--on-dark); }

/* Grids & cards */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; margin-top: 36px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin-top: 40px; align-items: start; }
.align-start { align-items: start; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.split > div { min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; transition: border-color .15s; }
.card:hover { border-color: var(--lavender); }
.card p { color: var(--muted); line-height: 1.65; }
.card h3 a, .card h2 a { color: var(--navy); }
.card-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.card-dark p { color: var(--on-dark); }
.exp-top { display: flex; justify-content: space-between; align-items: center; }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; background: var(--lavender-bg); display: flex; align-items: center; justify-content: center; }
.exp-num { font: 700 14px "Inter Tight", sans-serif; color: #6B7684; }
.deliv summary { cursor: pointer; font-weight: 600; color: var(--purple); font-size: 14px; min-height: 32px; display: flex; align-items: center; }
.deliv p { margin-top: 8px; background: var(--lavender-soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #2B2340; }

/* Signup */
.signup { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.signup input { flex: 1 1 180px; min-width: 0; min-height: 48px; border-radius: 999px; border: 1px solid var(--line-dark-2); background: var(--navy-2); color: #fff; padding: 0 18px; font: inherit; font-size: 15px; }
.signup-light .signup input { background: #fff; color: var(--navy); border-color: #C5CBD3; }
.signup-light { flex: 1 1 360px; max-width: 480px; }

/* Loop */
.loop-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.loop-tabs button { cursor: pointer; min-height: 48px; padding: 0 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 16px; border: 1px solid var(--line-dark-2); background: transparent; color: #fff; }
.loop-tabs button[aria-selected="true"] { background: var(--purple); border-color: var(--purple); }
.loop-box { margin-top: 24px; background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.loop-visual { flex: 0 0 150px; }
.loop-svg { width: 150px; height: 150px; display: block; }
.loop-node { fill: var(--navy-2); }
.loop-node.is-active { fill: var(--purple); }
.loop-panel { flex: 1 1 320px; min-width: 0; }
.loop-num { font: 800 48px/1 "Inter Tight", sans-serif; color: var(--lavender); }
.loop-panel h3 { font-size: 28px; margin-top: 10px; }
.loop-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; margin-top: 20px; }
.loop-cols p { margin-top: 8px; color: var(--on-dark-2); line-height: 1.7; }
.label-light { font-weight: 600; font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; color: var(--lavender); }

/* Lens */
.lens { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 36px; align-items: flex-start; }
.lens-intro { flex: 1 1 340px; min-width: 0; }
.lens-form label { display: block; font-weight: 600; font-size: 15px; }
.field-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.field-row input { flex: 1 1 220px; min-width: 0; }
input, select, textarea { width: 100%; min-height: 50px; border: 1px solid #C5CBD3; border-radius: 12px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--navy); background: #fff; }
textarea { padding: 12px 16px; resize: vertical; }
input[type="file"] { padding: 10px 12px; }
.field-row input { width: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip, .chip-btn { cursor: pointer; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--grey); color: var(--navy); font: inherit; font-size: 15px; font-weight: 500; }
.chip-btn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.roles { margin-top: 28px; }
.role-box { margin-top: 24px; background: #fff; border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.role-box p { flex: 1 1 420px; min-width: 0; font-size: 20px; line-height: 1.6; font-weight: 500; }
.lens-card { flex: 1 1 420px; min-width: 0; background: var(--grey); border-radius: 22px; padding: clamp(20px, 4vw, 32px); min-height: 340px; }
.lens-result-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lens-result-head h3 { font-size: 30px; font-weight: 800; margin-top: 4px; }
.pill { background: #EFE7FA; color: var(--purple-dark); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; align-self: flex-start; }
.lens-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; margin: 22px 0 18px; }
.lens-cell { background: #fff; border-radius: 14px; padding: 16px; }
.lens-cell strong { display: block; margin-top: 6px; }
.lens-empty { min-height: 276px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 12px; }
.lens-empty svg { width: 100%; max-width: 360px; height: auto; }
[data-lens-miss] h3 { margin-bottom: 10px; }

/* Calendar & ethics */
.timeline { display: block; width: 100%; max-width: 460px; height: auto; margin-top: 28px; }
.cal-list { margin-top: 18px; }
.cal-row { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.cal-when { flex: 0 0 140px; font-weight: 700; color: var(--lavender); }
.cal-where { font-size: 14px; color: var(--on-dark); margin-top: 4px; }
.ethics-box { background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: 22px; padding: clamp(22px, 4vw, 36px); }
.ethics-list { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 16px; font-family: var(--head); font-weight: 600; font-size: 20px; line-height: 1.5; }
.ethics-list li { display: flex; gap: 14px; }
.ethics-list .capsule { color: var(--lavender); width: 6px; height: 20px; margin-top: 5px; }

/* Closing */
.closing h2 { max-width: 840px; margin: 18px auto 0; }
.closing .lead { margin: 18px auto 32px; }
.center-page { min-height: 60vh; display: flex; align-items: center; }
.center-page .wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 5vw, 40px); }
.stack { display: grid; gap: 16px; margin-top: 16px; }
.stack label, .brief label:not(.option) { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.progress { display: flex; gap: 6px; }
.progress span { flex: 1; height: 5px; border-radius: 999px; background: var(--line); }
.progress span.on { background: var(--purple); }
.step-label { margin-top: 12px; }
.brief-step { border: 0; padding: 0; margin: 18px 0 0; }
.brief-step legend { font-family: var(--head); font-weight: 700; font-size: 24px; line-height: 1.35; padding: 0; }
.options { display: grid; gap: 10px; margin-top: 18px; }
.option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 18px; border: 1.5px solid var(--line-2); border-radius: 14px; cursor: pointer; font-weight: 600; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option .capsule { color: var(--line); }
.option:has(input:checked) { border-color: var(--purple); background: var(--lavender-soft); }
.option:has(input:checked) .capsule { color: var(--purple); }
.option:has(input:focus-visible) { outline: 2px solid var(--purple); outline-offset: 2px; }
.js .brief-step:not(.is-current) { display: none; }
.scope-box { background: var(--lavender-soft); border-radius: 16px; padding: 20px; margin-bottom: 8px; }
.scope-box .chips span { background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.scope-box p { margin-top: 12px; color: #2B2340; }
.roles-list { display: grid; gap: 16px; }

/* Article */
.article-layout { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 64px; padding-bottom: 80px; align-items: flex-start; }
.prose { flex: 1 1 560px; min-width: 0; max-width: 760px; font-size: 18px; line-height: 1.8; }
.lang-hi .prose { line-height: 1.95; }
.prose h2 { font-size: 30px; margin: 40px 0 14px; }
.prose h3 { font-size: 23px; margin: 34px 0 10px; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--grey); font-weight: 600; }
.prose em { color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.ledger { flex: 0 1 300px; position: sticky; top: 96px; background: var(--grey); border-radius: var(--radius); padding: 24px; }
.ledger ul { padding-left: 18px; font-size: 14px; }
@media (max-width: 900px) { .ledger { position: static; flex-basis: 100%; } }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark); }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 64px; padding-bottom: 40px; }
.footer-brand { flex: 1 1 280px; min-width: 0; }
.footer-brand p { margin-top: 16px; max-width: 340px; }
.footer-brand a { color: var(--on-dark); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.footer-cols h2 { font-family: var(--body); font-size: 15px; font-weight: 600; color: #fff; margin: 0 0 12px; letter-spacing: 0; }
.footer-cols a { display: block; color: var(--on-dark); margin-bottom: 10px; font-size: 15px; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line-dark); font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; width: min(520px, calc(100% - 32px)); background: var(--navy); color: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 12px 32px rgba(13,29,43,.35); }
@media (max-width: 560px) { .hide-sm { display: none; } .section { padding: 72px 0; } body { font-size: 16px; } }
.article-head { max-width: 860px; }

/* ---------- Phase II: Constituency Lens ---------- */
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.h1-seat { font-size: clamp(36px, 6vw, 72px) !important; margin-top: 14px; }
.seat-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill-dark { background: var(--navy-2); color: var(--on-dark-2); border: 1px solid var(--line-dark); }
.seat-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.seat-main { flex: 1 1 560px; min-width: 0; }
.seat-side { flex: 0 1 320px; display: grid; gap: 16px; }
.result-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.big-num { font: 800 30px/1.1 "Inter Tight", sans-serif; margin-top: 6px; }
.big-num span { display: block; font: 500 14px var(--body); color: var(--on-dark); margin-top: 6px; }
.dark-num span { color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; margin-top: 16px; }
.stat-row > div { background: var(--grey); border-radius: 14px; padding: 16px; }
.stat-row strong { display: block; font: 700 20px "Inter Tight", sans-serif; margin: 4px 0 2px; }
.table-wrap { overflow-x: auto; margin-top: 12px; }
.cand-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.cand-table th, .cand-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cand-table th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--grey); }
.cand-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar { display: inline-block; width: 90px; height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; vertical-align: middle; margin-right: 8px; }
.bar span { display: block; height: 100%; background: var(--purple); border-radius: 999px; }
.outline-card { background: var(--grey); border-radius: var(--radius); padding: 20px; text-align: center; }
.outline-card svg { width: 100%; height: 220px; display: block; }
.note { background: var(--lavender-soft); border-radius: 12px; padding: 12px 14px; color: #2B2340; }
.seat-nav { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 14px; }
.source-note { margin-top: 32px; font-size: 13px; color: var(--muted-2); max-width: 900px; }
.stat-strip { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 36px; }
.stat-strip strong { display: block; font: 800 40px/1 "Inter Tight", sans-serif; color: var(--lavender); }
.stat-strip span { font-size: 14px; color: var(--on-dark); }
.lens-search label { display: block; font-weight: 600; font-size: 16px; }
.lens-search .chips a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--grey); color: var(--navy); font-size: 15px; }
.lens-search .chips a small { color: var(--muted); margin-left: 6px; }
.map-wrap { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 48px; align-items: flex-start; }
.map-head { flex: 1 1 260px; }
.legend { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 10px; }
.sw { width: 18px; height: 12px; border-radius: 3px; display: inline-block; }
.band-0 { fill: #E6E8EC; background: #E6E8EC; } .band-1 { fill: #D9C6F2; background: #D9C6F2; } .band-2 { fill: #B58AE0; background: #B58AE0; }
.band-3 { fill: #8B5CC9; background: #8B5CC9; } .band-4 { fill: #5B1F9E; background: #5B1F9E; }
.india-map { flex: 2 1 420px; min-width: 0; width: 100%; max-width: 760px; height: auto; }
.india-map path { stroke: #fff; stroke-width: .6; transition: fill .1s; }
.india-map a:hover path, .india-map a:focus path { fill: var(--navy); }
.state-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 8px 24px; margin-top: 24px; }
.state-list details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.state-list summary { cursor: pointer; font-weight: 600; }
.state-seats { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 15px; }

/* Research archive */
.search-box { background: var(--grey); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.search-box .h3 { margin-bottom: 14px; }
:root { --pagefind-ui-primary: #6924B5; --pagefind-ui-text: #0D1D2B; --pagefind-ui-border: #C5CBD3; --pagefind-ui-border-radius: 12px; --pagefind-ui-font: inherit; }
.grid-3 > [hidden] { display: none; }
@media print {
  .site-header, .site-footer, .ledger, .section.grey, .closing, .toast, .meta a, .skip { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .page-hero.dark { background: #fff !important; color: #0D1D2B !important; padding: 0 0 12pt; border-bottom: 2pt solid #6924B5; }
  .page-hero .lead, .meta { color: #333 !important; }
  .eyebrow.light { color: #6924B5 !important; }
  .article-layout { padding: 12pt 0 0; display: block; }
  .prose { max-width: none; font-size: 11pt; line-height: 1.6; }
  .prose a { color: #000; }
  .prose table { display: table; font-size: 9.5pt; }
  .print-brand { display: block !important; }
}
.print-brand { display: none; }
