/* UNMUTE: Rise for Justice — unmutekarnataka.org
   Colours come from the campaign logo and target poster. */
/* Fonts are hosted with the site (SIL Open Font License). */
@font-face { font-family: "Anek Latin"; src: url("/fonts/anek-latin-latin-standard-normal.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "Anek Kannada"; src: url("/fonts/anek-kannada-kannada-standard-normal.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 125%; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0C80-0CF3, U+1CD0, U+1CD2-1CD3, U+1CDA, U+1CF2, U+1CF4, U+200C-200D, U+20B9, U+25CC, U+A830-A835; }
@font-face { font-family: "Noto Nastaliq Urdu"; src: url("/fonts/noto-nastaliq-urdu-arabic-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Urdu Label"; src: url("/fonts/urdu-label.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Kannada Label"; src: url("/fonts/kannada-label.woff2") format("woff2"); font-display: swap; }
:root {
  --maroon: #7b1022;
  --maroon-deep: #5c0a18;
  --crimson: #b81226;
  --green: #0b4f30;
  --green-deep: #073a23;
  --gold: #eaaa1a;
  --paper: #f6f0e3;
  --white: #ffffff;
  --ink: #1b1411;
  --ink-soft: #5b4f48;
  --line: #e0d6c2;
  --font: "Anek Latin", "Anek Kannada", system-ui, sans-serif;
  --wrap: 70rem;
  --gap: clamp(1.25rem, 4vw, 2.5rem);
}
html[lang="kn"] { --font: "Anek Kannada", "Anek Latin", system-ui, sans-serif; }
html[lang="ur"] { --font: "Noto Nastaliq Urdu", "Anek Latin", serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.125rem; line-height: 1.55;
}
html[lang="ur"] body { line-height: 2.3; font-size: 1.05rem; }
html[lang="kn"] body { line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 800; font-stretch: 112%; letter-spacing: -0.015em; text-wrap: balance; }
html[lang="ur"] :is(h1, h2, h3) { line-height: 1.9; letter-spacing: 0; font-weight: 700; }
html[lang="kn"] :is(h1, h2, h3) { line-height: 1.3; letter-spacing: 0; }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3 { font-size: 1.3rem; font-stretch: 105%; line-height: 1.2; }
p { margin: 0; max-width: 62ch; }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); }
.note { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- top bar ---------- */
.top { background: var(--maroon); color: var(--white); }
.top .wrap { display: flex; align-items: center; gap: 1rem; padding-block: 0.9rem; flex-wrap: wrap; }
.brand img { height: 2.1rem; width: auto; mix-blend-mode: screen; }
.top nav { margin-inline-start: auto; display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: 1rem; }
.top nav a { text-decoration: none; padding-block: 0.3rem; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.langs { display: flex; border: 1.5px solid rgba(255, 255, 255, 0.45); border-radius: 999px; overflow: hidden; direction: ltr; }
.langs button {
  font: inherit; font-size: 0.95rem; line-height: 1.5; color: var(--white); background: none; border: 0;
  padding: 0.3rem 0.85rem; cursor: pointer;
}
.langs button[lang="ur"] { font-family: "Urdu Label", "Noto Nastaliq Urdu", serif; line-height: 1.6; }
.langs button[lang="kn"] { font-family: "Kannada Label", "Anek Kannada", sans-serif; }
.langs button[aria-pressed="true"] { background: var(--paper); color: var(--maroon); font-weight: 700; }
.skip { position: absolute; inset-inline-start: 0.5rem; top: -4rem; z-index: 50; background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 0.5rem; }
.menu-btn { display: none; }
.l-short { display: none; }
@media (max-width: 1200px) {
  .top { position: sticky; top: 0; z-index: 20; }
  .top .wrap { gap: 0.5rem; padding-block: 0.55rem; flex-wrap: wrap; }
  .brand { order: 1; flex: 0 1 auto; min-width: 0; }
  .brand img { height: 1.3rem; }
  .top-cta { order: 2; margin-inline-start: auto; }
  .langs { order: 3; }
  .langs button { padding: 0.2rem 0.5rem; font-size: 0.86rem; }
  .langs button[lang="ur"] { line-height: 1.45; }
  .l-full { display: none; } .l-short { display: inline; }
  .menu-btn { order: 4; display: inline-flex; align-items: center; gap: 0.4rem; font: inherit; font-weight: 700; font-size: 0.92rem; color: var(--white); background: none; border: 1.5px solid rgba(255, 255, 255, 0.45); border-radius: 999px; padding: 0.25rem 0.65rem; cursor: pointer; }
  .burger, .burger::before, .burger::after { display: block; width: 0.95rem; height: 2px; background: currentColor; border-radius: 1px; position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -5px; } .burger::after { top: 5px; }
  .menu-btn[aria-expanded="true"] .burger { background: transparent; }
  .menu-btn[aria-expanded="true"] .burger::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .burger::after { top: 0; transform: rotate(-45deg); }
  .top nav { order: 4; width: 100%; margin: 0; display: none; flex-direction: column; gap: 0; font-size: 1.05rem; padding-bottom: 0.4rem; }
  .top nav.open { display: flex; }
  .top nav a { padding-block: 0.7rem; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
  .top nav a.why { border-radius: 0; background: none; color: inherit; }
  section[id] { scroll-margin-top: 3.8rem; }
}
@media (max-width: 380px) { .brand img { height: 1.15rem; } .menu-btn span[data-i18n] { display: none; } }

/* ---------- hero ---------- */
.hero { background: var(--maroon); color: var(--white); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--gap); align-items: end; }
.hero-text { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { font-size: clamp(2.7rem, 7.4vw, 5.6rem); font-stretch: 118%; line-height: 0.98; }
html[lang="ur"] .hero h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.9; }
html[lang="kn"] .hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); line-height: 1.3; }
.hero .others { margin-top: 1.4rem; display: grid; gap: 0.2rem; color: #f3d9a0; font-size: 1.2rem; }
.hero .others span { unicode-bidi: plaintext; text-align: left; }
html[dir="rtl"] .hero .others span { text-align: right; }
.hero .others [lang="ur"] { font-family: "Noto Nastaliq Urdu", serif; line-height: 2.2; }
.hero .others [lang="kn"] { font-family: "Anek Kannada", sans-serif; }
html[lang="ur"] .hero .others [lang="ur"], html[lang="kn"] .hero .others [lang="kn"], html[lang="en"] .hero .others [lang="en"] { display: none; }
.hero .lead { margin-top: 1.4rem; max-width: 46ch; color: #fbeeee; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.btn {
  display: inline-block; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  padding: 0.8rem 1.5rem; border-radius: 999px; border: 2px solid var(--gold);
  background: var(--gold); color: var(--ink); line-height: 1.3;
}
html[lang="ur"] .btn { line-height: 2; padding-block: 0.4rem; }
.btn:hover { background: #f6bd3c; border-color: #f6bd3c; }
.btn.ghost { background: none; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn.dark { background: var(--green); border-color: var(--green); color: var(--white); }
.btn.dark:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.arch {
  background: var(--paper); border-radius: 999px 999px 0 0; align-self: end;
  padding: clamp(3rem, 9vw, 6.5rem) clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  display: grid; place-items: center;
}
.arch img { width: min(100%, 22rem); }
.hero .wrap { align-items: center; }
.hero .arch { align-self: center; border-radius: 999px; padding: clamp(1.8rem, 4vw, 3rem); margin-block: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr auto; gap: 0.8rem 1rem; }
  .hero-text { display: contents; }
  .hero h1 { grid-column: 1; grid-row: 1; padding-top: 1.6rem; align-self: center; font-size: clamp(2.1rem, 9.5vw, 3rem); }
  html[lang="ur"] .hero h1, html[lang="kn"] .hero h1 { font-size: clamp(1.7rem, 7.5vw, 2.4rem); }
  .hero .arch { grid-column: 2; grid-row: 1; width: 6.5rem; height: 6.5rem; padding: 0.7rem; margin: 1.6rem 0 0; }
  .hero .arch img { width: 100%; }
  .hero .lead { grid-column: 1 / -1; margin-top: 0.4rem; }
  .hero .actions { grid-column: 1 / -1; margin: 0.6rem 0 1.8rem; }
  .hero .actions .btn { flex: 1 1 12rem; text-align: center; }
}
/* participation strip */
.conf-card { margin-top: clamp(1.8rem, 4vw, 2.6rem); background: var(--green); color: var(--white); border-radius: 14px; padding: 1.3rem 1.5rem; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 0.8rem 2rem; align-items: center; }
.conf-card h3 { font-size: 1rem; color: var(--gold); margin: 0; }
.conf-card p { margin: 0; }
.cc-date { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; font-stretch: 112%; line-height: 1.15; }
html[lang="ur"] .cc-date { line-height: 1.9; }
.cc-dead { font-weight: 600; color: #f3e6bf; }
.cc-act { display: flex; gap: 0.6rem 1.2rem; align-items: center; flex-wrap: wrap; }
.cc-act .link { color: var(--white); font-weight: 600; }
@media (max-width: 860px) { .conf-card { grid-template-columns: 1fr; } }
.steps-h { margin: clamp(2.2rem, 5vw, 3.2rem) 0 0; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.countdown { background: var(--gold); color: var(--ink); font-weight: 600; }
.countdown .wrap { padding-block: 0.8rem; display: flex; gap: 0.6rem 1.5rem; flex-wrap: wrap; align-items: baseline; }
.countdown b { font-size: 1.5rem; font-weight: 800; font-stretch: 115%; }

/* ---------- sections ---------- */
section { padding-block: clamp(3rem, 8vw, 6rem); }
.white { background: var(--white); }
.green { background: var(--green); color: var(--white); }
.maroon { background: var(--maroon); color: var(--white); }
.head { display: grid; gap: 1rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.quote, .preamble { margin: 0; border-inline-start: 4px solid var(--gold); padding-inline-start: 1.25rem; display: grid; gap: 0.6rem; }
.quote p, .preamble p { font-size: 1.2rem; font-weight: 500; max-width: 46ch; }
.quote cite, .preamble cite { font-style: normal; font-weight: 700; color: var(--maroon); }

/* six letters */
.letters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.letters li { background: var(--white); padding: 1.4rem 1.3rem 1.6rem; display: grid; gap: 0.35rem; align-content: start; }
.letters .l { font-size: 4.2rem; font-weight: 800; font-stretch: 125%; line-height: 0.9; color: var(--green); font-family: "Anek Latin", sans-serif; }
.letters li:nth-child(1) .l, .letters li:nth-child(5) .l { color: var(--crimson); }
.letters p { font-size: 1rem; color: var(--ink-soft); }
@media (max-width: 820px) { .letters { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .letters { grid-template-columns: 1fr; } }

/* five kinds of justice */
.justice { width: 100%; border-collapse: collapse; }
.justice th, .justice td { text-align: start; padding: 0.9rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.justice th { width: 30%; padding-inline-end: 1rem; font-weight: 800; font-size: 1.15rem; }
.justice td:last-child { width: 9.5rem; padding-inline-start: 1rem; color: var(--maroon); font-weight: 600; white-space: nowrap; font-size: 0.95rem; }
@media (max-width: 640px) {
  .justice, .justice tbody, .justice tr, .justice th, .justice td { display: block; width: auto; }
  .justice th { padding-bottom: 0; }
  .justice td { border: 0; padding-top: 0.2rem; }
  .justice td:last-child { padding-inline-start: 0; padding-bottom: 0.9rem; }
}

/* figures */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem var(--gap); }
.figures a { border-top: 3px solid var(--crimson); padding-top: 0.8rem; text-decoration: none; color: inherit; display: block; }
.figures a:hover b, .figures a:focus-visible b { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.15em; }
#numbers .actions { margin-top: 2.5rem; }
.btn.ghost-dark { background: none; color: var(--green); border-color: var(--green); }
.btn.ghost-dark:hover { background: #e6f1ea; }
.figures b { display: block; font-size: clamp(2.3rem, 5vw, 3.2rem); font-weight: 800; font-stretch: 115%; line-height: 1.05; color: var(--maroon); font-family: "Anek Latin", sans-serif; direction: ltr; }
html[dir="rtl"] .figures b { text-align: end; }
.figures span { display: block; margin-top: 0.4rem; }
.sources { margin-top: 2.5rem; max-width: 80ch; }

/* voice-level meter */
.meter { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: clamp(0.6rem, 2vw, 1.6rem); }
.meter li { display: grid; grid-template-rows: auto auto 1fr; gap: 0.55rem; }
.meter .bar {
  position: relative; height: 13rem; background: rgba(255, 255, 255, 0.14);
  -webkit-mask: repeating-linear-gradient(to top, #000 0 9px, transparent 9px 13px);
  mask: repeating-linear-gradient(to top, #000 0 9px, transparent 9px 13px);
}
.meter .bar i { position: absolute; inset: auto 0 0 0; height: calc(var(--p, 0) * 1%); background: var(--gold); transition: height 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.meter .num { font-family: "Anek Latin", sans-serif; direction: ltr; line-height: 1.1; }
html[dir="rtl"] .meter .num { text-align: end; }
.meter .num b { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 800; font-stretch: 112%; color: var(--gold); }
.meter .num small { font-size: 0.95rem; opacity: 0.85; white-space: nowrap; }
.meter .what { font-size: 0.98rem; line-height: 1.3; }
html[lang="ur"] .meter .what { line-height: 2; }
@media (max-width: 860px) {
  .meter { grid-template-columns: repeat(4, 1fr); row-gap: 2rem; }
  .meter .bar { height: 8rem; }
}
@media (max-width: 480px) { .meter { grid-template-columns: repeat(2, 1fr); } .meter .bar { height: 5.5rem; } }
@media (prefers-reduced-motion: reduce) { .meter .bar i { transition: none; } html { scroll-behavior: auto; } }

/* caravans */
.caravans { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--gap); align-items: start; }
.caravans img { width: 100%; max-width: 26rem; margin-inline: auto; }
.routes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.routes li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.8rem; align-items: center; padding: 0.7rem 0; border-top: 1px solid var(--line); line-height: 1.35; }
.routes .n { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: "Anek Latin", sans-serif; }
@media (max-width: 860px) { .caravans { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .routes { grid-template-columns: 1fr; } }
.day { list-style: none; margin: clamp(2rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.day li { border-top: 3px solid var(--green); padding-top: 0.8rem; display: grid; gap: 0.4rem; align-content: start; }
.day p { font-size: 1rem; color: var(--ink-soft); }
@media (max-width: 860px) { .day { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .day { grid-template-columns: 1fr; } }

/* take part */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.ways article { display: grid; gap: 0.8rem; align-content: start; grid-template-rows: auto 1fr auto; }
.ways .btn { justify-self: start; }
@media (max-width: 820px) { .ways { grid-template-columns: 1fr; } }

.conf { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.conf .date { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; font-stretch: 118%; line-height: 1; color: var(--gold); }
html[lang="ur"] .conf .date { line-height: 1.8; font-size: clamp(2.2rem, 5vw, 3.6rem); }
html[lang="kn"] .conf .date { line-height: 1.25; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.conf-kicker { font-weight: 700; color: var(--gold); margin: 0 0 0.3rem; font-size: 1.05rem; }
.venue { margin-top: 1.2rem; display: grid; gap: 0.5rem; justify-items: start; }
.venue-name { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin: 0; }
html[lang="ur"] .venue-name { line-height: 1.9; }
.venue address { font-style: normal; opacity: 0.92; line-height: 1.5; max-width: 34ch; }
html[dir="rtl"] .venue address { text-align: right; }
.venue .btn { margin-top: 0.4rem; }
.conf ul { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: 0.5rem; }
@media (max-width: 820px) { .conf { grid-template-columns: 1fr; } }

figure { margin: 0; }
figcaption { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.6rem; }
.posters { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 16rem)); gap: var(--gap); }
.posters a { text-decoration: none; font-weight: 600; display: grid; gap: 0.6rem; }
.posters img { border: 1px solid var(--line); }

.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem var(--gap); }
.people li { display: grid; gap: 0.1rem; border-top: 1px solid rgba(255, 255, 255, 0.3); padding-top: 0.8rem; }
.people .role { font-size: 0.95rem; opacity: 0.85; }
.people a { font-size: 1.25rem; font-weight: 700; color: var(--gold); text-decoration: none; font-family: "Anek Latin", sans-serif; }
.people a:hover { text-decoration: underline; }
@media (max-width: 820px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .people { grid-template-columns: 1fr; } }

.foot { background: var(--maroon-deep); color: #f1dcdc; font-size: 0.98rem; }
.foot .wrap { padding-block: 2rem; display: flex; gap: 1rem 2rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.foot img { height: 1.8rem; width: auto; mix-blend-mode: screen; }
.foot p { max-width: none; }

/* ---------- sticky report button ---------- */
.btn.small { padding: 0.45rem 1.1rem; font-size: 1rem; }
.fab { display: none; }
@media (min-width: 1201px) {
  .top { position: sticky; top: 0; z-index: 20; }
  .top .wrap { gap: 0.6rem 0.9rem; padding-block: 0.7rem; }
  .top .brand img { height: 1.75rem; }
  .top nav { gap: 0.9rem; font-size: 0.95rem; }
  .top .langs button { padding: 0.25rem 0.65rem; font-size: 0.9rem; }
  section[id] { scroll-margin-top: 5.5rem; }
}
@media (max-width: 760px) {
  .top-cta { display: none; }
  .langs { margin-inline-start: auto; }
  .fab { display: block; position: fixed; inset: auto 0 0 0; z-index: 20; padding: 0.6rem var(--gap) calc(0.6rem + env(safe-area-inset-bottom)); background: var(--maroon-deep); box-shadow: 0 -4px 14px rgba(40, 5, 12, 0.3); }
  .fab .btn { display: block; text-align: center; }
  .fab { transition: transform 0.2s ease; }
  .fab.off { transform: translateY(110%); visibility: hidden; }
  body.has-fab { padding-bottom: 4.6rem; }
}

/* ---------- issue map ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.chips button { font: inherit; font-size: 1rem; line-height: 1.4; padding: 0.45rem 1rem; border-radius: 999px; border: 1.5px solid var(--green); background: none; color: var(--green); cursor: pointer; font-weight: 600; }
html[lang="ur"] .chips button { line-height: 2; padding-block: 0.15rem; }
.chips button[aria-pressed="true"] { background: var(--green); color: var(--white); }
.issue-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.map-box { background: var(--white); border: 1px solid var(--line); padding: 1rem; }
#ka-map { display: block; width: 100%; max-width: 27rem; height: auto; margin-inline: auto; }
#ka-map .shapes path { fill: #eadfc7; stroke: var(--white); stroke-width: 1.5; cursor: pointer; }
#ka-map .shapes path:hover { fill: #dccba6; }
#ka-map .shapes path.on { fill: var(--gold); }
#ka-map .pin { cursor: pointer; }
#ka-map .pin circle { fill: var(--crimson); stroke: var(--white); stroke-width: 2; }
#ka-map .pin.on circle { fill: var(--maroon-deep); }
#ka-map .pin text { fill: var(--white); font: 800 15px "Anek Latin", sans-serif; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.map-panel { display: grid; gap: 1.2rem; align-content: start; }
.map-total b { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 800; font-stretch: 115%; line-height: 1; color: var(--maroon); font-family: "Anek Latin", sans-serif; display: block; }
#map-detail { display: grid; gap: 0.6rem; }
#map-detail:empty { display: none; }
#map-detail h3 { font-size: 1.6rem; color: var(--green); font-family: "Anek Latin", sans-serif; }
#map-detail ul { margin: 0; padding: 0; list-style: none; }
.cat-list { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; color: var(--ink-soft); }
.verified-h { font-weight: 800; margin-top: 0.6rem; }
.verified li { border-top: 1px solid var(--line); padding: 0.6rem 0; display: grid; gap: 0.1rem; }
.verified li span { font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 820px) { .issue-map { grid-template-columns: 1fr; } }
.steps { list-style: none; counter-reset: step; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.steps li { counter-increment: step; border-top: 3px solid var(--crimson); padding-top: 0.8rem; display: grid; gap: 0.4rem; align-content: start; }
.steps li::before { content: counter(step); font: 800 2.4rem/1 "Anek Latin", sans-serif; color: var(--crimson); }
.steps p { font-size: 1rem; color: var(--ink-soft); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- header "why" button ---------- */
.top nav a.why { border: 1.5px solid rgba(255, 255, 255, 0.7); border-radius: 999px; padding: 0.2rem 0.85rem; }
.top nav a.why:hover, .top nav a.why[aria-current="page"] { background: var(--paper); color: var(--maroon); border-color: var(--paper); }

/* ---------- facts on record ---------- */
.docs-group { padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.docs-group + .docs-group { padding-top: 0; }
.docs-group h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 1.4rem; }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); gap: 1.2rem; }
.doc { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--crimson); padding: 1.3rem 1.3rem 1.2rem; display: grid; gap: 0.6rem; align-content: start; scroll-margin-top: 6rem; }
.doc:target { outline: 3px solid var(--gold); }
.doc > b { font-family: "Anek Latin", sans-serif; font-size: 2.4rem; font-weight: 800; font-stretch: 115%; line-height: 1; color: var(--maroon); }
html[dir="rtl"] .doc > b { justify-self: end; }
.doc p { font-size: 1rem; }
.doc-meta { color: var(--ink-soft); font-size: 0.92rem !important; line-height: 1.5; }
html[lang="ur"] .doc-meta { line-height: 2.1; }
a.dl { font-weight: 700; color: var(--green); }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; align-content: start; }
.links a { font-weight: 700; color: var(--green); }

/* ---------- why page ---------- */
.principles { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: 0.8rem; }
.principles li::marker { color: var(--crimson); }
.theme { margin-top: clamp(2rem, 5vw, 3rem); }
.theme-h { font-size: 1.5rem; color: var(--green); padding-bottom: 0.6rem; border-bottom: 2px solid var(--green); margin-bottom: 1.2rem; }
.issues { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1.6rem var(--gap); }
.issue { display: grid; gap: 0.45rem; align-content: start; scroll-margin-top: 6rem; }
.issue:target { outline: 3px solid var(--gold); outline-offset: 6px; }
.issue h4 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.issue p { font-size: 1rem; }
.src { font-size: 0.88rem !important; color: var(--ink-soft); }
.src a { color: var(--green); }
.maroon .actions .btn.ghost { color: var(--white); }
@media print {
  .top, .foot, .fab, .actions, .langs { display: none !important; }
  .page-head, .maroon { background: none !important; color: var(--ink) !important; }
  .page-head p, .maroon p, .lead { color: var(--ink) !important; }
  .src a { color: var(--ink-soft); }
  section { padding-block: 1rem; }
  body { font-size: 11pt; background: #fff; }
  .issue { break-inside: avoid; }
}

/* ---------- UNMUTE KARNATAKA board ---------- */
.c-social { --c: #b81226; }
.c-economic { --c: #8a4b00; }
.c-political { --c: #0b4f30; }
.c-health { --c: #0f5e5a; }
.c-legal { --c: #4a2f86; }
.c-other { --c: #3d3a37; }
.board-hero { background: var(--maroon-deep); color: var(--paper); padding-block: clamp(3rem, 8vw, 5.5rem); }
.mega {
  font-family: "Anek Latin", sans-serif; font-weight: 800; font-stretch: 125%;
  font-size: clamp(1.8rem, 10vw, 8.4rem); line-height: 0.88; letter-spacing: -0.025em;
  color: var(--paper); margin: 0; direction: ltr; text-align: start;
}
html[dir="rtl"] .mega { text-align: right; }
.board-line { font-size: clamp(1.5rem, 3.6vw, 2.6rem); font-weight: 700; color: var(--gold); margin-top: 1.2rem; line-height: 1.2; max-width: 30ch; }
html[lang="ur"] .board-line { line-height: 2; }
html[lang="kn"] .board-line { line-height: 1.45; }
.board-hero .lead { margin-top: 1rem; color: #f3dfe2; max-width: 60ch; }
.tiles { margin-top: clamp(2rem, 5vw, 3rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.tile {
  background: var(--c); color: #fff; text-decoration: none; border-radius: 14px;
  padding: 1.2rem 1.3rem 1.1rem; display: grid; gap: 0.35rem; align-content: start;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
html[lang="ur"] .mega, html[lang="kn"] .mega { line-height: 0.95 !important; font-family: "Anek Latin", sans-serif; }
.tile:hover, .tile:focus-visible { filter: brightness(1.12); }
.tile-name { font-weight: 800; font-size: 1.1rem; }
.tile b { font-family: "Anek Latin", sans-serif; font-weight: 800; font-stretch: 118%; font-size: clamp(2.2rem, 4.6vw, 3.2rem); line-height: 1; margin-top: 0.4rem; }
html[dir="rtl"] .tile b { justify-self: end; }
.tile-cap { font-size: 0.98rem; opacity: 0.92; line-height: 1.35; }
html[lang="ur"] .tile-cap { line-height: 2; }
.tile-n { margin-top: 0.5rem; font-size: 0.9rem; font-weight: 700; opacity: 0.85; text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }
section.board, .board-home { padding: 0; }

.cat { padding-block: clamp(2.5rem, 6vw, 4rem); scroll-margin-top: 4rem; }
.cat:nth-of-type(even) { background: var(--white); }
.cat-head { display: grid; gap: 0.6rem; margin-bottom: 1.8rem; max-width: 60ch; }
.cat-head h3 { font-size: clamp(2rem, 4.6vw, 3.1rem); color: var(--c); font-stretch: 115%; }
html[lang="ur"] .cat-head h3 { line-height: 1.8; }
.cat-head p { font-size: 1.15rem; }
.cat-head .art { justify-self: start; font-size: 0.92rem; font-weight: 700; color: var(--c); border: 1.5px solid var(--c); border-radius: 999px; padding: 0.15rem 0.8rem; }
html[dir="rtl"] .cat-head .art { justify-self: end; }
.cat .issues { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.cat .issue { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.2rem 1rem; gap: 0.4rem; }
.cat:nth-of-type(even) .issue { background: var(--paper); }
.issue .num { font-family: "Anek Latin", sans-serif; font-weight: 800; font-stretch: 115%; font-size: 2.3rem; line-height: 1.05; color: var(--c); }
html[dir="rtl"] .issue .num { justify-self: end; }
.board-end { background: var(--paper); padding-block: 2.5rem; border-top: 1px solid var(--line); }
.board-end h3 { font-size: 1.6rem; }
@media print { .board-hero { background: none !important; color: var(--ink) !important; } .mega, .board-line { color: var(--ink) !important; } .tile { color: var(--ink) !important; background: none !important; border: 1px solid #999; } .cat .issue { break-inside: avoid; } }

/* ---------- forms ---------- */
.page-head { background: var(--maroon); color: var(--white); padding-block: clamp(1.5rem, 5vw, 3rem) clamp(2rem, 5vw, 3.2rem); }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
.page-head p { margin-top: 1rem; color: #fbeeee; }
.form-wrap { width: min(100% - 2 * var(--gap), 44rem); margin-inline: auto; padding-block: clamp(2rem, 5vw, 3.5rem); }
form { display: grid; gap: 1.4rem; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
legend { font-weight: 800; font-size: 1.35rem; font-stretch: 108%; padding: 0; margin-bottom: 0.9rem; color: var(--maroon); }
fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.field { display: grid; gap: 0.35rem; }
.field label, .field .label { font-weight: 600; }
.field .hint { font-size: 0.93rem; color: var(--ink-soft); }
/* required fields: red star after the label */
.field:has(input:required, select:required, textarea:required) > label::after,
.field:has(input:required) > .label::after,
.check:has(input:required) > span::after { content: " *"; color: #b81226; font-weight: 800; }
.req-note > span[aria-hidden] { color: #b81226; font-weight: 800; }
.req-note { font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 1rem; }
.privacy { background: #eef5f0; border: 1px solid #b9d4c3; border-inline-start: 5px solid var(--green); border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.privacy h3 { font-size: 1.15rem; margin: 0 0 0.4rem; color: var(--green); }
.privacy p { margin: 0 0 0.5rem; }
.privacy ul { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: 0.3rem; }
html[lang="ur"] .privacy { line-height: 2; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } }
input, select, textarea {
  font: inherit; font-size: 1.05rem; line-height: 1.4; color: var(--ink); width: 100%;
  background: var(--white); border: 1.5px solid #bfb39c; border-radius: 6px; padding: 0.7rem 0.8rem;
}
html[lang="ur"] :is(input, select, textarea) { line-height: 2; padding-block: 0.3rem; }
textarea { min-height: 7.5rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--green); }
[aria-invalid="true"] { border-color: var(--crimson); background: #fff5f5; }
.error { color: var(--crimson); font-weight: 600; font-size: 0.95rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choices label { display: flex; align-items: center; gap: 0.5rem; border: 1.5px solid #bfb39c; background: var(--white); border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer; font-weight: 500; }
.choices input { width: auto; accent-color: var(--green); margin: 0; }
.choices label:has(input:checked) { border-color: var(--green); background: #e6f1ea; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.3rem; flex: none; accent-color: var(--green); }
details.more { border: 1.5px solid var(--line); border-radius: 6px; background: rgba(255, 255, 255, 0.5); }
details.more summary { cursor: pointer; font-weight: 700; color: var(--green); padding: 0.8rem 1rem; }
details.more .more-body { display: grid; gap: 1.2rem; padding: 0.4rem 1rem 1.2rem; }
input[type="file"] { padding: 0.55rem; background: var(--white); }
.hp { position: absolute; inset-inline-start: -9999px; }
.banner { padding: 1rem 1.2rem; border-radius: 6px; background: #fdeaea; color: #7a0c18; font-weight: 600; }
.done { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--green); padding: 2rem; display: grid; gap: 1rem; }
.done h2 { font-size: 1.9rem; color: var(--green); }
[hidden] { display: none !important; }

/* ---------- admin ---------- */
.admin { font-family: "Anek Latin", system-ui, sans-serif; }
.admin main { width: min(100% - 2rem, 90rem); margin-inline: auto; padding-block: 1.5rem 4rem; display: grid; gap: 1.5rem; }
.admin .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.8rem; }
.admin .tiles div { background: var(--white); border: 1px solid var(--line); padding: 0.9rem 1rem; }
.admin .tiles b { display: block; font-size: 1.9rem; font-weight: 800; color: var(--maroon); line-height: 1.1; }
.admin .tiles span { font-size: 0.92rem; color: var(--ink-soft); }
.tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.tabs button { font: inherit; padding: 0.5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--green); background: none; color: var(--green); cursor: pointer; font-weight: 600; }
.tabs button[aria-pressed="true"] { background: var(--green); color: #fff; }
.tabs .grow { margin-inline-start: auto; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tabs input, .tabs select { width: auto; padding: 0.45rem 0.7rem; font-size: 1rem; }
.table-scroll { overflow: auto; background: var(--white); border: 1px solid var(--line); max-height: 70vh; }
table.data { border-collapse: collapse; font-size: 0.95rem; width: 100%; }
table.data th, table.data td { padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; max-width: 22rem; unicode-bidi: plaintext; }
table.data th { position: sticky; top: 0; background: var(--paper); white-space: nowrap; }
table.data td:nth-child(4) { min-width: 12rem; }
table.data td.long { min-width: 16rem; white-space: pre-wrap; }
table.data button, table.data select { font: inherit; font-size: 0.9rem; padding: 0.2rem 0.5rem; width: auto; }
.pair { align-items: start; }
.topic-index { background: var(--white); border-bottom: 1px solid var(--line); padding-block: 1.4rem; }
.topic-index h2 { font-size: 1.15rem; margin: 0 0 0.8rem; }
.topic-index .chips { margin: 0; }
.topic-index .chips a { text-decoration: none; padding: 0.45rem 1rem; border-radius: 999px; border: 1.5px solid var(--green); color: var(--green); font-weight: 600; }
.topic-index .chips a:hover { background: var(--green); color: var(--white); }
.docs-group { scroll-margin-top: 4.5rem; }
.back { margin: 1.2rem 0 0; font-weight: 600; }
.cat .back a { color: var(--c); }
.page-head .actions .link, .actions .link { align-self: center; color: inherit; font-weight: 700; }
@media print { .back, .topic-index, .skip, .menu-btn { display: none !important; } }

.kicker { font-weight: 700; color: var(--gold); margin: 0 0 0.3rem; }
.act-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.act-row + .act-row { border-top: 1px dashed var(--line); padding-top: 0.6rem; }
.act-n { color: var(--ink-soft); font-weight: 400; }
.activists .btn.ghost { color: var(--green); border-color: var(--green); }
/* representatives */
.reps-pick { max-width: 26rem; }
.reps-tips { margin-top: 1rem; }
.reps-tips h2 { font-size: 1.15rem; margin: 0 0 0.4rem; color: var(--green); }
.reps-h { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 1.6rem 0 0.4rem; }
.rep-group { border-top: 2px solid var(--line); padding-block: 0.6rem; }
.rep-group summary { cursor: pointer; font-weight: 800; font-size: 1.15rem; padding-block: 0.5rem; list-style-position: inside; }
.rep-group summary .count { display: inline-block; min-width: 1.6rem; text-align: center; background: var(--maroon); color: var(--white); border-radius: 999px; font-size: 0.85rem; padding: 0 0.45rem; margin-inline-start: 0.3rem; }
.reps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); gap: 0.9rem; margin-top: 0.6rem; }
.rep { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; display: grid; gap: 0.35rem; align-content: start; }
.rep.is-yours { border: 2px solid var(--gold); box-shadow: 0 0 0 3px rgba(233, 169, 31, 0.25); }
.rep h4 { font-size: 1.15rem; margin: 0; }
.rep-role { margin: 0; font-size: 0.92rem; color: var(--ink-soft); font-weight: 600; display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; align-items: center; }
.rep-role .party { font-size: 0.8rem; border: 1px solid var(--line); border-radius: 999px; padding: 0 0.5rem; color: var(--ink-soft); font-weight: 600; }
.rep-role .yours { font-size: 0.8rem; background: var(--gold); color: var(--ink); border-radius: 999px; padding: 0 0.55rem; font-weight: 800; }
.rep-addr { margin: 0; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }
.rep-note { margin: 0; font-size: 0.9rem; color: var(--ink-soft); font-style: italic; }
.rep-act { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }
.rep-act .btn.small { font-size: 0.9rem; padding: 0.35rem 0.8rem; word-break: break-all; }
.rep-act .btn.call { background: var(--green); border-color: var(--green); color: var(--white); }
.rep-act .btn.ghost.mail { color: var(--green); border-color: var(--green); }
.rep-act .num { font-size: 0.9rem; color: var(--ink-soft); padding: 0.35rem 0.2rem; }
.note.src { margin-top: 1.2rem; font-size: 0.85rem; }
.reps-after { margin-top: 2rem; padding-top: 1.4rem; border-top: 2px solid var(--line); }
.reps-after h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
html[lang="ur"] .rep, html[lang="ur"] .rep-group summary { line-height: 1.9; }
/* home: know your representatives */
.connect { background: var(--green-deep); color: var(--paper); padding-block: clamp(2.6rem, 7vw, 5rem); position: relative; overflow: hidden; }
.connect::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 32rem; height: 32rem; border-radius: 50%; border: 3.5rem solid rgba(233, 169, 31, 0.08); pointer-events: none; }
.connect-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: center; position: relative; }
.connect-kick { color: var(--gold); font-weight: 800; margin: 0 0 0.4rem; font-size: 1.05rem; }
.connect-h { font-size: clamp(2.3rem, 6.4vw, 4.6rem); font-stretch: 118%; line-height: 0.98; color: var(--paper); margin: 0; letter-spacing: -0.015em; }
html[lang="ur"] .connect-h { line-height: 1.8; font-stretch: 100%; font-size: clamp(2rem, 5vw, 3.4rem); }
html[lang="kn"] .connect-h { line-height: 1.3; font-stretch: 100%; font-size: clamp(1.9rem, 5vw, 3.4rem); }
.connect-lead { margin-top: 1rem; color: #d9eadf; max-width: 52ch; }
.connect-form { margin-top: 1.5rem; }
.connect-label { display: block; font-weight: 700; margin-bottom: 0.4rem; }
.connect-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.connect-row select { flex: 1 1 14rem; min-width: 0; font: inherit; font-size: 1.05rem; padding: 0.75rem 0.9rem; border-radius: 999px; border: 2px solid var(--gold); background: var(--paper); color: var(--ink); }
.connect-row .btn { flex: 0 0 auto; }
.connect-line { margin-top: 1.1rem; font-weight: 700; color: var(--gold); }
.connect-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
.connect-stats li { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; padding: 1rem 0.9rem; display: grid; gap: 0.2rem; }
.connect-stats b { font-family: "Anek Latin", sans-serif; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; font-stretch: 118%; line-height: 1; color: var(--gold); }
.connect-stats span { font-size: 0.95rem; line-height: 1.3; color: #e6f0e9; }
@media (max-width: 860px) { .connect-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .connect-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .connect-row .btn { width: 100%; } }
@media print { .connect { display: none; } }
/* issue map: combined scoreboard */
.map-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; margin-bottom: 1.6rem; }
.map-summary > div { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem; }
.ms-big, .ms-dist { display: grid; gap: 0.3rem; align-content: start; }
.ms-big { background: var(--maroon) !important; border-color: var(--maroon) !important; color: var(--white); }
.ms-big b, .ms-dist b { font-family: "Anek Latin", sans-serif; font-size: clamp(3rem, 8vw, 5rem); font-weight: 800; font-stretch: 118%; line-height: 0.95; }
.ms-big b { color: var(--gold); }
.ms-dist b { color: var(--green); }
.ms-dist b small { font-size: 0.4em; color: var(--ink-soft); font-weight: 700; margin-inline-start: 0.15em; }
.ms-big span, .ms-dist span { font-weight: 700; font-size: 1.05rem; }
.ms-dots { display: grid; grid-template-columns: repeat(16, 1fr); gap: 4px; margin-top: 0.5rem; max-width: 20rem; direction: ltr; }
.ms-dots i { aspect-ratio: 1; border-radius: 50%; background: #e4ddd3; }
.ms-dots i.on { background: var(--green); }
.ms-h { margin: 0 0 0.6rem; font-weight: 800; }
.ms-bar { display: flex; height: 1.1rem; border-radius: 999px; overflow: hidden; gap: 2px; background: #eee; }
.ms-bar span { min-width: 6px; }
.ms-legend { list-style: none; margin: 0.7rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.95rem; }
.ms-legend i { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 3px; margin-inline-end: 0.35rem; vertical-align: -0.05rem; }
.ms-top ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.ms-top button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: minmax(6rem, 9rem) 1fr auto; gap: 0.6rem; align-items: center; padding: 0.25rem 0.3rem; border-radius: 8px; }
.ms-top button:hover, .ms-top button:focus-visible { background: #f3eee6; outline: 2px solid var(--gold); }
.ms-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-track { height: 0.7rem; background: #efe9df; border-radius: 999px; overflow: hidden; }
.ms-track span { display: block; height: 100%; background: var(--crimson); border-radius: 999px; }
.ms-top b { font-family: "Anek Latin", sans-serif; font-weight: 800; color: var(--maroon); min-width: 1.5rem; text-align: end; }
html[lang="ur"] .map-summary { line-height: 1.9; }
@media (max-width: 760px) { .map-summary { grid-template-columns: 1fr 1fr; } .ms-kinds, .ms-top { grid-column: 1 / -1; } }
@media (max-width: 420px) { .map-summary { grid-template-columns: 1fr; } .ms-big b, .ms-dist b { font-size: 3rem; } }
/* install the app */
.app-line { margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; align-items: center; }
.hero-app { margin-top: 1rem; }
.install-link { font: inherit; font-weight: 800; color: var(--maroon-deep); background: var(--paper); border: 2px solid var(--gold); border-radius: 999px; padding: 0.55rem 1.2rem; cursor: pointer; animation: inst-pulse 1.6s ease-in-out infinite; }
.install-link:hover, .install-link:focus-visible { background: var(--gold); color: var(--ink); animation-play-state: paused; }
@keyframes inst-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 169, 31, 0.85); transform: scale(1); }
  50% { box-shadow: 0 0 0 10px rgba(233, 169, 31, 0); transform: scale(1.04); }
}
.float-install { position: fixed; z-index: 30; inset-inline-end: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 0.25rem; transition: bottom 0.2s ease; }
.float-install[hidden] { display: none; }
.fi-btn { font: inherit; font-weight: 800; font-size: 0.98rem; color: var(--white); background: var(--green); border: 2px solid var(--gold); border-radius: 999px; padding: 0.6rem 1.05rem; cursor: pointer; box-shadow: 0 6px 18px rgba(20, 30, 20, 0.35); animation: inst-pulse 1.6s ease-in-out infinite; }
.fi-btn:hover, .fi-btn:focus-visible { background: var(--green-deep); animation-play-state: paused; }
.fi-x { font: inherit; font-size: 1.2rem; line-height: 1; width: 2rem; height: 2rem; border-radius: 50%; border: 0; background: rgba(30, 20, 20, 0.75); color: var(--white); cursor: pointer; }
@media (max-width: 760px) { body.fab-on .float-install { bottom: calc(5.3rem + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .install-link, .fi-btn { animation: none; } }
@media print { .float-install { display: none !important; } }
.inst-note { font-size: 0.95rem; color: #f3dfe2; }
.foot .btn.install { margin-block: 0.4rem; }
@media (max-width: 820px) { .hero .hero-app { grid-column: 1 / -1; margin: -1.2rem 0 1.6rem; } }
/* ---------- installed app ---------- */
.app-hero { background: var(--maroon); color: var(--paper); padding-block: 1.6rem 1.8rem; }
.app-brand { margin: 0; font-family: "Anek Latin", sans-serif; font-weight: 800; font-stretch: 125%; font-size: clamp(2.6rem, 13vw, 4.4rem); line-height: 0.9; letter-spacing: -0.02em; direction: ltr; }
html[dir="rtl"] .app-brand { text-align: right; }
.app-title { font-size: clamp(1.5rem, 6vw, 2.2rem); color: var(--gold); margin: 0.2rem 0 0; }
html[lang="ur"] .app-title { line-height: 1.8; }
.app-count { margin: 0.9rem 0 0; display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; align-items: baseline; color: #f3dfe2; }
.app-count b { font-family: "Anek Latin", sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--white); }
.app-join { padding-block: 1.2rem 0.4rem; }
.join-card { background: var(--green-deep); color: var(--paper); border-radius: 16px; padding: 1.2rem 1.2rem 1.3rem; border: 2px solid var(--gold); }
.join-card h2 { font-size: 1.6rem; color: var(--gold); margin: 0; }
.join-card p { margin: 0.5rem 0 0; color: #e6f0e9; }
.join-btns { display: grid; gap: 0.6rem; margin-top: 1rem; }
.join-btns .btn { text-align: center; }
.join-btns .btn.ghost { color: var(--paper); }
.join-note { font-size: 0.92rem; }
.done-card { background: var(--white); color: var(--ink); }
.done-card h2 { color: var(--green); }
.done-card p { color: var(--ink-soft); }
.app-tiles .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; padding-block: 1rem; }
.atile { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 0.9rem 1rem; text-decoration: none; color: var(--ink); display: grid; gap: 0.2rem; align-content: start; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03); }
.atile:active { transform: scale(0.98); }
.atile .ai { font-size: 1.6rem; line-height: 1.2; }
.atile b { font-size: 1.05rem; line-height: 1.25; }
.atile small { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.35; }
.atile.big { grid-column: 1 / -1; background: var(--gold); border-color: var(--gold); }
.atile.big b { font-size: 1.35rem; }
.atile.big small { color: var(--ink); }
.app-h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
.app-map { padding-block: 1.6rem; }
.app-map .head .lead { font-size: 1rem; }
.app-conf { padding-block: 0.4rem 1.6rem; }
.app-conf .conf-card { margin-top: 0; }
.share-app { display: block; text-align: center; margin-top: 1rem; }
.app-full { text-align: center; margin-top: 1rem; }
/* bottom tab bar (installed app) */
.tabbar { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--maroon-deep); padding: 0.35rem 0.2rem calc(0.35rem + env(safe-area-inset-bottom)); box-shadow: 0 -4px 14px rgba(40, 5, 12, 0.3); }
.tabbar a { display: grid; justify-items: center; gap: 0.1rem; color: #f3dfe2; text-decoration: none; font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.1rem; border-radius: 10px; }
.tabbar a span:first-child { font-size: 1.25rem; line-height: 1.1; }
.tabbar a[aria-current="page"] { color: var(--gold); background: rgba(255, 255, 255, 0.08); }
html[lang="ur"] .tabbar a { line-height: 1.6; }
body.app-mode { padding-bottom: 4.6rem; }
body.app-mode .fab { display: none !important; }
body.app-mode .foot .app-line { display: none; }
@media (min-width: 900px) { .app-tiles .wrap { grid-template-columns: repeat(4, 1fr); } .atile.big { grid-column: span 2; } .join-btns { grid-template-columns: auto auto; justify-content: start; } }
@media print { .tabbar { display: none !important; } }
/* videos */
.videos { background: var(--maroon-deep); color: var(--paper); padding-block: clamp(2.4rem, 6vw, 4rem); }
.videos h2 { color: var(--paper); font-size: clamp(2rem, 5vw, 3.2rem); }
.videos .lead { color: #f3dfe2; }
.videos-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.v-main { display: flex; justify-content: center; }
.v-card { margin: 0; display: grid; gap: 0.5rem; }
.v-card figcaption { font-weight: 700; font-size: 0.98rem; color: var(--paper); }
.v-card.big { width: min(100%, 22rem); }
.vframe { position: relative; width: 100%; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.vframe.tall { aspect-ratio: 9 / 16; }
.vframe.wide { aspect-ratio: 16 / 9; }
.vframe video, .vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.vframe.link { aspect-ratio: 16 / 9; display: grid; place-items: center; align-content: center; gap: 0.5rem; text-decoration: none; color: var(--paper); background: linear-gradient(135deg, var(--maroon), var(--green-deep)); font-weight: 700; }
.vplay { width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 1.3rem; }
.v-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(8.5rem, 10rem); gap: 0.9rem; overflow-x: auto; padding: 1.2rem 0 0.4rem; scroll-snap-type: x mandatory; }
.v-row .v-card { scroll-snap-align: start; }
@media (max-width: 820px) { .videos-grid { grid-template-columns: 1fr; } }
.app-videos { padding-block: 1.1rem 1.4rem; }
.app-videos .videos-grid { gap: 0.6rem; }
.app-videos h2 { font-size: 1.35rem; margin: 0; }
.app-videos .connect-kick, .app-videos .lead { display: none; }
/* admin: videos */
.vadmin { display: grid; gap: 1.2rem; }
.vadd { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vform { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; display: grid; gap: 0.6rem; align-content: start; }
.vform h3 { margin: 0; font-size: 1.15rem; }
.vform label { display: grid; gap: 0.25rem; font-weight: 600; }
.vform input { font: inherit; padding: 0.5rem 0.6rem; border: 1px solid var(--line); border-radius: 6px; }
.vform .btn { justify-self: start; }
.vmsg { margin: 0; font-weight: 600; color: var(--green); }
.vlist { display: grid; gap: 0.6rem; }
.vrow { display: grid; grid-template-columns: 5rem 1fr auto; gap: 0.9rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem; }
.vrow.off { opacity: 0.6; }
.vthumb { width: 5rem; aspect-ratio: 9 / 16; background: #111; border-radius: 6px; overflow: hidden; display: grid; place-items: center; color: #fff; }
.vthumb video { width: 100%; height: 100%; object-fit: cover; }
.vinfo { display: grid; gap: 0.25rem; min-width: 0; }
.vinfo a { font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vtitle { font: inherit; font-weight: 700; padding: 0.35rem 0.5rem; border: 1px solid var(--line); border-radius: 6px; }
.vbtns { display: flex; flex-wrap: wrap; gap: 0.35rem; max-width: 18rem; }
.vbtns button { font: inherit; font-size: 0.88rem; padding: 0.3rem 0.7rem; border-radius: 999px; border: 1.5px solid var(--green); background: none; color: var(--green); cursor: pointer; }
.vbtns button.danger { border-color: var(--crimson); color: var(--crimson); }
.vbtns button[disabled] { opacity: 0.4; cursor: default; }
@media (max-width: 760px) { .vadd { grid-template-columns: 1fr; } .vrow { grid-template-columns: 4rem 1fr; } .vbtns { grid-column: 1 / -1; max-width: none; } }
/* report form: optional consent to be named in a government complaint */
.gov-consent { background: #fff8e6; border: 1px solid #ecd9a6; border-radius: 12px; padding: 0.8rem 0.9rem; }
.gov-consent .hint { display: block; margin-top: 0.3rem; }
/* admin: complaints raised with the government */
.gov-dlg { width: min(46rem, 96vw); max-height: 92vh; border: 0; border-radius: 18px; padding: 1.4rem 1.5rem 1.6rem; box-shadow: 0 24px 70px rgba(30, 5, 10, 0.45); }
.gov-dlg::backdrop { background: rgba(30, 8, 12, 0.55); }
.gov-dlg h2 { font-size: 1.6rem; margin: 0 2rem 0.3rem 0; }
.gov-dlg h3 { font-size: 1.05rem; margin: 1.3rem 0 0.5rem; color: var(--maroon); }
.gov-close { position: absolute; right: 0.8rem; top: 0.6rem; }
.gov-close button { font-size: 1.6rem; background: none; border: 0; cursor: pointer; line-height: 1; padding: 0.2rem 0.5rem; }
.gov-issue { margin: 0; }
.gov-where { display: grid; gap: 0.6rem; }
.gw { border: 1px solid #e3d8c4; border-radius: 12px; padding: 0.7rem 0.9rem; background: #fff; }
.gw.first { border-color: var(--green); box-shadow: inset 4px 0 0 var(--green); }
.gw p { margin: 0.2rem 0 0.5rem; font-size: 0.95rem; }
.gw .pill { background: var(--green); color: #fff; font-size: 0.75rem; padding: 0.1rem 0.5rem; border-radius: 99px; font-weight: 700; }
.btn.small { padding: 0.35rem 0.9rem; font-size: 0.9rem; }
.gov-as { display: grid; gap: 0.5rem; }
.gov-dlg .gov-as label { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-size: 0.97rem; font-weight: 400; }
.gov-dlg .gov-as input { width: 1.1rem; height: 1.1rem; margin: 0.3rem 0 0; accent-color: var(--green); }
.gov-as input:disabled + * , .gov-as label:has(input:disabled) { color: var(--ink-soft); }
#gov-text { width: 100%; font: inherit; font-size: 0.95rem; padding: 0.6rem 0.7rem; border-radius: 10px; border: 1px solid #cbbfa9; }
.gov-row { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-top: 0.4rem; }
.gov-row .note { margin-right: auto; }
#gov-count.over { color: #b81226; font-weight: 700; }
.gov-rec { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 0.9rem; }
.gov-rec label { display: grid; gap: 0.2rem; font-size: 0.9rem; font-weight: 600; }
.gov-rec input, .gov-rec select { font: inherit; font-weight: 400; padding: 0.45rem 0.6rem; border-radius: 8px; border: 1px solid #cbbfa9; }
.gov-rec .wide { grid-column: 1 / -1; }
@media (max-width: 600px) { .gov-rec { grid-template-columns: 1fr; } }
.ok { color: var(--green); } .no { color: #b81226; }
.frow { display: flex; gap: 0.8rem; justify-content: space-between; align-items: flex-start; border-top: 1px solid #e8dfcf; padding: 0.7rem 0; flex-wrap: wrap; }
.frow.due { background: #fff4d6; padding-inline: 0.6rem; border-radius: 8px; }
.fbtns { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.govcell { min-width: 12rem; }
.govcell .gtag { display: block; font-size: 0.8rem; margin-bottom: 0.3rem; padding: 0.15rem 0.5rem; border-radius: 6px; background: #e9f1ec; color: var(--green-deep); }
.govcell .gtag.escalated { background: #fde9cf; color: #7a4a00; }
.govcell .gtag.resolved { background: var(--green); color: #fff; }
.govcell .gtag.closed_unresolved { background: #eee; color: #555; }
.govcell .gtag.due { outline: 2px solid #e0a100; }
.gadmin .gbar { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin: 0.6rem 0 0.8rem; }
#g-table tr.due td { background: #fff4d6; }
.fbtns select { width: auto; padding: 0.3rem 0.5rem; font-size: 0.95rem; }
.gadmin .gbar label { display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 600; }
.gadmin .gbar input { width: 1.1rem; height: 1.1rem; margin: 0; }
.gadmin .gbar select { width: auto; min-width: 14rem; }
.gadmin > .note { max-width: 60rem; }
.tabs .grow[hidden] { display: none; }
