/* ==========================================================================
   NEET India Counseling: shared design system (css/site.css)
   Owner: FOUNDATION. Every public page loads this file; page-specific
   styles go in css/<area>.css. Component reference: dev/components.html

   Contents
    1. Tokens            9. Badges, tags       17. Stat strip
    2. Base / type      10. Chips, pills       18. Steps / timeline
    3. Layout           11. Cards              19. Empty, skeleton
    4. Utilities        12. Section/page head  20. Toast, modal
    5. Alert bar        13. Notice list        21. Callout
    6. Header + nav     14. Tables             22. Footer
    7. Mobile bar       15. Tabs, accordion    23. Home page
    8. Buttons          16. Forms              24. Print
   Rules: mobile-first (320px+), borders before shadows, no gradients,
   no infinite animation, motion <=150ms on hover/focus only.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
/* Metric-matched fallbacks: text keeps the same size while the web fonts load (less layout shift) */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 107%; ascent-override: 90.5%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: "Source Serif Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"), local("Georgia"); font-weight: 600 700; size-adjust: 95%; ascent-override: 109%; descent-override: 35%; line-gap-override: 0%; }

:root {
  /* brand */
  --navy: #0B3A5B;
  --blue: #0E5A8A;
  --blue-hover: #0B4A72;
  --blue-50: #EAF2F8;
  --blue-100: #D4E5F1;
  /* the one CTA colour */
  --cta: #C24E0A;
  --cta-hover: #A8430A;
  --cta-50: #FFF1E6;
  --marigold: #F2C14E;           /* NEW / LIVE tags on navy only */
  /* status (text on tint) */
  --ok: #146C43;    --ok-bg: #E8F5EE;
  --warn: #9A5B00;  --warn-bg: #FFF4DE;
  --bad: #B42318;   --bad-bg: #FDECEA;
  /* neutrals */
  --ink: #0F1B2D;                /* headings */
  --body: #334155;               /* body text */
  --meta: #5B6778;               /* captions, meta */
  --mute: #8A94A6;               /* icons, disabled (not for text) */
  --line: #D8DEE6;
  --line-soft: #E7EBF0;
  --surface: #F6F8FA;
  --surface-2: #EEF1F5;
  --white: #FFFFFF;
  --wa: #128C4A;                 /* WhatsApp glyph colour on white (not for buttons) */
  /* footer text on navy */
  --on-navy: #FFFFFF;
  --on-navy-2: #C5D3E0;          /* 7.8:1 on navy */
  --on-navy-3: #A9BCCD;          /* 6.1:1 on navy */

  /* type */
  --font-sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Source Serif 4", "Source Serif Fallback", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --fs-caption: 12px;
  --fs-meta: 13px;
  --fs-table: 14px;
  --fs-body: 16px;
  --fs-lead: 18px;
  --fs-h4: 18px;
  --fs-h3: 20px;
  --fs-h2: 22px;                 /* 26px from 768px */
  --fs-h1: 24px;                 /* 30px from 768px */
  --fs-hero: 28px;               /* 40px from 1024px */

  /* space (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --gutter: 16px;
  --section: 32px;
  --container: 1200px;
  --header-h: 56px;
  --mbar-h: 60px;

  /* shape */
  --r-ctl: 6px;
  --r-card: 8px;
  --r-hero: 12px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(15, 27, 45, .06);
  --sh-2: 0 8px 24px rgba(15, 27, 45, .08);
  --focus: 2px solid var(--blue);
  --t: 150ms ease;
}
@media (min-width: 768px) {
  :root { --gutter: 24px; --section: 48px; --fs-h2: 26px; --fs-h1: 30px; }
}
@media (min-width: 1024px) {
  :root { --fs-hero: 40px; --header-h: 64px; }
}

/* 2. Base / typography ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.625;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 var(--s-3); color: var(--ink); line-height: 1.25; font-weight: 600; }
h1, .h1 { font-family: var(--font-serif); font-weight: 700; font-size: var(--fs-h1); line-height: 1.2; letter-spacing: -.005em; }
h2, .h2 { font-family: var(--font-serif); font-weight: 700; font-size: var(--fs-h2); line-height: 1.23; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.4; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.34; }
h5, h6 { font-size: var(--fs-body); }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25em; }
li + li { margin-top: var(--s-1); }
a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; text-decoration-color: rgba(14, 90, 138, .35); transition: color var(--t), text-decoration-color var(--t); }
a:hover { color: var(--blue-hover); text-decoration-color: currentColor; }
strong, b { font-weight: 600; color: var(--ink); }
small, .small { font-size: var(--fs-meta); }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: var(--s-5) 0; }
code, kbd, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 13px; }
:focus-visible { outline: var(--focus); outline-offset: 2px; }
::selection { background: var(--blue-100); color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
table { border-collapse: collapse; }

.serif { font-family: var(--font-serif); }
.lead { font-size: var(--fs-lead); line-height: 1.56; color: var(--body); }
.meta { font-size: var(--fs-meta); line-height: 1.4; color: var(--meta); }
.caption { font-size: var(--fs-caption); line-height: 1.34; color: var(--meta); }
.muted { color: var(--meta); }
.num, .tnum { font-variant-numeric: tabular-nums; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 var(--s-2); font-size: var(--fs-meta); font-weight: 600; line-height: 1.4; color: var(--meta); letter-spacing: .01em; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow .i { width: 16px; height: 16px; transition: transform var(--t); }
.link-arrow:hover .i { transform: translateX(2px); }
.ext::after { content: ""; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--s-6); }
.prose h3 { margin-top: var(--s-5); }

/* icons (sprite injected by js/core.js; NIC.icon(name)) */
.i { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }
.i-xl { width: 32px; height: 32px; }
.i-fill { fill: currentColor; }
.ib { fill: currentColor; stroke: none; }
.i-wa { color: var(--wa); }

