/* elections.css — the quiet "official circular" look shared by /elections2026 and /service-structure.
   Deliberately distinct from the public pages (green / navy / teal): white ground, plum ink,
   Fraunces for headings, Manrope for text; Noto Serif Devanagari / Mukta for Marathi.
   One reading column, hairline rules instead of cards, no decorative motion. */

:root {
  --bg: #FFFFFF;
  --ink: #1F1A1E;
  --ink-2: #4A4249;
  --muted: #6F6570;
  --faint: #9A919A;
  --rule: #E6E0E3;
  --rule-strong: #CFC4CB;
  --tint: #F7F3F6;
  --plum: #4B2142;
  --plum-deep: #33162D;
  --moss: #2F6B4F;
  --moss-soft: #E9F2ED;
  --amber: #8A5A12;
  --amber-soft: #F8EEDB;
  --font-display: 'Fraunces', 'Noto Serif Devanagari', Georgia, serif;
  --font-body: 'Manrope', 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mr-display: 'Noto Serif Devanagari', 'Mukta', serif;
  --font-mr-body: 'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif;
  --measure: 66ch;
  --radius: 6px;
}

/* the old token names some markup still refers to */
:root { --paper: var(--tint); --paper-2: var(--tint); --card: var(--bg); --line: var(--rule); --line-2: var(--rule); --orchid: var(--plum); --rose: var(--rule-strong); --rose-soft: var(--tint); --plum-soft: var(--tint); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--plum); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: var(--rule-strong); }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 2px; }
b, strong { color: var(--ink); font-weight: 700; }

/* ---------- language switching ---------- */
body.lang-en [data-lang-mr] { display: none !important; }
body.lang-mr [data-lang-en] { display: none !important; }
[data-lang-mr] { font-family: var(--font-mr-body); }
h1 [data-lang-mr], h2 [data-lang-mr], h3 [data-lang-mr], .display [data-lang-mr],
h1[data-lang-mr], h2[data-lang-mr], h3[data-lang-mr] { font-family: var(--font-mr-display); }

/* ---------- layout ---------- */
.wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0 18px; border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--plum-deep); }
.brand-mark { height: 38px; width: auto; flex: 0 0 auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--plum-deep); }
.brand-text span { font-size: 0.86rem; color: var(--muted); }

.lang-toggle { display: inline-flex; border: 1px solid var(--rule-strong); border-radius: 999px; overflow: hidden; background: var(--bg); }
.lang-toggle button {
  border: 0; background: transparent; padding: 6px 14px; font: inherit; font-size: 0.86rem; font-weight: 600;
  color: var(--plum); cursor: pointer; line-height: 1.4;
}
.lang-toggle button.active { background: var(--plum); color: #fff; }
.lang-toggle button:focus-visible { outline-offset: -3px; }

/* ---------- hero ---------- */
.hero { padding: 44px 0 8px; }
.eyebrow { display: block; font-size: 0.92rem; color: var(--muted); }
.eyebrow::before { content: none; }
.hero h1 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.12; color: var(--plum-deep); margin: 12px 0 0; letter-spacing: -0.012em; max-width: 24ch;
}
.hero h1 [data-lang-mr] { font-weight: 600; line-height: 1.3; }
.date-line {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 1.8rem); color: var(--plum);
  margin-top: 16px; line-height: 1.3;
}
.date-line [data-lang-mr] { font-weight: 600; }
.lede { font-size: 1.1rem; max-width: var(--measure); color: var(--ink-2); margin-top: 22px; line-height: 1.6; }
.lede b { color: var(--ink); }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 30px; border-top: 1px solid var(--rule-strong); }
.facts > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); font-size: 0.92rem; padding-top: 0.2rem; }
.facts dd { color: var(--ink); font-weight: 600; }
.facts dd small { display: block; color: var(--muted); font-weight: 500; font-size: 0.9rem; margin-top: 2px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none; border-radius: 999px;
  padding: 10px 18px; font-weight: 700; font-size: 0.95rem; border: 1px solid var(--plum); color: var(--plum);
  background: transparent; cursor: pointer; font-family: inherit; line-height: 1.3;
}
.btn:hover { background: var(--tint); }
.btn-solid { background: var(--plum); color: #fff; }
.btn-solid:hover { background: var(--plum-deep); }
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.actions .link { font-weight: 600; }

/* on-this-page contents */
.chips { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 30px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.chips-label { font-size: 0.86rem; color: var(--muted); margin-right: 4px; }
.chip { font-size: 0.92rem; font-weight: 600; text-decoration: none; color: var(--plum); padding: 2px 0; }
.chip:hover { text-decoration: underline; }

/* ---------- sections ---------- */
.section { padding: 56px 0 0; scroll-margin-top: 20px; }
.section-head { margin-bottom: 26px; }
.section-head h2, .section > h2 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.55rem, 3vw, 2rem); color: var(--plum-deep);
  line-height: 1.2; letter-spacing: -0.008em;
}
.section-head h2 [data-lang-mr], .section > h2 [data-lang-mr] { font-weight: 600; }
.section-head .eyebrow { margin-bottom: 6px; }
.section-head p { margin-top: 12px; max-width: var(--measure); color: var(--ink-2); }
.band { border-top: 1px solid var(--rule); padding: 0; margin-top: 64px; }
.band .section { padding-top: 0; }
.band-plum { background: transparent; color: var(--ink-2); }

