@font-face{font-family:HM3321Vazir;src:url('./fonts/vazirmatn.woff2') format('woff2');font-style:normal;font-display:swap;font-weight:100 900}
.hm3321-page{background:linear-gradient(120deg,#f5f9ff,#eef6ff 40%,#f9f5ff);color:#16365c;min-height:100vh;font-family:HM3321Vazir,Vazirmatn,Tahoma,sans-serif;direction:rtl}
.hm3321-page *{box-sizing:border-box;font-family:inherit}
.hm3321-shell{min-height:96vh;display:grid;place-items:center;padding:30px 13px 60px}
.hm3321-card{width:min(100%,565px);background:#fff;padding:clamp(22px,4vw,39px);border:1px solid #d4e7f5;border-radius:28px;box-shadow:0 23px 60px #11529120}
.hm3321-heading{text-align:center;margin-bottom:28px;display:grid;gap:8px;justify-items:center}
.hm3321-logo{display:grid;place-items:center;width:64px;height:64px;border-radius:22px;background:linear-gradient(135deg,#0d4c9d,#13a1aa);color:#fff!important;font-size:25px;font-weight:900;box-shadow:0 13px 28px #166cb233;text-decoration:none}
.hm3321-heading>span{font-size:13px;font-weight:900;color:#168cb2}
.hm3321-heading h1{font-size:clamp(25px,4vw,32px)!important;font-weight:950!important;line-height:1.5;color:#113d6f!important;margin:0}
.hm3321-heading p{font-size:13px;color:#637f99;margin:0}
.hm3321-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#edf5fd;border:1px solid #d7e6f4;border-radius:16px;padding:6px;margin-bottom:25px}
.hm3321-tabs>a{min-width:0;padding:12px 8px;text-decoration:none;text-align:center;color:#496987;font-size:13px;font-weight:850;border-radius:12px}
.hm3321-tabs>a[aria-current=page]{color:#fff;background:linear-gradient(120deg,#0b67b6,#0f9eac);box-shadow:0 6px 16px #12639e30}
.hm3321-card form{display:grid;gap:15px}
.hm3321-card label:not(.hm3321-check){display:grid;gap:7px;color:#234e78;font-weight:800;font-size:14px}
.hm3321-card input:not([type=hidden]):not([type=checkbox]){display:block;width:100%;padding:13px 14px;min-height:49px;border:1px solid #bbd1e6;border-radius:13px;background:#fafdff;color:#153857;font-size:16px;outline:0}
.hm3321-card input:focus{border-color:#2374bf!important;box-shadow:0 0 0 3px #2485d620}
.hm3321-check{display:flex!important;align-items:center;gap:9px;color:#496d8c;font-size:13px;line-height:1.7;font-weight:700}
.hm3321-check input{width:18px;height:18px;flex:none;accent-color:#1680be}
.hm3321-primary{background:linear-gradient(115deg,#0b62b7,#098e9c)!important;border:none!important;border-radius:13px!important;color:#fff!important;display:grid;place-items:center;min-height:52px;padding:12px 19px;font-weight:900;font-size:16px;cursor:pointer;box-shadow:0 10px 24px #0e79b92b}
.hm3321-card p{line-height:1.95;color:#57738e;font-size:13px}
.hm3321-card a:not(.hm3321-logo){color:#0d67a9;font-weight:800}
.hm3321-notice{background:#eaf7fb;border:1px solid #b9e4ee;border-radius:14px;padding:11px 14px;color:#14617a;line-height:1.95;margin:16px 0;font-size:13px}
.hm3321-error{background:#fff3f0;border-color:#f1cac2;color:#a44432}
.hm3321-new{display:grid;gap:9px;padding:14px;border:1px dashed #c9dae9;background:#f7fbff;border-radius:14px}.hm3321-new strong{font-size:13px;color:#21507c}.hm3321-new span{color:#6f8498;font-size:12px;line-height:1.8}
.hm3321-help{background:#f5faff;border-radius:12px;padding:10px 13px}
.hm3321-profile{display:grid;gap:12px}.hm3321-profile h2{font-size:18px!important;margin:14px 0 0;color:#164f80}.hm3321-profile>p{margin:0}.hm3321-profile form{padding:12px 0}
.hm3321-footer{border-top:1px solid #e5edf5;margin-top:28px;padding-top:15px}.hm3321-footer p{font-size:12px;margin:4px 0;color:#758da2}
@media(max-width:480px){.hm3321-card{padding:22px 16px;border-radius:21px}.hm3321-tabs>a{font-size:12px;padding:11px 6px}}

/* 3.3.29: standalone login reset; no dependency on exams.css. */
body.hm3321-page{margin:0;font-size:16px;line-height:1.65} .hm3321-page [hidden],.hm3321-page input[type=hidden]{display:none!important}.hm3321-card h1,.hm3321-card h2{line-height:1.5;margin-top:0}.hm3321-page :focus-visible{outline:3px solid #366fba;outline-offset:2px}.hm3321-primary:disabled{opacity:.75;cursor:wait}.hm3321-tabs>a[aria-current=page]{color:#fff!important}.hm3321-wait{font-size:13px;color:#14617a;margin:0}

/* 3.3.42: concise, accessible password guidance. */
.hm342-guide{margin:14px 0;padding:13px 15px;border:1px solid #c8dff1;border-radius:12px;background:#f1f8ff;color:#173b62;font-family:HM3321Vazir,Vazirmatn,Tahoma,sans-serif;font-size:13px;line-height:1.9;text-align:right}.hm342-guide strong,.hm342-guide summary{font-weight:800;color:#174e83}.hm342-guide summary{cursor:pointer}.hm342-guide ol{margin:8px 0;padding-right:20px}.hm342-guide li{margin:6px 0}.hm342-guide p{margin:8px 0 0!important;font-size:12px}.hm342-guide a{color:#0864a3;font-weight:700}.hm342-guide .hm342-guide{margin:8px 0 0;padding:0;border:0;background:transparent}.hm342-delay{font-size:13px;line-height:1.85;background:#fff8e6;border:1px solid #efdaaa;color:#77530e!important;border-radius:10px;padding:10px 12px}.hm342-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:7px 0;font:inherit;direction:rtl}.hm342-tools button{border:1px solid #b9d3e8;border-radius:8px;background:#eef6ff;color:#164e80;font:inherit;font-weight:700;cursor:pointer;padding:7px 10px}.hm342-tools span{flex-basis:100%;font-size:12px;line-height:1.7;color:#235373}.login .hm342-guide,.login .hm342-delay{margin-bottom:14px}.login .hm342-guide p{margin:7px 0!important}