/* accessibility helpers */
.sr-only, .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--r-ctl); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 8px; color: #fff; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 3. Layout ------------------------------------------------------------------ */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(800px + 2 * var(--gutter)); }
.section { padding: var(--section) 0; }
.section-alt, .section--alt { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-alt + .section-alt { border-top: 0; }
.section-tight { padding: calc(var(--section) * .67) 0; }
main { display: block; min-height: 50vh; }

.grid { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid { gap: var(--s-5); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.split { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--s-6); }
  .split-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}
.stack > * + * { margin-top: var(--s-4); }
.stack-sm > * + * { margin-top: var(--s-2); }
.stack-lg > * + * { margin-top: var(--s-5); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.row { display: flex; gap: var(--s-3); align-items: center; }
.row-between { display: flex; gap: var(--s-3); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.hscroll { display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-left: var(--gutter); }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { flex: none; }
.chips.hscroll { flex-wrap: nowrap; }
@media (min-width: 768px) { .hscroll, .chips.hscroll { flex-wrap: wrap; overflow: visible; margin: 0; padding-left: 0; padding-right: 0; } }

/* 4. Utilities --------------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: var(--s-2) !important; } .mt-4 { margin-top: var(--s-4) !important; } .mt-5 { margin-top: var(--s-5) !important; }
.mb-2 { margin-bottom: var(--s-2) !important; } .mb-4 { margin-bottom: var(--s-4) !important; } .mb-5 { margin-bottom: var(--s-5) !important; }
.text-right { text-align: right; } .text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.w-100 { width: 100%; }
@media (max-width: 767.98px) { .hide-sm { display: none !important; } }
@media (min-width: 768px) { .show-sm { display: none !important; } }
@media (max-width: 1023.98px) { .hide-md { display: none !important; } }
@media (min-width: 1024px) { .show-md { display: none !important; } }

/* 5. Alert bar --------------------------------------------------------------- */
.alertbar { background: var(--navy); color: var(--on-navy); font-size: 14px; line-height: 1.4; }
.alertbar__inner { display: flex; align-items: center; gap: var(--s-3); min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.alertbar__tag { flex: none; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: var(--marigold); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.alertbar__text { flex: 1 1 auto; min-width: 0; color: var(--on-navy); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.alertbar__text:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.6); }
.alertbar__more { font-weight: 600; white-space: nowrap; color: var(--on-navy); margin-left: 6px; }
.alertbar__more .i { width: 14px; height: 14px; margin-left: 2px; position: relative; top: -1px; }
.alertbar__close { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; margin-right: -8px; border: 0; border-radius: var(--r-ctl); background: transparent; color: var(--on-navy-2); }
.alertbar__close:hover { background: rgba(255,255,255,.1); color: #fff; }
.alertbar__close .i { width: 18px; height: 18px; }
.alertbar :focus-visible { outline-color: var(--marigold); }
@media (min-width: 768px) { .alertbar__text { -webkit-line-clamp: 1; } }

/* 6. Header + navigation ----------------------------------------------------- */
#nic-header { position: sticky; top: 0; z-index: 60; min-height: var(--header-h); background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow var(--t); }
#nic-header.is-scrolled { box-shadow: var(--sh-2); }
.hdr { position: relative; }
.hdr__inner { display: flex; align-items: center; gap: var(--s-4); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 32px; height: 32px; flex: none; color: var(--navy); }
.ftr__brand .brand__tile { fill: rgba(255, 255, 255, .12); }   /* the logo tile on the navy footer */
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand__name { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__tag { display: none; font-size: 12px; font-weight: 500; color: var(--meta); white-space: nowrap; }
@media (min-width: 400px) { .brand__name { font-size: 17px; } }
@media (min-width: 1024px) { .brand__mark { width: 36px; height: 36px; } }
@media (min-width: 1440px) { .brand__tag { display: block; margin-top: 3px; } }   /* 7 menu items since the NEET PG menu: the tagline needs a wide screen */

.nav { display: none; }
@media (min-width: 1024px) { .nav { display: block; } }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__list > li { position: relative; margin: 0; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border: 0; border-radius: var(--r-ctl); background: none; color: var(--body); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color var(--t), color var(--t); }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--surface); color: var(--ink); }
.nav__link.is-active { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--cta); border-radius: 0; }
.nav__link .i { width: 16px; height: 16px; color: var(--meta); transition: transform var(--t); }
.nav__link[aria-expanded="true"] .i { transform: rotate(180deg); }
@media (min-width: 1024px) and (max-width: 1279.98px) { .nav__link { padding: 0 9px; font-size: 14.5px; } .nav__list { gap: 0; } }

.dropdown { position: absolute; top: calc(100% + 6px); left: -8px; z-index: 70; width: 340px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-2); }
.dropdown__item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-ctl); color: var(--ink); text-decoration: none; }
.dropdown__item:hover { background: var(--surface); color: var(--ink); }
.dropdown__item .i { margin-top: 2px; color: var(--blue); }
.dropdown__item[aria-current="page"] { background: var(--blue-50); }
.dropdown__label { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.dropdown__desc { display: block; font-size: var(--fs-meta); line-height: 1.4; color: var(--meta); margin-top: 1px; }
.dropdown__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: var(--r-pill); background: var(--cta-50); color: var(--cta-hover); font-size: 12px; font-weight: 700; vertical-align: 1px; }

.hdr__actions { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.hdr__phone { display: none; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hdr__phone .i { color: var(--blue); width: 18px; height: 18px; }
.hdr__phone:hover { color: var(--blue); }
@media (min-width: 1200px) { .hdr__phone { display: inline-flex; } }
.hdr__actions .hdr__cta { display: none; }
@media (min-width: 640px) { .hdr__actions .hdr__cta { display: inline-flex; } }
.hdr__burger { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; border-radius: var(--r-ctl); background: none; color: var(--ink); }
.hdr__burger:hover { background: var(--surface); }
.hdr__burger .i { width: 24px; height: 24px; }
@media (min-width: 1024px) { .hdr__burger { display: none; } }

/* mobile slide-down menu */
.mnav { position: absolute; left: 0; right: 0; top: 100%; z-index: 65; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); transform-origin: top; animation: nic-drop 150ms ease-out; }
@keyframes nic-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mnav__inner { padding-top: var(--s-2); padding-bottom: var(--s-5); }
.mnav__group { padding: var(--s-2) 0; border-bottom: 1px solid var(--line-soft); }
.mnav__group:last-of-type { border-bottom: 0; }
.mnav__title { margin: 8px 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--meta); }
.mnav__link { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 4px; color: var(--ink); font-size: 16px; font-weight: 500; text-decoration: none; }
.mnav__link .i { color: var(--blue); }
.mnav__link[aria-current="page"] { font-weight: 700; color: var(--blue); }
.mnav__link:hover { color: var(--blue); }
.mnav__contact { display: grid; gap: var(--s-2); padding-top: var(--s-4); }
@media (min-width: 1024px) { .mnav { display: none !important; } }
body.nav-open { overflow: hidden; }

