/* ==========================================================================
   शिक्षा कोष — डिज़ाइन सिस्टम
   ========================================================================== */
:root {
  --brand: #0b5d44;
  --brand-800: #073b2c;
  --brand-700: #08493a;
  --brand-600: #0a5a43;
  --brand-500: #0f7a58;
  --brand-200: #b9e2cf;
  --brand-100: #d9f0e5;
  --brand-50: #eef8f3;
  --accent: #e07b14;
  --accent-700: #a95705;
  --accent-600: #c4650a;
  --accent-100: #fde9cf;
  --accent-50: #fff6ea;
  --ink: #16212a;
  --ink-2: #3a4855;
  --muted: #64717d;
  --line: #e1e6e3;
  --line-2: #eef1ef;
  --bg: #f4f5f1;
  --surface: #ffffff;
  --surface-2: #fafbf9;
  --success: #17703a;
  --success-bg: #e3f3e8;
  --warning: #8f5300;
  --warning-bg: #fff2d9;
  --danger: #b42318;
  --danger-bg: #fdecea;
  --info: #1a5ba3;
  --info-bg: #e6effa;
  --chart-1: #0a8f5c;
  --chart-2: #c9620c;
  --grid: #e7ebe8;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 1px 3px rgba(16, 24, 40, .07), 0 6px 16px rgba(16, 24, 40, .05);
  --shadow-lg: 0 18px 40px rgba(16, 24, 40, .14);
  --font: 'Mukta', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--brand-500); text-decoration: none; }
a:hover { color: var(--brand-700); text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
h3 { font-size: 1.18rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-600); }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .92em; letter-spacing: .02em; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

