:root {
  --navy: #071a3d;
  --navy-2: #0c2454;
  --ink: #12203a;
  --muted: #64748b;
  --line: #e6edf5;
  --bg: #f4f7fb;
  --gold: #f5b400;
  --gold-2: #e3a400;
  --blue: #2563eb;
  --green: #16a34a;
  --card: #ffffff;
  --shadow: 0 16px 40px rgba(15, 35, 75, .08);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Poppins, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg, #fff); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header, #fff); border-bottom: 1px solid #eef2f7; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; min-height: 74px; height: 74px; gap: 18px; padding: 0; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: none; }
.brand-mark { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 16px; color: var(--navy); }
.brand-text em { font-style: normal; color: var(--gold-2); font-weight: 700; font-size: 13px; }
.nav { display: flex; align-items: center; justify-content: center; gap: 18px; flex: 1; min-width: 0; min-height: 0; }
.nav a { color: #334155; font-weight: 600; font-size: 14px; white-space: nowrap; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a.active { color: var(--navy); border-bottom-color: var(--gold, #f5b400); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.header-actions .btn { padding: 10px 14px; white-space: nowrap; }
.nav-toggle { display: none; border: 0; background: var(--navy); color: #fff; border-radius: 10px; padding: 8px 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; border-radius: 999px; padding: 12px 22px; font-weight: 600; transition: .2s ease; }
.btn:disabled { opacity: .65; cursor: not-allowed; }
.btn-navy { background: var(--navy-2); color: #fff; }
.btn-gold { background: var(--gold); color: #1f2937; }
.btn-gold:hover { background: #ffc21a; }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid #d5deea; }
.btn-blue { background: var(--blue); color: #fff; border-radius: 12px; }
.btn-green { background: #22c55e; color: #fff; border-radius: 14px; min-width: 140px; }
.btn-red { background: #ef4444; color: #fff; border-radius: 14px; min-width: 140px; }
.btn-light { background: #eef2ff; color: var(--navy); border-radius: 12px; }
.btn-danger { background: #ef4444; color: #fff; border-radius: 12px; }
.hero { background: linear-gradient(180deg, #f8fbff 0%, #fff 100%); padding: 42px 0 20px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.kicker { color: var(--brand, var(--blue)); font-weight: 700; letter-spacing: .04em; font-size: 13px; text-transform: uppercase; }
h1, h2, h3, h4 { margin: 0 0 12px; color: var(--navy); }
.hero h1 { font-size: 58px; line-height: 1.05; letter-spacing: -1px; }
.hero h1 span, .accent-text { color: var(--accent, #f0a202); }
.btn-navy, .btn-blue { background: var(--brand, var(--navy-2)); }
.btn-gold, .nav-badge { background: var(--accent, var(--gold)); color: #1f2937; }
.tpl-modern .hero { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 10%, white), var(--bg)); text-align: center; }
.tpl-modern .hero-grid { grid-template-columns: 1fr; }
.tpl-modern .lede, .tpl-modern .hero-actions { margin-left: auto; margin-right: auto; justify-content: center; }
.tpl-modern .site-header { border-bottom: 4px solid var(--accent); }
.tpl-modern .plan { border-radius: 28px; }
.tpl-campus .hero-grid { direction: rtl; }
.tpl-campus .hero-grid > * { direction: ltr; }
.tpl-campus h1, .tpl-campus h2 { font-family: Georgia, "Times New Roman", serif; }
.tpl-campus .btn { border-radius: 8px; }
.tpl-campus .hero { background: var(--bg); }
.tpl-midnight .hero, .tpl-midnight .section.alt { background: var(--bg); }
.tpl-midnight .nav a, .tpl-midnight .brand-text strong, .tpl-midnight h1, .tpl-midnight h2, .tpl-midnight h3, .tpl-midnight .price, .tpl-midnight .stat b { color: #fff; }
.tpl-midnight .card, .tpl-midnight .panel, .tpl-midnight .plan, .tpl-midnight .feature, .tpl-midnight .stat, .tpl-midnight .facility, .tpl-midnight .metric, .tpl-midnight .topbar, .tpl-midnight .auth-card { background: var(--card); color: var(--ink); border-color: #243049; }
.tpl-midnight .muted, .tpl-midnight .lede, .tpl-midnight .nav a, .tpl-midnight .tagline { color: var(--muted); }
.tpl-midnight input, .tpl-midnight select, .tpl-midnight textarea, .tpl-midnight th { background: #0f172a; color: #e5e7eb; border-color: #243049; }
.tpl-midnight td { color: #e5e7eb; border-color: #243049; }
.tpl-midnight .field label { color: #cbd5e1; }
.template-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0 16px; }
.template-card { border: 2px solid #e6edf5; border-radius: 14px; padding: 10px; text-align: center; cursor: pointer; background: #fff; color: #12203a; display: grid; gap: 6px; }
.template-card input { justify-self: center; }
.template-card strong, .template-card small { display: block; }
.template-card small { color: #64748b; font-size: 12px; }
.template-card:has(input:checked) { border-color: #0c2454; box-shadow: 0 0 0 3px rgba(12, 36, 84, .15); }
.preview-chrome { display: flex; gap: 4px; padding: 6px 8px; border-radius: 8px 8px 0 0; }
.preview-chrome i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.7); display: block; }
.preview-hero { height: 36px; border-radius: 0 0 8px 8px; margin-bottom: 4px; }
.preview-classic .preview-chrome { background: #0c2454; }
.preview-classic .preview-hero { background: linear-gradient(90deg, #0c2454, #f5b400); }
.preview-modern .preview-chrome { background: #1d4ed8; }
.preview-modern .preview-hero { background: linear-gradient(90deg, #1d4ed8, #06b6d4); }
.preview-campus .preview-chrome { background: #0f766e; }
.preview-campus .preview-hero { background: linear-gradient(90deg, #0f766e, #f59e0b); }
.preview-midnight .preview-chrome, .preview-midnight { background: #111827; color: #fff; }
.preview-midnight .preview-hero { background: linear-gradient(90deg, #6d28d9, #f472b6); }
.preview-midnight small { color: #cbd5e1; }
.logo-preview { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; margin-top: 8px; }
.brand-mark { width: 44px; height: 44px; object-fit: cover; border-radius: 12px; }
.class-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.recording { width: 100%; height: 220px; border: 0; border-radius: 12px; margin-top: 8px; }
.q-card { margin-bottom: 12px; }
.option-list { display: grid; gap: 8px; }
.option-list label { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line, #e6edf5); border-radius: 12px; padding: 10px 12px; background: var(--bg, #f8fafc); cursor: pointer; }
.exam-timer { font-size: 28px; color: var(--brand, #0c2454); }
.option-right { color: #15803d; font-weight: 700; }
.option-wrong { color: #b91c1c; }
@media (max-width: 800px) {
  .template-grid, .class-grid { grid-template-columns: 1fr; }
}
.tagline { color: #475569; font-weight: 600; margin-bottom: 10px; }
.lede { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 420px; border-radius: 28px; overflow: hidden; background: #071833; box-shadow: var(--shadow); }
.hero-visual img { width: 100%; height: 420px; object-fit: cover; }
.platform-banner-slide { display: none; position: relative; min-height: 420px; }
.platform-banner-slide.active { display: block; }
.platform-banner-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 22px 54px; color: #fff; background: linear-gradient(transparent, rgba(7, 18, 40, .9)); }
.platform-banner-copy strong { display: block; font-size: 26px; line-height: 1.2; }
.platform-banner-copy p { margin: 6px 0 0; color: #e8eef8; }
.platform-banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: #0c2454; font-size: 26px; cursor: pointer; z-index: 2; }
.platform-banner-arrow.prev { left: 14px; }
.platform-banner-arrow.next { right: 14px; }
.platform-banner-dots { position: absolute; left: 22px; bottom: 16px; display: flex; gap: 6px; z-index: 2; }
.platform-banner-dots button { width: 8px; height: 8px; border: 0; border-radius: 99px; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.platform-banner-dots button.active { width: 22px; background: #f5b400; }
.platform-banner .hero-badge { z-index: 3; }
.platform-banner-scene { min-height: 420px; padding: 22px 22px 72px; display: flex; flex-direction: column; gap: 14px; color: #fff; background: radial-gradient(circle at 12% 18%, #f5b400 0%, transparent 36%), linear-gradient(155deg, #1d4ed8, #0c2454 46%, #071833); }
.scene-bar { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 10px 12px; }
.scene-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.7); }
.scene-bar span:first-child { background: #f5b400; }
.scene-bar strong { margin-left: 6px; font-size: 14px; }
.scene-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.scene-metrics div { background: #fff; color: #0c2454; border-radius: 16px; padding: 14px 12px; }
.scene-metrics small { display: block; color: #64748b; font-size: 12px; }
.scene-metrics strong { font-size: 22px; }
.scene-panel { background: rgba(255,255,255,.1); border-radius: 16px; padding: 16px; display: grid; gap: 10px; }
.scene-line { height: 12px; border-radius: 99px; background: rgba(255,255,255,.28); width: 78%; }
.scene-line.wide { width: 100%; background: rgba(245,180,0,.85); }
.scene-line.short { width: 46%; }
.scene-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.scene-pills span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.hero-badge { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.94); border-radius: 16px; padding: 12px 14px; font-size: 13px; font-weight: 600; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 10px auto 50px; }
.review-slider { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.review-window { overflow: hidden; }
.review-track { display: flex; width: 100%; transition: transform .45s ease; }
.review-card { flex: 0 0 100%; box-sizing: border-box; background: #fff; border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.review-card p { font-size: 18px; line-height: 1.6; }
.review-stars { color: #f5b400; letter-spacing: 2px; font-size: 18px; }
.review-nav { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy, #0c2454); color: #fff; font-size: 28px; cursor: pointer; }
.review-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.review-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #cbd5e1; cursor: pointer; }
.review-dots button.active { background: var(--navy, #0c2454); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 14px; text-align: center; box-shadow: 0 8px 24px rgba(15,35,75,.04); }
.feature svg { width: 42px; height: 42px; margin: 0 auto 8px; }
.feature strong { display: block; font-size: 14px; }
.section { padding: 34px 0 64px; }
.section.alt { background: var(--bg); }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 22px; }
.section-head p, .muted { color: var(--muted); line-height: 1.7; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; }
.photo-frame { border-radius: 24px; overflow: hidden; min-height: 280px; background: linear-gradient(135deg, #0c2454, #2563eb); box-shadow: var(--shadow); }
.photo-frame img { width: 100%; height: 360px; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-weight: 500; }
.checks i { width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-style: normal; flex: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.stat { background: #fff; border-radius: 16px; padding: 18px; border: 1px solid var(--line); }
.stat b { display: block; font-size: 26px; color: var(--navy); }
.stat span { color: var(--muted); font-size: 13px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.facility { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.facility img { height: 170px; width: 100%; object-fit: cover; background: #dbe7ff; }
.facility div { padding: 16px 16px 18px; }
.facility p { color: var(--muted); margin: 0; font-size: 14px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plans .card { display: flex; flex-direction: column; }
.plans .card .btn { margin-top: auto; align-self: flex-start; }
.login-popup { position: fixed; inset: 0; z-index: 80; background: rgba(7, 18, 40, .55); display: grid; place-items: center; padding: 20px; }
.login-popup-card { width: min(520px, 100%); background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.login-details { margin: 14px 0 18px; display: grid; gap: 10px; }
.login-details div { display: grid; gap: 2px; }
.login-details dt { font-size: 12px; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.login-details dd { margin: 0; font-weight: 700; word-break: break-word; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; position: relative; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.popular { border: 2px solid var(--gold); transform: translateY(-6px); }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #1f2937; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
.plan h3 { font-size: 18px; }
.price { font-size: 32px; font-weight: 800; color: var(--navy); }
.price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.plan ul { padding-left: 18px; color: #334155; flex: 1; }
.plan li { margin: 8px 0; }
.trial-banner { margin-top: 22px; background: linear-gradient(90deg, #fff7d6, #fff); border: 1px solid #f6e3a1; border-radius: 18px; padding: 16px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.form-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); }
.panel h2 { font-size: 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: #334155; }
.req { color: #ef4444; }
input, select, textarea { width: 100%; border: 1px solid #dbe3ee; background: #f8fafc; border-radius: 12px; padding: 12px 12px; font-size: 14px; color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
.radios, .plan-picks { display: flex; flex-direction: column; gap: 8px; }
.choice { display: flex; gap: 8px; align-items: center; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; }
.gender { display: flex; gap: 14px; }
.field-error, .form-error { color: #b91c1c; font-size: 12px; margin: 4px 0 0; }
.success-wrap { min-height: 68vh; display: grid; place-items: center; background: linear-gradient(#f8fbff, #fff); padding: 40px 16px; }
.success-card { width: min(560px, 100%); background: #fff; border-radius: 28px; padding: 34px 28px; text-align: center; box-shadow: var(--shadow); }
.check { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 12px; background: #22c55e; color: #fff; display: grid; place-items: center; font-size: 36px; }
.sid { display: inline-block; margin: 8px 0 16px; background: #e0ecff; color: #1d4ed8; font-weight: 800; border-radius: 999px; padding: 6px 14px; letter-spacing: .04em; }
.detail-list { text-align: left; background: #f8fafc; border-radius: 16px; padding: 8px 14px; }
.detail-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e8eef5; }
.detail-list div:last-child { border-bottom: 0; }
.pill { border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; display: inline-flex; }
.pill.trial { background: #ffedd5; color: #c2410c; }
.pill.active, .pill.present, .pill.completed, .pill.paid { background: #dcfce7; color: #15803d; }
.pill.expired, .pill.pending { background: #fee2e2; color: #b91c1c; }
.pill.suspended { background: #e2e8f0; color: #475569; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.info-row { display: flex; gap: 10px; margin: 12px 0; }
.info-row span { width: 36px; height: 36px; border-radius: 10px; background: #e0ecff; display: grid; place-items: center; flex: none; }
.map { height: 280px; border: 0; border-radius: 18px; width: 100%; background: #e2e8f0; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; border-radius: 18px; overflow: hidden; background: #0c2454; position: relative; min-height: 180px; }
.gallery img { height: 190px; width: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(7,26,61,.8); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.site-footer { background: var(--navy); color: #dbe7ff; padding: 36px 0 16px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr .9fr; gap: 24px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer a { color: #dbe7ff; }
.site-footer .brand-text strong, .sidebar .brand-text strong { color: #fff; }
.site-footer h4 { color: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 18px; padding-top: 12px; font-size: 13px; color: #94a3b8; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.copy a { text-decoration: underline; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--navy, #0c2454); color: #fff; box-shadow: 0 10px 24px rgba(12, 36, 84, .28); cursor: pointer; display: none; place-items: center; }
body:has(.wa-robot) .to-top { bottom: 96px; }
.wa-robot { position: fixed; right: 22px; bottom: 22px; z-index: 46; }
.wa-robot-btn { width: 64px; height: 64px; border: 0; border-radius: 20px; background: #128c4a; box-shadow: 0 12px 28px rgba(18, 140, 70, .35); cursor: pointer; display: grid; place-items: center; }
.wa-face { width: 34px; height: 30px; border-radius: 12px; background: #fff; position: relative; display: block; }
.wa-face::before { content: ""; position: absolute; left: 8px; right: 8px; top: 9px; height: 6px; background: radial-gradient(circle, #0c2454 2.5px, transparent 3px) left center / 12px 6px no-repeat, radial-gradient(circle, #0c2454 2.5px, transparent 3px) right center / 12px 6px no-repeat; }
.wa-face::after { content: ""; position: absolute; left: 50%; top: -10px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #f5b400; box-shadow: 0 6px 0 -1px #fff; }
.wa-robot-card { position: absolute; right: 0; bottom: 76px; width: 280px; background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.wa-robot-card[hidden] { display: none; }
.wa-robot-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.wa-robot-card .wa-face { width: 40px; height: 34px; flex: none; }
.wa-robot-card p { margin: 0 0 12px; color: #334155; }
.wa-robot-close { position: absolute; top: 8px; right: 8px; border: 0; background: transparent; font-size: 22px; cursor: pointer; color: #64748b; }
.to-top.show { display: grid; }
.to-top svg { width: 22px; height: 22px; fill: currentColor; }
.admin-foot { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 14px 20px 18px; color: #64748b; font-size: 13px; }
.admin-foot a { color: var(--navy, #0c2454); font-weight: 700; }
.banner-slider { position: relative; width: 100%; margin: 0; border-radius: 0; overflow: hidden; background: #071833; min-height: 560px; }
.banner-slide { display: none; position: relative; min-height: 560px; }
.banner-slide.active { display: block; }
.banner-slide img { width: 100%; height: 560px; object-fit: cover; object-position: center 28%; }
.banner-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 72px 9vw 96px; color: #fff; background: linear-gradient(90deg, rgba(7, 18, 40, .9) 0%, rgba(7, 18, 40, .62) 38%, rgba(7, 18, 40, .12) 68%, transparent 100%); }
.banner-kicker { color: var(--gold, #f5b400); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.banner-copy h2 { color: #fff; margin: 12px 0 14px; font-size: 58px; line-height: 1.08; max-width: 760px; }
.banner-copy p { margin: 0 0 22px; max-width: 520px; font-size: 18px; color: #e8eef8; }
.banner-arrow { position: absolute; bottom: 28px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: #0c2454; font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; }
.banner-arrow.prev { right: 92px; }
.banner-arrow.next { right: 32px; }
.banner-dots { position: absolute; left: 9vw; bottom: 36px; display: flex; gap: 8px; z-index: 2; }
.banner-dots button { width: 9px; height: 9px; border: 0; border-radius: 99px; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.banner-dots button.active { width: 28px; background: var(--gold, #f5b400); }
.page-banner { position: relative; min-height: 210px; display: flex; align-items: flex-end; background-color: #0c2454; background-size: cover; background-position: center; color: #fff; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 18, 40, .88) 0%, rgba(7, 18, 40, .62) 48%, rgba(7, 18, 40, .28) 100%); }
.page-banner-inner { position: relative; padding: 42px 0 28px; }
.page-banner h1 { color: #fff; font-size: 40px; line-height: 1.1; margin: 6px 0 8px; }
.page-banner p { margin: 0; max-width: 640px; color: #e8eef8; font-size: 16px; }
.page-banner .banner-kicker { color: var(--gold, #f5b400); }
.series-list { display: grid; gap: 14px; }
.series-card { padding: 18px; }
.series-head, .series-test { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.series-tests { display: grid; gap: 10px; margin-top: 12px; }
.series-test { background: #f8fafc; border-radius: 14px; padding: 12px; }
.choice-grid { display: grid; gap: 8px; }
.perm-wrap { max-height: 280px; overflow: auto; border: 1px solid #e6edf5; border-radius: 14px; }
.perm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.perm-table th, .perm-table td { padding: 9px 12px; border-bottom: 1px solid #eef2f7; text-align: center; }
.perm-table th:first-child, .perm-table td:first-child { text-align: left; font-weight: 600; }
.perm-table thead th { position: sticky; top: 0; background: #f8fafc; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #64748b; }
.perm-table input { width: 16px; height: 16px; }
.perm-summary { font-size: 12px; color: #475569; max-width: 280px; }
.mode-switch { display: flex; gap: 8px; margin-bottom: 14px; }
.mode-switch button { border: 1px solid #dbe3ee; background: #fff; border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 600; }
.mode-switch button.active { background: var(--navy, #0c2454); color: #fff; border-color: transparent; }
.attend-panel { display: none; }
.attend-panel.active { display: block; }
.qr-box { width: 180px; margin: 10px auto; }
.qr-box img, .qr-box canvas { margin: 0 auto; }
.scan-stage { background: #0b1220; border-radius: 18px; overflow: hidden; min-height: 280px; display: grid; place-items: center; position: relative; }
.scan-stage video { width: 100%; max-height: 360px; object-fit: cover; }
.scan-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.auth-body { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at top, var(--brand, #16356d), #061228 55%); padding: 24px; }
.auth-card { width: min(420px, 100%); background: #fff; border-radius: 24px; padding: 28px 24px; box-shadow: var(--shadow); position: relative; }
.auth-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: #eef2f7; color: var(--navy, #0c2454); display: grid; place-items: center; font-size: 24px; line-height: 1; }
.auth-card h1 { text-align: center; font-size: 26px; }
.auth-card .brand { justify-content: center; margin-bottom: 8px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.admin-body { margin: 0; background: var(--bg, #eef3f9); min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.sidebar { background: var(--sidebar, var(--brand, #071833)); color: #d6e2f5; padding: 18px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.side-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; overflow-y: auto; min-height: 0; flex: 1; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.5) transparent; }
.side-nav::-webkit-scrollbar { width: 8px; }
.side-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.45); border-radius: 8px; }
.side-nav a { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 12px; color: #d6e2f5; font-weight: 500; }
.side-nav a.active, .side-nav a:hover { background: var(--sidebar-active, #12305f); color: #fff; }
.admin-main { min-width: 0; }
.topbar { height: 70px; background: var(--card, #fff); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; gap: 12px; border-bottom: 4px solid var(--accent, #e6edf5); position: sticky; top: 0; z-index: 20; }
.search { position: relative; flex: 1; max-width: 420px; }
.search input { background: #f8fafc; }
.search-results { position: absolute; top: 48px; left: 0; right: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow); display: none; overflow: hidden; z-index: 30; }
.search-results a { display: block; padding: 10px 12px; border-bottom: 1px solid #f1f5f9; }
.who { display: flex; align-items: center; gap: 10px; }
.who img { width: 38px; height: 38px; border-radius: 50%; }
.content { padding: 20px; }
.page-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric { background: var(--card, #fff); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); border-top: 4px solid var(--accent, transparent); }
.metric span { color: var(--muted); font-size: 13px; }
.metric strong { display: block; font-size: 28px; margin-top: 4px; }
.metric em { font-style: normal; font-size: 12px; color: var(--green); }
.charts { display: grid; grid-template-columns: 1.3fr .7fr; gap: 14px; margin-top: 14px; }
.card { background: var(--card, #fff); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.donut-wrap { position: relative; height: 240px; }
.donut-center { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: var(--navy); pointer-events: none; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #eef2f7; font-size: 14px; vertical-align: middle; }
th { color: #64748b; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.person { display: flex; align-items: center; gap: 8px; }
.person img, .avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #dbe7ff; }
.list-edit summary { cursor: pointer; color: var(--navy, #0c2454); font-weight: 700; width: fit-content; }
.list-edit form { margin-top: 10px; }
.list-thumb { width: 160px; height: 72px; object-fit: cover; border-radius: 10px; margin-top: 8px; }
.tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tools input, .tools select { width: auto; min-width: 160px; }
.icon-btn { width: 32px; height: 32px; border-radius: 8px; border: 0; cursor: pointer; background: #eef2ff; color: #1e3a8a; }
.icon-btn.danger { background: #fee2e2; color: #b91c1c; }
.pager { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.attendance-layout { display: grid; grid-template-columns: 340px 1fr; gap: 14px; }
.student-card { text-align: center; padding: 12px; }
.student-card img { width: 92px; height: 92px; border-radius: 50%; margin: 8px auto; object-fit: cover; }
.action-row { display: flex; gap: 8px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.slot-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; text-align: left; }
.slot-form .field { margin: 0; }
.slot-form .btn { grid-column: 1 / -1; }
.hour-box { margin-top: 12px; background: #f8fafc; border-radius: 12px; padding: 10px 12px; text-align: left; }
.hour-box strong { display: block; font-size: 22px; color: #7c2d12; }
.slot-line { display: flex; gap: 6px; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #eef2f7; font-size: 13px; }
.slot-line:last-child { border-bottom: 0; }
.lookup-list button { width: 100%; text-align: left; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 8px; margin-top: 8px; cursor: pointer; }
.modal { position: fixed; inset: 0; background: rgba(7, 18, 40, .55); display: none; align-items: center; justify-content: center; padding: 18px; z-index: 50; }
.modal.open { display: flex; }
.modal-card { width: min(720px, 100%); background: #fff; border-radius: 20px; padding: 18px; max-height: min(90vh, 860px); overflow: auto; position: relative; }
.modal-close { position: absolute; right: 12px; top: 10px; border: 0; background: #f1f5f9; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.toast { position: fixed; right: 16px; bottom: 16px; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 12px; display: none; z-index: 70; max-width: 320px; }
.toast.show { display: block; }
.legend { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.slip { width: min(680px, 100%); margin: 30px auto; background: #fff; border: 1px dashed #94a3b8; border-radius: 18px; padding: 24px; }
.alert-banner { border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.impersonate-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.alert-banner.danger, .vacancy-expired { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-banner.warn { background: #ffedd5; color: #9a3412; border: 1px solid #fdba74; }
.row-alert { background: #fff1f2; }
.due { color: #b91c1c; }
.nav-badge { background: #f5b400; color: #1f2937; border-radius: 999px; padding: 1px 7px; font-size: 12px; margin-left: 6px; }
.nav-badge.new { background: #ef4444; color: #fff; }
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.book-card { background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--shadow); }
.book-cover { height: 92px; border-radius: 12px; background: var(--brand, #0c2454); color: var(--accent, #f5b400); display: grid; place-items: center; font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.add-cart, .add-store-cart { display: flex; gap: 8px; align-items: center; }
.pay-options { display: grid; gap: 8px; margin: 14px 0; }
.pay-options label { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line, #e6edf5); border-radius: 12px; padding: 10px 12px; }
.add-cart input { width: 72px; }
.notice-line, .notice-card { padding: 8px 0; }
.notice-card.unread { border: 1px solid #f5b400; }
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sidebar .brand-text strong { color: #fff; }
@media (max-width: 980px) {
  .book-grid { grid-template-columns: 1fr 1fr; }
}
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
}
@media (max-width: 980px) {
  .hero h1 { font-size: 40px; }
  .hero-grid, .split, .form-grid, .contact-grid, .charts, .attendance-layout, .footer-grid { grid-template-columns: 1fr; }
  .features, .plans, .stats, .cards, .gallery, .stat-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--header, #fff); flex-direction: column; align-items: flex-start; padding: 12px 18px 16px; border-bottom: 1px solid var(--line); min-height: 0; gap: 4px; flex: none; }
  .page-banner h1 { font-size: 30px; }
  .banner-copy { padding: 36px 24px 84px; }
  .banner-copy h2 { font-size: 34px; }
  .banner-slide, .banner-slider { min-height: 420px; }
  .banner-slide img { height: 420px; }
  .banner-dots { left: 24px; }
  .nav.open { display: flex; }
  .admin-body { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; overflow: visible; }
  .side-nav { overflow: visible; }
  .fields { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .features, .plans, .stats, .cards, .gallery, .stat-grid { grid-template-columns: 1fr; }
  .header-actions .btn-navy span { display: none; }
}
.print-body { margin: 0; background: #eef3f9; padding: 18px; }
.id-sheet { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.id-tools { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.select2-container { width: 100% !important; }
.select2-container .select2-selection--multiple { min-height: 46px; border: 1px solid #e2e8f0; border-radius: 12px; padding: 4px; }
.select2-container .select2-search__field { margin-top: 6px !important; }
.id-picks { display: flex; gap: 8px; flex-wrap: wrap; }
.id-pick { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e2e8f0; background: #fff; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.id-pick.active, .id-pick:has(input:checked) { border-color: var(--brand, #0c2454); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand, #0c2454) 25%, transparent); }
.id-pick input { margin: 0; }
.swatch { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.swatch.design-sunrise { background: #f97316; }
.swatch.design-midnight { background: #0f172a; }
.swatch.design-ruby { background: #dc2626; }
.swatch.design-pastel { background: linear-gradient(135deg, #f9a8d4, #c4b5fd); }
.swatch.design-golden { background: linear-gradient(135deg, #f6e7c1, #e39b3a); }
.swatch.design-azure { background: #2563eb; }
.id-card { width: 280px; min-height: 460px; background: #fff; color: #111827; box-shadow: 0 10px 28px rgba(15, 23, 42, .12); position: relative; overflow: hidden; border: 2px solid #0f172a; box-sizing: border-box; }
.id-card h2 { margin: 8px 0 2px; font-size: 20px; line-height: 1.2; }
.id-card .id-sub { margin: 0; font-size: 13px; }
.id-card .id-school { margin: 0; font-size: 13px; }
.id-card .id-session { margin: 8px 0 0; font-size: 12px; }
.id-mark { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-weight: 800; }
.id-qr img, .id-qr canvas { width: 64px !important; height: 64px !important; }
.id-card.design-sunrise { background: #fff; text-align: center; border-color: #f97316; }
.id-card.design-sunrise .id-top { display: flex; gap: 8px; align-items: center; background: #f97316; color: #fff; padding: 12px 14px; text-align: left; }
.id-card.design-sunrise .id-top strong { display: block; font-size: 14px; }
.id-card.design-sunrise .id-top em { font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.id-card.design-sunrise .id-mark { background: #fff; color: #ea580c; }
.id-card.design-sunrise .id-mid { position: relative; padding: 16px 14px 14px; }
.id-card.design-sunrise .id-frame { width: 128px; height: 148px; margin: 0 auto 10px; border: 3px solid #f97316; padding: 0; }
.id-card.design-sunrise .id-frame img { width: 100%; height: 100%; object-fit: cover; background: #e2e8f0; }
.id-card.design-sunrise .id-pill { display: inline-block; margin: 6px 0 12px; background: #f97316; color: #fff; border-radius: 999px; padding: 3px 12px; font-size: 12px; }
.id-card.design-sunrise .id-lower { display: flex; width: 100%; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 4px; }
.id-card.design-sunrise dl { margin: 0; flex: 1; text-align: left; }
.id-card.design-sunrise dl div { display: grid; grid-template-columns: 58px 1fr; font-size: 13px; margin-bottom: 4px; }
.id-card.design-sunrise dt { color: #64748b; }
.id-card.design-sunrise dd { margin: 0; font-weight: 700; }
.id-card.design-sunrise .id-qr { position: static; }
.id-card.design-sunrise .id-session { color: #94a3b8; width: 100%; text-align: center; }
.id-card.design-midnight { background: #0b1220; color: #fff; text-align: center; border: 3px solid #f5d90a; }
.id-card.design-midnight .id-top { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 14px 12px 4px; }
.id-card.design-midnight .id-mark { background: #fff; color: #0f172a; }
.id-card.design-midnight .id-mid { padding: 8px 16px 16px; position: relative; }
.id-card.design-midnight .id-frame { width: 132px; height: 132px; margin: 8px auto; background: #f5d90a; border: 8px solid #f5d90a; box-sizing: border-box; }
.id-card.design-midnight .id-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; background: #cbd5e1; }
.id-card.design-midnight .id-sub { color: #cbd5e1; margin-bottom: 12px; }
.id-card.design-midnight dl { margin: 0 auto; max-width: 210px; text-align: left; }
.id-card.design-midnight dl div { display: grid; grid-template-columns: 72px 1fr; font-size: 13px; margin-bottom: 4px; }
.id-card.design-midnight dt { color: #94a3b8; }
.id-card.design-midnight dd { margin: 0; font-weight: 700; }
.id-card.design-midnight .id-qr { display: flex; justify-content: center; margin-top: 14px; }
.id-card.design-ruby { width: 520px; min-height: 280px; background: #fff; border-color: #dc2626; }
.id-card.design-ruby .id-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #dc2626; color: #fff; padding: 10px 14px; }
.id-card.design-ruby .id-top > div { display: flex; gap: 8px; align-items: center; }
.id-card.design-ruby .id-top strong { display: block; font-size: 15px; }
.id-card.design-ruby .id-top em { font-style: normal; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.id-card.design-ruby .id-mark { background: #fff; color: #dc2626; }
.id-card.design-ruby .id-mid { display: grid; grid-template-columns: 120px 1fr 72px; gap: 12px; align-items: center; padding: 14px; }
.id-card.design-ruby .id-frame { width: 110px; height: 130px; border: 4px solid #dc2626; }
.id-card.design-ruby .id-frame img { width: 100%; height: 100%; object-fit: cover; background: #fecaca; }
.id-card.design-ruby .id-sub { color: #64748b; margin-bottom: 8px; }
.id-card.design-ruby dl { margin: 0; }
.id-card.design-ruby dl div { display: grid; grid-template-columns: 64px 1fr; font-size: 13px; }
.id-card.design-ruby dt { color: #64748b; }
.id-card.design-ruby dd { margin: 0; font-weight: 700; }
.id-card.design-ruby .id-address { margin: 6px 0 0; font-size: 12px; color: #475569; }
.id-card.design-pastel { background: linear-gradient(180deg, #fff1f2 0%, #f5f3ff 55%, #e0f2fe 100%); text-align: center; border-radius: 18px; border: 3px solid #c4b5fd; }
.id-card.design-pastel .id-top { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 14px 12px 0; }
.id-card.design-pastel .id-mark { background: #fff; color: #7c3aed; border: 2px solid #ddd6fe; }
.id-card.design-pastel .id-mid { padding: 0 16px 16px; }
.id-card.design-pastel .id-frame { width: 132px; height: 150px; margin: 12px auto 8px; background: #e9d5ff; border: 8px solid #e9d5ff; border-radius: 16px; box-sizing: border-box; }
.id-card.design-pastel .id-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; background: #ddd6fe; }
.id-card.design-pastel .id-sub { color: #7c3aed; margin-bottom: 10px; }
.id-card.design-pastel dl { margin: 0 auto 8px; max-width: 200px; text-align: left; }
.id-card.design-pastel dl div { display: grid; grid-template-columns: 64px 1fr; font-size: 13px; }
.id-card.design-pastel dt { color: #64748b; }
.id-card.design-pastel dd { margin: 0; font-weight: 700; }
.id-card.design-pastel .id-scan { margin: 8px 0 0; font-size: 12px; color: #64748b; }
.id-card.design-pastel .id-qr { display: flex; justify-content: center; margin-top: 6px; }
.id-card.design-golden { background: #fff8ec; border: 3px solid #e39b3a; border-radius: 10px; text-align: center; }
.id-card.design-golden .id-mid { padding: 16px 16px 18px; }
.id-card.design-golden .id-mark { margin: 0 auto 6px; background: #fff; border: 2px solid #e39b3a; color: #c2410c; }
.id-card.design-golden .id-school { display: block; font-size: 16px; }
.id-card.design-golden .id-kicker { display: block; margin: 2px 0 12px; font-style: normal; letter-spacing: .14em; font-size: 11px; color: #9a3412; text-transform: uppercase; }
.id-card.design-golden .id-frame { width: 132px; height: 132px; margin: 0 auto 10px; background: #f0a04a; border: 10px solid #f0a04a; padding: 0; box-sizing: border-box; }
.id-card.design-golden .id-frame img { width: 100%; height: 100%; object-fit: cover; background: #dbe3ee; }
.id-card.design-golden .id-sub { color: #9a3412; margin-bottom: 12px; }
.id-card.design-golden .id-lower { display: flex; width: 100%; align-items: flex-end; justify-content: space-between; gap: 8px; }
.id-card.design-golden .id-split { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; text-align: left; flex: 1; }
.id-card.design-golden .id-split span { display: block; font-size: 11px; color: #9a3412; }
.id-card.design-golden .id-split strong { font-size: 13px; }
.id-card.design-golden .id-qr { position: static; }
.id-card.design-golden .id-session { color: #9a3412; }
.id-card.design-azure { display: flex; flex-direction: column; background: #eef2f6; border-color: #2563eb; }
.id-card.design-azure .id-top { display: flex; gap: 8px; align-items: center; background: #2563eb; color: #fff; padding: 12px 14px; }
.id-card.design-azure .id-top strong { display: block; font-size: 14px; }
.id-card.design-azure .id-top em { font-style: normal; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.id-card.design-azure .id-mark { background: #fff; color: #2563eb; }
.id-card.design-azure .id-mid { position: relative; padding: 16px 14px 12px; text-align: center; flex: 1; }
.id-card.design-azure .id-frame { width: 120px; height: 120px; margin: 0 auto 8px; background: #2563eb; border: 8px solid #2563eb; padding: 0; box-sizing: border-box; }
.id-card.design-azure .id-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #dbe3ee; }
.id-card.design-azure .id-sub { color: #64748b; margin-bottom: 10px; }
.id-card.design-azure .id-lower { display: flex; width: 100%; align-items: flex-end; justify-content: space-between; gap: 8px; text-align: left; }
.id-card.design-azure dl { margin: 0; flex: 1; }
.id-card.design-azure dl div { display: grid; grid-template-columns: 64px 1fr; gap: 6px; font-size: 13px; margin-bottom: 3px; }
.id-card.design-azure dt { color: #64748b; }
.id-card.design-azure dd { margin: 0; font-weight: 600; }
.id-card.design-azure .id-qr { position: static; }
.id-card.design-azure footer { background: #2563eb; color: #fff; text-align: center; padding: 8px; font-size: 12px; }
.id-card.design-emerald { display: flex; background: #fff; }
.id-card.design-emerald .id-spine { width: 42px; background: #159447; color: #fff; display: flex; align-items: center; justify-content: center; }
.id-card.design-emerald .id-spine span { writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .2em; font-weight: 700; font-size: 13px; text-transform: uppercase; }
.id-card.design-emerald .id-mid { flex: 1; padding: 16px 14px 12px; position: relative; }
.id-card.design-emerald .id-avatar { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; display: block; margin-left: auto; background: #dbe3ee; }
.id-card.design-emerald h2, .id-card.design-emerald .id-sub { color: #159447; }
.id-card.design-emerald .id-school { color: #64748b; margin: 2px 0 10px; }
.id-card.design-emerald dl { margin: 0 70px 0 0; }
.id-card.design-emerald dl div { display: grid; grid-template-columns: 72px 1fr; gap: 4px; font-size: 12px; margin-bottom: 3px; }
.id-card.design-emerald dt { color: #64748b; }
.id-card.design-emerald dd { margin: 0; font-weight: 600; white-space: nowrap; }
.id-card.design-emerald .id-qr { position: absolute; left: 14px; bottom: 28px; }
.id-card.design-emerald .id-session { color: #64748b; margin-top: 78px; }
.id-card.design-minimal { background: #fff; border-top: 6px solid #111827; text-align: center; }
.id-card.design-minimal .id-mid { padding: 16px 14px 14px; }
.id-card.design-minimal .id-school { color: #64748b; font-size: 12px; }
.id-card.design-minimal .id-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 12px auto 8px; display: block; background: #dbe3ee; }
.id-card.design-minimal .id-sub { color: #64748b; margin-bottom: 14px; }
.id-card.design-minimal .id-row { list-style: none; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin: 0; padding: 0; }
.id-card.design-minimal .id-row span { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.id-card.design-minimal .id-row strong { font-size: 12px; }
.id-card.design-minimal .id-qr { display: flex; justify-content: center; margin-top: 16px; }
.id-card.design-minimal .id-session { color: #94a3b8; }
@media print {
  @page { size: A4 portrait; margin: 8mm; }
  html, body, .print-body, .id-card, .id-card * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }
  .sidebar, .topbar, .alert-banner, .id-tools { display: none !important; }
  .admin-body { display: block !important; background: #fff !important; }
  .content { padding: 0 !important; }
  .print-body { padding: 0 !important; background: #fff !important; }
  .id-sheet { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6mm; align-items: start; }
  .id-card { width: auto !important; min-height: 128mm !important; height: 128mm !important; box-shadow: none !important; break-inside: avoid; page-break-inside: avoid; overflow: hidden; border: 1.6pt solid #0f172a !important; }
  .id-card.design-sunrise { border-color: #f97316 !important; }
  .id-card.design-midnight { border: 2pt solid #f5d90a !important; }
  .id-card.design-ruby { border-color: #dc2626 !important; }
  .id-card.design-pastel { border: 2pt solid #a78bfa !important; }
  .id-card.design-golden { border: 2pt solid #e39b3a !important; }
  .id-card.design-azure { border-color: #2563eb !important; }
  .id-card.design-ruby { grid-column: 1 / -1; min-height: 0 !important; height: auto !important; }
  .id-card.design-sunrise, .id-card.design-golden, .id-card.design-pastel, .id-card.design-midnight, .id-card.design-azure { display: flex !important; flex-direction: column; }
  .id-card.design-sunrise .id-mid, .id-card.design-golden .id-mid, .id-card.design-pastel .id-mid, .id-card.design-midnight .id-mid, .id-card.design-azure .id-mid { flex: 1; display: flex; flex-direction: column; align-items: center; }
  .id-card.design-sunrise .id-lower, .id-card.design-golden .id-lower, .id-card.design-azure .id-lower { margin-top: auto; width: 100%; }
  .id-card.design-sunrise .id-frame { width: 36mm !important; height: 42mm !important; }
  .id-card .id-qr { position: static !important; }
  .id-card.design-sunrise .id-top { background: #f97316 !important; color: #fff !important; }
  .id-card.design-sunrise .id-pill { background: #f97316 !important; color: #fff !important; }
  .id-card.design-midnight { background: #0b1220 !important; color: #fff !important; }
  .id-card.design-midnight .id-frame { background: #f5d90a !important; border-color: #f5d90a !important; }
  .id-card.design-ruby .id-top { background: #dc2626 !important; color: #fff !important; }
  .id-card.design-pastel { background: #f5f3ff !important; }
  .id-card.design-pastel .id-frame { background: #e9d5ff !important; border-color: #e9d5ff !important; }
  .id-card.design-golden { background: #fff8ec !important; border: 2.5pt solid #e39b3a !important; }
  .id-card.design-golden .id-frame { background: #f0a04a !important; border-color: #f0a04a !important; }
  .id-card.design-azure { background: #eef2f6 !important; }
  .id-card.design-azure .id-top, .id-card.design-azure footer { background: #2563eb !important; color: #fff !important; }
  .id-card.design-azure .id-frame { background: #2563eb !important; border-color: #2563eb !important; }
}
