/* DPDP Saksham Panchayat — SequSpace brand constitution
   blue #1E40AF = structure · teal #14B8A6 = detail · orange #F59E0B = focal */
@font-face { font-family: Inter; src: url(/fonts/Inter.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: NotoOr; src: url(/fonts/NotoSansOriya.ttf) format("truetype"); font-weight: 100 900; font-display: swap; unicode-range: U+0B00-0B7F, U+200C-200D, U+25CC; }
@font-face { font-family: NotoDe; src: url(/fonts/NotoSansDevanagari.ttf) format("truetype"); font-weight: 100 900; font-display: swap; unicode-range: U+0900-097F, U+A8E0-A8FF, U+200C-200D, U+25CC; }

:root {
  --blue: #1E40AF; --blue2: #1a56db; --teal: #14B8A6; --teal2: #0891b2; --orange: #F59E0B;
  --blue-l: #3B82F6; --teal-l: #2DD4BF; --orange-l: #FCD34D;
  --ink: #0F172A; --slate: #334155; --slate-l: #64748B; --line: #E2E8F0;
  --bg: #F7F5EF; --card: #FFFFFF; --danger: #EF4444;
  --soft: #EFF6FF; --teal-soft: #F0FDFA; --orange-soft: #FFFBEB; --danger-soft: #FEF2F2;
  --hero: linear-gradient(135deg,#1E40AF 0%,#1a56db 20%,#14B8A6 55%,#0891b2 75%,#F59E0B 100%);
  --logo: linear-gradient(135deg,#1E40AF 0%,#14B8A6 50%,#F59E0B 100%);
  --r: 14px; --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Inter, NotoOr, NotoDe, system-ui, sans-serif; background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: var(--blue2); }
button, input, select, textarea { font: inherit; }
.hidden { display: none !important; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(247,245,239,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.top::before { content: ""; display: block; height: 4px; background: var(--hero); }
.top-in { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { height: 30px; }
.brand .prog { font-weight: 800; font-size: 15px; letter-spacing: -.2px; white-space: nowrap; }
.brand .prog small { display: block; font-weight: 500; font-size: 11px; color: var(--slate-l); }
.brand .sep { width: 1px; height: 28px; background: var(--line); }
.spacer { flex: 1; }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.langs button { border: 0; background: none; padding: 6px 11px; font-size: 13px; cursor: pointer; color: var(--slate); }
.langs button.on { background: var(--blue); color: #fff; font-weight: 700; }
.navlinks { display: flex; gap: 4px; }
.navlinks a { text-decoration: none; color: var(--slate); font-size: 14px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.navlinks a:hover { background: #fff; color: var(--blue); }
@media (max-width: 860px) { .navlinks, .brand .sep, .brand .lockup { display: none; } }

main { max-width: 1200px; margin: 0 auto; padding: 24px 16px 64px; }

/* ---------- buttons, forms, cards ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px;
  padding: 12px 20px; font-weight: 700; cursor: pointer; text-decoration: none; font-size: 15px; transition: transform .08s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-p { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(30,64,175,.25); }
.btn-p:hover { background: var(--blue2); }
.btn-g { background: var(--hero); color: #fff; box-shadow: 0 8px 22px rgba(20,184,166,.28); }
.btn-o { background: #fff; color: var(--blue); border: 1.5px solid var(--line); }
.btn-o:hover { border-color: var(--blue-l); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
label.f { display: block; font-size: 13px; font-weight: 600; color: var(--slate); margin: 12px 0 5px; }
.inp { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 15px; color: var(--ink); }
.inp:focus { outline: none; border-color: var(--blue-l); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.err { color: var(--danger); font-size: 14px; margin-top: 10px; min-height: 20px; }
.muted { color: var(--slate-l); }
.small { font-size: 13px; }
.kick { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--teal2); font-weight: 800; }
h1, h2, h3 { letter-spacing: -.4px; line-height: 1.2; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill.ok { background: var(--teal-soft); color: #0f766e; }
.pill.go { background: var(--soft); color: var(--blue); }
.pill.lock { background: #F1F5F9; color: var(--slate-l); }
.pill.warn { background: var(--orange-soft); color: #92400e; }
.notice { background: var(--soft); border: 1px solid #DBEAFE; border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--slate); }
.notice b { color: var(--ink); }
.icon { display: inline-block; flex: none; }

/* ---------- landing ---------- */
.hero { position: relative; border-radius: 22px; overflow: hidden; background: var(--hero); color: #fff; padding: 56px 40px; }
.hero::after { content: ""; position: absolute; right: -80px; bottom: -110px; width: 420px; height: 420px;
  background: url(/brand/lemon.png) center/contain no-repeat; opacity: .12; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); margin: 10px 0 12px; font-weight: 800; max-width: 760px; }
.hero p { font-size: clamp(15px, 1.8vw, 19px); max-width: 720px; opacity: .95; margin: 0 0 26px; }
.hero .kick { color: #fff; opacity: .9; }
.hero .btn-o { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 600px) { .hero { padding: 36px 20px; } }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: -34px 24px 0; position: relative; z-index: 2; }
.stat { background: #fff; border-radius: 14px; padding: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat b { display: block; font-size: 28px; color: var(--blue); font-weight: 800; }
.stat span { font-size: 13px; color: var(--slate-l); }
@media (max-width: 600px) { .stats { margin: 16px 0 0; } }
section.blk { margin-top: 56px; }
section.blk > h2 { font-size: clamp(24px, 3vw, 34px); margin: 6px 0 8px; }
section.blk > p.lead { color: var(--slate); max-width: 760px; margin: 0 0 22px; font-size: 16px; }
.mod-card { display: flex; flex-direction: column; gap: 10px; }
.mod-card .num { font-size: 12px; font-weight: 800; color: var(--teal2); letter-spacing: 1px; }
.mod-card h3 { margin: 0; font-size: 18px; }
.mod-card ul { margin: 0; padding-left: 18px; color: var(--slate); font-size: 14px; }
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; counter-reset: j; }
.journey > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; position: relative; }
.journey > div::before { counter-increment: j; content: counter(j); display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--logo); color: #fff; font-weight: 800; margin-bottom: 8px; }
.journey b { display: block; }
.journey span { font-size: 13px; color: var(--slate-l); }
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat h3 { margin: 0 0 4px; font-size: 16px; }
.feat p { margin: 0; color: var(--slate); font-size: 14px; }
.foot { margin-top: 64px; padding: 26px 16px; border-top: 1px solid var(--line); color: var(--slate-l); font-size: 13px; text-align: center; }
.foot img { height: 26px; margin-bottom: 8px; }

/* ---------- dashboard ---------- */
.welcome { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.welcome h1 { margin: 0; font-size: clamp(24px, 3vw, 32px); }
.idbox { background: #fff; border: 1.5px dashed var(--teal); border-radius: 12px; padding: 10px 14px; font-size: 13px; }
.idbox b { font-size: 18px; color: var(--blue); letter-spacing: 1px; }
.track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 22px 0; }
.track div { height: 8px; border-radius: 4px; background: var(--line); }
.track div.done { background: var(--hero); }
.track-l { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; font-size: 12px; color: var(--slate-l); margin-top: -16px; margin-bottom: 18px; }
.mrow { display: flex; gap: 16px; align-items: center; }
.mrow .mi { width: 54px; height: 54px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; flex: none; }
.mrow h3 { margin: 0; font-size: 16px; }
.mrow .meta { font-size: 13px; color: var(--slate-l); }
.mrow .act { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--logo); }
@media (max-width: 560px) { .mrow { flex-wrap: wrap; } .mrow .act { margin-left: 70px; align-items: flex-start; } }

/* ---------- slideshow stage ---------- */
.deck { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.deck-top { width: 100%; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.deck-top .t { font-weight: 700; color: var(--slate); font-size: 14px; }
.stage { container-type: inline-size; position: relative; width: min(100%, calc((100vh - 190px) * 16 / 9)); aspect-ratio: 16 / 9;
  background: #fff; border-radius: 18px; box-shadow: 0 2px 4px rgba(15,23,42,.05), 0 24px 60px rgba(15,23,42,.12);
  overflow: hidden; border: 1px solid var(--line); }
.stage.fs { width: min(100vw, calc(100vh * 16 / 9)); border-radius: 0; }
.deck.fsmode { position: fixed; inset: 0; z-index: 50; background: #0F172A; justify-content: center; padding: 0; gap: 0; }
.deck.fsmode .deck-top, .deck.fsmode .deck-nav { position: absolute; z-index: 3; }
.deck.fsmode .deck-top { top: 8px; left: 12px; right: 12px; width: auto; }
.deck.fsmode .deck-top .t { color: #CBD5E1; }
.deck.fsmode .deck-nav { bottom: 10px; }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 4.6cqw 5.4cqw 4.2cqw; font-size: 1.62cqw; color: var(--ink); }
.slide::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: .7cqw; background: var(--hero); }
.s-head { display: flex; align-items: center; gap: 1.2cqw; font-size: 1.05cqw; color: var(--slate-l); font-weight: 600; letter-spacing: .08cqw; text-transform: uppercase; }
.s-head .chip { background: var(--soft); color: var(--blue); padding: .35cqw 1cqw; border-radius: 99cqw; font-weight: 800; }
.s-head img { height: 2.3cqw; margin-left: auto; }
.s-title { display: flex; align-items: center; gap: 1.6cqw; margin: 2cqw 0 1.6cqw; }
.s-title h2 { font-size: 3.3cqw; margin: 0; font-weight: 800; letter-spacing: -.06cqw; line-height: 1.15; }
.s-title .icon { width: 5.2cqw; height: 5.2cqw; }
.s-body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 1.4cqw; }
.s-text { font-size: 1.85cqw; color: var(--slate); line-height: 1.5; max-width: 80cqw; }
.s-pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1cqw; }
.s-pts li { display: flex; gap: 1.2cqw; align-items: flex-start; font-size: 1.75cqw; line-height: 1.4; }
.s-pts li::before { content: ""; flex: none; width: 1.1cqw; height: 1.1cqw; margin-top: .65cqw; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 .35cqw var(--teal-soft); }
.s-foot { display: flex; align-items: center; gap: 1.2cqw; font-size: 1cqw; color: var(--slate-l); margin-top: 1.2cqw; }
.s-foot .pg { margin-left: auto; font-weight: 700; color: var(--blue); }
.s-prog { position: absolute; left: 0; bottom: 0; height: .45cqw; background: var(--logo); transition: width .3s; }

/* slide kinds */
.k-terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2cqw; }
.k-terms.n3 { grid-template-columns: repeat(3, 1fr); }
.k-terms > div { background: var(--soft); border-radius: 1.2cqw; padding: 1.3cqw 1.6cqw; border-left: .5cqw solid var(--blue); }
.k-terms > div:nth-child(even) { background: var(--teal-soft); border-left-color: var(--teal); }
.k-terms b { display: block; font-size: 1.65cqw; color: var(--blue); margin-bottom: .3cqw; }
.k-terms > div:nth-child(even) b { color: #0f766e; }
.k-terms span { font-size: 1.45cqw; color: var(--slate); line-height: 1.35; display: block; }
.k-steps { display: grid; gap: 1.2cqw; }
.k-steps .st { background: #fff; border: .15cqw solid var(--line); border-radius: 1.2cqw; padding: 1.4cqw; position: relative; }
.k-steps .st i { display: grid; place-items: center; width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: var(--logo); color: #fff; font-style: normal; font-weight: 800; font-size: 1.5cqw; margin-bottom: .8cqw; }
.k-steps .st b { display: block; font-size: 1.6cqw; line-height: 1.25; }
.k-steps .st span { display: block; font-size: 1.35cqw; color: var(--slate); margin-top: .4cqw; line-height: 1.35; }
.k-steps.long { grid-template-columns: repeat(2, 1fr); gap: .8cqw; }
.k-steps.long .st { display: flex; align-items: center; gap: 1.2cqw; padding: .8cqw 1.2cqw; }
.k-steps.long .st i { margin: 0; flex: none; width: 2.6cqw; height: 2.6cqw; font-size: 1.2cqw; }
.k-steps.long .st b { font-size: 1.4cqw; }
.k-steps.long .st span { font-size: 1.2cqw; margin-top: .1cqw; }
.k-dd { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; }
.k-dd > div { border-radius: 1.4cqw; padding: 1.8cqw 2cqw; }
.k-dd .do { background: var(--teal-soft); border: .15cqw solid #99F6E4; }
.k-dd .dont { background: var(--danger-soft); border: .15cqw solid #FECACA; }
.k-dd h3 { margin: 0 0 1cqw; font-size: 2cqw; display: flex; align-items: center; gap: .8cqw; }
.k-dd .do h3 { color: #0f766e; } .k-dd .dont h3 { color: #b91c1c; }
.k-dd ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9cqw; }
.k-dd li { display: flex; gap: 1cqw; font-size: 1.55cqw; line-height: 1.35; }
.k-dd .do li::before { content: "✓"; color: var(--teal); font-weight: 900; }
.k-dd .dont li::before { content: "✕"; color: var(--danger); font-weight: 900; }
.k-callout { border-radius: 1.8cqw; padding: 3cqw 3.4cqw; display: flex; gap: 2.4cqw; align-items: center; }
.k-callout .icon { width: 8cqw; height: 8cqw; flex: none; background: #fff; border-radius: 50%; padding: 1.2cqw; }
.k-callout p { margin: 0; font-size: 2.15cqw; line-height: 1.45; font-weight: 500; }
.tone-red { background: var(--danger-soft); border: .2cqw solid #FECACA; }
.tone-amber { background: var(--orange-soft); border: .2cqw solid #FDE68A; }
.tone-teal { background: var(--teal-soft); border: .2cqw solid #99F6E4; }
.tone-blue { background: var(--soft); border: .2cqw solid #BFDBFE; }
.k-num { display: grid; gap: 1.4cqw; }
.k-num > div { background: #fff; border: .15cqw solid var(--line); border-radius: 1.6cqw; padding: 2.2cqw 1.8cqw; box-shadow: 0 .3cqw 1.2cqw rgba(15,23,42,.05); }
.k-num b { display: block; font-size: 3.4cqw; font-weight: 800; line-height: 1.05; background: var(--logo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.k-num span { display: block; margin-top: .8cqw; font-size: 1.45cqw; color: var(--slate); line-height: 1.35; }
.k-law { border-left: .8cqw solid var(--blue); background: linear-gradient(90deg, var(--soft), #fff 70%); border-radius: 0 1.6cqw 1.6cqw 0; padding: 2.4cqw 3cqw; }
.k-law .ref { display: inline-flex; align-items: center; gap: .8cqw; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.3cqw; padding: .5cqw 1.3cqw; border-radius: 99cqw; margin-bottom: 1.4cqw; }
.k-law p { margin: 0; font-size: 2cqw; line-height: 1.5; color: var(--ink); }
.k-scn { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2cqw; align-items: start; }
.k-scn .sit { background: var(--orange-soft); border: .15cqw solid #FDE68A; border-radius: 1.6cqw; padding: 2cqw; font-size: 1.7cqw; line-height: 1.45; }
.k-scn .sit b { display: block; font-size: 1.15cqw; letter-spacing: .1cqw; text-transform: uppercase; color: #92400e; margin-bottom: .7cqw; }
.k-scn .opts { display: grid; gap: .8cqw; }
.opt { text-align: left; border: .18cqw solid var(--line); background: #fff; border-radius: 1.1cqw; padding: 1cqw 1.3cqw; font-size: 1.45cqw; line-height: 1.3; cursor: pointer; color: var(--ink); display: flex; gap: 1cqw; align-items: flex-start; }
.opt:hover { border-color: var(--blue-l); }
.opt .l { flex: none; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--blue); font-weight: 800; font-size: 1.2cqw; }
.opt.sel { border-color: var(--blue); background: var(--soft); }
.opt.sel .l { background: var(--blue); color: #fff; }
.opt.right { border-color: var(--teal); background: var(--teal-soft); }
.opt.right .l { background: var(--teal); color: #fff; }
.opt.wrong { border-color: #FCA5A5; background: var(--danger-soft); }
.opt.wrong .l { background: var(--danger); color: #fff; }
.explain { margin-top: 1cqw; border-radius: 1.1cqw; padding: 1.1cqw 1.4cqw; font-size: 1.4cqw; line-height: 1.4; background: var(--soft); border-left: .5cqw solid var(--blue); }
.k-recap { display: grid; grid-template-columns: 1fr 1fr; gap: 1cqw 2.4cqw; }
.k-recap div { display: flex; gap: 1.2cqw; font-size: 1.65cqw; line-height: 1.35; align-items: flex-start; }
.k-recap .icon { width: 2.8cqw; height: 2.8cqw; flex: none; }

/* hero-style slides: lead & cover */
.slide.hero-s { background: var(--hero); color: #fff; }
.slide.hero-s::before { display: none; }
.slide.hero-s::after { content: ""; position: absolute; right: -8cqw; bottom: -12cqw; width: 42cqw; height: 42cqw; background: url(/brand/lemon.png) center/contain no-repeat; opacity: .12; }
.slide.hero-s .s-head, .slide.hero-s .s-foot { color: rgba(255,255,255,.85); }
.slide.hero-s .s-head .chip { background: rgba(255,255,255,.18); color: #fff; }
.slide.hero-s .s-foot .pg { color: #fff; }
.slide.hero-s .s-head img { filter: brightness(0) invert(1); }
.lead-wrap { display: flex; gap: 3.2cqw; align-items: center; position: relative; z-index: 1; }
.lead-wrap .ic { width: 13cqw; height: 13cqw; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1cqw 3cqw rgba(0,0,0,.15); }
.lead-wrap .ic .icon { width: 8.5cqw; height: 8.5cqw; }
.lead-wrap h2 { font-size: 4cqw; margin: 0 0 1.4cqw; font-weight: 800; line-height: 1.12; }
.lead-wrap p { margin: 0; font-size: 2cqw; line-height: 1.5; opacity: .96; }
.cover .mnum { font-size: 1.5cqw; font-weight: 800; letter-spacing: .3cqw; text-transform: uppercase; opacity: .9; }
.cover h1 { font-size: 5cqw; margin: .8cqw 0 1cqw; line-height: 1.08; font-weight: 800; max-width: 70cqw; }
.cover .sub { font-size: 2.1cqw; opacity: .95; max-width: 70cqw; }
.cover .outc { margin-top: 2.6cqw; background: rgba(255,255,255,.14); border: .15cqw solid rgba(255,255,255,.35); border-radius: 1.6cqw; padding: 1.8cqw 2.2cqw; max-width: 74cqw; position: relative; z-index: 1; }
.cover .outc b { font-size: 1.3cqw; letter-spacing: .15cqw; text-transform: uppercase; }
.cover .outc ul { margin: .8cqw 0 0; padding-left: 2.2cqw; font-size: 1.6cqw; line-height: 1.45; }
.cover .dur { display: inline-flex; gap: 1cqw; margin-top: 1.6cqw; font-size: 1.4cqw; font-weight: 700; }
.cover .dur span { background: rgba(255,255,255,.18); padding: .5cqw 1.2cqw; border-radius: 99cqw; }

/* quiz slides */
.q-wrap { display: grid; gap: 1.6cqw; }
.q-wrap .q { font-size: 2.3cqw; font-weight: 700; line-height: 1.35; }
.q-wrap .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqw; }
.q-wrap .opt { font-size: 1.7cqw; padding: 1.5cqw 1.6cqw; }
.q-wrap .opt .l { width: 3cqw; height: 3cqw; font-size: 1.4cqw; }
.dots { display: flex; gap: .5cqw; flex-wrap: wrap; }
.dots i { width: 1cqw; height: 1cqw; border-radius: 50%; background: var(--line); }
.dots i.a { background: var(--teal); } .dots i.c { background: var(--blue); box-shadow: 0 0 0 .3cqw var(--soft); }
.result { text-align: center; display: grid; gap: 1.2cqw; justify-items: center; }
.ring { width: 17cqw; height: 17cqw; border-radius: 50%; display: grid; place-items: center; position: relative; }
.ring b { font-size: 4.4cqw; font-weight: 800; color: var(--blue); }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--teal) calc(var(--p) * 1%), var(--line) 0); -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%); mask: radial-gradient(circle, transparent 62%, #000 63%); }
.result h2 { margin: 0; font-size: 3cqw; }
.result p { margin: 0; font-size: 1.7cqw; color: var(--slate); max-width: 60cqw; }
.rev { display: grid; gap: .8cqw; text-align: left; width: 100%; max-height: 100%; overflow: auto; }
.rev div { font-size: 1.35cqw; padding: .8cqw 1.2cqw; border-radius: 1cqw; background: var(--teal-soft); }
.rev div.x { background: var(--danger-soft); }

.deck-nav { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.deck-nav .btn { min-width: 120px; }
.kbd { font-size: 12px; color: var(--slate-l); }

/* portrait phones: keep slideshow mode, re-flow to a tall slide */
@media (max-width: 720px) and (orientation: portrait) {
  .stage { width: 100%; aspect-ratio: auto; height: calc(100vh - 210px); min-height: 520px; }
  .stage.fs { height: 100vh; }
  .slide { font-size: 4cqw; padding: 7cqw 6cqw 6cqw; overflow-y: auto; }
  .slide::before { height: 1.4cqw; }
  .s-head { font-size: 2.8cqw; } .s-head img { height: 5.5cqw; }
  .s-title h2 { font-size: 6.6cqw; } .s-title .icon { width: 11cqw; height: 11cqw; }
  .s-text { font-size: 4.3cqw; max-width: none; } .s-pts li { font-size: 4.1cqw; gap: 3cqw; }
  .s-pts li::before { width: 2.6cqw; height: 2.6cqw; margin-top: 1.5cqw; }
  .s-body { justify-content: flex-start; gap: 3.4cqw; }
  .s-foot { font-size: 2.8cqw; }
  .k-terms, .k-terms.n3, .k-dd, .k-scn, .k-recap, .q-wrap .opts, .k-steps.long { grid-template-columns: 1fr !important; }
  .k-terms b { font-size: 4.2cqw; } .k-terms span { font-size: 3.8cqw; } .k-terms > div { padding: 3cqw 3.6cqw; border-radius: 3cqw; }
  .k-steps { grid-template-columns: 1fr !important; } .k-steps .st, .k-steps.long .st { display: flex; gap: 3cqw; align-items: center; padding: 2.6cqw 3cqw; border-radius: 3cqw; }
  .k-steps .st i, .k-steps.long .st i { width: 8cqw; height: 8cqw; font-size: 3.6cqw; margin: 0; flex: none; }
  .k-steps .st b, .k-steps.long .st b { font-size: 4.1cqw; } .k-steps .st span, .k-steps.long .st span { font-size: 3.6cqw; }
  .k-dd h3 { font-size: 5cqw; } .k-dd li { font-size: 4cqw; gap: 2.4cqw; } .k-dd > div { padding: 4cqw; border-radius: 3cqw; }
  .k-callout { flex-direction: column; text-align: center; padding: 6cqw; border-radius: 4cqw; } .k-callout .icon { width: 20cqw; height: 20cqw; padding: 3cqw; } .k-callout p { font-size: 4.8cqw; }
  .k-num { grid-template-columns: 1fr 1fr !important; gap: 3cqw; } .k-num b { font-size: 7cqw; } .k-num span { font-size: 3.5cqw; margin-top: 1.6cqw; } .k-num > div { padding: 4cqw; border-radius: 3cqw; }
  .k-law { padding: 5cqw; } .k-law .ref { font-size: 3.2cqw; padding: 1.2cqw 3cqw; margin-bottom: 3cqw; } .k-law p { font-size: 4.4cqw; }
  .k-scn .sit { font-size: 4.1cqw; padding: 4cqw; border-radius: 3cqw; } .k-scn .sit b { font-size: 2.8cqw; }
  .opt, .q-wrap .opt { font-size: 3.9cqw; padding: 3cqw; border-radius: 3cqw; gap: 3cqw; } .opt .l, .q-wrap .opt .l { width: 6.5cqw; height: 6.5cqw; font-size: 3.2cqw; }
  .explain { font-size: 3.7cqw; padding: 3cqw; border-radius: 3cqw; }
  .k-recap div { font-size: 4.1cqw; gap: 3cqw; } .k-recap .icon { width: 7cqw; height: 7cqw; }
  .lead-wrap { flex-direction: column; text-align: center; } .lead-wrap .ic { width: 30cqw; height: 30cqw; } .lead-wrap .ic .icon { width: 19cqw; height: 19cqw; }
  .lead-wrap h2 { font-size: 8cqw; } .lead-wrap p { font-size: 4.4cqw; }
  .cover h1 { font-size: 9.5cqw; max-width: none; } .cover .mnum { font-size: 3.4cqw; } .cover .sub { font-size: 4.6cqw; max-width: none; }
  .cover .outc { max-width: none; padding: 4cqw; } .cover .outc b { font-size: 3cqw; } .cover .outc ul { font-size: 3.9cqw; padding-left: 5cqw; } .cover .dur { font-size: 3.4cqw; }
  .q-wrap .q { font-size: 5cqw; } .dots i { width: 2.4cqw; height: 2.4cqw; }
  .ring { width: 40cqw; height: 40cqw; } .ring b { font-size: 10cqw; } .result h2 { font-size: 7cqw; } .result p { font-size: 4cqw; } .rev div { font-size: 3.5cqw; padding: 2.4cqw; }
  .s-prog { height: 1.2cqw; }
  .s-head > span:nth-child(2), .s-foot > span:first-child, .deck-top .t, .kbd { display: none; }
  .s-head .chip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62cqw; }
}

/* ---------- certificates & verify ---------- */
.cert-card { position: relative; overflow: hidden; }
.cert-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--hero); }
.cert-card h3 { margin: 6px 0 4px; }
.cert-no { font-family: ui-monospace, Menlo, monospace; font-size: 14px; color: var(--blue); font-weight: 700; }
.verify-ok { border-left: 6px solid var(--teal); }
.verify-bad { border-left: 6px solid var(--danger); }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--slate-l); } .kv dd { margin: 0; font-weight: 600; }
.fp { font-family: ui-monospace, Menlo, monospace; font-size: 12px; word-break: break-all; color: var(--slate); }

/* likert */
.lk { display: grid; gap: 14px; }
.lk .row { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.lk .row p { margin: 0 0 10px; font-weight: 600; }
.lk .sc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.lk .sc button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 4px; font-size: 12px; cursor: pointer; color: var(--slate); }
.lk .sc button.on { background: var(--blue); color: #fff; border-color: var(--blue); }

/* admin */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.kpis .stat b { font-size: 26px; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; color: var(--slate-l); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; padding: 8px; border-bottom: 1px solid var(--line); }
table.t td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hbar { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; min-width: 80px; }
.hbar i { display: block; height: 100%; background: var(--logo); }
.scroll { overflow-x: auto; }

/* poster / pocket guide */
.poster { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; }
.poster .ph { background: var(--hero); color: #fff; padding: 28px 32px; }
.poster .ph h1 { margin: 6px 0 0; font-size: 30px; }
.poster ol { margin: 0; padding: 22px 32px 10px 60px; display: grid; gap: 10px; font-size: 18px; }
.poster ol li::marker { color: var(--teal2); font-weight: 800; }
.poster .pl { margin: 12px 32px 24px; padding: 16px 18px; background: var(--orange-soft); border-left: 5px solid var(--orange); border-radius: 10px; font-style: italic; }
.poster .pf { display: flex; justify-content: space-between; align-items: center; padding: 14px 32px; border-top: 1px solid var(--line); font-size: 12px; color: var(--slate-l); }
.poster .pf img { height: 24px; }
@media print {
  .top, .foot, .noprint { display: none !important; }
  body { background: #fff; } main { padding: 0; }
  .poster { box-shadow: none; border: 0; }
}
