/* =========================================================
   Hamar Thanoud — Digital Gram Panchayat
   Theme: Chhattisgarh "dhan ka katora" — paddy green + haldi saffron
   ========================================================= */
:root {
  --green-900: #0f3b25;
  --green-700: #1d6b43;
  --green-500: #2f9a63;
  --green-100: #e3f3e9;
  --saffron-600: #d9621f;
  --saffron-500: #ee7b2f;
  --saffron-100: #fdeedf;
  --gold: #f2b544;
  --cream: #fbf7ef;
  --ink: #1d2420;
  --ink-2: #4c5650;
  --ink-3: #7b857f;
  --line: rgba(15, 59, 37, 0.10);
  --card: rgba(255, 255, 255, 0.78);
  --card-solid: #ffffff;
  --shadow-sm: 0 2px 8px rgba(15, 59, 37, 0.06);
  --shadow: 0 10px 30px rgba(15, 59, 37, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 59, 37, 0.16);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --c-blue: #4f5bd5;
  --c-teal: #12917f;
  --c-sky: #1786c9;
  --c-red: #e0384f;
  --c-amber: #d9821a;
  --c-pink: #c23fb5;
  --font: "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--saffron-500); outline-offset: 2px; border-radius: 6px; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green-900); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Top strip ---------- */
.topstrip {
  background: linear-gradient(90deg, var(--green-900), var(--green-700));
  color: #e8f5ec;
  font-size: 13.5px;
}
.topstrip .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.topstrip .tag { display: inline-flex; align-items: center; gap: 8px; }
.topstrip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(242,181,68,.25); }
.topstrip .right { display: flex; align-items: center; gap: 14px; }
.topstrip .sos { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.topstrip .sos:hover { text-decoration: underline; }

.lang-switch { display: inline-flex; background: rgba(255,255,255,.12); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-switch button {
  border: 0; background: transparent; color: #e8f5ec; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--green-900); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 3px solid var(--saffron-500);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-name, .brand-sub { white-space: nowrap; }
.brand-logo { width: 52px; height: 52px; flex: none; }
.brand-name { font-size: 22px; font-weight: 800; color: var(--green-900); line-height: 1.15; }
.brand-sub { font-size: 12.5px; color: var(--ink-2); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  padding: 8px 12px; border-radius: 10px; white-space: nowrap;
}
.nav a:hover { background: var(--green-100); color: var(--green-900); }
.nav a.active { background: var(--saffron-500); color: #fff; box-shadow: 0 6px 16px rgba(238,123,47,.35); }
.nav .more { position: relative; }
.btn-login {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  border: 2px solid var(--green-700); color: var(--green-700); font-weight: 700; font-size: 14px;
  padding: 7px 14px; border-radius: 12px; background: #fff; white-space: nowrap;
}
.btn-login:hover { background: var(--green-700); color: #fff; }
.menu-toggle { display: none; border: 0; background: var(--green-100); color: var(--green-900); border-radius: 10px; width: 44px; height: 44px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 560px; overflow: hidden; color: #fff; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; max-width: none; }
.hero.has-photo .hero-art { display: none; }
.hero.has-photo::after { background: linear-gradient(180deg, rgba(10,30,20,.45) 0%, rgba(10,30,20,.30) 45%, rgba(10,30,20,.65) 100%); }
.hero::after {
  z-index: 1;
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,40,30,.15) 0%, rgba(15,40,30,.05) 40%, rgba(15,40,30,.45) 100%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 96px 0 150px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); font-size: 14px; font-weight: 600;
  backdrop-filter: blur(6px);
}
.hero h1 {
  margin: 18px auto 10px; max-width: 900px;
  font-size: clamp(32px, 5.6vw, 64px); line-height: 1.12; font-weight: 800;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero p.lead { font-size: clamp(17px, 2.2vw, 22px); margin: 0 auto 28px; max-width: 700px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border: 0;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--saffron-500); color: #fff; box-shadow: 0 10px 24px rgba(238,123,47,.45); }
.btn-light { background: #fff; color: var(--saffron-600); box-shadow: var(--shadow); }
.btn-ghost { background: var(--green-100); color: var(--green-900); }

/* ---------- Quick services (overlapping) ---------- */
.quick { position: relative; z-index: 5; margin-top: -96px; }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.quick-card {
  background: var(--card-solid); border-radius: var(--r); padding: 22px 14px 18px; text-align: center;
  text-decoration: none; box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quick-card .ico { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 16px; display: grid; place-items: center; background: var(--saffron-100); color: var(--saffron-600); }
.quick-card .ico svg { width: 28px; height: 28px; }
.quick-card .t { font-weight: 700; font-size: 15.5px; color: var(--ink); line-height: 1.3; }
.quick-card .s { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; line-height: 1.35; }
.quick-card.sos .ico { background: #fde4e7; color: var(--c-red); }

/* ---------- Notice ticker ---------- */
.ticker { margin-top: 28px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; align-items: stretch; overflow: hidden; }
.ticker-label { background: var(--green-700); color: #fff; font-weight: 700; padding: 10px 16px; display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14.5px; }
.ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-move { display: inline-flex; gap: 48px; white-space: nowrap; padding-left: 100%; animation: tick 38s linear infinite; font-size: 14.5px; color: var(--ink-2); }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-move span::before { content: "◆"; color: var(--saffron-500); margin-right: 10px; font-size: 10px; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
section.block.alt { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); color: var(--green-900); line-height: 1.2; }
.sec-head p { margin: 6px 0 0; color: var(--ink-2); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--saffron-600); letter-spacing: .04em; margin-bottom: 6px; }
.link-more { color: var(--green-700); font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

.card { background: var(--card-solid); border-radius: var(--r); box-shadow: var(--shadow-sm); border: 1px solid var(--line); padding: 22px; }
.sample-badge { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--c-amber); background: #fff4e2; border: 1px dashed #f0c27a; border-radius: 999px; padding: 1px 10px; }

/* Announcements + weather */
.grid-3-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.notice-list li:last-child { border-bottom: 0; }
.date-chip { background: var(--green-100); color: var(--green-900); border-radius: 12px; text-align: center; padding: 6px 4px; line-height: 1.1; }
.date-chip b { display: block; font-size: 22px; }
.date-chip small { font-size: 12px; }
.notice-title { font-weight: 700; margin: 0; }
.notice-meta { font-size: 13px; color: var(--ink-3); }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-right: 6px; }
.pill.new { background: var(--saffron-100); color: var(--saffron-600); }
.pill.imp { background: #fde4e7; color: var(--c-red); }

.weather { background: linear-gradient(160deg, #1786c9, #4fb0e8); color: #fff; border: 0; position: relative; overflow: hidden; }
.weather h3 { margin: 0 0 4px; font-size: 16px; opacity: .95; }
.weather .temp { font-size: 54px; font-weight: 800; line-height: 1; margin: 12px 0 4px; }
.weather .cond { font-size: 16px; }
.weather .wx-row { display: flex; gap: 14px; margin-top: 16px; font-size: 13.5px; flex-wrap: wrap; }
.weather .wx-row span { background: rgba(255,255,255,.18); padding: 4px 10px; border-radius: 999px; }
.weather .sun { position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, #ffe08a 0%, rgba(255,224,138,0) 70%); }
.weather .src { font-size: 11.5px; opacity: .85; margin-top: 12px; }

/* About + stats */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.about-grid p { color: var(--ink-2); font-size: 16.5px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat {
  background: #fff; border-radius: var(--r); padding: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; gap: 12px; align-items: center;
}
.stat .ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.stat .ico svg { width: 22px; height: 22px; }
.stat .k { font-size: 12.5px; color: var(--ink-3); font-weight: 700; }
.stat .v { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.1; }

/* Members */
.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.member { text-align: center; padding: 26px 16px; }
.avatar {
  width: 92px; height: 92px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; font-size: 30px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--green-500), var(--green-900));
  box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--saffron-100);
}
.member.lead .avatar { background: linear-gradient(135deg, var(--saffron-500), var(--saffron-600)); }
.member h3 { margin: 0; font-size: 17px; }
.member .role { color: var(--saffron-600); font-weight: 700; font-size: 14px; }
.member .ward { color: var(--ink-3); font-size: 13px; }

/* Schemes */
.schemes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scheme { display: flex; flex-direction: column; gap: 8px; }
.scheme .tagline { font-size: 12px; font-weight: 700; color: var(--green-700); background: var(--green-100); padding: 2px 10px; border-radius: 999px; align-self: flex-start; }
.scheme h3 { margin: 0; font-size: 17.5px; }
.scheme p { margin: 0; color: var(--ink-2); font-size: 14.5px; flex: 1; }
.scheme a { color: var(--saffron-600); font-weight: 700; text-decoration: none; font-size: 14px; }

/* Events */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.event { padding: 0; overflow: hidden; }
.event .band { height: 110px; display: flex; align-items: end; padding: 14px; color: #fff; font-weight: 800; font-size: 26px; }
.event .body { padding: 18px; }
.event h3 { margin: 0 0 6px; font-size: 17px; }
.event .meta { color: var(--ink-3); font-size: 13.5px; }

/* Transparency teaser */
.teaser {
  background: radial-gradient(1200px 400px at 10% 0%, rgba(242,181,68,.25), transparent),
              linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff; border-radius: var(--r-lg); padding: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center;
}
.teaser h2 { color: #fff; margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); }
.teaser p { color: #d7ecdf; margin: 0 0 20px; }
.teaser-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.teaser-stats div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 14px; }
.teaser-stats b { display: block; font-size: 26px; }
.teaser-stats span { font-size: 13px; color: #cfe7d7; }

/* Emergency */
.emergency { display: grid; grid-template-columns: repeat(4, 1fr) 1.4fr; gap: 14px; }
.sos-card { background: #fff; border-radius: var(--r); padding: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; display: block; }
.sos-card .num { font-size: 34px; font-weight: 800; color: var(--c-red); line-height: 1; }
.sos-card .lbl { font-weight: 700; margin-top: 6px; }
.sos-card .call { font-size: 13px; color: var(--green-700); font-weight: 700; margin-top: 4px; }
.sos-card.office { background: var(--green-100); }
.sos-card.office .num { font-size: 18px; color: var(--green-900); }

/* Footer */
.site-footer { background: var(--green-900); color: #cfe3d6; padding: 48px 0 24px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14.5px; }
.site-footer a { color: #cfe3d6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-note { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: 13px; color: #a8c6b3; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   Dashboard (glass style)
   ========================================================= */
.dash-bg {
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(242,181,68,.28), transparent 60%),
    radial-gradient(900px 600px at 100% 10%, rgba(47,154,99,.22), transparent 60%),
    radial-gradient(800px 500px at 50% 100%, rgba(238,123,47,.15), transparent 60%),
    var(--cream);
  min-height: 100vh;
}
.dash-wrap { padding: 28px 0 60px; }
.back-pill { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--ink); background: rgba(255,255,255,.75); border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.glass {
  background: var(--card); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.dash-panel { padding: 30px; margin-top: 18px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.dash-top h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; color: var(--ink); font-weight: 800; }
.dash-top .sub { color: var(--ink-2); font-size: 16px; margin-top: 4px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; background: rgba(255,255,255,.55); padding: 8px; border-radius: 18px; border: 1px solid var(--line); }
.filters label { display: flex; flex-direction: column; font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.filters select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237b857f' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
  padding: 9px 36px 9px 14px; border-radius: 12px; min-width: 140px; margin-top: 3px;
}
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.kpi { background: rgba(255,255,255,.82); border-radius: 22px; padding: 20px; display: flex; gap: 16px; align-items: center; border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-sm); }
.kpi .ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.kpi .ico svg { width: 26px; height: 26px; }
.kpi .k { font-size: 12.5px; font-weight: 800; color: var(--ink-3); letter-spacing: .04em; }
.kpi .v { font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--ink); }
.kpi .v.money { font-size: 25px; }

.dash-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 18px; margin-top: 18px; }
.dash-grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; margin-top: 18px; }
.chart-card { background: rgba(255,255,255,.85); border-radius: 22px; padding: 22px; border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-sm); }
.chart-card h3 { margin: 0 0 14px; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 10px; letter-spacing: .02em; }
.chart-card h3 .hi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.chart-card h3 .hi svg { width: 18px; height: 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 13.5px; color: var(--ink-2); margin-top: 10px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.donut-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.donut-center { font-size: 28px; font-weight: 800; }
.chart-svg text { font-family: var(--font); }
.bar-label { font-size: 12px; fill: var(--ink-2); }
.axis { stroke: var(--line); }

.table-wrap { overflow-x: auto; }
table.projects { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 720px; }
table.projects th { text-align: left; font-size: 12px; color: var(--ink-3); font-weight: 800; letter-spacing: .03em; padding: 10px 10px; border-bottom: 1px solid var(--line); }
table.projects td { padding: 12px 10px; border-bottom: 1px dashed var(--line); vertical-align: middle; }
table.projects tr:last-child td { border-bottom: 0; }
.p-name { font-weight: 700; }
.p-src { font-size: 12px; color: var(--ink-3); }
.progress { height: 8px; background: #edf1ee; border-radius: 999px; overflow: hidden; width: 110px; }
.progress > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--green-500), var(--green-700)); }
.status { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.status.done { background: #dcf4e6; color: #137a45; }
.status.ongoing { background: #dcecfb; color: #1567a3; }
.status.delayed { background: #fde0e4; color: #b4243a; }
.status.planned { background: #efeaf9; color: #5b45a8; }

.cmp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cmp-step { background: #fff; border-radius: 16px; padding: 14px; border: 1px solid var(--line); text-align: center; }
.cmp-step b { display: block; font-size: 26px; }
.cmp-step span { font-size: 12.5px; color: var(--ink-2); font-weight: 700; }
.cmp-note { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }

.docs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.docs-list li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.docs-list .di { width: 38px; height: 38px; border-radius: 10px; background: var(--saffron-100); color: var(--saffron-600); display: grid; place-items: center; flex: none; }
.docs-list .di svg { width: 18px; height: 18px; }
.docs-list .dt { font-weight: 700; font-size: 14.5px; }
.docs-list .dm { font-size: 12.5px; color: var(--ink-3); }

.source-line { margin-top: 22px; font-size: 13px; color: var(--ink-2); background: rgba(255,255,255,.6); border: 1px dashed var(--line); border-radius: 14px; padding: 12px 16px; }
.empty { color: var(--ink-3); text-align: center; padding: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 8px 8px; font-size: 13.5px; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .members { grid-template-columns: repeat(2, 1fr); }
  .emergency { grid-template-columns: repeat(2, 1fr); }
  .emergency .office { grid-column: 1 / -1; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch;
    padding: 10px 16px 18px; box-shadow: var(--shadow-lg); display: none; gap: 2px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
  .site-header .container { position: relative; }
  .header-actions .btn-login span.txt { display: none; }
  .grid-3-1, .about-grid, .teaser, .dash-grid, .dash-grid-2 { grid-template-columns: 1fr; }
  .schemes, .events { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .topstrip .tag .long { display: none; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 11.5px; }
  .hero { min-height: 520px; }
  .hero-inner { padding: 64px 0 140px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .schemes, .events, .members { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr; }
  .cmp-steps { grid-template-columns: 1fr 1fr; }
  .dash-panel { padding: 18px; }
  .filters select { min-width: 0; width: 100%; }
  .filters label { flex: 1 1 45%; }
  section.block { padding: 48px 0; }
  .teaser { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ticker-move { padding-left: 16px; }
}

/* =========================================================
   Phase 2 — forms, login, complaints, tracking, admin
   ========================================================= */
.page-simple { min-height: 100vh; display: flex; flex-direction: column; }
.page-simple main { flex: 1; }
.mini-header { background: #fff; border-bottom: 3px solid var(--saffron-500); }
.mini-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; }
.mini-header .brand-logo { width: 42px; height: 42px; }
.mini-header .brand-name { font-size: 19px; }
.mini-nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.mini-nav a, .mini-nav button { text-decoration: none; font-weight: 700; font-size: 14px; color: var(--green-900); padding: 8px 12px; border-radius: 10px; background: transparent; border: 0; }
.mini-nav a:hover, .mini-nav button:hover { background: var(--green-100); }

.auth-wrap { display: grid; place-items: center; padding: 48px 16px; }
.auth-card { width: min(460px, 100%); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 32px; border: 1px solid var(--line); }
.auth-card h1 { margin: 0 0 6px; font-size: 26px; color: var(--green-900); }
.auth-card .muted { color: var(--ink-2); margin: 0 0 20px; }
.privacy-note { font-size: 13px; color: var(--ink-3); background: var(--green-100); border-radius: 12px; padding: 10px 12px; margin-top: 18px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-google { width: 100%; justify-content: center; background: #fff; border: 1.5px solid #d6dbd8; color: var(--ink); }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.qr-box { display: grid; place-items: center; background: #fff; border: 1px dashed var(--line); border-radius: 16px; padding: 14px; margin: 14px 0; }
.qr-box img { width: 200px; height: 200px; }
.secret { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; background: #f3f5f4; padding: 8px 10px; border-radius: 8px; word-break: break-all; display: block; }

.form-grid { display: grid; gap: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; color: var(--ink); }
.field .help { font-size: 12.5px; color: var(--ink-3); margin-top: 5px; }
.field .err { font-size: 13px; color: var(--c-red); margin-top: 5px; min-height: 0; }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid #d6dbd8; border-radius: 12px; padding: 11px 14px; min-height: 46px;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(47,154,99,.15); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--c-red); }
.otp-input { letter-spacing: .3em; text-align: center; font-size: 22px; font-weight: 800; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14.5px; }
.check input { width: 18px; height: 18px; accent-color: var(--green-700); }

.cat-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cat-picker label { display: block; margin: 0; }
.cat-picker input { position: absolute; opacity: 0; pointer-events: none; }
.cat-picker span { display: block; text-align: center; padding: 12px 8px; border: 1.5px solid #d6dbd8; border-radius: 14px; font-weight: 700; font-size: 14px; cursor: pointer; background: #fff; }
.cat-picker input:checked + span { border-color: var(--saffron-500); background: var(--saffron-100); color: var(--saffron-600); }
.cat-picker input:focus-visible + span { outline: 3px solid var(--saffron-500); outline-offset: 2px; }

.photo-drop { border: 2px dashed #cfd6d2; border-radius: 16px; padding: 18px; text-align: center; background: #fafcfb; }
.photo-drop input { display: block; margin: 8px auto 0; font-size: 14px; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.thumb { position: relative; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: #eef2ef; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; border-radius: 8px; padding: 2px 6px; }

.alert { border-radius: 14px; padding: 12px 14px; font-size: 14.5px; margin: 12px 0; }
.alert.error { background: #fde4e7; color: #9b1c30; }
.alert.ok { background: #dcf4e6; color: #0f6a3b; }
.alert.info { background: #fff4e2; color: #8a5300; }

.success-box { text-align: center; padding: 30px 20px; }
.success-box .tick { width: 72px; height: 72px; border-radius: 50%; background: #dcf4e6; color: #1f9d5b; display: grid; place-items: center; margin: 0 auto 14px; }
.success-box .tick svg { width: 36px; height: 36px; }
.cid { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: .04em; color: var(--green-900); background: var(--green-100); border-radius: 14px; padding: 8px 18px; margin: 8px 0 6px; font-family: ui-monospace, Menlo, Consolas, monospace; }

/* Tracking */
.track-list { display: grid; gap: 16px; }
.track-item { padding: 20px; }
.track-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: start; }
.track-no { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 800; color: var(--green-700); }
.track-title { font-weight: 800; font-size: 17px; margin: 2px 0; }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0 6px; }
.stepper div { text-align: center; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.stepper div::before { content: ""; display: block; height: 6px; border-radius: 999px; background: #e4e9e6; margin-bottom: 6px; }
.stepper div.on { color: var(--green-700); }
.stepper div.on::before { background: linear-gradient(90deg, var(--green-500), var(--green-700)); }
.stepper.rejected div.on::before { background: var(--c-red); }
.timeline { list-style: none; margin: 10px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 4px 0 12px 12px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: -23px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--green-500); border: 2px solid #fff; }
.timeline li.internal::before { background: var(--c-amber); }
.timeline .when { font-size: 12px; color: var(--ink-3); }
.cstatus { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.cstatus.submitted { background: #efeaf9; color: #5b45a8; }
.cstatus.under_review { background: #fff0db; color: #9a5b00; }
.cstatus.in_progress { background: #dcecfb; color: #1567a3; }
.cstatus.resolved { background: #dcf4e6; color: #137a45; }
.cstatus.rejected { background: #fde0e4; color: #b4243a; }
.photo-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.photo-row img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; background: #eef2ef; }

/* Admin */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 71px); }
.admin-side { background: var(--green-900); color: #d7ecdf; padding: 20px 14px; }
.admin-side .who { background: rgba(255,255,255,.08); border-radius: 14px; padding: 12px; margin-bottom: 16px; font-size: 13.5px; }
.admin-side .who b { display: block; color: #fff; font-size: 15px; word-break: break-all; }
.role-chip { display: inline-block; background: var(--saffron-500); color: #fff; font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin: 4px 4px 0 0; }
.admin-tabs { display: grid; gap: 4px; }
.admin-tabs button { text-align: left; border: 0; background: transparent; color: #d7ecdf; font-weight: 700; padding: 11px 12px; border-radius: 10px; font-size: 15px; display: flex; gap: 10px; align-items: center; }
.admin-tabs button svg { width: 18px; height: 18px; }
.admin-tabs button[aria-selected="true"] { background: #fff; color: var(--green-900); }
.admin-tabs button:hover:not([aria-selected="true"]) { background: rgba(255,255,255,.08); }
.admin-main { padding: 26px; background: var(--cream); min-width: 0; }
.admin-main h2 { margin: 0 0 16px; color: var(--green-900); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.toolbar .input, .toolbar .select { width: auto; min-width: 160px; flex: 1 1 160px; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); font-size: 14.5px; }
.data-table th { text-align: left; font-size: 12px; font-weight: 800; color: var(--ink-3); padding: 12px; background: #f6f8f7; }
.data-table td { padding: 12px; border-top: 1px solid var(--line); vertical-align: top; }
.data-table tr.clickable { cursor: pointer; }
.data-table tr.clickable:hover td { background: #fafcfb; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; border-radius: 10px; }
.btn-danger { background: #fde4e7; color: #9b1c30; }
.btn-outline { background: #fff; color: var(--green-900); border: 1.5px solid #d6dbd8; }

.drawer-back { position: fixed; inset: 0; background: rgba(10,30,20,.4); z-index: 80; display: none; }
.drawer-back.open { display: block; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: #fff; z-index: 90; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .2s ease; overflow-y: auto; padding: 24px; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 12px; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; font-size: 14.5px; margin: 12px 0; }
.kv dt { color: var(--ink-3); font-weight: 700; }
.kv dd { margin: 0; word-break: break-word; }
.panel { background: #f6f8f7; border-radius: 16px; padding: 16px; margin-top: 16px; }
.panel h4 { margin: 0 0 10px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--green-900); color: #fff; padding: 10px 18px; border-radius: 12px; z-index: 120; font-weight: 700; box-shadow: var(--shadow-lg); }
.diff { font-size: 12.5px; color: var(--ink-2); }
.diff b { color: var(--ink); }

@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { padding: 12px; }
  .admin-tabs { grid-auto-flow: column; overflow-x: auto; }
  .admin-tabs button { white-space: nowrap; }
  .admin-main { padding: 16px; }
  .data-table.stack thead { display: none; }
  .data-table.stack tr { display: grid; padding: 8px 0; border-top: 1px solid var(--line); }
  .data-table.stack td { border: 0; padding: 3px 12px; }
}
@media (max-width: 560px) {
  .form-row-2, .cat-picker { grid-template-columns: 1fr 1fr; }
  .auth-card { padding: 22px; }
  .stepper div { font-size: 11px; }
}
@media (max-width: 560px) {
  .mini-header .container { min-height: 60px; }
  .mini-header .brand { gap: 8px; }
  .mini-header .brand-logo { width: 36px; height: 36px; }
  .mini-header .brand-name { font-size: 16px; white-space: nowrap; }
  .mini-header .brand-sub { display: none; }
  .mini-nav { gap: 2px; justify-content: flex-end; }
  .mini-nav a, .mini-nav button { padding: 6px 7px; font-size: 12.5px; }
  .topstrip .sos { display: none; }
}

/* =========================================================
   Phase 3 — content pages
   ========================================================= */
@media (max-width: 1500px) {
  .menu-toggle { display: grid; place-items: center; }
  .site-header .container { position: relative; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch;
    padding: 10px 16px 18px; box-shadow: var(--shadow-lg); display: none; gap: 2px; max-height: 75vh; overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
}
.page-hero {
  background: radial-gradient(900px 300px at 85% 0%, rgba(242,181,68,.35), transparent 60%), linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff; padding: 44px 0 40px;
}
.page-hero h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; }
.page-hero p { margin: 0; color: #d7ecdf; font-size: 17px; max-width: 720px; }
.lead-text { font-size: 17px; color: var(--ink-2); margin: 0; white-space: pre-line; }
.stats.wide { grid-template-columns: repeat(3, 1fr); }
.avatar-img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--saffron-100); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { border: 1.5px solid #d6dbd8; background: #fff; color: var(--ink); font-weight: 700; font-size: 14.5px; padding: 8px 16px; border-radius: 999px; min-height: 40px; }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.chip-sm { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: var(--green-100); color: var(--green-900); }
.chip-sm.date { background: var(--saffron-100); color: var(--saffron-600); }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post { display: flex; flex-direction: column; gap: 8px; }
.post h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.post p { margin: 0; color: var(--ink-2); font-size: 14.5px; white-space: pre-line; }
.post-img { width: calc(100% + 44px); margin: -22px -22px 4px; height: 180px; object-fit: cover; border-radius: var(--r) var(--r) 0 0; max-width: none; }
.post-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: var(--ink-3); }
.post-loc { font-size: 13.5px; color: var(--ink-2); }
.post-src { font-size: 12.5px; color: var(--ink-3); margin: 10px 0 0; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery figure { margin: 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.gallery img, .gallery .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: grid; place-items: center; color: rgba(255,255,255,.85); }
.gallery .ph svg { width: 44px; height: 44px; }
.gallery figcaption { padding: 10px 12px; font-size: 14px; font-weight: 600; }

.dir-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dir { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.dir h3 { margin: 2px 0 0; font-size: 17px; }
.dir p { margin: 0; font-size: 14px; color: var(--ink-2); }
.dir .btn { margin-top: 6px; }
.dir-img { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; }

.fac-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fac h3 { margin: 0 0 10px; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.fac-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--saffron-100); color: var(--saffron-600); display: grid; place-items: center; flex: none; }
.fac-ico svg { width: 18px; height: 18px; }
.fac .count { margin-left: auto; font-size: 13px; background: var(--green-100); color: var(--green-900); border-radius: 999px; padding: 1px 10px; }
.fac ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fac li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 14.5px; }
.fac li .notice-meta { grid-column: 1; }
.fac li a { grid-row: 1 / span 2; grid-column: 2; align-self: center; text-decoration: none; }

.map-box { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #e8efe9; }
.map-box iframe { width: 100%; height: 420px; border: 0; display: block; }

.svc-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cert h3 { margin: 0 0 6px; color: var(--green-900); }
.cert h4 { margin: 14px 0 6px; font-size: 14px; color: var(--saffron-600); }
.cert p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-2); }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14.5px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green-500); font-weight: 800; }
.scheme-list { display: grid; gap: 10px; }
.scheme-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 20px; }
.mine { margin-top: 10px; }
.mine h4 { margin: 8px 0; }
.mine-item { font-size: 14px; padding: 8px 0; border-top: 1px dashed var(--line); }
.mine-item .reply { color: var(--green-700); margin-top: 4px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.link-card { display: flex; justify-content: space-between; align-items: center; text-decoration: none; color: var(--ink); }
.link-card span { color: var(--saffron-600); font-weight: 700; font-size: 14px; }
.link-row { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; }
.wx5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; text-align: center; }
.wx-day { background: #f3f8f5; border-radius: 14px; padding: 12px 4px; font-size: 13.5px; }
.wx-t { font-weight: 800; font-size: 16px; margin: 4px 0; }

.explore { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.explore-card { --c: var(--green-700); display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--r); padding: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-top: 5px solid var(--c); transition: transform .18s, box-shadow .18s; }
.explore-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.explore-card > span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--c); }
.explore-card > span svg { width: 24px; height: 24px; }
.explore-card b { font-size: 17px; margin-top: 6px; }
.explore-card small { color: var(--ink-3); font-size: 13px; line-height: 1.4; }

@media (max-width: 960px) {
  .post-grid, .dir-grid, .fac-grid, .cert-grid, .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .explore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .post-grid, .dir-grid, .fac-grid, .cert-grid, .link-grid, .contact-grid, .svc-top { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats.wide { grid-template-columns: 1fr 1fr; }
  .map-box iframe { height: 320px; }
  .scheme-row { flex-direction: column; align-items: flex-start; }
  .wx5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .emergency { grid-template-columns: 1fr 1fr !important; }
}

.header-actions { flex: none; }
#auth-nav { flex-wrap: nowrap; }
#auth-nav a, #auth-nav button { white-space: nowrap; }
@media (max-width: 620px) { .site-header .brand-sub { display: none; } }

/* Admin: वेबसाइट टेक्स्ट व आँकड़े */
.st-card h3 { margin: 0 0 2px; color: var(--green-900); }
.st-card > .notice-meta { margin: 0 0 12px; }
.stat-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.tri-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tri-l { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); margin-bottom: 3px; }
.st-save { position: sticky; bottom: 0; background: linear-gradient(180deg, rgba(251,247,239,0), var(--cream) 40%); padding: 14px 0 6px; }
@media (max-width: 860px) { .stat-form, .tri-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stat-form, .tri-grid { grid-template-columns: 1fr; } }

/* Admin: users list */
.chips-inline { display: flex; flex-wrap: wrap; gap: 4px; }
.role-chip { display: inline-flex; align-items: center; gap: 4px; margin: 0; }
.role-chip.citizen { background: #e7ece9; color: var(--ink-2); }
.role-chip.sa { background: var(--green-900); }
.chip-x { border: 0; background: rgba(255,255,255,.25); color: #fff; border-radius: 50%; width: 18px; height: 18px; line-height: 16px; padding: 0; font-size: 14px; font-weight: 800; }
.chip-x:hover { background: rgba(0,0,0,.25); }
#panel-users .toolbar .input { flex: 2 1 240px; }