.ic { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

/* ---------- लेआउट ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.section { padding: 56px 0; }
.section-sm { padding: 32px 0; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.split { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } .split-even { grid-template-columns: 1fr 1fr; } }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 8px; }

/* ---------- बटन ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .55rem 1.15rem; border-radius: 10px;
  font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s;
  background: var(--surface); color: var(--ink); white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-600); color: #fff; }
.btn-outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand-500); color: var(--brand-700); }
.btn-ghost { background: transparent; color: var(--brand-600); }
.btn-ghost:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-light:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #8f1c13; color: #fff; }
.btn-danger-outline { border-color: #f1c4bf; color: var(--danger); background: var(--surface); }
.btn-danger-outline:hover { background: var(--danger-bg); color: var(--danger); }
.btn-sm { min-height: 34px; padding: .3rem .75rem; font-size: .88rem; border-radius: 8px; }
.btn-lg { min-height: 52px; padding: .75rem 1.6rem; font-size: 1.06rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-icon { width: 40px; min-height: 40px; padding: 0; }
.btn-group { display: inline-flex; gap: 8px; flex-wrap: wrap; }
form.inline { display: inline; }

/* ---------- कार्ड ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-body { padding: 20px; }
@media (min-width: 640px) { .card-body { padding: 24px; } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.08rem; }
.card-foot { padding: 14px 20px; border-top: 1px solid var(--line-2); background: var(--surface-2); border-radius: 0 0 var(--radius) var(--radius); }
.card-flush .table-wrap { border: 0; border-radius: 0; }
.card-accent { border-top: 4px solid var(--accent); }
.card-brand { border-top: 4px solid var(--brand); }
.card-hover { transition: box-shadow .2s, transform .2s; }
.card-hover:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/* ---------- आँकड़े (stat tiles) ---------- */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; position: relative; overflow: hidden; }
.stat-label { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .9rem; font-weight: 600; }
.stat-label .ic { color: var(--brand-500); }
.stat-value { font-size: 1.8rem; font-weight: 800; line-height: 1.15; margin-top: 6px; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-sub { font-size: .86rem; color: var(--muted); margin-top: 4px; }
.stat-hero { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%); color: #fff; border: 0; }
.stat-hero .stat-label, .stat-hero .stat-sub, .stat-hero .stat-label .ic { color: rgba(255, 255, 255, .82); }
.stat-hero .stat-value { color: #fff; }
.progress { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.progress > span { display: block; height: 100%; background: var(--chart-1); border-radius: 99px; }
.stat-hero .progress { background: rgba(255, 255, 255, .2); }
.stat-hero .progress > span { background: #fbbf5c; }

/* ---------- बैज ---------- */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .6rem; border-radius: 99px; font-size: .8rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-muted { background: var(--line-2); color: var(--muted); }
.badge-brand { background: var(--brand-50); color: var(--brand-600); }
.badge-accent { background: var(--accent-50); color: var(--accent-700); }
.pill { display: inline-block; padding: .1rem .55rem; border-radius: 6px; background: var(--line-2); font-size: .82rem; color: var(--ink-2); font-weight: 600; }

/* ---------- अलर्ट ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid transparent; margin-bottom: 16px; font-size: .97rem; }
.alert .ic { margin-top: .2em; }
.alert p:last-child { margin-bottom: 0; }
.alert-success { background: var(--success-bg); color: #0f5229; border-color: #bfe3cb; }
.alert-error { background: var(--danger-bg); color: #8b1a11; border-color: #f5c6c1; }
.alert-warning { background: var(--warning-bg); color: #6e4000; border-color: #f6dca6; }
.alert-info { background: var(--info-bg); color: #164a85; border-color: #c4d8f2; }
.callout { padding: 16px 18px; border-radius: var(--radius); background: var(--accent-50); border: 1px dashed #f0c48d; }

/* ---------- फ़ॉर्म ---------- */
.form-grid { display: grid; gap: 16px 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
label, .label { font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.req::after { content: ' *'; color: var(--danger); }
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number], input[type=date], input[type=month], input[type=search], input[type=file], select, textarea {
  width: 100%; min-height: 46px; padding: .6rem .8rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid #d3dad6; border-radius: 10px; transition: border-color .15s, box-shadow .15s;
}
input[type=file] { padding: .5rem; min-height: auto; background: var(--surface-2); }
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364717d' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.2rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100); }
input[readonly] { background: var(--line-2); color: var(--muted); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #fffafa; }
.error { color: var(--danger); font-size: .86rem; font-weight: 600; }
.hint { color: var(--muted); font-size: .85rem; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 500; cursor: pointer; color: var(--ink); }
.check input { width: 20px; height: 20px; margin-top: .2em; accent-color: var(--brand); flex: none; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1rem; border: 1.5px solid #d3dad6; border-radius: 10px; font-weight: 700; background: var(--surface); cursor: pointer; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); box-shadow: 0 0 0 3px var(--brand-100); }
.choice input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.form-section { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 0; margin: 0 0 20px; }
.form-section > legend, .form-section-title { display: flex; align-items: center; gap: .6rem; float: left; width: 100%; padding: 14px 20px; margin: 0 0 4px; font-weight: 700; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); background: var(--surface-2); border-radius: var(--radius) var(--radius) 0 0; }
.form-section > legend + * { clear: both; }
.form-section .num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .9rem; }
.form-section-body { padding: 20px; clear: both; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; padding-top: 8px; }
.form-actions.sticky { position: sticky; bottom: 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); padding: 12px 0; z-index: 5; border-top: 1px solid var(--line); }
.input-group { display: flex; }
.input-group > :first-child { border-radius: 10px 0 0 10px; }
.input-group > .btn { border-radius: 0 10px 10px 0; }
.file-current { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--success); font-weight: 600; }
.photo-preview { width: 96px; height: 120px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); background: var(--line-2); }

/* ---------- टेबल ---------- */
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table th { background: var(--surface-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); font-weight: 700; white-space: nowrap; position: sticky; top: 0; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafcfb; }
.table .num, .table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tfoot td { font-weight: 800; background: var(--surface-2); border-top: 2px solid var(--line); }
.table .title { font-weight: 700; color: var(--ink); }
.table .sub { font-size: .84rem; color: var(--muted); }
.table input[type=number], .table input[type=text], .table select { min-height: 38px; padding: .3rem .5rem; font-size: .95rem; }
.table-compact th, .table-compact td { padding: 8px 10px; }
tr.row-done { background: #f6fbf8; }
tr[data-href] { cursor: pointer; }

/* मोबाइल पर टेबल को कार्ड में बदलें */
@media (max-width: 720px) {
  .table-cards thead { display: none; }
  .table-cards, .table-cards tbody, .table-cards tr, .table-cards td { display: block; width: 100%; }
  .table-cards tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .table-cards td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .table-cards td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: .85rem; text-align: left; }
  .table-cards td.title-cell { display: block; text-align: left; }
  .table-cards td.title-cell::before { display: none; }
  .table-cards td.num { text-align: right; }
  .table-cards tfoot tr { background: var(--surface-2); }
}

/* ---------- फ़िल्टर बार ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; }
.filters .field { flex: 1 1 160px; gap: 4px; }
.filters .field.grow { flex: 3 1 240px; }
.filters label { font-size: .82rem; }
.filters input, .filters select { min-height: 42px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tab { padding: 10px 14px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; display: inline-flex; gap: .45rem; align-items: center; }
.tab:hover { color: var(--ink); text-decoration: none; }
.tab.active { color: var(--brand-600); border-bottom-color: var(--brand); }
.tab .count { background: var(--line-2); color: var(--ink-2); border-radius: 99px; padding: 0 .5rem; font-size: .78rem; }
.tab.active .count { background: var(--brand-50); color: var(--brand-600); }

.pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 .7rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; color: var(--ink-2); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination a:hover { border-color: var(--brand-500); text-decoration: none; }

.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty .ic { width: 44px; height: 44px; color: var(--brand-200); stroke-width: 1.5; margin-bottom: 8px; }
.empty h3 { color: var(--ink-2); }

.dl { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 0; margin: 0; }
.dl dt, .dl dd { padding: 9px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.dl dt { color: var(--muted); font-size: .92rem; font-weight: 600; padding-right: 12px; }
.dl dd { font-weight: 600; word-break: break-word; }
.dl > :nth-last-child(-n+2) { border-bottom: 0; }

.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.list-plain li:last-child { border-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 6px 0 6px 32px; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d44' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ==========================================================================
   सार्वजनिक वेबसाइट
   ========================================================================== */
.topbar { background: var(--brand-800); color: rgba(255, 255, 255, .85); font-size: .86rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar .row { gap: 18px; }
.topbar .install-btn { background: var(--accent); color: #fff; border: 0; border-radius: 99px; padding: .15rem .8rem; font: inherit; font-weight: 700; cursor: pointer; display: inline-flex; gap: .35rem; align-items: center; }
@media (max-width: 640px) { .topbar .hide-sm { display: none; } }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none !important; min-width: 0; }
.brand img { width: 48px; height: 48px; flex: none; }
.brand-name { font-weight: 800; font-size: 1.32rem; line-height: 1.1; color: var(--brand-700); }
.brand-tag { font-size: .8rem; color: var(--muted); font-weight: 600; line-height: 1.2; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { padding: .5rem .7rem; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: .97rem; }
.nav a:hover { background: var(--brand-50); color: var(--brand-700); text-decoration: none; }
.nav a.active { color: var(--brand-600); background: var(--brand-50); }
.header-cta { display: flex; gap: 8px; margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.nav-toggle .ic { width: 22px; height: 22px; }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 12px 16px 18px; }
  .site-nav.open { display: block; }
  .nav { flex-direction: column; align-items: stretch; margin: 0; }
  .nav a { padding: .7rem .8rem; font-size: 1.02rem; }
  .header-cta { margin: 12px 0 0; }
  .header-cta .btn { flex: 1; }
}
@media (min-width: 1081px) { .site-nav { display: flex; align-items: center; margin-left: auto; } }
@media (max-width: 420px) { .brand-name { font-size: 1.15rem; } .brand img { width: 42px; height: 42px; } .brand-tag { font-size: .74rem; } }

.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(224, 123, 20, .28), transparent 60%), radial-gradient(900px 600px at -10% 120%, rgba(255, 255, 255, .08), transparent 60%), linear-gradient(160deg, var(--brand-600) 0%, var(--brand-800) 100%); }
.hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; gap: 36px; padding-top: 56px; padding-bottom: 64px; align-items: center; }
@media (min-width: 960px) { .hero .container { grid-template-columns: 1.15fr .85fr; padding-top: 76px; padding-bottom: 88px; } }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.15; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #fcc875; }
.hero .lead { color: rgba(255, 255, 255, .86); font-size: 1.15rem; max-width: 560px; }
.hero .eyebrow { color: #fcc875; background: rgba(255, 255, 255, .1); padding: .3rem .8rem; border-radius: 99px; margin-bottom: 16px; text-transform: none; letter-spacing: .01em; font-size: .9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-card { background: rgba(255, 255, 255, .98); color: var(--ink); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); }
.hero-card h3 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; color: var(--muted); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-stat { padding: 14px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line-2); }
.hero-stat b { display: block; font-size: 1.55rem; line-height: 1.2; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.hero-stat span { font-size: .86rem; color: var(--muted); font-weight: 600; }
.hero-stat.wide { grid-column: 1 / -1; background: var(--accent-50); border-color: #fadcb5; }
.hero-stat.wide b { color: var(--accent-700); }

.page-hero { background: linear-gradient(160deg, var(--brand-600), var(--brand-800)); color: #fff; padding: 40px 0 44px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 123, 20, .35), transparent 70%); }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: rgba(255, 255, 255, .82); margin: 8px 0 0; max-width: 680px; }
.crumbs { font-size: .88rem; color: rgba(255, 255, 255, .7); margin-bottom: 8px; }
.crumbs a { color: rgba(255, 255, 255, .9); }

.feature { padding: 24px; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); margin-bottom: 14px; }
.feature-icon .ic { width: 26px; height: 26px; }
.feature-icon.accent { background: var(--accent-50); color: var(--accent-600); }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }

.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 22px 20px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps.accent li::before { background: var(--accent); }
.steps h4 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band { background: linear-gradient(120deg, var(--accent-600), var(--accent)); color: #fff; border-radius: var(--radius-lg); padding: 32px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); }
.cta-band .btn { background: #fff; color: var(--accent-700); }

.notice-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line-2); color: inherit; text-decoration: none !important; }
.notice-item:last-child { border-bottom: 0; }
.notice-item:hover .notice-title { color: var(--brand-600); }
.notice-date { flex: none; width: 58px; text-align: center; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); padding: 6px 0; line-height: 1.1; }
.notice-date b { display: block; font-size: 1.35rem; }
.notice-date span { font-size: .75rem; font-weight: 700; }
.notice-title { font-weight: 700; color: var(--ink); }
.pin { color: var(--accent-600); }