.card { background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius); }
.card-pad { padding: 22px 24px; }

/* ---------- the two posts ---------- */
.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--rule-strong); }
.post { padding: 24px 0 26px; display: flex; flex-direction: column; }
.post .kicker { font-size: 0.9rem; color: var(--muted); }
.post h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; color: var(--plum-deep); line-height: 1.2; margin: 6px 0 10px; }
.post h3 small { font-size: 0.72em; font-weight: 500; color: var(--muted); }
.post .sum { color: var(--ink); margin-bottom: 10px; }
.post ul { padding-left: 20px; margin: 4px 0 16px; font-size: 0.97rem; }
.post li { margin-bottom: 7px; }
.post .quals { border-top: 1px solid var(--rule); padding-top: 12px; font-size: 0.92rem; color: var(--ink-2); line-height: 1.55; }
.post .quals b { display: block; color: var(--ink); margin-bottom: 2px; font-size: 0.95rem; }
.post .actions { margin-top: auto; padding-top: 16px; }

/* ---------- the formal letter ---------- */
.sheet { border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--bg); }
.sheet > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 24px; font-weight: 700; color: var(--plum);
}
.sheet > summary::-webkit-details-marker { display: none; }
.sheet > summary .hint { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.sheet[open] > summary { border-bottom: 1px solid var(--rule); }
.sheet > summary::after { content: '+'; font-family: var(--font-display); font-size: 1.4rem; color: var(--plum); line-height: 1; }
.sheet[open] > summary::after { content: '–'; }
.letter { padding: 34px 36px 30px; font-size: 1rem; line-height: 1.7; }
.letter .letterhead { text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--rule); margin-bottom: 22px; }
.letter .letterhead .org { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--plum-deep); }
.letter .letterhead .org [data-lang-mr] { font-size: 1.32rem; }
.letter .letterhead .no { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
.letter .letterhead .subject-line { margin-top: 10px; font-weight: 700; color: var(--ink); }
.letter p { margin: 0 0 12px; }
.letter .to { margin-bottom: 14px; color: var(--ink); }
.letter .kv { display: grid; grid-template-columns: 96px 1fr; gap: 4px 14px; margin: 14px 0; padding: 12px 16px; background: var(--tint); border-radius: var(--radius); }
.letter .kv b { color: var(--plum); }
.letter .sign { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--rule-strong); color: var(--ink); }
.letter .sign .tag { color: var(--plum); font-weight: 700; }
.letter ol, .letter ul { padding-left: 22px; margin: 0 0 12px; }
.letter li { margin-bottom: 6px; }
.letter .encl { font-size: 0.92rem; color: var(--muted); }

/* ---------- schedule ---------- */
.timeline { list-style: none; border-top: 1px solid var(--rule-strong); }
.tl-item { display: grid; grid-template-columns: 15rem 1fr auto; gap: 6px 24px; padding: 14px 0 14px 16px; border-bottom: 1px solid var(--rule); border-left: 3px solid transparent; margin-left: -19px; }
.tl-item.done { color: var(--muted); }
.tl-item.active { border-left-color: var(--plum); }
.tl-date { font-family: var(--font-display); font-weight: 600; color: var(--plum-deep); font-size: 1.05rem; line-height: 1.35; }
.tl-item.done .tl-date { color: var(--muted); font-weight: 500; }
.tl-what { color: var(--ink-2); }
.tl-item.active .tl-what { color: var(--ink); font-weight: 600; }
.pill { font-size: 0.82rem; font-weight: 700; white-space: nowrap; padding-top: 0.2rem; }
.pill-done { color: var(--faint); }
.pill-active { color: var(--moss); }
.pill-soon { color: var(--amber); }
.pill-up { color: var(--faint); font-weight: 600; }