/* 7. Mobile bottom action bar ------------------------------------------------ */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); height: calc(var(--mbar-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -2px 8px rgba(15, 27, 45, .05); }
.mbar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.2; text-decoration: none; }
.mbar__item .i { width: 22px; height: 22px; color: var(--blue); }
.mbar__item > span { text-align: center; }
.mbar__item:hover { color: var(--blue); background: var(--surface); }
.mbar__item--cta { background: var(--cta); color: #fff; }
.mbar__item--cta .i { color: #fff; }
.mbar__item--cta:hover { background: var(--cta-hover); color: #fff; }
.mbar__item[aria-current="page"] { color: var(--meta); background: var(--surface); }
.mbar__item[aria-current="page"] .i { color: var(--meta); }
.mbar__item--cta[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
body.has-mbar { padding-bottom: calc(var(--mbar-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) { .mbar { display: none; } body.has-mbar { padding-bottom: 0; } }

/* 8. Buttons ----------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: var(--r-ctl); background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--t), border-color var(--t), color var(--t); -webkit-tap-highlight-color: transparent; }
.btn:hover { text-decoration: none; }
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--cta); border-color: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: #fff; }
.btn-secondary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-secondary:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; }
.btn-outline { background: var(--white); border-color: var(--line); color: var(--blue); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-hover); background: var(--white); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--blue); padding-left: 10px; padding-right: 10px; }
.btn-ghost:hover { background: var(--blue-50); color: var(--blue-hover); }
.btn-danger { background: var(--white); border-color: var(--line); color: var(--bad); }
.btn-danger:hover { border-color: var(--bad); background: var(--bad-bg); color: var(--bad); }
.btn-wa { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-wa .i { color: var(--wa); }
.btn-wa:hover { border-color: var(--wa); color: var(--ink); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 12px 24px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.btn-icon.btn-sm { width: 36px; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: "Sending…"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 600; }
.btn-outline.is-loading::after, .btn-ghost.is-loading::after { color: var(--blue); }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* 9. Badges & tags ----------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--r-pill); border: 1px solid transparent; background: var(--surface-2); color: var(--body); font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; vertical-align: middle; letter-spacing: .01em; }
.badge .i { width: 13px; height: 13px; }
.badge-official, .badge-govt { background: var(--blue-50); color: var(--blue); }
.badge-media { background: var(--surface-2); color: var(--body); }
.badge-team { background: var(--cta-50); color: var(--cta-hover); }
.badge-new { background: var(--cta-50); color: var(--cta-hover); text-transform: uppercase; font-size: 11px; letter-spacing: .05em; }
.badge-live { background: var(--ok-bg); color: var(--ok); text-transform: uppercase; font-size: 11px; letter-spacing: .05em; }
.badge-private { background: var(--white); border-color: var(--line); color: var(--body); }
.badge-deemed { background: var(--warn-bg); color: var(--warn); }
.badge-ini { background: var(--navy); color: #fff; }
.badge-state { background: var(--white); border-color: var(--line); color: var(--meta); font-weight: 500; }
.badge-pinned { background: transparent; color: var(--meta); padding: 0; font-weight: 500; }
.on-navy .badge-new, .on-navy .badge-live { background: var(--marigold); color: var(--ink); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--meta); font-size: 12px; font-weight: 500; line-height: 18px; white-space: nowrap; }

/* 10. Filter chips & status pills ------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--white); color: var(--body); font-size: 14px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: border-color var(--t), background-color var(--t), color var(--t); }
.chip::after { content: ""; position: absolute; inset: -4px 0; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"], .chip.is-active, .chip[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip__count { font-size: 12px; font-weight: 600; color: var(--meta); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .chip__count, .chip.is-active .chip__count { color: var(--on-navy-2); }
.chip .i { width: 16px; height: 16px; }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; background: var(--surface-2); color: var(--meta); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.pill-done { background: var(--surface-2); color: #556273; }
.pill-live { background: var(--ok-bg); color: var(--ok); }
.pill-upcoming { background: var(--warn-bg); color: var(--warn); }
.pill-cancelled { background: var(--bad-bg); color: var(--bad); }
.pill-cancelled::before { border-radius: 1px; height: 2px; width: 8px; }

/* 11. Cards ------------------------------------------------------------------ */
.card { position: relative; display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-4); color: var(--body); }
@media (min-width: 768px) { .card { padding: 20px; } }
.card-flush { padding: 0; overflow: hidden; }
.card-title { margin: 0 0 6px; font-size: var(--fs-h4); line-height: 1.34; font-weight: 600; color: var(--ink); }
.card-meta { font-size: var(--fs-meta); color: var(--meta); line-height: 1.4; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line-soft); font-size: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 12px var(--s-4); border-bottom: 1px solid var(--line-soft); }
.card-head h3, .card-head .card-title { margin: 0; font-size: 16px; }
a.card, .card-link { text-decoration: none; transition: border-color var(--t); }
a.card:hover, .card-link:hover { border-color: var(--blue); color: var(--body); }
a.card:hover .card-title { color: var(--blue); }
.card-muted { background: var(--surface); }
.card-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-ctl); border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--blue); margin-bottom: var(--s-3); }
.card-icon .i { width: 22px; height: 22px; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); margin-top: var(--s-3); }
.kv > div { padding: 8px 0 0; }
.kv dt, .kv .k { font-size: 12px; color: var(--meta); }
.kv dd, .kv .v { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* 12. Section head & page head ---------------------------------------------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-2) var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-4); }
@media (min-width: 768px) { .sec-head { margin-bottom: 20px; } }
.sec-head__text { min-width: 0; flex: 1 1 320px; }
.sec-title { margin: 0; text-wrap: balance; font-family: var(--font-serif); font-size: var(--fs-h2); font-weight: 700; line-height: 1.23; color: var(--ink); }
.sec-sub { margin: 6px 0 0; color: var(--meta); font-size: 15px; line-height: 1.5; max-width: 70ch; }
.sec-link { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sec-link .i { width: 16px; height: 16px; transition: transform var(--t); }
.sec-link:hover .i { transform: translateX(2px); }

.page-head { padding: 20px 0 var(--s-5); background: var(--surface); border-bottom: 1px solid var(--line-soft); }
@media (min-width: 768px) { .page-head { padding: 28px 0 var(--s-6); } }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin: 0 0 var(--s-3); padding: 0; list-style: none; font-size: var(--fs-meta); color: var(--meta); }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--mute); }
.breadcrumbs a { color: var(--meta); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }
.page-title { margin: 0 0 var(--s-2); }
.page-lead { margin: 0; max-width: 72ch; font-size: 17px; line-height: 1.6; color: var(--body); }
@media (min-width: 768px) { .page-lead { font-size: var(--fs-lead); } }
.page-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: var(--s-3); font-size: var(--fs-meta); color: var(--meta); }
.page-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.page-meta .i { width: 15px; height: 15px; color: var(--mute); }
.page-note { display: flex; align-items: flex-start; gap: 8px; margin: var(--s-3) 0 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--white); font-size: 14.5px; color: var(--body); max-width: max-content; }
.page-note .i { width: 16px; height: 16px; margin-top: 2px; flex: none; color: var(--blue); }

/* 13. Notice list ------------------------------------------------------------ */
.nlist { margin: 0; padding: 0; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); }
.nlist > li { margin: 0; }
.nrow { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 14px; padding: 14px var(--s-4); border-top: 1px solid var(--line-soft); }
.nlist > li:first-child .nrow, .nlist > .nrow:first-child { border-top: 0; }
@media (min-width: 768px) { .nrow { grid-template-columns: 64px minmax(0, 1fr) auto; padding: 14px 20px; } }
.nrow__date, .nrow__date time { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; line-height: 1.2; }
.nrow__date { padding-top: 3px; }
.nrow__day { font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.nrow__year { font-size: 12px; color: var(--meta); margin-top: 2px; }
.nrow__main { min-width: 0; }
.nrow__title { display: inline; overflow-wrap: anywhere; font-family: var(--font-serif); font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); text-decoration: none; }
a.nrow__title:hover { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(14,90,138,.4); }
.nrow__title .i { width: 16px; height: 16px; color: var(--meta); margin-left: 4px; position: relative; top: -1px; }
.nrow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; font-size: var(--fs-meta); color: var(--meta); }
.nrow__summary { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--body); }
.nrow__aside { display: none; align-items: flex-start; gap: 8px; padding-top: 2px; }
@media (min-width: 768px) { .nrow__aside { display: flex; } }
.nrow.is-pinned { background: #FBFCFD; }
@media (max-width: 767.98px) {
  .nrow { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .nrow__date, .nrow__date time { flex-direction: row; align-items: baseline; gap: 4px; }
  .nrow__date { padding-top: 0; }
  .nrow__day { font-size: 13px; font-weight: 600; color: var(--meta); }
  .nrow__year { font-size: 13px; margin-top: 0; font-weight: 600; }
  .nrow__title { font-size: 16.5px; }
}
.nlist-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; padding: 12px var(--s-4); border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--meta); background: var(--surface); border-radius: 0 0 var(--r-card) var(--r-card); }
@media (min-width: 768px) { .nlist-foot { padding: 12px 20px; } }

