:root {
  --bg: #07111f;
  --panel: #0d1b2e;
  --panel2: #12243b;
  --card: #ffffff;
  --text: #142033;
  --muted: #657286;
  --brand: #1a66ff;
  --brand2: #0bc6a5;
  --danger: #ca2f38;
  --warn: #ad6d00;
  --ok: #0e7c59;
  --line: #e6ebf2;
  --soft: #f5f7fb;
  --shadow: 0 20px 70px rgba(3, 18, 44, .14);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--text); background: #eef3fb; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.topbar { display:flex; align-items:center; justify-content:space-between; padding: 14px 24px; background: #ffffff; color: var(--text); position: sticky; top:0; z-index: 5; box-shadow: 0 2px 14px rgba(3,18,44,.10); border-bottom: 1px solid var(--line); }
.logo { display:flex; align-items:center; gap: 18px; font-weight: 800; letter-spacing: .2px; }
.logo img { height: 184px; max-width: 640px; object-fit: contain; background:white; padding:0; border-radius: 14px; }
.logoMark { width:136px; height:136px; border-radius:24px; background: linear-gradient(135deg, var(--brand), var(--brand2)); display:grid; place-items:center; font-weight:900; font-size:72px; color:white; }
.brandText { display:flex; flex-direction:column; gap:2px; }
.brandName { font-family:'Poppins', Inter, sans-serif; font-size: 40px; font-weight: 800; letter-spacing: .2px; line-height: 1.05; color:#0d1b2e; }
.brandDomain { font-family:'Poppins', Inter, sans-serif; font-size: 26px; font-weight: 600; letter-spacing: .3px; line-height: 1.1; color:#2a7a96; }
.nav { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.nav button, .btn { border:0; border-radius: 10px; padding: 9px 13px; background: #1d3558; color: white; text-decoration:none; display:inline-flex; align-items:center; gap:6px; }
.btn.primary, .nav button.primary { background: var(--brand); color:white; }
.btn.secondary { background: #edf3ff; color:#173259; }
.btn.light { background: white; color: #0d1b2e; }
.btn.danger { background: var(--danger); }
.btn.warn { background: #fff2d9; color: #704100; }
.btn.ok { background: var(--ok); }
.btn.small { padding: 6px 9px; font-size: 13px; border-radius: 8px; }
.hero { background: radial-gradient(circle at 70% 10%, rgba(11,198,165,.28), transparent 28%), linear-gradient(135deg,#07111f 0%,#10213a 52%,#07111f 100%); color:white; }
.heroInner { max-width:1180px; margin:0 auto; padding: 48px 24px 70px; display:grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items:center; }
.badge { display:inline-flex; gap:8px; align-items:center; border:1px solid rgba(255,255,255,.18); color:#dce8ff; padding:8px 10px; border-radius:999px; background:rgba(255,255,255,.06); }
.hero h1 { font-size: clamp(38px, 6vw, 72px); line-height:.97; margin:20px 0; letter-spacing:-2px; }
.hero p { color:#c8d6ec; font-size: 18px; line-height:1.6; max-width: 720px; }
.heroGrid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:12px; margin-top:30px; }
.heroCard { background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); padding:16px; border-radius:18px; min-height:110px; }
.heroCard strong { display:block; margin-bottom:6px; color:white; }
.loginCard { background:white; color:var(--text); padding: 24px; border-radius: 24px; box-shadow: var(--shadow); }
.loginCard h2 { margin: 0 0 8px; }
.field { margin: 12px 0; }
label { font-weight: 700; display:block; margin-bottom:6px; font-size: 14px; }
input, select, textarea { width:100%; border:1px solid #d7deea; border-radius: 10px; padding:10px 11px; background:white; color:var(--text); }
textarea { min-height: 110px; resize: vertical; }
textarea.mono { min-height: 220px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.5; white-space: pre; tab-size: 2; }
.hint { color:var(--muted); font-size:13px; line-height:1.45; }
.page { max-width: 1280px; margin: 0 auto; padding: 22px; }
.grid { display:grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.card { background: white; border:1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 10px 30px rgba(23,45,77,.05); }
.card h2, .card h3 { margin-top:0; }
.qEditCard { position: sticky; top: 120px; align-self: start; max-height: calc(100vh - 140px); overflow-y: auto; }
.stat { display:flex; flex-direction:column; gap:5px; }
.stat strong { font-size: 28px; }
.stat span { color:var(--muted); }
.tabs { display:flex; gap:8px; flex-wrap:wrap; margin: 12px 0 18px; }
.tabs button { border: 1px solid #cbd6e6; color:#1c304f; background:white; padding: 8px 11px; border-radius: 999px; }
.tabs button.active { background:#10213a; color:white; border-color:#10213a; }
.tableWrap { overflow:auto; border:1px solid var(--line); border-radius: 14px; }
table { width:100%; border-collapse: collapse; background:white; min-width: 760px; }
th, td { text-align:left; border-bottom: 1px solid var(--line); padding: 10px; vertical-align:top; }
th { background:#f8fafd; font-size: 13px; color:#40516b; }
tr:last-child td { border-bottom:0; }
.pill { display:inline-flex; align-items:center; border-radius:999px; padding: 4px 8px; font-size:12px; background:#edf3ff; color:#173259; font-weight:700; }
.pill.ok { background:#e7f7f2; color:var(--ok); }
.pill.warn { background:#fff2d9; color:var(--warn); }
.pill.danger { background:#ffe9ea; color:var(--danger); }
.actions { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
table.qbank { min-width: 0; }
table.qbank td:last-child, table.qbank th:last-child { width:1%; white-space:nowrap; }
.rowMeta { display:flex; gap:6px; flex-wrap:wrap; align-items:center; margin:5px 0; }
.rowTags { font-size:12px; color:var(--muted); }
.rowPrompt { margin-top:2px; }
.rowActions { flex-direction:column; align-items:stretch; }
.rowActions .btn { justify-content:center; }
.adminEditBanner { background:#fff2d9; color:var(--warn); border:1px solid #f0d9a8; border-radius:10px; padding:9px 12px; font-size:13px; font-weight:600; margin-bottom:14px; }
.questionCard { border:1px solid var(--line); border-radius:16px; padding:18px; background:white; }
.questionMeta { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.option { display:flex; gap:9px; align-items:flex-start; padding: 10px; border:1px solid #dfe6f1; border-radius: 12px; margin: 8px 0; background:#fbfcff; }
.option input { width:auto; margin-top: 3px; }
.examShell { max-width: 980px; margin: 0 auto; padding: 20px; }
.examHeader { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom: 16px; }
.progress { height: 10px; border-radius:999px; background:#dce5f2; overflow:hidden; flex: 1; }
.progress > div { height:100%; background: linear-gradient(90deg,var(--brand),var(--brand2)); width:0%; }
.examImage { max-width:100%; border-radius: 12px; border:1px solid var(--line); margin: 12px 0; display:block; }
.imageBox { position: relative; display:inline-block; max-width:100%; }
.clickPoint { position:absolute; width:18px; height:18px; margin-left:-9px; margin-top:-9px; border-radius:999px; background: rgba(26,102,255,.85); border:2px solid white; box-shadow:0 2px 8px rgba(0,0,0,.35); pointer-events:none; }

/* Case-file viewer */
.caseFile { border:1px solid var(--line); border-radius:14px; background:#fbfcff; padding:14px; margin:12px 0 16px; }
.cfBanner { font-weight:700; color:#173259; background:#edf3ff; border-radius:10px; padding:9px 12px; margin-bottom:12px; font-size:14px; }
.cfSection { margin-top:14px; }
.cfHead { font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.03em; color:#5a6b85; margin-bottom:8px; }
.cfGallery { display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:10px; }
.cfThumb { padding:0; border:1px solid var(--line); border-radius:10px; overflow:hidden; cursor:pointer; background:#fff; aspect-ratio:4/3; }
.cfThumb img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .15s; }
.cfThumb:hover img { transform:scale(1.05); }
.cfTabs { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px; }
.cfTab { border:1px solid #dfe6f1; background:#fff; color:#173259; border-radius:999px; padding:6px 12px; font-size:13px; font-weight:600; cursor:pointer; }
.cfTab.active { background:var(--brand); color:#fff; border-color:var(--brand); }
.cfDocs { border:1px solid var(--line); border-radius:10px; background:#fff; }
.cfDocText pre { margin:0; padding:14px; max-height:340px; overflow:auto; white-space:pre-wrap; word-break:break-word; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:12.5px; line-height:1.5; color:#22324a; }
.cfPages { display:grid; grid-template-columns:repeat(auto-fill,minmax(110px,1fr)); gap:8px; padding:12px 12px 0; }
.cfPage { padding:0; border:1px solid var(--line); border-radius:8px; overflow:hidden; cursor:pointer; background:#fff; }
.cfPage img { width:100%; height:170px; object-fit:cover; object-position:top; display:block; transition:transform .15s; }
.cfPage:hover img { transform:scale(1.04); }

/* Lightbox */
#lightbox.lbOpen { position:fixed; inset:0; z-index:200; display:grid; place-items:center; }
.lbBackdrop { position:absolute; inset:0; background:rgba(7,17,31,.92); }
.lbImg { position:relative; max-width:92vw; max-height:88vh; border-radius:10px; box-shadow:0 12px 40px rgba(0,0,0,.5); }
.lbClose { position:absolute; top:16px; right:20px; z-index:2; width:42px; height:42px; border-radius:999px; border:none; background:rgba(255,255,255,.15); color:#fff; font-size:26px; line-height:1; cursor:pointer; }
.lbNav { position:absolute; top:50%; transform:translateY(-50%); z-index:2; width:48px; height:48px; border-radius:999px; border:none; background:rgba(255,255,255,.15); color:#fff; font-size:30px; line-height:1; cursor:pointer; }
.lbPrev { left:18px; } .lbNext { right:18px; }
.lbClose:hover, .lbNav:hover { background:rgba(255,255,255,.3); }
.lbCount { position:absolute; bottom:18px; left:50%; transform:translateX(-50%); z-index:2; color:#fff; font-weight:700; background:rgba(0,0,0,.4); border-radius:999px; padding:5px 14px; font-size:13px; }
.fullscreenBlock { position: fixed; inset:0; background:rgba(7,17,31,.96); color:white; z-index:99; display:grid; place-items:center; padding:24px; text-align:center; }
.fullscreenBlock .box { max-width:600px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); padding:26px; border-radius:20px; }
.resultItem { border-top:1px solid var(--line); padding: 14px 0; }
.scoreBig { font-size: 54px; font-weight:900; letter-spacing:-2px; }
.toast { position:fixed; right:20px; bottom:20px; background:#07111f; color:white; padding:12px 14px; border-radius:12px; box-shadow:var(--shadow); z-index:200; max-width:360px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background:#f2f5fa; padding:2px 5px; border-radius:5px; }
.warningBox { background:#fff7e8; border:1px solid #ffd890; color:#6b4500; border-radius:14px; padding:12px; margin:10px 0; }
.successBox { background:#e9fbf5; border:1px solid #b8ecdd; color:#0a6046; border-radius:14px; padding:12px; margin:10px 0; }
.errorBox { background:#ffeded; border:1px solid #ffc2c5; color:#8e1e26; border-radius:14px; padding:12px; margin:10px 0; }
.kbd { border:1px solid #bcc7d8; background:#f8fafc; padding:1px 5px; border-radius:5px; font-family:ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (max-width: 900px) {
  .heroInner, .grid.two, .grid.three { grid-template-columns:1fr; }
  .heroGrid { grid-template-columns:1fr; }
  .qEditCard { position: static; max-height: none; overflow: visible; }
  .topbar { align-items:flex-start; flex-direction:column; gap:12px; }
  .logo img { height: 110px; max-width: 80vw; }
  .logoMark { width:84px; height:84px; font-size:44px; }
  .brandName { font-size: 26px; }
  .brandDomain { font-size: 17px; }
}
@media print {
  .topbar, .tabs, .actions, .btn { display:none !important; }
  body { background:white; }
  .card { box-shadow:none; border:1px solid #ddd; }
}

/* Friendly question builder */
.qbRow { display:flex; gap:8px; align-items:center; margin:8px 0; }
.qbRow .qbOptText { flex:1; }
.qbCheck { display:inline-flex; gap:6px; align-items:center; font-size:13px; color:var(--muted); white-space:nowrap; }
.qbCheck input { width:auto; }
.qbNum { width:24px; height:24px; flex:0 0 24px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:var(--brand,#2563eb); color:#fff; font-size:12px; font-weight:600; }
.qbToggle { display:flex; gap:18px; flex-wrap:wrap; padding:6px 0; }

/* Ordering (test taker) */
.orderRow { display:flex; gap:10px; align-items:center; padding:10px; border:1px solid #dfe6f1; border-radius:12px; margin:8px 0; background:#fbfcff; }
.orderText { flex:1; }
.orderBtns { display:flex; gap:6px; }

/* Hotspot timer */
.hotspotWrap { position:relative; }
.hsTimer { display:inline-block; font-weight:700; font-size:18px; padding:6px 12px; border-radius:10px; background:#eef3ff; color:#1d4ed8; border:1px solid #c7d6ff; margin-bottom:10px; }
.hsTimer.warn { background:#fdecec; color:#b91c1c; border-color:#f5b5b5; }

/* Certificate */
.certBanner { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin:14px 0; padding:16px 18px; border-radius:14px; background:linear-gradient(135deg,#0b1f3a,#16335f); color:#fff; border:1px solid #c9a23a; }
.certBanner strong { display:block; font-size:17px; }
.certBanner span { color:#cdd9ef; font-size:13px; }
.certToolbar { display:flex; gap:10px; justify-content:center; padding:18px 16px 0; }
.certPage { display:flex; justify-content:center; padding:24px 16px 56px; background:#0b1f3a; min-height:100vh; box-sizing:border-box; }
.certBorder { width:min(1040px,100%); aspect-ratio:11/8.5; background:#fbfaf6; box-sizing:border-box; padding:14px; border:7px solid #16335f; box-shadow:0 24px 70px rgba(0,0,0,.4); }
.certInner { height:100%; box-sizing:border-box; border:2px solid #c9a23a; padding:4.5% 8%; display:flex; flex-direction:column; align-items:center; justify-content:space-between; text-align:center; }
.certTop, .certBottom { width:100%; display:flex; flex-direction:column; align-items:center; }
.certLogo { height:84px; object-fit:contain; margin-bottom:4px; }
.certWordmark { font-size:30px; font-weight:800; color:#16335f; letter-spacing:.5px; margin-bottom:6px; }
.certTitle { font-family:Georgia,'Times New Roman',serif; font-size:clamp(28px,5vw,52px); color:#16335f; margin:8px 0 2px; font-weight:700; }
.certRule { width:120px; height:2px; background:#c9a23a; margin:8px 0 12px; }
.certLabel { color:#3a4a63; font-size:clamp(13px,1.6vw,18px); margin:8px 0 4px; }
.certName { font-family:Georgia,serif; font-size:clamp(26px,4.6vw,46px); color:#16335f; font-weight:700; border-bottom:2px solid #c9a23a; padding:0 24px 6px; margin:2px 0 4px; letter-spacing:.5px; }
.certCourse { font-family:Georgia,serif; font-size:clamp(20px,3.4vw,34px); color:#16335f; font-weight:700; border-bottom:2px solid #c9a23a; padding:0 24px 6px; margin:2px 0 4px; }
.certSub { color:#3a4a63; font-size:clamp(12px,1.5vw,16px); margin:10px 0 0; }
.certMeta { display:flex; gap:64px; justify-content:center; flex-wrap:wrap; margin-bottom:24px; }
.certMeta > div { display:flex; flex-direction:column; }
.certMeta span { color:#8a93a6; font-size:11px; text-transform:uppercase; letter-spacing:.08em; }
.certMeta strong { color:#16335f; font-size:15px; }
.certSign { display:flex; gap:80px; justify-content:center; flex-wrap:wrap; width:100%; }
.certSign > div { display:flex; flex-direction:column; align-items:center; min-width:180px; }
.certSignLine { width:180px; border-top:1.5px solid #16335f; margin-bottom:6px; }
.certSign span { color:#3a4a63; font-style:italic; font-size:13px; }
.certIssued { color:#8a93a6; font-size:12px; margin-top:16px; }

@media print {
  @page { size: landscape; margin: 0; }
  body { background:#fff; }
  .no-print, .topbar, .toast, #toast { display:none !important; }
  .certPage { padding:0; background:#fff; min-height:auto; }
  .certBorder { width:100%; height:100vh; aspect-ratio:auto; border-width:8px; box-shadow:none; }
  body, .certBorder, .certInner { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Retake */
.retakeBanner { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin:14px 0; padding:16px 18px; border-radius:14px; background:#fff7ed; border:1px solid #f0b27a; }
.retakeBanner strong { display:block; font-size:16px; color:#9a3412; }
.retakeBanner span { color:#7c4a1e; font-size:13px; }
.retakeNote { margin:10px 0 0; padding:10px 14px; border-radius:10px; background:#fff7ed; border:1px solid #f0b27a; color:#9a3412; font-size:13px; font-weight:600; }

/* Click feedback for hero CTAs (target may already be on screen on large displays) */
.flash { animation: ctaFlash 1.1s ease-out; }
@keyframes ctaFlash {
  0% { box-shadow: 0 0 0 0 rgba(37,99,235,0.55); }
  30% { box-shadow: 0 0 0 6px rgba(37,99,235,0.28); }
  100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}
.heroGrid.flash { border-radius: 16px; }

/* ===== Landing informational sections ===== */
.landing { background:#eef3fb; }
.eyebrow { display:inline-block; text-transform:uppercase; letter-spacing:.14em; font-size:12px; font-weight:800; color:var(--brand); margin-bottom:10px; }
.statBand { max-width:1180px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:18px; overflow:hidden; transform:translateY(-36px); box-shadow:var(--shadow); }
.statItem { background:white; padding:22px 18px; text-align:center; }
.statItem strong { display:block; font-size:34px; font-weight:900; letter-spacing:-1px; color:#0d1b2e; }
.statItem span { color:var(--muted); font-size:13px; }
.section { max-width:1180px; margin:0 auto; padding:18px 24px 56px; }
.sectionHead { max-width:720px; margin:0 auto 34px; text-align:center; }
.sectionHead h2 { font-size:clamp(26px,3.4vw,38px); line-height:1.1; margin:0 0 12px; letter-spacing:-1px; color:#0d1b2e; }
.sectionHead p { color:var(--muted); font-size:17px; line-height:1.6; margin:0; }
.infoGrid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.infoCard { background:white; border:1px solid var(--line); border-radius:18px; padding:26px; box-shadow:0 10px 30px rgba(23,45,77,.05); }
.infoCard .infoIcon { width:46px; height:46px; border-radius:14px; display:grid; place-items:center; font-size:24px; font-weight:800; color:white; background:linear-gradient(135deg,var(--brand),var(--brand2)); margin-bottom:14px; }
.infoCard h3 { margin:0 0 8px; font-size:20px; color:#0d1b2e; }
.infoCard p { margin:0; color:var(--muted); line-height:1.6; }
.steps { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.step { background:white; border:1px solid var(--line); border-radius:16px; padding:22px; position:relative; box-shadow:0 10px 30px rgba(23,45,77,.05); }
.step .stepNum { display:grid; place-items:center; width:34px; height:34px; border-radius:999px; background:#0d1b2e; color:white; font-weight:800; margin-bottom:12px; }
.step h4 { margin:0 0 6px; font-size:16px; color:#0d1b2e; }
.step p { margin:0; color:var(--muted); font-size:14px; line-height:1.55; }
.ctaBand { text-align:center; color:white; padding:56px 24px 64px; background:radial-gradient(circle at 50% 0%, rgba(11,198,165,.22), transparent 45%), linear-gradient(135deg,#07111f 0%,#10213a 60%,#07111f 100%); }
.ctaBand h2 { font-size:clamp(26px,3.4vw,38px); margin:0 0 10px; letter-spacing:-1px; }
.ctaBand p { color:#c8d6ec; font-size:17px; margin:0 0 22px; }
.certShowcase { padding-top:0; }
.certShowcaseGrid { display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; }
.certShowcaseCopy h2 { font-size:clamp(26px,3.4vw,38px); line-height:1.1; margin:0 0 14px; letter-spacing:-1px; color:#0d1b2e; }
.certShowcaseCopy p { color:var(--muted); font-size:17px; line-height:1.65; margin:0 0 22px; }
.certPerks { list-style:none; margin:0; padding:0; display:grid; gap:13px; }
.certPerks li { display:flex; align-items:center; gap:12px; font-size:15.5px; font-weight:600; color:#0d1b2e; }
.certTick { flex:0 0 24px; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(135deg,#0b1f3a,#16335f); color:#e9c463; font-size:13px; border:1px solid #c9a23a; }
.certShowcaseVisual { display:grid; place-items:center; }
.diploma { width:100%; max-width:430px; padding:14px; border-radius:18px; background:linear-gradient(135deg,#0b1f3a,#16335f); border:1px solid #c9a23a; box-shadow:var(--shadow); transform:rotate(-2deg); }
.diplomaInner { border:1.5px solid rgba(201,162,58,.55); border-radius:12px; padding:32px 28px; text-align:center; color:#fff; }
.diplomaSeal { width:54px; height:54px; margin:0 auto 14px; border-radius:50%; display:grid; place-items:center; background:radial-gradient(circle at 30% 30%, #f0d27a, #c9a23a); color:#0b1f3a; font-size:26px; box-shadow:0 6px 18px rgba(201,162,58,.4); }
.diplomaBrand { font-family:Poppins, sans-serif; font-weight:800; font-size:18px; letter-spacing:.02em; color:#f0d8a0; }
.diplomaRule { width:60px; height:3px; margin:12px auto; border-radius:3px; background:linear-gradient(90deg,#c9a23a,#f0d27a); }
.diplomaLabel { text-transform:uppercase; letter-spacing:.18em; font-size:11px; color:#c8d6ec; margin:0 0 12px; }
.diplomaName { font-family:Poppins, sans-serif; font-size:26px; font-weight:700; color:#fff; margin-bottom:6px; }
.diplomaSub { font-size:13px; color:#c8d6ec; margin:0 0 20px; }
.diplomaFoot { display:flex; justify-content:space-between; gap:10px; font-size:11px; color:#9fb3d1; border-top:1px solid rgba(255,255,255,.12); padding-top:12px; }

/* ===== Preview modal ===== */
#previewModal .modalOverlay { position:fixed; inset:0; background:rgba(7,17,31,.72); backdrop-filter:blur(4px); z-index:300; display:flex; align-items:flex-start; justify-content:center; padding:40px 20px; overflow:auto; }
.modalCard { position:relative; background:#eef3fb; color:var(--text); width:100%; max-width:880px; border-radius:24px; padding:30px; box-shadow:0 40px 120px rgba(3,18,44,.5); animation:modalIn .22s ease-out; }
@keyframes modalIn { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
.modalClose { position:absolute; top:16px; right:16px; width:38px; height:38px; border-radius:999px; border:1px solid var(--line); background:white; color:#42536d; font-size:22px; line-height:1; display:grid; place-items:center; }
.modalHead { max-width:600px; margin-bottom:22px; }
.modalHead h2 { margin:0 0 8px; font-size:26px; letter-spacing:-.5px; color:#0d1b2e; }
.modalHead p { margin:0; color:var(--muted); font-size:15px; }
.previewWrap { display:grid; gap:18px; }
.previewQ { background:white; border:1px solid var(--line); border-radius:18px; padding:20px; box-shadow:0 10px 30px rgba(23,45,77,.05); }
.pqMeta { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-bottom:12px; }
.pqTag { margin-left:auto; font-size:12px; color:var(--muted); font-weight:700; }
.pqPrompt { font-size:16px; font-weight:600; color:#0d1b2e; margin:0 0 14px; line-height:1.5; }
.pqOpts { display:grid; gap:8px; }
.pqOpt { border:1px solid #dfe6f1; border-radius:12px; padding:11px 13px; background:#fbfcff; color:#33415a; font-size:14px; }
.pqOpt.correct { border-color:#9fe3cd; background:#e9fbf5; color:#0a6046; font-weight:700; display:flex; justify-content:space-between; gap:10px; }
.pqCheck { color:var(--ok); font-weight:900; }
.pqCoach { margin-top:14px; background:#eef4ff; border:1px solid #cfe0ff; border-radius:12px; padding:12px 14px; font-size:13px; line-height:1.55; color:#1c3a6e; }
.pqCoach strong { display:block; color:var(--brand); margin-bottom:3px; }
.previewGrid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.miniCard { background:white; border:1px solid var(--line); border-radius:14px; padding:14px; }
.miniCard strong { display:block; color:#0d1b2e; font-size:14px; margin-bottom:5px; }
.miniCard span { color:var(--muted); font-size:13px; line-height:1.5; }
.moduleGrid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.moduleCard { background:white; border:1px solid var(--line); border-radius:16px; padding:18px; box-shadow:0 10px 30px rgba(23,45,77,.05); }
.moduleCard strong { display:block; color:#0d1b2e; font-size:16px; margin-bottom:6px; }
.moduleCard span { display:block; color:var(--muted); font-size:13px; line-height:1.55; margin-bottom:12px; }
.modTags { display:flex; gap:6px; flex-wrap:wrap; }
.modTag { font-size:11px; font-weight:700; color:#173259; background:#edf3ff; border-radius:999px; padding:4px 9px; }
.modalCta { display:flex; gap:10px; flex-wrap:wrap; margin-top:22px; padding-top:18px; border-top:1px solid var(--line); }
.videoGrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:18px; margin-top:12px; }
.videoItem { border:1px solid var(--line); border-radius:16px; overflow:hidden; background:white; box-shadow:0 10px 30px rgba(23,45,77,.05); display:flex; flex-direction:column; }
.videoItem video { width:100%; aspect-ratio:16/9; background:#000; display:block; }
.videoBody { padding:14px; display:flex; flex-direction:column; gap:8px; }
.videoBody strong { color:#0d1b2e; font-size:15px; }
.pricingGrid { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; max-width:1000px; margin:0 auto; }
.pricingCard { background:white; border:1px solid var(--line); border-radius:20px; padding:30px; box-shadow:0 10px 30px rgba(23,45,77,.05); display:flex; flex-direction:column; gap:16px; }
.pricingCard.featured { border-color:var(--brand); box-shadow:0 18px 44px rgba(26,102,255,.16); }
.pricingTag { display:inline-block; align-self:flex-start; text-transform:uppercase; letter-spacing:.12em; font-size:12px; font-weight:800; color:var(--brand); }
.priceRow { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.priceAmount { font-size:42px; font-weight:900; color:#0d1b2e; line-height:1; }
.priceUnit { color:var(--muted); font-weight:600; font-size:14px; }
.pricingPerks { list-style:none; margin:0; padding:0; display:grid; gap:11px; flex:1; }
.pricingPerks li { display:flex; align-items:center; gap:12px; font-size:14.5px; font-weight:600; color:#0d1b2e; }
@media (max-width:900px) {
  .statBand, .infoGrid, .steps { grid-template-columns:repeat(2,1fr); }
  .previewGrid, .moduleGrid { grid-template-columns:1fr; }
  .certShowcaseGrid { grid-template-columns:1fr; gap:34px; }
  .diploma { transform:none; }
  .pricingGrid { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  .statBand, .infoGrid, .steps { grid-template-columns:1fr; }
}

/* Real claims */
.claimBatch { border:1px solid var(--border,#e5e7eb); border-radius:10px; padding:12px; margin-bottom:14px; }
.claimThumbs { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0; }
.claimThumbs a { display:block; width:96px; height:96px; border-radius:8px; overflow:hidden; border:1px solid var(--border,#e5e7eb); background:#f8fafc; }
.claimThumbs img { width:100%; height:100%; object-fit:cover; }

/* Separator used between the zip upload and Google Drive import */
.divider { display:flex; align-items:center; text-align:center; color:var(--muted,#94a3b8); margin:18px 0 14px; font-size:.85rem; }
.divider::before, .divider::after { content:""; flex:1; height:1px; background:var(--border,#e2e8f0); }
.divider span { padding:0 12px; text-transform:uppercase; letter-spacing:.08em; }
.claimMore { display:inline-flex; align-items:center; padding:0 10px; height:96px; color:var(--muted,#94a3b8); font-size:.85rem; }

/* Background import progress panel */
.jobPanel { border:1px solid var(--border,#e5e7eb); border-radius:10px; padding:12px; margin:12px 0 6px; background:#f8fafc; }
.jobPanel.running { border-color:#93c5fd; background:#eff6ff; }
.progressTrack { width:100%; height:8px; background:#e2e8f0; border-radius:999px; overflow:hidden; margin:6px 0; }
.progressFill { height:100%; background:#2563eb; border-radius:999px; transition:width .4s ease; }
