@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600&display=swap'); /* TH1: crescendo-site heading font (falls back to Georgia where the page CSP blocks it) */
/* B3 + B2 (user 2026-10-09): one top bar and one short footer for every public page (index, report, complaint, v).
   Markup is written into each page by east-cf/tools/public-chrome.mjs; labels in EN/HI/MR by topbar.js. */
/* TH2 (user 04-11): Crescendo-style light glass bar. The logo strip (.lstrip: MCGM as our esteemed client + recognitions) is the first row INSIDE
   header.top, so strip and bar always float on top together (user: "logos and header always stays on top floating very important"). */
header.top { position: sticky; top: 0; z-index: 40; display: block; padding: 0; gap: 0; color: #1B2440; background: rgba(250,250,247,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 #E3E8F1, 0 8px 24px -16px rgba(27,36,64,.25); font-family: Inter, "Noto Sans Devanagari", Arial, sans-serif }
header.top .lstrip { background: #fff; border-bottom: 1px solid #E3E8F1 }
header.top .lsrow { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 5px 20px; overflow-x: auto; scrollbar-width: none }
header.top .lsrow::-webkit-scrollbar { display: none }
header.top .lcl { display: flex; align-items: center; gap: 8px; flex: none; line-height: 1.15 } header.top .lcl img { width: 26px; height: 26px; border-radius: 50%; object-fit: contain }
header.top .lcl small { display: block; font: 500 .6rem "JetBrains Mono", ui-monospace, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: #2D55C0 } header.top .lcl b { display: block; font-size: .78rem; font-weight: 600; white-space: nowrap }
header.top .lseal { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 26px); flex: none } header.top .lseal img { height: 24px; width: auto; display: block; object-fit: contain }
header.top .hrow { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 10px 20px }
header.top .brand { display: flex; align-items: center; gap: 10px; color: #1B2440; text-decoration: none; min-width: 0; flex: none }
header.top .brand img { width: 35px; height: 40px; display: block } /* Crescendo mark beside AVIDS (user 04-11) */
header.top .brand .t { flex: none } header.top .brand .t b { display: block; font: 600 1.15rem/1.1 Fraunces, Georgia, serif; letter-spacing: -.01em; color: #1B2440 } header.top .brand .t small { display: block; color: #5B6478; font-size: .76rem }
header.top .tnav { flex: 1; display: flex; justify-content: center; gap: 4px; min-width: 0 }
header.top .tnav a { display: inline-flex; align-items: center; gap: 7px; color: #1B2440; text-decoration: none; font-weight: 500; font-size: .9rem; padding: 8px 13px; border-radius: 999px; border: 0; background: transparent; white-space: nowrap; transition: background .2s, color .2s, transform .1s }
header.top .tnav a:hover { background: #EAF2FD } header.top .tnav a:active { transform: scale(.97) }
header.top .tnav a.pri { background: linear-gradient(135deg, #1690E0, #2D55C0); color: #fff; font-weight: 600; box-shadow: 0 6px 18px -6px rgba(22,144,224,.55) } header.top .tnav a.pri:hover { filter: brightness(1.06) }
header.top .tnav a.on:not(.pri) { background: #EAF2FD; color: #2D55C0; box-shadow: inset 0 0 0 1px #c9dcf7 }
header.top .tnav i { font-style: normal; line-height: 0; display: inline-flex } header.top .tnav i .ico { width: 18px; height: 18px; display: block } /* Crescendo line icons */
header.top .hend { display: flex; align-items: center; gap: 8px; flex: none }
header.top .lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #E3E8F1 }
header.top .lang button { border: 0; background: transparent; color: #5B6478; border-radius: 999px; padding: 5px 9px; font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer }
header.top .lang button.on { background: #1B2440; color: #fff }
/* LG3: Staff login = one button per authority (emblem + "Staff login"), drawn by topbar.js from its AUTH list */
header.top .staff { display: flex; gap: 6px }
header.top .team { display: inline-flex; align-items: center; gap: 7px; background: #fff; color: #1B2440; font-weight: 600; text-decoration: none; padding: 4px 14px 4px 4px; border-radius: 999px; white-space: nowrap; font-size: .86rem; box-shadow: inset 0 0 0 1px #E3E8F1, 0 1px 2px rgba(27,36,64,.06) }
header.top .team img { width: 26px; height: 26px; border-radius: 50%; object-fit: contain; background: #fff; display: block }
header.top .team:hover { box-shadow: inset 0 0 0 1px #2D55C0, 0 6px 16px -8px rgba(45,85,192,.45) }
header.top .strip { display: none }
@media (max-width: 1080px) { header.top .tnav a span { font-size: .84rem } header.top .tnav a { padding: 8px 10px } header.top .brand .t small { display: none } }
@media (max-width: 900px) {
  header.top .hrow { flex-wrap: wrap; gap: 8px 10px; padding: 8px 12px } header.top .brand { flex: 1 } header.top .brand img { width: 30px; height: 34px }
  header.top .tnav { order: 3; flex-basis: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px }
  header.top .tnav a { flex-direction: column; gap: 3px; padding: 6px 4px; font-size: .74rem; text-align: center; white-space: normal; line-height: 1.15; border-radius: 14px } header.top .tnav a span { font-size: .72rem } header.top .tnav i .ico { width: 20px; height: 20px }
  header.top .lsrow { padding: 4px 12px } header.top .lseal img { height: 20px }
}
@media (max-width: 440px) { header.top .brand .t b { font-size: 1rem } header.top .lang button { padding: 4px 6px; font-size: .72rem } header.top .team { font-size: .78rem; padding: 3px 10px 3px 3px } header.top .team img { width: 22px; height: 22px }
  header.top .lcl b { font-size: .7rem } header.top .lseal img { height: 20px } header.top .lseal img:nth-child(n+2) { display: none } }

/* B2: compact footer — the logos carry the names (no name written twice), one short line of text */
footer.foot { max-width: 1120px; margin: 24px auto 0; padding: 18px 16px 26px; border-top: 1px solid #e4e7ec; text-align: center; color: #667085; font-size: .8rem; font-family: Inter, "Noto Sans Devanagari", Arial, sans-serif }
footer.foot .flogos { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 14px 28px; margin-bottom: 10px }
footer.foot figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px }
footer.foot figure small { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: #98a2b3 }
footer.foot .flogos img { height: 30px; width: auto; display: block } footer.foot .flogos .seal img { height: 34px; object-fit: contain }
footer.foot p { margin: 0; line-height: 1.6 } footer.foot a { color: #1a4f8f; text-decoration: none } footer.foot a:hover { text-decoration: underline }
@media (max-width: 560px) { footer.foot .flogos { gap: 12px 18px } footer.foot .flogos img { height: 24px } footer.foot .flogos .seal img { height: 28px } }

/* C4 (user 2026-10-10): one line — seals left · © Crescendo centre · links right */
footer.foot .frow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px 18px }
footer.foot .fseal { display: flex; gap: 14px; align-items: center; justify-self: start } footer.foot .fseal img { height: 26px; width: auto; display: block }
footer.foot .fown { display: flex; gap: 8px; align-items: center; white-space: nowrap; justify-self: center } footer.foot .fown img { height: 24px; width: auto; display: block } footer.foot .fown i { font-style: normal; opacity: .5 }
footer.foot .flinks { justify-self: end; white-space: nowrap } footer.foot .fnote { margin-top: 8px; font-size: .74rem; color: #667085 }
@media (max-width: 760px) { footer.foot .frow { grid-template-columns: 1fr; justify-items: center } footer.foot .fseal, footer.foot .fown, footer.foot .flinks { justify-self: center } footer.foot .fseal img { height: 22px } footer.foot .fown img { height: 20px } }

/* GV1 (2026-10-14): the visual layer of the team app on every public page — rules in east-zone/docs/DESIGN.md.
   Navy-tinted depth with a light top edge, a press that answers, hover only for a mouse, a clear keyboard ring. No layout change. */
:root { --e-out: cubic-bezier(.23,1,.32,1); --t-press: 120ms; --t-fast: 160ms;
  --el-1: 0 1px 2px rgba(6,47,102,.06), 0 8px 22px -12px rgba(6,47,102,.18); --el-2: 0 14px 30px -12px rgba(6,47,102,.28), 0 3px 8px -3px rgba(6,47,102,.10); --hl: inset 0 1px 0 rgba(255,255,255,.9) }
::selection { background: rgba(0,87,184,.18) }
.card { box-shadow: var(--el-1), var(--hl) }
.btn, .go, .act, .team, header.top .lang button { transition: transform var(--t-press) var(--e-out), box-shadow var(--t-fast) var(--e-out), background-color var(--t-fast) ease, filter var(--t-fast) ease }
.btn:active, .go:active, .act:active, .team:active, header.top .lang button:active { transform: scale(.97) }
.btn:disabled, .go:disabled { transform: none; box-shadow: none }
.act { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 22px -10px rgba(6,47,102,.45) }
input, textarea, select { transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) var(--e-out) }
input:focus, textarea:focus, select:focus { box-shadow: 0 0 0 3px rgba(0,87,184,.16) }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #0057b8; outline-offset: 2px; border-radius: 6px }
header.top a:focus-visible, header.top button:focus-visible { outline-color: #2D55C0 }
@media (hover: hover) and (pointer: fine) {
  .act:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 18px 30px -12px rgba(6,47,102,.5) }
  .act:hover:active { transform: scale(.97) }
  .btn:hover:not(:disabled), .go:hover:not(:disabled), .team:hover { filter: brightness(1.06); box-shadow: var(--el-2) }
}
@media (prefers-reduced-motion: reduce) { .btn, .go, .act, .team, header.top .lang button { transition: none; transform: none !important } }

/* V4 (V5 release, 2026-10-15): public forms read as numbered steps, and say what happens after sending. Rules in east-zone/docs/DESIGN.md "V4 public pages". */
h2.step-h { display: flex; gap: 10px; align-items: center; margin-top: 22px }
h2.step-h:first-child { margin-top: 0 }
h2.step-h::before { content: attr(data-n); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #0b3f64; color: #fff; font-size: .85rem; font-weight: 800 }
.next-box { margin-top: 14px }
.next-box h2 { margin: 0 0 10px; font-size: 1rem }
.next-box ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: nx }
.next-box li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; counter-increment: nx; line-height: 1.45 }
.next-box li::before { content: counter(nx); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e8f0fb; color: #0b3f64; font-weight: 800; font-size: .85rem }
.next-box li b { display: block }
.next-box li span { color: #5b6b7f; font-size: .9rem }
.cap-gap { margin-top: 12px }

/* TH1 (2026-11-03): crescendo-site theme on every AVIDS public page — light material background, serif headings, soft cards,
   pill buttons, gentle motion. AVIDS logo colours kept (navy #0b3f64 / #1a4f8f, gold #d4a017). "html body" wins over each page's own <style>. */
html body { background: #FAFAF7; font-feature-settings: "cv11"; -webkit-font-smoothing: antialiased }
html body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40vmax 40vmax at 0% 0%, rgba(26,79,143,.10), transparent 70%), radial-gradient(38vmax 38vmax at 100% 35%, rgba(212,160,23,.09), transparent 70%), radial-gradient(42vmax 42vmax at 30% 100%, rgba(19,136,8,.06), transparent 70%) }
html body h1, html body h2, html body .hero h1 { font-family: Fraunces, Georgia, serif; font-weight: 600; letter-spacing: -.01em; line-height: 1.15 }
html body .card { border-radius: 20px; border: 1px solid #E3E8F1; box-shadow: 0 1px 2px rgba(27,36,64,.06), 0 4px 12px rgba(27,36,64,.06), 0 16px 40px -12px rgba(27,36,64,.12);
  transition: transform .35s cubic-bezier(.23,1,.32,1), box-shadow .35s cubic-bezier(.23,1,.32,1); animation: th1up .6s cubic-bezier(.23,1,.32,1) backwards }
@media (hover: hover) { html body .card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(27,36,64,.06), 0 12px 28px rgba(27,36,64,.1), 0 30px 60px -20px rgba(11,63,100,.25) } }
html body .hero { border-radius: 24px; box-shadow: 0 30px 60px -24px rgba(11,63,100,.45); animation: th1up .7s cubic-bezier(.23,1,.32,1) backwards }
html body .btn, html body .cta a, html body button.pri { border-radius: 999px; transition: transform .2s cubic-bezier(.23,1,.32,1), box-shadow .2s, background .2s }
html body .btn.pri, html body button.pri { background: linear-gradient(135deg, #1a4f8f, #0b3f64); box-shadow: 0 8px 20px -8px rgba(11,63,100,.6) }
@media (hover: hover) { html body .btn:hover, html body .cta a:hover, html body button.pri:hover { transform: translateY(-2px) } }
html body .btn:active, html body .cta a:active, html body button:active { transform: scale(.97) }
html body input, html body select, html body textarea { border-radius: 12px; transition: border-color .2s, box-shadow .2s }
html body input:focus, html body select:focus, html body textarea:focus { outline: none; border-color: #1a4f8f; box-shadow: 0 0 0 4px rgba(26,79,143,.15) }
header.top .tnav a, header.top .team, header.top .lang button { border-radius: 999px }
@keyframes th1up { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { html body .card, html body .hero { animation: none } html body * { transition: none !important } }
@media print { html body::before { display: none } html body .card { animation: none; box-shadow: none } }/* Strip = same logos as www.crescendoits.com + MCGM emblem; "← Crescendo website" at its right end (user 04-11) */
header.top .lsrow { justify-content: flex-start; overflow: visible }
header.top .lseal { flex: 1; min-width: 0; overflow-x: auto; justify-content: safe center; scrollbar-width: none; gap: clamp(14px, 3vw, 34px) } header.top .lseal::-webkit-scrollbar { display: none }
header.top .lseal img { height: 24px !important; flex: none; display: block !important }
header.top .back { flex: none; display: inline-flex; align-items: center; gap: 6px; color: #2D55C0; font-weight: 600; font-size: .78rem; text-decoration: none; padding: 4px 12px; border-radius: 999px; background: #EAF2FD; white-space: nowrap; transition: background-color .2s ease }
header.top .back:hover { background: #DCE9FB } header.top .back span[aria-hidden] { transition: transform .2s ease; display: inline-block } header.top .back:hover span[aria-hidden] { transform: translateX(-3px) }
@media (max-width: 520px) { header.top .back [data-tb] { display: none } header.top .back { padding: 4px 9px } }
/* Bigger, more prominent logo strip, same size as the Crescendo site (user 04-11) */
header.top .lsrow { max-width: 1400px; padding: 8px 20px; min-height: 60px; box-sizing: border-box }
header.top .lseal { gap: clamp(16px, 2.2vw, 44px) } header.top .lseal img { height: 42px !important }
@media (max-width: 640px) { header.top .lsrow { padding: 6px 12px; min-height: 48px } header.top .lseal { gap: 18px } header.top .lseal img { height: 32px !important } }
