
/* ============================================================
   Bharat Gaurav Deshratna Rajendra Memorial Foundation — Swachchha Haath platform
   Design tokens: indigo ink, water teal, marigold, cool paper.
   Type: Adventor (display, geometric), Carlito (text), Schola (certificate).
   ============================================================ */

:root {
  --ink: #0E2145;
  --ink-2: #16305F;
  --ink-3: #31405A;
  --slate: #5A6E88;
  --mute: #8296AE;
  --line: #DCE5EE;
  --line-soft: #EBF1F6;
  --paper: #FFFFFF;
  --wash: #F1F5F9;
  --wash-2: #E7EEF5;
  --teal: #0C7C74;
  --teal-2: #0FA097;
  --teal-wash: #E4F2F0;
  --gold: #C98A16;
  --gold-2: #E9A825;
  --gold-wash: #FBF1DC;
  --rose: #BE3A29;
  --rose-wash: #FBEAE7;
  --violet: #5B4B8A;

  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 16px;
  --shadow-1: 0 1px 2px rgba(14, 33, 69, .06), 0 2px 8px rgba(14, 33, 69, .05);
  --shadow-2: 0 8px 28px rgba(14, 33, 69, .12);
  --shadow-3: 0 24px 60px rgba(14, 33, 69, .22);

  --display: "GDET Display", "GDET Text", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  --text: "GDET Text", "Calibri", "Segoe UI", system-ui, -apple-system, "Noto Sans", sans-serif;
  --deva: "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Kohinoor Devanagari", "Noto Serif Devanagari", system-ui, sans-serif;
  --serif: "GDET Serif", "GDET Text", "Century Schoolbook", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, monospace;

  --rail: 244px;
  --top: 60px;
}

[data-theme="dark"] {
  --ink: #EAF0F7;
  --ink-2: #D3DEEC;
  --ink-3: #B7C6D9;
  --slate: #93A6BC;
  --mute: #7488A0;
  --line: #22344F;
  --line-soft: #1B2A41;
  --paper: #14202F;
  --wash: #0D1724;
  --wash-2: #162435;
  --teal-wash: #10322F;
  --gold-wash: #33280F;
  --rose-wash: #3A1E1A;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 8px 28px rgba(0, 0, 0, .45);
  --shadow-3: 0 24px 60px rgba(0, 0, 0, .6);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--wash);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 .4em; line-height: 1.12; font-weight: 700; letter-spacing: -.012em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.34rem); }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
