/*
Theme Name: Exam Hub Pro
Theme URI: https://erojgarresult.com/
Author: Exam Hub
Description: सरकारी परीक्षाओं के लिए टाइपिंग टेस्ट थीम — English, Krutidev, Mangal.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: examhub-pro
*/

:root{
  --bg:#f5f7fb; --paper:#ffffff; --ink:#0f172a; --ink2:#334155; --mute:#64748b; --line:#e2e8f0;
  --acc:#f97316; --acc2:#ffedd5; --ind:#4f46e5; --ind2:#eef2ff; --ok:#12805c; --okbg:#e3f5ec; --no:#c62f2f; --nobg:#fde8e8; --half:#b7791f; --halfbg:#fff3d6;
  --r:16px; --sh:0 1px 0 rgba(20,22,26,.04),0 8px 24px -12px rgba(20,22,26,.18);
  --f:Inter,"Noto Sans Devanagari",system-ui,-apple-system,"Segoe UI",sans-serif;
  --fh:"Noto Sans Devanagari",Inter,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 var(--f);-webkit-font-smoothing:antialiased}
a{color:inherit}
img{max-width:100%;height:auto}
h1,h2,h3,h4{line-height:1.2;margin:0 0 .6em;letter-spacing:-.015em}
h1{font-size:clamp(28px,4.2vw,46px);font-weight:800}
h2{font-size:clamp(22px,2.6vw,30px);font-weight:800}
h3{font-size:18px;font-weight:700}
p{margin:0 0 1em}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px}
.muted{color:var(--mute)} .small{font-size:13px}
[hidden]{display:none!important}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:8px;border:1.5px solid var(--ink);border-radius:12px;padding:10px 20px;font-weight:600;font-size:15px;text-decoration:none;cursor:pointer;background:transparent;color:var(--ink);transition:.15s;font-family:inherit;white-space:nowrap}
.btn:hover{transform:translateY(-1px)}
.btn.dark{background:var(--ind);border-color:var(--ind);color:#fff;box-shadow:0 6px 16px -6px rgba(79,70,229,.6)}
.btn.dark:hover{background:#4338ca}
.btn.ghost{background:var(--paper);border-color:var(--line)}
.btn.sm{padding:7px 14px;font-size:14px}
.btn.lg{padding:14px 26px;font-size:16px}
.btn.tg{background:#229ED9;border-color:#229ED9;color:#fff}
.btn.tg.alt{background:#fff;color:#1d8bc0;border-color:#229ED9}
.eh-tg{display:flex;gap:10px;flex-wrap:wrap}
.eh-tg.inline{display:inline-flex}

/* notice + header */
.eh-notice{background:linear-gradient(90deg,var(--ind),#7c3aed);color:#fff;text-align:center;font-size:13.5px;padding:7px 12px}
.eh-notice a{text-decoration:none;color:#ffd4b8}
.eh-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.eh-header-in{display:flex;align-items:center;justify-content:space-between;height:68px;gap:20px}
.eh-logo{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:800;font-size:18px}
.eh-logo-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,var(--ind),#7c3aed);color:#fff;display:grid;place-items:center;font-size:14px;letter-spacing:.5px;box-shadow:inset 0 -3px 0 var(--acc)}
.eh-nav{display:flex;align-items:center;gap:22px}
.eh-menu{display:flex;gap:4px;list-style:none;margin:0;padding:0}
.eh-menu a{display:block;text-decoration:none;padding:8px 12px;border-radius:10px;font-weight:500;font-size:15px;color:var(--ink2)}
.eh-menu a:hover,.eh-menu .current-menu-item a{background:var(--paper);color:var(--ink)}
.eh-auth{display:flex;gap:8px}
.eh-burger{display:none;background:none;border:0;font-size:26px;cursor:pointer}

/* hero */
.eh-hero{padding:60px 0 46px;background:radial-gradient(900px 400px at 85% 10%,#e0e7ff 0,transparent 60%),radial-gradient(700px 360px at 0% 100%,#ffedd5 0,transparent 60%)}
.eh-hero-in{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.eh-kicker{display:inline-block;background:var(--ind2);color:var(--ind);font-weight:600;font-size:13px;padding:5px 12px;border-radius:999px;margin-bottom:16px}
.eh-hero h1{font-family:var(--fh)}
.eh-hero h1 em{font-style:normal;background:linear-gradient(90deg,var(--ind),var(--acc));-webkit-background-clip:text;background-clip:text;color:transparent}
.lead{font-size:18px;color:var(--ink2);max-width:560px}
.eh-hero-btns{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 30px}
.eh-stats{display:flex;gap:34px}
.eh-stats b{display:block;font-size:28px;font-weight:800}
.eh-stats span{color:var(--mute);font-size:14px}
.eh-hero-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:0 30px 60px -30px rgba(79,70,229,.45)}
.eh-mock-top{display:flex;gap:6px;align-items:center;margin-bottom:14px}
.eh-mock-top span{width:10px;height:10px;border-radius:50%;background:var(--line)}
.eh-mock-top b{margin-left:auto;background:var(--ind);color:#fff;border-radius:8px;padding:2px 10px;font-size:14px;font-variant-numeric:tabular-nums}
.eh-mock-text{font-size:15px;color:var(--ink2);border-bottom:1px dashed var(--line);padding-bottom:12px}
.eh-mock-text i{font-style:normal;background:var(--acc2);border-radius:4px;padding:0 3px}
.eh-mock-input{font-size:15px;background:#fff;border:1.5px solid var(--ind);border-radius:12px;padding:12px;min-height:76px}
.caret{display:inline-block;width:2px;height:17px;background:var(--acc);vertical-align:-3px;animation:blink 1s infinite}
@keyframes blink{50%{opacity:0}}
.eh-mock-res{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;font-size:13px}
.eh-mock-res span{background:var(--bg);border-radius:8px;padding:5px 10px}
.eh-mock-res .ok{background:var(--okbg);color:var(--ok);font-weight:700}

/* sections */
.eh-section{padding:36px 20px}
.eh-sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px}
.eh-sec-head a{font-weight:600;text-decoration:none;white-space:nowrap}
.eh-page-head{padding:40px 0 10px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,#eef2ff 0,#fff7ed 100%)}
.eh-page-head.slim{padding:30px 0 6px}
.eh-two{display:grid;grid-template-columns:1.2fr .8fr;gap:36px}
.eh-band{background:linear-gradient(135deg,#0f172a,#1e1b4b);color:#fff;padding:46px 0;margin:20px 0}

/* exam cards */
.eh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.eh-card{background:var(--paper);border:1px solid var(--line);border-top:3px solid var(--acc);border-radius:var(--r);padding:18px;text-decoration:none;display:flex;flex-direction:column;transition:.15s}
.eh-card:hover{border-color:var(--ind);box-shadow:var(--sh);transform:translateY(-2px)}
.eh-card-top{display:flex;gap:6px;min-height:22px}
.eh-card h3{margin:12px 0 18px;font-size:16.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.5em}
.eh-card-meta{display:flex;justify-content:space-between;border-top:1px dashed var(--line);border-bottom:1px dashed var(--line);padding:10px 0;font-size:14px;color:var(--mute)}
.eh-card-meta b{color:var(--ink);font-size:18px}
.eh-card-foot{display:flex;justify-content:space-between;margin-top:12px;font-size:13px;color:var(--mute)}
.eh-card-foot .go{color:var(--ind);font-weight:700}
.badge{font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:#eef0f3;color:var(--ink2);text-transform:uppercase;letter-spacing:.3px}
.badge.lang-hi{background:#fff0e5;color:#b2410a}
.badge.lang-en{background:#e8f0ff;color:#2851a3}
.badge.retype{background:#f1e9ff;color:#6b3fb8}
.eh-quick{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.eh-quick a,.eh-quick button{border:1px solid var(--line);background:var(--paper);border-radius:999px;padding:6px 14px;font-size:14px;text-decoration:none;cursor:pointer;font-family:inherit;color:var(--ink2)}
.eh-quick a:hover,.eh-quick button:hover{border-color:var(--ink);color:var(--ink)}
.eh-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:14px 0 16px}
.eh-filters input,.eh-filters select{font:inherit;padding:11px 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;min-width:200px}
.eh-filters input{flex:1;min-width:260px}
.eh-filters input:focus,.eh-filters select:focus{outline:none;border-color:var(--ink)}

/* features */
.eh-feat{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.eh-f span{font-size:28px}
.eh-f h3{margin:10px 0 6px;color:#fff}
.eh-f p{color:#c9ccd3;font-size:14.5px;margin:0}

/* tables */
.eh-table-wrap{overflow-x:auto;background:var(--paper);border:1px solid var(--line);border-radius:var(--r)}
.eh-table{width:100%;border-collapse:collapse;font-size:14.5px}
.eh-table th{text-align:left;font-size:12.5px;text-transform:uppercase;letter-spacing:.4px;color:var(--mute);padding:12px 14px;border-bottom:1px solid var(--line)}
.eh-table td{padding:11px 14px;border-bottom:1px solid #efeadf}
.eh-table tr:last-child td{border-bottom:0}
.pill{font-size:12px;font-weight:700;border-radius:999px;padding:3px 10px}
.pill.ok{background:var(--okbg);color:var(--ok)} .pill.no{background:var(--nobg);color:var(--no)}
.eh-why{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:26px}
.eh-why ul{padding-left:18px;margin:0 0 20px} .eh-why li{margin-bottom:8px}
.eh-faq details{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:14px 18px;margin-bottom:10px}
.eh-faq summary{font-weight:600;cursor:pointer}
.eh-faq p{margin:10px 0 0;color:var(--ink2)}

/* exam page */
.eh-exam-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}
.eh-info{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 24px}
.eh-info div{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:14px}
.eh-info span{display:block;font-size:13px;color:var(--mute)}
.eh-info b{font-size:17px}
.eh-tip{background:var(--halfbg);border:1px solid #f5dfa8;border-radius:12px;padding:12px 14px;font-size:14.5px}

/* test */
.eh-panel{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:var(--sh)}
.eh-form{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}
.eh-form label{display:flex;flex-direction:column;gap:6px;font-size:13.5px;font-weight:600;color:var(--ink2)}
.eh-form label.chk{flex-direction:row;align-items:center;gap:8px;font-weight:500}
.eh-form select,.eh-form input[type=number],.eh-form input[type=text]{font:inherit;font-weight:500;padding:10px 12px;border:1.5px solid var(--line);border-radius:10px;background:#fff}
.eh-rules{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 20px}
.eh-rules span{background:var(--bg);border-radius:10px;padding:8px 12px;font-size:14px}
.eh-testbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.eh-timer{font:800 26px/1 Inter,monospace;font-variant-numeric:tabular-nums;background:var(--ind);color:#fff;border-radius:12px;padding:8px 16px}
.eh-timer.low{background:var(--no);animation:blink 1s infinite}
.eh-passage{height:190px;overflow-y:auto;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px;font-size:19px;line-height:1.85;user-select:none;-webkit-user-select:none}
.eh-passage.hi,.eh-input.hi,.eh-diff.hi{font-family:"Noto Sans Devanagari",Mangal,sans-serif;font-size:21px}
.eh-passage span.cur{background:#ffe08a;border-radius:4px;box-shadow:0 0 0 2px #ffe08a}
.eh-input{width:100%;height:200px;margin-top:14px;resize:vertical;border:2px solid var(--ind);border-radius:14px;padding:14px 16px;font:19px/1.7 var(--f);background:#fff}
.eh-input:focus{outline:none;box-shadow:0 0 0 4px var(--acc2)}
.eh-testfoot{display:flex;justify-content:space-between;align-items:center;margin-top:12px;gap:10px}
.eh-verdict{display:inline-block;font-size:24px;font-weight:800;border-radius:12px;padding:8px 18px;margin-bottom:8px}
.eh-verdict.ok{background:var(--okbg);color:var(--ok)} .eh-verdict.no{background:var(--nobg);color:var(--no)}
.eh-res-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:18px 0}
.eh-stat{background:var(--bg);border-radius:12px;padding:12px 14px}
.eh-stat span{display:block;font-size:12.5px;color:var(--mute)} .eh-stat b{font-size:20px}
.eh-diff{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;line-height:2.1;font-size:17px;max-height:420px;overflow:auto}
.eh-legend{font-size:13px;display:flex;gap:8px;flex-wrap:wrap}
.d-ok{color:var(--ink2)}
.d-sub{background:var(--nobg);color:var(--no);border-radius:4px;padding:1px 4px}
.d-sub s,.d-half s{opacity:.6}
.d-half{background:var(--halfbg);color:var(--half);border-radius:4px;padding:1px 4px}
.d-om{color:var(--no);text-decoration:line-through;opacity:.75}
.d-add{background:#e8f0ff;color:#2851a3;border-radius:4px;padding:1px 4px}
.eh-res-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.eh-live{display:grid;grid-template-columns:1fr 340px;gap:24px;align-items:start}
.eh-switch{display:inline-flex;background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:4px}
.eh-switch a{padding:6px 16px;border-radius:999px;text-decoration:none;font-weight:600}
.eh-switch a.on{background:var(--ind);color:#fff}

/* posts */
.eh-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
.eh-card.post h3{margin:10px 0 4px}
.eh-card.post img{border-radius:10px}
.eh-article{max-width:820px}
.eh-content{font-size:17px}
.eh-content table{width:100%;border-collapse:collapse} .eh-content td,.eh-content th{border:1px solid var(--line);padding:8px}

/* cta + footer */
.eh-cta-strip{margin-top:40px}
.eh-cta-strip .wrap{background:linear-gradient(120deg,#eef2ff,#fff7ed);border:1px solid #dbe2ff;border-radius:22px;padding:26px 30px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.eh-cta-strip h3{font-size:21px;margin:0 0 4px} .eh-cta-strip p{margin:0;color:var(--ink2)}
.eh-footer{margin-top:40px;background:#0b1120;color:#d7d9de;padding:44px 0 20px}
.eh-footer .eh-logo{color:#fff}
.eh-footer .eh-logo-mark{background:#fff;color:var(--ink)}
.eh-foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px}
.eh-footer h4{color:#fff;font-size:15px}
.eh-footer ul{list-style:none;padding:0;margin:0} .eh-footer li{margin-bottom:7px}
.eh-footer a{text-decoration:none;color:#d7d9de} .eh-footer a:hover{color:#fff}
.eh-footer .muted{color:#9aa0aa}
.eh-copy{border-top:1px solid #2b2e35;margin-top:28px;padding-top:16px;font-size:13px;color:#9aa0aa}
.eh-pager{margin-top:20px}

/* responsive */
@media(max-width:980px){
  .eh-hero-in,.eh-two,.eh-live{grid-template-columns:1fr}
  .eh-feat{grid-template-columns:1fr 1fr}
  .eh-res-grid{grid-template-columns:repeat(2,1fr)}
  .eh-form{grid-template-columns:1fr 1fr}
  .eh-foot-grid{grid-template-columns:1fr 1fr}
  .eh-burger{display:block}
  .eh-nav{display:none;position:absolute;top:68px;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:12px 20px 18px}
  body.nav-open .eh-nav{display:flex}
  .eh-menu{flex-direction:column}
  .eh-hero-card{transform:none}
}
@media(max-width:560px){
  .eh-form,.eh-feat,.eh-info{grid-template-columns:1fr}
  .eh-stats{gap:20px}
  .eh-passage{font-size:17px}
}


/* ===== Classic look v2 (cream + black, clean) ===== */
:root{--bg:#efece5;--paper:#fbfaf6;--ink:#111111;--ink2:#2f2f2f;--mute:#6b6b6b;--line:#dad5ca;--acc:#e8590c;--acc2:#fbe3d3;--ind:#111111;--ind2:#e6e2d8;--sh:0 1px 0 rgba(0,0,0,.03)}
body{background:var(--bg)}
h1,h2{font-weight:500;letter-spacing:-.03em}
h1{font-size:clamp(32px,4.6vw,56px)}
.btn{border-radius:999px;border-color:var(--ink)}
.btn.dark{background:#111;border-color:#111;box-shadow:none}
.btn.dark:hover{background:#000}
.btn.ghost{background:transparent;border-color:var(--ink)}
.eh-notice{background:#111}
.eh-notice a{color:#f6c9a8}
.eh-header{background:rgba(239,236,229,.94);border-bottom:1px solid var(--line)}
.eh-logo-mark{background:#111;border-radius:10px;box-shadow:inset 0 -3px 0 var(--acc)}
.eh-menu a{color:#111}
.eh-menu a:hover{background:transparent;text-decoration:underline;text-underline-offset:6px}
.eh-hero{background:none;padding:70px 0 50px}
.eh-kicker{background:transparent;border:1px solid var(--ink);color:var(--ink);border-radius:999px}
.eh-hero h1 em{background:none;color:var(--ink);-webkit-text-fill-color:currentColor;text-decoration:underline;text-decoration-color:var(--acc);text-decoration-thickness:5px;text-underline-offset:8px}
.eh-stats b{font-weight:600}
.eh-hero-card{box-shadow:0 18px 40px -24px rgba(0,0,0,.35);transform:rotate(1.5deg);background:#fff}
.eh-mock-top b{background:#111}
.eh-mock-input{border-color:#111}
.eh-page-head{background:none;border-bottom:1px solid var(--line);padding:46px 0 18px}
.eh-page-head h1{font-size:clamp(28px,4vw,48px)}
.eh-card{background:var(--paper);border:1px solid var(--line);border-top:1px solid var(--line);border-radius:14px}
.eh-card:hover{border-color:#111;box-shadow:none}
.eh-card h3{font-weight:500;font-size:17px}
.eh-card-foot .go{color:#111}
.badge{background:transparent;border:1px solid var(--line);color:var(--ink2)}
.badge.lang-hi{background:var(--acc2);border-color:transparent;color:#a3400c}
.badge.lang-en{background:#e6e2d8;border-color:transparent;color:#111}
.badge.retype{background:#111;color:#fff;border-color:#111}
.eh-quick a,.eh-quick button{background:transparent;border-color:#cfc9bc}
.eh-band{background:#111}
.eh-panel{box-shadow:none;border-radius:16px}
.eh-timer{background:#111}
.eh-input{border-color:#111}
.eh-input:focus{box-shadow:0 0 0 4px #e6e2d8}
.eh-switch a.on{background:#111}
.eh-why,.eh-faq details,.eh-info div,.eh-table-wrap{background:var(--paper)}
.eh-cta-strip .wrap{background:#111;color:#fff;border:0}
.eh-cta-strip p{color:#cfcfcf}
.eh-cta-strip .btn.tg.alt{background:transparent;color:#fff;border-color:#fff}
.eh-footer{background:#e6e2d8;color:#2f2f2f}
.eh-footer h4,.eh-footer .eh-logo{color:#111}
.eh-footer .eh-logo-mark{background:#111;color:#fff}
.eh-footer a{color:#2f2f2f} .eh-footer a:hover{color:#000;text-decoration:underline}
.eh-footer .muted,.eh-copy{color:#6b6b6b}
.eh-copy{border-top-color:#d3cec2}


/* ===== Premium v3 ===== */
:root{--fd:Fraunces,"Noto Sans Devanagari",Georgia,serif}
body{font-size:17px}
h1,h2,.eh-card h3,.eh-step h3,.eh-auth-card h1{font-family:var(--fd)}
h1{font-size:clamp(36px,5.4vw,68px);line-height:1.08;font-weight:600;letter-spacing:-.02em}
h2{font-size:clamp(26px,3.2vw,40px);font-weight:600}
.eh-hero{padding:64px 0 34px;position:relative;overflow:hidden}
.eh-hero::before{content:"";position:absolute;inset:auto -10% -40% 50%;height:520px;background:radial-gradient(closest-side,#f8d7bd,transparent);opacity:.7;pointer-events:none}
.eh-hero-in{grid-template-columns:1.05fr .95fr;position:relative}
.eh-hero h1{font-family:var(--fd)}
.lead{font-size:19.5px;line-height:1.7}
.eh-hero-btns .btn.lg{padding:16px 30px;font-size:17px}
.eh-stats b{font-family:var(--fd);font-size:40px}
.eh-hero-art img{width:100%;height:auto;display:block;filter:drop-shadow(0 30px 40px rgba(0,0,0,.08));animation:float 6s ease-in-out infinite}
@keyframes float{50%{transform:translateY(-10px)}}
.eh-marquee{background:#111;color:#f3efe6;overflow:hidden;padding:14px 0;white-space:nowrap;border-block:1px solid #000}
.eh-marquee-in{display:inline-block;animation:marq 70s linear infinite}
.eh-marquee span{font-family:var(--fd);font-size:20px;margin:0 22px;opacity:.9}
.eh-marquee span::after{content:"✦";color:var(--acc);margin-left:44px;font-size:14px}
@keyframes marq{to{transform:translateX(-50%)}}
.eh-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-top:56px}
.eh-step{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:28px;position:relative;overflow:hidden}
.eh-step b{font-family:var(--fd);font-size:54px;color:var(--acc);line-height:1;display:block;margin-bottom:12px}
.eh-step h3{font-size:24px;margin-bottom:8px}
.eh-step p{color:var(--ink2);margin:0}
.eh-card{padding:22px;border-radius:18px;transition:transform .2s,box-shadow .2s,border-color .2s}
.eh-card:hover{transform:translateY(-4px);box-shadow:0 18px 30px -18px rgba(0,0,0,.35)}
.eh-card h3{font-size:20px;font-weight:600;line-height:1.25}
.eh-card-meta b{font-size:22px;font-family:var(--fd)}
.eh-menu a{font-size:16px}
.eh-logo{font-size:20px}
.eh-section{padding:48px 20px}
.eh-f h3{font-family:var(--fd);font-size:22px}
.eh-f span{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#1f1f1f;font-size:26px}
.eh-why h2{font-size:32px}
.eh-faq summary{font-size:18px}
.eh-table{font-size:15.5px}
.eh-passage{font-size:21px}
.eh-input{font-size:21px}
.eh-passage.hi,.eh-input.hi,.eh-diff.hi{font-size:23px}
.eh-page-head h1{font-size:clamp(32px,4.6vw,56px)}
/* auth pages */
body.eh-authpage{background:var(--bg)}
.eh-auth-top{display:flex;justify-content:space-between;align-items:center;height:76px}
.eh-auth-wrap{max-width:1100px;margin:10px auto 60px;padding:0 20px;display:grid;grid-template-columns:480px 1fr;gap:50px;align-items:center}
.eh-auth-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:36px;box-shadow:0 30px 60px -40px rgba(0,0,0,.4)}
.eh-auth-card h1{font-size:34px;margin-bottom:6px}
.eh-auth-form{display:flex;flex-direction:column;gap:14px;margin-top:6px}
.eh-auth-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;color:var(--ink2)}
.eh-auth-form label.chk{flex-direction:row;align-items:center;gap:8px;font-weight:500}
.eh-auth-form input[type=text],.eh-auth-form input[type=email],.eh-auth-form input[type=tel],.eh-auth-form input[type=password],.eh-auth-form input:not([type]){font:inherit;padding:13px 14px;border:1.5px solid #cfc9bc;border-radius:12px;background:#fff;width:100%}
.eh-auth-form input:focus{outline:none;border-color:#111;box-shadow:0 0 0 4px #ece7dc}
.eh-pw{position:relative;display:block}
.eh-pw button{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:none;cursor:pointer;font-size:16px}
.eh-two-in{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.eh-auth-row{display:flex;justify-content:space-between;font-size:14px}
.btn.block{width:100%;justify-content:center}
.eh-auth-switch{text-align:center;margin:18px 0 0;font-size:15px}
.eh-auth-switch a{font-weight:700}
.eh-alert{background:var(--nobg);color:var(--no);border-radius:12px;padding:10px 14px;margin:12px 0;font-weight:600;font-size:14.5px}
.eh-google{display:flex;justify-content:center;margin:18px 0 6px;min-height:44px}
.eh-or{display:flex;align-items:center;gap:12px;color:var(--mute);font-size:13px;margin:8px 0}
.eh-or::before,.eh-or::after{content:"";flex:1;height:1px;background:var(--line)}
.eh-auth-art img{width:100%;height:auto}
@media(max-width:980px){.eh-steps{grid-template-columns:1fr}.eh-auth-wrap{grid-template-columns:1fr}.eh-auth-art{display:none}}
@media(max-width:560px){body{font-size:16px}.eh-auth-card{padding:24px}.eh-two-in{grid-template-columns:1fr}}

/* live typing + test tools */
.eh-live-hero{padding:48px 0 30px;border-bottom:1px solid var(--line)}
.eh-live-hero-in{display:grid;grid-template-columns:1fr 1.1fr;gap:36px;align-items:end}
.eh-live-dot{display:inline-flex;align-items:center;gap:8px;background:#111;color:#fff;border-radius:999px;padding:5px 14px 5px 12px;font-weight:700;font-size:13px;letter-spacing:1px}
.eh-live-dot::before{content:"";width:9px;height:9px;border-radius:50%;background:#ff3b30;animation:blink 1.2s infinite}
.eh-live-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.eh-lc{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}
.eh-lc span{display:block;font-size:13px;color:var(--mute)}
.eh-lc b{display:block;font-family:var(--fd);font-size:24px;line-height:1.2;margin:6px 0 4px}
.eh-lc em{font-style:normal;font-size:13px;color:var(--mute)}
.eh-lc.dark{background:#111;color:#fff;border-color:#111}.eh-lc.dark span,.eh-lc.dark em{color:#bdbdbd}
.eh-lc.dark b{font-family:Inter,monospace;font-variant-numeric:tabular-nums;font-size:30px;color:#ffb37a}
.eh-live{grid-template-columns:1fr 360px}
.eh-rank-head{display:flex;justify-content:space-between;align-items:baseline}
.eh-rank h2{font-size:26px}
.eh-podium{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:end;gap:8px;margin:12px 0 16px}
.eh-podium .p{background:var(--bg);border-radius:14px 14px 6px 6px;text-align:center;padding:12px 6px}
.eh-podium .p1{order:2;padding-top:26px;background:linear-gradient(#ffe2c7,#fbf1e6)} .eh-podium .p2{order:1} .eh-podium .p3{order:3}
.eh-podium i{font-style:normal;font-size:28px;display:block}
.eh-podium b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eh-podium span{font-size:13px;color:var(--mute)}
.eh-rk-list{margin:0;padding:0 0 0 22px;font-size:15px}
.eh-rk-list li{padding:8px 0;border-bottom:1px solid #efeadf}
.eh-rk-list li span{display:inline-block;width:52%}
.eh-rk-list li b{display:inline-block;width:22%}
.eh-rk-list li em{font-style:normal;color:var(--mute)}
.eh-rk-list li.me{background:var(--acc2);border-radius:8px;padding-left:6px}
.eh-yday{margin-top:16px}
.eh-yday div{display:flex;gap:10px;align-items:center;padding:6px 0}
.eh-yday i{font-style:normal}.eh-yday span{flex:1}
.eh-tools{display:flex;gap:6px;margin-left:auto}
.eh-tools button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:7px 11px;font-weight:700;cursor:pointer;font-family:inherit}
.eh-tools button:hover{border-color:#111}
.eh-testbar{gap:14px}
#eh-test.is-full{position:fixed;inset:0;z-index:999;border-radius:0;overflow:auto;padding:28px 6vw}
#eh-test.is-full .eh-passage{height:38vh}
#eh-test.is-full .eh-input{height:36vh}
@media(max-width:980px){.eh-live-hero-in{grid-template-columns:1fr}.eh-live-cards{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:560px){.eh-live-cards{grid-template-columns:1fr}}

.eh-hero h1{font-size:clamp(34px,4.3vw,58px)}

/* ===== Exam window (TCS style) ===== */
html.eh-exam-on,html.eh-exam-on body{overflow:hidden}
.eh-setup{display:grid;grid-template-columns:1fr 420px;gap:34px;align-items:start;padding:30px}
.eh-setup h2{font-size:34px;margin-bottom:8px}
.eh-setup-r{display:flex;flex-direction:column;gap:14px;background:var(--bg);border-radius:16px;padding:20px}
.eh-setup-r label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px;color:var(--ink2)}
.eh-setup-r select,.eh-setup-r input{font:inherit;padding:12px;border:1.5px solid #cfc9bc;border-radius:12px;background:#fff}
.center{text-align:center}
.eh-exam{position:fixed;inset:0;z-index:100000;background:#fff;color:#111;display:flex;flex-direction:column;font-family:Arial,Helvetica,"Noto Sans Devanagari",sans-serif;overflow:auto}
.ex-top{background:#0d6efd;color:#fff;text-align:center;font-size:17px;padding:10px 12px}
.ex-strip{background:#000;color:#fff;font-size:12px;padding:3px 6px}
.ex-head{display:flex;justify-content:space-between;align-items:center;padding:10px 4vw 6px}
.ex-brand{font-weight:700;color:#6b6b6b;font-size:14px}
.ex-cand{display:flex;align-items:center;gap:14px}
.ex-time{font-size:15px;font-weight:600}
.ex-time b{font-variant-numeric:tabular-nums}
.ex-time.low b{color:#d00;animation:blink 1s infinite}
.ex-photo{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px}
.ex-photo span{width:50px;height:50px;border:1px solid #999;display:grid;place-items:center;font-size:24px;font-weight:700;background:linear-gradient(#eee,#cfcfcf);color:#555;overflow:hidden}
.ex-photo img{width:100%;height:100%;object-fit:cover}
.ex-body{display:grid;grid-template-columns:1fr 175px;gap:20px;padding:0 0 0 2vw;flex:1}
.ex-bar{background:#0d6efd;color:#fff;font-size:14px;padding:6px 24px;display:flex;gap:32px}
.ex-bar b{font-weight:400}
.ex-box{border:1px solid #e3e3e3;border-top:0;border-radius:0 0 6px 6px;padding:12px;max-width:960px}
.eh-exam .eh-passage{height:154px;border:1px solid #333;border-radius:0;background:#fff;padding:6px 10px;font-size:18px;line-height:1.6;text-align:justify;font-family:inherit;box-shadow:none}
.eh-exam .eh-passage.hi,.eh-exam .eh-input.hi{font-family:"Noto Sans Devanagari",Mangal,Arial,sans-serif}
.eh-exam .eh-input{height:116px;margin-top:26px;border:1px solid #0d6efd;border-radius:4px;padding:8px 14px;font:18px/1.6 Arial,"Noto Sans Devanagari",sans-serif;resize:none;box-shadow:none}
.eh-exam .eh-input:focus{box-shadow:0 0 0 3px rgba(13,110,253,.18);outline:none}
.eh-exam.tcs .eh-passage span.cur{background:#ffe08a}
.ex-stats{border:1px solid #e3e3e3;padding:12px 8px;font-size:13px;align-self:start;margin-top:-30px;background:#fff}
.ex-stats p{margin:0 0 16px} .ex-stats b{font-weight:400}
.ex-stats p{font-weight:700}
.ex-stats.off .ex-st-body{visibility:hidden}
.ex-st-h{display:flex;align-items:center;gap:8px;margin-bottom:14px;font-size:13px}
.sw,.tg{position:relative;display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.sw input,.tg input{position:absolute;opacity:0;width:0;height:0}
.sw i,.tg i{width:28px;height:16px;border-radius:999px;background:#ccc;position:relative;transition:.15s;flex:none}
.sw i::after,.tg i::after{content:"";position:absolute;width:12px;height:12px;border-radius:50%;background:#fff;top:2px;left:2px;transition:.15s}
.sw input:checked+i,.tg input:checked+i{background:#0d6efd}
.sw input:checked+i::after,.tg input:checked+i::after{left:14px}
.ex-foot{display:flex;justify-content:space-between;max-width:960px;padding:26px 4vw 30px 22vw;box-sizing:border-box;width:100%}
.ex-btn{border:0;border-radius:4px;padding:9px 14px;font-weight:700;font-size:15px;color:#fff;cursor:pointer;font-family:inherit;min-width:70px}
.ex-btn.red{background:#dc3545} .ex-btn.blue{background:#2f80d1}
.ex-gear{position:fixed;right:18px;bottom:18px;width:44px;height:44px;border-radius:50%;border:0;background:#111;color:#fff;font-size:22px;cursor:pointer;z-index:100001}
.ex-drawer{position:fixed;top:0;right:0;bottom:0;width:340px;max-width:92vw;background:#fff;box-shadow:-10px 0 40px rgba(0,0,0,.25);z-index:100002;padding:18px 20px;display:flex;flex-direction:column;gap:6px;font-size:14px}
.ex-dr-h{display:flex;justify-content:center;position:relative;margin-bottom:10px;font-size:18px}
.ex-dr-h button{position:absolute;right:0;top:0;border:0;background:none;font-size:18px;cursor:pointer}
.ex-drawer details{border-bottom:1px solid #eee;padding:10px 0}
.ex-drawer summary{font-weight:700;cursor:pointer;padding:6px 4px}
.ex-drawer details[open] summary{background:#f1f4f8;border-radius:6px}
.ex-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 4px 4px;flex-wrap:wrap}
.ex-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 10px;padding:12px 4px 4px}
.ex-fs{display:flex;align-items:center;gap:6px;font-weight:600}
.ex-fs button,.ex-mini{border:1px solid #0d6efd;color:#0d6efd;background:#fff;border-radius:4px;padding:4px 9px;cursor:pointer;font-weight:700}
.ex-dr-close{margin-top:auto;align-self:flex-end}
.eh-exam:fullscreen{overflow:auto}
@media(max-width:900px){.ex-body{grid-template-columns:1fr;padding:0 2vw}.ex-stats{margin-top:0}.ex-foot{padding:20px 4vw}.eh-setup{grid-template-columns:1fr}}
.ex-head{padding:8px 1.5vw 14px 4vw}
.ex-cand{margin-right:180px}
.ex-stats{margin-top:-62px}
.ex-box{max-width:1010px}
.ex-foot{max-width:1060px;padding:24px 0 30px 0;margin-left:2vw;justify-content:space-around}
.ex-photo b{font-size:12px;letter-spacing:.3px}
@media(max-width:900px){.ex-cand{margin-right:0}.ex-stats{margin-top:0}}

/* ===== Exam window — AR/TCS dimensions (base 1920px) ===== */
@font-face{font-family:"EHKruti";src:local("Kruti Dev 010"),local("KrutiDev010"),local("Kruti Dev 010 Regular"),url("assets/fonts/krutidev010.ttf") format("truetype");font-display:swap}
.eh-exam{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans Devanagari",sans-serif;color:#1a202c;background:#fff;display:block}
.eh-exam .ex-top{background:#007bff;height:47px;box-sizing:border-box;padding:10px 12px;font-size:18px;font-weight:500;line-height:27px;text-align:center;color:#fff}
.eh-exam .ex-strip{background:#000;height:24px;box-sizing:border-box;padding:3px 4px;font-size:12px;font-weight:500;line-height:18px;color:#fff}
.eh-exam .ex-head{position:relative;height:105px;padding:0;margin:0;display:block}
.eh-exam .ex-time{position:absolute;left:84.74vw;top:43px;font-size:16px;font-weight:700;line-height:24px;white-space:nowrap}
.eh-exam .ex-time b{font-weight:700}
.eh-exam .ex-photo{position:absolute;left:91.98vw;top:1px;display:flex;flex-direction:column;align-items:center;gap:2px}
.eh-exam .ex-photo span{width:57px;height:60px;box-sizing:border-box;padding:4px;border:1px solid #a0aec0;background:linear-gradient(#f2f2f2,#cfd4da);display:grid;place-items:center;font-size:26px;font-weight:700;color:#4a5568}
.eh-exam .ex-photo b{font-size:14px;font-weight:700;line-height:26px}
.eh-exam .ex-body{position:relative;display:block;padding:0;grid-template-columns:none}
.eh-exam .ex-main{margin-left:1.98vw;width:80vw}
.eh-exam .ex-bar{background:#007bff;height:32px;box-sizing:border-box;padding:0 0 0 32px;display:flex;gap:41px;align-items:center;font-size:16px;line-height:29.92px;color:#fff}
.eh-exam .ex-bar b{font-weight:400}
.eh-exam .ex-box{width:75%;max-width:none;box-sizing:border-box;padding:16px;border:1px solid #e2e8f0;border-radius:6px}
.eh-exam .eh-passage{height:187px;box-sizing:border-box;border:1px solid #000;border-radius:0;padding:0 10px;font-size:20px;line-height:30px;text-align:justify;overflow-y:auto;color:#000;background:#fff;font-family:inherit}
.eh-exam .eh-passage.hi{font-size:22px;line-height:1.2044}
.eh-exam .eh-input{display:block;width:100%;height:140px;box-sizing:border-box;margin-top:32px;border:1px solid #3182ce;border-radius:6px;padding:8px 16px;font:500 24px/33px -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"Noto Sans Devanagari",sans-serif;color:#000;resize:none}
.eh-exam .eh-input.hi{font-family:"Noto Sans Devanagari",Mangal,Arial,sans-serif}
.eh-exam .eh-passage span.cur{background:#ffe08a}
.eh-exam .ex-stats{position:absolute;right:0;top:32px;width:10.9vw;min-width:190px;box-sizing:border-box;margin:0;padding:0 8px;border:1px solid #e2e8f0;background:#fff;font-size:16px}
.eh-exam .ex-st-h{font-size:14px;padding-top:12px;margin:0 0 16px;line-height:26px}
.eh-exam .ex-stats p{margin:0 0 16px;font-size:16px;font-weight:700;line-height:29.92px}
.eh-exam .ex-stats p b{font-size:14px;font-weight:400}
.eh-exam .ex-foot{position:relative;height:40px;margin:69px 0 40px;padding:0;max-width:none;display:block}
.eh-exam .ex-btn{position:absolute;top:0;height:40px;padding:0 16px;border-radius:6px;font-size:16px;font-weight:600;min-width:0}
.eh-exam .ex-btn.red{left:23.7vw;background:#e53e3e}
.eh-exam .ex-btn.blue{left:71.82vw;background:#3182ce}
.eh-exam .ex-gear{right:20px;bottom:20px;width:40px;height:40px;background:#805ad5;font-size:20px}
.eh-exam .ex-drawer .ex-btn{position:static}
@media(max-width:1100px){
  .eh-exam .ex-time{left:auto;right:90px}.eh-exam .ex-photo{left:auto;right:16px}
  .eh-exam .ex-main{width:auto;margin:0 2vw}.eh-exam .ex-box{width:100%}
  .eh-exam .ex-stats{position:static;width:auto;margin:12px 2vw}
  .eh-exam .ex-foot{display:flex;justify-content:space-around}.eh-exam .ex-btn{position:static}
}
