body.ay-shell{margin:0;padding:0;background:#f6f8fb}body.ay-shell>main{margin:0;padding:0}
.ay-portal{position:relative;isolation:isolate;display:flex;flex-direction:column;width:min(100%,425px);max-width:425px!important;min-height:min(790px,100svh);margin:0 auto!important;background:var(--bg);border-radius:16px;overflow:clip;box-shadow:0 0 0 1px #edf0f6}
.ay-shell .ay-portal{min-height:100svh;border-radius:0;box-shadow:none}
.ay-portal .ay-content{padding:18px;display:grid;gap:16px}.ay-portal .ay-sr{position:absolute;overflow:hidden;width:1px;height:1px;clip-path:inset(50%);white-space:nowrap}
.ay-portal .ay-status-slot{position:relative;z-index:4;padding:10px 15px;background:#fff0f3;color:#93223d;border-bottom:1px solid #eab9c6;font-size:.9em}
.ay-portal .ay-hero,.ay-portal .ay-result-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(135deg,#4038ba,#5d57ed);color:#fff}
.ay-portal .ay-hero{padding:40px 24px 76px;border-radius:0 0 32px 32px}
.ay-portal .ay-hero::before,.ay-portal .ay-hero::after{content:"";position:absolute;z-index:-1;width:142px;height:142px;border-radius:50%;background:#ffffff16;left:-33px;top:-49px}
.ay-portal .ay-hero::after{left:auto;top:auto;right:-45px;bottom:10px;width:122px;height:122px}
.ay-portal .ay-cap{width:48px;height:48px;display:grid;place-items:center;background:#ffffff2e;border-radius:14px;font-size:26px;margin-bottom:18px}
.ay-portal .ay-hero h1{font-size:1.55em;color:#fff}.ay-portal .ay-hero p{font-size:.9em;margin-top:6px;color:#f2f2ff}
.ay-portal .ay-login-card{position:relative;margin:-41px 18px 0;display:grid;gap:16px;border-radius:21px;padding:22px;box-shadow:0 12px 25px -12px #2b306466}
.ay-portal .ay-login-card>*{margin:0}.ay-portal .ay-login-card .ay-btn.wide{box-shadow:0 5px 12px -5px #5046e5b3}
.ay-portal .ay-input-box{display:flex;align-items:center;gap:6px;border-radius:12px;background:var(--soft);padding:3px 12px;color:#718299}
.ay-portal .ay-input-box input{border:0!important;background:transparent!important;letter-spacing:.06em;min-width:0;padding-inline:2px!important}.ay-portal .ay-input-box bdi{font:12px Arial,sans-serif}
.ay-portal .ay-trust{margin:auto auto 14%;padding:40px 12px 0;text-align:center;font-size:.78em;color:#687a91}
.ay-portal #ay-install-box{margin-top:12px}.ay-portal #ay-install-help{margin-top:7px}
.ay-portal .ay-person{display:flex;justify-content:space-between;align-items:center;gap:12px}.ay-portal .ay-person b,.ay-portal .ay-person small,.ay-portal .ay-result-user small{display:block}
.ay-portal .ay-person small{font-size:.75em}.ay-portal .ay-avatar{display:inline-grid;width:40px;height:40px;border-radius:50%;place-items:center;background:#eeeefe;color:var(--deep);border:2px solid #d9d7fd;font-size:20px;font-weight:750}
.ay-portal .round{width:36px;height:36px;min-height:36px;padding:0;border-radius:50%}
.ay-portal .ay-code-card{display:grid;gap:6px;background:var(--brand);border-radius:18px;padding:14px;color:white}
.ay-portal .ay-code-card label{font-weight:650}.ay-portal .ay-code-row{display:flex;gap:8px}.ay-portal .ay-code-row input{min-width:0;flex:1}
.ay-portal .ay-days{display:flex;overflow-x:auto;gap:6px;padding:2px 0 6px;scrollbar-width:thin}.ay-portal .ay-days button{font-size:.85em;min-height:36px;flex:none;padding:5px 12px}
.ay-portal .ay-history-item>*+*{margin-top:6px}.ay-portal .ay-empty{text-align:center;padding:22px 12px}.ay-portal .ay-empty>.ay-icon{width:28px;height:28px;color:#736cce}
.ay-portal .ay-bottom-nav,.ay-portal .ay-exam-foot{position:sticky;bottom:0;background:#fff;display:flex;gap:10px;align-items:center;z-index:3;border-top:1px solid var(--line);margin-top:auto;padding:10px 15px max(10px,env(safe-area-inset-bottom))}
.ay-portal .ay-bottom-nav{justify-content:space-around}.ay-portal .nav-item{display:grid;justify-items:center;gap:2px;color:#697991;background:transparent;min-height:40px;font-size:13px;padding:4px 8px}
.ay-portal .nav-item[aria-current=page]{color:var(--brand)}.ay-portal .nav-item .ay-icon{font-size:18px}
.ay-portal .ay-step{display:inline-grid;place-items:center;background:var(--brand);color:white;border-radius:50%;width:24px;height:24px;margin-inline-end:5px}
.ay-portal .ay-verified-code{position:relative;border-radius:12px;background:var(--soft);text-align:center;font-weight:750;letter-spacing:.16em;padding:10px}
.ay-portal .ay-verified-code .ay-icon{position:absolute;right:12px;top:14px;color:#71829c}
.ay-portal .ay-exam-info{display:flex;align-items:center;gap:10px;background:#e9faf3;padding:10px;border-radius:12px;color:var(--green)}.ay-portal .ay-exam-info small{display:block;color:#276c58}
.ay-portal .ay-camera{width:174px;height:174px;margin:15px auto;border-radius:50%;border:4px solid #dddefb;display:grid;place-items:center;text-align:center;background:#10192b;color:#9aa9be;overflow:hidden}
.ay-portal .ay-camera small{display:block;color:#bdc9d9;font-size:.78em}.ay-portal .ay-camera .ay-icon{width:42px;height:42px}.ay-portal .ay-camera :is(video,img){width:100%;height:100%;object-fit:cover}.ay-portal .ay-camera video{transform:scaleX(-1)}
.ay-portal .ay-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ay-portal .ay-two .ay-btn{font-size:.9em;padding-inline:6px}
.ay-portal .ay-file-label{display:grid;gap:3px;font-size:.8em;color:var(--muted)}.ay-portal .ay-file-label input{width:100%;font-size:12px}
.ay-portal #ay-sign{display:block;width:100%;height:98px;touch-action:none;border:1px dashed #a4a7e4;border-radius:12px;background:#f8f9ff}
.ay-portal .ay-exam-head{position:sticky;top:0;z-index:2;background:white;padding:15px 18px 10px;border-bottom:1px solid var(--line);box-shadow:var(--shadow)}
.ay-portal .ay-exam-head h2{font-size:1.05em}.ay-portal .ay-exam-head small{font-size:.76em}.ay-portal .ay-timer{display:flex;align-items:center;gap:5px;background:#fff0f3;border-radius:20px;color:#b31b42;font-weight:750;padding:4px 10px;font-variant-numeric:tabular-nums}
.ay-portal .ay-progress{width:100%;height:6px;background:var(--soft);border-radius:10px;margin-top:9px;overflow:hidden}.ay-portal .ay-progress span{display:block;height:100%;background:var(--brand);border-radius:inherit}
.ay-portal .ay-switch{display:flex;gap:3px;padding:3px;border-radius:10px;background:var(--soft);margin-top:6px}.ay-portal .ay-switch .switch{background:transparent;color:#53647d;flex:1;min-height:33px;border-radius:8px;font-size:.85em;padding:4px}.ay-portal .ay-switch .selected{background:white;color:var(--deep);box-shadow:0 1px 4px #27305226}
.ay-portal .ay-numbers{display:flex;flex-wrap:wrap;justify-content:center;gap:5px}.ay-portal .ay-exam-head .ay-numbers{flex-wrap:nowrap;overflow-x:auto;justify-content:start;max-width:100%;margin:7px 0 0}
.ay-portal .qnum{flex:none;min-height:33px;min-width:33px;padding:4px 7px;border-radius:9px;font-size:.85em;background:white;color:#586983;border:1px solid var(--line)}
.ay-portal .qnum.answered{color:#026546;background:#d9f7e9}.ay-portal .qnum.current{color:white;border-color:var(--brand);background:var(--brand)}.ay-portal .qnum.flagged{box-shadow:inset 0 -3px #d89316}
.ay-portal .ay-question{scroll-margin-top:220px}.ay-portal .ay-question h3{font-size:1.04em;margin:15px 0}
.ay-portal .ay-options{display:grid;gap:8px}.ay-portal .ay-all .ay-options{grid-template-columns:repeat(2,minmax(0,1fr))}.ay-portal .ay-opt{display:flex;align-items:center;gap:10px;min-width:0;min-height:48px;padding:9px 12px;border:1.5px solid var(--line);border-radius:13px;background:#fff;position:relative;cursor:pointer;color:var(--ink)}
.ay-portal .ay-opt input{position:absolute;opacity:0;width:1px;height:1px}.ay-portal .ay-letter{width:27px;height:27px;display:grid;flex:none;place-items:center;border-radius:50%;background:var(--soft);color:#54627a;font-size:.8em;font-weight:650}
.ay-portal .ay-opt:has(input:checked){background:var(--lav);border-color:var(--brand);box-shadow:inset 0 0 0 .5px var(--brand)}.ay-portal .ay-opt:has(input:checked) .ay-letter{background:var(--brand);color:white}
.ay-portal .ay-all .ay-opt{font-size:.9em;padding:8px;gap:6px}.ay-portal .ay-clear{min-height:27px;font-size:.72em}.ay-portal .ay-exam-foot .next{flex:1}.ay-portal .ay-exam-foot .ay-btn:not(.next){padding-inline:12px}
.ay-portal .ay-handin{padding-top:0}.ay-portal .ay-result-hero{text-align:center;padding:25px 20px 48px;border-radius:0 0 32px 32px}
.ay-portal .ay-ring{width:140px;height:140px;margin:16px auto;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#fff var(--arc),#ffffff30 0)}
.ay-portal .ay-ring>div{display:grid;align-content:center;width:119px;height:119px;border-radius:50%;background:#5049d7}.ay-portal .ay-ring b{font-size:1.5em}.ay-portal .ay-ring small,.ay-portal .ay-result-user small{color:#edf0ff}
.ay-portal .ay-result-user{display:flex;gap:9px;align-items:center;justify-content:center;text-align:right}.ay-portal .ay-result-body{position:relative;padding-top:0;margin-top:-26px}
.ay-portal .ay-stats{display:flex;flex-wrap:wrap;justify-content:space-around;gap:7px;text-align:center;box-shadow:0 8px 18px -10px #222b5655}
.ay-portal .ay-stats>div{margin:0;flex:1}.ay-portal .ay-stats b,.ay-portal .ay-stats small{display:block}.ay-portal .ay-score-right{color:var(--green)}.ay-portal .ay-score-wrong{color:var(--rose)}.ay-portal .ay-score-blank{color:var(--muted)}
.ay-portal .ay-answer-row{padding:9px 0;margin:0;border-bottom:1px solid var(--line);font-size:.88em}.ay-portal .ay-answer-row:last-child{border:0}.ay-portal .ay-answer-row summary{display:flex;align-items:center;gap:8px;cursor:pointer}
.ay-portal .ay-answer-row summary>b{flex:none}.ay-portal .ay-answer-row summary>span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}.ay-portal .ay-answer-row em{font-style:normal}
.ay-portal .ay-answer-row>div{padding:10px;background:var(--bg);border-radius:10px;margin-top:8px}.ay-portal .ay-answer-row>div>*+*{margin-top:8px}
@media(max-width:480px){.ay-portal{border-radius:0}.ay-portal .ay-content{padding-inline:14px}.ay-portal .ay-card{padding:15px}}
@media(max-width:335px){.ay-portal .ay-all .ay-options,.ay-portal .ay-two{grid-template-columns:1fr}.ay-portal .ay-person{gap:4px}}
@media print{
    body:has(.ay-portal[data-screen=result]) *{visibility:hidden}
    body:has(.ay-portal[data-screen=result]) .ay-portal,body:has(.ay-portal[data-screen=result]) .ay-portal *{visibility:visible}
    .ay-portal[data-screen=result]{position:absolute;inset:0 auto auto 0;width:100%;max-width:none!important;min-height:0;display:block;box-shadow:none;overflow:visible;background:white}
    .ay-portal .ay-result-hero{background:white;color:#111;padding:8px;border:1px solid #888}.ay-portal .ay-result-user small,.ay-portal .ay-ring small{color:#333}
    .ay-portal .ay-ring,.ay-portal .ay-ring>div{width:auto;height:auto;margin:4px;background:white}.ay-portal .ay-result-body{margin:0}.ay-portal .ay-result-body,.ay-portal .ay-result-body>.ay-card{display:block}
    .ay-portal .ay-result-body>.ay-stats{display:flex;margin:12px 0;break-inside:avoid}
    .ay-portal .ay-exports,.ay-portal .ay-result-body>.ay-btn,.ay-portal .ay-status-slot{display:none}.ay-portal .ay-answer-row{break-inside:avoid}.ay-portal .ay-card{box-shadow:none}
}
#ay-privacy-screen:not([hidden]){position:fixed;inset:0;z-index:2147483647;background:#17223b;color:white;display:grid;place-content:center;text-align:center;padding:26px;font:600 17px/1.8 AYVazir,Tahoma,sans-serif}