.bank-box { border: 2px dashed var(--brand-200); border-radius: var(--radius); padding: 18px; background: var(--brand-50); }
.bank-box .dl dt { color: var(--brand-700); }
.copy { cursor: pointer; border: 0; background: none; color: var(--brand-500); padding: 2px 4px; border-radius: 6px; font: inherit; font-size: .82rem; font-weight: 700; }
.copy:hover { background: var(--brand-100); }
.qr { width: 200px; height: 200px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 8px; }

.site-footer { background: #0b1f19; color: rgba(255, 255, 255, .72); padding: 48px 0 0; margin-top: 0; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding: 16px 0; font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand b { color: #fff; font-size: 1.2rem; display: block; line-height: 1.1; }

/* ---------- चार्ट ---------- */
.chart { position: relative; }
.chart-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--ink-2); margin-bottom: 10px; }
.chart-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.chart-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.chart-plot { position: relative; height: 220px; margin-left: 52px; border-bottom: 1px solid #cfd6d2; }
.chart-grid { position: absolute; inset: 0; pointer-events: none; }
.chart-grid div { position: absolute; left: 0; right: 0; border-top: 1px solid var(--grid); }
.chart-grid span { position: absolute; right: calc(100% + 8px); transform: translateY(-50%); font-size: .75rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.chart-cols { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.chart-col { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; position: relative; outline: none; }
.chart-col:hover, .chart-col:focus-visible { background: rgba(10, 143, 92, .05); }
.chart-bar { width: min(24px, 34%); min-height: 0; border-radius: 4px 4px 0 0; background: var(--chart-1); }
.chart-bar.s2 { background: var(--chart-2); }
.chart-col.single .chart-bar { width: min(24px, 56%); }
.chart-x { display: flex; margin-left: 52px; }
.chart-x span { flex: 1; text-align: center; font-size: .74rem; color: var(--muted); padding-top: 6px; white-space: nowrap; overflow: hidden; }
.chart-tip { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 8px 10px; border-radius: 8px; font-size: .8rem; line-height: 1.45; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 5; box-shadow: var(--shadow); }
.chart-tip b { display: block; font-size: .82rem; margin-bottom: 2px; }
.chart-tip i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.chart-col:hover .chart-tip, .chart-col:focus-visible .chart-tip { opacity: 1; }
.chart-col:first-child .chart-tip, .chart-col:nth-child(2) .chart-tip { left: 0; transform: none; }
.chart-col:last-child .chart-tip, .chart-col:nth-last-child(2) .chart-tip { left: auto; right: 0; transform: none; }
@media (max-width: 560px) { .chart-x span:nth-child(even) { visibility: hidden; } .chart-plot { height: 180px; } }
.hbars { display: grid; gap: 12px; }
.hbar-row { display: grid; grid-template-columns: minmax(110px, 34%) 1fr auto; gap: 10px; align-items: center; font-size: .92rem; }
.hbar-track { height: 12px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.hbar-fill { height: 100%; background: var(--chart-1); border-radius: 0 4px 4px 0; }
.hbar-fill.s2 { background: var(--chart-2); }
.hbar-row b { font-variant-numeric: tabular-nums; }
details.table-toggle summary { cursor: pointer; font-weight: 600; color: var(--brand-600); font-size: .9rem; margin-top: 12px; }

/* ---------- महीनों की ग्रिड (दानदाता) ---------- */
.month-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.month-cell { border-radius: 12px; padding: 10px 10px 9px; border: 1.5px solid var(--line); background: var(--surface); position: relative; min-height: 84px; display: flex; flex-direction: column; justify-content: space-between; color: inherit; text-decoration: none !important; }
.month-cell .m { font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.month-cell .a { font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.month-cell .s { font-size: .74rem; font-weight: 700; display: flex; align-items: center; gap: .25rem; }
.month-cell.paid { background: var(--success-bg); border-color: #a9d9b9; }
.month-cell.paid .a, .month-cell.paid .s { color: var(--success); }
.month-cell.due { background: var(--warning-bg); border-color: #f2d095; border-style: dashed; }
.month-cell.due .s { color: var(--warning); }
.month-cell.future, .month-cell.na { background: var(--surface-2); color: var(--muted); }
.month-cell.future .a, .month-cell.na .a { color: #a3adb5; }
.month-cell.current { box-shadow: 0 0 0 3px var(--accent-100); border-color: var(--accent); }
.legend-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); margin-top: 12px; }
.legend-row span { display: inline-flex; align-items: center; gap: .4rem; }
.legend-row i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1.5px solid; }

/* ---------- आवेदन प्रगति ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; position: relative; padding-bottom: 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); color: var(--muted); border: 2px solid var(--line); z-index: 1; }
.timeline .dot .ic { width: 18px; height: 18px; }
.timeline .done .dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.timeline .done::before { background: var(--brand-200); }
.timeline .current .dot { background: var(--accent-50); border-color: var(--accent); color: var(--accent-600); }
.timeline .failed .dot { background: var(--danger-bg); border-color: var(--danger); color: var(--danger); }
.timeline h4 { margin: 6px 0 2px; }
.timeline p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ==========================================================================
   लॉगिन / पंजीकरण
   ========================================================================== */
.auth-wrap { min-height: calc(100vh - var(--header-h) - 38px); display: grid; place-items: start center; padding: 40px 16px 64px; background: radial-gradient(800px 400px at 50% -10%, var(--brand-100), transparent 70%); }
.auth-card { width: 100%; max-width: 460px; }
.auth-card.wide { max-width: 860px; }
.auth-card .card-body { padding: 28px; }
.auth-head { text-align: center; margin-bottom: 20px; }
.auth-head img { width: 64px; height: 64px; margin-bottom: 8px; }
.auth-head h1 { font-size: 1.6rem; margin-bottom: 4px; }
.role-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--line-2); border-radius: 12px; margin-bottom: 20px; }
.role-tabs a { text-align: center; padding: .6rem; border-radius: 9px; font-weight: 700; color: var(--muted); display: flex; gap: .4rem; justify-content: center; align-items: center; }
.role-tabs a:hover { text-decoration: none; color: var(--ink); }
.role-tabs a.active { background: var(--surface); color: var(--brand-700); box-shadow: var(--shadow-sm); }
.auth-alt { text-align: center; margin-top: 18px; color: var(--muted); font-size: .95rem; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-switch { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.input-lg { min-height: 52px !important; font-size: 1.12rem !important; }

/* भाषा बदलें: हिं | EN */
.lang-switch { display: inline-flex; border: 1px solid rgba(255, 255, 255, .4); border-radius: 99px; overflow: hidden; font-size: .82rem; font-weight: 700; line-height: 1; }
.lang-switch a { padding: .32rem .62rem; color: #fff; text-decoration: none !important; }
.lang-switch a.on { background: #fff; color: var(--brand-700); }
.lang-switch a:not(.on):hover { background: rgba(255, 255, 255, .15); }
.lang-switch.on-light { border-color: var(--line); }
.lang-switch.on-light a { color: var(--ink-2); }
.lang-switch.on-light a.on { background: var(--brand); color: #fff; }
.lang-switch.on-light a:not(.on):hover { background: var(--brand-50); }
html[lang=en] body { letter-spacing: 0; }

/* पासवर्ड दिखाएँ/छिपाएँ */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 56px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); width: 44px; height: 40px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.pw-toggle:hover { background: var(--line-2); color: var(--ink); }
.pw-toggle .ic { width: 20px; height: 20px; }

/* ऊपर की पट्टी व हेडर में एडमिन लॉगिन */
.topbar .topbar-admin { display: inline-flex; align-items: center; gap: .35rem; padding: .12rem .7rem; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .35); font-weight: 700; }
.topbar .topbar-admin:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.header-cta .admin-btn { padding-left: .7rem; padding-right: .7rem; }
@media (max-width: 1080px) { .header-cta { flex-wrap: wrap; } .header-cta .admin-btn { flex-basis: 100%; border: 1px solid var(--line); } }

/* ==========================================================================
   पोर्टल (दानदाता / विद्यार्थी / एडमिन)
   ========================================================================== */
.portal { display: flex; min-height: 100vh; }
.sidebar { width: 264px; flex: none; background: #0c2b22; color: rgba(255, 255, 255, .78); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 50; }
.sidebar .brand { padding: 18px 18px 14px; color: #fff; }
.sidebar .brand img { width: 42px; height: 42px; }
.sidebar .brand-name { color: #fff; font-size: 1.18rem; }
.sidebar .brand-tag { color: rgba(255, 255, 255, .6); }
.side-user { margin: 4px 14px 12px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); display: flex; gap: 10px; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; font-size: .95rem; }
.side-user b { display: block; color: #fff; font-size: .95rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user span { font-size: .78rem; color: rgba(255, 255, 255, .6); }
.side-nav { padding: 4px 10px 16px; flex: 1; }
.side-nav .group { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .42); padding: 14px 10px 6px; font-weight: 700; }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: .58rem .75rem; border-radius: 9px; color: rgba(255, 255, 255, .8); font-weight: 600; font-size: .96rem; }
.side-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; }
.side-nav a.active { background: var(--brand-500); color: #fff; }
.side-nav a .ic { opacity: .9; }
.side-nav .count { margin-left: auto; background: var(--accent); color: #fff; font-size: .74rem; padding: 0 .45rem; border-radius: 99px; font-weight: 800; }
.side-foot { padding: 12px 14px 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
.side-foot a, .side-foot button { display: flex; align-items: center; gap: 10px; width: 100%; padding: .55rem .75rem; border-radius: 9px; color: rgba(255, 255, 255, .78); background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; font-size: .94rem; }
.side-foot a:hover, .side-foot button:hover { background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; }

.portal-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.portal-topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 24px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.portal-topbar .menu-btn { display: none; }
.portal-topbar .crumb { font-weight: 700; font-size: 1.05rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-topbar .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.portal-content { padding: 24px; flex: 1; width: 100%; max-width: 1280px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.page-head .btn-group { align-items: center; }
.backdrop { display: none; }
.bottom-nav { display: none; }

@media (max-width: 960px) {
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--shadow-lg); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .backdrop { display: block; position: fixed; inset: 0; background: rgba(10, 20, 16, .45); z-index: 45; }
  .portal-topbar { padding: 0 12px; }
  .portal-topbar .menu-btn { display: inline-grid; }
  .portal-content { padding: 16px; }
  .has-bottom-nav .portal-content { padding-bottom: 88px; }
  .has-bottom-nav .bottom-nav { display: grid; position: fixed; bottom: 0; left: 0; right: 0; z-index: 35; background: var(--surface); border-top: 1px solid var(--line); grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(16, 24, 40, .06); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; font-size: .74rem; font-weight: 700; color: var(--muted); border-radius: 10px; text-align: center; line-height: 1.2; }
  .bottom-nav a .ic { width: 22px; height: 22px; }
  .bottom-nav a.active { color: var(--brand-600); background: var(--brand-50); }
  .bottom-nav a:hover { text-decoration: none; }
  .hide-mobile { display: none !important; }
}

.welcome { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(500px 220px at 100% 0, rgba(224, 123, 20, .35), transparent 70%), linear-gradient(140deg, var(--brand-600), var(--brand-800)); margin-bottom: 20px; }
.welcome h1 { color: #fff; font-size: 1.5rem; margin: 0 0 4px; }
.welcome p { margin: 0; color: rgba(255, 255, 255, .82); }
.welcome .member-code { background: rgba(255, 255, 255, .12); padding: .35rem .8rem; border-radius: 99px; font-weight: 700; font-size: .9rem; }
.welcome .btn-group .btn { background: #fff; color: var(--brand-700); }
.welcome .btn-group .btn-light { background: rgba(255, 255, 255, .14); color: #fff; }

.action-list { display: grid; gap: 10px; }
.action-item { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.action-item:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.action-item .feature-icon { margin: 0; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.action-item b { display: block; color: var(--ink); }
.action-item span { font-size: .88rem; color: var(--muted); }
.action-item .go { margin-left: auto; color: var(--muted); }

.kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { text-align: right; }

.doc-thumb { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 600; }
.doc-thumb:hover { border-color: var(--brand-500); text-decoration: none; }
.doc-thumb .ic { color: var(--brand-500); }
.app-photo { width: 120px; height: 150px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--line-2); }

.credential { padding: 14px; border: 1.5px dashed var(--brand-200); background: var(--brand-50); border-radius: 12px; }
.credential .pw { font-family: ui-monospace, Consolas, monospace; font-size: 1.3rem; font-weight: 800; letter-spacing: .12em; color: var(--brand-700); }

.danger-zone { border: 1px solid #f5c6c1; border-radius: var(--radius); padding: 16px; background: #fffbfa; }

/* ---------- होनहार, टीम, गैलरी ---------- */
.story-card { overflow: hidden; }
.story-photo { height: 200px; background: linear-gradient(140deg, var(--brand-50), var(--accent-50)); display: grid; place-items: center; border-bottom: 1px solid var(--line-2); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.team-card { text-align: center; padding: 20px 16px; }
.team-card img, .team-card .avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 3px solid var(--brand-100); font-size: 1.6rem; }
.team-card b { display: block; font-size: 1.05rem; }
.team-card .role { color: var(--accent-700); font-weight: 700; font-size: .92rem; }
.photo-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; border: 1px solid var(--line); transition: transform .2s; }
.photo-grid a:hover img { transform: scale(1.02); }
.thumb-sm { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); background: var(--line-2); }

/* ---------- सत्यापन ---------- */
.verify-card { max-width: 480px; margin: 0 auto; text-align: center; }
.verify-ok { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: var(--success-bg); color: var(--success); }
.verify-ok.bad { background: var(--danger-bg); color: var(--danger); }
.verify-ok .ic { width: 38px; height: 38px; stroke-width: 2.5; }
.verify-photo { width: 110px; height: 130px; border-radius: 10px; object-fit: cover; border: 2px solid var(--brand-100); margin: 0 auto 10px; display: block; }

/* ---------- त्रुटि पेज ---------- */
.error-page { text-align: center; padding: 80px 16px; }
.error-page .code { font-size: 5rem; font-weight: 800; color: var(--brand-200); line-height: 1; }

/* प्रिंट में वेबसाइट के हिस्से छिपाएँ */
@media print {
  .no-print, .site-header, .topbar, .site-footer, .sidebar, .portal-topbar, .bottom-nav { display: none !important; }
  body { background: #fff; }
}

/* एडमिन सेटिंग्स — हस्ताक्षर */
.sign-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.sign-box { border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px; background: var(--surface-2); }
.sign-preview { height: 90px; margin: 10px 0; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.sign-preview img { max-height: 80px; max-width: 90%; object-fit: contain; }
.sign-preview img[hidden] { display: none; }
.sign-box input[type=file] { width: 100%; }
.sign-remove { display: flex; gap: 6px; align-items: center; margin-top: 8px; }
