/* EduVirsa School Snapshot — follows eduvirsa.com: cream paper, deep green, gold, Fraunces headings */
:root{--ink:#0d1f30;--ink-soft:#4b5866;--line:#dcd3c1;--bg:#f8f5ee;--bg-soft:#efe9dc;--card:#fffdf8;--brand:#105830;--brand-2:#0c4626;--brand-soft:#e2ece4;--gold:#c09828;--gold-ink:#86670f;--gold-soft:#f6ecd0;--navy:#081828;--serif:Fraunces,'Iowan Old Style','Palatino Linotype',Georgia,serif;--shadow:0 1px 0 rgba(11,27,43,.04),0 18px 36px -26px rgba(11,27,43,.4)}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,-apple-system,'Segoe UI',Roboto,'Noto Sans',sans-serif;min-height:100vh;display:flex;flex-direction:column}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
a{color:var(--brand)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
#quiz-app{flex:1;display:flex;flex-direction:column}
.ur{font-family:'Noto Nastaliq Urdu','Jameel Noori Nastaleeq',serif;direction:rtl;letter-spacing:0}

/* top bar */
.bar{background:var(--card);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px}
.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font:600 19px/1 var(--serif)}
.brand img{border-radius:8px;display:block}
.brand small{font:600 12px system-ui,sans-serif;color:var(--gold-ink);margin-inline-start:6px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
@media(max-width:400px){.brand{font-size:17px}.brand small{font-size:10px;letter-spacing:.03em}}
.lang{background:transparent;border:1px solid var(--line);color:var(--ink);border-radius:99px;padding:5px 14px;font-size:14px;font-weight:700;line-height:1.6}
.lang .ur{font-size:13px;line-height:1.2}

.wrap{flex:1;width:100%;max-width:640px;margin:0 auto;padding:16px}
.wrap.wide{max-width:820px}

/* start */
.start{text-align:center;padding:22px 4px 8px}
.dot{display:inline-flex;align-items:center;gap:8px;color:var(--gold-ink);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin:0 0 8px}
.dot:before{content:'';width:7px;height:7px;border-radius:50%;background:var(--gold)}
.start h1{font-size:29px;line-height:1.9;margin:0 0 2px;color:var(--ink);font-weight:600}
.start h1 em{font-style:normal;color:var(--brand)}
.start-sub{margin:0 0 22px;color:var(--ink-soft);display:flex;flex-direction:column;gap:2px}
.start-sub .ur{font-size:15px;line-height:2}
.start-sub span:last-child{font-size:14px}
.start-btns{display:flex;flex-direction:column;gap:12px}
.start-note{margin:18px 0 0;color:var(--ink-soft);font-size:13px}
.big{display:block;width:100%;text-align:center;text-decoration:none;border:0;border-radius:12px;background:var(--brand);color:#fff;font-weight:700;font-size:17px;padding:15px 18px;box-shadow:var(--shadow)}
.big:hover{background:var(--brand-2)}
.big:disabled{opacity:.6;cursor:wait}
.big.ur{font-size:20px;line-height:1.9;padding:9px 18px;font-weight:600}
.big.alt{background:var(--card);color:var(--brand);border:1.5px solid var(--brand);box-shadow:none}
.big.alt:hover{background:var(--brand-soft)}
.err{color:#c0392b;text-align:center}

/* card */
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px 16px 14px;box-shadow:var(--shadow)}
.meta{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;color:var(--ink-soft);font-weight:700;flex-wrap:wrap}
.card.ur .meta{line-height:2}
.dom{background:var(--brand-soft);color:var(--brand);border-radius:99px;padding:2px 10px;font-size:12px}
.prog{height:5px;background:var(--bg-soft);border-radius:9px;margin:8px 0 14px;overflow:hidden}
.prog span{display:block;height:100%;background:var(--gold);border-radius:9px;transition:width .25s}
.card h2{font:600 22px/1.3 var(--serif);margin:0 0 6px}
.card.ur h2{font:600 20px/2.1 'Noto Nastaliq Urdu',serif}
.tip{color:var(--ink-soft);font-size:14px;margin:0 0 12px}
.card.ur .tip{line-height:2.1}
.opts{display:flex;flex-direction:column;gap:7px}
.opt{display:flex;align-items:center;gap:12px;width:100%;background:#fff;border:1.5px solid var(--line);border-radius:12px;padding:8px 12px;min-height:54px;text-align:start}
.opt b{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:9px;background:var(--bg-soft);font-size:17px}
.opt span{display:flex;flex-direction:column;font-size:16px;font-weight:600;line-height:1.25}
.opt small{font-size:12px;color:var(--ink-soft);font-weight:500}
.card.ur .opt span{line-height:1.9}
.card.ur .opt small{line-height:1.8}
.opt.exp{border-style:dashed;border-color:var(--gold)}
.opt.on{border:1.5px solid var(--brand);background:var(--brand-soft)}
.opt.on b{background:var(--brand);color:#fff}
.howto{font-size:13px;color:var(--gold-ink);margin:10px 0 0}
.card.ur .howto{line-height:2}
.nav{display:flex;justify-content:space-between;margin-top:8px}
.link{background:none;border:0;color:var(--ink-soft);padding:10px 4px;font-size:15px;font-weight:700}
.link.strong{color:var(--brand)}

/* result */
.kick{margin:0;color:var(--gold-ink);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.1em}
.card.ur .kick,.sheet.ur .kick{text-transform:none;letter-spacing:0;font-size:16px}
.overall{display:flex;align-items:center;gap:16px;margin:8px 0 4px}
.overall strong{font:600 26px/1.2 var(--serif);color:var(--brand)}
.ur .overall strong{font:600 24px/1.9 'Noto Nastaliq Urdu',serif}
.overall p{margin:2px 0 0;color:var(--ink);font-size:14px}
.ur .overall p{line-height:2.1}
.ring{--p:0;flex:none;width:98px;height:98px;border-radius:50%;display:grid;place-content:center;text-align:center;background:radial-gradient(var(--card) 60%,transparent 61%),conic-gradient(var(--brand) calc(var(--p)*1%),var(--bg-soft) 0)}
.ring b{font:600 28px/1 var(--serif)}
.ring small{color:var(--ink-soft);font-size:11px}
.ur .ring small{line-height:1.6}
.result h3,.sheet h3{font:600 18px/1.3 var(--serif);margin:20px 0 8px}
.ur.result h3,.sheet.ur h3{font:600 17px/2 'Noto Nastaliq Urdu',serif;margin-top:16px}
.chart{display:flex;flex-direction:column;gap:9px}
.ctop{display:flex;justify-content:space-between;gap:8px;font-size:14px}
.ur .ctop{line-height:2}
.ctrack{position:relative;height:10px;background:var(--bg-soft);border-radius:9px}
.ctrack span{display:block;height:100%;border-radius:9px}
.ctrack span.ok{background:var(--brand)}
.ctrack span.low{background:var(--gold)}
.ctrack i,.legend i{position:absolute;top:-4px;bottom:-4px;width:0;border-inline-start:2px dashed var(--ink)}
.legend{position:relative;font-size:12px;color:var(--ink-soft);margin:2px 0 0;padding-inline-start:12px}
.legend i{top:3px;bottom:3px;inset-inline-start:0}
.ur .legend{line-height:2}
.strong{background:var(--brand-soft);border-radius:12px;padding:9px 12px;margin-top:14px;font-size:15px}
.ur .strong{line-height:2.1}
.pri{margin:0;padding-inline-start:22px}
.pri li{margin:0 0 12px}
.pri strong{font-weight:600}
.pri small{display:block;color:var(--ink-soft);font-size:13px}
.act{margin:6px 0 0;background:var(--gold-soft);border-radius:10px;padding:8px 10px;font-size:14px}
.ur .pri li{line-height:2.1}
.ur .act{line-height:2.1}
.offer{margin-top:20px;border-top:1px solid var(--line);padding-top:4px;display:flex;flex-direction:column;gap:10px}
.offer h3{margin-bottom:2px!important}
.ur .big{font-size:17px;line-height:1.9;padding:9px 16px;font-weight:600}
.hint{color:var(--ink-soft);text-align:center;font-size:12px;margin:0}
.ur .hint{line-height:2}
.campus{margin-top:22px;background:var(--navy);color:#f3efe4;border-radius:14px;padding:16px 16px 12px;display:flex;flex-direction:column;gap:10px}
.campus .kick{color:var(--gold)}
.campus h3{margin:0!important;color:#fff}
.campus ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.campus li{display:flex;flex-direction:column;border-inline-start:3px solid var(--gold);padding-inline-start:10px}
.campus li b{color:#fff;font-size:15px}
.campus li span{font-size:13px;color:#c9d2db}
.ur .campus li b,.ur .campus li span{line-height:1.9}
.campus .big{background:var(--gold);color:var(--navy)}
.campus .big:hover{background:#d4ac3a}
.campus .hint{color:#c9d2db}
.campus .login{color:#f3efe4;text-align:center;font-size:14px;font-weight:700;padding:4px}
.ur .campus .login{line-height:2}
.more{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:16px;font-size:14px}
.more a{font-weight:700;padding:6px}
.more a.wa{color:#1f7d45}
.disc{color:#6d7680;font-size:12px;border-top:1px solid var(--line);margin:14px 0 0;padding-top:12px}
.ur .disc{line-height:2.1}

/* lead form */
#lead-form{display:flex;flex-direction:column;gap:12px;margin-top:10px}
.fld{display:flex;flex-direction:column;gap:4px;font-size:14px;font-weight:600}
.fld small{font-weight:400;color:var(--ink-soft)}
.fld input,.fld select{border:1.5px solid var(--line);border-radius:10px;padding:11px 12px;background:#fff;font-size:16px;width:100%}
.ur .fld input,.ur .fld select{font-family:system-ui,sans-serif}
.ur .fld input[dir=ltr]{text-align:right}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.chk{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--ink-soft)}
.chk input{margin-top:5px;width:20px;height:20px;flex:none;accent-color:var(--brand)}
.ur .chk{line-height:2}
.ferr{color:#c0392b;background:#c0392b14;border-radius:8px;padding:8px 10px;margin:0;font-size:14px}

/* one-page report */
.sheet-tools{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.thanks{background:var(--brand-soft);color:var(--brand);border-radius:12px;padding:10px 12px;margin:0;font-weight:700;text-align:center}
.ur .thanks{line-height:2}
.sheet{background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px 20px;box-shadow:var(--shadow)}
.sh-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid var(--gold);padding-bottom:10px}
.sh-brand{display:flex;align-items:center;gap:10px}
.sh-brand b{display:block;font:600 20px/1.1 var(--serif)}
.sh-brand span{font-size:12px;color:var(--gold-ink);font-weight:700}
.sh-meta{font-size:13px;color:var(--ink-soft)}
.sheet h1{font:600 26px/1.3 var(--serif);margin:14px 0 0;color:var(--brand)}
.sheet.ur h1{font:600 24px/2 'Noto Nastaliq Urdu',serif}
.sh-sub{margin:0 0 6px;color:var(--ink-soft);font-size:14px}
.sh-foot{border-top:1px solid var(--line);margin-top:14px;padding-top:8px;font-size:11px;color:#6d7680}
.sh-foot p{margin:2px 0}
.sheet.ur .sh-foot{line-height:2}

.foot{text-align:center;font-size:12px;color:var(--ink-soft);padding:14px}
.foot a{color:inherit}
@media(min-width:640px){.wrap{padding:32px 16px}.start h1{font-size:38px}.card{padding:26px 28px 18px}.sheet{padding:34px 40px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

@media print{
  @page{size:A4;margin:12mm}
  body{background:#fff}
  .bar,.foot,.sheet-tools{display:none!important}
  .wrap{max-width:none;padding:0}
  .sheet{border:0;box-shadow:none;padding:0;font-size:13px}
  .sheet .ring{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .ctrack,.ctrack span,.act,.strong{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .pri li{break-inside:avoid;margin-bottom:6px}
  /* keep the report on one A4 page */
  .sheet h1{margin-top:8px;font-size:22px}
  .sheet .ring{width:80px;height:80px}.sheet .ring b{font-size:22px}
  .sheet h3{margin:10px 0 4px!important;font-size:15px!important}
  .sheet .chart{gap:3px}.sheet .ctop{font-size:12px;line-height:1.7!important;margin-bottom:4px}.sheet .ctrack{height:8px}
  .sheet .strong{margin-top:8px;padding:5px 10px;font-size:13px;line-height:1.9!important}
  .sheet.ur .pri li,.sheet.ur .act,.sheet.ur .overall p,.sheet.ur .legend{line-height:1.85!important}
  .sheet .act{padding:4px 8px;font-size:12.5px}
  .sheet .pri small{font-size:11.5px}
  .sheet .sh-foot{margin-top:8px;font-size:10px;line-height:1.7!important}
}
