:root{--vm-navy:#0d2b4f;--vm-blue:#1559a6;--vm-sky:#eaf4ff;--vm-green:#0d8b69;--vm-text:#172033;--vm-muted:#657085;--vm-border:#dfe7f0;--vm-bg:#f5f8fc;--vm-white:#fff;--vm-radius:16px;--vm-shadow:0 10px 30px rgba(13,43,79,.08)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--vm-bg);color:var(--vm-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}.vm-shell{width:min(1180px,calc(100% - 32px));margin:auto}.vm-site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);border-bottom:1px solid var(--vm-border);backdrop-filter:blur(12px)}.vm-header-inner{min-height:72px;display:flex;align-items:center;gap:28px}.vm-brand{display:flex;align-items:center;gap:10px;color:var(--vm-navy);text-decoration:none}.vm-brand .custom-logo{max-height:52px;width:auto}.vm-mark{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--vm-blue),var(--vm-navy));color:#fff;font-weight:800;font-size:22px}.vm-brand strong,.vm-brand small{display:block;line-height:1.15}.vm-brand small{color:var(--vm-muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}.vm-primary-nav{margin-left:auto}.vm-menu{display:flex;align-items:center;gap:6px;list-style:none;margin:0;padding:0}.vm-menu a{display:block;padding:10px 12px;border-radius:9px;color:var(--vm-text);font-weight:650;text-decoration:none}.vm-menu a:hover{background:var(--vm-sky);color:var(--vm-blue)}.vm-account,.vm-primary-button{display:inline-flex;align-items:center;justify-content:center;background:var(--vm-blue);color:#fff!important;text-decoration:none;border-radius:10px;padding:10px 17px;font-weight:750}.vm-menu-toggle{display:none;border:0;background:none;font-size:25px}.vm-site-main{min-height:70vh;padding:34px 0 56px}.vm-content-card,.vm-full-width-content{background:#fff;border:1px solid var(--vm-border);border-radius:var(--vm-radius);box-shadow:var(--vm-shadow);padding:28px}.vm-full-width-content{background:transparent;border:0;box-shadow:none;padding:0}.vm-page-title{margin-top:0;color:var(--vm-navy)}.vm-site-footer{background:var(--vm-navy);color:#dce9f7;padding:38px 0}.vm-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px;align-items:start}.vm-site-footer a{color:#fff}.vm-empty-page{text-align:center;padding:70px 30px}body.admin-bar .vm-site-header{top:32px}
@media(max-width:800px){body.admin-bar .vm-site-header{top:46px}.vm-header-inner{min-height:64px;gap:12px}.vm-menu-toggle{display:block;margin-left:auto}.vm-account{padding:8px 12px}.vm-primary-nav{display:none;position:absolute;top:64px;left:0;right:0;background:#fff;border-bottom:1px solid var(--vm-border);padding:12px 16px}.vm-primary-nav.is-open{display:block}.vm-menu{display:block}.vm-menu a{padding:12px}.vm-brand small{display:none}.vm-site-main{padding-top:20px}.vm-content-card{padding:18px}.vm-footer-grid{grid-template-columns:1fr}}
.vm-brand-stack{display:flex;flex-direction:column;justify-content:center;gap:0;color:var(--vm-navy);line-height:.88}.vm-brand-stack strong{display:block;margin:0}.vm-brand-top,.vm-brand-bottom{font-size:20px;font-weight:800;letter-spacing:-.03em}.vm-brand-bottom{padding-left:0}

/* v1.0.3 branded header and footer logo */
.vm-brand{flex:0 0 auto;line-height:0}
.vm-brand-logo{display:block;width:auto;height:52px;max-width:150px;object-fit:contain}
.vm-footer-brand>a{display:inline-flex;background:#fff;border-radius:12px;padding:6px;line-height:0;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.vm-footer-logo{display:block;width:auto;height:64px;max-width:190px;object-fit:contain}
.vm-footer-brand p{margin:14px 0 0}
@media(max-width:800px){.vm-brand-logo{height:44px;max-width:126px}.vm-footer-logo{height:56px;max-width:168px}}

/* v1.0.9 dynamic Practice exam/subject mega menu */
.vm-practice-menu-item{position:relative}
.vm-menu-caret{font-size:11px;margin-left:3px;transition:transform .2s ease}
.vm-practice-menu-item:hover .vm-menu-caret,.vm-practice-menu-item.is-open .vm-menu-caret{transform:rotate(180deg)}
.vm-practice-mega{position:absolute;top:calc(100% + 14px);right:-170px;width:min(1040px,calc(100vw - 48px));padding:20px;background:#fff;border:1px solid var(--vm-border);border-radius:18px;box-shadow:0 24px 60px rgba(13,43,79,.18);opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .18s ease,transform .18s ease,visibility .18s;z-index:500}
.vm-practice-mega:before{content:"";position:absolute;top:-15px;left:0;right:0;height:18px}
.vm-practice-menu-item:hover .vm-practice-mega,.vm-practice-menu-item:focus-within .vm-practice-mega,.vm-practice-menu-item.is-open .vm-practice-mega{opacity:1;visibility:visible;transform:translateY(0)}
.vm-practice-mega-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0 2px 15px;margin-bottom:16px;border-bottom:1px solid var(--vm-border)}
.vm-practice-mega-head strong,.vm-practice-mega-head span{display:block}.vm-practice-mega-head strong{font-size:18px;color:var(--vm-navy)}.vm-practice-mega-head span{font-size:13px;color:var(--vm-muted)}
.vm-practice-mega-head>a{padding:8px 12px!important;color:var(--vm-blue)!important;background:var(--vm-sky);white-space:nowrap}
.vm-practice-mega-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-height:min(65vh,560px);overflow:auto;padding:2px}
.vm-practice-category{min-width:0;padding:15px;border:1px solid var(--vm-border);border-radius:14px;background:#fbfdff;transition:border-color .2s,box-shadow .2s,transform .2s}
.vm-practice-category:hover{border-color:#b8d3ef;box-shadow:0 10px 24px rgba(13,43,79,.08);transform:translateY(-2px)}
.vm-practice-exam{display:flex!important;align-items:center;gap:10px;padding:0 0 10px!important;margin-bottom:8px;border-bottom:1px solid #e8eef5;border-radius:0!important;color:var(--vm-navy)!important;font-weight:800!important}
.vm-practice-exam:hover{background:transparent!important;color:var(--vm-blue)!important}
.vm-practice-exam-icon{--vmcq-menu-accent:var(--vm-blue);width:34px;height:34px;flex:0 0 34px;border-radius:10px;display:grid;place-items:center;background:color-mix(in srgb,var(--vmcq-menu-accent) 12%,white);color:var(--vmcq-menu-accent);font-weight:800;overflow:hidden}
.vm-practice-exam-icon img{width:100%;height:100%;object-fit:cover}
.vm-practice-subjects{display:grid;gap:2px}
.vm-practice-subjects a{padding:6px 7px!important;border-radius:7px!important;color:#4a5870!important;font-size:13px;font-weight:600!important;white-space:normal}
.vm-practice-subjects a:hover{background:#eef6ff!important;color:var(--vm-blue)!important;padding-left:10px!important}
.vm-practice-empty{font-size:12px;color:var(--vm-muted);padding:5px 7px}.vm-practice-empty-state{grid-column:1/-1;text-align:center;padding:30px;color:var(--vm-muted)}
@media(max-width:1100px){.vm-practice-mega{right:-100px}.vm-practice-mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.vm-practice-menu-item{position:static}.vm-practice-trigger{display:flex!important;align-items:center;justify-content:space-between}.vm-practice-mega{position:static;width:100%;max-height:0;overflow:hidden;padding:0 12px;border:0;border-radius:0;box-shadow:none;opacity:1;visibility:visible;transform:none;transition:max-height .28s ease,padding .28s ease;background:#f7faff}.vm-practice-menu-item:hover .vm-practice-mega,.vm-practice-menu-item:focus-within .vm-practice-mega{max-height:0;padding-top:0;padding-bottom:0}.vm-practice-menu-item.is-open .vm-practice-mega{max-height:70vh;overflow:auto;padding-top:14px;padding-bottom:14px}.vm-practice-mega-head{align-items:flex-start}.vm-practice-mega-head>a{font-size:12px}.vm-practice-mega-grid{grid-template-columns:1fr 1fr;max-height:none;overflow:visible}.vm-practice-category{padding:12px}}
@media(max-width:520px){.vm-practice-mega-grid{grid-template-columns:1fr}.vm-practice-mega-head{display:block}.vm-practice-mega-head>a{display:inline-block!important;margin-top:8px}}

/* v1.0.10 Shared dynamic mega-menus: Exams, Mock Tests and Practice */
.vm-mega-menu-item{position:relative}
.vm-mega-menu-item:hover .vm-menu-caret,.vm-mega-menu-item.is-open .vm-menu-caret{transform:rotate(180deg)}
.vm-mega-menu-item:hover .vm-mega-panel,.vm-mega-menu-item:focus-within .vm-mega-panel,.vm-mega-menu-item.is-open .vm-mega-panel{opacity:1;visibility:visible;transform:translateY(0)}
.vm-menu>li.vm-mega-menu-item:nth-child(2) .vm-mega-panel{left:-390px;right:auto}
.vm-menu>li.vm-mega-menu-item:nth-child(3) .vm-mega-panel{left:-505px;right:auto}
.vm-menu>li.vm-mega-menu-item:nth-child(4) .vm-mega-panel{right:-170px;left:auto}
.vm-mega-more{margin-top:4px!important;color:var(--vm-blue)!important;font-weight:800!important;background:#eef6ff}
@media(max-width:1100px){
  .vm-menu>li.vm-mega-menu-item:nth-child(2) .vm-mega-panel{left:-270px}
  .vm-menu>li.vm-mega-menu-item:nth-child(3) .vm-mega-panel{left:-390px}
  .vm-menu>li.vm-mega-menu-item:nth-child(4) .vm-mega-panel{right:-100px}
}
@media(max-width:800px){
  .vm-mega-menu-item{position:static}
  .vm-mega-trigger{display:flex!important;align-items:center;justify-content:space-between}
  .vm-mega-menu-item:hover .vm-mega-panel,.vm-mega-menu-item:focus-within .vm-mega-panel{max-height:0;padding-top:0;padding-bottom:0}
  .vm-mega-menu-item.is-open .vm-mega-panel{max-height:70vh;overflow:auto;padding-top:14px;padding-bottom:14px}
  .vm-menu>li.vm-mega-menu-item .vm-mega-panel{left:auto!important;right:auto!important}
}

/* v1.2.2 branded email verification UI */
.vmcq-resend-box{max-width:680px;margin-top:18px;background:#fff;border:1px solid #dbe3ee;border-radius:14px;padding:14px 16px}
.vmcq-resend-box summary{cursor:pointer;font-weight:700;color:#123b6d}
.vmcq-resend-box form{margin-top:12px}
.vmcq-resend-box label{display:block;font-weight:700;margin:8px 0 5px}
.vmcq-resend-box input{width:100%;padding:11px;border:1px solid #cbd5e1;border-radius:9px;margin-bottom:10px}


/* VidyaMCQ Authentication Framework v3.0 — Unified Authentication & Student Portal */
.vm-guest-actions{display:flex;align-items:center;gap:8px}
.vm-account-secondary{background:#fff!important;color:var(--vm-blue)!important;border:1px solid var(--vm-blue)}
.vm-account-menu{position:relative}
.vm-account-trigger{display:flex;align-items:center;gap:8px;border:0;background:var(--vm-blue);color:#fff;border-radius:11px;padding:7px 12px 7px 8px;font:inherit;font-weight:750;cursor:pointer}
.vm-account-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--vm-blue);font-weight:850}
.vm-account-caret{font-size:12px;opacity:.9}
.vm-account-dropdown{position:absolute;right:0;top:calc(100% + 9px);width:218px;background:#fff;border:1px solid var(--vm-border);border-radius:13px;box-shadow:0 16px 38px rgba(13,43,79,.16);padding:7px;opacity:0;visibility:hidden;transform:translateY(-5px);transition:.18s;z-index:180}
.vm-account-menu:hover .vm-account-dropdown,
.vm-account-menu:focus-within .vm-account-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.vm-account-dropdown a{display:block;padding:10px 11px;border-radius:8px;color:var(--vm-text);text-decoration:none;font-weight:650}
.vm-account-dropdown a:hover{background:var(--vm-sky);color:var(--vm-blue)}
.vm-account-dropdown .vm-account-logout{margin-top:5px;border-top:1px solid var(--vm-border);border-radius:0 0 8px 8px;color:#b91c1c}
.vmcq-account-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:18px 0}
.vmcq-account-security-card,.vmcq-account-actions-card{background:#fff;border:1px solid var(--vm-border);border-radius:15px;padding:19px;box-shadow:var(--vm-shadow)}
.vmcq-account-security-card span,.vmcq-account-security-card small{display:block;color:var(--vm-muted)}
.vmcq-account-security-card strong{display:block;margin:5px 0;font-size:18px;color:var(--vm-navy);word-break:break-word}
.vmcq-account-actions-card h3{margin-top:0}
.vmcq-account-action-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:15px}
@media(max-width:800px){
  .vm-account-name{display:none}
  .vm-account-trigger{padding-right:8px}
  .vm-account-dropdown{right:0;width:min(240px,calc(100vw - 32px))}
  .vm-guest-actions .vm-account-secondary{display:none}
  .vmcq-account-security-grid{grid-template-columns:1fr}
}
/* v3.1.0 Recall, Wrong Answers & Referral Intelligence */
.vmcq-recall-btn{float:right;margin:-34px 0 12px;padding:8px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f3458;font-weight:700;cursor:pointer}.vmcq-recall-btn.is-saved{background:#fff7d6;border-color:#f5c542}.vmcq-recall-btn:disabled{opacity:.65}.vmcq-stat-link{text-decoration:none;color:inherit}.vmcq-revision-list{display:grid;gap:18px}.vmcq-revision-card{background:#fff;border:1px solid #dbe3ee;border-radius:16px;padding:16px}.vmcq-revision-card .vmcq-question-card{border:0;padding:8px 0;box-shadow:none}.vmcq-revision-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.vmcq-revision-meta span{background:#eef5ff;color:#164a83;border-radius:999px;padding:5px 9px;font-size:12px}.vmcq-admin-two-col{display:grid;grid-template-columns:330px minmax(0,1fr);gap:20px;align-items:start}@media(max-width:782px){.vmcq-recall-btn{float:none;margin:0 0 12px}.vmcq-admin-two-col{grid-template-columns:1fr}}