/* 14. Data tables ------------------------------------------------------------ */
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--white); border: 1px solid var(--line); border-radius: 0; }
.table-wrap:focus-visible { outline-offset: -2px; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-table); line-height: 1.43; color: var(--body); }
.table th, .table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.table thead th { background: var(--surface); color: var(--ink); font-weight: 600; font-size: 13px; white-space: nowrap; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr:hover > * { background: #FAFBFC; }
.table .num, .table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .nowrap { white-space: nowrap; }
.table a { font-weight: 500; }
.table tr.is-current > * { background: var(--blue-50); }
.table tr.is-current:hover > * { background: var(--blue-50); }
.table-compact th, .table-compact td { padding: 6px 10px; }
.table-sticky-head thead th { position: sticky; top: 0; z-index: 2; }
.table-wrap.has-max { max-height: 70vh; overflow: auto; }
.table-sticky-col th:first-child, .table-sticky-col td:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: inset -1px 0 0 var(--line-soft); }
.table-sticky-col thead th:first-child { z-index: 3; background: var(--surface); }
.table-caption, .data-note { display: flex; flex-wrap: nowrap; gap: 4px 8px; align-items: flex-start; margin-top: var(--s-2); font-size: var(--fs-meta); color: var(--meta); line-height: 1.45; }
.table-caption .i, .data-note .i { width: 15px; height: 15px; color: var(--mute); }
.table-caption > .i, .data-note > .i { flex: none; margin-top: 2px; }
.table-caption > span, .data-note > span { flex: 1 1 auto; min-width: 0; }
/* stacked rows on small screens: add data-label="Column" to each td */
@media (max-width: 639.98px) {
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack tr { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
  .table-stack tbody tr:last-child { border-bottom: 0; }
  .table-stack td { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 8px; padding: 3px 0; border: 0; text-align: left !important; }
  .table-stack td::before { content: attr(data-label); font-size: 12px; font-weight: 600; color: var(--meta); }
  .table-stack td[data-label=""]::before, .table-stack td:not([data-label])::before { display: none; }
  .table-stack td:not([data-label]), .table-stack td[data-label=""] { display: block; }
}

/* 15. Tabs & accordion ------------------------------------------------------- */
.tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 14px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--meta); font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; transition: color var(--t), border-color var(--t); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--blue); }
.tab__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.tabpanel { padding-top: var(--s-4); }
.tabpanel:focus-visible { outline-offset: 4px; }
.tabs-boxed { padding: 0 var(--s-2); background: var(--white); }

.acc { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.acc + .acc { margin-top: var(--s-2); }
.acc > summary { position: relative; display: block; list-style: none; padding: 14px 48px 14px var(--s-4); cursor: pointer; color: var(--ink); font-weight: 600; line-height: 1.45; border-radius: var(--r-card); }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--meta); border-bottom: 2px solid var(--meta); transform: rotate(45deg); transition: transform var(--t); }
.acc[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.acc > summary:hover { color: var(--blue); }
.acc[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.acc__body { padding: 0 var(--s-4) var(--s-4); color: var(--body); line-height: 1.6; }
.acc-group .acc { border-radius: 0; margin: 0; border-top-width: 0; }
.acc-group .acc:first-child { border-top-width: 1px; border-radius: var(--r-card) var(--r-card) 0 0; }
.acc-group .acc:last-child { border-radius: 0 0 var(--r-card) var(--r-card); }
.acc-group .acc + .acc { margin-top: 0; }

/* 16. Forms ------------------------------------------------------------------ */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-4); min-width: 0; }
.label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.label .req { color: var(--bad); margin-left: 2px; }
.label .opt { font-weight: 400; color: var(--meta); }
/* +91 prefix for mobile number fields (home call-back, register) */
.phone-input { position: relative; display: flex; }
.phone-input__cc { display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid #C3CCD7; border-right: 0; border-radius: var(--r-ctl) 0 0 var(--r-ctl); background: var(--surface); color: var(--meta); font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.phone-input .input { min-width: 0; border-radius: 0 var(--r-ctl) var(--r-ctl) 0; letter-spacing: .02em; }
.field.has-error .phone-input__cc, .phone-input:has(.input[aria-invalid="true"]) .phone-input__cc { border-color: var(--bad); }
.hint { font-size: var(--fs-meta); line-height: 1.45; color: var(--meta); }
.error, .field-error { font-size: var(--fs-meta); line-height: 1.45; color: var(--bad); font-weight: 500; }
.input, .select, .textarea { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #C3CCD7; border-radius: var(--r-ctl); background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.4; transition: border-color var(--t), box-shadow var(--t); -webkit-appearance: none; appearance: none; }
.input::placeholder, .textarea::placeholder { color: #7B8696; opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: #9AA6B5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14, 90, 138, .18); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; }
.select { padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6778' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.textarea { min-height: 112px; resize: vertical; }
.input[disabled], .select[disabled], .textarea[disabled] { background: var(--surface); color: var(--meta); cursor: not-allowed; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea, .input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--bad); }
.field.has-error .input:focus, .input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .15); }
.input-sm, .select-sm { min-height: 36px; padding-top: 6px; padding-bottom: 6px; font-size: 14px; }
.input-group { position: relative; }
.input-group > .i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--meta); pointer-events: none; }
.input-group > .input { padding-left: 40px; }
.form-row { display: grid; gap: 0 var(--s-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-top: var(--s-2); }
/* Cloudflare Turnstile ("I am human"): invisible unless Cloudflare needs a click, then shown above the buttons */
.form-turnstile { margin-top: var(--s-2); max-width: 100%; overflow: hidden; }
.form-turnstile:empty { display: none; }
.form-note { font-size: var(--fs-meta); color: var(--meta); line-height: 1.5; }

.check { position: relative; display: flex; align-items: flex-start; gap: 10px; min-height: 28px; font-size: 15px; line-height: 1.45; color: var(--body); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.check-sm { font-size: 14px; }
.checks { display: grid; gap: var(--s-2); }

.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); gap: 2px; max-width: 100%; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label, .seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1 1 0; min-height: 36px; padding: 6px 14px; border: 0; border-radius: 4px; background: transparent; color: var(--meta); font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color var(--t), color var(--t); }
.seg label:hover, .seg button:hover { color: var(--ink); }
.seg input:checked + label, .seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--sh-1); }
.seg input:focus-visible + label { outline: var(--focus); outline-offset: 1px; }
.seg-block { display: flex; width: 100%; }

