:root {
    color-scheme: light;
    --navy: #10233f;
    --navy-2: #19365b;
    --blue: #2874e8;
    --muted: #6b7890;
    --line: #e4eaf2;
    --canvas: #f3f6fb;
    --white: #fff;
    font-family: 'DM Sans', 'Noto Sans Devanagari', sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--navy); background: var(--canvas); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.page-shell { max-width: 1240px; min-height: 100vh; padding: 0 34px; margin: auto; }
.site-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg, #2874e8, #173e76); font-weight: 800; font-size: 19px; box-shadow: 0 8px 18px #2874e82b; }
.brand > span:last-child { display: grid; gap: 2px; }
.brand-kicker { color: #71819a; font-size: 11px; font-weight: 600; }
.brand-name { font-size: 17px; font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 5px; }
.nav-link { border: 0; border-radius: 10px; padding: 10px 12px; color: #52617a; background: transparent; font-size: 13px; font-weight: 600; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: #1b5ec2; background: #e8f0fd; }
main { min-height: calc(100vh - 144px); padding: 12px 0 48px; }
.view { display: none; animation: appear .2s ease-out; }
.view.active { display: block; }
@keyframes appear { from { opacity: .4; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.hero { position: relative; display: flex; min-height: 360px; overflow: hidden; align-items: center; justify-content: space-between; border-radius: 26px; padding: 48px 66px; color: #fff; background: radial-gradient(ellipse at 86% 32%, #3569a5 0, transparent 38%), linear-gradient(115deg, #10233f 0%, #17365e 60%, #214c78 100%); box-shadow: 0 20px 50px #17365e24; }
.hero-copy { position: relative; z-index: 1; max-width: 560px; }
.eyebrow { color: #6c8cba; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { color: #a9c7eb; }
.hero h1 { margin: 15px 0 12px; font-size: clamp(35px, 5vw, 55px); line-height: 1.22; letter-spacing: -.04em; }
.hero h1 span { color: #a9cbf4; }
.hero p { max-width: 470px; margin: 0 0 24px; color: #c6d6e9; font-size: 15px; line-height: 1.8; }
.hero-art { position: absolute; width: 370px; height: 330px; right: 56px; top: 14px; display: grid; place-items: center; opacity: .92; }
.hero-seal { position: relative; z-index: 1; width: 190px; height: 190px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px solid #ffffff59; border-radius: 50%; color: #e7f2ff; background: linear-gradient(145deg, #ffffff21, #ffffff09); box-shadow: 0 0 55px #9dc7f037, inset 0 0 30px #ffffff12; backdrop-filter: blur(7px); }
.hero-seal span { font-size: 13px; letter-spacing: .16em; }
.hero-seal strong { margin: 4px 0; font-size: 35px; letter-spacing: .08em; }
.hero-seal small { color: #bdd2eb; font-size: 10px; }
.orbit { position: absolute; width: 285px; height: 285px; border: 1px solid #ffffff26; border-radius: 50%; transform: rotate(-24deg) scaleY(.42); }
.orbit-two { width: 345px; height: 345px; transform: rotate(45deg) scaleY(.48); border-color: #b7d7ff21; }
.art-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #a8d1ff; box-shadow: 0 0 16px #a8d1ff; }
.dot-one { top: 69px; right: 98px; }.dot-two { bottom: 64px; left: 61px; width: 6px; height: 6px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; border: 0; border-radius: 10px; padding: 0 16px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; transition: transform .16s ease, filter .16s ease; }
.button:hover { transform: translateY(-1px); filter: brightness(1.05); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button-primary { background: #2874e8; box-shadow: 0 8px 20px #2874e84a; }
.button-blue { background: #246bd0; }.button-green { background: #168765; }
.button-small { min-height: 34px; border-radius: 8px; padding: 0 11px; font-size: 11px; }
.button-outline { border: 1px solid #d5deea; color: #39506d; background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 38px; }
.stat-card { display: flex; min-height: 94px; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; background: #fff; box-shadow: 0 4px 14px #18345608; }
.stat-icon, .service-icon { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border-radius: 14px; color: #2b6fce; background: #eaf2ff; font-size: 21px; }
.stat-card div { display: grid; gap: 3px; }.stat-card strong { font-size: 23px; }.stat-card span:not(.stat-icon) { color: var(--muted); font-size: 12px; }
.section-heading { display: flex; justify-content: space-between; margin: 0 0 16px; }.section-heading h2 { margin: 5px 0 0; font-size: 23px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.service-card { display: flex; min-height: 91px; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 15px; padding: 16px; color: var(--navy); text-align: left; background: #fff; box-shadow: 0 4px 14px #18345608; transition: transform .16s ease, border-color .16s ease; }
.service-card:hover, .circle-card:hover { transform: translateY(-2px); border-color: #b8cce8; }
.service-card > span:nth-child(2) { display: grid; gap: 4px; flex: 1; }.service-card strong { font-size: 14px; }.service-card small { color: var(--muted); font-size: 11px; }.service-card b { color: #8ca0bc; }
.service-icon { width: 42px; height: 42px; border-radius: 13px; font-size: 19px; }.service-icon.violet { color: #7354c9; background: #f0edff; }.service-icon.green { color: #168765; background: #e7f7f1; }.service-icon.amber { color: #d27518; background: #fff2df; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 20px 0 22px; }
.page-heading h1 { margin: 6px 0 5px; font-size: 32px; letter-spacing: -.03em; }
.page-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.filter-panel { display: flex; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.search-field { display: flex; min-height: 47px; flex: 1; align-items: center; gap: 9px; border: 1px solid #dfe6ef; border-radius: 10px; padding: 0 13px; background: #fff; color: #7690b1; }
.search-field:focus-within, .select-field:focus-within { border-color: #79a7e8; box-shadow: 0 0 0 3px #2874e815; }
.search-field > span { font-size: 24px; line-height: 1; }
.search-field input { width: 100%; border: 0; outline: 0; color: var(--navy); background: transparent; font-size: 13px; }
.search-field input::placeholder { color: #9aa8bb; }
.select-field { display: flex; min-width: 180px; align-items: center; border: 1px solid #dfe6ef; border-radius: 10px; padding: 0 10px; background: #fff; }
.select-field select { width: 100%; height: 45px; border: 0; outline: 0; color: #354862; background: transparent; font-size: 12px; font-weight: 600; }
.wide-search { max-width: 520px; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 15px 0 12px; }.results-toolbar p { margin: 0; color: #75839a; font-size: 12px; font-weight: 700; }
.record-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.record-card, .staff-card, .circle-card, .officer-card { border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 4px 14px #18345608; }
.record-card { padding: 17px; }.record-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }.record-top h3 { margin: 0; font-size: 16px; line-height: 1.5; }
.badge { border-radius: 99px; padding: 4px 9px; font-size: 10px; font-weight: 800; }.badge.main { color: #087958; background: #def6ed; }.badge.charge { color: #ac5a0d; background: #fff0d9; }
.person-block { display: grid; gap: 5px; margin-top: 11px; border: 1px solid #e8eef6; border-radius: 10px; padding: 10px; background: #f7f9fc; }.person-block strong { font-size: 13px; }.person-block span { color: #63748b; font-size: 11px; }.person-block i { color: #9facbd; font-style: normal; }
.villages { margin: 10px 0 13px; color: #63748b; font-size: 11px; line-height: 1.65; }
.record-actions, .officer-actions, .staff-actions { display: flex; flex-wrap: wrap; gap: 7px; border-top: 1px solid #edf1f6; padding-top: 11px; }
.muted { color: #8996a9; }.small-note { align-self: center; font-size: 11px; }
.circle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.circle-card { display: flex; min-height: 100px; align-items: center; gap: 12px; padding: 15px; color: var(--navy); text-align: left; transition: transform .16s ease, border-color .16s ease; }
.circle-symbol { display: grid; width: 41px; height: 41px; place-items: center; border-radius: 13px; color: #7354c9; background: #f0edff; font-size: 20px; }.circle-info { display: grid; min-width: 0; flex: 1; gap: 4px; }.circle-info strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }.circle-info small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.circle-card > b { color: #8999af; }
.back-link { margin: 8px 0 0; border: 0; padding: 5px 0; color: #2874d2; background: transparent; font-size: 12px; font-weight: 700; }
.officer-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14px; padding: 16px; }.officer-card > div:first-child { display: grid; gap: 4px; }.officer-card .eyebrow { font-size: 9px; }.officer-card strong { font-size: 15px; }.officer-phone { color: var(--muted); font-size: 11px; }.officer-actions { border: 0; padding: 0; }
.staff-grid { display: grid; gap: 11px; }.staff-card { display: flex; align-items: center; gap: 13px; padding: 15px; }.staff-avatar { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border-radius: 14px; background: #e9f2ff; font-size: 20px; }.staff-copy { display: grid; min-width: 140px; flex: 1; gap: 3px; }.staff-copy h3 { margin: 0; font-size: 14px; }.staff-copy p { margin: 0; color: #386eaf; font-size: 11px; font-weight: 700; }.staff-copy > span { color: var(--muted); font-size: 11px; }.staff-actions { border: 0; padding: 0; }
.calendar-panel { max-width: 800px; margin: 0 auto; border: 1px solid var(--line); border-radius: 17px; padding: 18px; background: #fff; box-shadow: 0 4px 14px #18345608; }.month-select { width: 230px; margin: 0 auto 15px; }.calendar-image { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 8px; }.empty-state { grid-column: 1 / -1; border: 1px dashed #cbd6e4; border-radius: 14px; padding: 28px 18px; color: #728198; text-align: center; background: #fff; font-size: 13px; line-height: 1.7; }.calendar-panel .empty-state { border: 0; padding: 60px 18px; }
.global-message { position: fixed; z-index: 5; right: 24px; bottom: 22px; max-width: min(440px, calc(100vw - 32px)); border-radius: 11px; padding: 13px 16px; color: #fff; background: #17365e; box-shadow: 0 8px 26px #10233f33; font-size: 12px; }.global-message.error { background: #a83232; }
.site-footer { display: flex; min-height: 62px; align-items: center; justify-content: space-between; border-top: 1px solid #e1e7ef; color: #8290a4; font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 900px) {
    .page-shell { padding: 0 22px; }.site-header { align-items: flex-start; flex-direction: column; gap: 10px; padding: 18px 0 12px; }.main-nav { width: 100%; overflow-x: auto; padding-bottom: 4px; }.nav-link { padding: 9px 11px; }.hero { min-height: 320px; padding: 38px; }.hero-art { right: 0; opacity: .55; }.hero-copy { max-width: 70%; }.circle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .page-shell { padding: 0 15px; }.brand-name { font-size: 15px; }.main-nav { margin: 0 -15px; width: calc(100% + 30px); padding: 0 15px 5px; }.nav-link { font-size: 11px; }.hero { min-height: 310px; padding: 30px 24px; border-radius: 20px; }.hero-copy { max-width: 100%; }.hero h1 { font-size: 37px; }.hero p { max-width: 310px; font-size: 13px; }.hero-art { right: -120px; opacity: .24; }.stats-grid { gap: 8px; margin: 13px 0 30px; }.stat-card { min-height: 83px; flex-direction: column; align-items: flex-start; gap: 5px; padding: 11px; }.stat-icon { width: 33px; height: 33px; border-radius: 10px; font-size: 16px; }.stat-card strong { font-size: 17px; }.stat-card span:not(.stat-icon) { font-size: 9px; }.section-heading h2 { font-size: 20px; }.service-grid { gap: 9px; }.service-card { min-height: 88px; gap: 9px; padding: 11px; }.service-icon { width: 35px; height: 35px; font-size: 16px; }.service-card strong { font-size: 11px; }.service-card small { font-size: 9px; line-height: 1.5; }.service-card b { display: none; }.page-heading { margin: 14px 0 18px; }.page-heading h1 { font-size: 28px; }.page-heading p { max-width: 300px; font-size: 11px; line-height: 1.6; }.filter-panel { flex-direction: column; padding: 9px; }.select-field { min-width: 100%; }.record-grid, .circle-grid { grid-template-columns: 1fr; }.record-card { padding: 14px; }.staff-card { align-items: flex-start; flex-wrap: wrap; }.staff-actions { width: 100%; padding-left: 56px; }.officer-card { align-items: flex-start; flex-direction: column; }.calendar-panel { padding: 12px; }.month-select { width: 100%; }.site-footer { gap: 8px; font-size: 9px; }.global-message { right: 16px; bottom: 16px; }
}
