/* ===========================================================================
   Sahaj English – public theme ("Rangoli": kesari · sindoor · India green · chakra blue)
   Every selector is prefixed with .se-app by the build step, so nothing leaks into the
   WordPress theme and the theme cannot restyle the plugin's pages.
   =========================================================================== */

:root {
  --se-kesari: #F28C28;
  --se-kesari-d: #D9691A;
  --se-kesari-l: #FFE3BF;
  --se-sindoor: #7A1F2B;
  --se-sindoor-d: #55121C;
  --se-green: #138808;
  --se-green-d: #0B5D1E;
  --se-green-l: #E2F3DD;
  --se-chakra: #0B3D91;
  --se-haldi: #E8A317;
  --se-cream: #FFF6E5;
  --se-ivory: #FFFBF2;
  --se-ink: #2A1A12;
  --se-muted: #735F52;
  --se-line: #EBD9B8;
  --se-white: #fff;
  --se-red: #C0392B;
  --se-radius: 16px;
  --se-shadow: 0 10px 30px -12px rgba(122, 31, 43, .28);
  --se-shadow-s: 0 3px 10px -4px rgba(122, 31, 43, .22);
  --se-font: 'Hind Siliguri', 'Noto Sans Bengali', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --se-display: 'Tiro Bangla', 'Hind Siliguri', Georgia, 'Times New Roman', serif;
  --se-img: none;
}