small { font-size: .8125rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

:focus-visible {
  outline: 2.5px solid var(--teal-2);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------- utility */
.wrap { width: min(1220px, 92vw); margin-inline: auto; }
.wrap-narrow { width: min(880px, 92vw); margin-inline: auto; }
.row { display: flex; gap: 12px; align-items: center; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 12px; }
.grow { flex: 1 1 auto; min-width: 0; }
.wrapflex { flex-wrap: wrap; }
.hide { display: none !important; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.mono { font-family: var(--mono); font-size: .82em; letter-spacing: -.02em; }
.muted { color: var(--slate); }
.tiny { font-size: .78rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------- buttons */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--text); font-size: .9375rem; font-weight: 700; line-height: 1;
  padding: 11px 18px; border-radius: var(--radius-s);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.btn:hover { box-shadow: var(--shadow-2); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn-teal { --bg: var(--teal); --bd: var(--teal); }
.btn-gold { --bg: var(--gold); --bd: var(--gold); --fg: #23180A; }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn-ghost:hover { --bd: var(--ink); }
.btn-quiet { --bg: var(--paper); --fg: var(--ink); --bd: var(--line); }
.btn-danger { --bg: var(--rose); --bd: var(--rose); }
.btn-sm { padding: 7px 12px; font-size: .84rem; border-radius: 5px; }
.btn-lg { padding: 14px 24px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-sm svg { width: 15px; height: 15px; }

.iconbtn {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: 8px; border: 1.5px solid transparent; background: transparent;
  color: var(--ink-3); cursor: pointer;
}
.iconbtn:hover { background: var(--wash-2); color: var(--ink); }
.iconbtn svg { width: 19px; height: 19px; }

/* ---------------------------------------------------------- chips, pills, tags */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
  padding: 4px 9px; border-radius: 999px;
  background: var(--wash-2); color: var(--ink-3); border: 1px solid transparent;
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: block; }
.pill-ok { background: var(--teal-wash); color: var(--teal); }
.pill-warn { background: var(--gold-wash); color: #8A5E06; }
.pill-bad { background: var(--rose-wash); color: var(--rose); }
.pill-info { background: #E9EDFA; color: var(--violet); }
[data-theme="dark"] .pill-info { background: #22214A; color: #B7ACE8; }
[data-theme="dark"] .pill-warn { color: var(--gold-2); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--ink-3);
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------------------------------------------------------- forms */
label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-3); margin-bottom: 5px; }
input, select, textarea {
  width: 100%; font-family: var(--text); font-size: .95rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-s);
  padding: 10px 12px; transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(15, 160, 151, .16);
}
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--teal); }
select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6E88' stroke-width='2.5'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 32px; }
.field { margin-bottom: 14px; }
.hint { font-size: .78rem; color: var(--slate); margin-top: 5px; }
.err { font-size: .78rem; color: var(--rose); margin-top: 5px; font-weight: 600; }

.otp-grid { display: flex; gap: 8px; }
.otp-grid input {
  width: 46px; height: 54px; text-align: center; font-size: 1.4rem; font-weight: 700;
  font-family: var(--display); padding: 0;
}

/* ---------------------------------------------------------- cards & panels */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.card-pad { padding: 20px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper);
}
.panel-head h3 { margin: 0; font-size: 1.02rem; }
.panel-body { padding: 18px; }
.panel-foot { padding: 12px 18px; border-top: 1px solid var(--line); background: var(--wash); }

.kpi { padding: 16px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.kpi .label { font-size: .78rem; font-weight: 700; color: var(--slate); }
.kpi .value { font-family: var(--display); font-size: clamp(1.5rem, 3.4vw, 2.05rem); font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; margin-top: 2px; }
.kpi .delta { font-size: .78rem; font-weight: 700; color: var(--teal); }
.kpi .delta.down { color: var(--rose); }
.kpi-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* ---------------------------------------------------------- tables */
.tblhost { display: block; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .89rem; }
table.data th {
  text-align: left; font-size: .74rem; font-weight: 700; color: var(--slate);
  padding: 10px 12px; border-bottom: 1.5px solid var(--line); background: var(--wash);
  position: sticky; top: 0; z-index: 2; white-space: nowrap;
}
table.data th.sortable { cursor: pointer; user-select: none; }
table.data th.sortable:hover { color: var(--ink); }
table.data th .arrow { opacity: .35; margin-left: 4px; }
table.data th[aria-sort] .arrow { opacity: 1; color: var(--teal); }
table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.data tbody tr:hover { background: var(--wash); }
table.data tbody tr.sel { background: var(--teal-wash); }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; }
.rowlink { cursor: pointer; }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pager .pages { display: flex; gap: 4px; align-items: center; }
.pager button {
  min-width: 34px; height: 34px; padding: 0 9px; border-radius: 6px; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--ink-3); font-weight: 700; font-size: .84rem;
}
.pager button[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager button[disabled] { opacity: .4; pointer-events: none; }

.empty { padding: 44px 20px; text-align: center; color: var(--slate); }
.empty h4 { color: var(--ink); margin-bottom: 6px; }

/* ---------------------------------------------------------- toast, modal, drawer */
#toasts { position: fixed; z-index: 90; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, 92vw); }
.toast {
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 12px 14px;
  box-shadow: var(--shadow-3); display: flex; gap: 10px; align-items: flex-start;
  animation: toastin .22s cubic-bezier(.2, .9, .3, 1);
}
.toast .t-title { font-weight: 700; font-size: .9rem; }
.toast .t-body { font-size: .84rem; opacity: .85; }
.toast.ok { background: var(--teal); }
.toast.bad { background: var(--rose); }
.toast svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
@keyframes toastin { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

.scrim { position: fixed; inset: 0; background: rgba(9, 20, 40, .55); backdrop-filter: blur(2px); z-index: 80; }
.modal {
  position: fixed; z-index: 81; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(680px, 94vw); max-height: 88vh; overflow: auto;
  background: var(--paper); border-radius: var(--radius-l); box-shadow: var(--shadow-3);
}
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 0; }
.modal-body { padding: 14px 20px 20px; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

.drawer {
  position: fixed; z-index: 81; right: 0; top: 0; bottom: 0; width: min(520px, 96vw);
  background: var(--paper); box-shadow: var(--shadow-3); overflow: auto;
  animation: drawerin .24s cubic-bezier(.2, .9, .3, 1);
}
@keyframes drawerin { from { transform: translateX(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.drawer-head { position: sticky; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px 20px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; z-index: 2; }
.drawer-body { padding: 18px 20px 28px; }

.deflist { display: grid; grid-template-columns: 132px 1fr; gap: 8px 14px; font-size: .89rem; }
.deflist dt { color: var(--slate); font-weight: 600; }
.deflist dd { margin: 0; color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------- public site */
.masthead {
  position: sticky; top: 0; z-index: 40; background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.masthead .bar { display: flex; align-items: center; gap: 16px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .brandmark { display: inline-grid; place-items: center; flex: none; }
.brand .brandmark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brandmark.on-dark { background: #fff; border-radius: 7px; padding: 3px; box-sizing: content-box; }
[data-theme="dark"] .brandmark { background: #fff; border-radius: 7px; padding: 3px; box-sizing: content-box; }
.brand .name { font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--ink); line-height: 1.05; letter-spacing: -.01em; }
.brand .sub { font-size: .7rem; color: var(--slate); letter-spacing: .04em; }
.mnav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.mnav a { padding: 8px 12px; border-radius: 6px; font-size: .9rem; font-weight: 600; color: var(--ink-3); text-decoration: none; }
.mnav a:hover { background: var(--wash-2); color: var(--ink); }
.mtoggle { display: none; }

.ribbon {
  background: var(--gold-wash); border-bottom: 1px solid #EBD9AE; color: #7A5406;
  font-size: .82rem; font-weight: 600;
}
[data-theme="dark"] .ribbon { background: #2C230C; border-color: #4A3A12; color: var(--gold-2); }
.ribbon .wrap { display: flex; gap: 10px 18px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 8px 0; text-align: center; }
.ribbon b { color: var(--rose); }
[data-theme="dark"] .ribbon b { color: #F0876F; }
.ribbon .deva { font-family: var(--deva); }

.campaign-banner { background: var(--ink); line-height: 0; }
.campaign-banner img { width: 100%; height: auto; display: block; }
@media (max-width: 720px) {
  .campaign-banner { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .campaign-banner::-webkit-scrollbar { display: none; }
  .campaign-banner img { width: auto; height: 46vw; min-height: 190px; max-width: none; }
}

.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero-figure { margin: 0; position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-figure img {
  width: 100%; height: auto; max-height: 460px; object-fit: cover; object-position: top center;
  border-radius: var(--radius-l); border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
}
.hero-figure figcaption {
  margin-top: -34px; align-self: center; background: rgba(9, 20, 40, .82); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 8px 18px; text-align: center;
}
.hero-figure figcaption b { display: block; color: #fff; font-size: .92rem; }
.hero-figure figcaption span { display: block; color: #9FB6D4; font-size: .74rem; }

.tallyband { background: var(--ink-2); border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0 28px; }
[data-theme="dark"] .tallyband { background: #101E33; }
.tallyband .tally { display: grid; grid-template-columns: minmax(260px, 1fr) 1.35fr; gap: clamp(16px, 4vw, 46px); align-items: center; background: none; border: 0; padding: 0; backdrop-filter: none; }
.tallyband .tally-main { min-width: 0; }
.tallyband .tally-split { grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; border: 0; }
.tallyband .tally-split > div { border-left: 2px solid rgba(255, 255, 255, .16); padding-left: 14px; }
@media (max-width: 900px) {
  .tallyband .tally { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .tallyband .tally-split { grid-template-columns: 1fr; gap: 10px; }
}

.slider { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform .6s cubic-bezier(.25, .9, .25, 1); will-change: transform; }
.slide { flex: 0 0 100%; min-width: 100%; padding-right: 8px; }
.slide[aria-hidden="true"] { visibility: hidden; }
.hi-line {
  font-family: var(--deva); color: var(--gold-2); font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  font-weight: 600; line-height: 1.5; margin: 0 0 14px;
}
.hi-body { font-family: var(--deva); font-size: .96rem !important; color: #9FB6D4 !important; line-height: 1.7; }
.slider-bar { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.dots { display: flex; gap: 8px; align-items: center; }
.dot {
  width: 26px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.dot i { display: block; width: 20px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .3); transition: background .2s, width .25s; }
.dot.on i { background: var(--gold-2); width: 30px; }
.sarrow {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; line-height: 1;
  background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .25); color: #fff;
}
.sarrow:hover { background: rgba(255, 255, 255, .18); }
.hero .bubbles { position: absolute; inset: 0; opacity: .5; }
.hero .wrap { position: relative; padding: clamp(38px, 6vw, 74px) 0 clamp(44px, 6vw, 76px); }
.hero .eyebrow { color: var(--gold-2); font-weight: 700; font-size: .8rem; letter-spacing: .07em; margin-bottom: 12px; font-family: var(--deva); }
.hero h1 { color: #fff; font-size: clamp(2rem, 5.6vw, 3.7rem); letter-spacing: -.026em; margin-bottom: .14em; }
.hero h1 .line2 { color: var(--gold-2); display: block; }
.hero p.lede { color: #C3D2E6; font-size: clamp(1rem, 1.7vw, 1.16rem); max-width: 46ch; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.tally {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .17);
  border-radius: var(--radius-l); padding: clamp(18px, 3vw, 26px); backdrop-filter: blur(6px);
}
.tally .cap { font-size: .78rem; letter-spacing: .07em; color: #9FB6D4; font-weight: 700; }
.tally .big {
  font-family: var(--display); font-weight: 700; color: #fff; letter-spacing: -.035em;
  font-size: clamp(2.6rem, 8.4vw, 4.5rem); line-height: 1; margin: 6px 0 4px;
  font-variant-numeric: tabular-nums;
}
.tally .of { color: #9FB6D4; font-size: .92rem; }
.meter { height: 9px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; margin: 16px 0 8px; }
.meter > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--teal-2), var(--gold-2)); transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }
.tally-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.tally-split .n { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.tally-split .l { font-size: .76rem; color: #9FB6D4; }

.section { padding: clamp(44px, 6vw, 80px) 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 30px; }
.section-head p { color: var(--slate); font-size: 1.03rem; }

.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); counter-reset: s; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; position: relative; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--display); font-weight: 700; font-size: .82rem; color: var(--gold);
  letter-spacing: .06em;
}
.step h4 { margin: 8px 0 6px; }
.step p { font-size: .9rem; color: var(--slate); margin: 0; }

.washsteps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.washstep { text-align: center; }
.washstep svg { width: 100%; height: auto; max-width: 92px; }
.washstep b { display: block; font-size: .8rem; margin-top: 6px; color: var(--ink); }
.washstep span { font-size: .72rem; color: var(--slate); }

.verifybox { background: linear-gradient(180deg, var(--paper), var(--wash)); border: 1.5px solid var(--line); border-radius: var(--radius-l); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-2); }

.statgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--ink); font-size: 1.01rem; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; color: var(--teal); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding-bottom: 18px; color: var(--slate); font-size: .95rem; }
.faq .a p:last-child { margin-bottom: 0; }

.sitefoot { background: var(--ink); color: #B9C9DF; padding: 46px 0 26px; }
.sitefoot h4 { color: #fff; font-size: .92rem; margin-bottom: 10px; }
.sitefoot a { color: #B9C9DF; text-decoration: none; display: block; padding: 3px 0; font-size: .9rem; }
.sitefoot a:hover { color: #fff; text-decoration: underline; }
.footgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footbar { border-top: 1px solid rgba(255, 255, 255, .13); margin-top: 30px; padding-top: 18px; font-size: .82rem; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------------------------------------------------------- console shell */
.app { display: none; min-height: 100vh; background: var(--wash); }
.app.on, #login:not(.hide) { display: block; }
.apptop {
  position: sticky; top: 0; z-index: 45; height: var(--top); background: var(--paper);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 0 16px;
}

.apptop .brand .name { font-size: .94rem; }
.globalsearch { position: relative; flex: 1 1 auto; max-width: 460px; }
.globalsearch input { padding-left: 36px; height: 38px; background: var(--wash); }
.globalsearch svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--slate); pointer-events: none; }
.sresults { position: absolute; top: 44px; left: 0; right: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-3); max-height: 60vh; overflow: auto; z-index: 50; }
.sresults .item { padding: 9px 12px; cursor: pointer; border-bottom: 1px solid var(--line-soft); display: flex; gap: 10px; align-items: center; }
.sresults .item:hover, .sresults .item.on { background: var(--teal-wash); }
.sresults .item b { font-size: .88rem; }
.sresults .item span { font-size: .78rem; color: var(--slate); }

.shell { display: grid; grid-template-columns: var(--rail) 1fr; align-items: start; }
.rail {
  position: sticky; top: var(--top); height: calc(100vh - var(--top)); overflow: auto;
  background: var(--paper); border-right: 1px solid var(--line); padding: 14px 12px 30px;
}
.rail .group { font-size: .7rem; font-weight: 700; color: var(--mute); letter-spacing: .06em; padding: 14px 10px 6px; }
.rail a {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px;
  color: var(--ink-3); text-decoration: none; font-size: .9rem; font-weight: 600; cursor: pointer;
}
.rail a:hover { background: var(--wash-2); color: var(--ink); }
.rail a.on { background: var(--ink); color: #fff; }
.rail a svg { width: 18px; height: 18px; flex: none; }
.rail a .badge { margin-left: auto; font-size: .7rem; background: var(--gold); color: #23180A; border-radius: 99px; padding: 1px 7px; font-weight: 700; }
.rail a.on .badge { background: var(--gold-2); }

.main { padding: clamp(16px, 2.4vw, 28px); min-width: 0; }
.page-head { margin-bottom: 20px; }
.page-head h2 { margin-bottom: 4px; }
.page-head p { color: var(--slate); margin: 0; }

.tabbar { display: none; }

.scoped {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700;
  color: var(--teal); background: var(--teal-wash); padding: 5px 11px; border-radius: 999px;
}

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.filters .field { margin: 0; min-width: 150px; }
.filters .field.wide { flex: 1 1 240px; }

.dropzone {
  border: 2px dashed var(--line); border-radius: var(--radius-l); padding: 34px 20px; text-align: center;
  background: var(--wash); transition: border-color .16s, background .16s; cursor: pointer;
}
.dropzone.hot { border-color: var(--teal-2); background: var(--teal-wash); }
.dropzone svg { width: 38px; height: 38px; color: var(--teal); }

.progress { height: 7px; background: var(--wash-2); border-radius: 99px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--teal); border-radius: 99px; transition: width .3s ease; }

.certframe {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px; box-shadow: var(--shadow-2); overflow: hidden;
}
.certframe svg { display: block; width: 100%; height: auto; border-radius: 6px; }

.certphoto { border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.qrbox { background: #fff; padding: 8px; border-radius: 8px; border: 1px solid var(--line); display: inline-block; }
.qrbox svg { display: block; width: 128px; height: 128px; }

.simulator {
  position: fixed; right: 16px; bottom: 16px; z-index: 70; width: min(330px, 92vw);
  background: var(--ink); color: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-3); overflow: hidden;
}
.simulator .sh { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(255, 255, 255, .07); font-size: .84rem; font-weight: 700; }
.simulator .sb { max-height: 260px; overflow: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.wamsg { background: #E7FFDB; color: #10261A; border-radius: 10px 10px 10px 2px; padding: 9px 11px; font-size: .82rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.wamsg .meta { font-size: .68rem; color: #4C6B57; margin-top: 5px; display: flex; justify-content: space-between; gap: 8px; }
.wamsg.sms { background: #E8EEF7; color: #12243D; border-radius: 10px; }
.wamsg .doc { display: flex; gap: 8px; align-items: center; background: rgba(0, 0, 0, .06); border-radius: 6px; padding: 7px 8px; margin-top: 7px; }
.wamsg .doc svg { width: 20px; height: 20px; color: var(--rose); }

.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--slate); }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 5px; }

.bars { display: flex; flex-direction: column; gap: 9px; }
.bars .b { display: grid; grid-template-columns: 128px 1fr 76px; gap: 10px; align-items: center; font-size: .84rem; }
.bars .track { height: 18px; background: var(--wash-2); border-radius: 4px; overflow: hidden; }
.bars .track > i { display: block; height: 100%; background: var(--teal); border-radius: 4px; }
.bars .b:nth-child(2n) .track > i { background: var(--ink-2); }

.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gap { display: grid; gap: 18px; }

.checkline { display: flex; gap: 9px; align-items: flex-start; font-size: .88rem; margin-bottom: 9px; }
.checkline svg { width: 17px; height: 17px; color: var(--teal); flex: none; margin-top: 2px; }

.codeblock {
  background: var(--ink); color: #D6E4F5; border-radius: var(--radius); padding: 14px 16px;
  font-family: var(--mono); font-size: .78rem; overflow-x: auto; line-height: 1.6;
}
.codeblock .k { color: var(--gold-2); }
.codeblock .s { color: #8FE3C4; }

.doc h3 { margin-top: 26px; }
.doc h4 { margin-top: 18px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; font-size: .93rem; }
.doc table { width: 100%; border-collapse: collapse; font-size: .86rem; margin: 12px 0 18px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--wash); font-weight: 700; color: var(--ink); }

/* ---------------------------------------------------------- login */
.loginwrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.loginside { background: var(--ink); color: #fff; padding: clamp(28px, 5vw, 60px); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.loginside h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.loginside p { color: #B9C9DF; }
.loginmain { padding: clamp(24px, 5vw, 54px); display: flex; align-items: center; justify-content: center; background: var(--paper); }
.loginmain .inner { width: min(420px, 100%); }
.rolepick { display: grid; gap: 10px; margin-bottom: 20px; }
.rolepick button {
  display: flex; gap: 12px; align-items: center; text-align: left; cursor: pointer;
  padding: 13px 15px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--paper);
}
.rolepick button:hover { border-color: var(--teal-2); }
.rolepick button[aria-pressed="true"] { border-color: var(--ink); background: var(--wash); box-shadow: inset 3px 0 0 var(--gold); }
.rolepick .rn { font-weight: 700; color: var(--ink); font-size: .95rem; }
.rolepick .rd { font-size: .8rem; color: var(--slate); }
.rolepick svg { width: 22px; height: 22px; color: var(--teal); flex: none; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .statgrid, .hero-grid { grid-template-columns: 1fr; }
  .split3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .footgrid { grid-template-columns: 1fr 1fr; }
  .washsteps { grid-template-columns: repeat(3, 1fr); }
  .loginwrap { grid-template-columns: 1fr; }
  .loginside { display: none; }
  .shell { grid-template-columns: 1fr; }
  .rail {
    position: fixed; inset: var(--top) auto 0 0; width: 260px; z-index: 46;
    transform: translateX(-102%); transition: transform .22s ease; box-shadow: var(--shadow-3);
  }
  .rail.open { transform: none; }
  .mnav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px; gap: 2px; box-shadow: var(--shadow-2); }
  .mnav.open { display: flex; }
  .mnav a { padding: 12px 14px; }
  .mtoggle { display: inline-grid; margin-left: auto; }
  .main { padding-bottom: 84px; }
  .tabbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 44;
    background: var(--paper); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar button {
    flex: 1; background: none; border: 0; cursor: pointer; display: grid; justify-items: center; gap: 3px;
    padding: 6px 2px; color: var(--slate); font-size: .68rem; font-weight: 700;
  }
  .tabbar button svg { width: 21px; height: 21px; }
  .tabbar button.on { color: var(--teal); }
  .simulator { bottom: 74px; }
}
@media (max-width: 900px) {
  .slide { min-height: 268px; }
}
@media (max-width: 720px) {
  .slider-bar { justify-content: center; }
  .slide { min-height: 300px; }

  .split2, .split3, .tally-split { grid-template-columns: 1fr; }
  .deflist { grid-template-columns: 1fr; gap: 3px 0; }
  .deflist dt { margin-top: 8px; }
  .bars .b { grid-template-columns: 96px 1fr 62px; font-size: .78rem; }
  .washsteps { grid-template-columns: repeat(2, 1fr); }
  .modal { width: 96vw; max-height: 92vh; }
  table.data.stack thead { display: none; }
  table.data.stack tbody tr { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  table.data.stack tbody td { border: 0; padding: 2px 8px; display: grid; grid-template-columns: 104px 1fr; gap: 8px; }
  table.data.stack tbody td::before { content: attr(data-l); font-size: .74rem; font-weight: 700; color: var(--slate); }
  table.data.stack tbody td.num { text-align: left; }
}
@media (max-width: 520px) {
  .footgrid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  #toasts { left: 12px; right: 12px; max-width: none; }
  .simulator { left: 12px; right: 12px; width: auto; }
}

@media print {
  .masthead, .rail, .apptop, .tabbar, .simulator, #toasts, .noprint { display: none !important; }
  body { background: #fff; }
  .main { padding: 0; }
}

/* ===========================================================================
   Release 1.1 — language, profile, Deshratna Sahayak, tribute, social, mobile polish
   =========================================================================== */
.mnav a, .mnav .btn { white-space: nowrap; }
.masthead .mnav { flex: none; }
section[id], #footSocial { scroll-margin-top: 84px; }

/* ---- dark theme: surfaces that must stay dark (the core used --ink, which turns light in dark mode) */
[data-theme="dark"] .hero, [data-theme="dark"] .loginside, [data-theme="dark"] .sitefoot,
[data-theme="dark"] .simulator, [data-theme="dark"] .codeblock, [data-theme="dark"] .campaign-banner,
[data-theme="dark"] .skip { background: #0B1A30; }
[data-theme="dark"] #toasts .toast { background: #13284A; color: #fff; }
[data-theme="dark"] .btn:not(.btn-teal):not(.btn-gold):not(.btn-ghost):not(.btn-quiet):not(.btn-danger) { --bg: #2B4C80; --bd: #2B4C80; --fg: #fff; }
[data-theme="dark"] .rail a.on, [data-theme="dark"] .chip[aria-pressed="true"],
[data-theme="dark"] .pager button[aria-current="page"] { background: #2B4C80; border-color: #2B4C80; color: #fff; }

/* ---- Hindi typography: Devanagari fonts join each stack; no negative tracking on conjuncts */
html[data-lang="hi"] {
  --text: "GDET Text", "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Kohinoor Devanagari", "Hind", system-ui, sans-serif;
  --display: "GDET Display", "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Kohinoor Devanagari", system-ui, sans-serif;
  --serif: "GDET Serif", "Noto Serif Devanagari", "Noto Sans Devanagari", "Nirmala UI", "Mangal", Georgia, serif;
}
html[data-lang="hi"] body { line-height: 1.62; }
html[data-lang="hi"] h1, html[data-lang="hi"] h2, html[data-lang="hi"] h3, html[data-lang="hi"] h4 { letter-spacing: 0; line-height: 1.32; }
html[data-lang="hi"] .eyebrow, html[data-lang="hi"] .tiny { letter-spacing: 0; }
html[data-lang="hi"] .slide > h1, html[data-lang="hi"] .slide > .lede:not(.hi-body) { display: none; }
html[data-lang="hi"] .slide .hi-line { font-size: clamp(1.9rem, 5.2vw, 3.1rem); color: #fff; font-weight: 700; line-height: 1.34; margin: 6px 0 14px; }
html[data-lang="hi"] .slide .hi-body { font-size: clamp(1rem, 1.7vw, 1.15rem) !important; color: #C3D2E6 !important; line-height: 1.7; }
html[data-lang="hi"] .ribbon .wrap > span:not(.deva) { display: none; }

/* ---- language switch */
.langsw { display: inline-flex; align-items: center; flex: none; padding: 3px; gap: 2px; border-radius: 999px; background: var(--wash-2); border: 1px solid var(--line); }
.langsw button { border: 0; background: transparent; color: var(--ink-3); font: 700 .76rem/1 var(--text); padding: 7px 10px; min-width: 36px; border-radius: 999px; cursor: pointer; }
.langsw button[lang="hi"] { font-family: var(--deva); font-size: .82rem; }
.langsw button:hover { color: var(--ink); }
.langsw button[aria-pressed="true"] { background: #0E2145; color: #fff; }
[data-theme="dark"] .langsw button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.langsw button:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 1px; }
.langsw-bar { display: none; }
.langsw-login { background: transparent; }

/* ---- public masthead: collapse whenever the bar would overflow (set by script) */
.masthead.navcollapse .mnav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
  padding: 10px 4vw 14px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); }
.masthead.navcollapse .mnav.open { display: flex; }
.masthead.navcollapse .mnav a { padding: 11px 12px; }
.masthead.navcollapse .mtoggle { display: inline-grid; margin-left: 6px; }
.masthead.navcollapse .langsw-bar { display: inline-flex; margin-left: auto; }
.masthead.navcollapse .langsw-nav { display: none; }
@media (max-width: 900px) {
  .langsw-bar { display: inline-flex; margin-left: auto; }
  .langsw-nav { display: none; }
  .mtoggle { margin-left: 6px !important; }
}

/* ---- console top bar and profile button */
.apptop { gap: 10px; }
.topright { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.search-toggle { display: none; }
.profbtn { display: inline-flex; align-items: center; gap: 8px; flex: none; max-width: 270px; padding: 3px 10px 3px 3px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font-family: var(--text); }
.profbtn:hover, .profbtn[aria-expanded="true"] { border-color: var(--teal-2); }
.profbtn:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 2px; }
.avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; display: inline-grid; place-items: center;
  background: linear-gradient(135deg, #0C7C74, #16305F); color: #fff; font: 700 .78rem/1 var(--display); letter-spacing: .02em; }
.avatar.lg { width: 48px; height: 48px; font-size: 1rem; }
.profmeta { display: flex; flex-direction: column; min-width: 0; text-align: left; line-height: 1.2; }
.profmeta b { font-size: .84rem; max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profmeta small { font-size: .7rem; color: var(--slate); max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profmeta small .mono { font-size: .68rem; }
.profbtn .chev { width: 16px; height: 16px; flex: none; color: var(--slate); }
@media (max-width: 1180px) {
  .profmeta, .profbtn .chev { display: none; }
  .profbtn { padding: 2px; border-radius: 50%; }
}
@media (max-width: 720px) {
  .apptop { padding: 0 10px; gap: 6px; position: sticky; }
  .apptop .brand > div { display: none; }
  .search-toggle { display: inline-grid; }
  .apptop .globalsearch { display: none; }
  .apptop.searching .globalsearch { display: block; position: absolute; left: 8px; right: 8px; top: 9px; max-width: none; z-index: 6; }
  .apptop.searching .globalsearch input { box-shadow: var(--shadow-2); }
}
@media (max-width: 420px) { .langsw-top { display: none; } }

/* ---- profile panel: dropdown on desktop, bottom sheet on phones */
.prof-scrim { position: fixed; inset: 0; z-index: 88; background: transparent; }
.prof-panel { position: fixed; z-index: 89; top: calc(var(--top) + 6px); right: 12px; width: 340px; max-height: calc(100dvh - var(--top) - 20px); overflow: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-3); padding: 14px; animation: profIn .16s ease-out; }
@keyframes profIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.prof-grip { display: none; }
.prof-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.prof-head b { display: block; font-size: .98rem; line-height: 1.25; overflow-wrap: anywhere; }
.prof-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 12px 0; font-size: .82rem; }
.prof-facts dt { color: var(--slate); }
.prof-facts dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.prof-links { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prof-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 8px 10px; border: 0; border-radius: 10px;
  background: transparent; color: var(--ink-2); font: 600 .9rem/1.2 var(--text); cursor: pointer; text-align: left; }
.prof-item:hover, .prof-item:focus-visible { background: var(--wash); color: var(--ink); outline: none; }
.prof-item svg { width: 18px; height: 18px; flex: none; color: var(--teal); }
.prof-item .diya { color: var(--ink); }
.prof-prefs { display: grid; gap: 10px; padding: 12px 0; }
.pref { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.themepill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--wash); color: var(--ink); font: 700 .8rem/1 var(--text); cursor: pointer; }
.themepill svg { width: 16px; height: 16px; }
.prof-signout { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 2px; border-radius: 12px;
  border: 1.5px solid #F1C9C9; background: #FDF1F1; color: #B42318; font: 700 .9rem/1 var(--text); cursor: pointer; }
.prof-signout:hover { background: #FBE3E3; }
.prof-signout svg { width: 18px; height: 18px; }
[data-theme="dark"] .prof-signout { background: #3A1A1D; border-color: #6B2A2F; color: #FFB4B4; }
@media (max-width: 640px) {
  .prof-scrim { background: rgba(8, 18, 36, .5); }
  .prof-panel { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 88dvh; border-radius: 20px 20px 0 0; border-bottom: 0;
    padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px)); animation: sheetIn .2s ease-out; }
  .prof-grip { display: block; width: 44px; height: 5px; margin: 4px auto 10px; border-radius: 99px; background: var(--line); }
  .prof-item { min-height: 48px; }
}
@keyframes sheetIn { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }

/* ---- rail footer: language + sign out always at the bottom */
.rail { display: flex; flex-direction: column; }
.rail-foot { margin-top: auto; padding: 14px 4px 6px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.rail-lang { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px; font-size: .78rem; font-weight: 700; color: var(--slate); }
.rail a.rail-signout { color: #B42318; }
.rail a.rail-signout:hover { background: #FDF1F1; color: #B42318; }
[data-theme="dark"] .rail a.rail-signout { color: #FFB4B4; }
[data-theme="dark"] .rail a.rail-signout:hover { background: #3A1A1D; }

/* ---- tribute section */
.tribute { background: linear-gradient(180deg, var(--gold-wash), var(--paper) 46%); border-block: 1px solid var(--line); }
.trib-grid { display: grid; grid-template-columns: minmax(210px, 290px) 1fr; gap: clamp(22px, 4vw, 52px); align-items: center; margin-bottom: 36px; }
.trib-portrait { margin: 0; text-align: center; }
.trib-portrait img { display: block; width: 100%; height: auto; border-radius: 999px 999px 18px 18px; border: 3px solid var(--gold);
  box-shadow: 0 0 0 7px var(--gold-wash), var(--shadow-2); background: #fff; }
.trib-portrait figcaption { margin-top: 16px; }
.trib-portrait figcaption b { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.trib-portrait figcaption span { display: block; margin-top: 2px; font-size: .8rem; color: var(--slate); }
.trib-kicker { margin: 0 0 6px; color: var(--teal); font-weight: 700; font-size: .92rem; }
.trib-body h2 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.15; }
.trib-lead { max-width: 64ch; margin: 0 0 14px; font-family: var(--serif); font-size: 1.06rem; line-height: 1.72; color: var(--ink-2); }
.trib-quote { max-width: 60ch; margin: 0 0 20px; padding: 12px 16px; border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0;
  background: var(--paper); font-family: var(--serif); font-style: italic; color: var(--ink-3); }
html[data-lang="hi"] .trib-quote { font-style: normal; }
.trib-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.trib-moments h3, .trib-values h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 1.4rem; }
.moments { position: relative; list-style: none; margin: 22px 0 14px; padding: 0; }
.moments::before { content: ""; position: absolute; left: 104px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.moment { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 40px; padding: 0 0 24px; }
.moment::before { content: ""; position: absolute; left: 98px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--gold); }
.m-year { padding-top: 2px; text-align: right; font: 700 .95rem/1.3 var(--display); color: var(--gold-2, #A87310); }
.m-body h4 { margin: 0 0 4px; font-family: var(--serif); font-size: 1.14rem; }
.m-body p { margin: 0; max-width: 72ch; color: var(--ink-2); }
.m-body .m-src { margin-top: 7px; font-size: .74rem; color: var(--mute); }
.tribute:not(.all) .moment.extra { display: none; }
.trib-values { margin-top: 30px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px; }
.value { padding: 16px; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 12px; background: var(--paper); }
.value h4 { margin: 0 0 6px; font-family: var(--serif); font-size: 1.03rem; line-height: 1.35; }
.value p { margin: 0; font-size: .9rem; color: var(--slate); }
.trib-sources { margin-top: 24px; font-size: .88rem; color: var(--slate); }
.trib-sources summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 6px 0; }
.trib-sources ul { margin: 8px 0 10px; padding-left: 18px; }
@media (max-width: 820px) {
  .trib-grid { grid-template-columns: 1fr; }
  .trib-portrait { max-width: 230px; margin: 0 auto; }
  .values { grid-template-columns: 1fr; }
  .moments::before { left: 72px; }
  .moment { grid-template-columns: 56px 1fr; gap: 32px; }
  .moment::before { left: 66px; }
  .m-year { font-size: .8rem; }
  .trib-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---- footer social icons */
.footsocial { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 18px 0 4px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 22px; }
.footsocial[hidden] { display: none; }
.fs-label { font-weight: 700; font-size: .86rem; color: #C3D2E6; }
.fs-icons { display: flex; flex-wrap: wrap; gap: 10px; }
.sitefoot .footsocial a.soc, .fs-icons a.soc { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: background .15s, transform .15s; }
.fs-icons a.soc svg { width: 20px; height: 20px; }
.fs-icons a.soc:hover, .fs-icons a.soc:focus-visible { background: var(--teal); border-color: var(--teal); transform: translateY(-2px); outline: none; }
.footpreview { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 66px; padding: 12px 14px; border-radius: 12px; background: #0E2145; }
.footpreview .fs-label { color: #C3D2E6; }
.socfield label { display: flex; align-items: center; gap: 8px; }
.socico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--wash-2); color: var(--ink); }
.socico svg { width: 16px; height: 16px; }
.socrow { display: flex; gap: 8px; }
.socrow input { flex: 1; min-width: 0; }
.socrow .btn { flex: none; }
.socfield input[aria-invalid="true"] { border-color: #D14343; }
.socfield .err { min-height: 1.3em; margin-top: 4px; font-size: .78rem; color: #B42318; line-height: 1.3; }
.wrapflex { flex-wrap: wrap; gap: 8px; }

/* ---- Deshratna Sahayak */
.gy-fab { position: fixed; z-index: 72; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px;
  height: 54px; padding: 0 18px 0 8px; border: 0; border-radius: 999px; background: #0E2145; color: #fff; cursor: pointer;
  box-shadow: 0 10px 28px rgba(14, 33, 69, .32); font: 700 .92rem/1 var(--text); transition: transform .15s; }
.gy-fab:hover { transform: translateY(-2px); }
.gy-fab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.gy-fab .diya-wrap { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.gy-fab svg { width: 24px; height: 24px; color: #F3E4C0; }
.gy-fab[aria-expanded="true"] { display: none; }
.gy-fab { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
.gy-fab .gy-fab-label { display: none; }
.gy-fab .diya-wrap { background: #fff; width: 40px; height: 40px; overflow: hidden; }
.gy-fab .diya-wrap img { width: 34px; height: 34px; object-fit: contain; display: block; }
@media (max-width: 900px) { .gy-fab { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); } }
[data-theme="dark"] .gy-fab { background: #1E3A66; }
@media (max-width: 640px) {
  .gy-fab { width: 56px; padding: 0; justify-content: center; }
  .gy-fab .gy-fab-label { display: none; }
  .gy-fab .diya-wrap { background: none; }
  body.gy-on { overflow: hidden; }
}
.gy-panel { position: fixed; z-index: 86; right: 16px; bottom: 16px; width: min(412px, calc(100vw - 32px)); height: min(650px, calc(100dvh - 32px));
  display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-3); }
.gy-panel[hidden] { display: none; }
.gy-head { display: flex; align-items: center; gap: 8px; padding: 12px 10px 12px 14px; background: #0E2145; color: #fff; }
[data-theme="dark"] .gy-head { background: #0B1A30; }
.gy-head b { font: 700 1rem/1.2 var(--display); color: #fff; }
.gy-sub { font-size: .72rem; color: #9FB6D4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.gy-role { color: #F3D48B; font-weight: 700; }
.gy-head .grow { min-width: 0; }
.gy-head .iconbtn { color: #fff; }
.gy-head .iconbtn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.gy-clear { font-size: 1.15rem; line-height: 1; }
.gy-head .langsw { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.gy-head .langsw button { color: #C3D2E6; padding: 6px 8px; min-width: 30px; }
.gy-head .langsw button[aria-pressed="true"] { background: #fff; color: #0E2145; }
.gy-avatar { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.gy-avatar svg { width: 24px; height: 24px; color: #F3E4C0; }
.gy-msgs { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--wash); }
.gy-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; }
.gy-msg.me { justify-content: flex-end; }
.gy-msg .bub { max-width: 86%; padding: 10px 12px; border-radius: 14px; font-size: .9rem; line-height: 1.52; overflow-wrap: anywhere; }
.gy-msg.me .bub { background: #0E2145; color: #fff; border-bottom-right-radius: 4px; }
[data-theme="dark"] .gy-msg.me .bub { background: #2B4C80; }
.gy-msg.bot .bub { background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.gy-msg.bot.policy .bub { background: var(--gold-wash); border-color: #E9D29C; }
.gy-msg .bub p { margin: 0 0 6px; }
.gy-msg .bub p:last-child { margin-bottom: 0; }
.gy-li { position: relative; margin: 3px 0; padding-left: 14px; }
.gy-li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.gy-av { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #0E2145; }
.gy-av svg { width: 17px; height: 17px; color: #F3E4C0; }
.gy-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.gy-acts .btn { font-size: .78rem; padding: 7px 10px; }
.gy-src { margin-top: 7px; font-size: .66rem; color: var(--mute); }
.gy-rel { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 34px; }
.gy-rel > span { width: 100%; font-size: .7rem; font-weight: 700; color: var(--slate); }
.gy-chip { padding: 7px 11px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-3); cursor: pointer;
  font: 600 .78rem/1.3 var(--text); text-align: left; }
.gy-chip:hover, .gy-chip:focus-visible { border-color: var(--teal-2); color: var(--ink); outline: none; }
.typing .bub { display: flex; gap: 4px; align-items: center; min-height: 20px; }
.typing .bub i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: gyDot 1s infinite; }
.typing .bub i:nth-child(2) { animation-delay: .15s; }
.typing .bub i:nth-child(3) { animation-delay: .3s; }
@keyframes gyDot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.gy-input { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--paper); }
.gy-input textarea { flex: 1; min-height: 44px; max-height: 120px; resize: none; padding: 11px 12px; border-radius: 12px; font-size: .93rem; line-height: 1.4; }
.gy-send { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--teal); color: #fff; cursor: pointer; }
.gy-send svg { width: 20px; height: 20px; }
.gy-send[disabled] { opacity: .5; cursor: progress; }
.gy-foot { padding: 0 14px 10px; background: var(--paper); font-size: .68rem; color: var(--slate); }
@media (max-width: 640px) {
  .gy-panel { inset: 0; width: auto; height: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .gy-head { padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
  .gy-input { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .gy-input textarea { font-size: 16px; }
  .gy-sub { max-width: 150px; }
}
@media (prefers-reduced-motion: reduce) { .gy-fab, .fs-icons a.soc, .prof-panel { transition: none; animation: none; } .typing .bub i { animation: none; } }

/* ---- first-visit language card */
.langprompt { position: fixed; z-index: 80; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  width: min(460px, calc(100vw - 24px)); display: grid; gap: 12px; padding: 16px 16px 14px; border-radius: 16px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-3); animation: sheetIn .22s ease-out; }
.lp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lp-head b { display: block; font-size: 1rem; color: var(--ink); }
.lp-head span { display: block; font-family: var(--deva); font-size: .95rem; color: var(--ink-3); }
.lp-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-choices button { display: grid; gap: 3px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--wash); color: var(--ink); cursor: pointer; text-align: left; }
.lp-choices button b { font-size: 1.02rem; }
.lp-choices button[lang="hi"] b, .lp-choices button[lang="hi"] small { font-family: var(--deva); }
.lp-choices button small { font-size: .74rem; color: var(--slate); }
.lp-choices button:hover, .lp-choices button:focus-visible { border-color: var(--teal-2); outline: none; }
.lp-note { margin: 0; font-size: .72rem; color: var(--slate); }

/* ---- mobile app layout for consoles */
@media (max-width: 720px) {
  input, select, textarea { font-size: 16px; }
  .page-head.row-between { align-items: stretch; }
  .page-head.row-between > .row, .page-head.row-between > .btn { width: 100%; }
  .page-head.row-between > .row .btn { flex: 1 1 0; justify-content: center; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .filters .field { min-width: 0; margin: 0; }
  .filters .field.wide, .filters > .btn, .filters > .grow { grid-column: 1 / -1; }
  .filters > .btn { width: 100%; justify-content: center; }
  table.data.stack tbody { display: block; padding: 10px; background: var(--wash); }
  table.data.stack tbody tr { position: relative; display: block; margin: 0 0 10px; padding: 12px 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
  table.data.stack tbody tr:last-child { margin-bottom: 0; }
  table.data.stack tbody tr:hover { background: var(--paper); }
  table.data.stack tbody td { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px; padding: 4px 0; border: 0; text-align: left !important; }
  table.data.stack tbody td[data-l=""] { position: absolute; top: 8px; right: 8px; display: block; padding: 0; }
  table.data.stack tbody td[data-l=""]::before { content: none; display: none; }
  table.data.stack input[type="checkbox"] { width: 22px; height: 22px; }
  .tabbar button { min-height: 56px; }
  .iconbtn { min-width: 40px; min-height: 40px; }
  .pager button { min-width: 40px; min-height: 40px; }
}

/* ---- the WhatsApp message preview must never cover a button */
@media (min-width: 901px) { body.gd-login .simulator { left: 16px; right: auto; } }
@media (max-width: 900px) {
  .simulator .sh { cursor: pointer; }
  .simulator:not(.expanded) .sb { display: none; }            /* phones: a slim bar until tapped */
  .simulator .sh::after { content: "▴"; margin-left: 6px; opacity: .7; }
  .simulator.expanded .sh::after { content: "▾"; }
  body.gd-sim-on .loginmain { padding-bottom: 96px; }
}
@media (min-width: 901px) { body.gd-sim-on #main { padding-bottom: 330px; } }
@media (max-width: 900px) { body.gd-sim-on #main { padding-bottom: 72px; } }

/* ---- pre-existing layout fixes found in testing */
.simulator .sh > svg { width: 18px; height: 18px; flex: none; }
.rolepick button { font-family: var(--text); }
.rolepick .rn, .rolepick .rd { display: block; }
.rolepick .rn { margin-bottom: 2px; }

/* toasts at the top, clear of the assistant, the preview and the tab bar */
#toasts { top: 74px; bottom: auto !important; }
@media (max-width: 640px) { #toasts { top: 64px; left: 12px; right: 12px; } }

/* ---- IT partner band (website) */
.partner { padding-block: clamp(26px, 4vw, 44px); background: var(--wash); border-top: 1px solid var(--line); }
.partner-row { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; }
.partner-copy { flex: 1 1 320px; max-width: 62ch; }
.partner-copy .eyebrow { margin: 0 0 4px; }
.partner-copy h2 { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.partner-copy p { margin: 0; color: var(--slate); font-size: .94rem; }
.partner-card { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 26px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.partner-card:hover, .partner-card:focus-visible { border-color: #2A4A9C; transform: translateY(-2px); box-shadow: var(--shadow-2); outline: none; }
.partner-card:focus-visible { outline: 2px solid #2A4A9C; outline-offset: 3px; }
.partner-card img { display: block; width: auto; height: 74px; }
.partner-link { font-size: .8rem; font-weight: 700; color: #2A4A9C; letter-spacing: .01em; }
@media (max-width: 640px) {
  .partner-row { justify-content: center; text-align: center; }
  .partner-copy { flex-basis: 100%; }
  .partner-card { width: 100%; }
}

.ws-col { display: grid; gap: 16px; align-content: start; }

/* =====================================================================
   Device sizes. Four bands: phone, large phone, tablet, desktop.
   Nothing may overflow sideways and no control may fall below 44px tall.
   ===================================================================== */

/* never let anything push the page sideways */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video, canvas, table { max-width: 100%; }
.tablewrap { max-width: 100%; }
pre { overflow-x: auto; }

/* touch targets */
@media (pointer: coarse) {
  .btn, .iconbtn, .pay-method, .donate-amounts button, .rolepick button { min-height: 44px; }
  input, select, textarea { min-height: 44px; font-size: 16px; }  /* 16px stops iOS zooming in */
}

/* ---- tablets, portrait and landscape ---- */
@media (min-width: 641px) and (max-width: 1024px) {
  .split2 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .split3 { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .oct-grid { grid-template-columns: minmax(0,260px) 1fr; gap: 20px; }
  .banner-people .bp-row { gap: 12px; }
  .bp-card { flex: 1 1 calc(50% - 6px); }
  .modal { width: min(680px, 94vw); }
  .wrap { padding-left: 20px; padding-right: 20px; }
}

/* ---- large phones ---- */
@media (max-width: 640px) {
  .split2, .split3, .kpis { grid-template-columns: 1fr; }
  .section { padding: 32px 0; }
  .section-head h2 { font-size: 1.32rem; }
  .oct-grid { grid-template-columns: 1fr; }
  .oct-mark img { max-width: 230px; }
  .filters { grid-template-columns: 1fr; }
  .data th, .data td { padding: 8px 6px; font-size: .82rem; }
  .modal { width: 96vw; max-height: 92vh; }
  .modal-foot { flex-wrap: wrap; gap: 8px; }
  .modal-foot .btn { flex: 1 1 auto; }
  .mcard { padding: 16px; }
  .verify-brand { padding: 10px 12px; }
  .verify-brand img { height: 34px; }
}

/* ---- small phones ---- */
@media (max-width: 400px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .section-head h2 { font-size: 1.18rem; }
  .kpi .v { font-size: 1.3rem; }
  .btn { padding: 10px 12px; font-size: .88rem; }
  .bp-card img { width: 44px; height: 44px; }
  .bp-card figcaption b { font-size: .88rem; }
  .data th, .data td { font-size: .78rem; }
  .mcard .mc-name { font-size: 1.08rem; }
  #demoBar { font-size: .7rem; }
}

/* ---- landscape phone: the console rail would eat the screen ---- */
@media (max-height: 460px) and (orientation: landscape) {
  .gy-panel { height: calc(100dvh - 16px); }
  .modal { max-height: 96vh; }
}

/* ---- printing a certificate or a membership card ---- */
@media print {
  .sitehead, .sitefoot, .gy-fab, #demoBar, .tabbar, .rail, .banner-people,
  .btn, .modal-foot { display: none !important; }
  .mcard { break-inside: avoid; }
  body { background: #fff; }
}

/* ---- verification sponsor strip, shown to School Admins ---- */
.verify-brand { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 12px 18px;
  background: linear-gradient(90deg, var(--wash), #fff); border: 1px solid var(--line);
  border-left: 4px solid var(--gold); border-radius: 12px; text-decoration: none; }
.verify-brand img { height: 42px; width: auto; max-width: 150px; object-fit: contain; flex: 0 0 auto; }
.verify-brand .vb-t { display: grid; gap: 2px; min-width: 0; }
.verify-brand .vb-line { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.verify-brand .vb-name { font-size: 1.02rem; font-weight: 700; color: var(--ink); }

/* ---- sync badge in the Super Admin header ---- */
.sync-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem;
  padding: 4px 10px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.sync-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sb-ok { background: #E8F6F0; color: #0A6B4F; }
.sb-warn { background: #FFF6E2; color: #8A6300; }
.sb-bad { background: #FDECEA; color: #B3261E; }
@media (max-width: 640px) { .sync-badge { font-size: .66rem; padding: 3px 8px; } }

/* ---- social links in the footer ---- */
.social-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.social-row .sr-head { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: #8FA6C4; margin-right: 6px; }
.social-row .sr-link { display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); transition: .15s; }
.social-row .sr-link:hover, .social-row .sr-link:focus-visible {
  background: var(--gold,#C98A16); color: #16213C; border-color: var(--gold,#C98A16); outline: none; }
.social-row .sr-link svg { width: 20px; height: 20px; }
@media (max-width: 520px) { .social-row { justify-content: center; } .social-row .sr-head { width: 100%; text-align: center; } }

/* ---- membership card ---- */
.mcard { background: linear-gradient(135deg, var(--ink), #1E3A66); color: #fff;
  border-radius: 16px; padding: 18px 20px; display: grid; gap: 10px; max-width: 380px; }
.mcard .mc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-size: .74rem; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; }
.mcard .mc-top b { color: #fff; font-size: .86rem; text-transform: none; letter-spacing: 0; }
.mcard .mc-name { font-size: 1.24rem; font-weight: 700; }
.mcard .mc-no { font-size: .96rem; color: #C9D8EC; letter-spacing: .08em; }
.mcard .mc-foot { display: flex; justify-content: space-between; gap: 10px; font-size: .72rem;
  color: #9FB6D4; border-top: 1px solid rgba(255,255,255,.18); padding-top: 10px; }
@media (max-width: 520px) { .mcard { max-width: 100%; } .verify-brand { flex-wrap: wrap; gap: 10px; } }

/* ---- named people under the main banner ---- */
.banner-people { background: var(--ink); padding: 18px 0; }
.banner-people .bp-row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.bp-card { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 20px 10px 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; max-width: 100%; }
.bp-card img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold); flex: 0 0 auto; }
.bp-card figcaption { display: grid; gap: 1px; min-width: 0; }
.bp-card figcaption b { color: #fff; font-size: .98rem; line-height: 1.2; }
.bp-card .bp-role { color: var(--gold); font-size: .78rem; font-weight: 700; }
.bp-card .bp-org { color: #B9C9DF; font-size: .72rem; }
@media (max-width: 760px) {
  .banner-people .bp-row { gap: 12px; }
  .bp-card { flex: 1 1 100%; border-radius: 14px; padding: 10px 14px 10px 10px; }
  .bp-card img { width: 50px; height: 50px; }
}

/* ---- 15 October observances ---- */
.oct-grid { display: grid; grid-template-columns: minmax(0,320px) 1fr; gap: 28px; align-items: start; }
.oct-mark { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; text-align: center; }
.oct-mark img { width: 100%; max-width: 300px; height: auto; border-radius: 50%; }
.oct-mark figcaption { margin-top: 12px; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.oct-mark figcaption b { color: var(--ink); font-size: .92rem; }
.oct-mark .oct-obs { display: inline-block; margin-top: 6px; font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal); font-weight: 700; }
.oct-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 14px; }
.oct-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.oct-card h3 { margin: 0 0 4px; font-size: 1.02rem; }
.oct-card .deva { color: var(--muted); font-size: .86rem; margin: 0 0 8px; }
.oct-card p { margin: 0; font-size: .88rem; line-height: 1.55; }
.oct-card .tagline { display: inline-block; margin-top: 10px; font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal); font-weight: 700; }
@media (max-width: 760px) { .oct-grid { grid-template-columns: 1fr; } }

/* ---- donate ---- */
.btn-donate { background: var(--gold,#C98A16); border-color: var(--gold,#C98A16); color: #16213C; font-weight: 700; }
.btn-donate:hover { filter: brightness(1.06); }
.donate-amounts { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.donate-amounts button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px;
  padding: 10px 16px; font-weight: 700; cursor: pointer; font-size: .95rem; }
.donate-amounts button[aria-pressed="true"] { border-color: var(--gold,#C98A16); background: #FFF8EC; }
.pay-methods { display: grid; gap: 10px; margin-top: 6px; }
.pay-method { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.pay-method[aria-pressed="true"] { border-color: var(--teal); background: #F2FBFA; }
.pay-method .pm-n { font-weight: 700; font-size: .92rem; }
.pay-method .pm-s { font-size: .76rem; color: var(--muted); }
.upi-qr { text-align: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.mode-chip { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  padding: 2px 8px; border-radius: 999px; }
.mode-test { background: #FFF3D6; color: #8A6300; }
.mode-live { background: #E3F7EF; color: #0A6B4F; }

/* ---- demonstration-mode banner: impossible to miss, easy to remove ---- */
#demoBar { display: flex; align-items: center; gap: 12px;
  background: #8A2020; color: #fff; padding: 9px 16px; font-size: .82rem; line-height: 1.45; }
#demoBar .db-txt { flex: 1; text-align: center; }
#demoBar .mono { background: rgba(255,255,255,.18); padding: 1px 6px; border-radius: 4px; }
#demoBar .tiny { opacity: .85; display: inline-block; margin-left: 8px; }
#demoBar #demoBarX { flex: 0 0 auto; background: rgba(255,255,255,.16); border: 0; color: #fff;
  width: 26px; height: 26px; border-radius: 50%; font-size: 17px; line-height: 1; cursor: pointer; }
#demoBar #demoBarX:hover { background: rgba(255,255,255,.3); }
@media (max-width: 640px) { #demoBar { font-size: .74rem; padding: 8px 10px; }
  #demoBar .tiny { display: none; } }

/* ---- small screens: components added for registration, donations and tributes ---- */
.field input, .field select, .field textarea { max-width: 100%; box-sizing: border-box; }
.certframe svg { width: 100%; height: auto; display: block; }

@media (max-width: 760px) {
  .donate-amounts { gap: 8px; }
  .donate-amounts button { flex: 1 1 calc(50% - 4px); padding: 12px 8px; }
  .pay-method { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .pay-method .pm-s { font-size: .72rem; }
  .cobrand .cb-card { flex: 1 1 100%; }
  .oct-mark img { max-width: 210px; }
  .patron-card img { width: 46px; height: 46px; }
  .rolepick button { align-items: flex-start; }
}

@media (max-width: 520px) {
  .donate-amounts button { flex: 1 1 100%; }
  .mode-chip { font-size: .6rem; }
  .upi-qr { padding: 10px; }
  .upi-qr img, .upi-qr svg { max-width: 100%; height: auto; }
  .oct-card { padding: 14px; }
  .cobrand .cb-card { padding: 10px 14px; }
}

/* the header keeps Register, Donate and Sign in on one row until it cannot */
.mnav { flex-wrap: wrap; row-gap: 8px; }

/* ---- footer co-branding ---- */
.cobrand { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.cobrand .cb-label { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: #8FA6C4; margin-bottom: 12px; }
.cobrand .cb-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cobrand .cb-card { display: grid; gap: 2px; padding: 12px 20px; border-radius: 12px; text-decoration: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); transition: border-color .15s, transform .15s; }
.cobrand .cb-card:hover, .cobrand .cb-card:focus-visible { border-color: var(--gold,#C98A16); transform: translateY(-2px); outline: none; }
.cobrand .cb-role { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: #F4D08A; }
.cobrand .cb-name { font-size: .95rem; font-weight: 700; color: #fff; }
.cobrand .cb-link { font-size: .76rem; color: #B9C9DF; }

/* ---- Chief Patron card inside a hero slide ---- */
.patron-card { display: flex; align-items: center; gap: 14px; margin: 0 0 14px;
  padding: 10px 16px 10px 10px; border-radius: 999px; width: max-content; max-width: 100%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(3px); }
.patron-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold, #C98A16); flex: 0 0 auto; }
.patron-card .pc-t { display: grid; gap: 2px; min-width: 0; }
.patron-card .pc-n { font-weight: 700; font-size: .98rem; color: #fff; line-height: 1.2; }
.patron-card .pc-r { font-size: .76rem; color: #D9E4F4; letter-spacing: .02em; }
.patron-card .pc-p { font-size: .68rem; color: #F4D08A; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 560px) { .patron-card { width: 100%; border-radius: 16px; } }


/* ======================================================================
   v14 — every screen size: phones (320 px and up), tablets, iPads,
   laptops and large monitors; light and dark; English and Hindi.
   ====================================================================== */

/* dark bands keep the brand colour in both themes (text colour follows the theme) */
.hero, .sitefoot, .campaign-banner, .loginside, .banner-people, .toast, .simulator, .codeblock, .skip {
  background-color: var(--brand-ink, #0E2145);
}

/* ---- header: grows with its content instead of spilling over its neighbours */
.masthead .bar { height: auto; min-height: 66px; padding-top: 6px; padding-bottom: 6px; }
.masthead .brand { min-width: 0; flex: 0 1 auto; }
.masthead .brand > div { min-width: 0; }
.masthead .brand .name {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  overflow: hidden; overflow-wrap: anywhere;
}
.masthead .langsw-bar, .masthead .mtoggle, .masthead .langsw-nav { flex: none; }
.masthead .brand .name.name-3 { -webkit-line-clamp: 3; line-clamp: 3; line-height: 1.12; }
.masthead .brand .name.name-4 { -webkit-line-clamp: 4; line-clamp: 4; line-height: 1.1; }
.masthead .brand .name.name-5 { -webkit-line-clamp: 5; line-clamp: 5; line-height: 1.08; overflow-wrap: normal; word-break: normal; }
/* the full name always has room: the brand keeps a minimum width, and on laptops the menu is a little more compact */
@media (min-width: 901px) {
  .masthead .brand { flex: 0 1 auto; min-width: 158px; }
}
@media (min-width: 901px) and (max-width: 1599px) {
  .masthead .mnav a:not(.btn) { padding-left: 6px; padding-right: 6px; font-size: .83rem; }
  .masthead .mnav .btn, .masthead .bar > .btn { padding: 6px 10px; font-size: .8rem; }
  .masthead .bar { gap: 10px; }
}
@media (min-width: 1600px) {
  .masthead .mnav a:not(.btn) { padding-left: 7px; padding-right: 7px; font-size: .88rem; }
  .masthead .mnav .btn { padding: 6px 11px; font-size: .84rem; }
}
@media (min-width: 1025px) and (max-width: 1099px) {
  .masthead.nav-wrapped .mnav a:not(.btn) { padding-left: 3px; padding-right: 3px; font-size: .74rem; }
  .masthead.nav-wrapped .mnav .btn { padding: 4px 6px; font-size: .72rem; }
}
/* from 1025 px: where one row is not enough, the menu gets its own line instead of hiding */
.masthead.nav-wrapped .bar { flex-wrap: wrap; row-gap: 2px; }
.masthead.nav-wrapped .brand { flex: 1 1 100%; max-width: none; }
.masthead.nav-wrapped .mnav { flex: 1 1 100%; justify-content: center; margin-left: 0; padding-bottom: 6px; }
@media (min-width: 1025px) and (max-width: 1599px) {
  .masthead .mnav { gap: 0; }
  .masthead .mnav a:not(.btn) { padding-left: 4px; padding-right: 4px; font-size: .78rem; }
  .masthead .mnav .btn { padding: 5px 7px; font-size: .74rem; }
  .masthead .mnav .btn svg { width: 14px; height: 14px; }
  .masthead .bar { gap: 8px; }
}
.masthead .mnav, .masthead.navcollapse .mnav { top: 100%; }
@media (max-width: 900px) { .mnav { top: 100%; max-height: calc(100vh - 140px); overflow-y: auto; } }
@media (max-width: 640px) {
  .masthead .bar { gap: 8px; min-height: 56px; }
  .masthead .brand { gap: 8px; }
  .masthead .brand .brandmark { width: 34px !important; height: 34px !important; }
  .masthead .brand .name { font-size: .8rem; line-height: 1.15; }
  .masthead .brand .sub { font-size: .6rem; letter-spacing: .02em; }
  #demoBar { font-size: .68rem; line-height: 1.35; padding: 6px 8px; gap: 8px; }
}
@media (max-width: 400px) {
  .masthead .brand .sub { font-size: .56rem; }
  .masthead .brand .name { font-size: .74rem; }
  .masthead .langsw-bar button, .masthead .langsw-bar a { padding: 4px 8px; font-size: .72rem; min-width: 0; }
  .masthead .bar { gap: 6px; }
}

/* ---- the date strip: one language at a time on small screens */
@media (max-width: 760px) {
  .ribbon .wrap { gap: 2px 14px; padding: 6px 12px; font-size: .78rem; line-height: 1.4; }
}

/* ---- campaign banner: never stretched beyond the picture's real size */
.campaign-banner { display: flex; justify-content: center; }
.campaign-banner img { display: block; width: 100%; height: auto; max-width: var(--banner-max, 1600px); }

/* ---- hero slider: as tall as the slide being shown */
.slides { align-items: flex-start; transition: transform .6s cubic-bezier(.25, .9, .25, 1), height .35s ease; }
@media (max-width: 1080px) {
  .hero-figure { max-width: 460px; width: 100%; margin: 12px auto 0; }
  .hero-figure img { max-height: 380px; }
}
@media (max-width: 520px) {
  .hero-figure img { max-height: 300px; }
  .hero h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); overflow-wrap: anywhere; }
  .hero-cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ---- six stages in even rows */
#how .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { #how .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { #how .steps { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .washsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- readable timeline years and source notes */
.tribute .moments .m-year, .moments .m-year { color: #9A6400; }
.tribute .moments .m-src, .moments .m-src, .tribute .m-src { color: #56697F; }
[data-theme="dark"] .tribute .moments .m-year, [data-theme="dark"] .moments .m-year { color: var(--gold-2, #F2C14E); }
[data-theme="dark"] .tribute .moments .m-src, [data-theme="dark"] .moments .m-src, [data-theme="dark"] .tribute .m-src { color: #A9B8CA; }
[data-theme="dark"] .tribute .trib-kicker, [data-theme="dark"] .trib-kicker { color: #6FD8CB; }

/* ---- donate box: three amounts per row on phones */
@media (max-width: 640px) {
  .donate-amounts { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .donate-amounts button { width: 100%; min-width: 0; }
}

/* ---- the round help button stays clear of forms, tab bars and the message preview */
body.on-login .gy-fab, body.sim-on .gy-fab { display: none; }
/* stacked tables on phones: long numbers wrap, and never run under the corner button */
table.data.stack tbody td { min-width: 0; }
table.data.stack tbody td > *, table.data.stack tbody td .mono { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
table.data.stack tbody td .mono { word-break: break-all; }
table.data.stack tbody tr:has(td[data-l=""]) td:first-child { padding-right: 64px; }
table.data.stack tbody tr.has-corner td:first-child { padding-right: 64px; }
/* the language question belongs to the public site, never on top of sign-in or a console */
body.on-login #langPrompt, body.in-app #langPrompt { display: none !important; }
@media (max-width: 900px) {
  body.in-app .gy-fab { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  body.sim-on #app .main, body.gd-sim-on #app .main { padding-bottom: calc(160px + env(safe-area-inset-bottom, 0px)) !important; }
  .sitefoot { padding-bottom: 80px; }
}

/* ---- phones: no zoom-in on typing (iPhone), comfortable taps, nothing wider than the screen */
@media (max-width: 760px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size: 16px; }
  .tablewrap, .tbl-wrap, .tablescroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .modal { max-width: calc(100vw - 16px); }
}
img, svg, video, canvas { max-width: 100%; }
.certframe svg { height: auto; }
.otp-grid input { font-size: 1.25rem; }
@media (max-width: 360px) { .otp-grid { gap: 5px; } .otp-grid input { width: 38px; height: 46px; } }

/* ---- very large screens: one wider frame for header, content and footer, so their edges line up */
@media (min-width: 1600px) { #site .wrap { width: min(1400px, calc(100% - 64px)); max-width: 1400px; } }

/* ---- the live site hides demonstration-only helpers */
html.is-live #vsample { display: none; }
html.live-real #demoBar { display: none; }

/* ---- feedback (all roles) */
.fb-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.fb-files a, .fb-files .fb-thumb { position: relative; display: block; width: 84px; height: 84px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: var(--wash); }
.fb-files img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-thumb button { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; font-size: 14px; line-height: 24px; padding: 0; }
.fb-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--paper); margin-bottom: 12px; }
.fb-card .fb-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; }
.fb-msg { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 0; }
.fb-reply { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--teal); background: var(--teal-wash, #E6F4F1); border-radius: 0 10px 10px 0; }
.fb-reply .fb-by { font-size: .78rem; color: var(--slate); }
.fb-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px;
  background: var(--rose, #C0392B); color: #fff; font-size: .7rem; font-weight: 700; margin-left: 6px; }
.fb-list .fb-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; cursor: pointer; }
.fb-list .fb-row:hover { border-color: var(--teal); }
.fb-drop { border: 2px dashed var(--line); border-radius: 12px; padding: 14px; text-align: center; cursor: pointer; }
.fb-drop svg { width: 22px; height: 22px; vertical-align: -5px; margin-right: 4px; color: var(--teal); }
.fb-drop.hot { border-color: var(--teal); background: var(--teal-wash, #E6F4F1); }
@media (max-width: 520px) { .fb-files a, .fb-files .fb-thumb { width: 72px; height: 72px; } .fb-card { padding: 12px; } }

/* ======================================================================
   v14 — separate pages and a symmetric layout
   ====================================================================== */
.pg-off { display: none !important; }
.pagehead { background: var(--wash); border-bottom: 1px solid var(--line); }
.pagehead .wrap { padding: 10px 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; justify-content: center; font-size: .84rem; color: var(--slate); }
.crumbs a { color: var(--teal); font-weight: 700; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 700; }
#mnav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); }

/* every section heading is centred, the same width, the same spacing */
#site .section .section-head { margin-left: auto; margin-right: auto; text-align: center; max-width: 68ch; }
#site #faq h2, #site #schools .split2 > div:first-child > h2 { text-align: center; }
#site #reach .row-between { flex-direction: column; align-items: center !important; gap: 14px; text-align: center; }
#site #reach .row-between > div:last-child { width: min(380px, 100%); text-align: left; }
#site .section { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
#site .section h2:focus { outline: none; }

/* two-column blocks: equal columns of equal height */
#site #verify .statgrid, #site #schools .split2 { align-items: stretch; }
#site #verify .statgrid > *, #site #schools .split2 > * { min-width: 0; }
#site .split3 > .card, #site .values > * { height: 100%; }
#site .split3 { align-items: stretch; }

/* the tribute timeline sits in the middle instead of hugging the left half */
#site .trib-moments { max-width: 860px; margin-left: auto; margin-right: auto; }
#site .trib-moments > h3, #site .trib-moments > p { text-align: center; margin-left: auto; margin-right: auto; }
#site .trib-moments > .btn, #site .trib-moments > button { display: flex; margin: 8px auto 0; }
#site .tribute .values-head, #site .tribute h3 { text-align: center; }
#site .tribute details { max-width: 860px; margin-left: auto; margin-right: auto; }

/* a regular rhythm of backgrounds down every page */
#site .section.band-a { background: var(--paper); }
#site .section.band-b { background: var(--wash); }

/* home: six equal doors to the rest of the site */
.explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.explore-card { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 18px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--paper); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.explore-card:hover, .explore-card:focus-visible { border-color: var(--teal); transform: translateY(-2px); }
.explore-card svg { width: 26px; height: 26px; flex: none; color: var(--teal); margin-top: 2px; }
.explore-card b { display: block; color: var(--ink); margin-bottom: 3px; }
.explore-card span { color: var(--slate); font-size: .92rem; line-height: 1.5; }

/* pages written in Super Admin, blog, news and gallery */
.cms-body { max-width: 72ch; margin: 0 auto; font-size: 1.02rem; line-height: 1.75; }
.cms-body p { margin: 0 0 1em; }
.cms-back { text-align: center; margin-top: 24px; }
.cms-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cms-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--paper); color: inherit; text-decoration: none; }
a.cms-card:hover { border-color: var(--teal); }
.cms-card b { color: var(--ink); font-size: 1.02rem; }
.cms-card > span:not(.tiny):not(.cms-more) { color: var(--slate); font-size: .92rem; }
.cms-more { margin-top: auto; color: var(--teal); font-weight: 700; font-size: .88rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery-grid figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery-grid figcaption { padding: 8px 10px; font-size: .85rem; color: var(--slate); }

@media (max-width: 900px) {
  .explore-grid, .cms-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .explore-grid, .cms-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #site .section .section-head { text-align: center; }
}

/* ======================================================================
   v14 — the Foundation's roundel, 15 October tributes, finder
   ====================================================================== */
/* the roundel is round: no white box behind it, on any background */
.brandmark, .brandmark.on-dark, [data-theme="dark"] .brandmark { background: transparent !important; padding: 0 !important; border-radius: 50% !important; }
.brandmark img, img.roundel { border-radius: 50%; }
.masthead .brand .brandmark { width: 48px !important; height: 48px !important; }
@media (max-width: 640px) { .masthead .brand .brandmark { width: 38px !important; height: 38px !important; } }
.sitefoot .brandmark { width: 56px !important; height: 56px !important; }

/* 15 October: four observances in an even grid */
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--gold, #B8862B); margin: 0 0 6px; }
.tribute-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tribute-card { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 22px; background: var(--paper);
  border: 1px solid var(--line); border-top: 4px solid var(--gold, #B8862B); border-radius: 16px; box-shadow: var(--shadow-1); }
.tc-top { display: flex; gap: 14px; align-items: flex-start; }
.tc-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-wash, #FBF1DC); color: var(--gold, #B8862B); }
.tc-icon svg { width: 24px; height: 24px; }
.tc-when { margin: 0; font-size: .78rem; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }
.tribute-card h3 { margin: 2px 0 0; font-size: 1.18rem; color: var(--ink); }
.tc-hi { margin: 2px 0 0; font-family: var(--deva); color: #8A5A08; font-weight: 600; }
[data-theme="dark"] .tc-hi { color: #F2C14E; }
[data-theme="dark"] .tc-ours b { color: #6FD8CB; }
[data-theme="dark"] .tc-when, [data-theme="dark"] .eyebrow { color: #E7C97A; }
/* the strapline under the name stays inside the brand, whatever the width */
.masthead .brand .sub { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-about { margin: 0; color: var(--slate); line-height: 1.65; }
.tc-ours { margin-top: auto; padding: 12px 14px; border-radius: 12px; background: var(--teal-wash, #E6F4F1); display: grid; gap: 4px; }
.tc-ours b { font-size: .82rem; color: var(--teal); }
.tc-ours span { font-size: .92rem; color: var(--ink-2, var(--ink)); }
.tribute-close { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-top: 30px; }
.tribute-close img { width: 112px; height: 112px; }
.teaser-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.teaser-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; height: 100%; padding: 18px 14px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.teaser-card:hover, .teaser-card:focus-visible { border-color: var(--gold, #B8862B); transform: translateY(-2px); }
.teaser-card svg { width: 28px; height: 28px; color: var(--gold, #B8862B); }
.teaser-card b { color: var(--ink); }
.teaser-card span { font-size: .84rem; color: var(--slate); }

/* the finder */
.finder-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 14px; }
.finder-grid .fd-wide { grid-column: span 2; }
.finder-grid .field { min-width: 0; }
.btn-danger, .btn.btn-danger { background: #B3261E; border-color: #B3261E; color: #fff; }
.btn-danger:hover { background: #8E1E18; }

@media (max-width: 980px) {
  .teaser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) { .tribute-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .teaser-grid, .finder-grid { grid-template-columns: 1fr; }
  .finder-grid .fd-wide { grid-column: auto; }
  .tribute-card { padding: 18px; }
}

/* the counted overview */
.ov-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.ov-row { align-items: stretch; margin-bottom: 16px; }
.ov-row > .panel { height: 100%; margin: 0; }
.ov-waits { display: grid; gap: 8px; }
.ov-wait { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.ov-wait:hover { border-color: var(--teal); }
.ov-wait b { min-width: 36px; text-align: center; padding: 2px 8px; border-radius: 99px; background: var(--rose, #C0392B); color: #fff; }
.ov-wait b.zero { background: var(--line); color: var(--slate); }
@media (max-width: 1100px) { .ov-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ov-kpis { grid-template-columns: 1fr; } }

/* membership & sponsorship page, and the counted panel under the original overview */
.ms-grid { align-items: stretch; }
.ms-col { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.ms-col h3 { margin: 0; text-align: center; }
.ms-col > .btn { align-self: center; margin-top: auto; }
.ms-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ms-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 10px; border: 1px solid var(--line); border-radius: 12px; }
.ms-amt { font-size: 1.2rem; font-weight: 800; color: var(--gold-ink, #8A5A08); }
[data-theme="dark"] .ms-amt { color: #F2C14E; }
.ov-counted { margin-top: 22px; }
.ov-title { text-align: center; margin: 0 0 12px; }
@media (max-width: 640px) { .ms-cards { grid-template-columns: 1fr; } }

/* campaign guests, policies footer, Siwan note */
#guests .guest-chief { display: flex; justify-content: center; margin-bottom: 18px; }
.guest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guest-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; height: 100%; padding: 22px 18px;
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold, #B8862B); border-radius: 16px; box-shadow: var(--shadow-1); }
.guest-card.chief { max-width: 460px; width: 100%; border-top-width: 6px; }
.guest-card h3 { margin: 4px 0 0; font-size: 1.12rem; color: var(--ink); }
.guest-card.chief h3 { font-size: 1.3rem; }
.gc-photo { border-radius: 50%; object-fit: cover; border: 3px solid var(--gold, #B8862B); background: var(--wash); }
.gc-mono { display: inline-grid; place-items: center; background: var(--brand-ink, #0E2145); color: #F2C14E; font-weight: 800; font-size: 2rem; letter-spacing: .04em; }
.gc-role { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8A5A08; }
[data-theme="dark"] .gc-role { color: #F2C14E; }
.gc-desig { margin: 0; color: var(--slate); font-size: .92rem; line-height: 1.5; }
.gc-ok { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--teal); }
.gc-ok svg { width: 14px; height: 14px; }
.foot-policies { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; padding: 16px 0 6px; margin-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: .86rem; }
.foot-policies a { color: #DCE6F2; text-decoration: none; }
.foot-policies a:hover { text-decoration: underline; color: #fff; }
.foot-policies span { color: #7F95B3; }
.cms-body h2, .cms-body h3, .cms-body h4 { color: var(--ink); margin: 1.4em 0 .5em; line-height: 1.3; }
.cms-body h2 { font-size: 1.3rem; } .cms-body h3 { font-size: 1.12rem; } .cms-body h4 { font-size: 1rem; }
.cms-body ul { margin: 0 0 1em 1.2em; padding: 0; } .cms-body li { margin: .25em 0; }
.siwan-note { background: var(--teal-wash, #E6F4F1); border-radius: 10px; padding: 8px 12px; }
.gm-grid { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; }
.gm-face { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gm-row { margin-bottom: 12px; }
@media (max-width: 900px) { .guest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guest-grid, .gm-grid { grid-template-columns: 1fr; } }

/* the main banner always fills the screen width, on every device */
#site .campaign-banner { max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding: 0 !important; }
#site .campaign-banner img, #site img#campaignBanner { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 0 auto; }
/* Siwan block table and the release screen */
.blk-meter { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; min-width: 60px; }
.blk-meter i { display: block; height: 100%; background: var(--teal); border-radius: 99px; }
.rel-lock { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; margin-bottom: 14px; border: 1px solid var(--line); }
.rel-lock svg { width: 28px; height: 28px; flex: none; }
.rel-lock b { display: block; } .rel-lock span { font-size: .9rem; color: var(--slate); }
.rel-lock.locked { background: #FFF6E5; border-color: #E8C77A; } .rel-lock.open { background: var(--teal-wash, #E6F4F1); border-color: var(--teal); }
[data-theme="dark"] .rel-lock.locked { background: #3A2F16; }

/* command centres */
.cc-stage { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: .78rem; font-weight: 700; background: var(--wash); border: 1px solid var(--line); }
.cc-stage.st-active, .cc-stage.st-branding_approved, .cc-stage.st-approved { background: var(--teal-wash, #E6F4F1); border-color: var(--teal); color: var(--teal); }
.cc-stage.st-rejected, .cc-stage.st-needs_correction { background: #FDECEC; border-color: #E3A6A6; color: #9B1C1C; }
.cc-hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .cc-hist li { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.bc-blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 12px; margin-bottom: 8px; }

/* phases 4 and 5: banner manager, dashboard, event day, public pages, motion */
.bm-thumb { width: 120px; height: auto; border-radius: 6px; border: 1px solid var(--line); }
.bm-prev { display: flex; flex-direction: column; gap: 6px; } .bm-prev img { width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.db-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.db-group { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--paper); }
.db-group h3 { margin: 0 0 8px; font-size: .95rem; } .db-items { display: grid; gap: 6px; }
.db-item { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; } .db-item span { color: var(--slate); } .db-item b { color: var(--ink); }
.hl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.hl { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); } .hl small { color: var(--slate); }
.hl-ok { border-color: var(--teal); background: var(--teal-wash, #E6F4F1); } .hl-warn { border-color: #E8C77A; background: #FFF6E5; } .hl-down { border-color: #E3A6A6; background: #FDECEC; }
[data-theme="dark"] .hl-warn { background: #3A2F16; } [data-theme="dark"] .hl-down { background: #3A1A1A; }
.ed-clock { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; }
.ed-clock span { display: block; font-size: .78rem; color: var(--slate); } .ed-clock b { font-size: 1.2rem; }
.hero-actions { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-actions .wrap { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: center; padding: 14px 0; text-align: center; }
.ha-title { margin: 0; font-size: 1rem; color: var(--ink); } .ha-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.gi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gi-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; height: 100%; padding: 18px 14px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--paper); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.gi-card:hover, .gi-card:focus-visible { border-color: var(--teal); transform: translateY(-2px); }
.gi-card svg { width: 28px; height: 28px; color: var(--teal); } .gi-card b { color: var(--ink); } .gi-card span { color: var(--slate); font-size: .9rem; }
.gi-fact { display: grid; gap: 6px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); border-top: 4px solid var(--gold, #B8862B); background: var(--paper); }
.gi-fact b { color: var(--ink); } .gi-fact span { color: var(--slate); line-height: 1.55; }
.ps-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ps-block { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--paper); }
.ps-block h3 { margin: 0 0 6px; font-size: 1rem; } .ps-block small { color: var(--slate); font-weight: 400; } .ps-block ul { margin: 0; padding-left: 18px; }
.carousel { position: relative; display: flex; align-items: center; gap: 8px; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px; flex: 1; scrollbar-width: thin; }
.car-btn { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.4rem; cursor: pointer; color: var(--ink); }
.sp-card { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.sp-card img { max-width: 120px; max-height: 60px; object-fit: contain; }
.sp-mono { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-ink, #0E2145); color: #F2C14E; font-weight: 800; }
.sp-card b { color: var(--ink); } .sp-card span { color: var(--slate); font-size: .88rem; } .sp-tier { font-weight: 700; color: #8A5A08; }
[data-theme="dark"] .sp-tier { color: #F2C14E; }
.bc-note { background: var(--teal-wash, #E6F4F1); border-radius: 10px; padding: 8px 12px; }
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(8,14,28,.92); display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; }
.lightbox figure { margin: 0; max-width: min(92vw, 1400px); text-align: center; } .lightbox img { max-width: 100%; max-height: 80vh; border-radius: 8px; }
.lightbox figcaption { color: #DCE6F2; margin-top: 8px; }
.lightbox button { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; width: 42px; height: 42px; font-size: 1.4rem; cursor: pointer; }
.lightbox .lb-x { position: absolute; top: 14px; right: 14px; }
.gallery-grid img { cursor: zoom-in; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
.hero .slider, .hero .hero-figure { animation: heroIn .7s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero .slider, .hero .hero-figure { animation: none; } .gi-card, .explore-card { transition: none; } }
@media (max-width: 1100px) { .db-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .gi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ps-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gi-grid, .ps-blocks, .db-grid { grid-template-columns: 1fr; } .car-track { grid-auto-columns: 80%; } }

/* sign-in helpers, directory */
.sample-logins { margin-top: 12px; } .sample-logins table { width: 100%; margin-top: 6px; } .sample-logins td { padding: 2px 6px; }

/* the Foundation's 13 points (25 Sep 2026) */
.v-msg { color: var(--rose, #B42318); font-size: .82rem; font-weight: 600; margin-top: 4px; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--rose, #B42318) !important; box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.ok-note { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--teal-wash, #E6F4F1); border: 1px solid var(--teal); color: var(--ink); }
.otp-grid { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; justify-content: center; align-items: center; gap: 8px; margin: 8px auto; }
.otp-grid input { flex: 0 0 auto !important; width: 46px !important; min-width: 0 !important; height: 54px; padding: 0 !important; text-align: center; font-size: 1.4rem; font-weight: 700; border-radius: 10px; }
@media (max-width: 380px) { .otp-grid { gap: 5px; } .otp-grid input { width: 38px !important; height: 46px; font-size: 1.2rem; } }
.ap-type, .ap-st { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: .76rem; font-weight: 700; border: 1px solid var(--line); background: var(--wash); white-space: nowrap; }
.ap-member { background: #EEF2FF; border-color: #A5B4FC; color: #3730A3; } .ap-sponsor { background: #FFF6E5; border-color: #E8C77A; color: #8A5A08; }
.ap-school { background: var(--teal-wash, #E6F4F1); border-color: var(--teal); color: var(--teal); } .ap-individual, .ap-student { background: #FDF2F8; border-color: #F9A8D4; color: #9D174D; }
.ap-verified { background: var(--teal-wash, #E6F4F1); border-color: var(--teal); color: var(--teal); } .ap-rejected { background: #FDECEC; border-color: #E3A6A6; color: #9B1C1C; }
[data-theme="dark"] .ap-member, [data-theme="dark"] .ap-sponsor, [data-theme="dark"] .ap-individual, [data-theme="dark"] .ap-student, [data-theme="dark"] .ap-rejected { background: var(--wash); color: var(--ink); }
#oct15teaser .teaser-grid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 16px; }
.tcx { flex: 1 1 200px; max-width: 232px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 14px 16px; border-radius: 18px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(14, 33, 69, .06); color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.tcx:hover, .tcx:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(14, 33, 69, .12); border-color: var(--teal); }
.tcx-art svg { width: 86px; height: 86px; display: block; } .tcx b { color: var(--ink); line-height: 1.3; } .tcx-hi { color: var(--slate); font-size: .9rem; } .tcx-when { color: var(--slate); font-size: .84rem; }
.oct-more { display: flex; justify-content: center; margin: 22px auto 0 !important; width: 100%; max-width: none !important; grid-column: 1 / -1; flex: 0 0 100%; align-self: stretch; }
.tc-art { width: 64px !important; height: 64px !important; padding: 0 !important; background: none !important; } .tc-art svg { width: 64px; height: 64px; }
.tribute-grid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 18px; } .tribute-grid > .tribute-card { flex: 1 1 360px; max-width: 560px; }
@media (max-width: 560px) { .tcx { max-width: none; flex-basis: 100%; flex-direction: row; text-align: left; } .tcx-art svg { width: 64px; height: 64px; } }
#cmsPage.policy-page .wrap { max-width: 1240px; }
.policy-hero { padding: 26px 28px; border-radius: 20px; background: linear-gradient(135deg, var(--brand-ink, #0E2145), #1B3A6B); color: #fff; margin-bottom: 22px; }
.policy-hero h1 { margin: 6px 0 6px; font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff; } .policy-hero a { color: #F2C14E; }
.policy-crumb, .policy-meta { margin: 0; font-size: .86rem; color: #DCE6F2; }
.policy-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 26px; align-items: start; }
.policy-toc { position: sticky; top: 90px; padding: 16px 16px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.policy-toc p { margin: 0 0 8px; font-weight: 800; color: var(--ink); } .policy-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .9rem; }
.policy-toc a { color: var(--slate); text-decoration: none; } .policy-toc a:hover { color: var(--teal); }
.policy-article { padding: 26px 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.policy-article .cms-body { max-width: none; margin: 0; font-size: 1.02rem; line-height: 1.8; }
.policy-article .cms-body h2 { margin: 28px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 1.28rem; color: var(--ink); scroll-margin-top: 90px; }
.policy-article .cms-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; } .policy-article .cms-body h3 { margin: 18px 0 8px; font-size: 1.08rem; scroll-margin-top: 90px; }
.policy-article .cms-body ul, .policy-article .cms-body ol { padding-left: 22px; } .policy-article .cms-body li { margin: 4px 0; }
.policy-others { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .policy-grid { grid-template-columns: 1fr; } .policy-toc { position: static; } .policy-article { padding: 20px 18px; } .policy-hero { padding: 20px 18px; } }

/* the Foundation's bug list of 29 Sep 2026 */
.demo-note { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #FFF6E5; border: 1px solid #E8C77A; color: #5B3B05; font-size: .9rem; }
[data-theme="dark"] .demo-note { background: var(--wash); color: var(--ink); }
.py-methods { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 6px 0 14px; }
.py-m { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: inherit; font: inherit; cursor: pointer; }
.py-m span { font-size: .84rem; color: var(--slate); }
.py-m[aria-checked="true"] { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, .14); }
.py-box { display: grid; gap: 14px; grid-template-columns: 190px minmax(0, 1fr); align-items: center; padding: 12px; margin-bottom: 12px; border: 1px dashed var(--line); border-radius: 12px; }
.py-qr img, .py-qr svg { width: 180px; max-width: 100%; height: auto; display: block; }
.py-box dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; }
.py-box dt { color: var(--slate); } .py-box dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 640px) { .py-box { grid-template-columns: 1fr; } .py-qr { justify-self: center; } }
.tb-switch { display: inline-flex; gap: 4px; padding: 3px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 99px; }
.tb-switch button { border: 0; background: none; padding: 5px 12px; border-radius: 99px; font: inherit; font-size: .86rem; color: var(--slate); cursor: pointer; }
.tb-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tb-bars { display: grid; gap: 10px; }
.tb-row { display: grid; grid-template-columns: minmax(90px, 36%) minmax(0, 1fr) 56px; gap: 10px; align-items: center; font-size: .88rem; }
.tb-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-track { height: 14px; border-radius: 99px; background: var(--wash); overflow: hidden; }
.tb-fill { display: block; height: 100%; border-radius: 99px; }
.tb-n { text-align: right; font-variant-numeric: tabular-nums; color: var(--slate); }
.modal-foot [data-dback] { margin-right: auto; }
.mn-in { flex: 1 1 160px; min-width: 0; }
.kpis .kpi, .kpi-grid .kpi { min-width: 0; }
.kpis .kpi .value, .kpi-grid .kpi .value { overflow-wrap: anywhere; }
@media (max-width: 720px) { table.data.stack tbody td[data-l=""]:has(.btn ~ .btn) { position: static !important; display: flex !important; flex-wrap: wrap; gap: 6px; padding-top: 8px !important; } }

/* the Foundation's points of 30 Sep 2026 */
.ha-target { font-weight: 700; white-space: nowrap; }
.ha-target-m { display: none; margin: 8px 0 0; font-weight: 700; text-align: center; }
@media (max-width: 480px) { .ha-target { display: none; } .ha-target-m { display: block; } }
.login-target { margin: 10px 0 0; font-weight: 700; color: #F2C14E; font-size: 1rem; }
.ac-card { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); }
@media (max-width: 720px) { #acList table.data.stack tbody td:first-child, #acDis table.data.stack tbody td:first-child, #acRes table.data.stack tbody td:first-child { padding-right: 120px !important; overflow-wrap: anywhere; } }

/* 30 Sep 2026: only sections that belong to a page are shown (older ones can never reappear);
   "clip" stops sideways scrolling like "hidden" did, without cancelling the sticky header */
#site > section:not([data-pg]) { display: none !important; }
html, body { overflow-x: clip; }

/* 30 Sep 2026: on phones the carousel arrows sit in a row below the cards, so they never cover a card */
@media (max-width: 480px) {
  .carousel { flex-wrap: wrap; justify-content: center; }
  .carousel .car-track { order: -1; flex: 0 0 100%; min-width: 0; }
  .carousel .car-btn { margin-top: 10px; }
}

/* ==========================================================================================
   v14 · part AE — Royal design system (1 Oct 2026)
   Presentation only: colours, type, spacing, surfaces and motion. No element, id, attribute,
   route or behaviour is changed by this layer. Palette taken from the Foundation's logo
   (gold #CCA86C / champagne #D8B484) and the existing navy #0E2145.
   Fonts: Cormorant Garamond and Inter, SIL Open Font License 1.1 (built in below).
   ========================================================================================== */
:root {
  --ae-navy: #0E2145;
  --ae-midnight: #09172F;
  --ae-navy-2: #15294F;
  --ae-navy-3: #1E3561;
  --ae-gold: #C9A45C;
  --ae-champagne: #DCC38A;
  --ae-gold-ink: #7A5C22;          /* gold for text on light surfaces (contrast 5:1 and above) */
  --ae-ivory: #FAF8F2;
  --ae-ivory-2: #F4F0E6;
  --ae-white: #FFFFFF;
  --ae-charcoal: #202634;
  --ae-grey: #646C7E;              /* accessible version of #778196 for small text */
  --ae-line: #E4DDCC;
  --ae-line-2: #EEE9DD;
  --ae-hair-gold: rgba(201, 164, 92, .45);
  --ae-ease: cubic-bezier(.22, .61, .36, 1);
  --ae-shadow-1: 0 1px 2px rgba(9, 23, 47, .05), 0 4px 14px rgba(9, 23, 47, .05);
  --ae-shadow-2: 0 14px 34px rgba(9, 23, 47, .11);
  --ae-shadow-3: 0 28px 70px rgba(9, 23, 47, .24);

  /* the existing tokens, re-tuned to the royal palette */
  --ink: #0E2145;
  --ink-2: #202634;
  --ink-3: #3A4255;
  --slate: #545D6E;
  --mute: #646C7E;
  --line: #E4DDCC;
  --line-soft: #EEE9DD;
  --paper: #FFFFFF;
  --wash: #FAF8F2;
  --wash-2: #F3EEE3;
  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 18px;
  --shadow-1: var(--ae-shadow-1);
  --shadow-2: var(--ae-shadow-2);
  --shadow-3: var(--ae-shadow-3);
  --display: "Cormorant Garamond", "GDET Display", "GDET Text", Georgia, "Times New Roman", serif;
  --text: "Inter", "GDET Text", "Segoe UI", system-ui, -apple-system, "Noto Sans", sans-serif;
  --serif: "Cormorant Garamond", "GDET Serif", Georgia, serif;
}
[data-theme="dark"] {
  --ae-ivory: #0A1426;
  --ae-ivory-2: #0F1B31;
  --ae-white: #101C33;
  --ae-charcoal: #DCE2EC;
  --ae-grey: #A3AEC2;
  --ae-line: #24324B;
  --ae-line-2: #1B2840;
  --ae-gold-ink: #DCC38A;
  --ink: #F3EEE3;
  --ink-2: #D9DFE9;
  --ink-3: #BCC5D4;
  --slate: #A9B4C7;
  --mute: #93A0B5;
  --line: #24324B;
  --line-soft: #1B2840;
  --paper: #101C33;
  --wash: #0A1426;
  --wash-2: #15223A;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .45);
  --shadow-2: 0 14px 34px rgba(0, 0, 0, .45);
  --shadow-3: 0 28px 70px rgba(0, 0, 0, .6);
}

/* ---------- typography ---------- */
body { font-family: var(--text); color: var(--ink-2); background-color: var(--wash); font-feature-settings: "cv11", "ss01"; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.004em; line-height: 1.1; }
h1 { font-weight: 600; }
h4 { font-family: var(--text); font-weight: 650; letter-spacing: .01em; }
.tnum, .num { font-variant-numeric: tabular-nums lining-nums; }
.eyebrow {
  font-family: var(--text); font-weight: 650; font-size: .78rem; letter-spacing: .14em;
  color: var(--ae-gold-ink);
}
.lede { line-height: 1.65; }
::selection { background: rgba(201, 164, 92, .32); color: inherit; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ae-gold); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ae-navy); --fg: #FFFFFF; --bd: var(--ae-navy);
  border-radius: 10px; font-weight: 600; letter-spacing: .01em;
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .28);
  transition: background-color .28s var(--ae-ease), color .28s var(--ae-ease), border-color .28s var(--ae-ease),
              box-shadow .28s var(--ae-ease), translate .28s var(--ae-ease), filter .28s var(--ae-ease);
}
.btn:hover { translate: 0 -1px; box-shadow: 0 10px 22px rgba(9, 23, 47, .16), inset 0 0 0 1px rgba(201, 164, 92, .55); filter: none; }
.btn:active { translate: 0 0; box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .55); }
.btn-quiet { --bg: #FFFFFF; --fg: var(--ae-navy); --bd: var(--ae-line); box-shadow: none; }
.btn-quiet:hover { --bd: var(--ae-gold); box-shadow: 0 8px 18px rgba(9, 23, 47, .08); }
.btn-teal, .btn-donate { --bg: var(--ae-gold); --fg: var(--ae-midnight); --bd: #B9924B; box-shadow: none; }
.btn-teal:hover, .btn-donate:hover { --bg: var(--ae-champagne); --bd: var(--ae-gold); }
[data-theme="dark"] .btn { --bg: var(--ae-gold); --fg: #09172F; --bd: var(--ae-gold); box-shadow: none; }
[data-theme="dark"] .btn:hover { --bg: var(--ae-champagne); }
[data-theme="dark"] .btn-quiet { --bg: transparent; --fg: #F3EEE3; --bd: rgba(220, 195, 138, .38); }
[data-theme="dark"] .btn-quiet:hover { --bd: var(--ae-champagne); }

/* ---------- forms ---------- */
input, select, textarea {
  border-width: 1px; border-color: #D6CEBB; border-radius: 10px; background-color: var(--paper);
  transition: border-color .22s var(--ae-ease), box-shadow .22s var(--ae-ease), background-color .22s var(--ae-ease);
}
input:hover, select:hover, textarea:hover { border-color: #BFB397; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ae-navy); box-shadow: 0 0 0 3px rgba(201, 164, 92, .30); }
[data-theme="dark"] input, [data-theme="dark"] select, [data-theme="dark"] textarea { border-color: #2C3B57; }
[data-theme="dark"] input:focus, [data-theme="dark"] select:focus, [data-theme="dark"] textarea:focus { border-color: var(--ae-champagne); }
.field label, label.field > span:first-child { font-weight: 600; letter-spacing: .01em; }

/* ==========================================================================================
   PUBLIC WEBSITE
   ========================================================================================== */
#site { background-color: var(--ae-ivory); }

/* header: royal navy, firmer once the page scrolls */
.masthead {
  background-color: rgba(14, 33, 69, .96); border-bottom: 1px solid rgba(201, 164, 92, .28);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  transition: background-color .35s var(--ae-ease), box-shadow .35s var(--ae-ease);
}
html.ae-scrolled .masthead { background-color: #0B1A38; box-shadow: 0 12px 30px rgba(9, 23, 47, .28); border-bottom-color: rgba(201, 164, 92, .5); }
.masthead .brand .name { font-family: var(--display); font-weight: 700; font-size: 1.04rem; line-height: 1.12; color: #F7F3EA; letter-spacing: .005em; }
.masthead .brand .sub { color: var(--ae-champagne); letter-spacing: .16em; font-size: .64rem; font-weight: 600; }
.masthead .mnav > a { position: relative; color: rgba(255, 255, 255, .84); font-weight: 500; font-size: .86rem; letter-spacing: .015em; background: transparent; transition: color .25s var(--ae-ease); }
.masthead .mnav > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1.5px; border-radius: 2px;
  background: var(--ae-gold); transform: scaleX(0); transform-origin: left center; transition: transform .32s var(--ae-ease);
}
.masthead .mnav > a:hover { color: #FFFFFF; background: transparent; }
.masthead .mnav > a:hover::after, .masthead .mnav > a[aria-current="page"]::after { transform: scaleX(1); }
.masthead .mnav > a[aria-current="page"] { color: var(--ae-champagne); }
.masthead .iconbtn { color: #F3EEE3; background: transparent; border-color: rgba(255, 255, 255, .16); }
.masthead .iconbtn:hover { background: rgba(255, 255, 255, .08); }
.masthead .langsw { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.masthead .langsw button { color: rgba(255, 255, 255, .84); }
.masthead .langsw button[aria-pressed="true"] { background: var(--ae-gold); color: var(--ae-midnight); }
.masthead .btn { --bg: transparent; --fg: #F7F3EA; --bd: rgba(220, 195, 138, .5); box-shadow: none; }
.masthead .btn:hover { --bd: var(--ae-champagne); box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.masthead .btn[data-open-login=""] { --bg: #F7F3EA; --fg: var(--ae-navy); --bd: #F7F3EA; }
.masthead .btn-donate { --bg: var(--ae-gold); --fg: var(--ae-midnight); --bd: var(--ae-gold); }
.masthead .btn-quiet { --bg: transparent; --fg: rgba(255, 255, 255, .9); --bd: rgba(255, 255, 255, .22); }
@media (max-width: 900px) {
  .masthead .mnav { background-color: #0B1A38; border-bottom: 1px solid rgba(201, 164, 92, .35); box-shadow: 0 22px 40px rgba(9, 23, 47, .35); }
  .masthead .mnav > a::after { left: 14px; right: auto; width: 28px; bottom: 6px; }
}
.masthead.navcollapse .mnav { background-color: #0B1A38; border-bottom: 1px solid rgba(201, 164, 92, .35); }
[data-theme="dark"] .masthead { background-color: rgba(7, 15, 32, .96); }
[data-theme="dark"] .masthead .btn { --bg: transparent; --fg: #F7F3EA; --bd: rgba(220, 195, 138, .5); }
[data-theme="dark"] .masthead .btn[data-open-login=""] { --bg: #F7F3EA; --fg: #0E2145; --bd: #F7F3EA; }
[data-theme="dark"] .masthead .btn-donate { --bg: var(--ae-gold); --fg: #09172F; --bd: var(--ae-gold); }

/* the slim line under the header */
.ribbon { background-color: var(--ae-midnight); border-bottom: 1px solid rgba(201, 164, 92, .3); color: var(--ae-champagne); font-weight: 500; letter-spacing: .02em; }
[data-theme="dark"] .ribbon { background-color: #060E1E; color: var(--ae-champagne); }

/* breadcrumb bar on inner pages */
.pagehead { background-color: var(--ae-ivory-2); border-bottom: 1px solid var(--ae-line); }
.pagehead .crumbs a { color: var(--ae-gold-ink); }

/* the action bar under the banner */
#heroActions { background-color: var(--ae-white); border-bottom: 1px solid var(--ae-line); box-shadow: inset 0 1px 0 rgba(201, 164, 92, .35); }
#heroActions .ha-title { color: var(--ae-charcoal); letter-spacing: .01em; }
#heroActions .ha-title b { font-family: var(--display); font-size: 1.18em; font-weight: 700; color: var(--ae-navy); letter-spacing: 0; }

/* cinematic hero */
.hero {
  background-color: var(--ae-navy);
  background-image:
    radial-gradient(1100px 520px at 88% -12%, rgba(201, 164, 92, .17), transparent 62%),
    radial-gradient(900px 560px at -8% 112%, rgba(220, 195, 138, .10), transparent 58%),
    linear-gradient(180deg, #0E2145 0%, #0B1A38 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 92, .65), transparent);
}
.hero .eyebrow { color: var(--ae-champagne); }
.hero h1 { color: #FBF7EE; font-weight: 600; letter-spacing: -.008em; }
.hero .lede { color: rgba(247, 243, 234, .84); }

/* sections */
#site .band-a { background-color: var(--ae-ivory); }
#site .band-b { background-color: var(--ae-white); }
#site .section-head h2 { color: var(--ink); font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.75rem); }
#site .section-head h2::after {
  content: ""; display: block; width: 56px; height: 1.5px; margin: 14px auto 0; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--ae-gold), transparent);
}
#site .section-head:not([style*="text-align:left"]) h2::after { margin-left: auto; margin-right: auto; }
#site .section-head p, #site .section-head .lede { color: var(--slate); }

/* the pledge band */
.tallyband {
  background-color: var(--ae-midnight);
  background-image: radial-gradient(800px 260px at 50% -40%, rgba(201, 164, 92, .16), transparent 70%);
  border-top: 1px solid rgba(201, 164, 92, .35);
}
#tallyBig { font-family: var(--display); font-weight: 700; color: #FBF7EE; font-variant-numeric: lining-nums tabular-nums; letter-spacing: .005em; }
.tally-split .n { font-family: var(--display); font-weight: 700; color: var(--ae-champagne); font-variant-numeric: lining-nums tabular-nums; }

/* cards — one family across the site */
#site :is(.explore-card, .gi-card, .teaser-card, .tribute-card, .guest-card, .ms-card, .card, .tcx, .faq-item) {
  background-color: var(--ae-white); border: 1px solid var(--ae-line); border-radius: 16px; box-shadow: var(--ae-shadow-1);
  transition: opacity .7s var(--ae-ease), transform .7s var(--ae-ease), translate .3s var(--ae-ease), box-shadow .3s var(--ae-ease), border-color .3s var(--ae-ease);
}
#site :is(.explore-card, .gi-card, .teaser-card, .tribute-card, .guest-card, .ms-card, .tcx):hover {
  translate: 0 -3px; box-shadow: var(--ae-shadow-2); border-color: rgba(201, 164, 92, .6);
}
#site :is(.explore-card, .gi-card, .teaser-card, .tribute-card, .guest-card, .ms-card, .tcx) h3 { font-weight: 700; font-size: 1.32rem; }

/* footer */
.sitefoot {
  background-color: var(--ae-midnight);
  background-image: radial-gradient(900px 300px at 15% 0%, rgba(201, 164, 92, .10), transparent 70%);
  border-top: 1px solid rgba(201, 164, 92, .45); color: #C3CCDC;
}
.sitefoot .brand .name { font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: #FBF7EE !important; }
.sitefoot .brand .sub { color: var(--ae-champagne); letter-spacing: .08em; }
.sitefoot h4 { color: var(--ae-champagne); font-size: .86rem; letter-spacing: .12em; font-variant-caps: all-small-caps; font-weight: 650; }
.sitefoot .footgrid a { color: #D2D9E6; transition: color .22s var(--ae-ease); }
.sitefoot .footgrid a:hover { color: var(--ae-champagne); }
.sitefoot .footbar { border-top: 1px solid rgba(201, 164, 92, .28); color: #AEB9CC; }
.sitefoot .foot-phones { margin: 10px 0 0; font-size: .9rem; line-height: 1.7; }
.sitefoot .foot-phones a { color: #F3EEE3; font-weight: 600; }
.sitefoot .foot-phones a:hover { color: var(--ae-champagne); }
[data-theme="dark"] .sitefoot { background-color: #060E1E; }

/* ==========================================================================================
   SIGN-IN AND DASHBOARD
   ========================================================================================== */
.apptop { background-color: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(201, 164, 92, .18), 0 6px 18px rgba(9, 23, 47, .04); }
.apptop .brand .name { font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.apptop .brand .sub { letter-spacing: .14em; color: var(--ae-gold-ink); font-weight: 600; }

/* the sidebar: royal navy, gold marker on the open screen */
.rail {
  background-color: var(--ae-navy); border-right: 1px solid rgba(201, 164, 92, .22);
  background-image: linear-gradient(180deg, #0E2145 0%, #0B1A38 100%);
  scrollbar-color: rgba(220, 195, 138, .35) transparent; transition: transform .32s var(--ae-ease);
}
.rail .group { color: var(--ae-champagne); letter-spacing: .16em; font-size: .66rem; font-weight: 650; opacity: .92; }
.rail a { color: rgba(255, 255, 255, .80); font-weight: 500; position: relative; transition: background-color .22s var(--ae-ease), color .22s var(--ae-ease); }
.rail a svg { color: rgba(220, 195, 138, .78); transition: color .22s var(--ae-ease); }
.rail a:hover { background-color: rgba(255, 255, 255, .06); color: #FFFFFF; }
.rail a:hover svg { color: var(--ae-champagne); }
.rail a.on {
  background-color: rgba(201, 164, 92, .14); color: #FFFFFF; font-weight: 600;
  box-shadow: inset 3px 0 0 var(--ae-gold);
}
.rail a.on svg { color: var(--ae-gold); }
.rail .badge { background: var(--ae-gold); color: var(--ae-midnight); }
.rail .rail-foot { border-top-color: rgba(201, 164, 92, .22); }
.rail .rail-foot, .rail .rail-foot .muted, .rail .rail-foot .tiny { color: rgba(255, 255, 255, .78); }
.rail .langsw { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.rail .langsw button { color: rgba(255, 255, 255, .84); }
.rail .langsw button[aria-pressed="true"] { background: var(--ae-gold); color: var(--ae-midnight); }
.rail .rail-signout, .rail button.btn-quiet { --bg: transparent; --fg: #F3EEE3; --bd: rgba(220, 195, 138, .4); color: #F3EEE3; }
[data-theme="dark"] .rail { background-color: #070F20; background-image: linear-gradient(180deg, #0A1428 0%, #060D1C 100%); }

.main { background-color: var(--wash); }
.page-head h1 { font-size: clamp(2rem, 3.2vw, 2.6rem); font-weight: 600; color: var(--ink); }

/* number cards */
.kpi {
  position: relative; background-color: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--ae-shadow-1); padding: 18px 20px 16px;
  transition: translate .3s var(--ae-ease), box-shadow .3s var(--ae-ease), border-color .3s var(--ae-ease);
}
.kpi::before {
  content: ""; position: absolute; left: 20px; top: 0; width: 38px; height: 2px; border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, var(--ae-gold), var(--ae-champagne));
}
.kpi:hover { translate: 0 -2px; box-shadow: var(--ae-shadow-2); border-color: rgba(201, 164, 92, .55); }
.kpi .label { font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: .8rem; font-weight: 650; color: var(--slate); }
.kpi .value {
  font-family: var(--text); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink); border: 0; background: none; box-shadow: none; padding: 0; margin-top: 6px;
}

/* panels and tables */
.panel { border-radius: 14px; border-color: var(--line); box-shadow: var(--ae-shadow-1); }
.panel-head { border-bottom-color: var(--line); }
.panel-head h3, .panel-head h2 { font-weight: 700; font-size: 1.32rem; color: var(--ink); }
table.data th {
  background-color: var(--ae-ivory-2); color: var(--slate); font-size: .8rem; font-weight: 650;
  letter-spacing: .09em; font-variant-caps: all-small-caps; border-bottom: 1px solid var(--line);
}
table.data td { border-bottom-color: var(--line-soft); }
table.data tbody tr { transition: background-color .18s var(--ae-ease); }
table.data tbody tr:hover > td { background-color: rgba(201, 164, 92, .07); }

/* pop-ups and drawers */
.scrim { background: rgba(9, 23, 47, .58); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal { border-radius: 18px; border: 1px solid rgba(201, 164, 92, .28); box-shadow: var(--ae-shadow-3); }
.modal-head h3, .modal-head h2 { font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.modal-foot { background-color: var(--ae-ivory-2); border-top-color: var(--line); }
.drawer { border-left: 1px solid rgba(201, 164, 92, .3); }

/* the sign-in page */
.loginside {
  background-color: var(--ae-navy);
  background-image: radial-gradient(700px 420px at 100% 0%, rgba(201, 164, 92, .18), transparent 65%), linear-gradient(180deg, #0E2145, #09172F);
}
.loginside h1, .loginside h2 { color: #FBF7EE; font-weight: 600; }
.loginmain { background-color: var(--wash); }

/* ==========================================================================================
   MOTION — gentle, short, and off for anyone who asks their device for less motion
   ========================================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transform: translateY(16px); transition: opacity .7s var(--ae-ease), transform .7s var(--ae-ease), translate .3s var(--ae-ease), box-shadow .3s var(--ae-ease), border-color .3s var(--ae-ease); }
  .reveal:nth-child(2) { transition-delay: 70ms, 70ms, 0s, 0s, 0s; }
  .reveal:nth-child(3) { transition-delay: 140ms, 140ms, 0s, 0s, 0s; }
  .reveal:nth-child(4) { transition-delay: 210ms, 210ms, 0s, 0s, 0s; }
  .reveal:nth-child(5) { transition-delay: 280ms, 280ms, 0s, 0s, 0s; }
  .reveal:nth-child(n+6) { transition-delay: 330ms, 330ms, 0s, 0s, 0s; }
  #site > section:not(.pg-off), #pagehead:not(.pg-off) { animation: aeFade .55s var(--ae-ease) both; }
  #main .page-head, #main .kpi, #main .panel { animation: aeFade .42s var(--ae-ease) both; }
  #main .kpi:nth-child(2) { animation-delay: 50ms; }
  #main .kpi:nth-child(3) { animation-delay: 100ms; }
  #main .kpi:nth-child(4) { animation-delay: 150ms; }
  #main .kpi:nth-child(n+5) { animation-delay: 200ms; }
  .scrim { animation: aeFade .25s ease both; }
  .modal { animation: aeModal .32s var(--ae-ease) both; }
  @media (max-width: 900px) { .masthead .mnav.open { animation: aeDrop .28s var(--ae-ease) both; } }
  .masthead.navcollapse .mnav.open { animation: aeDrop .28s var(--ae-ease) both; }
}
@keyframes aeFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes aeModal { from { opacity: 0; transform: translate(-50%, -48%) scale(.985); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes aeDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .btn:hover, .kpi:hover, #site :is(.explore-card, .gi-card, .teaser-card, .tribute-card, .guest-card, .ms-card, .tcx):hover { translate: none; }
}

/* ---------- refinements after the first visual review ---------- */
.masthead .brand .name { font-size: .97rem; line-height: 1.08; }
.masthead .brand .sub { letter-spacing: .1em; font-size: .62rem; }
#heroActions .ha-title b { color: var(--ink); }
.ribbon :is(b, strong, span, em, a) { color: inherit; }
.ribbon :is(b, strong) { color: #F3EEE3; }
#site .explore-card svg, #site .gi-card svg { color: var(--ae-gold-ink); }
[data-theme="dark"] #heroActions .btn:not(.btn-quiet) { --bg: var(--ae-gold); --fg: #09172F; --bd: var(--ae-gold); }
.sitefoot .foot-phones br { display: none; }
.sitefoot .foot-phones a { display: block; margin: 0 0 2px; }

/* ---------- approved 1 Oct 2026: dashboard charts in navy and gold (status badges keep teal) ---------- */
#app svg path[stroke="var(--teal)"] { stroke: #4F6A9A; }
#app .legend i[style*="var(--teal)"] { background: #4F6A9A !important; }
#app .tb-fill[style*="var(--teal)"] { background: var(--ae-gold) !important; }
#app svg rect[fill="var(--teal)"] { fill: var(--ae-gold); }
[data-theme="dark"] #app svg path[stroke="var(--teal)"] { stroke: #8FA3C8; }
[data-theme="dark"] #app .legend i[style*="var(--teal)"] { background: #8FA3C8 !important; }

/* ---------- approved 1 Oct 2026: phone and WhatsApp on the Contact us page ---------- */
#cmsPage .contact-phones {
  margin-top: 22px; padding: 18px 22px; max-width: 460px; border: 1px solid var(--ae-line); border-left: 3px solid var(--ae-gold);
  border-radius: 14px; background-color: var(--ae-white); box-shadow: var(--ae-shadow-1);
}
#cmsPage .contact-phones h3 { margin: 0 0 6px; font-size: 1.32rem; }
#cmsPage .contact-phones p { margin: 4px 0; }
#cmsPage .contact-phones a { font-weight: 600; color: var(--ink); text-decoration: none; }
#cmsPage .contact-phones a:hover { color: var(--ae-gold-ink); text-decoration: underline; }

/* ---------- approved 1 Oct 2026: the selected Blocks / Gram panchayats switch is readable in dark mode
   (it was white text on a near-white pill before the redesign); light mode is unchanged ---------- */
[data-theme="dark"] .tb-switch button[aria-pressed="true"] { background: var(--ae-gold); color: #09172F; }


/* ==========================================================================================
   1 Oct 2026 — the Foundation's points 2, 3 and 4, and further royal touches (presentation only)
   ========================================================================================== */

/* point 2: logo, name, menu and buttons in one aligned row on desktop; the existing script folds the menu
   into the menu button only when the row genuinely cannot fit (instead of wrapping onto a second row) */
@media (min-width: 901px) {
  .masthead .bar { flex-wrap: nowrap; align-items: center; }
  .masthead .brand { flex: 0 1 auto; max-width: 250px; }
  .masthead .mnav { flex-wrap: nowrap; align-items: center; }
}
/* point 2: the active menu item in gold (it was teal on navy) */
#site .masthead #mnav > a[aria-current="page"], .masthead.navcollapse #mnav > a[aria-current="page"] { color: var(--ae-champagne); box-shadow: none; }

/* point 3: the tribute — a true timeline, one consistent card style and rhythm */
#site .trib-moments h3, #site .trib-values h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.1rem); text-align: center; color: var(--ink); }
#site .trib-moments > .muted, #site .trib-moments > p { text-align: center; max-width: 64ch; margin-left: auto; margin-right: auto; }
#site .moments { margin: 30px 0 8px; }
#site .moments::before { width: 1.5px; background: linear-gradient(180deg, var(--ae-gold), rgba(201, 164, 92, .12)); }
#site .moment { padding: 0 0 20px; }
#site .moment::before { top: 24px; width: 14px; height: 14px; background: var(--ae-ivory); border: 2px solid var(--ae-gold); box-shadow: 0 0 0 5px rgba(201, 164, 92, .14); }
#site .m-year { padding-top: 19px; font: 700 1.3rem/1.2 var(--display); color: var(--ae-gold-ink); letter-spacing: .02em; }
#site .m-body {
  background-color: var(--ae-white); border: 1px solid var(--ae-line); border-radius: 14px; padding: 18px 22px 16px; box-shadow: var(--ae-shadow-1);
  transition: translate .3s var(--ae-ease), box-shadow .3s var(--ae-ease), border-color .3s var(--ae-ease);
}
#site .m-body:hover { translate: 0 -2px; box-shadow: var(--ae-shadow-2), 0 0 0 1px rgba(201, 164, 92, .3); border-color: rgba(201, 164, 92, .55); }
#site .m-body h4 { font-family: var(--display); font-weight: 700; font-size: 1.32rem; color: var(--ink); margin: 0 0 6px; }
#site .m-body p { line-height: 1.68; }
#site .m-body .m-src { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--ae-line-2); font-size: .76rem; line-height: 1.5; }
#site .trib-moments > .btn { display: table; margin: 10px auto 0; }
#site .trib-values { margin-top: 48px; }
#site .values { gap: 20px; margin-top: 22px; }
#site .value {
  position: relative; padding: 26px 24px 22px; border: 1px solid var(--ae-line); border-radius: 16px; background-color: var(--ae-white); box-shadow: var(--ae-shadow-1);
  transition: translate .3s var(--ae-ease), box-shadow .3s var(--ae-ease), border-color .3s var(--ae-ease);
}
#site .value::before { content: ""; position: absolute; left: 24px; top: -1px; width: 46px; height: 2px; border-radius: 0 0 2px 2px; background: linear-gradient(90deg, var(--ae-gold), var(--ae-champagne)); }
#site .value:hover { translate: 0 -2px; box-shadow: var(--ae-shadow-2); border-color: rgba(201, 164, 92, .55); }
#site .value h4 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.25; color: var(--ink); margin-bottom: 8px; }
#site .value p { line-height: 1.62; }
#site .trib-sources { max-width: 760px; margin: 34px auto 0; padding-top: 18px; border-top: 1px solid var(--ae-line); text-align: left; }
#site .trib-sources summary { list-style: none; display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; letter-spacing: .01em; }
#site .trib-sources summary::-webkit-details-marker { display: none; }
#site .trib-sources summary::before {
  content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--ae-gold); border-bottom: 1.5px solid var(--ae-gold);
  transform: rotate(-45deg); transition: transform .25s var(--ae-ease);
}
#site .trib-sources[open] summary::before { transform: rotate(45deg); }

/* point 4: teal is kept only for status words (verified, approved, paid, confirmed ...);
   every graphic, line, fill and outline that used it is now gold */
:root { --ok-ink: #0C7C74; --ok-wash: #E3F2EF; --teal: #7A5C22; --teal-2: #9A7632; --teal-wash: #F6EEDC; }
[data-theme="dark"] { --ok-ink: #5CC2B3; --ok-wash: rgba(12, 124, 116, .22); --teal: #DCC38A; --teal-2: #E8D6AA; --teal-wash: rgba(201, 164, 92, .14); }
.pill-ok { background: var(--ok-wash); color: var(--ok-ink); }
.gc-ok { color: var(--ok-ink); }
.cc-stage.st-active, .cc-stage.st-branding_approved, .cc-stage.st-appr, .ap-verified { background: var(--ok-wash); border-color: var(--ok-ink); color: var(--ok-ink); }
.ok-note { color: var(--ok-ink); }
.toast.ok { background: var(--ok-ink); }
[style^="color:var(--teal)"], [style*=";color:var(--teal)"], [style*="; color:var(--teal)"] { color: var(--ok-ink) !important; }
[style^="color:var(--teal)"] svg, [style*=";color:var(--teal)"] svg, [style*="; color:var(--teal)"] svg, .pill-ok svg, .ap-verified svg, .cc-stage svg, .gc-ok svg { color: var(--ae-gold-ink) !important; }
#glList :is([style^="color:var(--teal)"], [style*=";color:var(--teal)"], [style*="; color:var(--teal)"]), #pplBox :is([style^="color:var(--teal)"], [style*=";color:var(--teal)"], [style*="; color:var(--teal)"]) { color: var(--ae-gold-ink) !important; }
#tallyMeter { background: linear-gradient(90deg, var(--ae-gold), var(--ae-champagne)); }

/* further royal touches */
#site .section-head h2::after { width: 132px; height: 10px; margin-top: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='10' viewBox='0 0 132 10'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23C9A45C' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23C9A45C'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23C9A45C'/%3E%3Cstop offset='1' stop-color='%23C9A45C' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='4.5' width='54' height='1' fill='url(%23a)'/%3E%3Crect x='78' y='4.5' width='54' height='1' fill='url(%23b)'/%3E%3Cpath d='M66 1 L70 5 L66 9 L62 5 Z' fill='%23C9A45C'/%3E%3Ccircle cx='58' cy='5' r='1' fill='%23C9A45C'/%3E%3Ccircle cx='74' cy='5' r='1' fill='%23C9A45C'/%3E%3C/svg%3E") center / 132px 10px no-repeat; }
#site :is(.explore-card, .gi-card, .teaser-card, .tribute-card, .guest-card, .ms-card, .tcx):hover { box-shadow: var(--ae-shadow-2), 0 0 0 1px rgba(201, 164, 92, .3); }
.btn-teal, .btn-donate {
  background-image: linear-gradient(115deg, transparent 0%, transparent 38%, rgba(255, 255, 255, .42) 50%, transparent 62%, transparent 100%);
  background-size: 260% 100%; background-position: 110% 0; background-repeat: no-repeat;
}
.masthead .brandmark, .masthead .brand img { box-shadow: 0 0 0 1.5px rgba(201, 164, 92, .55), 0 4px 14px rgba(0, 0, 0, .25); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .btn-teal, .btn-donate { transition: background-position .9s var(--ae-ease), background-color .28s var(--ae-ease), color .28s var(--ae-ease), border-color .28s var(--ae-ease), box-shadow .28s var(--ae-ease), translate .28s var(--ae-ease); }
  .btn-teal:hover, .btn-donate:hover { background-position: -10% 0; }
  .hero::after { transform-origin: center; animation: aeDraw 1.6s var(--ae-ease) .25s both; }
}
@keyframes aeDraw { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* point 2 (continued): the existing rule keeps the menu visible on desktop. Wide screens get a wider header so
   logo, name, menu and buttons fit one aligned row; where two rows are genuinely needed, both rows are centred
   — the crest and name above, the menu below a fine gold line — so nothing sits out of line. */
@media (min-width: 1600px) { #site .masthead .bar.wrap { width: min(1640px, 100% - 64px); max-width: 1640px; } }
.masthead.nav-wrapped .brand { justify-content: center; text-align: center; }
.masthead.nav-wrapped .mnav { border-top: 1px solid rgba(201, 164, 92, .22); padding-top: 6px; }
.masthead.nav-wrapped .mnav { flex-wrap: wrap; justify-content: center; row-gap: 4px; }

/* point 4 (continued): teal written directly into drawings and a few elements, now gold — status words stay teal */
.pill-ok i { background: var(--ae-gold) !important; color: var(--ae-gold); }
.apptop .avatar, #profBtn .avatar { background-image: linear-gradient(135deg, #2A4170, var(--ae-navy)); box-shadow: 0 0 0 1.5px var(--ae-gold); }
.pay-method[aria-pressed="true"] { background: #FBF6EA; }
[data-theme="dark"] .pay-method[aria-pressed="true"] { background: rgba(201, 164, 92, .12); }
[data-theme="dark"] .tribute .trib-kicker, [data-theme="dark"] .trib-kicker { color: var(--ae-champagne); }
.cc-stage.st-active, .cc-stage.st-branding_approved, .cc-stage.st-appr { border-color: rgba(201, 164, 92, .6); }
svg [fill="#0C7C74" i], svg [fill="#0F766E" i], svg [fill="#0FA097" i], svg [fill="#0E7C66" i] { fill: var(--ae-gold); }
svg [stroke="#0C7C74" i], svg [stroke="#0F766E" i], svg [stroke="#0FA097" i], svg [stroke="#0E7C66" i] { stroke: var(--ae-gold); }
svg [fill="#9ED8CE" i], svg [fill="#6FD8CB" i], svg [fill="#5CC2B3" i] { fill: var(--ae-champagne); }
svg [stroke="#9ED8CE" i], svg [stroke="#6FD8CB" i], svg [stroke="#5CC2B3" i] { stroke: var(--ae-champagne); }
svg [fill="#E6F4F1" i], svg [fill="#E4F2F0" i], svg [fill="#F2FBFA" i], svg [fill="#E3F2EF" i] { fill: #F6EEDC; }
/* point 4 (Sponsor and Member payments): the selected method ring and the verified chip's outline in gold; the status word stays teal */
.py-m[aria-checked="true"] { box-shadow: 0 0 0 3px rgba(201, 164, 92, .24); }
.ap-verified { border-color: rgba(201, 164, 92, .6); }

/* ==========================================================================================
   3 Oct 2026 — certificate sponsors: the "Our Esteemed Sponsors" strip and page, and the Super Admin screen
   ========================================================================================== */
#site #esteemedSponsors .section-head { margin-bottom: 18px; }
.es-marquee { position: relative; overflow: hidden; border-top: 1px solid var(--ae-line); border-bottom: 1px solid var(--ae-line); padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.es-track { display: flex; width: max-content; gap: 18px; margin: 0; padding: 0; list-style: none; }
.es-track.es-few { width: auto; justify-content: center; flex-wrap: wrap; }
.es-item { display: flex; align-items: center; gap: 12px; padding: 10px 18px; min-height: 64px; border: 1px solid var(--ae-line); border-radius: 14px;
  background-color: var(--ae-white); box-shadow: var(--ae-shadow-1); white-space: nowrap; }
.es-item img { height: 40px; max-width: 120px; object-fit: contain; }
.es-item span { font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.es-all { text-align: center; margin: 18px 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .es-track:not(.es-few) { animation: esRun 40s linear infinite; }
  .es-marquee:hover .es-track, .es-marquee:focus-within .es-track, .es-marquee:focus .es-track { animation-play-state: paused; }
}
@keyframes esRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .es-marquee { overflow-x: auto; } }
.es-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.es-card { padding: 22px; border: 1px solid var(--ae-line); border-radius: 16px; background-color: var(--ae-white); box-shadow: var(--ae-shadow-1); }
.es-card .es-logo { height: 64px; display: flex; align-items: center; margin-bottom: 12px; }
.es-card .es-logo img { max-height: 64px; max-width: 180px; object-fit: contain; }
.es-card h3 { font-size: 1.3rem; margin: 0 0 6px; }
.es-card p { margin: 6px 0 0; color: var(--slate); line-height: 1.6; overflow-wrap: anywhere; }
.sp-alerts { display: grid; gap: 8px; margin: 0 0 16px; }
.sp-alert { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(190, 58, 41, .35); background: rgba(190, 58, 41, .07); color: var(--ink-2); line-height: 1.5; }
.sp-await { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(201, 164, 92, .55); background: rgba(201, 164, 92, .12); color: var(--ink-2); }
.sp-chips { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.sp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; font-size: .84rem; background: var(--paper); }

/* 3 Oct 2026: with "Register School / Institute" the phone action bar wraps as before, clear of the round help button */
@media (max-width: 480px) {
  #heroActions .btn { padding-left: 10px; padding-right: 10px; font-size: .86rem; gap: 6px; }
}

/* 3 Oct 2026: the "How it prints on a certificate" preview on the Sponsors screen */
.sp-preview { border: 1px solid var(--ae-line); border-radius: 12px; overflow: hidden; background: #fff; }
.sp-preview svg { display: block; width: 100%; height: auto; }

/* ==========================================================================================
   3 Oct 2026 (second list) — the six-banner carousel, a more prominent sponsor strip, the step illustrations
   ========================================================================================== */
.bn-carousel { position: relative; overflow: hidden; background-color: var(--ae-midnight); }
.bn-track { position: relative; min-height: clamp(520px, 44vw, 640px); }
.bn-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr auto; align-items: center; gap: 0 32px;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 6vw, 96px) 18px; opacity: 0; visibility: hidden; transition: opacity .8s var(--ae-ease), visibility 0s linear .8s; }
.bn-slide.on { opacity: 1; visibility: visible; transition: opacity .8s var(--ae-ease), visibility 0s; }
.bn-slide .bn-copy { position: relative; z-index: 1; max-width: 640px; }
.bn-slide .bn-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 260px; }
.bn-slide .bn-events { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin: 18px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid rgba(201, 164, 92, .35); }
.bn-events li { font-size: .78rem; font-weight: 600; letter-spacing: .02em; padding: 5px 12px; border-radius: 99px; border: 1px solid rgba(201, 164, 92, .45); }
.bn-tag { margin: 0 0 10px; font-family: var(--text); font-weight: 700; font-size: .8rem; letter-spacing: .14em; font-variant-caps: all-small-caps; }
.bn-kicker { margin: 0 0 8px; font-weight: 650; font-size: .95rem; }
.bn-slide h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.04; }
.bn-slide h2 span { display: block; }
.bn-lead { margin: 14px 0 0; max-width: 54ch; font-size: clamp(.98rem, 1.3vw, 1.12rem); line-height: 1.6; }
.bn-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bn-hands { width: min(100%, 360px); height: auto; }
.bn-field, .bn-cane { width: min(100%, 340px); height: auto; }
.bn-badge { position: absolute; top: 4px; right: 6%; z-index: 2; display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; text-align: center;
  background: var(--ae-gold); color: var(--ae-midnight); box-shadow: 0 0 0 6px rgba(201, 164, 92, .25), 0 18px 40px rgba(0, 0, 0, .35); line-height: 1; }
.bn-badge span { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bn-badge b { font-family: var(--display); font-size: 2.6rem; }
.bn-badge em { font-style: normal; font-size: .68rem; font-weight: 600; }
.bn-portrait img { width: min(100%, 320px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; border: 3px solid var(--ae-gold); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); background: #fff; }
.bn-portrait.bn-noimg img { display: none; }
.bn-custom { padding: 0; display: block; }
.bn-custom img { width: 100%; height: 100%; object-fit: cover; }
/* six different looks */
.bn-1 { background: radial-gradient(900px 500px at 85% 10%, rgba(201, 164, 92, .25), transparent 60%), linear-gradient(135deg, #0E2145 0%, #09172F 100%); color: #FBF7EE; }
.bn-1 .bn-tag, .bn-3 .bn-tag, .bn-5 .bn-tag { color: var(--ae-champagne); }
.bn-1 h2 span, .bn-3 h2 span, .bn-5 h2 span { color: var(--ae-champagne); }
.bn-1 .bn-lead, .bn-3 .bn-lead, .bn-5 .bn-lead { color: rgba(251, 247, 238, .86); }
.bn-1 .bn-events li, .bn-3 .bn-events li, .bn-5 .bn-events li, .bn-6 .bn-events li { color: #F3EEE3; }
.bn-2 { background: radial-gradient(700px 420px at 75% 40%, rgba(201, 164, 92, .28), transparent 65%), linear-gradient(180deg, #FAF8F2 0%, #F2EAD8 100%); color: var(--ae-navy); }
.bn-2 .bn-tag, .bn-4 .bn-tag { color: var(--ae-gold-ink); }
.bn-2 h2 span, .bn-4 h2 span { color: #7A5C22; }
.bn-2 .bn-lead, .bn-4 .bn-lead { color: #2F3747; }
.bn-2 .bn-events li, .bn-4 .bn-events li { color: var(--ae-navy); background: rgba(255, 255, 255, .6); }
.bn-2 .bn-kicker, .bn-4 .bn-kicker { color: #7A5C22; }
.bn-3 { grid-template-columns: .8fr 1.2fr; background: radial-gradient(circle at 20% 30%, rgba(220, 195, 138, .22), transparent 45%), linear-gradient(120deg, #09172F 0%, #15294F 100%); color: #FBF7EE; }
.bn-3 .bn-kicker, .bn-5 .bn-kicker, .bn-1 .bn-kicker { color: var(--ae-champagne); }
.bn-4 { background: linear-gradient(160deg, #F7EDD5 0%, #FAF8F2 60%, #EADBB5 100%); color: var(--ae-navy); }
.bn-5 { grid-template-columns: .8fr 1.2fr; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 14px, transparent 14px 28px), linear-gradient(135deg, #15294F 0%, #0B1A38 100%); color: #FBF7EE; }
.bn-6 { background: linear-gradient(90deg, #0E2145 0%, #0E2145 58%, #7A5C22 58%, #C9A45C 100%); color: #FBF7EE; }
.bn-6 .bn-tag, .bn-6 .bn-kicker, .bn-6 h2 span { color: var(--ae-champagne); }
.bn-6 .bn-lead { color: rgba(251, 247, 238, .86); }
.bn-1 .bn-ghost, .bn-3 .bn-ghost, .bn-5 .bn-ghost, .bn-6 .bn-ghost { --bg: transparent; --fg: #FBF7EE; --bd: rgba(220, 195, 138, .6); }
.bn-nav { position: absolute; top: 46%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(201, 164, 92, .7); background: rgba(9, 23, 47, .55); color: #FBF7EE; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.bn-prev { left: 14px; } .bn-next { right: 14px; }
.bn-nav:hover { background: var(--ae-gold); color: var(--ae-midnight); }
.bn-dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.bn-dots button { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 1px solid var(--ae-gold); background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s var(--ae-ease), background .3s; }
.bn-dots button[aria-selected="true"] { width: 30px; background: var(--ae-gold); }
@media (max-width: 860px) {
  .bn-track { min-height: 0; display: grid; }
  .bn-slide { position: relative; grid-area: 1 / 1; grid-template-columns: 1fr; grid-template-rows: auto; text-align: center; padding: 28px 18px 40px; gap: 18px; }
  .bn-3, .bn-5 { grid-template-columns: 1fr; }
  .bn-slide .bn-copy { margin: 0 auto; }
  .bn-cta { justify-content: center; }
  .bn-slide .bn-art { min-height: 0; order: -1; }
  .bn-hands, .bn-field, .bn-cane { width: min(70%, 240px); }
  .bn-portrait img { width: min(55%, 200px); }
  .bn-badge { width: 84px; height: 84px; right: 4%; } .bn-badge b { font-size: 1.9rem; }
  .bn-nav { top: auto; bottom: 2px; width: 38px; height: 38px; font-size: 1.3rem; }
  .bn-6 { background: linear-gradient(180deg, #0E2145 0%, #0E2145 60%, #7A5C22 100%); }
}
@media (prefers-reduced-motion: reduce) { .bn-slide, .bn-slide.on { transition: none; } }
/* the sponsor strip: a royal band, larger tiles, View all centred */
#site #esteemedSponsors { background-color: var(--ae-midnight); background-image: radial-gradient(900px 320px at 50% -10%, rgba(201, 164, 92, .2), transparent 70%), linear-gradient(180deg, #0E2145 0%, #09172F 100%);
  border-top: 1px solid rgba(201, 164, 92, .45); border-bottom: 1px solid rgba(201, 164, 92, .45); padding-top: 64px; padding-bottom: 64px; }
#site #esteemedSponsors .section-head h2 { color: #FBF7EE; }
#esteemedSponsors .es-marquee { border-color: rgba(201, 164, 92, .3); padding: 20px 0; }
#esteemedSponsors .es-item { flex-direction: column; justify-content: center; gap: 10px; min-width: 210px; min-height: 120px; padding: 16px 24px; border: 1px solid rgba(201, 164, 92, .55);
  border-radius: 18px; background-color: #FFFFFF; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
#esteemedSponsors .es-item img { height: 58px; max-width: 180px; }
#esteemedSponsors .es-item span { font-size: 1.05rem; color: var(--ae-navy); }
#esteemedSponsors .es-all { display: flex; justify-content: center; align-items: center; margin: 28px auto 0; width: 100%; }
#esteemedSponsors .es-all .btn { --bg: var(--ae-gold); --fg: var(--ae-midnight); --bd: var(--ae-gold); padding: 12px 30px; }
/* the six steps: the hand illustrations sit on soft ivory medallions */
.washstep .ws-art { width: 112px; height: 84px; display: block; margin: 0 auto 10px; padding: 6px; border-radius: 18px; background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #F6EEDC 100%); border: 1px solid var(--ae-line); }
.sp-pgroup { margin: 8px 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.sp-pgroup-h { margin-bottom: 8px; }
/* 3 Oct 2026: with "Sponsors" in the menu the header keeps one row on very wide screens */
@media (min-width: 1800px) { #site .masthead .bar.wrap { width: min(1780px, 100% - 64px); max-width: 1780px; } }
/* the carousel takes the full width (the banner section was laid out for a single picture) */
#site .campaign-banner.bn-carousel { display: block; width: 100%; padding: 0; aspect-ratio: auto; height: auto; max-height: none; line-height: normal; }
#site .bn-carousel .bn-track { width: 100%; }
/* headline colours per banner, and portraits kept within the banner */
#site .bn-1 h2, #site .bn-3 h2, #site .bn-5 h2, #site .bn-6 h2 { color: #FBF7EE; }
#site .bn-2 h2, #site .bn-4 h2 { color: var(--ae-navy); }
.bn-slide { overflow: hidden; }
.bn-portrait { align-self: center; }
#site .bn-portrait img { width: auto; height: auto; max-width: min(100%, 300px); max-height: min(400px, 62vh); aspect-ratio: auto; object-fit: contain; }
@media (max-width: 860px) { #site .bn-portrait img { max-width: min(55%, 210px); max-height: 240px; } }
#site .bn-carousel > img[hidden] { display: none !important; }
/* banner arrows sit at the bottom centre, either side of the dots, on every screen (clear of the round help button) */
#site .bn-slide { padding-bottom: 60px; }
#site .bn-nav { top: auto; bottom: 8px; width: 38px; height: 38px; font-size: 1.3rem; }
#site .bn-prev { left: calc(50% - 140px); right: auto; }
#site .bn-next { right: calc(50% - 140px); left: auto; }
#site .bn-dots { bottom: 21px; }
/* banner contrast: a solid base under every gradient; gold only behind the portrait on Foundation Day; observances on a dark backing */
#site .bn-1, #site .bn-3, #site .bn-5 { background-color: #0E2145; }
#site .bn-2, #site .bn-4 { background-color: #FAF8F2; }
#site .bn-6 { background-color: #0E2145; background-image: radial-gradient(800px 420px at 80% 30%, rgba(201, 164, 92, .22), transparent 65%), linear-gradient(135deg, #0E2145 0%, #09172F 100%); }
#site .bn-6 .bn-art { position: relative; }
#site .bn-6 .bn-art::before { content: ""; position: absolute; inset: 6% 8%; border-radius: 28px; background: linear-gradient(160deg, #C9A45C 0%, #7A5C22 100%); opacity: .9; z-index: 0; }
#site .bn-6 .bn-art img { position: relative; z-index: 1; }
#site .bn-1 .bn-events li, #site .bn-3 .bn-events li, #site .bn-5 .bn-events li, #site .bn-6 .bn-events li { background-color: rgba(9, 23, 47, .82); color: #F3EEE3; }
@media (max-width: 860px) { #site .bn-6 { background-image: linear-gradient(180deg, #0E2145 0%, #09172F 100%); } }
/* the dots row is only as wide as the dots, and never covers the arrows beside it */
#site .bn-dots { left: 50%; right: auto; transform: translateX(-50%); width: auto; pointer-events: none; }
#site .bn-dots button { pointer-events: auto; }

/* ==========================================================================================
   3 Oct 2026 (third list) — the supplied banners, equal 15 October cards, the Foundation logo
   ========================================================================================== */
#site .campaign-banner.bn-images { background-color: #09172F; padding-bottom: 48px; }
#site .bn-images .bn-track { position: relative; width: min(100%, calc(78vh * 1672 / 941)); min-height: 0; margin: 0 auto; aspect-ratio: 1672 / 941; display: block; }
#site .bn-images .bn-slide.bn-img { position: absolute; inset: 0; display: block; padding: 0; overflow: hidden; }
#site .bn-images .bn-slide.bn-img img { display: block; width: 100%; height: 100%; object-fit: contain; background: #09172F; }
#site .bn-images .bn-nav { bottom: 5px; }
#site .bn-images .bn-dots { bottom: 18px; }
@media (max-width: 860px) {
  #site .bn-images .bn-track { width: 100%; }
  #site .bn-images .bn-slide.bn-img { position: absolute; grid-area: auto; }
}
@media (max-height: 520px) and (orientation: landscape) { #site .bn-images .bn-track { width: min(100%, calc(70vh * 1672 / 941)); } }
/* "On 15 October we also remember": every card the same width and height */
#oct15teaser .teaser-grid { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; align-items: stretch; max-width: 1280px; margin-left: auto; margin-right: auto; }
#oct15teaser .tcx { max-width: none; width: 100%; height: 100%; flex: none; justify-content: flex-start; }
@media (max-width: 1199px) { #oct15teaser .teaser-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { #oct15teaser .teaser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.tcx-art img.fd-logo { width: 86px; height: 86px; display: block; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ae-gold), 0 6px 14px rgba(14, 33, 69, .18); background: #fff; }
#oct15 img.fd-logo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--ae-gold); background: #fff; }
/* the arrows and dots always sit below the picture, never on it */
#site .campaign-banner.bn-images { padding-bottom: 48px !important; }
@media (max-width: 640px) {
  #site .bn-images .bn-nav { width: 30px; height: 30px; font-size: 1.05rem; bottom: 9px; }
  #site .bn-images .bn-prev { left: calc(50% - 104px); }
  #site .bn-images .bn-next { right: calc(50% - 104px); }
  #site .bn-images .bn-dots { bottom: 19px; gap: 6px; }
}
/* phones: the four action buttons stack in one centred column that always ends before the round help button's column */
@media (max-width: 480px) {
  #heroActions .btn { width: min(280px, calc(100vw - 148px)); margin-left: auto; margin-right: auto; justify-content: center; text-align: center; white-space: normal; }
}
/* tablets and landscape phones: the button row keeps equal margins and always ends before the round help button's column */
@media (min-width: 481px) and (max-width: 1024px) {
  #heroActions .ha-btns { max-width: calc(100% - 160px); margin-left: auto; margin-right: auto; }
}

/* ==========================================================================================
   3 Oct 2026 (fourth list) — full-width banners, the 15 October page, iSchoolMaster on every page
   ========================================================================================== */
/* banners: edge to edge, no gap on any side; the controls sit on the picture's lower edge */
#site .campaign-banner.bn-full { padding: 0 !important; margin: 0; background: transparent; }
#site .bn-full .bn-track { width: 100% !important; max-width: none !important; aspect-ratio: 16 / 9; margin: 0; }
#site .bn-full .bn-slide.bn-img img { object-fit: cover; background: transparent; }
#site .bn-full::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; pointer-events: none; z-index: 2; background: linear-gradient(180deg, rgba(9, 23, 47, 0), rgba(9, 23, 47, .55)); }
#site .bn-full .bn-nav { bottom: 10px; z-index: 3; background: rgba(9, 23, 47, .6); border-color: rgba(220, 195, 138, .75); }
#site .bn-full .bn-dots { bottom: 24px; z-index: 3; }
@media (max-width: 640px) {
  #site .bn-full::after { height: 40px; }
  #site .bn-full .bn-nav { width: 26px; height: 26px; font-size: .95rem; bottom: 5px; }
  #site .bn-full .bn-prev { left: calc(50% - 96px); } #site .bn-full .bn-next { right: calc(50% - 96px); }
  #site .bn-full .bn-dots { bottom: 13px; }
  #site .bn-full .bn-dots button { width: 8px; height: 8px; } #site .bn-full .bn-dots button[aria-selected="true"] { width: 20px; }
}
/* the 15 October page: every card the same size; the Foundation logo as a circle like the other icons */
#oct15 .tribute-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 18px; align-items: stretch; }
#oct15 .tribute-grid > * { height: 100%; margin: 0; }
@media (max-width: 1023px) { #oct15 .tribute-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { #oct15 .tribute-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; } }
#site #oct15 img.fd-logo { width: 56px !important; height: 56px !important; min-width: 56px; max-width: 56px; flex: 0 0 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ae-gold); background: #fff; }
/* iSchoolMaster: the website band */
#itpartner.partner { background: linear-gradient(180deg, #FFFFFF 0%, #F7F2E6 100%); border-top: 1px solid var(--ae-line); border-bottom: 1px solid var(--ae-line); }
#itpartner .ism-band { justify-content: center; gap: clamp(24px, 5vw, 72px); }
#itpartner .partner-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
#itpartner .ism-cta { margin-top: 14px; }
#itpartner .partner-card { padding: 22px 28px; border-radius: 22px; border: 1px solid rgba(201, 164, 92, .55); background: #fff; box-shadow: 0 18px 40px rgba(14, 33, 69, .12); transition: transform .2s var(--ae-ease), box-shadow .2s; }
#itpartner .partner-card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(14, 33, 69, .18); }
#itpartner .partner-card img { width: clamp(150px, 18vw, 210px); height: auto; }
@media (max-width: 640px) { #itpartner .ism-band { text-align: center; } #itpartner .partner-copy { margin: 0 auto; } }
/* iSchoolMaster: the badge on every page (website footer, dashboard menus, sign-in screens) */
.ism-badge { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.ism-badge-l { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5B6B82; }
.ism-badge-img { display: inline-flex; padding: 6px 12px; border-radius: 10px; background: #fff; box-shadow: 0 2px 10px rgba(14, 33, 69, .12); }
.ism-badge-img img { display: block; height: 24px; width: auto; }
.ism-on-dark .ism-badge-l { color: #C9D6EA; }
.ism-small .ism-badge-img img { height: 18px; }
.ism-small .ism-badge-l { font-size: .64rem; }
.ism-foot { display: flex; justify-content: center; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(201, 164, 92, .28); }
.ism-rail { padding: 14px 12px 18px; margin-top: 8px; border-top: 1px solid rgba(201, 164, 92, .25); display: flex; justify-content: center; }
.ism-rail .ism-badge { flex-direction: column; gap: 6px; }
.ism-login { display: flex; justify-content: center; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--ae-line); }

/* 3 Oct 2026 (fifth list): Super Admin sign-in codes, channels and templates; Remove sample data */
.mc-panel .mc-test { padding: 12px 14px; border-radius: 12px; background: var(--wash); border: 1px solid var(--line); }
.mc-warn { color: #8A4B00; margin: 8px 0 0; }
.mc-h { margin: 18px 0 8px; font-size: 1rem; }
.mc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.mc-card { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); display: flex; flex-direction: column; gap: 8px; }
.mc-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.mc-switch input { width: 18px; height: 18px; accent-color: var(--ae-navy); }
.mc-chip { align-self: flex-start; font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.mc-chip.ok { background: #E3F2EA; color: #14532D; } .mc-chip.no { background: #FFF1DD; color: #7A4300; }
.mc-table input, .mc-table select { width: 100%; min-width: 110px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; font-size: .84rem; }
.mc-table td { vertical-align: middle; }
.mc-table .mc-pur { min-width: 220px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
#rsPanel .btn-danger, .btn.btn-danger { --bg: #B42318; --fg: #fff; --bd: #B42318; background: #B42318; color: #fff; border-color: #B42318; }
#rsPanel .btn-danger:disabled { opacity: .5; cursor: not-allowed; }
/* the iSchoolMaster section in dark mode: dark background for the light text (the logo card stays white) */
[data-theme="dark"] #itpartner.partner { background: linear-gradient(180deg, #0B1A38 0%, #09172F 100%); border-color: rgba(201, 164, 92, .3); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #itpartner.partner { background: linear-gradient(180deg, #0B1A38 0%, #09172F 100%); border-color: rgba(201, 164, 92, .3); } }

/* 4 Oct 2026: the live domain shows the site once its server answers, or "Server Under Maintenance" */
html.srv-checking #site, html.srv-checking #app, html.srv-checking #login, html.srv-checking .gy-fab { visibility: hidden; }
html.srv-down #site, html.srv-down #app, html.srv-down #login, html.srv-down .gy-fab, html.srv-down #toasts, html.srv-down #langPrompt { display: none !important; }
#srvMaint { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; overflow: auto;
  background: radial-gradient(900px 500px at 50% 0%, rgba(201, 164, 92, .22), transparent 70%), linear-gradient(160deg, #0E2145 0%, #09172F 100%); color: #FBF7EE; text-align: center; }
#srvMaint .sm-card { max-width: 560px; padding: clamp(24px, 5vw, 44px); border-radius: 24px; border: 1px solid rgba(201, 164, 92, .45); background: rgba(9, 23, 47, .55); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
#srvMaint img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #C9A45C; background: #fff; }
#srvMaint .sm-org { margin: 14px 0 0; font-family: var(--display, Georgia, serif); font-size: 1.05rem; color: #DCC38A; }
#srvMaint h1 { margin: 10px 0 2px; font-family: var(--display, Georgia, serif); font-size: clamp(1.9rem, 5vw, 2.6rem); color: #FBF7EE; }
#srvMaint .sm-hi { margin: 0 0 14px; font-size: 1.15rem; color: #DCC38A; }
#srvMaint p { line-height: 1.6; color: #E7E2D6; }
#srvMaint .sm-contact a { color: #DCC38A; font-weight: 600; text-decoration: none; }


/* ==========================================================================================
   v14 · part AL (4 Oct 2026) — countdown, Pledge Day, sponsor names, membership breakup, the seven steps,
   carousel pictures and signatories (Super Admin). Presentation only; every size from 320 px phones to 4K.
   ========================================================================================== */
.v15-hi { display: none; }
html[data-lang="hi"] .v15-hi { display: inline; }
html[data-lang="hi"] .v15-en { display: none; }
/* 9. Hindi: the 15 October cards already show their title in Hindi, so the smaller Hindi line under it is not repeated */
html[data-lang="hi"] .tribute-card .tc-hi, html[data-lang="hi"] .teaser-card .tcx-hi { display: none; }

/* ---- 7. "The Countdown Has Begun" */
.cd-bar { position: relative; background: linear-gradient(100deg, #C9A45C 0%, #E9D7A8 50%, #C9A45C 100%); color: #0E2145;
  border-bottom: 1px solid rgba(14, 33, 69, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); overflow: hidden; }
.cd-bar::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 140px at 12% 50%, rgba(255, 255, 255, .38), transparent 70%), radial-gradient(420px 120px at 92% 40%, rgba(255, 255, 255, .22), transparent 70%); }
.cd-wrap { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; padding-top: 12px; padding-bottom: 12px; }
.cd-head { min-width: 0; }
.cd-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 1rem + 1.3vw, 1.95rem); line-height: 1.12; color: #0E2145; letter-spacing: .01em; }
.cd-when { margin: 7px 0 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.cd-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 99px; background: rgba(14, 33, 69, .1); border: 1px solid rgba(14, 33, 69, .24);
  font-size: .92rem; font-weight: 700; color: #0E2145; white-space: nowrap; }
.cd-chip svg { width: 16px; height: 16px; flex: none; }
.cd-clock { display: flex; align-items: flex-start; gap: 6px; }
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: clamp(56px, 12vw, 80px); }
.cd-n { display: block; width: 100%; text-align: center; padding: 9px 6px; border-radius: 12px; background: #0E2145; color: #FBF7EE; font-family: var(--text);
  font-weight: 800; font-size: clamp(1.4rem, 1rem + 2vw, 2.3rem); line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 14px rgba(9, 23, 47, .28), inset 0 -3px 0 rgba(201, 164, 92, .65); }
.cd-l { margin-top: 5px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #3A2A08; }
html[data-lang="hi"] .cd-l { letter-spacing: 0; text-transform: none; font-size: .84rem; }
.cd-sep { font-weight: 800; font-size: clamp(1.2rem, 1rem + 1.2vw, 1.8rem); color: #0E2145; padding-top: 7px; }
.cd-end { display: none; margin: 0; font-weight: 800; font-size: 1.08rem; color: #0E2145; }
.cd-done .cd-clock { display: none; }
.cd-done .cd-end { display: block; }
.cd-preview { border-radius: 14px; }
.cd-preview .cd-wrap { padding-left: 16px; padding-right: 16px; justify-content: center; }
[data-theme="dark"] .cd-bar { background: linear-gradient(100deg, #0F1B31, #15294F 50%, #0F1B31); border-bottom-color: rgba(201, 164, 92, .45); }
[data-theme="dark"] .cd-bar::before { background: radial-gradient(520px 140px at 12% 50%, rgba(201, 164, 92, .16), transparent 70%); }
[data-theme="dark"] .cd-title, [data-theme="dark"] .cd-end, [data-theme="dark"] .cd-sep { color: #F3EEE3; }
[data-theme="dark"] .cd-chip { background: rgba(201, 164, 92, .14); border-color: rgba(201, 164, 92, .45); color: #F3EEE3; }
[data-theme="dark"] .cd-n { background: #C9A45C; color: #09172F; box-shadow: 0 6px 14px rgba(0, 0, 0, .35), inset 0 -3px 0 rgba(9, 23, 47, .35); }
[data-theme="dark"] .cd-l { color: #DCC38A; }
@media (max-width: 900px) {
  .cd-wrap { flex-direction: column; text-align: center; gap: 9px; padding-top: 10px; padding-bottom: 12px; }
  .cd-when { justify-content: center; }
  .cd-clock { justify-content: center; width: 100%; }
}
@media (max-width: 400px) {
  .cd-clock { gap: 5px; }
  .cd-unit { min-width: 0; flex: 1 1 0; max-width: 76px; }
  .cd-sep { display: none; }
  .cd-n { padding: 8px 2px; }
  .cd-l { font-size: .64rem; letter-spacing: .03em; }
  .cd-chip { font-size: .8rem; padding: 3px 9px; }
}

/* ---- 4. Pledge Day */
#pledgeDay .pd-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin: 0 auto; }
#pledgeDay .pd-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#pledgeDay .pd-fact, #pledgeDay .pd-venue { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px;
  background: var(--ae-white); border: 1px solid var(--ae-line); box-shadow: var(--ae-shadow-1); }
#pledgeDay .pd-fact { align-items: center; }
#pledgeDay .pd-ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #0E2145; color: #DCC38A; box-shadow: 0 0 0 4px rgba(201, 164, 92, .22); }
#pledgeDay .pd-ic svg { width: 25px; height: 25px; }
#pledgeDay .pd-txt { min-width: 0; }
#pledgeDay .pd-k { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ae-gold-ink); }
html[data-lang="hi"] #pledgeDay .pd-k { letter-spacing: 0; text-transform: none; font-size: .9rem; }
#pledgeDay .pd-v { display: block; margin-top: 2px; font-family: var(--text); font-weight: 800; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem); color: var(--ink); line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; }
#pledgeDay .pd-pledge { grid-column: 1 / -1; position: relative; margin: 0; padding: 26px 28px; border-radius: 18px; text-align: center; color: #FBF7EE;
  background: radial-gradient(700px 200px at 50% 0%, rgba(201, 164, 92, .22), transparent 70%), linear-gradient(135deg, #0E2145, #15294F); box-shadow: var(--ae-shadow-2); }
#pledgeDay .pd-pledge .pd-k { color: #DCC38A; }
#pledgeDay .pd-pledge .pd-ic-l { margin: 0 auto 8px; background: rgba(201, 164, 92, .16); border: 1px solid rgba(201, 164, 92, .55); box-shadow: none; }
#pledgeDay .pd-pledge blockquote { margin: 10px auto 0; max-width: 840px; padding: 0; border: 0; }
#pledgeDay .pd-pledge blockquote p { margin: 0; font-family: var(--display); font-size: clamp(1.25rem, 1rem + 1.15vw, 1.8rem); line-height: 1.45; font-weight: 600; color: #FBF7EE; }
#pledgeDay .pd-pledge blockquote p::before { content: "\201C"; color: #C9A45C; margin-right: .08em; }
#pledgeDay .pd-pledge blockquote p::after { content: "\201D"; color: #C9A45C; margin-left: .04em; }
#pledgeDay .pd-venue { grid-column: 1 / -1; }
#pledgeDay .pd-venue p { margin: 4px 0 0; font-size: 1.06rem; line-height: 1.65; color: var(--ink-2); }
[data-theme="dark"] #pledgeDay .pd-pledge { background: radial-gradient(700px 200px at 50% 0%, rgba(201, 164, 92, .18), transparent 70%), linear-gradient(135deg, #15294F, #1E3561); }
@media (max-width: 640px) {
  #pledgeDay .pd-facts { grid-template-columns: 1fr; }
  #pledgeDay .pd-pledge { padding: 22px 16px; }
  #pledgeDay .pd-fact, #pledgeDay .pd-venue { padding: 14px 14px; gap: 12px; }
  #pledgeDay .pd-ic { width: 44px; height: 44px; }
}

/* ---- 5. Our Esteemed Sponsors: large, bold, high-contrast names */
#esteemedSponsors.es-v15 .es-marquee { padding: 24px 0; }
#esteemedSponsors.es-v15 .es-track { gap: 18px; }
#esteemedSponsors.es-v15 .es-track.es-few { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 4px; }
#esteemedSponsors.es-v15 .es-item { min-width: 260px; min-height: 156px; padding: 22px 22px 20px; gap: 12px; justify-content: center; text-align: center;
  background: #FFFFFF; border: 1px solid rgba(201, 164, 92, .8); border-radius: 18px; box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
#esteemedSponsors.es-v15 .es-track.es-few .es-item { min-width: 0; }
#esteemedSponsors.es-v15 .es-item { white-space: normal; max-width: 360px; }
#esteemedSponsors.es-v15 .es-track.es-few .es-item { max-width: none; }
#esteemedSponsors.es-v15 .es-marquee.es-still { -webkit-mask-image: none; mask-image: none; overflow: visible; }
#esteemedSponsors.es-v15 .es-item img { height: 66px; max-width: 210px; }
#esteemedSponsors.es-v15 .es-item .es-name { display: block; font-family: var(--text); font-weight: 800; font-size: clamp(1.15rem, 1rem + .55vw, 1.45rem); line-height: 1.25;
  letter-spacing: .005em; color: #0E2145; text-wrap: balance; overflow-wrap: anywhere; }
#esteemedSponsors.es-v15 .es-item .es-name::after { content: ""; display: block; width: 48px; height: 3px; margin: 10px auto 0; border-radius: 2px; background: #C9A45C; }
@media (prefers-reduced-motion: no-preference) { #esteemedSponsors.es-v15 .es-track:not(.es-few) { animation-duration: 75s; } }
@media (max-width: 640px) {
  #esteemedSponsors.es-v15 .es-item { min-width: 220px; min-height: 132px; padding: 18px 16px; }
  #esteemedSponsors.es-v15 .es-track.es-few { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
}
#sponsorsAll .es-card h3 { font-family: var(--text); font-weight: 800; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); line-height: 1.25; color: var(--ink); }
#sponsorsAll .es-card .es-logo { height: 76px; }
#sponsorsAll .es-card .es-logo img { max-height: 76px; max-width: 220px; }

/* ---- 6. Membership & sponsorship: the four packages with their donation breakup */
#membership .ms-v15 { display: grid; gap: 22px; }
#membership .ms-v15 .ms-col { display: block; height: auto; padding: 22px; border: 1px solid var(--ae-line); border-radius: 18px; background: var(--ae-white); box-shadow: var(--ae-shadow-1); min-width: 0; }
#membership .ms-v15 .ms-card { min-width: 0; }
#membership .ms-v15 .ms-amt { overflow-wrap: anywhere; }
#membership .ms-v15 .ms-col > h3 { text-align: center; margin: 0 0 16px; }
#membership .ms-v15 .ms-members .ms-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; max-width: 920px; margin: 0 auto; }
#membership .ms-v15 .ms-col > .btn { display: flex; width: fit-content; max-width: 100%; margin: 18px auto 0; }
.mp-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.mp-grid.mp-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* one plan (4 Oct 2026, evening): a single card, centred, at a readable width */
.mp-grid.mp-one { grid-template-columns: minmax(0, 460px); justify-content: center; }
@media (max-width: 1240px) { .mp-grid.mp-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mp-grid.mp-four { grid-template-columns: 1fr; } #membership .ms-v15 .ms-col { padding: 16px 12px; } }
.mp-card { --tier: #C9A45C; position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--ae-line); border-radius: 16px;
  background: var(--ae-white); box-shadow: var(--ae-shadow-1); overflow: hidden; }
.mp-card::before { content: ""; display: block; height: 6px; background: var(--tier); }
.mp-bronze { --tier: #A0673A; } .mp-silver { --tier: #8B96A8; } .mp-gold { --tier: #C9A45C; } .mp-deshratna { --tier: #0E2145; }
[data-theme="dark"] .mp-deshratna { --tier: #DCC38A; }
.mp-deshratna { border-color: rgba(201, 164, 92, .75); box-shadow: 0 12px 30px rgba(9, 23, 47, .14); }
.mp-top { padding: 16px 16px 8px; text-align: center; }
.mp-medal { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tier); color: #FFFFFF; }
.mp-medal svg { width: 22px; height: 22px; }
.mp-deshratna .mp-medal { color: #DCC38A; }
[data-theme="dark"] .mp-deshratna .mp-medal { color: #09172F; }
.mp-name { margin: 8px 0 2px; font-family: var(--text); font-weight: 800; font-size: 1.14rem; line-height: 1.3; color: var(--ink); }
.mp-amt { margin: 0; font-family: var(--text); font-weight: 800; font-size: 1.75rem; line-height: 1.2; color: var(--ae-gold-ink); }
.mp-break { display: flex; flex-direction: column; flex: 1; padding: 4px 16px 16px; }
.mp-bh { margin: 6px 0 6px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); text-align: center; }
html[data-lang="hi"] .mp-bh { letter-spacing: 0; text-transform: none; font-size: .88rem; }
.mp-list { margin: 0 0 10px; padding: 0; list-style: none; counter-reset: mp; }
.mp-list li { counter-increment: mp; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 8px 0; border-top: 1px dashed var(--ae-line); font-size: .93rem; line-height: 1.42; }
.mp-list li::before { content: counter(mp); display: inline-grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--wash-2); color: var(--ink); font-size: .72rem; font-weight: 800; align-self: start; }
.mp-l { color: var(--ink-2); overflow-wrap: anywhere; }
.mp-a { font-weight: 800; color: var(--ink); white-space: nowrap; text-align: right; }
.mp-inc { color: var(--ae-gold-ink); }
.mp-inc svg { width: 18px; height: 18px; vertical-align: -3px; }
.mp-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: auto 0 0; padding-top: 10px; border-top: 2px solid var(--tier); font-weight: 800; color: var(--ink); }
.mp-total b { font-size: 1.12rem; }

/* ---- 8. The seven steps children learn */
.s7 { margin-top: 44px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(201, 164, 92, .6); background: var(--ae-white); box-shadow: var(--ae-shadow-2); }
.s7-head { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: radial-gradient(600px 160px at 85% 0%, rgba(201, 164, 92, .25), transparent 70%), linear-gradient(120deg, #0E2145, #15294F); color: #FBF7EE; }
.s7-badge { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F4E6C4, #C9A45C);
  color: #0E2145; font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1; box-shadow: 0 0 0 4px rgba(201, 164, 92, .25); }
.s7-head h3 { margin: 0; color: #FBF7EE; font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.05rem); line-height: 1.15; }
.s7-track { display: flex; align-items: center; margin: 10px 0 0; padding: 0; list-style: none; }
.s7-track li { position: relative; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #C9A45C; color: #DCC38A; font-size: .74rem; font-weight: 800; }
.s7-track li + li { margin-left: 18px; }
.s7-track li + li::before { content: ""; position: absolute; right: calc(100% + 1.5px); top: 50%; width: 18px; height: 1.5px; background: rgba(201, 164, 92, .75); }
.s7-grid { list-style: none; margin: 0; padding: 22px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }
.s7-step { grid-column: span 2; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 14px 16px;
  border-radius: 16px; background: var(--wash); border: 1px solid var(--ae-line); min-width: 0; }
.s7-step:nth-child(5) { grid-column: 2 / span 2; }
.s7-no { position: absolute; top: 10px; left: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #0E2145; color: #DCC38A;
  font-weight: 800; font-size: 1.02rem; box-shadow: 0 0 0 3px rgba(201, 164, 92, .35); }
.s7-art { width: 100%; max-width: 176px; }
.s7-art svg { display: block; width: 100%; height: auto; }
.s7-txt { display: grid; gap: 4px; min-width: 0; }
.s7-t { margin: 0; font-family: var(--text); font-weight: 800; font-size: 1.04rem; line-height: 1.3; color: var(--ink); }
.s7-d { margin: 0; font-size: .93rem; line-height: 1.5; color: var(--ink-2); }
[data-theme="dark"] .s7-step { background: var(--wash-2); }
@media (max-width: 1024px) {
  .s7-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s7-step, .s7-step:nth-child(5) { grid-column: auto; }
  .s7-step:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
}
@media (max-width: 640px) {
  .s7-head { padding: 16px; gap: 12px; }
  .s7-badge { width: 52px; height: 52px; font-size: 2rem; }
  .s7-track { display: none; }
  .s7-grid { grid-template-columns: 1fr; padding: 14px; gap: 12px; }
  .s7-step, .s7-step:last-child { grid-column: auto; width: auto; flex-direction: row; text-align: left; align-items: center; gap: 12px; padding: 14px 12px 14px 14px; }
  .s7-art { flex: none; width: 104px; max-width: 104px; }
  .s7-no { top: 8px; left: 8px; width: 28px; height: 28px; font-size: .9rem; }
}

/* ---- 2. the carousel: a picture shown whole */
#site .bn-full .bn-slide.bn-img.bn-contain img, #site .bn-images .bn-slide.bn-img.bn-contain img { object-fit: contain; background: #09172F; }

/* ---- Super Admin: carousel pictures, signatories, the people's signatures */
.cr-list { display: grid; gap: 12px; }
.cr-row { display: grid; grid-template-columns: auto minmax(0, 360px) minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.cr-row.cr-off { opacity: .62; }
.cr-order { display: grid; justify-items: center; gap: 6px; }
.cr-no { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0E2145; color: #DCC38A; font-weight: 800; }
.cr-pics { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.cr-thumb { margin: 0; min-width: 0; }
.cr-thumb img, .cr-none { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #09172F; }
.cr-none { display: grid; place-items: center; color: #B9C9DF; font-size: .76rem; text-align: center; padding: 6px; }
.cr-thumb figcaption { margin-top: 4px; font-size: .76rem; color: var(--mute); }
.cr-fields .field { margin-bottom: 8px; }
.cr-acts { gap: 8px 14px; margin-top: 6px; align-items: center; }
.cr-chk { gap: 8px; font-size: .9rem; align-items: center; }
@media (max-width: 900px) { .cr-row { grid-template-columns: 1fr; } .cr-order { grid-auto-flow: column; justify-content: start; align-items: center; } }
.sg-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1200px) { .sg-layout { grid-template-columns: 1fr; } }
.sg-face { display: inline-block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #C9A45C; background: var(--wash); flex: none; }
.sg-face-lg { width: 72px; height: 72px; }
.sg-signimg { display: inline-block; height: 34px; max-width: 130px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 4px; }
.sg-signimg-lg { height: 58px; max-width: 210px; }
span.sg-signimg.sg-empty { width: 96px; }
span.sg-signimg-lg.sg-empty { width: 150px; }
.sg-empty { background: var(--wash); border: 1px dashed var(--line); }
.sg-std { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.sg-std-one { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.sg-std-one .sg-signimg { margin-top: 6px; }
.sg-where { margin: 4px 0 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.sg-where legend { padding: 0 6px; font-weight: 800; }
.sg-out { gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.sg-chips { margin-top: 8px; }
.sg-x { border: 0; background: none; cursor: pointer; font-size: 1.15rem; line-height: 1; color: var(--mute); padding: 0 2px; }
.sg-table td { vertical-align: middle; }
.ppl-sign { display: block; height: 30px; max-width: 150px; object-fit: contain; margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 4px; }
.ppl-signbox { display: inline-grid; place-items: center; width: 150px; height: 60px; flex: none; background: #fff; border: 1px dashed var(--line); border-radius: 8px; }
.ppl-signbox img { max-width: 140px; max-height: 52px; object-fit: contain; }
.ppl-signbox img:not([src]), .ppl-signbox img[src=""] { display: none; }

/* ==========================================================================================
   v14 · part AM (5 Oct 2026) — the countdown names its event and stays under the header; Our Esteemed Sponsors on one
   running line; the base plan with its add-on items; Participating Schools / Institutes across India.
   Presentation only; every size from 320 px phones to 4K, light and dark.
   ========================================================================================== */

/* ---- the countdown: what it counts down to */
.cd-event { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 5px 15px 5px 11px; border-radius: 999px; max-width: 100%;
  background: #0E2145; color: #F4E6C4; font-family: var(--text); font-weight: 800; font-size: clamp(.9rem, .8rem + .45vw, 1.1rem); line-height: 1.25; letter-spacing: .05em;
  box-shadow: 0 6px 14px rgba(9, 23, 47, .26), inset 0 -2px 0 rgba(201, 164, 92, .7); }
html:not([data-lang="hi"]) .cd-event { text-transform: uppercase; }
html[data-lang="hi"] .cd-event { letter-spacing: 0; font-size: clamp(.98rem, .88rem + .45vw, 1.18rem); }
.cd-event svg { width: 17px; height: 17px; flex: none; color: #DCC38A; fill: rgba(220, 195, 138, .28); }
.cd-preview .cd-event { margin-left: auto; margin-right: auto; }
[data-theme="dark"] .cd-event { background: #C9A45C; color: #09172F; box-shadow: 0 6px 14px rgba(0, 0, 0, .35), inset 0 -2px 0 rgba(9, 23, 47, .35); }
[data-theme="dark"] .cd-event svg { color: #09172F; fill: rgba(9, 23, 47, .2); }
@media (max-width: 400px) { .cd-event { font-size: .82rem; padding: 4px 11px 4px 9px; letter-spacing: .03em; } .cd-event svg { width: 15px; height: 15px; } }

/* ---- the slim countdown that stays under the header while the visitor scrolls */
.cd-bar.cd-mini { position: fixed; left: 0; right: 0; top: 0; z-index: 39; overflow: hidden; transform: translateY(-115%); visibility: hidden;
  transition: transform .28s ease, visibility 0s linear .28s; border-bottom: 1px solid rgba(14, 33, 69, .3); box-shadow: 0 8px 20px rgba(9, 23, 47, .2); }
.cd-bar.cd-mini.cd-mini-on { transform: none; visibility: visible; transition: transform .28s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .cd-bar.cd-mini, .cd-bar.cd-mini.cd-mini-on { transition: none; } }
@media print { .cd-bar.cd-mini { display: none !important; } }
.cd-mini-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px 18px; min-height: 54px; padding-top: 6px; padding-bottom: 6px; }
.cd-mini-ev { margin: 0; min-width: 0; display: flex; align-items: center; flex-wrap: nowrap; gap: 3px 10px; color: #0E2145; font-family: var(--text); font-weight: 800; font-size: 1rem; line-height: 1.2; }
.cd-mini-ev > svg { width: 18px; height: 18px; flex: none; fill: rgba(14, 33, 69, .12); }
.cd-mini-t { min-width: 0; }
html:not([data-lang="hi"]) .cd-mini-t { text-transform: uppercase; letter-spacing: .05em; }
.cd-mini-when { font-weight: 700; font-size: .86rem; color: #3A2A08; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.cd-bar.cd-mini .cd-mini-clock { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: none; width: auto; }
.cd-mu { display: inline-flex; align-items: center; gap: 5px; }
.cd-bar.cd-mini .cd-n { width: auto; min-width: 40px; padding: 6px 6px; border-radius: 9px; font-size: 1.15rem; box-shadow: 0 3px 8px rgba(9, 23, 47, .25), inset 0 -2px 0 rgba(201, 164, 92, .7); }
.cd-ml { font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #3A2A08; }
html[data-lang="hi"] .cd-ml { text-transform: none; letter-spacing: 0; font-size: .78rem; }
.cd-bar.cd-mini .cd-end { font-size: .95rem; }
.cd-bar.cd-mini.cd-done .cd-mini-clock { display: none; }
[data-theme="dark"] .cd-mini-ev, [data-theme="dark"] .cd-mini-when { color: #F3EEE3; }
[data-theme="dark"] .cd-ml { color: #DCC38A; }
/* anchors land below the header and the slim countdown */
html.cd-sticky section[id], html.cd-sticky #footSocial { scroll-margin-top: 142px; }
@media (max-width: 1180px) {
  .cd-mini-when { display: none; }
}
@media (max-width: 1100px) {
  .cd-mu { flex-direction: column; gap: 1px; }
  .cd-bar.cd-mini .cd-n { min-width: 38px; padding: 4px 4px; font-size: 1.04rem; }
  .cd-ml { font-size: .58rem; letter-spacing: .04em; }
  html[data-lang="hi"] .cd-ml { font-size: .64rem; }
}
@media (max-width: 640px) {
  .cd-mini-in { min-height: 48px; gap: 8px; padding-top: 5px; padding-bottom: 5px; }
  .cd-mini-ev { font-size: .82rem; gap: 6px; }
  html:not([data-lang="hi"]) .cd-mini-t { text-transform: none; letter-spacing: 0; }
  .cd-mini-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .cd-bar.cd-mini .cd-mini-clock { gap: 4px; }
  .cd-bar.cd-mini .cd-n { min-width: 34px; padding: 4px 3px; border-radius: 7px; font-size: .98rem; }
  .cd-ml { font-size: .54rem; letter-spacing: .03em; }
  html[data-lang="hi"] .cd-ml { font-size: .6rem; }
}
@media (max-width: 380px) {
  .cd-mini-ev { font-size: .76rem; }
  .cd-mini-ev > svg { display: none; }
  .cd-bar.cd-mini .cd-mini-clock { gap: 3px; }
  .cd-bar.cd-mini .cd-n { min-width: 29px; padding: 4px 2px; font-size: .88rem; }
}

/* ---- Our Esteemed Sponsors: one running line */
#site #esteemedSponsors.es-v16 { padding-top: 58px; padding-bottom: 50px; }
#site #esteemedSponsors.es-v16 .section-head { margin-bottom: 24px; }
#esteemedSponsors.es-v16 .es-marquee { position: relative; padding: 22px 0; border: 0; overflow: hidden;
  background: linear-gradient(90deg, rgba(201, 164, 92, 0), rgba(201, 164, 92, .09) 18%, rgba(201, 164, 92, .09) 82%, rgba(201, 164, 92, 0));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
/* a double gold rule above and below the line, as on a royal frame */
#esteemedSponsors.es-v16 .es-marquee::before, #esteemedSponsors.es-v16 .es-marquee::after { content: ""; position: absolute; left: 0; right: 0; height: 5px; pointer-events: none;
  border-top: 1px solid rgba(201, 164, 92, .8); border-bottom: 1px solid rgba(201, 164, 92, .32); }
#esteemedSponsors.es-v16 .es-marquee::before { top: 0; }
#esteemedSponsors.es-v16 .es-marquee::after { bottom: 0; border-top-color: rgba(201, 164, 92, .32); border-bottom-color: rgba(201, 164, 92, .8); }
#esteemedSponsors.es-v16 .es-track { display: flex; align-items: center; gap: 0; width: max-content; margin: 0; padding: 0 0 0 4px; list-style: none; }
@media (prefers-reduced-motion: no-preference) {
  #esteemedSponsors.es-v16 .es-marquee.es-run .es-track { animation: esRun var(--es-dur, 60s) linear infinite; }
  #esteemedSponsors.es-v16 .es-marquee.es-paused .es-track, #esteemedSponsors.es-v16 .es-marquee.es-touch .es-track,
  #esteemedSponsors.es-v16 .es-marquee:hover .es-track, #esteemedSponsors.es-v16 .es-marquee:focus-within .es-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  #esteemedSponsors.es-v16 .es-marquee { overflow-x: auto; scroll-snap-type: x proximity; -webkit-mask-image: none; mask-image: none; }
  #esteemedSponsors.es-v16 .es-plq { scroll-snap-align: start; }
}
#esteemedSponsors.es-v16 .es-marquee:focus-visible { outline: 2px solid #DCC38A; outline-offset: 4px; }
.es-plq { position: relative; flex: none; display: flex; align-items: center; gap: 16px; margin: 0 76px 0 0; padding: 0; white-space: nowrap; }
.es-plq::after { content: ""; position: absolute; right: -42px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; transform: rotate(45deg);
  background: linear-gradient(135deg, #F4E6C4, #C9A45C); box-shadow: 0 0 0 3px rgba(201, 164, 92, .2); }
.es-logo { flex: none; display: grid; place-items: center; width: 132px; height: 74px; padding: 8px 12px; border-radius: 14px; background: #FFFFFF;
  border: 1px solid rgba(201, 164, 92, .95); box-shadow: 0 0 0 4px rgba(201, 164, 92, .16), 0 12px 24px rgba(0, 0, 0, .34); }
.es-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.es-mono { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F4E6C4, #C9A45C);
  color: #0E2145; font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; box-shadow: inset 0 0 0 2px rgba(14, 33, 69, .25); }
.es-name { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1.05rem + .75vw, 1.72rem); line-height: 1.15; color: #FBF7EE; letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
.es-ctl { display: flex; justify-content: center; margin: 14px 0 0; }
.es-pause { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid rgba(201, 164, 92, .75);
  background: rgba(255, 255, 255, .05); color: #DCC38A; cursor: pointer; transition: background-color .2s ease; }
.es-pause svg { width: 16px; height: 16px; fill: currentColor; }
.es-pause .es-ic-play, .es-pause.is-paused .es-ic-pause, .es-pause .es-play-l, .es-pause.is-paused .es-pause-l { display: none; }
.es-pause.is-paused .es-ic-play, .es-pause.is-paused .es-play-l { display: inline; }
.es-pause:hover { background: rgba(201, 164, 92, .18); }
.es-pause:focus-visible { outline: 2px solid #DCC38A; outline-offset: 3px; }
#esteemedSponsors.es-v16 .es-all { margin-top: 18px; }
@media (max-width: 640px) {
  #site #esteemedSponsors.es-v16 { padding-top: 44px; padding-bottom: 40px; }
  #esteemedSponsors.es-v16 .es-marquee { padding: 16px 0; }
  .es-plq { gap: 12px; margin-right: 54px; }
  .es-plq::after { right: -31px; width: 7px; height: 7px; margin-top: -3.5px; }
  .es-logo { width: 104px; height: 60px; padding: 6px 9px; border-radius: 12px; }
  .es-mono { width: 44px; height: 44px; font-size: 1.05rem; }
  .es-name { font-size: 1.12rem; }
}

/* ---- the base plan and its add-on items, side by side */
.sp-custom { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 540px); justify-content: center; align-items: start; gap: 20px; }
.sp-custom > .mp-grid.mp-one { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1060px) { .sp-custom { grid-template-columns: minmax(0, 580px); } }
.mp-base { margin: 8px 0 0; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ae-gold-ink); }
html[data-lang="hi"] .mp-base { letter-spacing: 0; text-transform: none; font-size: .86rem; }
.ao-panel { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 20px 18px 16px; border: 1px solid rgba(201, 164, 92, .75); border-radius: 16px;
  background: var(--ae-white); box-shadow: 0 12px 30px rgba(9, 23, 47, .12); overflow: hidden; }
.ao-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, #C9A45C, #E9D7A8, #C9A45C); }
.ao-head { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 8px; }
.ao-badge { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #0E2145; color: #DCC38A; box-shadow: 0 0 0 4px rgba(201, 164, 92, .2); }
.ao-badge svg { width: 22px; height: 22px; }
.ao-head h4 { margin: 2px 0 2px; font-family: var(--text); font-weight: 800; font-size: 1.14rem; line-height: 1.3; color: var(--ink); }
.ao-note { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.ao-list { list-style: none; margin: 0; padding: 0; }
.ao-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 11px 0; border-top: 1px dashed var(--ae-line); }
.ao-txt { display: grid; gap: 3px; min-width: 0; }
.ao-name { color: var(--ink-2); font-size: .95rem; line-height: 1.42; overflow-wrap: anywhere; }
.ao-item.ao-on .ao-name { color: var(--ink); font-weight: 700; }
.ao-price { font-size: .84rem; font-weight: 800; color: var(--ae-gold-ink); }
.ao-step { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--ae-line); border-radius: 999px; background: var(--wash); }
.ao-btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #0E2145; color: #FBF7EE;
  font-family: var(--text); font-size: 1.25rem; font-weight: 800; line-height: 1; cursor: pointer; transition: background-color .15s ease; }
.ao-btn:hover:not(:disabled) { background: #15294F; }
.ao-btn:disabled { background: transparent; color: var(--mute); cursor: default; }
.ao-btn:focus-visible { outline: 2px solid #C9A45C; outline-offset: 2px; }
.ao-qty { min-width: 34px; text-align: center; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.ao-sum { display: grid; gap: 4px; margin-top: 6px; padding-top: 10px; border-top: 2px solid #C9A45C; }
.ao-sum p { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0; font-size: .95rem; color: var(--ink-2); }
.ao-sum-l { min-width: 0; overflow-wrap: anywhere; }
.ao-sum b { color: var(--ink); white-space: nowrap; }
.ao-sum .ao-total { margin-top: 6px; padding: 9px 14px; border-radius: 12px; background: #0E2145; color: #FBF7EE; font-weight: 800; }
.ao-sum .ao-total b { color: #F4E6C4; font-size: 1.22rem; }
.ao-fine { margin: 10px 0 0; font-size: .8rem; line-height: 1.45; color: var(--mute); }
[data-theme="dark"] .ao-btn:not(:disabled) { background: #C9A45C; color: #09172F; }
[data-theme="dark"] .ao-badge { background: #C9A45C; color: #09172F; }
[data-theme="dark"] .ao-sum .ao-total { background: #C9A45C; color: #09172F; }
[data-theme="dark"] .ao-sum .ao-total b { color: #09172F; }
@media (max-width: 640px) { .ao-panel { padding: 18px 12px 14px; } }
@media (max-width: 360px) { .ao-item { grid-template-columns: 1fr; } .ao-step { justify-self: start; } }
/* the sponsor registration form */
.ao-form { margin: 4px 0 14px; padding: 12px 14px 14px; border: 1px solid rgba(201, 164, 92, .65); border-radius: 12px; background: var(--paper); min-width: 0; }
.ao-form legend { padding: 0 6px; font-weight: 800; color: var(--ink); }
.ao-form-note { margin: 0 0 4px; }
.ao-done { border-color: rgba(201, 164, 92, .75); }
/* Super Admin: the list, the preview and one sponsor's add-ons */
.ao-rows { display: grid; gap: 12px; margin-top: 10px; }
.ao-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.ao-row-off { opacity: .66; }
.ao-row-no { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0E2145; color: #DCC38A; font-weight: 800; }
.ao-row-f { min-width: 0; }
.ao-row-f .field { margin-bottom: 8px; }
.ao-row-acts { gap: 8px 12px; align-items: center; }
.ao-preview .ao-panel { box-shadow: none; }
.ao-cc { margin: 6px 0 10px; }
.ao-cc .btn { margin-top: 8px; }
.ao-cc-tot td { border-top: 2px solid var(--line); }
.ao-edit { display: grid; gap: 4px; margin: 10px 0; }
.ao-edit-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ao-edit-row label { display: grid; gap: 2px; min-width: 0; }
.ao-mine ul { margin: 0 0 10px; padding-left: 18px; }

/* ---- Participating Schools / Institutes across India */
.ps-group { margin: 0 0 28px; }
.ps-gh { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 10px; margin: 0 0 12px; font-family: var(--display);
  font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); line-height: 1.2; color: var(--ink); text-align: center; }
.ps-gh small { font-family: var(--text); font-size: .78rem; font-weight: 800; color: #0E2145; background: rgba(201, 164, 92, .28); padding: 2px 10px; border-radius: 99px; }
.ps-block h4 { margin: 0 0 6px; font-family: var(--text); font-size: 1rem; font-weight: 800; color: var(--ink); }
[data-theme="dark"] .ps-gh small { color: #09172F; background: #C9A45C; }

/* ==========================================================================================
   v14 · part AN (5 Oct 2026) — Our Designated Patron Members: the cards, each profile, and the Super Admin screen.
   The website's navy, gold and ivory; every size from 320 px phones to 4K, light and dark.
   ========================================================================================== */
#patronMembers .section-head .eyebrow { color: var(--ae-gold-ink); }
.pm-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 290px)); justify-content: center; max-width: 1240px; }
.pm-card { min-width: 0; }
.pm-link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 26px 18px 20px; text-align: center; text-decoration: none; color: inherit;
  background: var(--ae-white); border: 1px solid rgba(201, 164, 92, .55); border-radius: 20px; box-shadow: var(--ae-shadow-1); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pm-link::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, #C9A45C, #E9D7A8, #C9A45C); }
.pm-link:hover { transform: translateY(-3px); box-shadow: var(--ae-shadow-2); border-color: rgba(201, 164, 92, .95); }
.pm-link:focus-visible { outline: 3px solid #C9A45C; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .pm-link, .pm-link:hover { transition: none; transform: none; } }
/* the portrait in a gold arched frame */
.pm-frame { position: relative; display: grid; place-items: center; flex: none; width: 168px; aspect-ratio: 4 / 5; margin-bottom: 10px; overflow: hidden;
  border-radius: 999px 999px 18px 18px; border: 3px solid #C9A45C; background: radial-gradient(circle at 50% 30%, #1E3561, #0E2145);
  box-shadow: 0 0 0 6px rgba(201, 164, 92, .16), 0 14px 26px rgba(9, 23, 47, .22); }
.pm-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.pm-mono { font-family: var(--display); font-weight: 700; font-size: 3rem; letter-spacing: .03em; color: #DCC38A; }
.pm-name { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 1.15rem + .45vw, 1.55rem); line-height: 1.2; color: var(--ink); text-wrap: balance; overflow-wrap: anywhere; }
.pm-title { font-size: .94rem; line-height: 1.45; color: var(--ink-2); font-weight: 600; overflow-wrap: anywhere; }
.pm-place { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 700; color: var(--ae-gold-ink); }
.pm-place svg { width: 15px; height: 15px; flex: none; }
.pm-intro { margin-top: 4px; font-size: .9rem; line-height: 1.55; color: var(--mute); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.pm-more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 10px; font-weight: 800; font-size: .9rem; color: var(--ae-gold-ink); }
.pm-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.pm-link:hover .pm-more svg { transform: translateX(3px); }
.pm-empty { max-width: 640px; margin: 0 auto; padding: 26px 20px; text-align: center; border: 1px dashed rgba(201, 164, 92, .7); border-radius: 16px; color: var(--ink-2); background: var(--ae-white); }
/* one patron */
.pm-back { max-width: 1120px; margin: 0 auto 16px; }
.pm-back a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ae-gold-ink); text-decoration: none; }
.pm-back a:hover { text-decoration: underline; }
.pm-back svg { width: 18px; height: 18px; }
.pm-profile { max-width: 1120px; margin: 0 auto; }
.pm-hero { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 34px; align-items: center; padding: 34px 38px; border-radius: 24px; color: #FBF7EE;
  background: radial-gradient(760px 260px at 80% 0%, rgba(201, 164, 92, .24), transparent 70%), linear-gradient(135deg, #0E2145, #15294F); box-shadow: var(--ae-shadow-2);
  border: 1px solid rgba(201, 164, 92, .5); }
.pm-hero-photo { display: grid; place-items: center; }
.pm-frame-lg { width: min(100%, 280px); margin: 0; border-width: 4px; box-shadow: 0 0 0 8px rgba(201, 164, 92, .2), 0 14px 26px rgba(0, 0, 0, .22); }
.pm-frame-lg .pm-mono { font-size: 4.4rem; }
.pm-hero-txt { min-width: 0; }
.pm-badge { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px; padding: 5px 14px 5px 10px; border-radius: 999px; background: rgba(201, 164, 92, .16);
  border: 1px solid rgba(201, 164, 92, .6); color: #F4E6C4; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
html[data-lang="hi"] .pm-badge { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.pm-badge svg { width: 16px; height: 16px; color: #DCC38A; fill: rgba(220, 195, 138, .3); }
.pm-hname { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 1.45rem + 1.7vw, 3rem); line-height: 1.1; color: #FBF7EE; text-wrap: balance; overflow-wrap: anywhere; }
.pm-htitle { margin: 8px 0 0; font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); line-height: 1.5; color: #E9D7A8; font-weight: 600; }
.pm-facts { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.pm-facts li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(201, 164, 92, .35); font-size: .9rem; font-weight: 700; color: #FBF7EE; }
.pm-facts svg { width: 16px; height: 16px; color: #DCC38A; flex: none; }
.pm-hintro { margin: 16px 0 0; padding-left: 14px; border-left: 3px solid #C9A45C; font-family: var(--display); font-size: clamp(1.1rem, 1rem + .4vw, 1.32rem); line-height: 1.5; color: #FBF7EE; }
.pm-body { display: grid; gap: 18px; margin-top: 22px; }
.pm-three { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.pm-sec { position: relative; min-width: 0; padding: 22px 24px; border-radius: 18px; background: var(--ae-white); border: 1px solid var(--ae-line); box-shadow: var(--ae-shadow-1); }
.pm-sec::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #C9A45C, rgba(201, 164, 92, .25)); }
.pm-sec h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1.12rem + .4vw, 1.5rem); line-height: 1.25; color: var(--ink); }
.pm-ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: #0E2145; color: #DCC38A; box-shadow: 0 0 0 4px rgba(201, 164, 92, .18); }
.pm-ic svg { width: 20px; height: 20px; }
.pm-sec-body { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.pm-sec-body p { margin: 0 0 12px; }
.pm-sec-body p:last-child { margin-bottom: 0; }
.pm-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pm-list li { position: relative; padding-left: 22px; line-height: 1.55; overflow-wrap: anywhere; }
.pm-list li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; transform: rotate(45deg); background: linear-gradient(135deg, #E9D7A8, #C9A45C); }
.pm-journey .pm-sec-body { position: relative; padding-left: 20px; border-left: 2px solid rgba(201, 164, 92, .55); }
.pm-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 1120px; margin: 22px auto 0; }
.pm-pn a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--ae-white); border: 1px solid var(--ae-line); text-decoration: none; color: var(--ink); box-shadow: var(--ae-shadow-1); min-width: 0; }
.pm-pn a:hover { border-color: rgba(201, 164, 92, .9); }
.pm-pn a:focus-visible { outline: 3px solid #C9A45C; outline-offset: 2px; }
.pm-pn .pm-next { justify-content: flex-end; text-align: right; }
.pm-pn svg { width: 20px; height: 20px; flex: none; color: var(--ae-gold-ink); }
.pm-pn span { display: grid; min-width: 0; }
.pm-pn small { font-size: .78rem; font-weight: 800; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
html[data-lang="hi"] .pm-pn small { text-transform: none; letter-spacing: 0; font-size: .86rem; }
.pm-pn b { font-family: var(--display); font-size: 1.12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-theme="dark"] .pm-ic { background: #C9A45C; color: #09172F; }
@media (max-width: 900px) {
  .pm-hero { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; gap: 20px; }
  .pm-frame-lg { width: min(70vw, 240px); }
  .pm-facts { justify-content: center; }
  .pm-hintro { padding-left: 0; padding-top: 12px; border-left: 0; border-top: 2px solid rgba(201, 164, 92, .6); }
}
@media (max-width: 560px) {
  .pm-grid { grid-template-columns: 1fr; gap: 16px; }
  .pm-sec { padding: 18px 16px; }
  .pm-sec::before { left: 16px; right: 16px; }
  .pm-pn { grid-template-columns: 1fr; }
  .pm-pn .pm-next { justify-content: space-between; text-align: left; }
}
/* Super Admin */
.pmA-dirty { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: rgba(201, 164, 92, .16); border: 1px solid rgba(201, 164, 92, .6); font-weight: 700; }
.pmA-dirty svg { width: 18px; height: 18px; flex: none; }
.pmA-list { display: grid; gap: 10px; }
.pmA-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 10px 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.pmA-off { opacity: .68; }
.pmA-no { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0E2145; color: #DCC38A; font-weight: 800; }
.pmA-face { display: grid; place-items: center; width: 56px; height: 70px; overflow: hidden; border-radius: 28px 28px 8px 8px; border: 2px solid #C9A45C; background: #0E2145; }
.pmA-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.pmA-face .pm-mono { font-size: 1.2rem; }
.pmA-who { display: grid; gap: 2px; min-width: 0; }
.pmA-st { justify-self: start; margin-top: 4px; padding: 2px 10px; border-radius: 99px; font-size: .76rem; font-weight: 800; }
.pmA-st.on { background: rgba(28, 125, 96, .14); color: #14684F; }
.pmA-st.off { background: rgba(120, 120, 120, .16); color: var(--mute); }
.pmA-acts { grid-column: 1 / -1; gap: 6px; }
@media (min-width: 1100px) { .pmA-row { grid-template-columns: auto auto minmax(0, 1fr) auto; } .pmA-acts { grid-column: auto; justify-content: flex-end; } }
.pmA-photo { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.pm-frame-admin { width: 136px; margin: 0; }
.pm-frame-admin .pm-mono { font-size: 2.4rem; }
.pmA-edit .panel textarea { min-height: 0; }
.pmA-bar { gap: 10px; margin: 6px 0 0; position: sticky; bottom: 0; z-index: 5; padding: 10px 12px; border-radius: 12px 12px 0 0; background: var(--paper, #FFFFFF);
  border: 1px solid var(--line); border-bottom: 0; box-shadow: 0 -6px 16px rgba(9, 23, 47, .08); }
/* the home page: a strip of the patrons (5 Oct 2026) */
#site #patronStrip.pm-home { background: radial-gradient(900px 260px at 50% 0%, rgba(201, 164, 92, .14), transparent 70%), var(--ae-ivory);
  border-top: 1px solid rgba(201, 164, 92, .45); border-bottom: 1px solid rgba(201, 164, 92, .45); }
.pm-strip { list-style: none; margin: 0 auto; padding: 6px 4px 14px; display: flex; gap: 18px; justify-content: safe center; overflow-x: auto; scroll-snap-type: x proximity;
  overscroll-behavior-x: contain; scrollbar-width: thin; max-width: 1240px; }
.pm-strip li { flex: 0 0 auto; scroll-snap-align: start; }
.pm-mini { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 200px; padding: 18px 12px 16px; text-align: center; text-decoration: none; color: inherit;
  background: var(--ae-white); border: 1px solid rgba(201, 164, 92, .55); border-radius: 18px; box-shadow: var(--ae-shadow-1); transition: transform .2s ease, box-shadow .2s ease; }
.pm-mini:hover { transform: translateY(-3px); box-shadow: var(--ae-shadow-2); }
.pm-mini:focus-visible { outline: 3px solid #C9A45C; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .pm-mini, .pm-mini:hover { transition: none; transform: none; } }
.pm-frame-sm { width: 120px; margin-bottom: 8px; border-width: 3px; box-shadow: 0 0 0 5px rgba(201, 164, 92, .16), 0 10px 20px rgba(9, 23, 47, .2); }
.pm-frame-sm .pm-mono { font-size: 2.2rem; }
.pm-mini .pm-name { font-size: 1.16rem; }
.pm-mini .pm-title { font-size: .84rem; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.pm-all { display: flex; justify-content: center; margin: 14px 0 0; }
#site #patronStrip .pm-all { max-width: none; width: 100%; margin-left: auto; margin-right: auto; }   /* under the cards, centred (not the width of a paragraph) */
.pm-all .btn { gap: 6px; }
.pm-all .btn svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .pm-mini { width: 168px; padding: 16px 10px 14px; } .pm-frame-sm { width: 104px; } .pm-strip { gap: 12px; justify-content: flex-start; } }
/* the top menu: where the Patrons link would push a button onto a row of its own, the links sit a little closer */
@media (min-width: 1025px) {
  .masthead.nav-wrapped.pm-tight .mnav a:not(.btn) { padding-left: 3px; padding-right: 3px; font-size: .755rem; letter-spacing: -.003em; }
  .masthead.nav-wrapped.pm-tight .mnav .btn { padding-left: 6px; padding-right: 6px; }
  /* where the menu needs a row more, the buttons go to it together (5 Oct 2026) */
  .masthead.nav-wrapped.pm-split .mnav > .pm-break { display: block; flex: 0 0 100%; width: 100%; height: 0; margin: 0; padding: 0; }
}
/* Reach: Siwan District block by block, then every other district across India */
#reach .rc-h { margin: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); line-height: 1.3; color: var(--ink); }
#reach .rc-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 18px; margin: 26px 0 10px; }
#reach .rc-bar .rc-h { margin: 0; }
#reach .rc-find { min-width: 220px; width: min(320px, 100%); }
#reach .rc-find label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 4px; }
@media (max-width: 640px) { #reach .rc-bar { flex-direction: column; align-items: stretch; } #reach .rc-find { width: 100%; } }
.mnav > .pm-break { display: none; }
/* ===== part AO (5 Oct 2026): Super Admin → Districts (Hindi names) ===== */
.ds-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; margin: 0 0 8px; }
.ds-tools label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 4px; }
.ds-find { flex: 1 1 260px; max-width: 380px; }
.ds-show { flex: 0 1 280px; }
.ds-tools .btn { margin-left: auto; }
.ds-tools .btn[disabled] { opacity: .55; cursor: not-allowed; }
.ds-table td { vertical-align: middle; }
.ds-table .ds-cell { min-width: 0; width: 100%; }
.ds-table .ds-in { width: 100%; min-width: 180px; max-width: 360px; font-size: 1rem; }
.ds-table .ds-in.is-bad { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(190, 40, 70, .14); }
.ds-table .ds-tag { display: block; font-size: .74rem; color: var(--mute); margin-top: 3px; min-height: 1em; }
.ds-table tr.ds-missing .ds-tag { color: var(--ae-gold-ink); font-weight: 600; }
@media (max-width: 640px) { .ds-tools { flex-direction: column; align-items: stretch; } .ds-find, .ds-show { flex: none; max-width: none; } .ds-tools .btn { margin-left: 0; } .ds-table .ds-in { max-width: none; } }
/* ==========================================================================================
   v14 · part AP (5 Oct 2026, late morning) — the Foundation's points of 5 Oct 2026
   ========================================================================================== */

/* ---- the footer: "Technology partner" and the iSchoolMaster logo side by side, never touching (stacked on phones) */
#site .sitefoot .ism-foot { margin-top: 22px; padding: 22px 0 4px; }
#site .sitefoot .ism-foot .ism-badge { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 9px 10px 9px 22px;
  border-radius: 999px; border: 1px solid rgba(201, 164, 92, .38); background: rgba(255, 255, 255, .035); text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
#site .sitefoot .ism-foot .ism-badge:hover, #site .sitefoot .ism-foot .ism-badge:focus-visible { border-color: rgba(201, 164, 92, .75); background: rgba(255, 255, 255, .06); transform: translateY(-1px); }
#site .sitefoot .ism-foot .ism-badge-l { position: relative; display: inline-block; padding-right: 18px; color: #E8D3A0; font-size: .7rem; font-weight: 700; letter-spacing: .17em; line-height: 1.3; white-space: nowrap; }
#site .sitefoot .ism-foot .ism-badge-l::after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 24px; transform: translateY(-50%); background: linear-gradient(180deg, transparent, rgba(201, 164, 92, .75), transparent); }
#site .sitefoot .ism-foot .ism-badge-img { display: inline-flex; align-items: center; padding: 7px 16px; border-radius: 999px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(201, 164, 92, .35); }
#site .sitefoot .ism-foot .ism-badge-img img { display: block; height: 26px; width: auto; }
@media (max-width: 560px) {
  #site .sitefoot .ism-foot .ism-badge { flex-direction: column; gap: 10px; padding: 14px 20px 16px; border-radius: 20px; }
  #site .sitefoot .ism-foot .ism-badge-l { padding-right: 0; }
  #site .sitefoot .ism-foot .ism-badge-l::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { #site .sitefoot .ism-foot .ism-badge { transition: none; } #site .sitefoot .ism-foot .ism-badge:hover { transform: none; } }
html[data-lang="hi"] #site .sitefoot .ism-foot .ism-badge-l { letter-spacing: 0; font-size: .8rem; }

/* ---- Where the campaign has reached: three cards with running numbers (the tables stay in the page, hidden) */
#reach.rc-v2 > .wrap > .row-between { justify-content: center; text-align: center; margin-bottom: 28px !important; }
#reach.rc-v2 > .wrap > .row-between > :not(.section-head),
#reach.rc-v2 > .wrap > .panel, #reach.rc-v2 .rc-h, #reach.rc-v2 .rc-bar, #reach.rc-v2 #stIndia { display: none !important; }
#reach.rc-v2 .section-head { margin: 0 auto !important; max-width: 760px; }
.rc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 26px); max-width: 1080px; margin: 0 auto; padding: 0; }
.rc-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: clamp(24px, 3vw, 34px) 18px clamp(22px, 2.6vw, 30px);
  border-radius: 22px; background: var(--ae-white, #fff); border: 1px solid var(--ae-line, #E4DDCC); overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 40px -22px rgba(14, 33, 69, .35); }
.rc-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, rgba(201, 164, 92, 0), var(--ae-gold, #C9A45C) 22%, #E8D3A0 50%, var(--ae-gold, #C9A45C) 78%, rgba(201, 164, 92, 0)); }
.rc-card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 164, 92, .12), rgba(201, 164, 92, 0)); pointer-events: none; }
.rc-ic { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: var(--ae-navy, #0E2145); color: #E8D3A0;
  box-shadow: 0 0 0 4px rgba(201, 164, 92, .25), 0 10px 22px -10px rgba(14, 33, 69, .7); }
.rc-ic svg { width: 26px; height: 26px; }
.rc-num { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 1.5rem + 2.8vw, 3.7rem); line-height: 1.02; color: var(--ae-navy, #0E2145);
  font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; margin-top: 4px; }
.rc-lab { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ae-gold-ink, #7A5C22); }
html[data-lang="hi"] .rc-lab { letter-spacing: 0; text-transform: none; font-size: .98rem; }
[data-theme="dark"] .rc-num { color: #F3E7C6; }
[data-theme="dark"] .rc-card { box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rc-num { color: #F3E7C6; } }
@media (max-width: 760px) { .rc-cards { grid-template-columns: 1fr; max-width: 420px; } .rc-card { flex-direction: row; text-align: left; align-items: center; gap: 16px; padding: 18px 20px; }
  .rc-card .rc-ic { flex: 0 0 auto; width: 52px; height: 52px; } .rc-card .rc-num { margin: 0; font-size: clamp(2rem, 1.4rem + 3vw, 2.6rem); min-width: 0; }
  .rc-card .rc-lab { margin-left: auto; text-align: right; max-width: 42%; } }

/* ---- The Seven Steps of the Deshratna Handwash Pledge: new illustrations, one card each */
.s8-grid { list-style: none; margin: 0; padding: clamp(16px, 2.4vw, 26px); display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px);
  background: radial-gradient(900px 300px at 50% 0%, rgba(201, 164, 92, .10), transparent 70%); }
.s8-step { grid-column: span 2; position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 12px 18px; min-width: 0;
  border-radius: 20px; background: var(--ae-white, #fff); border: 1px solid var(--ae-line, #E4DDCC);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 14px 30px -20px rgba(14, 33, 69, .45); transition: transform .25s var(--ae-ease, ease), box-shadow .25s var(--ae-ease, ease); }
.s8-step:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 22px 40px -22px rgba(14, 33, 69, .55); }
.s8-step:nth-child(5) { grid-column: 2 / span 2; }
.s8-art { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 5 / 4;
  background: radial-gradient(120% 90% at 50% 38%, #FFFFFF 0%, #F2F8F8 46%, #E3F0F2 100%); box-shadow: inset 0 0 0 1px rgba(124, 185, 232, .25); }
.s8-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 -26px 40px -30px rgba(124, 185, 232, .45); }
.s8-svg { display: block; width: 100%; height: 100%; }
.s8-no { position: absolute; top: 10px; left: 10px; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1B3466, #0E2145); color: #E8D3A0; font-family: var(--text); font-weight: 800; font-size: 1.08rem; line-height: 1; font-variant-numeric: lining-nums;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .95), 0 0 0 5px rgba(201, 164, 92, .65), 0 6px 14px -6px rgba(14, 33, 69, .6); }
.s8-txt { display: grid; gap: 4px; text-align: center; padding: 0 4px; min-width: 0; }
.s8-t { margin: 0; font-family: var(--text); font-weight: 800; font-size: 1.04rem; line-height: 1.3; color: var(--ink); }
.s8-d { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
[data-theme="dark"] .s8-art { background: radial-gradient(120% 90% at 50% 38%, #1B2E52 0%, #13284A 55%, #0F2140 100%); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .25); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .s8-art { background: radial-gradient(120% 90% at 50% 38%, #1B2E52 0%, #13284A 55%, #0F2140 100%); } }
@media (max-width: 1024px) {
  .s8-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s8-step, .s8-step:nth-child(5) { grid-column: auto; }
  .s8-step:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
}
@media (max-width: 640px) {
  .s8-grid { grid-template-columns: 1fr; }
  .s8-step, .s8-step:last-child { grid-column: auto; width: auto; flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; }
  .s8-art { flex: 0 0 132px; width: 132px; }
  .s8-no { top: 6px; left: 6px; width: 30px; height: 30px; font-size: 1rem; }
  .s8-txt { text-align: left; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { .s8-step { transition: none; } .s8-step:hover { transform: none; } }

/* ---- The picture panel beside the banners: one picture, or several turning as a carousel */
.hero-figure.hp-host { justify-content: flex-end; }
.hp { position: relative; width: 100%; max-width: 520px; margin-left: auto; }
.hp-frame { position: relative; aspect-ratio: 1 / 1; max-height: 520px; border-radius: var(--radius-l, 22px); overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 0 0 1px rgba(201, 164, 92, .35), 0 22px 50px rgba(0, 0, 0, .38); background: #0B1A38; }
.hp-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ae-ease, ease), visibility 0s linear .8s; }
.hp-slide.is-on { opacity: 1; visibility: visible; transition: opacity .8s var(--ae-ease, ease), visibility 0s; z-index: 1; }
.hp-slide img { display: block; width: 100%; height: 100%; object-fit: cover; max-height: none; border: 0; border-radius: 0; box-shadow: none; transform: scale(1.015); transition: transform 6s linear; }
.hp-slide.is-on img { transform: scale(1); }
.hp-slide figcaption { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 28px); margin: 0;
  background: rgba(9, 20, 40, .84); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 8px 18px; text-align: center; }
.hp-slide figcaption b { display: block; color: #fff; font-size: .95rem; line-height: 1.3; }
.hp-slide figcaption span { display: block; color: #B9CBE4; font-size: .76rem; line-height: 1.35; }
.hp-ctrl { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.hp-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.hp-arrow:hover, .hp-arrow:focus-visible { border-color: #E8D3A0; color: #E8D3A0; }
.hp-dots { display: flex; gap: 8px; }
.hp-dot { width: 22px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.hp-dot.is-on { width: 34px; background: #E8B04A; }
@media (max-width: 1080px) { .hp { margin: 0 auto; max-width: 460px; } }
@media (max-width: 520px) { .hp-slide figcaption { bottom: 10px; padding: 6px 14px; } .hp-slide figcaption b { font-size: .86rem; } .hp-slide figcaption span { font-size: .7rem; } }
@media (prefers-reduced-motion: reduce) { .hp-slide, .hp-slide.is-on { transition: none; } .hp-slide img, .hp-slide.is-on img { transition: none; transform: none; } }
/* the Super Admin screen */
.hpA-list { display: grid; gap: 10px; }
.hpA-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.hpA-row.hpA-off { opacity: .6; }
.hpA-thumb img, .hpA-thumb .hpA-none { display: block; width: 76px; height: 76px; object-fit: cover; border-radius: 10px; background: #0B1A38; }
.hpA-none { display: grid !important; place-items: center; color: #B9C9DF; }
.hpA-txt { display: grid; gap: 2px; min-width: 0; }
.hpA-txt b { font-size: .95rem; } .hpA-txt span { font-size: .84rem; color: var(--mute); overflow-wrap: anywhere; }
.hpA-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.hpA-pic img, .hpA-pic .hpA-none { display: block; width: 100%; max-width: 260px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; background: #0B1A38; margin-bottom: 10px; }
.hpA-prev { padding: 18px; border-radius: 16px; background: linear-gradient(135deg, #0E2145, #09172F); }
.hpA-prevfig { margin: 0 auto; max-width: 360px; }
.hpA-prevfig .hp { max-width: 360px; margin: 0 auto; }

/* ---- the header: a larger logo at the left, beside the Foundation's name and the menu (5 Oct 2026) */
@media (min-width: 1025px) {
  #site > .masthead.hd-v2 { --hd-logo: 88px; }
  #site > .masthead.hd-v2 .bar.wrap { width: min(1640px, 100% - 40px); max-width: 1640px; position: relative;
    padding-left: calc(var(--hd-logo) + 16px); min-height: calc(var(--hd-logo) + 18px); }
  #site > .masthead.hd-v2 .brand { position: static; }
  #site > .masthead.hd-v2 .brand .brandmark { position: absolute; left: 0; top: 50%; margin-top: calc(var(--hd-logo) / -2);
    width: var(--hd-logo) !important; height: var(--hd-logo) !important; }
  #site > .masthead.hd-v2.nav-wrapped .brand { justify-content: flex-start; text-align: left; padding-top: 2px; }
  #site > .masthead.hd-v2.nav-wrapped .brand .name { font-size: 1.36rem; line-height: 1.16; letter-spacing: .008em; }
  #site > .masthead.hd-v2.nav-wrapped .mnav { justify-content: flex-start; }
  #site > .masthead.hd-v2.nav-wrapped .mnav > .langsw { margin-left: auto; }
  /* where the menu needs a second row, the buttons go to it together, at the right */
  #site > .masthead.hd-v2.hd-split .mnav > .pm-break { display: block; flex: 0 0 100%; width: 100%; height: 0; margin: 0; padding: 0; }
  #site > .masthead.hd-v2.hd-split .mnav > .pm-break + * { margin-left: auto; }
}
@media (min-width: 1100px) and (max-width: 1599px) {
  #site > .masthead.hd-v2.hd-t1 .mnav > a:not(.btn) { padding-left: 3px; padding-right: 3px; }
  #site > .masthead.hd-v2.hd-t1 .mnav > .btn { padding-left: 6px; padding-right: 6px; }
  #site > .masthead.hd-v2.hd-t2 .mnav > a:not(.btn) { font-size: .755rem; letter-spacing: -.003em; }
}
@media (min-width: 1600px) {
  #site > .masthead.hd-v2 { --hd-logo: 96px; }
  #site > .masthead.hd-v2 .bar.wrap { width: min(1640px, 100% - 64px); }
  #site > .masthead.hd-v2.hd-t1 .mnav > a:not(.btn) { padding-left: 5px; padding-right: 5px; }
  #site > .masthead.hd-v2.hd-t1 .mnav > .btn { padding-left: 9px; padding-right: 9px; }
  #site > .masthead.hd-v2.hd-t2 .mnav > a:not(.btn) { font-size: .84rem; }
  #site > .masthead.hd-v2.hd-t3 .mnav > a:not(.btn) { padding-left: 4px; padding-right: 4px; font-size: .8rem; }
  #site > .masthead.hd-v2.hd-t3 .mnav > .btn { padding-left: 8px; padding-right: 8px; font-size: .8rem; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  #site > .masthead.hd-v2 .brand .brandmark { width: 60px !important; height: 60px !important; }
}
@media (max-width: 640px) {
  #site > .masthead.hd-v2 .brand .brandmark { width: 48px !important; height: 48px !important; }
}
@media (max-width: 359px) {
  #site > .masthead.hd-v2 .brand .brandmark { width: 42px !important; height: 42px !important; }
}
/* a section reached from the menu lands below the header (and the slim countdown, where it shows) */
html.hd-v2-on section[id], html.hd-v2-on #footSocial { scroll-margin-top: calc(var(--hd-h, 66px) + 18px); }
html.hd-v2-on.cd-sticky section[id], html.hd-v2-on.cd-sticky #footSocial { scroll-margin-top: calc(var(--hd-h, 66px) + 76px); }

/* ---- registration: the state, the district and the block (in Siwan and Mau districts, the gram panchayat too) — 5 Oct 2026 */
.gd-place { margin: 2px 0 0; }
.gd-place .gp-note { margin: 0 0 12px; }
.gd-place .gp-wait { margin: 0 0 12px; }
.gd-place .gp-grid { margin: 0; row-gap: 0 !important; }   /* the same spacing as the form's other rows */
.gd-place .gp-f select:disabled { opacity: .72; cursor: not-allowed; }
.gd-place .gp-f[hidden] { display: none; }
#regBody .gp-was { display: none !important; }   /* the typed district and the state list: kept for the form, not shown */
/* ==========================================================================================
   v14 · part AQ (5 Oct 2026, afternoon) — the Foundation's points of 5 Oct 2026 (afternoon) and the requirements document
   ========================================================================================== */
/* AQ 3 · Super Admin → Blocks & panchayats (Siwan and Mau, Hindi names) */
.dir2-bar select, .dir2-bar input[type="text"], .dir2-bar input:not([type]) { min-height: 40px; }
.dir2-nohi { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.dir2-t input.dir2-hi { width: 100%; min-width: 150px; padding: 6px 8px; font-size: .95rem; }
.dir2-t input.dir2-bad, .dir2-blocks input.dir2-bad { border-color: var(--danger, #b42318); }
.dir2-blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 12px; margin-bottom: 6px; }
.dir2-blocks .field label { overflow-wrap: anywhere; }
/* AQ 4 · the new drawings of the seven steps on "Send your handwash photo" and in the Gallery (no photographs yet) */
.washsteps:has(.ws8-art) { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 16px 12px; }
.washstep .ws8-art { display: block; width: 100%; max-width: 168px; margin: 0 auto 8px; }
.washstep .ws8-art svg { width: 100%; height: 100%; max-width: none; }
.washstep:has(.ws8-art) b { font-size: .86rem; }
.washstep:has(.ws8-art) span:not(.ws8-art) { display: block; font-size: .76rem; line-height: 1.45; }
.ws8-gal { border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; }
.ws8-pic { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 5 / 4;
  background: radial-gradient(120% 90% at 50% 38%, #FFFFFF 0%, #F2F8F8 46%, #E3F0F2 100%); box-shadow: inset 0 0 0 1px rgba(124, 185, 232, .25); }
.ws8-pic svg { display: block; width: 100%; height: 100%; }
.ws8-galgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-top: 18px; }
@media (max-width: 600px) { .ws8-galgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .ws8-gal { padding: 6px; } }
/* AQ 5 · the countdown on every page (requirements document, point 1): the slim copy that stays under the header keeps the
   date and the time on every screen (they used to be left out below 1180 px), under the event's name */
.cd-title { text-wrap: balance; }
@media (max-width: 1180px) {
  .cd-bar.cd-mini .cd-mini-ev { flex-wrap: wrap; row-gap: 1px; }
  .cd-bar.cd-mini .cd-mini-t { flex: 1 1 0; }
  .cd-bar.cd-mini .cd-mini-when { display: block; flex: 0 0 100%; padding-left: 28px; font-size: .8rem; line-height: 1.25; }
}
@media (max-width: 640px) {
  .cd-bar.cd-mini .cd-mini-in { padding-top: 4px; padding-bottom: 4px; }
  .cd-bar.cd-mini .cd-mini-ev { line-height: 1.12; }
  .cd-bar.cd-mini .cd-mini-when { padding-left: 24px; font-size: .68rem; line-height: 1.15; white-space: normal; }
  .cd-bar.cd-mini .cd-mini-when .cd-dot { padding: 0 1px; }
}
@media (max-width: 380px) {
  .cd-bar.cd-mini .cd-mini-when { padding-left: 0; font-size: .66rem; }
}
.cd-bar.cd-mini .cd-mini-when .v15-en, .cd-bar.cd-mini .cd-mini-when .v15-hi { white-space: nowrap; }
/* AQ 6 · the menu on phones and tablets (requirements document, point 3): a panel that fills the screen under the header */
@media (max-width: 900px) {
#site > .masthead #mnav.open {
  position: fixed; top: 100%; left: 0; right: 0; bottom: auto; z-index: 5;   /* the header (blurred glass) holds it: just under it, to the foot of the screen */
  height: calc(100vh - var(--mn-top, 64px)); height: calc(100dvh - var(--mn-top, 64px));
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: min-content; align-content: start; align-items: stretch;
  column-gap: 10px; row-gap: 0; width: auto; max-height: none; margin: 0; flex-wrap: nowrap;
  padding: 16px max(16px, calc((100% - 640px) / 2)) calc(28px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, #0B1A38 0%, #0E2145 100%); border-top: 1px solid rgba(201, 164, 92, .35); border-bottom: 0; box-shadow: none;
  animation: mnIn .22s ease both; }
#site > .masthead #mnav.open > a:not(.btn) {
  grid-column: 1 / -1; display: flex; align-items: center; min-height: 52px; margin: 0; padding: 12px 36px 12px 6px; border-radius: 0;
  border-bottom: 1px solid rgba(201, 164, 92, .16); font-size: 1.02rem; font-weight: 500; letter-spacing: .01em; line-height: 1.3;
  white-space: normal; text-align: left; color: #F3EEE3; box-shadow: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A45C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") no-repeat right 8px center / 16px 16px; }
#site > .masthead #mnav.open > a:not(.btn):hover, #site > .masthead #mnav.open > a:not(.btn):active { background-color: rgba(201, 164, 92, .09); color: #FFFFFF; }
#site > .masthead #mnav.open > a:not(.btn)::after { left: 6px; right: auto; bottom: 8px; width: 32px; }
#site > .masthead #mnav.open > a[aria-current="page"] { color: #DCC38A; }
#site > .masthead #mnav.open > .btn { order: -1; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 48px; margin: 0 0 10px;
  padding: 10px 12px; font-size: .95rem; line-height: 1.2; white-space: normal; text-align: center; border-radius: 12px; }
#site > .masthead #mnav.open > .iconbtn { order: 2; grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; height: auto;
  min-height: 52px; margin: 18px 0 0; padding: 0 14px; border: 1px solid rgba(201, 164, 92, .35); border-radius: 12px; background: rgba(255, 255, 255, .04); color: #F3EEE3; }
#site > .masthead #mnav.open > .iconbtn::after { content: attr(aria-label); font-size: .98rem; font-weight: 600; text-align: left; }
#site > .masthead #mnav.open > .langsw-nav, #site > .masthead #mnav.open > .pm-break { display: none !important; }
}
#site > .masthead.navcollapse #mnav.open {
  position: fixed; top: 100%; left: 0; right: 0; bottom: auto; z-index: 5;   /* the header (blurred glass) holds it: just under it, to the foot of the screen */
  height: calc(100vh - var(--mn-top, 64px)); height: calc(100dvh - var(--mn-top, 64px));
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: min-content; align-content: start; align-items: stretch;
  column-gap: 10px; row-gap: 0; width: auto; max-height: none; margin: 0; flex-wrap: nowrap;
  padding: 16px max(16px, calc((100% - 640px) / 2)) calc(28px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, #0B1A38 0%, #0E2145 100%); border-top: 1px solid rgba(201, 164, 92, .35); border-bottom: 0; box-shadow: none;
  animation: mnIn .22s ease both; }
#site > .masthead.navcollapse #mnav.open > a:not(.btn) {
  grid-column: 1 / -1; display: flex; align-items: center; min-height: 52px; margin: 0; padding: 12px 36px 12px 6px; border-radius: 0;
  border-bottom: 1px solid rgba(201, 164, 92, .16); font-size: 1.02rem; font-weight: 500; letter-spacing: .01em; line-height: 1.3;
  white-space: normal; text-align: left; color: #F3EEE3; box-shadow: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A45C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") no-repeat right 8px center / 16px 16px; }
#site > .masthead.navcollapse #mnav.open > a:not(.btn):hover, #site > .masthead.navcollapse #mnav.open > a:not(.btn):active { background-color: rgba(201, 164, 92, .09); color: #FFFFFF; }
#site > .masthead.navcollapse #mnav.open > a:not(.btn)::after { left: 6px; right: auto; bottom: 8px; width: 32px; }
#site > .masthead.navcollapse #mnav.open > a[aria-current="page"] { color: #DCC38A; }
#site > .masthead.navcollapse #mnav.open > .btn { order: -1; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 48px; margin: 0 0 10px;
  padding: 10px 12px; font-size: .95rem; line-height: 1.2; white-space: normal; text-align: center; border-radius: 12px; }
#site > .masthead.navcollapse #mnav.open > .iconbtn { order: 2; grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; height: auto;
  min-height: 52px; margin: 18px 0 0; padding: 0 14px; border: 1px solid rgba(201, 164, 92, .35); border-radius: 12px; background: rgba(255, 255, 255, .04); color: #F3EEE3; }
#site > .masthead.navcollapse #mnav.open > .iconbtn::after { content: attr(aria-label); font-size: .98rem; font-weight: 600; text-align: left; }
#site > .masthead.navcollapse #mnav.open > .langsw-nav, #site > .masthead.navcollapse #mnav.open > .pm-break { display: none !important; }
html[data-lang="hi"] #site > .masthead #mnav.open > a:not(.btn) { font-size: 1.07rem; }
html.mn-open { overflow: hidden !important; }          /* the page stays still (the body is left alone: the header keeps sticking) */
html.mn-open #gyFab, html.mn-open .gy-fab, html.mn-open #countdownMini { visibility: hidden !important; }
.mtoggle .mn-xi { display: none; }
.mtoggle.mn-x > svg:not(.mn-xi) { display: none; }
.mtoggle.mn-x .mn-xi { display: block; width: 20px; height: 20px; }
@keyframes mnIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #site > .masthead #mnav.open { animation: none !important; } }
/* AQ 7 · every screen size (requirements document, points 2, 4 and 5) */
/* the home page's "On 15 October we also remember": on phones each card stands upright (picture, name, date), two to a row */
@media (max-width: 640px) {
  #oct15teaser .teaser-grid { grid-auto-rows: auto; }
  #oct15teaser .tcx { flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 6px; padding: 14px 10px; min-width: 0; }
  #oct15teaser .tcx > * { min-width: 0; max-width: 100%; }
  #oct15teaser .tcx-art svg, #oct15teaser .tcx-art img.fd-logo { width: 58px; height: 58px; }
  #oct15teaser .tcx b { font-size: 1rem; line-height: 1.28; overflow-wrap: break-word; hyphens: auto; }
  #oct15teaser .tcx-hi, #oct15teaser .tcx-when { font-size: .8rem; line-height: 1.35; }
}
@media (max-width: 340px) { #oct15teaser .teaser-grid { grid-template-columns: minmax(0, 1fr); } }
/* Verify: the pattern of a certificate number was the one text under 11 px on every screen; now 11 px, and it may break at "/" */
#verify .tiny .mono { font-size: max(11px, .92em); overflow-wrap: anywhere; }
/* the 15 October page: each row of cards as tall as its own tallest card (no empty space under the shorter rows); on phones
   the picture sits above the date and the name, so that the name has the whole width */
#oct15 .tribute-grid { grid-auto-rows: auto; }
@media (max-width: 520px) {
  #oct15 .tribute-card .tc-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  #oct15 .tribute-card .tc-top > div { min-width: 0; width: 100%; }
  #oct15 .tribute-card h3 { text-wrap: balance; }
}
/* touch screens: the language switch and the banner dots are easier to tap (the look is unchanged) */
@media (pointer: coarse) {
  .masthead .langsw button { min-height: 30px; }
  #site .bn-dots button { position: relative; }
  #site .bn-dots button::before { content: ""; position: absolute; inset: -9px -4px; }
}
/* the policies' "On this page": every link at least 24 px tall */
.policy-toc a { display: inline-block; padding: 4px 0; }
/* AQ 8 · the sponsors' cards (requirements document, point 6): the logo whole inside a gilded frame, the name always inside
   the card, a gentle 3D turn towards the pointer and one rise into place */
#sponsorsAll .es-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 24px; align-items: stretch; }
#sponsorsAll .es-card.sp3d, #spTrack .sp-card.sp3d {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 10px; min-width: 0;
  padding: 14px 16px 24px; border-radius: 18px; border: 1px solid rgba(201, 164, 92, .55);
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF7EE 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .85) inset, 0 18px 34px -22px rgba(14, 33, 69, .55);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, opacity .6s ease; }
#spTrack .sp-card.sp3d { flex: 0 0 auto; width: min(270px, 78vw); }
/* the frame: white field, gold keyline, white margin, fine gold line — like a framed award */
#sponsorsAll .es-card .es-logo.sp-stage, #spTrack .sp-card .sp-stage {
  position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 136px; margin: 0; padding: 18px 22px; border: 0; border-radius: 12px;
  background: #FFFFFF; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .95), inset 0 0 0 6px #FFFFFF, inset 0 0 0 7px rgba(201, 164, 92, .4), 0 6px 16px -10px rgba(14, 33, 69, .45); }
#sponsorsAll .es-card .es-logo.sp-stage img, #spTrack .sp-card .sp-stage img {
  display: block; flex: 0 1 auto; width: auto; height: auto; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.sp3d .sp-medal, #spTrack .sp-card .sp-medal {
  display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; margin: 0;
  background: radial-gradient(circle at 35% 30%, #F4E6C4, #C9A45C); color: #0E2145; font-family: var(--display); font-weight: 700; font-size: 1.65rem; letter-spacing: .02em;
  box-shadow: inset 0 0 0 2px rgba(14, 33, 69, .22), 0 8px 18px -8px rgba(14, 33, 69, .45); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.sp3d .sp-name { display: block; width: 100%; max-width: 100%; margin: 8px 0 0; font-family: var(--text); font-weight: 800;
  font-size: clamp(1.12rem, 1rem + .45vw, 1.38rem); line-height: 1.26; color: #0E2145; text-wrap: balance; overflow-wrap: anywhere; word-break: normal; hyphens: manual; }
.sp3d .sp-name.sp-fit { font-size: var(--sp-fs) !important; }
.sp3d .sp-name::after { content: ""; display: block; width: 44px; height: 3px; margin: 10px auto 0; border-radius: 2px; background: #C9A45C; }
#sponsorsAll .es-card.sp3d p { margin: 2px 0 0; max-width: 36ch; color: var(--slate); line-height: 1.6; overflow-wrap: anywhere; }
#sponsorsAll .es-card.sp3d .sp-web { color: #8A6A1F; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
#sponsorsAll .es-card.sp3d .sp-web:hover, #sponsorsAll .es-card.sp3d .sp-web:focus-visible { text-decoration: underline; }
#spTrack .sp-card.sp3d > span { max-width: 100%; overflow-wrap: anywhere; }
[data-theme="dark"] #sponsorsAll .es-card.sp3d, [data-theme="dark"] #spTrack .sp-card.sp3d { background: linear-gradient(180deg, #16305A 0%, #102445 100%); border-color: rgba(201, 164, 92, .45);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 18px 34px -22px rgba(0, 0, 0, .7); }
[data-theme="dark"] .sp3d .sp-name { color: #F3EEE3; }
[data-theme="dark"] #sponsorsAll .es-card.sp3d p, [data-theme="dark"] #spTrack .sp-card.sp3d > span { color: #C7D2E3; }
[data-theme="dark"] #sponsorsAll .es-card.sp3d .sp-web { color: #DCC38A; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #sponsorsAll .es-card.sp3d, :root:not([data-theme="light"]) #spTrack .sp-card.sp3d { background: linear-gradient(180deg, #16305A 0%, #102445 100%); border-color: rgba(201, 164, 92, .45); }
  :root:not([data-theme="light"]) .sp3d .sp-name { color: #F3EEE3; }
}
@media (max-width: 480px) { #sponsorsAll .es-card .es-logo.sp-stage, #spTrack .sp-card .sp-stage { height: 118px; padding: 16px 18px; } }
/* the turn towards the pointer, with light over the frame (computers) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .sp3d.sp-tilt { transition: transform .12s linear, box-shadow .3s ease; z-index: 1;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .85) inset, 0 34px 56px -26px rgba(14, 33, 69, .6), 0 0 0 1px rgba(201, 164, 92, .65); }
  .sp3d .sp-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 236, 190, .55), transparent 62%); }
  .sp3d.sp-tilt .sp-stage::after { opacity: 1; }
  .sp3d.sp-tilt .sp-stage img, .sp3d.sp-tilt .sp-medal { transform: scale(1.045); }
}
/* the rise into place, once */
@media (prefers-reduced-motion: no-preference) {
  .sp3d.sp-pre { opacity: 0; transform: perspective(1000px) rotateX(14deg) translateY(24px); }
  .sp3d.sp-in { transition: opacity .7s ease var(--sp-d, 0ms), transform .9s cubic-bezier(.2, .8, .2, 1) var(--sp-d, 0ms); }
}
/* the home page's running line: a long name folds onto two lines (never runs on, never cut) */
#esteemedSponsors .es-plq { white-space: normal; }
#esteemedSponsors .es-plq .es-name { display: block; max-width: 22ch; text-wrap: balance; overflow-wrap: anywhere; }
@media (max-width: 640px) { #esteemedSponsors .es-plq .es-name { max-width: 16ch; } }
/* the seven steps on phones: two to a row, the drawing above its words (the words had a column under 110 px wide) */
@media (max-width: 480px) {
  .s8-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 12px; }
  .s8-step, .s8-step:last-child, .s8-step:nth-child(5) { grid-column: auto; width: auto; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 8px 14px; }
  .s8-step:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
  .s8-art { flex: none; width: 100%; }
  .s8-no { top: 6px; left: 6px; width: 28px; height: 28px; font-size: .95rem; }
  .s8-txt { text-align: center; padding: 0 2px; }
  .s8-t { font-size: .98rem; }
  .s8-d { font-size: .84rem; line-height: 1.45; }
}
/* the tribute's "Seven moments of honesty" on phones: the year above its card, the card the full width */
@media (max-width: 520px) {
  #site .moments::before { left: 9px; }
  #site .moment { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-left: 30px; }
  #site .moment::before { left: 3px; top: 6px; }
  #site .m-year { text-align: left; padding-top: 0; font-size: 1.15rem; }
}
/* the footer's policy links on phones: one under the other, centred, without the dots that fell at the ends of lines */
@media (max-width: 600px) {
  .sitefoot .foot-policies { display: flex; flex-direction: column; align-items: center; gap: 2px; }
  .sitefoot .foot-policies > span[aria-hidden="true"] { display: none; }
  .sitefoot .foot-policies > a { display: inline-block; padding: 6px 4px; }
}
/* the technology partner's logo keeps its shape on the narrowest phones */
.ism-badge-img img { object-fit: contain; }
/* the policies: the text column may become as narrow as the screen (long words and addresses break) */
@media (max-width: 900px) {
  .policy-grid { grid-template-columns: minmax(0, 1fr); }
  .policy-grid > * { min-width: 0; }
  .policy-article, .policy-toc { overflow-wrap: anywhere; }
}
/* buttons never wider than the screen: their words fold onto a second line when they must */
@media (max-width: 400px) { #site .section .btn { max-width: 100%; white-space: normal; text-align: center; } }
/* the narrowest phones (Galaxy Fold cover screen, iPhone SE): the Foundation's name keeps the header's room — the EN / हिन्दी
   switch moves into the menu, at its top — and the seven steps stand one under the other */
@media (max-width: 340px) {
  #site > .masthead .langsw-bar { display: none !important; }
  #site > .masthead #mnav.open > .langsw-nav { display: flex !important; order: -2; grid-column: 1 / -1; justify-self: stretch; justify-content: center; gap: 8px; margin: 0 0 12px; padding: 4px; border-radius: 99px; }
  #site > .masthead #mnav.open > .langsw-nav button { flex: 1 1 0; min-height: 40px; font-size: .95rem; }
  #site > .masthead .brand .name { font-size: .74rem !important; line-height: 1.18; }
  .s8-grid { grid-template-columns: minmax(0, 1fr); }
  .s8-step, .s8-step:last-child, .s8-step:nth-child(5) { grid-column: auto; width: auto; justify-self: stretch; flex-direction: row; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; }
  .s8-art { flex: 0 0 96px; width: 96px; }
  .s8-txt { text-align: left; }
  #reach .rc-card .rc-lab { letter-spacing: .04em; font-size: .72rem; max-width: 50%; overflow-wrap: anywhere; }
}
/* phones held sideways (short screens): a slimmer header and countdown, so that they keep less than a quarter of the height */
@media (max-height: 500px) and (orientation: landscape) {
  #site > .masthead .bar { min-height: 0; padding-top: 5px; padding-bottom: 5px; }
  #site > .masthead.hd-v2 .brand .brandmark, #site > .masthead.hd-v2 .brand .brandmark img { width: 40px !important; height: 40px !important; }
  #site > .masthead .mtoggle { height: 38px; min-height: 38px; }
  .cd-bar.cd-mini .cd-mini-in { min-height: 0; padding-top: 3px; padding-bottom: 3px; }
  .cd-bar.cd-mini .cd-mini-ev { font-size: .86rem; line-height: 1.15; }
  .cd-bar.cd-mini .cd-mini-when { font-size: .74rem; }
  .cd-bar.cd-mini .cd-mu { flex-direction: row; align-items: baseline; gap: 4px; }
  .cd-bar.cd-mini .cd-n { min-width: 32px; padding: 3px 4px; font-size: .95rem; }
}
/* ==========================================================================================
   v14 · part AR (5 Oct 2026, stage 3): one Sponsors module, the Block Coordinators' sign-in page, WhatsApp and SMS readiness
   ========================================================================================== */
/* AR1 — Sponsors: the two tabs of the one module */
.spx-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.spx-tabs.spx-n3 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.spx-tabs button { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card, #fff); color: var(--ink); font: inherit; cursor: pointer; min-height: 64px; }
.spx-tabs button svg { width: 22px; height: 22px; flex: none; color: var(--teal); margin-top: 2px; }
.spx-tabs button b { display: block; font-size: .98rem; line-height: 1.3; }
.spx-tabs button small { display: block; font-size: .8rem; line-height: 1.4; color: var(--slate); margin-top: 2px; }
.spx-tabs button[aria-selected="true"] { border-color: var(--ink); background: var(--wash); box-shadow: inset 0 -3px 0 var(--gold); }
.spx-tabs button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 640px) { .spx-tabs { grid-template-columns: minmax(0, 1fr); } }

/* AR2 — the Block Coordinators' own sign-in page, and their sign-in details */
#login.bc-login .bc-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
#login.bc-login .bc-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px 10px; border: 1px solid var(--line);
  border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; text-align: center; }
#login.bc-login .bc-tabs button svg { width: 18px; height: 18px; flex: none; color: var(--teal); }
#login.bc-login .bc-tabs button[aria-selected="true"] { border-color: var(--ink); background: var(--wash); box-shadow: inset 0 -3px 0 var(--gold); }
#login.bc-login .bc-tabs button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 380px) { #login.bc-login .bc-tabs { grid-template-columns: minmax(0, 1fr); } }
.bc-code input { font-size: 1.25rem; letter-spacing: .35em; max-width: 12ch; }
.bc-url code, .wa-url code { display: inline-block; max-width: 100%; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--wash);
  font-size: .86rem; overflow-wrap: anywhere; }
.bc-creds { white-space: pre-wrap; overflow-wrap: anywhere; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--wash); font-size: .9rem; line-height: 1.6; margin: 10px 0 0; }

/* AR3 — WhatsApp Cloud API and SMS */
#waHub .split3 { gap: 12px; }
#waHub .split3 > * { min-width: 0; }
.wa-panel .panel-head { flex-wrap: wrap; gap: 8px; }
.wa-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.wa-sum > div { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--wash); min-width: 0; }
.wa-sum b { font-size: .98rem; overflow-wrap: anywhere; }
.wa-chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.wa-chip.ok { background: #E6F4EA; color: #1E6B35; }
.wa-chip.no { background: #FDECEA; color: #A42A1E; }
[data-theme="dark"] .wa-chip.ok { background: rgba(80, 180, 110, .18); color: #9FE0B2; }
[data-theme="dark"] .wa-chip.no { background: rgba(230, 90, 70, .18); color: #F5B1A6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wa-chip.ok { background: rgba(80, 180, 110, .18); color: #9FE0B2; }
  :root:not([data-theme="light"]) .wa-chip.no { background: rgba(230, 90, 70, .18); color: #F5B1A6; } }
.wa-warn { margin: 12px 0 0; padding: 10px 12px 10px 28px; border: 1px solid rgba(201, 164, 92, .6); border-radius: 10px; background: rgba(201, 164, 92, .1); font-size: .86rem; }
.wa-warn li + li { margin-top: 4px; }
.wa-mode { display: grid; gap: 8px; margin: 0 0 12px; }
.wa-mode label { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; }
.wa-envtabs { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; }
.wa-envtabs button { min-height: 34px; padding: 4px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.wa-envtabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.wa-key { margin: 12px 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.wa-key-h { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; }
.wa-key input { min-width: 0; flex: 1 1 220px; }
.wa-tpl { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 0 0 8px; }
.wa-tpl summary { cursor: pointer; padding: 4px 0; overflow-wrap: anywhere; }
.wa-tpl[open] summary { margin-bottom: 8px; }
.wa-tpl .lbl { display: block; font-weight: 600; font-size: .86rem; }
.ml-st { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--wash); }
.ml-st.st-delivered, .ml-st.st-read { background: #E6F4EA; color: #1E6B35; }
.ml-st.st-failed { background: #FDECEA; color: #A42A1E; }
.ml-st.st-blocked, .ml-st.st-skipped { background: #FFF4E0; color: #7A5300; }
[data-theme="dark"] .ml-st.st-delivered, [data-theme="dark"] .ml-st.st-read { background: rgba(80, 180, 110, .18); color: #9FE0B2; }
[data-theme="dark"] .ml-st.st-failed { background: rgba(230, 90, 70, .18); color: #F5B1A6; }
[data-theme="dark"] .ml-st.st-blocked, [data-theme="dark"] .ml-st.st-skipped { background: rgba(201, 164, 92, .18); color: #E8D3A0; }
.ml-opt, .ml-rep { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.ml-opt li, .ml-rep li { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; overflow-wrap: anywhere; }
.ml-filters select, .ml-filters input { min-height: 38px; }
/* Gateways & templates on a phone: the templates' list scrolls inside its box (its hidden "Enabled" labels, placed from the
   page itself, made the whole page 2 screens wide) */
#mcPanel, #mcPanel .tablewrap { position: relative; }
/* the older demonstration cards of Gateways & templates are not shown on the live website (the estimator and the route stay) */
.wa-mock-off { display: none !important; }
.wa-one-col { grid-template-columns: minmax(0, 1fr) !important; }
/* the coordinators' page shows only the coordinators' two ways (the list of roles is not shown) */
#login.bc-login #rolepick { display: none !important; }
/* the sign-in screen: "WhatsApp number" and its line "Any role — your number decides" stood on one line without a space */
.rolepick button > span > b, .rolepick button > span > small { display: block; }
.rolepick button > span > small { font-size: .8rem; color: var(--slate); margin-top: 2px; font-weight: 400; }
/* ==========================================================================================
   v14 · part AS (5 Oct 2026, stage 4): the Foundation's answers of 5 Oct 2026 (night) and the 360° review
   ========================================================================================== */
/* AS1 — phones (upright, and sideways): the banner's arrows and dots sit in a slim navy strip just below the picture, so the
   whole picture shows (tablets and computers keep them on the picture's lower edge, as chosen on 3 Oct) */
@media (max-width: 640px), (max-height: 500px) and (orientation: landscape) and (max-width: 950px) {
  #site .campaign-banner.bn-full { padding-bottom: 36px !important; background: #09172F; }
  #site .bn-full::after { display: none; }
  #site .bn-full .bn-nav { width: 26px; height: 26px; font-size: .95rem; bottom: 5px; }
  #site .bn-full .bn-prev { left: calc(50% - 96px); } #site .bn-full .bn-next { right: calc(50% - 96px); }
  #site .bn-full .bn-dots { bottom: 14px; }
  #site .bn-full .bn-dots button { width: 8px; height: 8px; } #site .bn-full .bn-dots button[aria-selected="true"] { width: 20px; }
}
/* AS2 — the console on phones (found in the 360° test): nothing wider than the screen — the page numbers wrap, a long button
   label wraps inside its button, the Event day buttons wrap, and the old requirements document's tables scroll sideways */
@media (max-width: 640px) {
  .pager .pages { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  #app #main .btn { max-width: 100%; white-space: normal; line-height: 1.25; text-align: center; }
  #app #main .ed-clock .row { flex-wrap: wrap; }
  #app #main .doc table { display: block; max-width: 100%; overflow-x: auto; }
}
/* ===========================================================================================================
   v14 · part AT (6 Oct 2026, stage 5): the merged Super Admin screens
   =========================================================================================================== */
/* AT1 — Sponsors: an account that is in the list of the second tab */
.s5-onlist { margin: 6px 0 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); }
.s5-onlist h4 { margin-top: 0; }
.s5-onlist p { margin: 0 0 8px; }
.s5-listed { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--teal); font-weight: 600; }
.s5-listed svg { width: 14px; height: 14px; flex: none; }
/* AT2 — the banner screen: the merged panels, each banner's language and dates, the older banners */
.s5-bn-top .panel { height: 100%; }
#crTop { margin-bottom: 6px; }
.cr-head { margin: 18px 0 6px; }
.cr-head h3 { margin: 0 0 4px; font-size: 1.05rem; }
.cr-head p { margin: 0; }
.cr-when { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; align-items: end; margin: 2px 0 8px; }
.cr-when .field { margin: 0; min-width: 0; }
.cr-when select, .cr-when input { width: 100%; min-width: 0; }
.cr-when .cr-state-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
@media (max-width: 720px) { .cr-when { grid-template-columns: minmax(0, 1fr); } }
.s5-old { display: grid; gap: 10px; }
.s5-old-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.s5-old-row img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--wash); }
.s5-old-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { .s5-old-row { grid-template-columns: 96px minmax(0, 1fr); } .s5-old-row img { width: 96px; } .s5-old-row > .row { grid-column: 1 / -1; } }
/* AT3 — the Overview's queues, money, banners and system health */
.ov-dash { margin-top: 22px; }
.ov-dash .db-item a { color: var(--teal); }
/* AT4 — Change history, and grids of two or three fields */
.ch-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; }
.ch-grid .field { margin: 0; min-width: 0; }
.ch-grid input { width: 100%; min-width: 0; }
#gtOtp .ch-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 10px; }
@media (max-width: 640px) { .ch-grid, #gtOtp .ch-grid { grid-template-columns: minmax(0, 1fr); } }
.ch-detail { overflow-wrap: anywhere; }
/* AT5 — Add School / Institute */
.au-step { margin: 16px 0 8px; font-size: .95rem; color: var(--ink); }
#auForm .au-step:first-child { margin-top: 0; }
/* AT6 — Packages with the add-on items, and Test data */
.pk-addons { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.hk-danger { border-color: var(--danger, #b42318); }
.hk-list { margin: 6px 0 8px 18px; padding: 0; }
.hk-list li { margin: 3px 0; }
/* AT7 — the WhatsApp message preview folds to its title bar 3 seconds after a message (every screen size); the demonstration bar
   is not shown over the sign-in page */
.simulator.sim-auto .sh { cursor: pointer; }
.simulator.sim-auto:not(.expanded) .sb { display: none; }
.simulator.sim-auto .sh::after { content: "▴"; margin-left: 6px; opacity: .7; }
.simulator.sim-auto.expanded .sh::after { content: "▾"; }
@media (min-width: 901px) { body.gd-sim-on.gd-sim-min #main { padding-bottom: 72px; } }
body.gd-login #demoBar { display: none; }
/* ==========================================================================================
   v14 · part AU (6 Oct 2026, stage 5 part B): Website texts; Send messages
   ========================================================================================== */
/* AU1 — Website texts: the groups as tabs, each text as English and Hindi side by side */
.tx-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.tx-tabs button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card, #fff); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.tx-tabs button[aria-selected="true"] { border-color: var(--ink); background: var(--wash); box-shadow: inset 0 -3px 0 var(--gold); }
.tx-tabs button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tx-count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--teal); color: #fff; font-size: .74rem; line-height: 20px; text-align: center; }
.tx-row { padding: 12px 0; border-top: 1px solid var(--line); }
.tx-row:first-of-type { border-top: 0; }
.tx-lbl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.tx-lbl b { font-size: .95rem; }
.tx-lbl .tx-orig { margin-left: auto; }
.tx-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tx-cols .field { margin: 0; min-width: 0; }
.tx-cols textarea, .tx-cols input, .tx-page textarea { width: 100%; }
.tx-row textarea { resize: vertical; line-height: 1.55; }
.tx-changed { background: linear-gradient(90deg, rgba(15, 160, 151, .07), transparent 60%); }
.tx-reset .tx-flag { background: #FFF4E0; color: #7A5300; }
.tx-actions { gap: 10px; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.tx-warn { margin: 0 0 8px; padding: 8px 10px; border: 1px solid rgba(201, 164, 92, .6); border-radius: 8px; background: rgba(201, 164, 92, .1); }
.tx-en-doc { margin: 0 0 10px; }
.tx-en-doc summary { cursor: pointer; font-weight: 600; font-size: .9rem; padding: 4px 0; }
.tx-pre { max-height: 320px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--wash); font-size: .86rem; line-height: 1.55; }
[data-theme="dark"] .tx-reset .tx-flag { background: rgba(201, 164, 92, .18); color: #E8D3A0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tx-reset .tx-flag { background: rgba(201, 164, 92, .18); color: #E8D3A0; } }
@media (max-width: 760px) {
  .tx-cols { grid-template-columns: minmax(0, 1fr); }
  .tx-lbl .tx-orig { margin-left: 0; }
}
/* a button marked hidden stays hidden (.btn sets its own display) */
.tx-row .tx-orig[hidden] { display: none !important; }

/* AU2 — Send messages: one card for each message, with its numbers and the progress of a sending */
.snd-card .panel-head h3 { display: flex; align-items: center; gap: 8px; }
.snd-card .panel-head h3 svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.snd-tpl { margin: 0 0 10px; color: var(--slate); overflow-wrap: anywhere; }
.snd-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 12px 0; }
.snd-nums > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--wash); min-width: 0; }
.snd-nums b { font-size: 1.25rem; line-height: 1.2; }
.snd-nums span { font-size: .8rem; color: var(--slate); }
.snd-prog { margin: 0 0 12px; }
.snd-bar { height: 10px; border-radius: 999px; background: var(--wash); border: 1px solid var(--line); overflow: hidden; }
.snd-bar i { display: block; height: 100%; width: 0; background: var(--teal); transition: width .3s ease; }
.snd-line { margin: 6px 0 0; }
.snd-btns { gap: 10px; }
.snd-runs { margin-top: 12px; }
.snd-runs summary { cursor: pointer; font-weight: 600; font-size: .9rem; padding: 4px 0; }
.snd-mode .btn { margin: 4px 4px 0 0; }
.snd-card { margin-bottom: 16px; }
/* ==========================================================================================
   v14 · part AV (6–7 Oct 2026, stage 6): the Admin role, the sign-in pages, Sign-ins & users, Invite & refer, one number
   with several roles, the School / Institute Admin's password
   ========================================================================================== */
/* AV1 — an Admin's console: the "view only" lock and the no-access page */
.av-viewonly { display: flex; gap: 10px; align-items: center; padding: 10px 14px; margin: 0 0 14px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; background: var(--wash); font-size: .9rem; }
.av-viewonly svg { width: 18px; height: 18px; flex: none; color: var(--teal); }
[data-av-locked] { opacity: .55; cursor: not-allowed !important; }
.av-noaccess { padding: 40px 20px; text-align: center; }

/* AV2 — the sign-in pages and the School / Institute Admin's three ways */
#login .av-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
#login .av-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px 10px; border: 1px solid var(--line);
  border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-weight: 600; font-size: .86rem; cursor: pointer; text-align: center; line-height: 1.25; }
#login .av-tabs button svg { width: 18px; height: 18px; flex: none; color: var(--teal); }
#login .av-tabs button[aria-selected="true"] { border-color: var(--ink); background: var(--wash); box-shadow: inset 0 -3px 0 var(--gold); }
#login .av-tabs button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 560px) { #login .av-tabs { grid-template-columns: minmax(0, 1fr); } }
#login #rolepick [hidden] { display: none !important; }
#login .av-tabs ~ #loginform #pwSwitch { display: none; }      /* the three tabs replace the older "Sign in with a password instead" link */

/* AV3 — Admins & access: the ticks */
.av-ticks td, .av-ticks th { text-align: left; }
.av-ticks th:not(:first-child), .av-ticks td:not(:first-child) { width: 1%; white-space: nowrap; text-align: center; }
.av-ticks input[type="checkbox"] { width: 18px; height: 18px; }
.av-ticks tr.av-group td { background: var(--wash); font-weight: 700; font-size: .82rem; letter-spacing: .02em; text-transform: uppercase; color: var(--slate); }
.av-tickbar { margin: 0 0 10px; }

/* AV4 — Sign-ins & users */
.av-filters .field { margin: 0; min-width: 140px; flex: 1 1 140px; }
.av-filters .field input, .av-filters .field select { width: 100%; }
.av-log td, .av-users td { font-size: .86rem; vertical-align: top; white-space: nowrap; }
.av-log td .pill, .av-users td .pill { white-space: nowrap; }
.av-log td .mono, .av-users td .mono { overflow-wrap: normal; word-break: keep-all; }
@media (max-width: 760px) { .av-log td, .av-users td { white-space: normal; } }
.av-log tr.av-refused td { background: color-mix(in srgb, var(--warn, #c77d00) 8%, transparent); }
.av-users .av-del { color: var(--bad, #b42318); }

/* AV5 — Invite & refer, and "Invited by" on the registration forms */
.av-notyet, .av-also { display: flex; gap: 10px; align-items: flex-start; }
.av-notyet svg, .av-also svg { width: 20px; height: 20px; flex: none; color: var(--teal); margin-top: 2px; }
.av-also { padding: 10px 12px; margin: 0 0 14px; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 10px; background: var(--wash); font-size: .9rem; }
.av-invite-done { margin-top: 12px; border-color: var(--teal); }
.av-invited { margin: 4px 0 14px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 10px; background: var(--wash); }
.av-invited .chk { margin: 0; }
.av-invited .av-invited-fields { margin-top: 10px; }
.av-invited .av-invited-fields[hidden] { display: none; }
.av-invited .field { margin-bottom: 10px; }

/* AV6 — my accounts (a sponsor who is also a member), "Become a Patron Member too", the password panel */
.av-accounts { display: grid; gap: 10px; margin: 0 0 12px; }
.av-account, .av-become { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.av-account.on { border-color: var(--teal); }
.av-become { border-style: dashed; }
.av-pw .btn { margin-left: 8px; }

/* AV8 — Test data: sample data and live data apart */
.hk-sample { border-color: var(--teal); }
.hk-live.hk-danger { border-color: var(--bad, #b42318); }
.hk-sep { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.hk-counts { max-width: 420px; }
.hk-counts td { padding: 4px 8px; font-size: .86rem; }
.av-off { pointer-events: none; opacity: .55; }
/* ==========================================================================================
   v14 · part AW (6 Oct 2026, stage 7): server errors and the database check for the Super Admin
   ========================================================================================== */
.aw-errors td, .aw-check td { vertical-align: top; }
.aw-errors .aw-msg { white-space: normal; overflow-wrap: anywhere; max-width: 520px; }
.mt-del[disabled] { opacity: .5; cursor: not-allowed; }
/* v14 · part AX — Roles & access (the panels), Donate in the Parents' panel (stage 7, phase 2; 6 Oct 2026) */
.ax-roletabs.spx-tabs.spx-n3 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.ax-roletabs button small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-ticks td .muted { display: inline-block; min-width: 1.2em; text-align: center; }
.ax-noaccess { padding: 40px 20px; text-align: center; }
@media (max-width: 640px) { .ax-roletabs.spx-tabs.spx-n3 { grid-template-columns: minmax(0, 1fr); } }
/* v14 · part AY — the weekly backup reminder (stage 7, phase 3, E; 7 Oct 2026) */
.ay-backup { margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; background: var(--wash); }
.ay-backup-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.ay-backup-head svg { width: 18px; height: 18px; flex: none; color: var(--teal); }
.ay-backup-head span { color: var(--slate); font-size: .92rem; }
.ay-backup ol li { margin: 2px 0; }
/* v14 · part AZ — stage 7, phase 4 (7 Oct 2026): E38 answers 5 and 6 */
.az-pending, .az-last, .az-req { margin: 0 0 12px; }
.az-pending { border-left: 4px solid var(--gold); }
.az-last { border-left: 4px solid var(--teal); }
.az-changes td b { font-weight: 600; }
.az-consent { margin: 4px 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); display: grid; gap: 10px; }
.az-consent label.chk { margin: 0; font-weight: 500; font-size: .92rem; line-height: 1.45; }
.az-consent input[type=checkbox] { margin-top: 3px; flex: none; }
.az-consent a, .az-signnote a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.az-shake { animation: azShake .5s; border-color: var(--bad, #b3261e); }
@keyframes azShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.az-signnote { margin: 14px 0 0; text-align: center; line-height: 1.5; }
/* v14 · part BA — ticks for one account (Roles & access) and the Sign-in page redesigned (stage 7, phase 4b; 7 Oct 2026) */

/* ---------------------------------------------------------------- Roles & access → Ticks for one account */
#baAcc { margin-top: 18px; }
.ba-ownlist { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.ba-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--wash); color: var(--ink); cursor: pointer; font: inherit; font-size: .84rem; }
.ba-chip:hover { border-color: var(--teal-2); }
.ba-chip svg { width: 15px; height: 15px; color: var(--teal); }
.ba-chip small { color: var(--slate); font-size: .74rem; }
.ba-hits { display: grid; gap: 6px; margin: -6px 0 10px; }
.ba-hit { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); cursor: pointer; font: inherit; color: var(--ink); }
.ba-hit:hover { border-color: var(--teal-2); background: var(--wash); }
.ba-hit svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.ba-hit span { display: flex; flex-direction: column; min-width: 0; }
.ba-hit b { font-size: .95rem; }
.ba-hit small { color: var(--slate); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ba-owntag { margin-left: auto; font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ae-gold-ink, #7A5C22); background: var(--gold-wash); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.ba-sheet { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--wash); }
.ba-sheethead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ba-sheethead > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ba-sheethead svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.ba-sheethead span { display: flex; flex-direction: column; min-width: 0; }
.ba-sheethead small { color: var(--slate); font-size: .78rem; }
.ba-sheet tr.ba-own td:first-child { font-weight: 700; }
.ba-sheet tr.ba-own td:first-child .ba-owntag { margin-left: 6px; }
.ba-sheet .tablewrap { background: var(--paper); border-radius: var(--radius); }

/* ---------------------------------------------------------------- The Sign-in page */
#login.ba .loginwrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
@media (min-width: 1240px) { #login.ba .loginwrap { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }

/* the brand panel (hidden under 900px by the core) */
#login.ba .loginside { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(26px, 4vw, 52px) clamp(26px, 4.5vw, 60px);
  background-image: radial-gradient(640px 420px at 100% 0%, rgba(201, 164, 92, .22), transparent 62%), radial-gradient(520px 380px at 0% 100%, rgba(15, 160, 151, .16), transparent 60%), linear-gradient(180deg, #0E2145, #09172F); }
#login.ba .loginside > *:not(.bubbles) { position: relative; }
#login.ba .ba-brand { display: flex; align-items: center; gap: 18px; }
#login.ba .ba-brand.ba-side { flex-direction: column; align-items: flex-start; gap: 18px; }
#login.ba .ba-emblem { display: inline-grid; place-items: center; width: var(--ba-size); height: var(--ba-size); flex: none; border-radius: 50%; background: #fff; padding: 3px; box-sizing: border-box;
  box-shadow: 0 0 0 3px var(--gold-2), 0 0 0 11px rgba(233, 168, 37, .16), 0 18px 44px rgba(0, 0, 0, .35); }
#login.ba .ba-emblem img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; background: #fff; }
#login.ba .ba-brandtext { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#login.ba .ba-found { font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 1.55vw, 1.42rem); line-height: 1.22; color: #FBF7EE; letter-spacing: .005em; max-width: 22ch; }
#login.ba .ba-camp span { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(233, 168, 37, .55); color: #F2C14E; background: rgba(233, 168, 37, .10); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#login.ba .ba-hero h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.16; }
#login.ba .ba-hero .login-target { margin-top: 10px; }
#login.ba .ba-foot { display: flex; flex-wrap: wrap; gap: 4px 6px; color: #9FB6D4; font-size: .82rem; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
#login.ba .ba-foot a { color: #DCE5EE; text-decoration: none; border-bottom: 1px solid rgba(220, 229, 238, .35); }
#login.ba .ba-foot a:hover { color: #fff; border-color: #fff; }
#login.ba .loginside .bubbles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* the form card */
#login.ba .loginmain { align-items: center; padding: clamp(16px, 3.5vw, 44px);
  background-color: var(--wash); background-image: radial-gradient(560px 320px at 100% 0%, rgba(201, 138, 22, .10), transparent 68%), radial-gradient(420px 300px at 0% 100%, rgba(12, 124, 116, .08), transparent 65%); }
#login.ba .loginmain > .inner { width: min(540px, 100%); background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-2); padding: clamp(18px, 2.8vw, 32px); }
#login.ba .ba-top { margin-bottom: 14px !important; gap: 8px; flex-wrap: wrap; }
#login.ba .ba-title { font-size: clamp(1.45rem, 2.2vw, 1.75rem) !important; margin: 4px 0 4px; }
#login.ba .ba-mbrand { display: none; }

/* the roles as tiles */
#login.ba #rolepick.ba-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
#login.ba #rolepick.ba-roles button { position: relative; flex-direction: column; align-items: flex-start; gap: 10px; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); box-shadow: none; transition: border-color .15s, background-color .15s, box-shadow .15s; }
#login.ba #rolepick.ba-roles button:hover { border-color: var(--teal-2); }
#login.ba #rolepick.ba-roles button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
#login.ba #rolepick.ba-roles button > svg { width: 20px; height: 20px; padding: 9px; box-sizing: content-box; border-radius: 12px; background: var(--teal-wash); color: var(--teal); }
#login.ba #rolepick.ba-roles button > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; width: 100%; }
#login.ba #rolepick.ba-roles .rn, #login.ba #rolepick.ba-roles b { font-weight: 700; color: var(--ink); font-size: .93rem; line-height: 1.25; }
#login.ba #rolepick.ba-roles .rd, #login.ba #rolepick.ba-roles small { font-size: .78rem; line-height: 1.35; color: var(--slate); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#login.ba #rolepick.ba-roles button[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-wash); box-shadow: 0 0 0 3px rgba(201, 138, 22, .16); }
#login.ba #rolepick.ba-roles button[aria-pressed="true"] > svg { background: var(--ink); color: #fff; }
#login.ba #rolepick.ba-roles button[aria-pressed="true"]::after { content: ""; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12.5 4.5 4.5L19 7'/></svg>") center / 12px no-repeat; }
#login.ba #rolepick.ba-roles button.ba-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; padding: 11px 14px; }
#login.ba #rolepick.ba-roles button.ba-wide > svg { padding: 8px; width: 18px; height: 18px; }
#login.ba .ba-roledesc { display: none; margin: -6px 0 14px; font-size: .84rem; line-height: 1.4; color: var(--slate); }
#login.ba .ba-roledesc[hidden] { display: none !important; }

/* the three ways of a School / Institute Admin, as a segmented row */
#login.ba .av-tabs { gap: 6px; padding: 4px; border-radius: 12px; background: var(--wash); border: 1px solid var(--line); }
#login.ba .av-tabs button { border: 1px solid transparent; border-radius: 9px; background: transparent; min-height: 42px; font-size: .84rem; }
#login.ba .av-tabs button[aria-selected="true"] { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-1); }

/* tablets and phones: the brand panel is hidden by the core, so the brand heads the card */
@media (max-width: 900px) {
  #login.ba .loginwrap { grid-template-columns: minmax(0, 1fr); }
  #login.ba .loginside { display: none; }
  #login.ba .loginmain { align-items: flex-start; padding: 14px; }
  #login.ba .loginmain > .inner { width: min(560px, 100%); margin: 0 auto; }
  #login.ba .ba-mbrand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 6px 0 18px; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
  #login.ba .ba-mbrand .ba-brandtext { align-items: center; gap: 8px; }
  #login.ba .ba-mbrand .ba-found { color: var(--ink); font-size: 1.08rem; max-width: 24ch; }
  #login.ba .ba-mbrand .ba-camp span { color: var(--ae-gold-ink, #7A5C22); background: var(--gold-wash); border-color: rgba(201, 138, 22, .35); }
  #login.ba .ba-mbrand .ba-emblem { box-shadow: 0 0 0 3px var(--gold-2), 0 0 0 9px rgba(233, 168, 37, .14), 0 10px 26px rgba(14, 33, 69, .18); }
}
@media (max-width: 560px) {
  #login.ba .loginmain { padding: 0; background-image: none; }
  #login.ba .loginmain > .inner { border: 0; border-radius: 0; box-shadow: none; padding: 14px 16px 32px; min-height: 100vh; min-height: 100dvh; }
  #login.ba .ba-top { margin-bottom: 10px !important; }
  #login.ba .ba-mbrand { padding: 10px 0 16px; }
}
@media (max-width: 480px) {
  #login.ba #rolepick.ba-roles { gap: 8px; }
  #login.ba #rolepick.ba-roles button { padding: 11px 12px; gap: 8px; }
  #login.ba #rolepick.ba-roles button:not(.ba-wide) .rd { display: none; }
  #login.ba .ba-roledesc { display: block; }
  #login.ba #rolepick.ba-roles button > svg { width: 18px; height: 18px; padding: 8px; }
}
@media (max-width: 360px) {
  #login.ba #rolepick.ba-roles .rn, #login.ba #rolepick.ba-roles b { font-size: .86rem; }
  #login.ba .av-tabs { grid-template-columns: minmax(0, 1fr); }
}

/* dark theme */
[data-theme="dark"] #login.ba .loginmain > .inner { background: var(--paper); border-color: var(--line); }
[data-theme="dark"] #login.ba .ba-mbrand .ba-found { color: var(--ink); }
[data-theme="dark"] #login.ba #rolepick.ba-roles button[aria-pressed="true"] { background: rgba(201, 138, 22, .14); }
[data-theme="dark"] #login.ba #rolepick.ba-roles button[aria-pressed="true"] > svg { background: var(--gold); color: #0E2145; }
[data-theme="dark"] #login.ba .ba-mbrand .ba-camp span { color: #F2C14E; background: rgba(233, 168, 37, .12); border-color: rgba(233, 168, 37, .5); }

/* less motion for those who ask for it */
@media (prefers-reduced-motion: reduce) { #login.ba #rolepick.ba-roles button { transition: none; } }

/* print: the page is not for printing, but if it is, the brand panel's dark background goes */
@media print { #login.ba .loginside { display: none; } }
/* v14 · part BB — Automatic sending (stage 7, phase 5; 7 Oct 2026) */
#bbAuto { margin-bottom: 16px; }
#bbAuto .panel-head h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bb-statebar { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.bb-state { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--wash-2); color: var(--slate); }
.bb-state.on { background: var(--teal-wash); color: var(--teal); }
.bb-form { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--wash); }
.bb-switch { font-size: 1rem; margin-bottom: 8px; }
.bb-kinds { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 10px; }
.bb-kinds small { display: block; font-size: .74rem; }
.bb-nums { gap: 10px 18px; align-items: center; }
.bb-nums label { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-3); }
.bb-nums input { width: 7.5em; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--paper); font: inherit; }
.bb-cron { margin-top: 14px; }
.bb-cron h4, .bb-progress h4 { margin: 0 0 6px; font-size: .95rem; }
.bb-code { display: block; flex: 1; min-width: 0; padding: 10px 12px; border-radius: var(--radius); background: var(--ink); color: #FBF7EE; font-size: .8rem; line-height: 1.45; word-break: break-all; white-space: pre-wrap; }
.bb-progress { margin-top: 14px; }
.bb-table td:nth-child(n+2), .bb-table th:nth-child(n+2) { text-align: center; }
.bb-hist { margin-top: 10px; }
.bb-hist summary { cursor: pointer; font-size: .88rem; color: var(--ink-2); }
.err-text { color: var(--rose); }
#bbStale { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
#bbStale svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 560px) { .bb-nums label { width: 100%; justify-content: space-between; } .bb-nums input { width: 8.5em; } }
/* v14 · part BC — the videos (stage 8, 7 Oct 2026) */
.vid-wrap { max-width: 880px; margin: 0 auto; }
.steps-video { margin: 36px auto 8px; }
.doc-video { margin-top: 8px; }
.vid { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-l); overflow: hidden; background: #0E2145; box-shadow: var(--shadow-2); }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #0E2145; cursor: pointer; display: block; }
.vid-play img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; transition: opacity .2s, transform .4s; }
.vid-play:hover img, .vid-play:focus-visible img { opacity: 1; transform: scale(1.02); }
.vid-play:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.vid-btn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(14, 33, 69, .82); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(233, 168, 37, .55), 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s, background-color .2s; }
.vid-btn svg { width: 36px; height: 36px; margin-left: 4px; }
.vid-play:hover .vid-btn, .vid-play:focus-visible .vid-btn { transform: scale(1.06); background: var(--gold); color: #0E2145; }
#documentary .section-head p { max-width: 70ch; }
.vd-prev { margin-top: 10px; }
.vd-prev .vid { max-width: 420px; box-shadow: var(--shadow-1); }
@media (max-width: 560px) { .vid { border-radius: var(--radius); } .vid-btn { width: 60px; height: 60px; margin: -30px 0 0 -30px; } .vid-btn svg { width: 28px; height: 28px; } }
@media (prefers-reduced-motion: reduce) { .vid-play img, .vid-btn { transition: none; } .vid-play:hover img { transform: none; } }
/* v14 · part BD — stage 8 (7 Oct 2026): the Patron Member Card on the sponsor's screen and in the Sponsor command centre. */
.pmc-wrap { max-width: 680px; }
canvas.pmc { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 1260; border-radius: 18px; box-shadow: 0 18px 40px rgba(14, 33, 69, .28); background: #0E2145; }
.pmc-prev { margin-top: 10px; }
.pmc-prev .pmc-wrap { max-width: 420px; }
.pmc-prev canvas.pmc { border-radius: 10px; box-shadow: 0 8px 22px rgba(14, 33, 69, .22); }
@media (max-width: 600px) { canvas.pmc { border-radius: 12px; } }