/* ---------- venue & timings ---------- */
.two { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0 40px; border-top: 1px solid var(--rule-strong); }
.two > div { padding-top: 22px; }
.venue-name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--plum-deep); line-height: 1.25; }
.venue-addr { margin-top: 8px; color: var(--ink-2); max-width: 44ch; }
.venue-note { margin-top: 14px; font-size: 0.92rem; color: var(--muted); max-width: 44ch; }
.slots { list-style: none; }
.slot { display: grid; grid-template-columns: 8.5rem 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.slot time { font-family: var(--font-display); font-weight: 600; color: var(--plum); font-size: 1.02rem; white-space: nowrap; }
.slot .what { color: var(--ink); font-weight: 600; }
.slot .what small { display: block; color: var(--muted); font-weight: 500; font-size: 0.9rem; }
.slot.lunch time, .slot.lunch .what { color: var(--muted); font-weight: 500; }
.map-embed { margin-top: 26px; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { display: block; width: 100%; height: 300px; border: 0; }
.map-embed-link { display: block; padding: 11px 16px; font-size: 0.92rem; font-weight: 600; text-decoration: none; border-top: 1px solid var(--rule); }
.map-embed-link:hover { background: var(--tint); }

/* ---------- the four notes ---------- */
.rules { list-style: none; counter-reset: rule; border-top: 1px solid var(--rule-strong); max-width: 720px; }
.rules li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.rules li::before { counter-increment: rule; content: counter(rule); font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1; color: var(--plum); padding-top: 3px; }
.rules h3 { font-size: 1.05rem; color: var(--ink); font-weight: 700; margin-bottom: 4px; }
.rules p { font-size: 0.97rem; color: var(--ink-2); }

/* ---------- nomination forms ---------- */
.forms { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--rule-strong); }
.form-card { padding: 24px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.form-card .ref { font-size: 0.9rem; color: var(--muted); }
.form-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--plum-deep); line-height: 1.2; }
.form-card p { font-size: 0.97rem; }
.glance { display: grid; grid-template-columns: 6.5rem 1fr; gap: 6px 14px; font-size: 0.92rem; border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 4px; }
.glance dt { color: var(--muted); }
.glance dd { color: var(--ink); font-weight: 600; }
.form-card .actions { margin-top: auto; padding-top: 6px; }
.howto { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); max-width: 720px; }
.howto h3 { font-family: var(--font-display); font-weight: 600; color: var(--plum-deep); font-size: 1.25rem; margin-bottom: 10px; }
.howto ol { padding-left: 22px; }
.howto li { margin: 8px 0; }
.howto b { color: var(--plum); }