body.se-own { margin: 0; background: #FFFBF2; }
body.se-own.se-exam-open { overflow: hidden; }

/* ---------- base ---------- */
.se-app { font-family: var(--se-font); color: var(--se-ink); font-size: 16px; line-height: 1.6; -webkit-text-size-adjust: 100%; text-align: left; }
.se-app *, .se-app *::before, .se-app *::after { box-sizing: border-box; }
.se-app img, .se-app svg { max-width: 100%; }
.se-app h1, .se-app h2, .se-app h3, .se-app h4 { font-family: var(--se-display); color: var(--se-sindoor); line-height: 1.25; margin: 0 0 .5em; font-weight: 400; letter-spacing: 0; text-transform: none; }
.se-app h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
.se-app h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
.se-app h3 { font-size: 1.3rem; }
.se-app h4 { font-size: 1.08rem; }
.se-app p { margin: 0 0 1em; }
.se-app a { color: var(--se-sindoor); text-decoration: none; }
.se-app a:hover { color: var(--se-kesari-d); }
.se-app ul, .se-app ol { margin: 0 0 1em; padding-left: 1.3em; }
.se-app hr { border: 0; border-top: 1px solid var(--se-line); margin: 1.5em 0; }
.se-app .se-muted { color: var(--se-muted); }
.se-app .se-small { font-size: .875rem; }
.se-app .se-center { text-align: center; }
.se-app .se-hide { display: none !important; }
.se-app .se-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.se-app .se-ico-svg { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.2em; }
.se-app :focus-visible { outline: 3px solid rgba(242, 140, 40, .55); outline-offset: 2px; border-radius: 6px; }

.se-app .se-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.se-app .se-section { padding: 64px 0; position: relative; }
.se-app .se-section.se-alt { background: var(--se-cream) url(../img/paisley-saffron.svg); }
.se-app .se-section.se-dark { background: var(--se-sindoor) url(../img/paisley-light.svg); color: #FFEFD2; }
.se-app .se-section.se-dark h2, .se-app .se-section.se-dark h3 { color: #FFE2A8; }
.se-app .se-section-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.se-app .se-eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--se-kesari-d); margin-bottom: 8px; }
.se-app .se-orn { height: 26px; background: url(../img/alpana-gold.svg) repeat-x center; margin: 10px auto 0; width: min(280px, 70%); }
.se-app .se-orn.se-orn-l { margin-left: 0; width: 192px; }
.se-app .se-grid { display: grid; gap: 22px; }
.se-app .se-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.se-app .se-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.se-app .se-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.se-app .se-stack > * + * { margin-top: 16px; }

/* ---------- top bars + header ---------- */
.se-app .se-tricolor { height: 6px; background: linear-gradient(90deg, var(--se-kesari) 0 33.4%, #fff 33.4% 66.6%, var(--se-green) 66.6%); }
.se-app .se-infobar { background: var(--se-sindoor); color: #FFE9C4; font-size: .85rem; }
.se-app .se-infobar .se-wrap { display: flex; justify-content: space-between; gap: 14px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.se-app .se-infobar a { color: #FFE9C4; display: inline-flex; gap: 6px; align-items: center; }
.se-app .se-infobar span.se-i { display: inline-flex; gap: 6px; align-items: center; margin-right: 18px; }
.se-app .se-header { background: var(--se-ivory); border-bottom: 1px solid var(--se-line); position: sticky; top: 0; z-index: 50; box-shadow: 0 6px 18px -14px rgba(122, 31, 43, .5); }
.se-app .se-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; background: url(../img/alpana-gold.svg) repeat-x center / 72px 20px; opacity: .55; pointer-events: none; }
.se-app .se-header .se-wrap { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.se-app .se-brand { display: flex; align-items: center; gap: 12px; color: var(--se-sindoor); }
.se-app .se-brand img { height: 50px; width: 50px; object-fit: contain; border-radius: 50%; }
.se-app .se-brand b { font-family: var(--se-display); font-weight: 400; font-size: 1.55rem; line-height: 1; display: block; }
.se-app .se-brand small { display: block; font-size: .72rem; color: var(--se-muted); letter-spacing: .04em; margin-top: 3px; }
.se-app .se-nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.se-app .se-nav a { white-space: nowrap; padding: 8px 10px; border-radius: 10px; font-weight: 500; color: var(--se-ink); font-size: .96rem; }
.se-app .se-nav a:hover { background: var(--se-kesari-l); color: var(--se-sindoor); }
.se-app .se-nav a.se-on { color: var(--se-sindoor); background: var(--se-kesari-l); font-weight: 700; }
.se-app .se-header-cta { display: flex; gap: 8px; align-items: center; }
.se-app .se-nav-toggle { display: none; background: none; border: 1.5px solid var(--se-line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--se-sindoor); align-items: center; justify-content: center; margin-left: auto; padding: 0; }
.se-app .se-bell { position: relative; display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--se-line); color: var(--se-sindoor); background: #fff; }
.se-app .se-bell em { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--se-red); color: #fff; font-size: .7rem; font-style: normal; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* ---------- buttons ---------- */
.se-app .se-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--se-font); font-weight: 700; font-size: 1rem; line-height: 1.2; padding: 12px 22px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; text-decoration: none; white-space: nowrap; }
.se-app .se-btn:hover { transform: translateY(-2px); }
.se-app .se-btn:active { transform: translateY(0); }
.se-app .se-btn-primary { background: linear-gradient(180deg, #F79A3A, var(--se-kesari-d)); color: #fff; border-color: var(--se-kesari-d); box-shadow: 0 6px 0 -2px #A94F10, 0 12px 20px -10px rgba(217, 105, 26, .8); }
.se-app .se-btn-primary:hover { color: #fff; box-shadow: 0 8px 0 -2px #A94F10, 0 16px 24px -10px rgba(217, 105, 26, .85); }
.se-app .se-btn-green { background: linear-gradient(180deg, #1a9f0d, var(--se-green-d)); color: #fff; border-color: var(--se-green-d); box-shadow: 0 6px 0 -2px #084a18, 0 12px 20px -10px rgba(11, 93, 30, .7); }
.se-app .se-btn-green:hover { color: #fff; }
.se-app .se-btn-maroon { background: linear-gradient(180deg, #98303f, var(--se-sindoor)); color: #fff; border-color: var(--se-sindoor-d); box-shadow: 0 6px 0 -2px #3f0d14, 0 12px 20px -10px rgba(85, 18, 28, .7); }
.se-app .se-btn-maroon:hover { color: #fff; }
.se-app .se-btn-outline { background: #fff; color: var(--se-sindoor); border-color: var(--se-sindoor); }
.se-app .se-btn-outline:hover { background: var(--se-sindoor); color: #fff; }
.se-app .se-btn-ghost { background: transparent; color: var(--se-sindoor); border-color: var(--se-line); }
.se-app .se-btn-ghost:hover { background: var(--se-kesari-l); }
.se-app .se-btn-sm { padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.se-app .se-btn-lg { padding: 15px 30px; font-size: 1.08rem; }
.se-app .se-btn-block { display: flex; width: 100%; }
.se-app .se-btn[disabled], .se-app .se-btn.se-disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- hero ---------- */
.se-app .se-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% 10%, #FFE9C4 0%, rgba(255, 233, 196, 0) 60%), linear-gradient(180deg, #FFF3DC 0%, #FFFBF2 55%, #F1F9EC 100%); padding: 22px 0 70px; }
.se-app .se-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 64px; background: url(../img/toran.svg) repeat-x top center / 96px 62px; z-index: 2; pointer-events: none; }
.se-app .se-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(0deg, #fff 0, rgba(255, 255, 255, 0)); pointer-events: none; }
.se-app .se-hero-bg { position: absolute; width: 720px; height: 720px; right: -240px; top: -180px; opacity: .13; animation: se-spin 140s linear infinite; pointer-events: none; }
.se-app .se-hero-bg-2 { position: absolute; width: 380px; height: 380px; left: -150px; bottom: -150px; opacity: .1; animation: se-spin 180s linear infinite reverse; pointer-events: none; }
@keyframes se-spin { to { transform: rotate(360deg); } }
.se-app .se-hero-inner { position: relative; z-index: 3; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 64px; }
.se-app .se-badge-top { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--se-haldi); color: var(--se-sindoor); padding: 6px 14px; border-radius: 40px; font-weight: 700; font-size: .85rem; box-shadow: var(--se-shadow-s); margin-bottom: 18px; }
.se-app .se-hero h1 { margin-bottom: 16px; }
.se-app .se-hero h1 em { font-style: normal; color: var(--se-kesari-d); background: linear-gradient(transparent 68%, rgba(232, 163, 23, .4) 68%); }
.se-app .se-hero p.se-lead { font-size: 1.15rem; color: #5A4437; max-width: 560px; }
.se-app .se-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.se-app .se-hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--se-muted); font-size: .92rem; }
.se-app .se-hero-trust span { display: inline-flex; gap: 7px; align-items: center; }
.se-app .se-hero-trust svg { color: var(--se-green); }
.se-app .se-hero-art { position: relative; max-width: 560px; margin: 0 auto; width: 100%; }
@keyframes se-float { 50% { transform: translateY(-10px); } }
.se-app .se-hero-chip { position: absolute; display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--se-line); border-radius: 14px; padding: 9px 14px 9px 10px; box-shadow: var(--se-shadow); font-weight: 600; font-size: .9rem; color: var(--se-sindoor); }
.se-app .se-hero-chip i { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--se-kesari); }
.se-app .se-hero-chip.c1 { left: -26px; top: 2%; }
.se-app .se-hero-chip.c2 { right: -10px; top: 8%; }
.se-app .se-hero-chip.c3 { left: -22px; bottom: 3%; }
.se-app .se-hero-chip.c4 { right: -8px; bottom: 0; }
.se-app .se-hero-chip.c2 i { background: var(--se-green); }
.se-app .se-hero-chip.c3 i { background: var(--se-chakra); }
.se-app .se-hero-chip.c4 i { background: var(--se-sindoor); }

/* notice ticker */
.se-app .se-ticker { background: var(--se-sindoor); color: #FFEFD2; overflow: hidden; }
.se-app .se-ticker .se-wrap { display: flex; align-items: center; gap: 14px; padding-top: 9px; padding-bottom: 9px; }
.se-app .se-ticker b { flex: none; background: var(--se-haldi); color: var(--se-sindoor-d); padding: 3px 12px; border-radius: 6px; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; }
.se-app .se-ticker-track { overflow: hidden; flex: 1; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.se-app .se-ticker-track span { display: inline-block; padding-left: 100%; animation: se-marquee 38s linear infinite; }
.se-app .se-ticker-track:hover span { animation-play-state: paused; }
.se-app .se-ticker-track a { color: #FFE2A8; margin-right: 46px; }
@keyframes se-marquee { to { transform: translateX(-100%); } }

/* ---------- cards ---------- */
.se-app .se-card { background: #fff; border: 1px solid var(--se-line); border-radius: var(--se-radius); padding: 24px; box-shadow: var(--se-shadow-s); position: relative; }
.se-app .se-card-orn::after { content: ""; position: absolute; right: 6px; top: 6px; width: 54px; height: 54px; background: url(../img/corner-ornament.svg) no-repeat center / contain; opacity: .8; transform: scaleX(-1); pointer-events: none; }
.se-app .se-card-hover { transition: transform .2s, box-shadow .2s, border-color .2s; }
.se-app .se-card-hover:hover { transform: translateY(-4px); box-shadow: var(--se-shadow); border-color: var(--se-haldi); }
.se-app .se-feature h3 { margin-top: 14px; }
.se-app .se-feature p { color: var(--se-muted); margin: 0; }
.se-app .se-ico { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #F79A3A, var(--se-kesari-d)); box-shadow: 0 8px 14px -8px rgba(217, 105, 26, .9); }
.se-app .se-ico svg { width: 26px; height: 26px; }
.se-app .se-ico.g { background: linear-gradient(135deg, #25b514, var(--se-green-d)); box-shadow: 0 8px 14px -8px rgba(11, 93, 30, .9); }
.se-app .se-ico.m { background: linear-gradient(135deg, #a8374a, var(--se-sindoor)); box-shadow: 0 8px 14px -8px rgba(85, 18, 28, .9); }
.se-app .se-ico.b { background: linear-gradient(135deg, #1c5ad0, var(--se-chakra)); box-shadow: 0 8px 14px -8px rgba(11, 61, 145, .9); }

/* steps */
.se-app .se-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.se-app .se-step { text-align: center; position: relative; }
.se-app .se-step::before { counter-increment: s; content: counter(s); display: flex; width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; align-items: center; justify-content: center; font-family: var(--se-display); font-size: 1.5rem; color: var(--se-sindoor); background: #fff; border: 2px solid var(--se-haldi); box-shadow: 0 0 0 6px rgba(232, 163, 23, .18); position: relative; z-index: 1; }
.se-app .se-step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: calc(50% + 40px); width: calc(100% - 80px); border-top: 2px dotted var(--se-haldi); }
.se-app .se-step h4 { margin-bottom: 4px; }
.se-app .se-step p { color: var(--se-muted); font-size: .94rem; margin: 0; }

/* stats band */
.se-app .se-stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.se-app .se-stats-band b { display: block; font-family: var(--se-display); font-size: 2.6rem; color: #FFD27A; line-height: 1.1; font-weight: 400; }
.se-app .se-stats-band span { color: #FFEBCB; font-size: .95rem; }

/* courses */
.se-app .se-course { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.se-app .se-course-head { background: linear-gradient(135deg, var(--se-sindoor), #9a3042); color: #fff; padding: 20px 22px; position: relative; overflow: hidden; }
.se-app .se-course-head::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; background: url(../img/mandala.svg) no-repeat center / contain; opacity: .22; }
.se-app .se-course-head h3 { color: #fff; margin: 0; position: relative; z-index: 1; }
.se-app .se-course-head small { color: #FFD9A0; position: relative; z-index: 1; }
.se-app .se-course-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.se-app .se-fee { display: flex; gap: 14px; flex-wrap: wrap; }
.se-app .se-fee div { background: var(--se-cream); border: 1px dashed var(--se-haldi); border-radius: 12px; padding: 7px 14px; }
.se-app .se-fee small { display: block; color: var(--se-muted); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }
.se-app .se-fee b { font-family: var(--se-display); font-size: 1.35rem; color: var(--se-sindoor); font-weight: 400; }
.se-app .se-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--se-green-l); color: var(--se-green-d); border-radius: 30px; padding: 4px 12px; font-size: .84rem; font-weight: 600; }
.se-app .se-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.se-app .se-course-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- forms ---------- */
.se-app .se-split { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.se-app .se-form-card { background: #fff; border: 1px solid var(--se-line); border-radius: 20px; padding: 32px; box-shadow: var(--se-shadow); position: relative; overflow: hidden; }
.se-app .se-form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--se-kesari) 0 33.4%, #fff 33.4% 66.6%, var(--se-green) 66.6%); }
.se-app .se-form-card h2 { font-size: 1.7rem; margin-top: 6px; }
.se-app .se-aside { background: linear-gradient(160deg, var(--se-sindoor), var(--se-sindoor-d)); color: #FFEBCB; border-radius: 20px; padding: 30px; position: relative; overflow: hidden; }
.se-app .se-aside::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; background: url(../img/mandala.svg) no-repeat center / contain; opacity: .2; animation: se-spin 120s linear infinite; }
.se-app .se-aside h3 { color: #FFD27A; }
.se-app .se-aside ul { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.se-app .se-aside li { display: flex; gap: 10px; padding: 8px 0; align-items: flex-start; }
.se-app .se-aside li svg { color: #9BE48D; margin-top: 3px; flex: none; }
.se-app .se-form .se-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.se-app .se-field { margin-bottom: 18px; }
.se-app .se-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .94rem; color: var(--se-ink); }
.se-app .se-field label .req { color: var(--se-red); }
.se-app .se-input, .se-app .se-select, .se-app .se-textarea { width: 100%; font-family: var(--se-font); font-size: 1rem; color: var(--se-ink); background: var(--se-ivory); border: 1.5px solid var(--se-line); border-radius: 12px; padding: 11px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s; box-shadow: none; margin: 0; }
.se-app .se-textarea { min-height: 100px; resize: vertical; }
.se-app .se-input:focus, .se-app .se-select:focus, .se-app .se-textarea:focus { outline: none; border-color: var(--se-kesari); box-shadow: 0 0 0 4px rgba(242, 140, 40, .18); background: #fff; }
.se-app .se-help { font-size: .84rem; color: var(--se-muted); margin-top: 5px; }
.se-app .se-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin-bottom: 18px; }
.se-app .se-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--se-green); flex: none; }
.se-app .se-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.se-app .se-pw { position: relative; }
.se-app .se-pw button { position: absolute; right: 8px; top: 8px; background: none; border: 0; color: var(--se-muted); cursor: pointer; padding: 8px; }
.se-app .se-reg-choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.se-app .se-choice { text-align: center; padding: 34px 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.se-app .se-choice .se-ico { width: 74px; height: 74px; border-radius: 24px; }
.se-app .se-choice .se-ico svg { width: 36px; height: 36px; }
.se-app .se-choice ul { text-align: left; color: var(--se-muted); font-size: .95rem; list-style: none; padding: 0; }
.se-app .se-choice li { display: flex; gap: 8px; padding: 3px 0; }
.se-app .se-choice li svg { color: var(--se-green); margin-top: 4px; flex: none; }

/* alerts + badges */
.se-app .se-alert { border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; border: 1px solid; font-size: .96rem; }
.se-app .se-alert svg { flex: none; margin-top: 3px; }
.se-app .se-alert ul { margin: 0; padding-left: 1.1em; }
.se-app .se-alert-error { background: #FDECEA; border-color: #F3B8B0; color: #8A1F14; }
.se-app .se-alert-success { background: #E7F6E3; border-color: #B3DEA9; color: #0B5D1E; }
.se-app .se-alert-info { background: #EAF1FD; border-color: #BCD0F2; color: #0B3D91; }
.se-app .se-alert-warn { background: #FFF4DC; border-color: #F2D48C; color: #7A4A00; }
.se-app .se-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 30px; padding: 3px 11px; font-size: .78rem; font-weight: 700; background: #eee; color: #444; white-space: nowrap; }
.se-app .se-badge-green { background: var(--se-green-l); color: var(--se-green-d); }
.se-app .se-badge-amber { background: #FFEBC2; color: #8A5200; }
.se-app .se-badge-red { background: #FADBD7; color: #9A2418; }
.se-app .se-badge-blue { background: #DCE8FB; color: var(--se-chakra); }
.se-app .se-badge-gray { background: #EEE6DA; color: #5C4A3C; }

/* tables */
.se-app .se-table-wrap { overflow-x: auto; border: 1px solid var(--se-line); border-radius: 14px; background: #fff; }
.se-app .se-table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px; }
.se-app .se-table th { background: var(--se-cream); color: var(--se-sindoor); text-align: left; padding: 11px 14px; font-weight: 700; border-bottom: 1px solid var(--se-line); white-space: nowrap; }
.se-app .se-table td { padding: 11px 14px; border-bottom: 1px solid #F3E8D2; vertical-align: middle; }
.se-app .se-table tr:last-child td { border-bottom: 0; }

/* ---------- dashboard ---------- */
.se-app .se-page-head { background: linear-gradient(135deg, var(--se-sindoor), var(--se-sindoor-d)); color: #FFEBCB; padding: 34px 0 30px; position: relative; overflow: hidden; }
.se-app .se-page-head::after { content: ""; position: absolute; right: -90px; top: -110px; width: 360px; height: 360px; background: url(../img/mandala.svg) no-repeat center / contain; opacity: .18; animation: se-spin 150s linear infinite; }
.se-app .se-page-head::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: url(../img/alpana-cream.svg) repeat-x center / 72px 20px; opacity: .5; }
.se-app .se-page-head h1 { color: #FFE2A8; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0 0 4px; position: relative; z-index: 1; }
.se-app .se-page-head p { margin: 0; position: relative; z-index: 1; color: #FFE0B2; }
.se-app .se-crumbs { font-size: .85rem; margin-bottom: 8px; position: relative; z-index: 1; }
.se-app .se-crumbs a { color: #FFD9A0; }
.se-app .se-main { padding: 34px 0 70px; min-height: 52vh; background: #FFFBF2 url(../img/paisley-saffron.svg); }
.se-app .se-dash { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
.se-app .se-dash-nav { background: #fff; border: 1px solid var(--se-line); border-radius: 18px; padding: 14px; position: sticky; top: 96px; box-shadow: var(--se-shadow-s); }
.se-app .se-dash-user { display: flex; gap: 12px; align-items: center; padding: 8px 8px 14px; border-bottom: 1px dashed var(--se-line); margin-bottom: 8px; }
.se-app .se-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--se-kesari), var(--se-sindoor)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--se-display); font-size: 1.2rem; flex: none; }
.se-app .se-dash-user b { display: block; line-height: 1.2; }
.se-app .se-dash-user small { color: var(--se-muted); }
.se-app .se-dash-nav a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--se-ink); font-weight: 500; margin-top: 2px; }
.se-app .se-dash-nav a svg { color: var(--se-kesari-d); }
.se-app .se-dash-nav a:hover { background: var(--se-kesari-l); }
.se-app .se-dash-nav a.se-on { background: linear-gradient(90deg, var(--se-sindoor), #9a3042); color: #fff; }
.se-app .se-dash-nav a.se-on svg { color: #FFD27A; }
.se-app .se-dash-nav a em { margin-left: auto; background: var(--se-red); color: #fff; border-radius: 10px; font-size: .72rem; padding: 1px 7px; font-style: normal; font-weight: 700; }
.se-app .se-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.se-app .se-stat { background: #fff; border: 1px solid var(--se-line); border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--se-shadow-s); }
.se-app .se-stat b { font-family: var(--se-display); font-size: 1.8rem; line-height: 1; color: var(--se-sindoor); font-weight: 400; display: block; }
.se-app .se-stat div span { color: var(--se-muted); font-size: .85rem; line-height: 1.3; display: block; margin-top: 4px; }
.se-app .se-stat .se-ico { width: 46px; height: 46px; border-radius: 14px; }
.se-app .se-stat .se-ico svg { width: 22px; height: 22px; }
.se-app .se-panel { background: #fff; border: 1px solid var(--se-line); border-radius: 18px; padding: 22px; margin-bottom: 22px; box-shadow: var(--se-shadow-s); }
.se-app .se-panel > h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.2rem; }
.se-app .se-panel > h3 svg { color: var(--se-kesari-d); }
.se-app .se-list-item { display: flex; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid #F3E8D2; flex-wrap: wrap; }
.se-app .se-list-item:last-child { border-bottom: 0; padding-bottom: 0; }
.se-app .se-list-item:first-child { padding-top: 0; }
.se-app .se-list-item .grow { flex: 1; min-width: 190px; }
.se-app .se-list-item h4 { margin: 0 0 2px; font-family: var(--se-font); font-weight: 700; color: var(--se-ink); font-size: 1.02rem; }
.se-app .se-list-item small { color: var(--se-muted); }
.se-app .se-empty { text-align: center; color: var(--se-muted); padding: 28px 10px; }
.se-app .se-empty svg { width: 42px; height: 42px; color: var(--se-haldi); margin-bottom: 8px; }
.se-app .se-tabs-m { display: none; }

/* status timeline */
.se-app .se-timeline { display: flex; gap: 0; margin: 18px 0 8px; }
.se-app .se-timeline div { flex: 1; text-align: center; position: relative; font-size: .85rem; color: var(--se-muted); }
.se-app .se-timeline div::before { content: ""; display: block; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--se-line); margin: 0 auto 6px; position: relative; z-index: 1; }
.se-app .se-timeline div::after { content: ""; position: absolute; top: 10px; left: -50%; width: 100%; border-top: 2px solid var(--se-line); }
.se-app .se-timeline div:first-child::after { display: none; }
.se-app .se-timeline .done { color: var(--se-green-d); font-weight: 600; }
.se-app .se-timeline .done::before { background: var(--se-green); border-color: var(--se-green); box-shadow: inset 0 0 0 4px #fff; }
.se-app .se-timeline .done::after { border-color: var(--se-green); }
.se-app .se-timeline .bad { color: var(--se-red); font-weight: 600; }
.se-app .se-timeline .bad::before { background: var(--se-red); border-color: var(--se-red); box-shadow: inset 0 0 0 4px #fff; }

/* ---------- payment ---------- */
.se-app .se-pay { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 26px; align-items: start; }
.se-app .se-qr-card { text-align: center; }
.se-app .se-amount { font-family: var(--se-display); font-size: 2.6rem; color: var(--se-sindoor); line-height: 1; margin: 6px 0 2px; }
.se-app .se-qr-box { width: 260px; max-width: 100%; margin: 14px auto; padding: 14px; background: #fff; border: 2px solid var(--se-haldi); border-radius: 20px; position: relative; box-shadow: 0 0 0 6px var(--se-kesari-l); }
.se-app .se-qr-box canvas, .se-app .se-qr-box svg.qr, .se-app .se-qr-box img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.se-app .se-qr-box::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 36px; height: 36px; transform: translate(-50%, -50%); background: #fff url(../img/logo-default.svg) center / 30px no-repeat; border-radius: 50%; border: 2px solid var(--se-haldi); }
.se-app .se-qr-box.se-qr-img::after { display: none; }
.se-app .se-upi-id { display: inline-flex; gap: 8px; align-items: center; background: var(--se-cream); border: 1px dashed var(--se-haldi); border-radius: 10px; padding: 6px 12px; font-weight: 600; word-break: break-all; }
.se-app .se-upi-id button { background: none; border: 0; cursor: pointer; color: var(--se-sindoor); padding: 2px; }
.se-app .se-pay-steps { counter-reset: p; list-style: none; padding: 0; margin: 0 0 16px; }
.se-app .se-pay-steps li { counter-increment: p; display: flex; gap: 12px; padding: 7px 0; align-items: flex-start; }
.se-app .se-pay-steps li::before { content: counter(p); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--se-kesari); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.se-app .se-file { border: 2px dashed var(--se-line); border-radius: 14px; padding: 16px; text-align: center; background: var(--se-ivory); cursor: pointer; display: block; }
.se-app .se-file:hover { border-color: var(--se-kesari); }
.se-app .se-file input { display: block; margin: 8px auto 0; max-width: 100%; }

/* ---------- study material ---------- */
.se-app .se-acc { border: 1px solid var(--se-line); border-radius: 16px; background: #fff; margin-bottom: 14px; overflow: hidden; box-shadow: var(--se-shadow-s); }
.se-app .se-acc > summary { cursor: pointer; list-style: none; padding: 16px 20px; display: flex; align-items: center; gap: 12px; font-family: var(--se-display); font-size: 1.2rem; color: var(--se-sindoor); background: linear-gradient(90deg, var(--se-cream), #fff); }
.se-app .se-acc > summary::-webkit-details-marker { display: none; }
.se-app .se-acc > summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2.5px solid var(--se-kesari-d); border-bottom: 2.5px solid var(--se-kesari-d); transform: rotate(45deg); transition: transform .2s; }
.se-app .se-acc[open] > summary::after { transform: rotate(-135deg); }
.se-app .se-acc .inner { padding: 6px 20px 18px; }
.se-app .se-topic { margin-top: 14px; }
.se-app .se-topic > b { display: flex; gap: 8px; align-items: center; color: var(--se-chakra); font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.se-app .se-lesson-link { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--se-ink); border: 1px solid transparent; }
.se-app .se-lesson-link:hover { background: var(--se-cream); border-color: var(--se-line); color: var(--se-sindoor); }
.se-app .se-lesson-link .se-ico { width: 38px; height: 38px; border-radius: 11px; }
.se-app .se-lesson-link .se-ico svg { width: 18px; height: 18px; }
.se-app .se-lesson-link span.t { flex: 1; font-weight: 600; }
.se-app .se-lesson { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.se-app .se-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; box-shadow: var(--se-shadow); border: 4px solid #fff; outline: 2px solid var(--se-haldi); }
.se-app .se-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.se-app .se-notes { background: #fff; border: 1px solid var(--se-line); border-left: 5px solid var(--se-kesari); border-radius: 14px; padding: 22px 24px; margin-top: 22px; }
.se-app .se-notes h3 { display: flex; gap: 8px; align-items: center; }
.se-app .se-notes img { height: auto; border-radius: 8px; }
.se-app .se-pdf { width: 100%; height: 76vh; min-height: 420px; border: 1px solid var(--se-line); border-radius: 14px; background: #fff; }
.se-app .se-side-list a { display: flex; gap: 8px; padding: 9px 10px; border-radius: 10px; color: var(--se-ink); font-size: .94rem; align-items: center; }
.se-app .se-side-list a:hover, .se-app .se-side-list a.se-on { background: var(--se-kesari-l); color: var(--se-sindoor); font-weight: 600; }

/* ---------- exams list / results ---------- */
.se-app .se-exam-card { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.se-app .se-exam-card .se-ico { flex: none; }
.se-app .se-exam-card .grow { flex: 1; min-width: 220px; }
.se-app .se-exam-card h4 { margin: 0 0 4px; font-family: var(--se-font); color: var(--se-ink); font-weight: 700; font-size: 1.1rem; }
.se-app .se-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--se-muted); font-size: .88rem; }
.se-app .se-meta span { display: inline-flex; gap: 5px; align-items: center; }
.se-app .se-score { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.se-app .se-ring { --p: 0; width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(var(--se-green) calc(var(--p) * 1%), #EFE4CE 0); display: flex; align-items: center; justify-content: center; position: relative; flex: none; }
.se-app .se-ring.fail { background: conic-gradient(var(--se-red) calc(var(--p) * 1%), #EFE4CE 0); }
.se-app .se-ring::before { content: ""; position: absolute; inset: 12px; background: #fff; border-radius: 50%; }
.se-app .se-ring div { position: relative; text-align: center; line-height: 1.1; }
.se-app .se-ring b { font-family: var(--se-display); font-size: 1.9rem; color: var(--se-sindoor); font-weight: 400; display: block; }
.se-app .se-ring small { color: var(--se-muted); }
.se-app .se-kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; flex: 1; min-width: 260px; }
.se-app .se-kv div { background: var(--se-cream); border-radius: 12px; padding: 10px 14px; border: 1px solid var(--se-line); }
.se-app .se-kv small { display: block; color: var(--se-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.se-app .se-kv b { font-size: 1.2rem; font-family: var(--se-display); font-weight: 400; color: var(--se-sindoor); }
.se-app .se-review-q { border: 1px solid var(--se-line); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; background: #fff; }
.se-app .se-review-q.correct { border-left: 6px solid var(--se-green); }
.se-app .se-review-q.wrong { border-left: 6px solid var(--se-red); }
.se-app .se-review-q.skipped { border-left: 6px solid var(--se-haldi); }
.se-app .se-review-q .qt { font-weight: 600; margin-bottom: 10px; }
.se-app .se-review-q .qt img { max-height: 280px; border-radius: 10px; display: block; margin-top: 8px; }
.se-app .se-ropt { display: flex; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--se-line); margin-bottom: 7px; align-items: flex-start; }
.se-app .se-ropt b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #F3E8D2; display: flex; align-items: center; justify-content: center; font-size: .82rem; }
.se-app .se-ropt.correct { border-color: var(--se-green); background: var(--se-green-l); }
.se-app .se-ropt.correct b { background: var(--se-green); color: #fff; }
.se-app .se-ropt.wrong { border-color: var(--se-red); background: #FDECEA; }
.se-app .se-ropt.wrong b { background: var(--se-red); color: #fff; }
.se-app .se-ropt small { display: block; color: var(--se-muted); margin-top: 2px; }
.se-app .se-ropt img { max-height: 120px; border-radius: 8px; display: block; margin-top: 6px; }
.se-app .se-explain { background: #FFF8E6; border: 1px dashed var(--se-haldi); border-radius: 12px; padding: 10px 14px; margin-top: 8px; font-size: .94rem; }

/* ---------- messages ---------- */
.se-app .se-chat { display: flex; flex-direction: column; gap: 10px; max-height: 460px; overflow-y: auto; padding: 14px; background: var(--se-ivory); border: 1px solid var(--se-line); border-radius: 14px; margin-bottom: 14px; }
.se-app .se-bubble { max-width: 78%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--se-line); align-self: flex-start; }
.se-app .se-bubble.me { align-self: flex-end; background: var(--se-kesari-l); border-color: #F5C88A; border-radius: 16px 16px 4px 16px; }
.se-app .se-bubble small { display: block; color: var(--se-muted); font-size: .75rem; margin-top: 3px; }
.se-app .se-bubble b { font-size: .82rem; color: var(--se-sindoor); display: block; }

/* ---------- contact / misc ---------- */
.se-app .se-contact-list { list-style: none; padding: 0; margin: 0; }
.se-app .se-contact-list li { display: flex; gap: 14px; padding: 12px 0; align-items: flex-start; }
.se-app .se-notice { border-left: 5px solid var(--se-kesari); background: #fff; border-radius: 12px; padding: 16px 20px; margin-bottom: 14px; border-top: 1px solid var(--se-line); border-right: 1px solid var(--se-line); border-bottom: 1px solid var(--se-line); box-shadow: var(--se-shadow-s); }
.se-app .se-notice.important { border-left-color: var(--se-red); background: #FFF6F4; }
.se-app .se-notice.announcement { border-left-color: var(--se-chakra); }
.se-app .se-notice h4 { margin: 0 0 4px; font-family: var(--se-font); font-weight: 700; color: var(--se-ink); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.se-app .se-notice .when { color: var(--se-muted); font-size: .84rem; margin-bottom: 6px; }
.se-app .se-prose { max-width: 820px; }
.se-app .se-prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.se-app .se-prose h3 { font-size: 1.2rem; margin-top: 1.3em; }
.se-app .se-login-wrap { max-width: 460px; margin: 0 auto; }

/* ---------- footer ---------- */
.se-app .se-footer { background: linear-gradient(rgba(85, 18, 28, .86), rgba(85, 18, 28, .86)), var(--se-sindoor-d) url(../img/paisley-light.svg); color: #F7DFC0; margin-top: 0; position: relative; padding-top: 44px; }
.se-app .se-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 24px; background: var(--se-sindoor-d) url(../img/alpana-cream.svg) repeat-x center / 72px 20px; opacity: 1; }
.se-app .se-footer a { color: #FFD9A0; }
.se-app .se-footer a:hover { color: #fff; }
.se-app .se-footer h4 { color: #FFD27A; font-size: 1.15rem; }
.se-app .se-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; padding: 34px 0 26px; }
.se-app .se-footer ul { list-style: none; padding: 0; margin: 0; }
.se-app .se-footer li { padding: 3px 0; }
.se-app .se-footer .se-brand { color: #FFE2A8; }
.se-app .se-footer .se-brand small { color: #E3C69A; }
.se-app .se-footer-bottom { border-top: 1px solid rgba(255, 217, 160, .25); padding: 16px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .88rem; color: #E7C9A0; align-items: center; }
.se-app .se-chakra-mini { width: 30px; height: 30px; vertical-align: middle; margin-right: 8px; }
.se-app .se-social { display: flex; gap: 10px; margin-top: 12px; }
.se-app .se-social a { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255, 217, 160, .5); display: inline-flex; align-items: center; justify-content: center; }
.se-app .se-social a:hover { background: var(--se-kesari); border-color: var(--se-kesari); color: #fff; }

/* login-required card */
.se-app .se-gate { max-width: 520px; margin: 40px auto; text-align: center; }

/* ======================= EXAM ROOM ======================= */
.se-app .se-exam { position: fixed; inset: 0; z-index: 99999; background: var(--se-ivory); display: flex; flex-direction: column; font-family: var(--se-font); }
.se-app .se-exam-top { background: linear-gradient(90deg, var(--se-sindoor-d), var(--se-sindoor)); color: #FFEBCB; display: flex; align-items: center; gap: 14px; padding: 10px 18px; border-bottom: 4px solid var(--se-haldi); flex-wrap: wrap; }
.se-app .se-exam-top h1 { font-size: 1.1rem; margin: 0; color: #FFE2A8; flex: 1; min-width: 160px; font-family: var(--se-font); font-weight: 700; }
.se-app .se-timer { display: inline-flex; gap: 8px; align-items: center; background: #fff; color: var(--se-sindoor); font-weight: 700; font-size: 1.25rem; padding: 6px 16px; border-radius: 30px; font-variant-numeric: tabular-nums; min-width: 128px; justify-content: center; }
.se-app .se-timer.low { background: var(--se-red); color: #fff; animation: se-pulse 1s infinite; }
@keyframes se-pulse { 50% { transform: scale(1.06); } }
.se-app .se-viol { background: rgba(255, 255, 255, .14); border-radius: 30px; padding: 5px 12px; font-size: .86rem; display: inline-flex; gap: 6px; align-items: center; }
.se-app .se-viol.hot { background: var(--se-red); color: #fff; }
.se-app .se-exam-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 270px; min-height: 0; }
.se-app .se-qarea { overflow-y: auto; padding: 22px clamp(14px, 3vw, 40px) 30px; }
.se-app .se-qcard { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--se-line); border-radius: 18px; padding: 24px 26px; box-shadow: var(--se-shadow-s); position: relative; }
.se-app .se-qhead { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; color: var(--se-muted); font-size: .9rem; }
.se-app .se-qhead b { color: var(--se-sindoor); font-family: var(--se-display); font-size: 1.25rem; font-weight: 400; }
.se-app .se-qtext { font-size: 1.15rem; font-weight: 600; margin-bottom: 14px; user-select: none; -webkit-user-select: none; }
.se-app .se-qtext img { max-width: 100%; max-height: 340px; border-radius: 10px; display: block; margin-top: 10px; pointer-events: none; }
.se-app .se-optbtn { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; background: #fff; border: 2px solid var(--se-line); border-radius: 14px; padding: 13px 16px; margin-bottom: 11px; cursor: pointer; font-family: var(--se-font); font-size: 1.05rem; color: var(--se-ink); transition: border-color .12s, background .12s, transform .12s; user-select: none; -webkit-user-select: none; }
.se-app .se-optbtn:hover { border-color: var(--se-kesari); background: #FFF8EC; }
.se-app .se-optbtn b { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #F3E8D2; color: var(--se-sindoor); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.se-app .se-optbtn img { display: block; max-height: 150px; margin-top: 8px; border-radius: 8px; pointer-events: none; }
.se-app .se-optbtn.sel { border-color: var(--se-green); background: var(--se-green-l); }
.se-app .se-optbtn.sel b { background: var(--se-green); color: #fff; }
.se-app .se-exam-foot { background: #fff; border-top: 1px solid var(--se-line); padding: 10px 18px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.se-app .se-exam-foot .sp { flex: 1; }
.se-app .se-side-pal { border-left: 1px solid var(--se-line); background: #fff; padding: 16px; overflow-y: auto; }
.se-app .se-side-pal h4 { font-family: var(--se-font); font-size: .9rem; color: var(--se-muted); text-transform: uppercase; letter-spacing: .06em; }
.se-app .se-qgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.se-app .se-qbtn { aspect-ratio: 1; border-radius: 10px; border: 2px solid var(--se-line); background: #fff; font-weight: 700; color: var(--se-ink); cursor: pointer; font-family: var(--se-font); font-size: .9rem; padding: 0; position: relative; }
.se-app .se-qbtn.ans { background: var(--se-green); border-color: var(--se-green); color: #fff; }
.se-app .se-qbtn.rev { background: var(--se-haldi); border-color: var(--se-haldi); color: #3a2400; }
.se-app .se-qbtn.cur { outline: 3px solid var(--se-chakra); outline-offset: 1px; }
.se-app .se-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .78rem; color: var(--se-muted); margin: 14px 0; }
.se-app .se-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 4px; vertical-align: -1px; border: 1.5px solid var(--se-line); }
.se-app .se-legend i.a { background: var(--se-green); border-color: var(--se-green); }
.se-app .se-legend i.r { background: var(--se-haldi); border-color: var(--se-haldi); }
.se-app .se-legend i.n { background: #fff; }
.se-app .se-qtimer { height: 8px; background: #F0E3C9; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.se-app .se-qtimer i { display: block; height: 100%; background: var(--se-kesari); width: 100%; transition: width .25s linear; }
.se-app .se-qtimer.final i { background: var(--se-haldi); }
.se-app .se-final { background: #FFF1CC; border: 2px solid var(--se-haldi); color: #7A4A00; border-radius: 12px; padding: 8px 14px; font-weight: 700; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.se-app .se-intro { max-width: 760px; margin: 0 auto; padding: 28px 20px; overflow-y: auto; flex: 1; width: 100%; }
.se-app .se-intro ul { padding-left: 1.2em; }
.se-app .se-modal { position: fixed; inset: 0; background: rgba(42, 26, 18, .72); z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.se-app .se-modal-box { background: #fff; border-radius: 20px; padding: 28px; max-width: 460px; width: 100%; text-align: center; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); border-top: 8px solid var(--se-kesari); }
.se-app .se-modal-box.danger { border-top-color: var(--se-red); }
.se-app .se-modal-box h3 { margin-bottom: 8px; }
.se-app .se-modal-box .se-btn { margin: 4px; }
.se-app .se-modal-box .sum { display: flex; gap: 8px; justify-content: center; margin: 14px 0; flex-wrap: wrap; }
.se-app .se-modal-box .sum span { background: var(--se-cream); border: 1px solid var(--se-line); border-radius: 10px; padding: 6px 12px; font-size: .9rem; }
.se-app .se-net { position: fixed; left: 50%; bottom: 76px; transform: translateX(-50%); background: var(--se-red); color: #fff; padding: 8px 18px; border-radius: 30px; font-weight: 600; z-index: 100001; box-shadow: var(--se-shadow); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .se-app .se-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .se-app .se-hero-inner { grid-template-columns: 1fr; }
  .se-app .se-hero-art { max-width: 380px; }
  .se-app .se-steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .se-app .se-step::after { display: none !important; }
  .se-app .se-split, .se-app .se-pay, .se-app .se-lesson { grid-template-columns: 1fr; }
  .se-app .se-footer-grid { grid-template-columns: 1fr 1fr; }
  .se-app .se-stats-band, .se-app .se-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .se-app .se-nav-toggle { display: inline-flex; }
  .se-app .se-header .se-wrap { flex-wrap: wrap; min-height: 64px; }
  .se-app .se-nav, .se-app .se-header-cta { display: none; width: 100%; }
  .se-app .se-header.se-nav-open .se-nav { display: flex; flex-direction: column; align-items: stretch; margin: 0; padding: 6px 0 4px; }
  .se-app .se-header.se-nav-open .se-nav a { padding: 12px; border-bottom: 1px dashed var(--se-line); border-radius: 0; }
  .se-app .se-header.se-nav-open .se-header-cta { display: flex; padding: 8px 0 14px; }
  .se-app .se-header.se-nav-open .se-header-cta .se-btn { flex: 1; }
  .se-app .se-dash { grid-template-columns: 1fr; }
  .se-app .se-dash-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 8px; scrollbar-width: thin; }
  .se-app .se-dash-nav .se-dash-user { display: none; }
  .se-app .se-dash-nav a { white-space: nowrap; margin-top: 0; padding: 9px 12px; }
  .se-app .se-exam-body { grid-template-columns: 1fr; }
  .se-app .se-side-pal { position: fixed; right: 0; top: 0; bottom: 0; width: min(300px, 86vw); transform: translateX(100%); transition: transform .25s; z-index: 5; box-shadow: -10px 0 30px rgba(0, 0, 0, .25); }
  .se-app .se-side-pal.open { transform: none; }
}
@media (max-width: 680px) {
  .se-app .se-section { padding: 46px 0; }
  .se-app .se-grid-2, .se-app .se-grid-3, .se-app .se-reg-choice, .se-app .se-form .se-row, .se-app .se-kv { grid-template-columns: 1fr; }
  .se-app .se-grid-4 { grid-template-columns: 1fr; }
  .se-app .se-hero-chip { font-size: .78rem; padding: 6px 10px 6px 7px; }
  .se-app .se-hero-chip i { width: 26px; height: 26px; }
  .se-app .se-hero-chip.c1 { left: -6px; } .se-app .se-hero-chip.c2 { right: -6px; }
  .se-app .se-form-card { padding: 22px 18px; }
  .se-app .se-footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .se-app .se-stats { grid-template-columns: 1fr 1fr; }
  .se-app .se-ring { width: 124px; height: 124px; }
  .se-app .se-infobar .se-wrap { justify-content: center; text-align: center; }
  .se-app .se-brand b { font-size: 1.3rem; }
  .se-app .se-brand small { display: none; }
  .se-app .se-qcard { padding: 18px 16px; }
  .se-app .se-qtext { font-size: 1.05rem; }
  .se-app .se-exam-top { padding: 8px 12px; gap: 8px; }
  .se-app .se-timer { font-size: 1.05rem; min-width: 104px; padding: 4px 12px; }
  .se-app .se-bubble { max-width: 92%; }
  .se-app .se-timeline div { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
  .se-app .se-hero-bg, .se-app .se-hero-bg-2, .se-app .se-hero-art > img, .se-app .se-aside::after, .se-app .se-page-head::after, .se-app .se-ticker-track span, .se-app .se-timer.low { animation: none !important; }
  .se-app .se-btn, .se-app .se-card-hover { transition: none; }
}
@media print {
  .se-app .se-header, .se-app .se-footer, .se-app .se-infobar, .se-app .se-tricolor, .se-app .se-dash-nav, .se-app .se-btn, .se-app .se-ticker { display: none !important; }
  .se-app .se-main { background: #fff; padding: 0; }
  .se-app .se-panel, .se-app .se-card { box-shadow: none; }
}

/* ---- additions ---- */
.se-app .se-upi-app { display: none; }
.se-app .se-pal-toggle { display: none; }
@media (max-width: 900px) {
  .se-app .se-upi-app { display: inline-flex; }
  .se-app .se-pal-toggle { display: inline-flex; }
}
.se-app .se-qr-box svg.qr { shape-rendering: crispEdges; }

.se-app .se-header .se-wrap { gap: 14px; }
.se-app .se-brand small { white-space: nowrap; }
.se-app .se-header-cta .se-btn { white-space: nowrap; }
@media (max-width: 1240px) { .se-app .se-header .se-brand small { display: none; } }
@media (max-width: 1100px) { .se-app .se-header-cta .se-btn-ghost { padding: 8px 10px; font-size: 0; gap: 0; } .se-app .se-header-cta .se-btn-ghost svg { font-size: 1rem; width: 1.2rem; height: 1.2rem; } }

/* ---- device showcase (hero + app section) ---- */
.se-app .se-devices { position: relative; padding: 10px 0 64px; }
.se-app .se-laptop { width: 92%; margin: 0 auto 0 0; animation: se-float 8s ease-in-out infinite; }
.se-app .se-laptop-screen { background: #1d1612; padding: 10px 10px 12px; border-radius: 16px 16px 4px 4px; box-shadow: 0 22px 50px rgba(85,18,28,.35); border: 1px solid #000; }
.se-app .se-laptop-screen img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top left; border-radius: 6px; background: #fff; }
.se-app .se-laptop-base { height: 12px; margin: 0 -4%; background: linear-gradient(#d9cfc2, #b9ad9d); border-radius: 0 0 18px 18px; box-shadow: 0 8px 16px rgba(0,0,0,.18); }
.se-app .se-phone { position: relative; background: #1d1612; border-radius: 26px; padding: 7px; box-shadow: 0 18px 38px rgba(85,18,28,.38); border: 1px solid #000; width: 100%; }
.se-app .se-phone::before { content: ""; position: absolute; top: 11px; left: 50%; width: 30%; height: 5px; margin-left: -15%; background: #000; border-radius: 4px; z-index: 2; opacity: .55; }
.se-app .se-phone img { display: block; width: 100%; aspect-ratio: 9/18; object-fit: cover; object-position: top center; border-radius: 20px; background: #fff; }
.se-app .se-devices .se-phone { position: absolute; width: 27%; }
.se-app .se-phone-a { right: 2%; bottom: 0; animation: se-float 6s ease-in-out infinite; }
.se-app .se-phone-b { left: 6%; bottom: 14px; width: 24% !important; animation: se-float 7s ease-in-out -2s infinite; }
.se-app .se-showcase { background: linear-gradient(180deg, var(--se-ivory), var(--se-cream)); }
.se-app .se-show-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 980px; margin: 0 auto 34px; align-items: start; }
.se-app .se-show-item { text-align: center; }
.se-app .se-show-item .se-phone { max-width: 250px; margin: 0 auto 18px; }
.se-app .se-show-item.mid { margin-top: 34px; }
.se-app .se-show-item h3 { display: flex; justify-content: center; align-items: center; gap: 9px; margin: 0 0 6px; font-size: 1.15rem; color: var(--se-sindoor); }
.se-app .se-show-item h3 i { width: 30px; height: 30px; border-radius: 9px; background: var(--se-kesari); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.se-app .se-show-item p { margin: 0 auto; max-width: 270px; color: var(--se-muted); font-size: .95rem; }
@media (max-width: 860px) {
  .se-app .se-show-grid { grid-template-columns: 1fr; gap: 40px; }
  .se-app .se-show-item.mid { margin-top: 0; }
  .se-app .se-devices { padding-bottom: 54px; }
}
@media (prefers-reduced-motion: reduce) { .se-app .se-laptop, .se-app .se-devices .se-phone { animation: none !important; } }