/* 17. Stat strip ------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(var(--stat-cols, 4), minmax(0, 1fr)); } }
.stat { padding: var(--s-4); border-top: 1px solid var(--line-soft); min-width: 0; display: flex; flex-direction: column; }
.stat:first-child { border-top: 0; }
@media (min-width: 560px) {
  .stat { border-left: 1px solid var(--line-soft); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(2n+1) { border-left: 0; }
}
@media (min-width: 1024px) {
  .stat { padding: 20px 22px; border-top: 0; border-left: 1px solid var(--line-soft); }
  .stat:nth-child(2n+1) { border-left: 1px solid var(--line-soft); }
  .stat:first-child { border-left: 0; }
}
.stat__value { font-size: 30px; font-weight: 700; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat__label { margin-top: 4px; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.stat__note { margin-top: auto; padding-top: 10px; font-size: 12px; line-height: 1.45; color: var(--meta); }
.stat__note a { color: var(--meta); }
.stat__note a:hover { color: var(--blue); }

/* 18. Steps (numbered) & vertical timeline ---------------------------------- */
.steps { display: grid; gap: var(--s-4); margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { position: relative; margin: 0; padding: 0 0 0 48px; }
.step + .step { margin-top: 0; }
.step__num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--navy); color: var(--navy); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; background: var(--white); }
.step__title { margin: 4px 0 6px; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.step__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body); }
@media (min-width: 1024px) {
  .steps-4 .step, .steps-3 .step { padding: 48px 0 0; }
  .steps-4 .step::before, .steps-3 .step::before { content: ""; position: absolute; top: 17px; left: 44px; right: 8px; height: 1px; background: var(--line); }
  .steps-4 .step:last-child::before, .steps-3 .step:last-child::before { display: none; }
}

.vtl { position: relative; margin: 0; padding: 0; list-style: none; }
.vtl__item { position: relative; margin: 0; padding: 0 0 var(--s-4) 28px; }
.vtl__item::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: -2px; width: 2px; background: var(--line); }
.vtl__item:last-child::before { display: none; }
.vtl__dot { position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); }
.vtl__item.is-done .vtl__dot { border-color: #8A94A6; background: #8A94A6; }
.vtl__item.is-live .vtl__dot { border-color: var(--ok); background: var(--white); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 8px var(--ok); }
.vtl__item.is-upcoming .vtl__dot { border-color: var(--warn); }
.vtl__item.is-cancelled .vtl__dot { border-color: var(--bad); }
.vtl__title { font-weight: 600; color: var(--ink); line-height: 1.4; }
.vtl__meta { font-size: var(--fs-meta); color: var(--meta); margin-top: 2px; }

/* 19. Empty state & skeleton ------------------------------------------------- */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: var(--s-6) var(--s-4); border: 1px dashed var(--line); border-radius: var(--r-card); background: var(--white); color: var(--meta); }
.empty .i { width: 32px; height: 32px; color: var(--mute); margin-bottom: 4px; }
.empty__title { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0; }
.empty__text { font-size: 14px; margin: 0; max-width: 46ch; }
.empty .btn { margin-top: var(--s-3); }
.empty .btn .i { width: 18px; height: 18px; margin-bottom: 0; color: currentColor; }

.skel { display: block; background: var(--surface-2); border-radius: 4px; }
.skel-line { height: 12px; margin: 6px 0; }
.skel-line.w-40 { width: 40%; } .skel-line.w-60 { width: 60%; } .skel-line.w-80 { width: 80%; }
.skel-title { height: 18px; width: 70%; margin: 4px 0 10px; }
.skel-box { height: 120px; }
.skel-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 16px var(--s-4); border-top: 1px solid var(--line-soft); }
.skel-row:first-child { border-top: 0; }
[aria-busy="true"] .skel { opacity: .9; }