/* ---------- procedure ---------- */
.prose p { margin-bottom: 14px; max-width: var(--measure); }
.prose p.lead { font-family: var(--font-display); font-size: 1.2rem; color: var(--plum-deep); line-height: 1.5; }
.steps { list-style: none; counter-reset: step; border-top: 1px solid var(--rule-strong); margin-top: 12px; max-width: 760px; }
.step { display: grid; grid-template-columns: 2.4rem 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.step::before { counter-increment: step; content: counter(step); font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1; color: var(--plum); padding-top: 3px; }
.step p { font-size: 0.97rem; }
.step em { font-style: normal; color: var(--plum); font-weight: 700; }

/* ---------- flowchart ---------- */
.flow { margin-top: 36px; padding: 28px 26px 26px; border: 1px solid var(--rule); border-radius: var(--radius); }
.flow-title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--plum-deep); margin-bottom: 20px; }
.f-stage { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: stretch; }
.f-label { font-family: var(--font-display); font-weight: 600; color: var(--plum-deep); font-size: 1.02rem; padding-top: 12px; line-height: 1.2; }
.f-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0; align-items: center; }
.f-q { border: 1px solid var(--plum); border-radius: var(--radius); padding: 12px 14px; background: var(--bg); color: var(--ink); font-weight: 600; font-size: 0.93rem; line-height: 1.4; }
.f-yes { display: flex; align-items: center; padding: 0 8px; gap: 8px; }
.f-yes .tag { font-size: 0.8rem; font-weight: 700; color: var(--moss); }
.f-yes .arrow { width: 26px; height: 1px; background: var(--moss); position: relative; }
.f-yes .arrow::after { content: ''; position: absolute; right: -1px; top: -4px; border: 4px solid transparent; border-left: 6px solid var(--moss); }
.f-elected { background: var(--moss-soft); color: var(--moss); border-radius: var(--radius); padding: 11px 14px; font-weight: 700; font-size: 0.9rem; line-height: 1.35; }
.f-link { display: grid; grid-template-columns: 96px 1fr; gap: 14px; }
.f-link .f-label { visibility: hidden; padding: 0; }
.f-down { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0 6px 24px; min-height: 42px; }
.f-down .line { width: 1px; align-self: stretch; background: var(--plum); position: relative; margin-left: 4px; min-height: 30px; }
.f-down .line::after { content: ''; position: absolute; bottom: -1px; left: -4px; border: 4px solid transparent; border-top: 6px solid var(--plum); }
.f-down .no { font-size: 0.8rem; font-weight: 700; color: var(--plum); margin-top: 2px; }
.f-rule { margin: 2px 0 2px 44px; border-left: 2px solid var(--rule-strong); background: var(--tint); color: var(--ink-2); padding: 10px 14px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.9rem; max-width: 520px; }
.f-rule b { color: var(--plum); }
.f-motion { background: var(--plum); color: #fff; border-radius: 999px; padding: 12px 20px; text-align: center; font-weight: 700; font-size: 0.95rem; }
.f-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 4px; }
.f-branch { display: flex; flex-direction: column; align-items: stretch; }
.f-branch-head { text-align: center; font-size: 0.86rem; font-weight: 700; padding: 10px 0 4px; }
.f-branch.pass .f-branch-head { color: var(--plum); }
.f-branch.fail .f-branch-head { color: var(--amber); }
.f-branch .f-down { padding-left: 0; justify-content: center; }
.f-branch .f-down .line { margin-left: 0; }
.f-branch .f-row { grid-template-columns: 1fr; }
.f-branch .f-yes { padding: 6px 0 6px 14px; }
.f-branch .f-yes .arrow { display: none; }
.f-branch .f-yes .tag::after { content: ' \2193'; }
.f-branch .f-label { padding-top: 0; margin-bottom: 8px; }
.f-hat { display: flex; align-items: center; gap: 12px; justify-content: center; background: var(--plum-deep); color: #fff; border-radius: var(--radius); padding: 14px 18px; font-weight: 700; font-size: 0.95rem; }
.f-hat svg { width: 28px; height: 28px; flex: 0 0 auto; }
.f-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 0.86rem; color: var(--muted); }
.f-legend span { display: inline-flex; align-items: center; gap: 7px; }
.f-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* ---------- people ---------- */
.people { list-style: none; border-top: 1px solid var(--rule-strong); }
.people li { display: grid; grid-template-columns: 11rem 1fr auto; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.people .role-of { color: var(--muted); font-size: 0.92rem; }
.people .name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--plum-deep); line-height: 1.25; }
.people .desc { display: block; font-family: var(--font-body); font-size: 0.92rem; color: var(--ink-2); font-weight: 500; margin-top: 1px; }
.people .name [data-lang-mr], .people-title [data-lang-mr], .more b [data-lang-mr], .date-line [data-lang-mr], .tl-date [data-lang-mr], .venue-name [data-lang-mr], .flow-title [data-lang-mr] { font-family: var(--font-mr-display); }
.people a.tel { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--plum); font-weight: 700; font-size: 0.95rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.people a.tel:hover { text-decoration: underline; }
.people a.tel svg { width: 14px; height: 14px; }
.people-title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--plum-deep); margin: 36px 0 12px; }
.people-title + p { margin: -6px 0 14px; font-size: 0.95rem; color: var(--muted); max-width: var(--measure); }

/* ---------- read more: service structure ---------- */
.more {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 64px;
  padding: 26px 28px; border: 1px solid var(--plum); border-radius: var(--radius); text-decoration: none; color: var(--ink-2);
}
.more:hover { background: var(--tint); }
.more b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--plum-deep); line-height: 1.25; margin-bottom: 4px; }
.more span { font-size: 0.97rem; }
.more svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--plum); }

/* ---------- footer ---------- */
.foot { padding-top: 32px; padding-bottom: 48px; color: var(--muted); font-size: 0.95rem; }
.foot .sig { font-family: var(--font-display); color: var(--plum-deep); font-size: 1.25rem; font-weight: 500; margin-bottom: 8px; }
.foot p { max-width: var(--measure); }
.foot .tiny { font-size: 0.86rem; color: var(--faint); margin-top: 18px; }

