:root {
  --bg: #ffffff;
  --bg-2: #f5f9ff;
  --card: #ffffff;
  --soft: #e7f6ff;
  --line: #dfe6ef;
  --text: #0f172a;
  --muted: #5b6878;
  --cyan: #0067ff;
  --cyan-2: #005ee9;
  --orange: #e8943a;
  --green: #15803d;
  --danger: #dc2626;
  --ok: #16a34a;
  --shadow: 0 12px 32px rgba(15, 23, 42, .08);
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --page: 1200px;
  --gutter: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
h1,h2,h3,h4,h5,h6, .site-nav, .btn, label, .kicker, .tabbar, .app-sidebar {
  font-family: var(--font);
}
a { color: var(--cyan); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { margin: 0 0 .4rem; letter-spacing: -.02em; line-height: 1.2; color: var(--text); }
p { margin: 0 0 1rem; }
button, input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.kicker {
  color: var(--cyan); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6rem; font-family: var(--font-ui);
}
.wrap { width: min(var(--page), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }
.orb { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; cursor: pointer; border-radius: 999px; padding: 16px 32px;
  font-family: var(--font-ui); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .36px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: #fff; box-shadow: 0 8px 20px rgba(0,103,255,.22); }
.btn-primary:hover { background: var(--cyan-2); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--text); }
.btn-ghost:hover { background: var(--cyan-2); color: #fff; border-color: var(--cyan-2); }
.btn-lg { padding: 18px 35px; }
.btn-sm { padding: 10px 22px; font-size: .78rem; }
.btn.full, .full { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  display: flex; align-items: center; gap: .85rem;
  min-height: 78px; padding-block: .7rem;
}
.flash-wrap:has(.flash-stack) { padding-top: 1rem; }
.flash-wrap:not(:has(.flash-stack)) { display: contents; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--cyan); color: #fff; padding: .5rem 1rem; z-index: 80;
}
.skip-link:focus { left: 12px; top: 12px; }
main { min-height: 48vh; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); font-weight: 800; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--font); }
.brand-text small { color: var(--muted); font-weight: 600; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.brand img, .install-logo { height: 58px; width: auto; }
.footer-logo { height: 72px; width: auto; margin-bottom: .6rem; }
.site-nav { display: flex; align-items: center; gap: .1rem; }
.header-login { margin-left: auto; flex-shrink: 0; }
@media (min-width: 821px) {
  .site-nav .nav-account { display: none; }
}
.brand-compact img { width: 52px; height: auto; }
.brand-compact small { display: block; color: var(--muted); font-weight: 500; }
.site-nav a {
  color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .06em; padding: .55rem .9rem; white-space: nowrap;
}
.site-nav a.is-on, .site-nav a:hover { color: var(--cyan-2); }
.nav-toggle { display: none; background: var(--cyan); border: 0; width: 42px; height: 42px; border-radius: 8px; flex-shrink: 0; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 7px 8px; }

.hero { padding: 4rem 0 3rem; background: linear-gradient(180deg, #e7f6ff 0%, #fff 72%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.2rem; align-items: center; }
.hero h1 { font-size: clamp(1.85rem, 4vw, 3rem); }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.hero-visual {
  background: #fff; border: 1px solid var(--line); border-radius: 28px;
  padding: .55rem; box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; border-radius: 22px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.35rem 0 0; padding: 0; list-style: none;
}
.trust-row li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem .9rem; font-size: .8rem; font-weight: 700; font-family: var(--font); color: var(--muted);
}
.section { padding: 4.2rem 0; }
.section.soft { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.6rem; }
.about-block { max-width: 820px; margin: 0 auto; text-align: center; }
.about-media { max-width: 760px; margin: 1.2rem auto; border-radius: 16px; overflow: hidden; background: #000; }
.about-media video { width: 100%; display: block; }
.stat-row, .admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.8rem; }
.stat-row article, .admin-stats article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); text-align: center;
}
.stat-row img { width: 88px; height: 88px; object-fit: contain; margin: 0 auto .6rem; }
.stat-row strong, .admin-stats strong { display: block; font-size: 1.6rem; color: var(--cyan); font-family: var(--font); }
.admin-stats article { text-align: left; }
.admin-stats article span {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .35rem;
}
.admin-stats.compact { grid-template-columns: repeat(4, 1fr); }

.service-grid, .plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card, .plan-card, .glass-card, .panel, .stat-tile, .install-card, .auth-card, .quote-card {
  background: linear-gradient(180deg, #e7f6ff, #fff);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow);
}
.panel, .auth-card, .install-card { background: #fff; }
.service-card { min-height: 260px; display: flex; flex-direction: column; position: relative; overflow: hidden; padding: 1.5rem 1.4rem 1.35rem; }
.service-card, .plan-card, .glass-card, .panel, .stat-tile, .install-card, .auth-card, .quote-card, .action-card {
  transition: transform .15s ease, box-shadow .15s ease;
}
.service-card:hover, .plan-card:hover, .quote-card:hover, .action-card:hover, .stat-tile:hover {
  transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 23, 42, .1);
}
.service-card h3, .plan-card h3 { margin-top: .35rem; font-size: 1.25rem; }
.service-card p, .plan-card p { color: var(--muted); flex: 1; }
.service-card .svc-icon {
  position: absolute; top: 1.05rem; right: 1.05rem;
  width: 82px; height: 82px; object-fit: contain; margin: 0;
}
.service-card h3, .service-card .chip, .service-card p { padding-right: 5.4rem; }
.chip { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-2); margin: 0; }
.plan-meta { display: flex; gap: 1rem; color: var(--green); font-weight: 700; margin-bottom: 1rem; font-size: .9rem; }
.cta-band { padding-bottom: 4.5rem; }
.cta-inner {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.8rem; align-items: center;
  background: var(--soft); border: 1px solid var(--line); border-radius: 24px; padding: 1.8rem;
}
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li { position: relative; padding-left: 1.8rem; margin: .45rem 0; color: var(--muted); }
.checklist li:before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--cyan); font-weight: 800; }
.page-hero { padding: 3.4rem 0 1.4rem; background: var(--soft); }
.prose { max-width: 68ch; color: var(--muted); }
.mt-xl { margin: 2.4rem 0 1rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; align-items: start; }
.contact-card h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.05rem; }
.contact-ico {
  width: 34px; height: 34px; border-radius: 10px; background: var(--cyan); color: #fff;
  display: grid; place-items: center; font-size: .85rem; flex-shrink: 0;
}
.contact-hours {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; margin-top: 1rem; box-shadow: var(--shadow);
}
.contact-hours h3 { margin-bottom: .35rem; }
.contact-map {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: var(--soft); min-height: 280px;
}
.contact-map iframe { width: 100%; height: 340px; border: 0; display: block; }
.map-note { margin: .7rem 0 0; }
.contact-form-wrap { margin-top: 2.6rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; align-items: center; }
.contact-lead { max-width: 68ch; color: var(--muted); margin-top: 2rem; }
.site-footer { background: var(--soft); padding: 3.2rem 0 1.4rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr; gap: 1.6rem; }
.footer-grid h4 { color: var(--text); font-size: 1rem; }
.footer-grid a, .footer-grid p { display: block; color: var(--muted); margin: .3rem 0; }
.footer-bar { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; align-items: center; }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.quote-card { background: #fff; min-height: 220px; }
.quote-card p { font-style: italic; color: var(--muted); }
.quote-card cite { display: block; font-style: normal; font-weight: 800; color: var(--text); font-family: var(--font); }
.quote-who { display: flex; align-items: center; gap: .7rem; margin-top: .8rem; }
.quote-who .avatar { width: 40px; height: 40px; font-size: .85rem; }
.partner-row { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; align-items: center; }
.partner-row img { height: 48px; width: auto; object-fit: contain; filter: none; }
.wa-banner img { width: 100%; border-radius: 16px; }
.enquiry { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem; max-width: 760px; margin: 0 auto; box-shadow: var(--shadow); }
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  background: #25d366; color: #fff; border-radius: 999px; padding: 12px 16px;
  display: flex; align-items: center; gap: .5rem; font-family: var(--font-ui); font-weight: 700; box-shadow: var(--shadow);
}
.scroll-top {
  position: fixed; right: 18px; bottom: 72px; z-index: 39; width: 40px; height: 40px; border-radius: 8px;
  background: var(--cyan-2); color: #fff; border: 0; cursor: pointer; display: none;
}