/* 20. Toast & modal ---------------------------------------------------------- */
.toasts { position: fixed; z-index: 120; left: 50%; bottom: calc(var(--mbar-h) + 16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; gap: var(--s-2); width: min(92vw, 420px); pointer-events: none; }
@media (min-width: 1024px) { .toasts { left: auto; right: 24px; bottom: 24px; transform: none; } }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-card); background: var(--ink); color: #fff; font-size: 14px; line-height: 1.45; box-shadow: var(--sh-2); pointer-events: auto; animation: nic-toast 150ms ease-out; }
.toast .i { width: 18px; height: 18px; margin-top: 1px; flex: none; }
.toast-success .i { color: #7FD6A8; }
.toast-error .i { color: #FFADA3; }
.toast-warn .i { color: var(--marigold); }
.toast-info .i { color: #A9D0EC; }
.toast__close { margin-left: auto; border: 0; background: none; color: var(--on-navy-2); padding: 0 2px; line-height: 1; }
@keyframes nic-toast { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); color: var(--body); box-shadow: 0 16px 48px rgba(15, 27, 45, .18); }
.modal::backdrop { background: rgba(15, 27, 45, .45); }
.modal[open] { display: flex; flex-direction: column; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.modal__title { margin: 0; font-family: var(--font-sans); font-size: 18px; font-weight: 600; color: var(--ink); }
.modal__close { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; border: 0; border-radius: var(--r-ctl); background: none; color: var(--meta); }
.modal__close:hover { background: var(--surface); color: var(--ink); }
.modal__body { padding: 18px; overflow-y: auto; }
.modal__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--s-2); padding: 12px 18px; border-top: 1px solid var(--line-soft); background: var(--surface); border-radius: 0 0 var(--r-card) var(--r-card); }
body.modal-open { overflow: hidden; }

/* 21. Callout ---------------------------------------------------------------- */
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px var(--s-4); border: 1px solid var(--blue-100); border-radius: var(--r-card); background: var(--blue-50); color: var(--body); font-size: 15px; line-height: 1.55; }
.callout > .i { flex: none; margin-top: 2px; color: var(--blue); }
.callout__title { display: block; margin-bottom: 2px; font-weight: 600; color: var(--ink); }
.callout p { margin: 0; }
.callout p + p { margin-top: 6px; }
.callout-info { border-color: var(--blue-100); background: var(--blue-50); }
.callout-warn { border-color: #F1DDB4; background: var(--warn-bg); }
.callout-warn > .i { color: var(--warn); }
.callout-success { border-color: #C5E5D3; background: var(--ok-bg); }
.callout-success > .i { color: var(--ok); }
.callout-danger { border-color: #F5C8C2; background: var(--bad-bg); }
.callout-danger > .i { color: var(--bad); }
.callout-plain { border-color: var(--line); background: var(--white); }
.callout-plain > .i { color: var(--meta); }

/* 22. Footer ----------------------------------------------------------------- */
#nic-footer { background: var(--navy); color: var(--on-navy-2); }
.ftr { padding: 40px 0 0; font-size: 14px; line-height: 1.6; }
.ftr a { color: var(--on-navy-2); text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); }
.ftr :focus-visible { outline-color: var(--marigold); }
.ftr__grid { display: grid; gap: var(--s-6) var(--s-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ftr__about { grid-column: 1 / -1; }
@media (min-width: 1024px) { .ftr__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* laptops: the about block gets its own full-width row on the same 5 columns as the links below (text over 1-3, contact over 4-5),
   so the row is filled instead of leaving the right half empty, and the brand name never wraps in a narrow 6th column */
@media (min-width: 1024px) and (max-width: 1439.98px) {
  .ftr__about { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--s-5); align-items: start; padding-bottom: var(--s-6); border-bottom: 1px solid rgba(255,255,255,.14); }
  .ftr__brand, .ftr__text { grid-column: 1 / 4; }
  .ftr__about .ftr__text { max-width: 64ch; margin-bottom: 0; }
  .ftr__contact { grid-column: 4 / -1; grid-row: 1 / 3; }
  .ftr__social { grid-column: 4 / -1; grid-row: 3; }
}
@media (min-width: 1440px) { .ftr__grid { grid-template-columns: minmax(0, 1.5fr) repeat(5, minmax(0, 1fr)); } .ftr__about { grid-column: auto; padding-right: var(--s-5); } }
.ftr__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; margin-bottom: var(--s-3); }
.ftr__brand .brand__mark { color: #fff; width: 32px; height: 32px; }
.ftr__text { margin: 0 0 var(--s-4); color: var(--on-navy-2); max-width: 46ch; }
.ftr__contact { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ftr__contact li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.ftr__contact .i { width: 18px; height: 18px; margin-top: 2px; color: var(--on-navy-3); }
.ftr__contact a { color: #fff; font-weight: 500; }
.ftr__title { margin: 0 0 var(--s-3); color: #fff; font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ftr__links { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.ftr__links li { margin: 0; }
.ftr__links a { display: inline-block; padding: 4px 0; }
.ftr__social { display: flex; gap: 8px; margin-top: var(--s-4); }
.ftr__social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-ctl); color: #fff; }
.ftr__social a:hover { border-color: #fff; text-decoration: none; }
.ftr__social .i { width: 18px; height: 18px; }
.ftr__credit { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--on-navy-2); }
.ftr__credit a { color: #fff; font-weight: 500; overflow-wrap: anywhere; }
.ftr__official { margin-top: 36px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.ftr__official-label { color: var(--on-navy-3); font-size: 13px; margin-right: 4px; }
.ftr__official a { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-weight: 500; }
.ftr__official .i { width: 14px; height: 14px; color: var(--on-navy-3); }
.ftr__legal { padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: var(--on-navy-3); display: grid; gap: 6px; }
.ftr__legal p { margin: 0; }
.ftr__legal strong { color: var(--on-navy-2); font-weight: 600; }
@media (min-width: 1024px) { .ftr__legal { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px 32px; } .ftr__legal .ftr__updated { text-align: right; } }

/* 23. Home page -------------------------------------------------------------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--line-soft); padding: 24px 0 32px; }
@media (min-width: 1024px) { .hero { padding: 40px 0 48px; min-height: min(calc(100vh - var(--header-h)), 860px); } } /* desktop: reserve room for the late "now" card so it cannot push the sections (layout shift), but never more than the hero needs, so tall monitors get no empty band */
.hero__grid { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; } }
@media (min-width: 1200px) { .hero__grid { grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; } }
@media (max-width: 1023.98px) {
  .hero__grid { gap: 0; }
  .hero__main { display: contents; }
  /* the predictor widget comes first; the "now" card (filled by home.js after load) sits below it so it cannot push the widget down */
  .hero__eyebrow, .hero__title, .hero__sub { order: 1; }
  .hero__aside { order: 2; }
  #hero-now { order: 3; margin-top: 20px; }
  #hero-now:empty { display: none; }
  #hero-next { order: 4; }
  #hero-next:empty { display: none; }
  .hero__trust { order: 5; margin-top: 16px !important; }
  .hero__video { order: 1; margin: 0 0 16px; }
}
.hero__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 12px; font-size: var(--fs-meta); font-weight: 600; color: var(--meta); }
.hero__eyebrow .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--mute); }
.hero__cycle { color: var(--navy); }
.hero__title { margin: 0 0 12px; font-size: var(--fs-hero); line-height: 1.16; letter-spacing: -.01em; max-width: 24ch; text-wrap: balance; }
.hero__sub { margin: 0 0 20px; font-size: 17px; line-height: 1.6; color: var(--body); max-width: 60ch; }
@media (min-width: 768px) { .hero__sub { font-size: var(--fs-lead); } }
@media (max-width: 639.98px) { .hero__sub { display: none; } }
/* keep the footer out of the first screen until home.js has filled the sections (layout shift) */
#home-sections { min-height: min(100vh, 1200px); }
@media (min-width: 1024px) { #hero-now:not(:empty) { margin-top: 24px; } }
.hero__trust { display: flex; gap: 8px; align-items: flex-start; margin: var(--s-4) 0 0; font-size: var(--fs-meta); line-height: 1.5; color: var(--meta); max-width: 64ch; }
.hero__trust .i { width: 16px; height: 16px; margin-top: 1px; color: var(--ok); }
.hero__trust a { color: var(--meta); font-weight: 600; }
.hero__trust a:hover { color: var(--blue); }
.hero__video { margin: 0; }
.hero__video a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--blue); text-decoration: none; }
.hero__video a:hover span { text-decoration: underline; }
.hero__video .i { width: 30px; height: 30px; padding: 8px 7px 8px 9px; border-radius: 50%; background: var(--cta); color: var(--white); fill: currentColor; stroke: none; }
.hero__video a:hover .i { background: var(--cta-hover); }
.hero__video-lang { font-weight: 500; color: var(--meta); }

.now { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); }
.now__body { padding: 16px; }
@media (min-width: 768px) { .now__body { padding: 18px 20px; } }
.now__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: 8px; }
.now__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cta-hover); }
.now__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cta); }
.now__title { margin: 0 0 6px; font-family: var(--font-sans); font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); }
@media (min-width: 768px) { .now__title { font-size: 19px; } }
.now__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }
.now__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 16px; border-top: 1px solid var(--line-soft); background: #FBFCFD; border-radius: 0 0 var(--r-card) var(--r-card); font-size: 14px; }
@media (min-width: 768px) { .now__foot { padding: 12px 20px; } }
.now__deadline { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.now__deadline .i { width: 18px; height: 18px; color: var(--meta); }
.now__deadline b { font-variant-numeric: tabular-nums; }
.days-left { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--blue-50); color: var(--blue); font-variant-numeric: tabular-nums; }
.days-left.is-soon { background: var(--warn-bg); color: var(--warn); }
.days-left.is-over { background: var(--surface-2); color: var(--meta); }

