:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8f9fc;
  --border: #e3e7ef;
  --text: #182032;
  --muted: #667085;
  --brand: #1f3a8a;
  --brand-2: #2b4fc4;
  --brand-soft: #e8edfb;
  --accent: #f26b1d;
  --ok: #157f3b;
  --ok-soft: #e3f5e9;
  --warn: #a15c00;
  --warn-soft: #fff3dc;
  --bad: #c0262d;
  --bad-soft: #fde7e8;
  --info: #155e9c;
  --info-soft: #e3f0fb;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --sidebar: #111b3d;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 14px/1.5 var(--font); color: var(--text); background: var(--bg); }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
h1 { font-size: 22px; font-weight: 650; }
h2 { font-size: 16px; font-weight: 650; }
h3 { font-size: 14px; font-weight: 650; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hidden { display: none !important; }

/* layout */
.shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.sidebar { background: var(--sidebar); color: #c9d2ee; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; color: #fff; }
.brand .logo { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), #ffb35c); display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; }
.brand b { display: block; font-size: 16px; letter-spacing: .02em; }
.brand span { font-size: 11px; color: #97a3cc; }
.nav { padding: 6px 10px; display: flex; flex-direction: column; gap: 2px; }
.nav .sec { font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; color: #7381b3; padding: 14px 10px 4px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; color: #c9d2ee; font-weight: 500; }
.nav a:hover { background: rgba(255,255,255,.06); text-decoration: none; color: #fff; }
.nav a.active { background: var(--brand-2); color: #fff; }
.nav svg { width: 18px; height: 18px; flex: none; }
.nav .pill { margin-left: auto; background: var(--bad); color: #fff; font-size: 11px; border-radius: 10px; padding: 0 7px; }
.sidebar .foot { margin-top: auto; padding: 14px 18px; font-size: 12px; color: #7381b3; border-top: 1px solid rgba(255,255,255,.07); }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 58px; background: var(--surface); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; padding: 0 24px; position: sticky; top: 0; z-index: 20; }
.topbar .school { font-weight: 600; }
.topbar .spacer { flex: 1; }
.topbar .menu-btn { display: none; }
.year-badge { background: var(--brand-soft); color: var(--brand); padding: 3px 10px; border-radius: 20px; font-weight: 600; font-size: 12.5px; }
.content { padding: 24px; max-width: 1440px; width: 100%; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card > .hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.card > .bd { padding: 16px; }
.card > .bd.flush { padding: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 16px; }
.kpi { padding: 14px 16px; }
.kpi .lbl { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.kpi .val { font-size: 22px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.kpi.accent { border-top: 3px solid var(--accent); }
.kpi.brandc { border-top: 3px solid var(--brand-2); }
.kpi.okc { border-top: 3px solid var(--ok); }
.kpi.badc { border-top: 3px solid var(--bad); }

/* buttons & forms */
.btn { font: inherit; font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn.primary { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.btn.primary:hover { background: var(--brand); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.danger { color: var(--bad); border-color: #f2c3c5; }
.btn.danger:hover { background: var(--bad-soft); }
.btn.sm { padding: 4px 10px; font-size: 12.5px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }
label.f { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: #344054; }
label.f .hint { font-weight: 400; color: var(--muted); font-size: 11.5px; }
input, select, textarea { font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid #cdd3df; border-radius: 7px; background: #fff; color: var(--text); width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid #b9c8f5; border-color: var(--brand-2); }
input[type=checkbox] { width: 16px; height: 16px; padding: 0; accent-color: var(--brand-2); }
label.chk { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13.5px; cursor: pointer; }
.form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; }
.form .span2 { grid-column: span 2; }
.form .span4 { grid-column: 1 / -1; }
.form h3 { grid-column: 1 / -1; margin-top: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border); color: var(--brand); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 14px; }
.filters > * { width: auto; }
.filters input[type=search] { min-width: 240px; }

/* tables */
.tbl-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.t th { text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--surface-2); padding: 9px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.t td { padding: 9px 12px; border-bottom: 1px solid #eef0f5; vertical-align: middle; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: #f6f8ff; }
table.t tfoot td { font-weight: 700; background: var(--surface-2); border-top: 2px solid var(--border); }
table.t td input { padding: 5px 8px; font-size: 13.5px; }
table.t tr.cancelled td { color: #98a2b3; text-decoration: line-through; }
table.t tr.cancelled td:last-child { text-decoration: none; }
.empty { padding: 36px; text-align: center; color: var(--muted); }

/* badges */
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 20px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); letter-spacing: .02em; white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.bad, .badge.fail { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.badge.info { background: var(--info-soft); color: var(--info); border-color: transparent; }
.badge.brand { background: var(--brand-soft); color: var(--brand); border-color: transparent; }

/* tabs */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 16px; overflow-x: auto; }
.tabs button { font: inherit; font-weight: 600; background: none; border: 0; padding: 10px 14px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--brand-2); border-bottom-color: var(--brand-2); }

/* modal & toast */
.overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; z-index: 100; overflow-y: auto; }
.modal { background: var(--surface); border-radius: 12px; width: 100%; max-width: 560px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.modal.wide { max-width: 980px; }
.modal .hd { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal .bd { padding: 20px; }
.modal .ft { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 12px 12px; }
.x { background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--muted); line-height: 1; }
#toasts { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 200; }
.toast { background: #1d2939; color: #fff; padding: 11px 16px; border-radius: 8px; box-shadow: var(--shadow); max-width: 420px; animation: slide .2s ease-out; }
.toast.err { background: var(--bad); }
.toast.ok { background: var(--ok); }
@keyframes slide { from { transform: translateY(10px); opacity: 0; } }

/* misc */
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; border: 1px solid transparent; }
.alert.warn { background: var(--warn-soft); color: #6b3d00; border-color: #f6d9a3; }
.alert.bad { background: var(--bad-soft); color: #8a1c21; border-color: #f2c3c5; }
.alert.info { background: var(--info-soft); color: #0f4371; border-color: #bcd9f2; }
.alert.ok { background: var(--ok-soft); color: #0e5a29; border-color: #b6e3c4; }
.progress { height: 8px; background: #eceff5; border-radius: 6px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--brand-2); border-radius: 6px; }
.bar-row { display: grid; grid-template-columns: 90px 1fr 110px; gap: 10px; align-items: center; margin: 7px 0; font-size: 13px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.chart .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.profile-head { display: flex; gap: 16px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: 20px; flex: none; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 20px; }
.kv div span { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.check-card { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px; border-bottom: 1px solid var(--border); }
.check-card:last-child { border-bottom: 0; }
.check-card .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.check-card .ic.ok { background: var(--ok-soft); color: var(--ok); }
.check-card .ic.warn { background: var(--warn-soft); color: var(--warn); }
.check-card .ic.fail { background: var(--bad-soft); color: var(--bad); }
.check-card .ic.info { background: var(--info-soft); color: var(--info); }
.check-card .law { font-size: 12px; color: var(--muted); margin-top: 4px; }
.suggest { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.12); z-index: 30; max-height: 340px; overflow-y: auto; }
.suggest div { padding: 9px 12px; cursor: pointer; border-bottom: 1px solid #f0f2f6; }
.suggest div:hover, .suggest div.on { background: var(--brand-soft); }
.collect-total { font-size: 26px; font-weight: 750; color: var(--brand); font-variant-numeric: tabular-nums; }
.auth { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: radial-gradient(circle at 20% 10%, #2b4fc4 0, #111b3d 55%); }
.auth .card { width: 100%; max-width: 440px; padding: 28px; }
.auth .brand { color: var(--text); padding: 0 0 18px; }
.auth .brand span { color: var(--muted); }
.matrix input { width: 96px; text-align: right; }
.matrix td.hl input { border-color: var(--warn); background: var(--warn-soft); }

/* academics */
.att { display: inline-flex; border: 1px solid #cdd3df; border-radius: 8px; overflow: hidden; }
.att button { font: inherit; font-weight: 700; font-size: 13px; width: 36px; height: 32px; border: 0; border-right: 1px solid #e3e7ef; background: #fff; color: var(--muted); cursor: pointer; }
.att button:last-child { border-right: 0; }
.att button:disabled { cursor: default; }
.att button.on.P { background: var(--ok); color: #fff; }
.att button.on.A { background: var(--bad); color: #fff; }
.att button.on.L { background: var(--accent); color: #fff; }
.att button.on.H { background: var(--info); color: #fff; }
.marks input { width: 72px; text-align: right; }
.marks input.invalid { border-color: var(--bad); background: var(--bad-soft); }
.marks input.low { color: var(--bad); font-weight: 700; }
table.reg-grid th, table.reg-grid td { padding: 5px 4px; text-align: center; font-size: 12px; }
table.reg-grid td:first-child, table.reg-grid th:first-child { text-align: left; position: sticky; left: 0; background: var(--surface); }
table.reg-grid .off { background: #f0f2f7; }
table.reg-grid td.A { color: var(--bad); font-weight: 700; }
table.reg-grid td.L { color: var(--warn); font-weight: 700; }
table.reg-grid td.H { color: var(--info); font-weight: 700; }
table.tt-grid th, table.tt-grid td { text-align: center; min-width: 96px; border: 1px solid #eef0f5; }
table.tt-grid td { height: 58px; }
table.tt-grid td.brk { background: repeating-linear-gradient(45deg, #f6f7fb, #f6f7fb 6px, #eef0f5 6px, #eef0f5 12px); min-width: 24px; }
table.tt-grid td.slot { cursor: pointer; }
table.tt-grid td.slot:hover { background: var(--brand-soft); }

@media (max-width: 1100px) {
  .g-main, .g3 { grid-template-columns: 1fr; }
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 250px; z-index: 60; transform: translateX(-100%); transition: transform .2s; }
  .shell.nav-open .sidebar { transform: none; }
  .topbar { padding: 0 16px; }
  .topbar .menu-btn { display: inline-flex; }
  .topbar .school { display: none; }
  .content { padding: 16px; }
  .g2 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form .span2 { grid-column: auto; }
  .filters input[type=search] { min-width: 0; width: 100%; }
}
@media print {
  .sidebar, .topbar, .actions, .filters, .tabs, .btn, #toasts { display: none !important; }
  .shell { display: block; }
  body { background: #fff; }
  .card { box-shadow: none; border: 0; }
  .content { padding: 0; }
}

/* ---------- public landing page and sign-in ---------- */
.btn.lg { padding: 11px 18px; font-size: 14.5px; border-radius: 9px; }
.btn.accent:hover { background: #d95a12; border-color: #d95a12; }
.btn.ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.16); }
.lp { background: var(--surface); color: var(--text); font-size: 15px; overflow-x: hidden; }
.lp-in { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.lp h1, .lp h2 { letter-spacing: -.02em; }
.lp-logo { display: flex; align-items: center; gap: 10px; color: inherit; }
.lp-logo:hover { text-decoration: none; }
.lp-logo .logo { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), #ffb35c); display: grid; place-items: center; font-weight: 800; color: #fff; }
.lp-logo b { display: block; font-size: 17px; letter-spacing: .04em; line-height: 1.1; }
.lp-logo small { display: block; font-size: 11.5px; opacity: .7; }
.lp-nav { position: sticky; top: 0; z-index: 30; background: rgba(17,27,61,.92); backdrop-filter: saturate(1.4) blur(10px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.lp-nav .lp-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.lp-links { display: flex; gap: 22px; margin-left: auto; }
.lp-links a { color: #c9d2ee; font-weight: 500; font-size: 14px; }
.lp-links a:hover { color: #fff; text-decoration: none; }
.lp-hero { background: radial-gradient(1000px 520px at 85% 0%, rgba(43,79,196,.75), transparent 65%), radial-gradient(700px 420px at 0% 100%, rgba(242,107,29,.22), transparent 60%), var(--sidebar); color: #fff; padding: 64px 0 80px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.lp-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffb35c; margin-bottom: 14px; }
.lp-eyebrow.dark { color: var(--accent); }
.lp-hero h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 750; line-height: 1.08; margin-bottom: 18px; }
.lp-lead { font-size: 17.5px; line-height: 1.6; color: #c9d2ee; max-width: 560px; margin: 0 0 28px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-cta svg { width: 18px; height: 18px; }
.lp-ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: #c9d2ee; font-size: 14.5px; }
.lp-ticks li { display: flex; gap: 10px; align-items: center; }
.lp-ticks svg { width: 18px; height: 18px; color: #6ee7a8; flex: none; }
.lp-login { padding: 26px; color: var(--text); border: 0; border-radius: 16px; box-shadow: 0 24px 60px rgba(4,10,30,.45); scroll-margin-top: 90px; }
.lp-login-head b { display: block; font-size: 20px; letter-spacing: -.01em; }
.lp-login-head span { color: var(--muted); font-size: 13.5px; }
.lp-seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 4px; margin: 18px 0; }
.lp-seg button { font: inherit; font-weight: 600; font-size: 13.5px; border: 0; background: none; padding: 8px; border-radius: 7px; color: var(--muted); cursor: pointer; }
.lp-seg button.on { background: var(--surface); color: var(--brand); box-shadow: var(--shadow); }
.lp-pw { position: relative; display: block; }
.lp-pw input { width: 100%; padding-right: 64px; }
.lp-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--brand-2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 4px 8px; }
.lp-login-foot { border-top: 1px solid var(--border); margin-top: 18px; padding-top: 14px; text-align: center; font-size: 13px; }
.lp-strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.lp-strip .lp-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.lp-strip b { display: block; font-size: 26px; font-weight: 750; color: var(--brand); }
.lp-strip span { color: var(--muted); font-size: 13.5px; }
.lp-sec { padding: 84px 0; }
.lp-sec.alt { background: var(--bg); }
.lp-sec-head { max-width: 680px; margin-bottom: 44px; }
.lp-sec-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 720; line-height: 1.15; }
.lp-sec-head p { color: var(--muted); font-size: 16px; margin: 14px 0 0; }
.lp h3 { font-size: 16px; }
.lp p { line-height: 1.6; }
.lp-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-feat-copy { display: grid; gap: 22px; }
.lp-point { display: flex; gap: 14px; }
.lp-point > span { width: 32px; height: 32px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; flex: none; }
.lp-point > span svg { width: 17px; height: 17px; }
.lp-point p { margin: 4px 0 0; color: var(--muted); }
.lp-mock { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(16,24,40,.12); overflow: hidden; }
.lp-mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--sidebar); color: #97a3cc; font-size: 12px; }
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); }
.lp-mock-bar span { margin-left: 8px; }
.lp-mock-body { padding: 18px; display: grid; gap: 16px; }
.lp-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-mock-kpis div { border: 1px solid var(--border); border-top: 3px solid var(--brand-2); border-radius: 8px; padding: 10px; min-width: 0; }
.lp-mock-kpis div.bad { border-top-color: var(--bad); }
.lp-mock-kpis small { display: block; color: var(--muted); font-size: 11px; }
.lp-mock-kpis b { font-size: 15px; font-variant-numeric: tabular-nums; }
.lp-mock-chart { height: 120px; display: flex; align-items: flex-end; gap: 6px; padding: 10px; background: var(--surface-2); border-radius: 8px; }
.lp-mock-chart i { flex: 1; background: #c4d0f3; border-radius: 4px 4px 0 0; }
.lp-mock-chart i.on { background: var(--brand-2); }
.lp-mock-rows { display: grid; gap: 6px; font-size: 13px; }
.lp-mock-rows div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; }
.lp-mock-rows em { font-style: normal; font-weight: 600; font-size: 12px; padding: 1px 8px; border-radius: 10px; white-space: nowrap; }
.lp-mock-rows em.ok { background: var(--ok-soft); color: var(--ok); }
.lp-mock-rows em.warn { background: var(--warn-soft); color: var(--warn); }
.lp-mock-rows em.bad { background: var(--bad-soft); color: var(--bad); }
.lp-mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-mod { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; transition: transform .15s, box-shadow .15s; }
.lp-mod:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16,24,40,.08); }
.lp-mod p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.lp-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-2); display: grid; place-items: center; margin-bottom: 14px; }
.lp-ic svg { width: 22px; height: 22px; }
.lp-india { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.lp-ind { display: flex; gap: 14px; }
.lp-ind > svg { width: 26px; height: 26px; color: var(--accent); flex: none; margin-top: 2px; }
.lp-ind p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.lp-steps li > span { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-2); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 14px; }
.lp-steps p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.lp-final { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; padding: 56px 0; }
.lp-final .lp-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lp-final h2 { font-size: 28px; }
.lp-final p { color: #dbe3fb; margin: 8px 0 0; max-width: 560px; }
.lp-foot { background: var(--sidebar); color: #97a3cc; font-size: 13px; padding: 22px 0; }
.lp-foot .lp-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-foot a { color: #c9d2ee; }

/* two-panel sign-in (super admin) */
.auth2 { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, .9fr) 1.1fr; background: var(--surface); }
.auth2-side { background: radial-gradient(700px 500px at 100% 0%, rgba(43,79,196,.7), transparent 65%), var(--sidebar); color: #fff; padding: 36px 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.auth2-side h1 { font-size: 30px; font-weight: 720; letter-spacing: -.02em; margin-bottom: 12px; }
.auth2-side p { color: #c9d2ee; font-size: 15.5px; line-height: 1.6; max-width: 420px; margin: 0; }
.auth2-side > small { color: #7381b3; }
.auth2-main { display: grid; place-items: center; padding: 40px 24px; background: var(--bg); }
.auth2-main .card { width: 100%; max-width: 460px; padding: 30px; border-radius: 16px; box-shadow: 0 16px 40px rgba(16,24,40,.08); }
.auth2-main .card.wide { max-width: 540px; }
.auth2-head { margin-bottom: 20px; }
.auth2-head b { display: block; font-size: 21px; letter-spacing: -.01em; }
.auth2-head span { color: var(--muted); font-size: 13.5px; }

@media (max-width: 980px) {
  .lp-hero-grid, .lp-feat { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero { padding: 44px 0 56px; }
  .lp-login { max-width: 480px; }
  .lp-mods, .lp-india, .lp-steps, .lp-strip .lp-in { grid-template-columns: repeat(2, 1fr); }
  .auth2 { grid-template-columns: 1fr; }
  .auth2-side { padding: 24px; gap: 18px; }
  .auth2-side .lp-ticks, .auth2-side > small { display: none; }
  .auth2-side h1 { font-size: 22px; }
}
@media (max-width: 640px) {
  .lp-in { padding: 0 16px; }
  .lp-links { display: none; }
  .lp-nav .lp-in { justify-content: space-between; }
  .lp-sec { padding: 56px 0; }
  .lp-mods, .lp-india, .lp-steps { grid-template-columns: 1fr; }
  .lp-login { padding: 20px; }
  .lp-cta .btn { flex: 1 1 100%; justify-content: center; }
  .lp-mock-kpis b { font-size: 13px; }
  .auth2-main { padding: 24px 16px; }
  .auth2-main .card { padding: 22px; }
}