.auth-body, .app-body { min-height: 100vh; }
.install-shell { width: min(760px, calc(100% - 24px)); margin: 2rem auto 3rem; }
.form { display: grid; gap: .85rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.span-2 { grid-column: span 2; }
label { display: grid; gap: .35rem; font-size: .82rem; font-weight: 700; color: var(--muted); font-family: var(--font); }
label em { font-weight: 500; font-style: normal; color: #6d7b88; }
input, select, textarea {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: .75rem .85rem; outline: none; font-family: var(--font);
}
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,103,255,.12); }
.input-affix { display: flex; align-items: stretch; }
.input-affix span {
  display: grid; place-items: center; padding: 0 .8rem; background: var(--soft);
  border: 1px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; color: var(--cyan); font-weight: 700;
}
.input-affix input { border-radius: 0 8px 8px 0; }
.form-foot { margin-top: 1rem; color: var(--muted); }
.hint { color: var(--green); font-weight: 600; }
.req-list { list-style: none; padding: 0; display: grid; gap: .4rem; }
.req-list li { padding: .55rem .8rem; border-radius: 10px; background: var(--soft); }
.req-list .ok { color: var(--ok); }
.req-list .bad { color: var(--danger); }
.mail-preview { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 1.15rem; margin-top: 1rem; }
.flash-stack { display: grid; gap: .6rem; margin-bottom: 1rem; }
.flash { padding: .8rem 1rem; border-radius: 12px; font-weight: 600; font-family: var(--font); }
.flash-ok { background: #ecfdf3; color: var(--ok); }
.flash-err { background: #fef2f2; color: var(--danger); }

.app-body { display: grid; grid-template-columns: 250px 1fr; background: #f7fafc; }
.app-sidebar {
  background: #fff; border-right: 1px solid var(--line);
  padding: 1.1rem; position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
}
.app-sidebar nav { display: grid; gap: .25rem; flex: 1; }
.app-sidebar nav a { color: var(--muted); padding: .7rem .8rem; border-radius: 12px; font-weight: 600; }
.app-sidebar nav a.is-on, .app-sidebar nav a:hover { background: var(--soft); color: var(--cyan-2); }
.side-out { margin-top: auto; padding-top: 1rem; }
.side-user { display: flex; gap: .7rem; align-items: center; margin: 1rem 0; }
.side-user small { display: block; color: var(--cyan); font-weight: 700; }
.app-main { min-width: 0; }
.app-top {
  display: flex; justify-content: space-between; align-items: center; gap: .8rem;
  padding: 1.05rem 1.4rem; margin-bottom: .4rem;
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 8;
}
.app-top > div { flex: 1; min-width: 0; }
.app-content { padding: 1.1rem 1.4rem 2.4rem; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cyan); color: #fff; font-weight: 800; font-family: var(--font);
}
.avatar-lg { width: 44px; height: 44px; }
.avatar-sm { width: 34px; height: 34px; font-size: .78rem; flex-shrink: 0; }
.avatar-xl { width: 84px; height: 84px; font-size: 1.6rem; margin: 0 auto 0.7rem; }
.mobile-only { display: none; }
.desktop-hide { display: none; }
.nav-icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  place-items: center; color: var(--text); flex-shrink: 0; cursor: pointer;
}
.nav-icon-btn:active { background: var(--soft); }
.app-top-id { align-items: center; gap: .6rem; min-width: 0; }
.app-top-id.hide-sm { display: flex; }
.app-top-id strong { display: block; font-size: .95rem; line-height: 1.2; }
.app-top-id small { font-size: .74rem; }

.hero-strip, .stats-board, .block, .desk-hero, .progress-card { margin-bottom: 1.3rem; }
.desk-hero {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  background: linear-gradient(180deg, #e7f6ff, #fff);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem;
}
.desk-hero.compact { grid-template-columns: 1fr auto; }
.desk-hero h2 { margin: 0; }
.quick-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.progress-card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.2rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; box-shadow: var(--shadow);
}
.progress-copy span { color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.progress-copy strong { display: block; font-size: 2rem; color: var(--cyan); font-family: var(--font); margin: .2rem 0 .35rem; }
.progress-meter small { display: block; margin-top: .45rem; color: var(--muted); font-weight: 700; }
.hero-strip { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1rem; align-items: center; }
.ref-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.ref-box span { color: var(--muted); font-size: .8rem; font-weight: 700; }
.copy-row { display: flex; gap: .5rem; margin: .45rem 0; }
.copy-row input { flex: 1; }
.stats-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.stat-tile { min-height: 112px; background: #fff; }
.stat-tile span { color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.stat-tile strong { display: block; font-size: 1.55rem; margin-top: .35rem; font-family: var(--font); }
.stat-tile.accent-cyan strong { color: var(--cyan); }
.stat-tile.accent-orange strong { color: var(--orange); }
.stat-tile .date { font-size: 1.15rem; }
.meter { height: 6px; background: #e2e8f0; border-radius: 99px; margin-top: .8rem; overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), #22c55e); }
.action-scroller { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.action-scroller-grid { margin-top: .8rem; }
.action-card {
  text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: .9rem; cursor: pointer; color: inherit; min-height: 160px;
  display: flex; flex-direction: column; gap: .45rem;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.action-card:active { transform: scale(.96); box-shadow: none; }
.action-card span { color: var(--cyan); font-weight: 700; font-size: .82rem; margin-top: auto; }
.action-card img { width: 64px; height: 64px; object-fit: contain; }
.more-services { margin-top: .9rem; }
.more-services summary {
  cursor: pointer; list-style: none; color: var(--cyan-2); font-weight: 700; font-size: .88rem;
  padding: .7rem .9rem; border: 1px dashed var(--line); border-radius: 12px; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.more-services summary::-webkit-details-marker { display: none; }
.more-services[open] summary span { transform: rotate(180deg); }
.more-services summary span { transition: transform .15s ease; }
.icon-blob { width: 48px; height: 48px; border-radius: 14px; background: var(--cyan); }
.txn-list { display: grid; gap: .55rem; }
.txn {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .85rem 1rem;
}
.txn small { display: block; color: var(--muted); }
.txn.credit b { color: var(--ok); }
.txn.debit b { color: var(--danger); }
.empty-state { padding: 1.2rem; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; background: #fff; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: .2rem .6rem; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-family: var(--font); }
.badge-pending { background: #fff7ed; color: var(--orange); }
.badge-processing { background: var(--soft); color: var(--cyan); }
.badge-approved, .badge-active { background: #ecfdf3; color: var(--ok); }
.badge-rejected, .badge-inactive { background: #fef2f2; color: var(--danger); }
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.45); }
.sheet-panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(460px, calc(100% - 24px)); max-height: calc(100vh - 40px); overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.2rem; display: grid; gap: .7rem;
}
.sheet-x { position: absolute; right: 12px; top: 10px; background: none; border: 0; color: var(--text); font-size: 1.4rem; cursor: pointer; }
.sheet-visual img { width: 88px; height: 88px; object-fit: contain; }
.tabbar { display: none; }
.profile-app { width: min(640px, 100%); margin: 0 auto 3rem; }
.profile-hero { text-align: center; padding: 1rem 0 1.4rem; }
.kyc-row { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.ios-group { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1rem; margin-bottom: 1rem; display: grid; gap: .55rem; }
.ios-group h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-2); }
.ios-row, .ios-field { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.ios-field { display: grid; }
.toolbar { display: flex; gap: .6rem; margin-bottom: 1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; font-family: var(--font); }
th { text-align: left; color: var(--muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: .6rem; border-bottom: 1px solid var(--line); }
td { padding: .75rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.block { display: block; }
code { background: var(--soft); padding: .15rem .4rem; border-radius: 6px; color: var(--cyan-2); }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.plain-list li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.plain-list small { display: block; color: var(--muted); }
.pager { display: flex; gap: .4rem; padding: .8rem; }
.pager a { padding: .3rem .6rem; border-radius: 8px; color: var(--muted); border: 1px solid var(--line); }
.pager a.is-on { color: #fff; background: var(--cyan); }
.form-inline { display: grid; grid-template-columns: 1.4fr .7fr .7fr .9fr 1fr auto; gap: .5rem; align-items: end; }
.mini-form { display: grid; gap: .35rem; }
.link-btn { background: none; border: 0; color: var(--danger); cursor: pointer; font-weight: 700; }
.mini-card { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.mini-card img { width: 48px; height: 48px; object-fit: contain; }
.row-actions { display: flex; gap: .4rem; align-items: start; }
.check { display: flex; align-items: center; gap: .5rem; }
.check input { width: auto; }
.crumb { color: var(--muted); margin-bottom: 1rem; }
.nav-overlay { display: none; }
.apply-gif { max-width: 420px; margin: 1rem auto 0; }

@media (max-width: 1100px) {
  .site-header .brand-text { display: none; }
  .site-nav a { padding: .5rem .65rem; }
}
@media (max-width: 980px) {
  .service-grid, .plan-grid, .footer-grid, .two-col, .hero-strip, .admin-stats, .admin-stats.compact, .hero-grid, .cta-inner, .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-layout, .desk-hero, .desk-hero.compact, .progress-card {
    grid-template-columns: 1fr;
  }
  .form-inline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .app-body { grid-template-columns: 1fr; }
  .app-sidebar {
    position: fixed; inset: 0 auto 0 0; width: min(280px, 86vw); z-index: 40;
    transform: translateX(-110%); transition: transform .2s ease;
    overflow-y: auto; padding-bottom: calc(1.1rem + var(--safe-b));
  }
  body.nav-open .app-sidebar { transform: none; }
  body.nav-open .nav-overlay { display: block; position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 35; }
  .desktop-hide, .mobile-only { display: inline-flex; }
  .app-top-id.mobile-only { display: flex; }
  .nav-icon-btn { display: grid; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: #fff; border-top: 1px solid var(--line); padding: .4rem 0 calc(.4rem + var(--safe-b));
    box-shadow: 0 -6px 20px rgba(15,23,42,.06);
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .2rem;
    color: var(--muted); text-align: center; font-size: .66rem; font-weight: 700; font-family: var(--font);
    padding-top: .2rem;
  }
  .tabbar a span { display: flex; align-items: center; justify-content: center; height: 24px; }
  .tabbar a.is-on { color: var(--cyan); }
  .tabbar a.tab-fab {
    color: var(--cyan-2); font-weight: 800; margin-top: -26px; justify-content: flex-end;
  }
  .tabbar a.tab-fab span {
    width: 54px; height: 54px; border-radius: 50%;
    background: linear-gradient(165deg, var(--cyan), var(--cyan-2));
    color: #fff; border: 4px solid #fff;
    box-shadow: 0 12px 22px rgba(0,103,255,.38), 0 0 0 1px rgba(15,23,42,.04);
  }
  .app-content { padding-bottom: 6rem; }
  .form-grid, .service-grid, .plan-grid, .contact-grid, .footer-grid, .two-col, .hero-strip, .admin-stats, .admin-stats.compact, .hero-grid, .cta-inner, .quote-grid, .stat-row, .contact-layout, .desk-hero, .desk-hero.compact, .progress-card, .quick-links {
    grid-template-columns: 1fr;
  }
  .stats-board { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .stat-tile { min-height: 96px; padding: .85rem .9rem; }
  .stat-tile strong { font-size: 1.28rem; }
  .stat-tile .date { font-size: .98rem; }
  .quick-links { justify-content: flex-start; }
  .span-2 { grid-column: auto; }
  .sheet-panel { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; border-radius: 22px 22px 0 0; max-height: 88vh; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .footer-bar { flex-direction: column; }
  .wa-float { bottom: 78px; }
  .header-login, .hide-sm { display: none !important; }
  .service-card h3, .service-card .chip, .service-card p { padding-right: 5rem; }
}

.scroll-top { place-items: center; font-size: 1.15rem; }
.enquiry h2 { margin-bottom: .2rem; }
.footer-brand p { max-width: 36ch; }


/* ===== Shared additions ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn { text-transform: none; letter-spacing: 0; border-radius: 12px; font-weight: 700; }
.btn-sm { border-radius: 10px; }
.btn-white { background: #fff; color: #0b2a5b; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.field-help { color: #7a8796; font-weight: 500; font-size: .74rem; }

/* ===== Banner slider ===== */
.dm-slider { position: relative; border-radius: 26px; overflow: hidden; isolation: isolate; font-family: var(--font-ui); }
.dm-slides { display: grid; }
.dm-slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 1.5rem;
  padding: 2.6rem 2.8rem; min-height: 380px; color: #fff; position: relative; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .55s ease, transform .55s ease, visibility 0s linear .55s;
}
.dm-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease, transform .55s ease, visibility 0s; z-index: 1; }
.dm-slide:before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -170px; border-radius: 50%; background: rgba(255,255,255,.09); z-index: -1; }
.dm-slide:after { content: ""; position: absolute; width: 300px; height: 300px; left: 38%; bottom: -190px; border-radius: 50%; background: rgba(255,255,255,.06); z-index: -1; }
.dm-slide.theme-blue { background: linear-gradient(125deg, #0b5cff 0%, #0a47c9 55%, #1a7bff 100%); }
.dm-slide.theme-navy { background: linear-gradient(125deg, #0b1c3d 0%, #13306a 60%, #1d4a9b 100%); }
.dm-slide.theme-green { background: linear-gradient(125deg, #0d8a5a 0%, #0b6e49 55%, #17a36c 100%); }
.dm-slide.theme-orange { background: linear-gradient(125deg, #f07c1f 0%, #d9600f 55%, #f59a3b 100%); }
.dm-slide-copy { position: relative; z-index: 2; min-width: 0; }
.dm-slide-tag { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: .74rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; margin-bottom: .9rem; letter-spacing: .01em; }
.dm-slide .dm-slide-title { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 .8rem; font-weight: 800; }
.dm-slide .dm-slide-text { color: rgba(255,255,255,.9); font-size: 1rem; line-height: 1.55; margin: 0 0 1.4rem; max-width: 52ch; }
.dm-slide-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.dm-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: .7rem 1.25rem; border-radius: 12px; font-weight: 700; font-size: .92rem; transition: transform .15s ease, background .15s ease; }
.dm-btn:hover { transform: translateY(-1px); }
.dm-btn-light { background: #fff; color: #0b2a5b; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.dm-btn-outline { color: #fff; border: 1.5px solid rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.dm-btn-outline:hover { background: rgba(255,255,255,.16); }
.dm-slide-media { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; align-self: stretch; }
.dm-slide-media img { width: 100%; max-width: 330px; max-height: 320px; object-fit: contain; filter: drop-shadow(0 22px 40px rgba(0,0,0,.25)); }
a.dm-slide-media { cursor: pointer; }
.dm-slider-nav { position: absolute; z-index: 3; left: 2.8rem; bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.dm-slider-dots { display: flex; gap: .4rem; }
.dm-slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .25s ease, background .25s ease; }
.dm-slider-dots button.is-active { width: 24px; background: #fff; }
.dm-slider-arrow { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 2px; }
.dm-slider-arrow:hover { background: rgba(255,255,255,.25); }
.dm-slider-dashboard { margin-bottom: 1.2rem; border-radius: 22px; }
.dm-slider-dashboard .dm-slide { min-height: 250px; padding: 1.8rem 2rem 2.6rem; }
.dm-slider-dashboard .dm-slide .dm-slide-title { font-size: clamp(1.35rem, 2.6vw, 2rem); }
.dm-slider-dashboard .dm-slide .dm-slide-text { font-size: .9rem; margin-bottom: 1rem; }
.dm-slider-dashboard .dm-slide-media img { max-width: 210px; max-height: 200px; }
.dm-slider-dashboard .dm-slider-nav { left: 2rem; bottom: .8rem; }

/* ===== Apply / withdraw sheet ===== */
.apply-sheet { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; font-family: var(--font-ui); }
.apply-sheet[hidden] { display: none; }
.apply-backdrop { position: absolute; inset: 0; background: rgba(8,18,38,.55); backdrop-filter: blur(2px); opacity: 0; transition: opacity .2s ease; }
.apply-panel {
  position: relative; width: min(520px, calc(100% - 24px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  background: #fff; border-radius: 24px; padding: 1.4rem 1.4rem 1.2rem; box-shadow: 0 30px 80px rgba(8,18,38,.3);
  transform: translateY(14px) scale(.98); opacity: 0; transition: transform .22s ease, opacity .22s ease; color: var(--text);
}
.apply-sheet.is-open .apply-backdrop { opacity: 1; }
.apply-sheet.is-open .apply-panel { transform: none; opacity: 1; }
.apply-x { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f4f8; color: #334155; font-size: 1.35rem; line-height: 1; cursor: pointer; z-index: 2; }
.apply-head { display: flex; gap: .85rem; align-items: flex-start; padding-right: 2.4rem; margin-bottom: 1rem; }
.apply-thumb { width: 58px; height: 58px; flex: none; border-radius: 16px; background: #eef4ff; display: grid; place-items: center; overflow: hidden; border: 1px solid #e3ebf7; }
.apply-thumb img { width: 46px; height: 46px; object-fit: contain; }
.apply-thumb b { font-size: 1.5rem; color: var(--cyan); }
.apply-kicker { margin: 0 0 .15rem; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--cyan); }
.apply-head h3 { font-size: 1.28rem; margin: 0 0 .25rem; line-height: 1.2; }
.apply-desc { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.apply-form { display: grid; gap: .8rem; }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.apply-grid .span-2 { grid-column: 1 / -1; }
.apply-grid [hidden] { display: none !important; }
.apply-form label { font-size: .78rem; font-weight: 700; color: #334155; gap: .3rem; }
.apply-form label em { font-weight: 500; color: #8a96a5; font-size: .72rem; }
.apply-form input, .apply-form select, .apply-form textarea { border-radius: 11px; border: 1px solid #dbe3ed; background: #fbfcfe; padding: .72rem .8rem; font-size: .95rem; min-height: 46px; }
.apply-form textarea { min-height: auto; resize: vertical; }
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { background: #fff; }
.apply-affix { display: flex; }
.apply-affix > span { display: grid; place-items: center; padding: 0 .7rem; background: #eef4ff; border: 1px solid #dbe3ed; border-right: 0; border-radius: 11px 0 0 11px; color: var(--cyan); font-weight: 700; font-size: .9rem; }
.apply-affix input { border-radius: 0 11px 11px 0; min-width: 0; }
.apply-prefilled { margin: 0; font-size: .78rem; color: #0f7a4f; background: #ecfbf3; border: 1px solid #c9eedb; border-radius: 10px; padding: .45rem .7rem; }
.apply-errors { background: #fef2f2; border: 1px solid #fbd0d0; color: #b42318; border-radius: 12px; padding: .6rem .8rem; font-size: .84rem; font-weight: 600; }
.apply-errors p { margin: 0; }
.apply-redirect-note { margin: 0; font-size: .8rem; color: #0b47c7; background: #eef4ff; border-radius: 10px; padding: .5rem .7rem; }
.apply-submit { display: flex; width: 100%; align-items: center; justify-content: center; min-height: 52px; border: 0; border-radius: 14px; background: var(--cyan); color: #fff; font-weight: 800; font-size: 1rem; cursor: pointer; box-shadow: 0 12px 26px rgba(0,103,255,.26); font-family: inherit; }
.apply-submit:hover { background: var(--cyan-2); }
.apply-submit:disabled { opacity: .6; cursor: wait; }
.apply-secondary { width: 100%; min-height: 46px; margin-top: .5rem; border: 1px solid #dbe3ed; background: #fff; border-radius: 14px; font-weight: 700; cursor: pointer; color: #334155; font-family: inherit; }
.apply-privacy, .apply-login { margin: 0; text-align: center; font-size: .74rem; color: #8a96a5; }
.apply-login a { font-weight: 700; }
.apply-done { text-align: center; padding: 1.4rem .4rem .4rem; }
.apply-done h3 { font-size: 1.4rem; margin: .9rem 0 .4rem; }
.apply-done p { color: var(--muted); margin-bottom: 1.1rem; }
.apply-done-icon { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: #e7f8ef; color: #0f9a5f; display: grid; place-items: center; font-size: 2rem; font-weight: 800; }
.apply-spinner { width: 62px; height: 62px; margin: 0 auto; border-radius: 50%; border: 5px solid #e3ecfb; border-top-color: var(--cyan); animation: dm-spin .8s linear infinite; }
@keyframes dm-spin { to { transform: rotate(360deg); } }

/* ===== Service tiles & help card ===== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; }
.svc-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; text-align: left; font-family: var(--font-ui);
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1rem; cursor: pointer; color: inherit; min-height: 180px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.svc-tile:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,23,42,.08); border-color: #c7d7f0; }
.svc-tile:active { transform: scale(.97); }
.svc-tile-img { width: 72px; height: 72px; border-radius: 18px; background: #f1f6ff; display: grid; place-items: center; overflow: hidden; margin-bottom: .3rem; }
.svc-tile-img img { width: 62px; height: 62px; object-fit: contain; }
.svc-tile-img b { font-size: 1.4rem; color: var(--cyan); }
.svc-tile strong { font-size: .95rem; line-height: 1.25; }
.svc-tile small { color: var(--muted); font-size: .76rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-tile-cta { margin-top: auto; padding-top: .35rem; color: var(--cyan); font-weight: 800; font-size: .8rem; }
.svc-tile-help { background: linear-gradient(160deg, #fff7ee, #fff); border-color: #f7dcbd; }
.svc-tile-help .svc-tile-img { background: #ffeedd; }
.svc-tile-help .svc-tile-cta { color: #d9600f; }
.svc-empty-note { margin-top: .8rem; }
.help-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: 20px; background: linear-gradient(120deg, #fff4e8, #fffaf4); border: 1px solid #f6d9b8; font-family: var(--font-ui); }
.help-card-icon { width: 54px; height: 54px; flex: none; border-radius: 16px; background: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 6px 16px rgba(217,96,15,.12); }
.help-card-copy { flex: 1; min-width: 0; }
.help-card-copy strong { display: block; font-size: 1.05rem; color: #3b2410; }
.help-card-copy span { display: block; color: #7a5b3d; font-size: .86rem; line-height: 1.45; }
.help-card-btn { flex: none; border: 0; border-radius: 12px; background: #e8741d; color: #fff; font-weight: 800; padding: .8rem 1.2rem; cursor: pointer; font-family: inherit; font-size: .9rem; box-shadow: 0 10px 22px rgba(232,116,29,.28); }
.help-card-btn:hover { background: #d0620f; }

/* ===== Member dashboard ===== */
.member-shell .app-body { background: #f4f7fb; }
.member-shell .app-sidebar .brand img, .admin-shell .app-sidebar .brand img { height: 52px; }
.side-help { margin-top: .8rem; border: 1px dashed #f0c79b; background: #fff7ee; color: #b4540c; border-radius: 12px; padding: .7rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.wallet-card {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.4rem; align-items: center; margin-bottom: 1.3rem; scroll-margin-top: 90px;
  padding: 1.4rem 1.5rem; border-radius: 22px; color: #fff; background: linear-gradient(130deg, #0b1c3d, #133a7c 65%, #1d5ad1); box-shadow: 0 18px 40px rgba(11,28,61,.22);
}
.wallet-label { font-size: .78rem; color: #a9c1ea; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.wallet-amount { display: block; font-size: clamp(2rem, 4.5vw, 2.6rem); letter-spacing: -.03em; line-height: 1.1; margin: .2rem 0; }
.wallet-sub { color: #bcd0f2; font-size: .8rem; }
.wallet-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; }
.wallet-btn { background: #fff; color: #0b2a5b; padding: .85rem 1.3rem; }
.wallet-btn:disabled { opacity: .55; }
.wallet-link { color: #cfe0ff; font-size: .82rem; font-weight: 700; }
.wallet-ref { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: .9rem; }
.wallet-ref > span { color: #a9c1ea; font-size: .78rem; font-weight: 600; }
.wallet-ref input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; font-size: .85rem; padding: .6rem .75rem; }
.wallet-copy { background: #fff; color: #0b2a5b; padding: .55rem 1rem; }
.block { scroll-margin-top: 90px; }
.block .section-head { margin-bottom: .9rem; }
.block .section-head h3 { font-size: 1.15rem; margin: 0; }
.block .section-head p { margin: .1rem 0 0; font-size: .86rem; }
.history-cols { gap: 1.3rem; align-items: start; }
.plan-card { background: #fff; }
.plan-meta { flex-wrap: wrap; gap: .4rem 1rem; font-size: .82rem; }
.txn { gap: .8rem; }
.txn > div { min-width: 0; }
.txn small { overflow-wrap: anywhere; }

/* ===== Auth ===== */
.auth-body { background: #f4f7fb; font-family: var(--font-ui); }
.auth-split { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(360px, 44%) 1fr; }
.auth-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 2.2rem 2.6rem; color: #fff; background: linear-gradient(150deg, #0b5cff 0%, #0a3fb0 60%, #0b1c3d 100%); }
.auth-brand:before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; right: -260px; top: -200px; background: rgba(255,255,255,.08); }
.auth-logo { position: relative; z-index: 1; background: #fff; border-radius: 16px; padding: .5rem .8rem; align-self: flex-start; }
.auth-logo img { width: 130px; height: auto; }
.auth-brand-copy { position: relative; z-index: 1; margin-top: 2.4rem; }
.auth-brand-copy h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.12; letter-spacing: -.03em; }
.auth-brand-copy ul { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .7rem; }
.auth-brand-copy li { position: relative; padding-left: 2rem; color: #d8e6ff; font-weight: 500; }
.auth-brand-copy li:before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: #fff; }
.auth-brand-art { position: relative; z-index: 1; width: min(300px, 70%); height: auto; margin: auto auto 0; filter: drop-shadow(0 24px 40px rgba(0,0,0,.3)); }
.auth-brand-foot { position: relative; z-index: 1; color: #a9c1ea; font-size: .8rem; margin: 1.2rem 0 0; }
.auth-main { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.6rem 1.2rem 2rem; }
.auth-back-btn { position: absolute; top: 14px; left: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--text); }
.auth-back-btn:hover { background: var(--soft); color: var(--cyan-2); }
.auth-card { width: min(460px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem 1.8rem; box-shadow: 0 20px 50px rgba(15,23,42,.07); }
.auth-card-logo { display: none; }
.auth-card-logo img { width: 120px; height: auto; margin: 0 auto .4rem; }
.auth-head { margin-bottom: 1.3rem; }
.auth-head h1 { font-size: 1.65rem; letter-spacing: -.03em; margin: 0 0 .3rem; }
.auth-head p { color: var(--muted); margin: 0; font-size: .92rem; line-height: 1.5; }
.auth-icon { font-size: 2.2rem; margin-bottom: .4rem; }
.auth-form { gap: .9rem; }
.auth-form label { font-size: .8rem; color: #334155; }
.auth-form input { min-height: 48px; border-radius: 12px; font-size: .98rem; background: #fbfcfe; }
.auth-form .input-affix span { border-radius: 12px 0 0 12px; }
.auth-form .input-affix input { border-radius: 0 12px 12px 0; }
.label-row { display: flex; justify-content: space-between; align-items: center; }
.label-row a { font-weight: 700; font-size: .8rem; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 4.2rem; }
.password-field .password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: #eef4ff; color: var(--cyan-2); font-weight: 700; font-size: .75rem; border-radius: 9px; padding: .45rem .6rem; cursor: pointer; }
.auth-submit { min-height: 52px; font-size: 1rem; margin-top: .3rem; }
.auth-terms { margin: 0; font-size: .74rem; color: #8a96a5; text-align: center; }
.auth-switch { margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid #edf1f5; display: grid; gap: .6rem; text-align: center; color: var(--muted); font-size: .88rem; }
.auth-switch .btn-ghost { border-color: #d5deea; color: var(--text); }
.auth-switch .btn-ghost:hover { background: #f4f8ff; color: var(--cyan-2); border-color: #bcd0f0; }
.auth-link { font-weight: 700; }
.auth-card .flash-stack { margin-bottom: 1rem; }
.auth-apply-note { margin: -.4rem 0 1.1rem; font-size: .88rem; color: #334155; }
.logout-group { text-align: center; }
.logout-btn { width: 100%; min-height: 50px; border-radius: 14px; border: 1px solid #f3c9c9; background: #fff5f5; color: #c2321f; font-weight: 800; font-size: .98rem; cursor: pointer; font-family: inherit; }
.logout-btn:hover { background: #fdeaea; }
.video-frame { position: relative; width: 100%; padding-top: 56.25%; border-radius: 22px; overflow: hidden; background: #0b1c3d; box-shadow: 0 18px 45px rgba(15,23,42,.14); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-block .video-frame { max-width: 720px; border-radius: 18px; }

/* ===== Redirect page ===== */
.redirect-body { min-height: 100vh; display: grid; place-items: center; background: #f4f7fb; font-family: var(--font-ui); padding: 1rem; }
.redirect-card { width: min(420px, 100%); text-align: center; background: #fff; border-radius: 24px; padding: 2rem 1.5rem; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(15,23,42,.08); }
.redirect-card img { margin: 0 auto 1.4rem; }
.redirect-card h1 { font-size: 1.4rem; margin-top: 1.1rem; }
.redirect-card p { color: var(--muted); }

/* ===== Admin ===== */
.admin-shell .app-body { background: #f4f7fb; }
.panel { border-radius: 18px; margin-bottom: 1rem; box-shadow: 0 6px 20px rgba(15,23,42,.04); }
.panel h3 { font-size: 1.1rem; }
.panel h4 { margin-top: 1rem; }
.panel-head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .6rem; }
.check-row { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.admin-advanced { border: 1px dashed var(--line); border-radius: 14px; padding: .7rem .9rem; }
.admin-advanced summary { cursor: pointer; font-weight: 700; color: var(--cyan-2); }
.admin-advanced[open] { display: grid; gap: .85rem; }
.current-image { display: flex; align-items: center; gap: .6rem; font-weight: 500; font-size: .78rem; color: var(--muted); }
.current-image img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; background: #f1f5fb; border: 1px solid var(--line); }
.service-admin-card { display: grid; grid-template-columns: 52px 1fr auto; align-items: start; }
.service-admin-card p { margin: .3rem 0 0; font-size: .86rem; color: var(--muted); }
.service-admin-title { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.service-admin-card small { color: var(--muted); }
.mini-placeholder { width: 48px; height: 48px; border-radius: 12px; background: #eef4ff; color: var(--cyan); display: grid; place-items: center; font-weight: 800; }
.banner-admin-card { grid-template-columns: 64px 1fr auto; }
.banner-admin-card img { width: 64px; height: 64px; border-radius: 14px; padding: 4px; background: var(--cyan); }
.banner-admin-card.theme-navy img { background: #13306a; }
.banner-admin-card.theme-green img { background: #0d8a5a; }
.banner-admin-card.theme-orange img { background: #f07c1f; }
.tabs-row { flex-wrap: wrap; }
.toolbar select { width: auto; min-width: 170px; }
.upi { font-size: .9rem; }
.link-copy { color: var(--cyan-2); font-size: .8rem; }
.app-message { color: #334155; font-style: italic; max-width: 46ch; }
.mini-form input, .mini-form select { padding: .5rem .6rem; font-size: .85rem; }
td small.block { color: var(--muted); }

@media (max-width: 980px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-body { background: #fff; }
  .auth-main { justify-content: flex-start; padding: 0; min-height: 100vh; min-height: 100dvh; }
  .auth-card {
    width: 100%; min-height: 100vh; min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none;
    padding: calc(3.6rem + env(safe-area-inset-top)) 1.3rem calc(2rem + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; justify-content: center;
  }
  .auth-card-logo { display: block; }
  .auth-back-btn { background: #f4f7fb; border-color: transparent; }
}
@media (max-width: 820px) {
  .app-top { padding: .7rem .9rem; }
  .app-content { padding: .9rem .8rem 6.5rem; }
  .dm-slider { border-radius: 20px; }
  .dm-slide { grid-template-columns: 1fr 38%; padding: 1.4rem 1.2rem 2.8rem; min-height: 0; gap: .6rem; }
  .dm-slide .dm-slide-title { font-size: 1.35rem; }
  .dm-slide .dm-slide-text { font-size: .84rem; margin-bottom: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .dm-slide-tag { font-size: .66rem; margin-bottom: .6rem; }
  .dm-btn { min-height: 40px; padding: .5rem .9rem; font-size: .82rem; border-radius: 10px; }
  .dm-slider-nav { left: 1.2rem; bottom: .8rem; }
  .dm-slider-arrow { display: none; }
  .dm-slider-dashboard .dm-slide { padding: 1.2rem 1.1rem 2.5rem; min-height: 0; }
  .dm-slider-dashboard .dm-slide .dm-slide-title { font-size: 1.2rem; }
  .dm-slider-dashboard .dm-slide-media img { max-width: 150px; }
  .apply-sheet { place-items: end stretch; }
  .apply-panel { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 24px 24px 0 0; padding: 1.2rem 1rem calc(1rem + var(--safe-b)); transform: translateY(40px); }
  .apply-panel:before { content: ""; display: block; width: 42px; height: 5px; border-radius: 99px; background: #dbe3ed; margin: -.3rem auto .8rem; }
  .apply-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .svc-tile { min-height: 168px; padding: .85rem; border-radius: 16px; }
  .svc-tile-img { width: 62px; height: 62px; border-radius: 16px; }
  .svc-tile-img img { width: 54px; height: 54px; }
  .svc-tile strong { font-size: .88rem; }
  .help-card { flex-wrap: wrap; }
  .help-card-btn { width: 100%; }
  .wallet-card { grid-template-columns: 1fr; padding: 1.2rem; }
  .wallet-actions { flex-direction: row; align-items: center; justify-content: space-between; }
  .wallet-btn { flex: 1; max-width: 220px; }
  .history-cols { grid-template-columns: 1fr; }
  .auth-card { padding: calc(3.4rem + env(safe-area-inset-top)) 1.1rem calc(1.6rem + env(safe-area-inset-bottom)); }
  .auth-head h1 { font-size: 1.45rem; }
  .auth-form.form-grid { grid-template-columns: 1fr 1fr; }
  .auth-form.form-grid .span-2 { grid-column: 1 / -1; }
  .service-admin-card, .banner-admin-card { grid-template-columns: 48px 1fr; }
  .service-admin-card .row-actions, .banner-admin-card .row-actions { grid-column: 1 / -1; }
  .banner-admin-card img { width: 48px; height: 48px; }
}
@media (max-width: 340px) {
  .auth-form.form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .dm-slide { grid-template-columns: 1fr 34%; }
  .svc-tile small { -webkit-line-clamp: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .dm-slide, .apply-panel, .apply-backdrop { transition: none !important; }
  .apply-spinner { animation-duration: 2.4s; }
}