.hero-next { margin-top: 20px; }
.hero-next__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.hero-next__title { margin: 0; font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--meta); }
.hero-next__head .link-arrow { font-size: 14px; }
.hero-next__list { margin: 0; padding: 0; list-style: none; }
.hero-next__list li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 2px 14px; align-items: baseline; margin: 0; padding: 10px 0; border-top: 1px solid var(--line); }
.hero-next__list li:last-child { border-bottom: 1px solid var(--line); }
.hero-next__date { font-weight: 700; color: var(--ink); font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-next__what { min-width: 0; display: flex; flex-direction: column; }
.hero-next__event { color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.4; }
.hero-next__meta { color: var(--meta); font-size: 13px; line-height: 1.4; }
.hero-next__in { color: var(--warn); font-size: 13px; font-weight: 600; white-space: nowrap; }
@media (max-width: 479.98px) {
  .hero-next__list li { grid-template-columns: minmax(0, 1fr) auto; }
  .hero-next__what { grid-column: 1 / -1; grid-row: 2; }
}
.pw { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-hero); box-shadow: var(--sh-2); }
.pw__head { padding: 18px 18px 0; }
@media (min-width: 768px) { .pw__head { padding: 22px 24px 0; } }
.pw__title { margin: 0 0 4px; font-family: var(--font-sans); font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.pw__sub { margin: 0; font-size: 14px; line-height: 1.5; color: var(--meta); }
.pw__body { padding: 16px 18px 18px; }
@media (min-width: 768px) { .pw__body { padding: 18px 24px 22px; } }
.pw .seg { margin-bottom: var(--s-4); }
.pw .pw__exam { margin-bottom: var(--s-3); }
.pw .pw__exam label { padding: 6px 8px; }
.pw.is-pg .pw__row { grid-template-columns: minmax(0, 1fr); }
.pw .field { margin-bottom: 14px; }
.pw__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 12px; }
@media (min-width: 360px) { .pw__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.pw__foot { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--meta); }
.pw__foot .i { width: 15px; height: 15px; margin-top: 1px; color: var(--mute); }
.pw__links { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 18px; border-top: 1px solid var(--line-soft); font-size: 14px; }
@media (min-width: 768px) { .pw__links { padding: 12px 24px; } }
.pw__links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; }
.pw__links a:hover { text-decoration: underline; }
.pw__links .i { width: 16px; height: 16px; }

.home-notices { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .home-notices { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-6); align-items: start; } }
.home-notices .chips { margin-bottom: var(--s-3); }
.officials { padding: 0; }
.officials__head { padding: 14px 16px 10px; border-bottom: 1px solid var(--line-soft); }
.officials__head h3 { margin: 0; font-size: 16px; }
.officials__head p { margin: 2px 0 0; font-size: var(--fs-meta); color: var(--meta); line-height: 1.45; }
.officials__list { margin: 0; padding: 0; list-style: none; }
.officials__list li { margin: 0; border-top: 1px solid var(--line-soft); }
.officials__list li:first-child { border-top: 0; }
.officials__list a { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; color: var(--ink); text-decoration: none; }
.officials__list a:hover { background: var(--surface); }
.officials__list a:hover .officials__name { color: var(--blue); text-decoration: underline; }
.officials__name { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; line-height: 1.35; }
.officials__name .i { width: 14px; height: 14px; color: var(--meta); }
.officials__desc { display: block; margin-top: 2px; font-size: var(--fs-meta); color: var(--meta); line-height: 1.45; }
.officials__host { font-weight: 400; color: var(--meta); font-size: 13px; }

.dates-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); }
.dates-card .tabs { padding: 0 8px; }
.dates-card .tabpanel { padding-top: 0; }
.dates-table { border: 0; }
.dates-table .table { font-size: 14px; }
.dates-table th:first-child, .dates-table td:first-child { padding-left: 20px; }
.dates-table th:last-child, .dates-table td:last-child { padding-right: 20px; }
.dt-round { white-space: nowrap; font-weight: 600; color: var(--ink); }
.dt-event { color: var(--ink); font-weight: 500; }
.dt-note { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--meta); }
.dt-dates { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.dt-src a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 13px; }
.dt-src .i { width: 14px; height: 14px; }
.dates-table tr.is-earlier { display: none; }
.dates-table.show-earlier tr.is-earlier { display: table-row; }
.dt-more { display: flex; justify-content: center; padding: 8px; border-bottom: 1px solid var(--line-soft); }
.dt-more .btn { font-size: 14px; }
.tr-cancelled .dt-event { text-decoration: line-through; text-decoration-color: rgba(51,65,85,.5); }
.dates-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 12px 20px; border-top: 1px solid var(--line-soft); font-size: var(--fs-meta); color: var(--meta); background: var(--surface); border-radius: 0 0 var(--r-card) var(--r-card); }
@media (max-width: 767.98px) {
  .dates-table .table, .dates-table tbody, .dates-table tr, .dates-table td { display: block; width: 100%; }
  .dates-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dates-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
  .dates-table tbody tr:last-child { border-bottom: 0; }
  .dates-table td { padding: 0 !important; border: 0; }
  .dates-table .dt-round { grid-column: 1; grid-row: 1; font-size: 13px; color: var(--meta); font-weight: 600; }
  .dates-table .dt-status { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .dates-table .dt-event-cell { grid-column: 1; grid-row: 2; }
  .dates-table .dt-dates { grid-column: 1 / -1; grid-row: 3; margin-top: 4px; font-weight: 600; }
  .dates-table .dt-src { grid-column: 1 / -1; grid-row: 4; margin-top: 2px; }
  .dates-table tr.is-current { background: var(--blue-50); }
  .dates-table.show-earlier tr.is-earlier { display: grid; }
  .dates-foot { padding: 12px 16px; }
}

.tool-group__title { margin: var(--s-5) 0 var(--s-3); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--meta); }
.sec-head + .tool-group__title { margin-top: 0; }
.tool-grid { display: grid; gap: var(--s-3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); } }
@media (min-width: 1024px) { .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tool { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; }
@media (min-width: 768px) { .tool { padding: 20px; } }
.tool .card-icon { margin: 0; width: 44px; height: 44px; }
.tool .card-title { font-size: 17px; margin-bottom: 4px; }
.tool p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--body); }
.tool__go { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--blue); }
.tool__go .i { width: 16px; height: 16px; transition: transform var(--t); }
.tool:hover .tool__go .i { transform: translateX(2px); }
/* phones: compact 2 x 3 grid, title only */
@media (max-width: 559.98px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tool { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; padding: 12px; }
  .tool .card-icon { width: 36px; height: 36px; }
  .tool .card-title { font-size: 15px; margin: 0; }
  .tool p, .tool__go { display: none; }
}