/* ---------- service structure page ---------- */
.tri { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 26px 0 8px; }
.tri-level {
  width: var(--w); max-width: 100%; min-width: min(100%, 320px); text-align: center; padding: 12px 16px; border-radius: var(--radius); text-decoration: none;
  background: var(--bg); border: 1px solid var(--rule-strong); color: var(--ink);
}
.tri-level:hover { border-color: var(--plum); }
.tri-level b { display: block; font-family: var(--font-display); font-weight: 600; color: var(--plum-deep); font-size: 1.05rem; }
.tri-level span { font-size: 0.86rem; color: var(--muted); }
.tri-level.top { background: var(--plum); border-color: var(--plum); }
.tri-level.top b { color: #fff; }
.tri-level.top span { color: rgba(255, 255, 255, 0.78); }
.tri-arrow { color: var(--muted); font-size: 0.86rem; }

.roles { display: grid; gap: 18px; }
.role { padding: 26px 28px; scroll-margin-top: 20px; }
.role .kicker { font-size: 0.9rem; color: var(--muted); }
.role h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--plum-deep); margin: 6px 0 10px; line-height: 1.2; }
.role h4 { font-size: 0.95rem; color: var(--ink); margin: 18px 0 8px; font-weight: 700; }
.role p { margin-bottom: 10px; max-width: 72ch; }
.role ul, .role ol { padding-left: 22px; margin-bottom: 10px; max-width: 72ch; }
.role li { margin-bottom: 6px; }
.role-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 12px 0 6px; }
.role-meta div { background: var(--tint); border-radius: var(--radius); padding: 10px 12px; font-size: 0.9rem; }
.role-meta b { display: block; font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.role-meta span { color: var(--ink); font-weight: 600; }
.role.hl { border-color: var(--plum); }
.src { font-size: 0.86rem; color: var(--muted); border-top: 1px dashed var(--rule-strong); padding-top: 10px; margin-top: 14px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini { padding: 16px 18px; }
.mini h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--plum-deep); margin-bottom: 6px; }
.mini p { font-size: 0.95rem; }

.map-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.map-table th, .map-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.map-table th { font-size: 0.86rem; color: var(--muted); font-weight: 600; }
.map-table td:first-child { font-weight: 700; color: var(--plum); white-space: nowrap; }
.table-scroll { overflow-x: auto; }

.sources { list-style: none; display: grid; gap: 8px; font-size: 0.92rem; }
.sources li { padding-left: 18px; position: relative; }
.sources li::before { content: '–'; position: absolute; left: 0; color: var(--faint); }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .two, .forms, .f-split, .grid2, .posts, .facts { grid-template-columns: 1fr; }
  .post { border-bottom: 1px solid var(--rule); }
  .post:last-child { border-bottom: 0; }
  .form-card { border-bottom: 1px solid var(--rule); }
  .form-card:last-child { border-bottom: 0; }
  .two > div:first-child { padding-bottom: 8px; }
  .letter { padding: 24px 20px; }
  .letter .kv { grid-template-columns: 1fr; gap: 2px; }
  .tl-item { grid-template-columns: 1fr; gap: 2px; }
  .people li { grid-template-columns: 1fr auto; }
  .people .role-of { grid-column: 1 / -1; }
  .f-stage, .f-link { grid-template-columns: 1fr; gap: 6px; }
  .f-label { padding-top: 0; }
  .f-link .f-label { display: none; }
  .f-row { grid-template-columns: 1fr; }
  .f-yes { padding: 6px 0 6px 14px; }
  .f-yes .arrow { width: 18px; }
  .f-rule { margin-left: 0; }
  .f-down { padding-left: 14px; }
  .f-split { gap: 10px; }
  .flow { padding: 22px 18px; }
  .role { padding: 22px 18px; }
  .card-pad { padding: 18px; }
  .hero h1 { max-width: none; }
  .more { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  body { font-size: 1rem; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .slot { grid-template-columns: 1fr; gap: 2px; }
  .glance { grid-template-columns: 1fr; gap: 0; }
  .glance dt { margin-top: 8px; }
  .brand-text span { display: none; }
  .brand-mark { height: 34px; }
  .sheet > summary { padding: 16px 18px; }
  .sheet > summary .hint { display: none; }
}
@media print {
  .lang-toggle, .actions, .chips, .map-embed, .more { display: none !important; }
  body { background: #fff; }
  .sheet > summary::after { display: none; }
}