.news-grid { display: grid; gap: var(--s-3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news { display: flex; flex-direction: column; }
.news__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: var(--fs-meta); color: var(--meta); margin-bottom: 8px; }
.news__title { margin: 0 0 6px; font-family: var(--font-serif); font-size: 18px; font-weight: 600; line-height: 1.38; color: var(--ink); }
.news__title a { color: inherit; text-decoration: none; }
.news__title a:hover { color: var(--blue); text-decoration: underline; }
.news__sum { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--body); }
.news__src { margin-top: auto; padding-top: 12px; font-size: 13px; }
.news__src a { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
.news__src .i { width: 14px; height: 14px; }
@media (max-width: 639.98px) { .news__sum { display: none; } .news__title { font-size: 17px; } }

.state-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.state-chip { display: inline-flex; align-items: baseline; gap: 8px; min-height: 40px; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.3; text-decoration: none; transition: border-color var(--t), color var(--t); }
.state-chip:hover { border-color: var(--blue); color: var(--blue); }
.state-chip__n { font-size: 12.5px; color: var(--meta); font-weight: 500; font-variant-numeric: tabular-nums; }
.state-chip.is-zero .state-chip__n { color: var(--mute); }
/* phones: home stat strip in two columns */
@media (max-width: 559.98px) {
  #stats .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #stats .stat { padding: 12px 14px; border-left: 1px solid var(--line-soft); }
  #stats .stat:nth-child(-n+2) { border-top: 0; }
  #stats .stat:nth-child(2n+1) { border-left: 0; }
  #stats .stat__value { font-size: 24px; }
  #stats .stat__label { font-size: 14px; }
}
/* phones: three scrollable rows of pills instead of 36 stacked tiles */
@media (max-width: 639.98px) {
  .state-chips { display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-auto-columns: max-content; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scroll-padding-left: var(--gutter); }
  .state-chips::-webkit-scrollbar { display: none; }
  .state-chip { white-space: nowrap; }
}

.process-grid { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .process-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-6); align-items: start; } .process-grid .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; } .process-grid .steps-4 .step { padding: 0 0 0 48px; } .process-grid .steps-4 .step::before { display: none; } }
.promise { display: grid; gap: var(--s-3); }
.promise__item { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 15px; line-height: 1.55; }
.promise__item .i { flex: none; margin-top: 2px; }
.promise__item.is-yes .i { color: var(--ok); }
.promise__item.is-no .i { color: var(--bad); }

.team-grid { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.member { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: start; }
.member__photo { width: 72px; height: 72px; border-radius: var(--r-card); object-fit: cover; background: var(--surface-2); }
.member__ph { display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line-soft); color: var(--mute); }
.member__name { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.member__role { font-size: 14px; color: var(--body); }
.member__facts { margin-top: 6px; font-size: 13px; color: var(--meta); display: flex; flex-wrap: wrap; gap: 2px 12px; }
.member__bio { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; }

.quote { display: flex; flex-direction: column; margin: 0; }
.quote__stars { display: flex; gap: 2px; color: #B7791F; margin-bottom: 8px; }
.quote__stars .i { width: 16px; height: 16px; }
.quote__stars .is-off { color: var(--line); }
.quote__text { margin: 0 0 12px; padding: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.quote__who { margin-top: auto; font-size: 14px; color: var(--meta); }
.quote__who b { color: var(--ink); font-weight: 600; }

.faq-cols { display: grid; gap: var(--s-2); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .faq-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2) var(--s-5); } }
.faq-cols > div { display: grid; gap: var(--s-2); }
.faq-cols .acc + .acc { margin-top: 0; }

.callback { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .callback { grid-template-columns: minmax(0, 1fr) 480px; gap: 56px; align-items: start; } }
.callback__lead { margin: 8px 0 var(--s-5); color: var(--body); max-width: 56ch; }
.contact-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-soft); max-width: 460px; }
.contact-list li { display: flex; gap: 12px; align-items: center; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.contact-list .i { color: var(--blue); }
.contact-list .k { display: block; font-size: 12.5px; color: var(--meta); line-height: 1.3; }
.contact-list .v { color: var(--ink); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-list a.v:hover { color: var(--blue); text-decoration: underline; }
.form-card { padding: 18px; }
@media (min-width: 768px) { .form-card { padding: 24px; } }
.form-card h3 { margin: 0 0 4px; font-size: 18px; }
.form-done { text-align: left; }
.form-done > .i { width: 32px; height: 32px; color: var(--ok); margin-bottom: 8px; }

/* 24. Motion & print --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  @page { margin: 14mm 12mm; }
  html { scroll-padding-top: 0; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.45; padding: 0 !important; }
  #nic-alert, #nic-header, #nic-footer, .mbar, .skip-link, .toasts, .no-print, .btn, .chips, .tabs, .hdr__burger, .alertbar, .pw, .callback .form-card, .dt-more, nav[aria-label="Quick actions"] { display: none !important; }
  .dates-table tr.is-earlier { display: table-row !important; }
  .print-only { display: block !important; }
  .container { max-width: none; padding: 0; }
  .section, .hero, .page-head { padding: 10pt 0; background: none !important; border: 0 !important; }
  h1, h2, h3 { color: #000; page-break-after: avoid; break-after: avoid; }
  a { color: #000; text-decoration: underline; }
  .card, .nlist, .stats, .table-wrap, .acc { border-color: #999 !important; box-shadow: none !important; break-inside: avoid; }
  .table-wrap { overflow: visible !important; max-height: none !important; border: 0; }
  .table { font-size: 9.5pt; }
  .table th, .table td { border: 1px solid #999 !important; padding: 4pt 6pt; background: #fff !important; position: static !important; box-shadow: none !important; }
  .table thead { display: table-header-group; }
  .table tr { break-inside: avoid; }
  .tabpanel[hidden] { display: block !important; }
  details.acc { break-inside: avoid; }
  details.acc > summary::after { display: none; }
  .badge, .pill, .tag { border: 1px solid #999; background: #fff !important; color: #000 !important; }
}
.print-only { display: none; }

/* 20. Large screens ------------------------------------------------------------
   The layout grows with the screen instead of stopping at 1200px, so wide
   laptops and desktop monitors are filled edge to edge (minus a gutter).
   Long reading text keeps its own ch-based max-width, so lines stay readable. */
@media screen and (min-width: 1280px) {
  :root { --container: 1240px; --gutter: 32px; }
}
@media screen and (min-width: 1440px) {
  :root { --container: 1360px; --gutter: 40px; --section: 56px; --fs-hero: 44px; --fs-h1: 32px; --fs-h2: 28px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 480px; gap: 72px; }
  .home-notices { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
  .process-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
  .callback { grid-template-columns: minmax(0, 1fr) 520px; gap: 72px; }
}
@media screen and (min-width: 1680px) {
  :root { --container: 1560px; --gutter: 48px; --section: 64px; --fs-body: 17px; --fs-lead: 19px; --fs-hero: 48px; --fs-h1: 34px; --fs-h2: 30px; --fs-h3: 21px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 520px; gap: 96px; }
  .home-notices { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
  .process-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
  .process-grid .steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .faq-cols { gap: var(--s-2) var(--s-6); }
}
@media screen and (min-width: 1880px) {
  :root { --container: 1720px; }
}
@media screen and (min-width: 2400px) {
  :root { --container: 2080px; --gutter: 64px; --fs-body: 18px; --fs-lead: 20px; --fs-hero: 56px; --fs-h1: 38px; --fs-h2: 32px; --fs-h3: 22px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 600px; gap: 120px; }
}
