@font-face{font-family:Meet Arabic;src:url('/fonts/IBMPlexSansArabic-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Meet Arabic;src:url('/fonts/IBMPlexSansArabic-SemiBold.ttf') format('truetype');font-weight:600 800;font-style:normal;font-display:swap}
:root{--ink:#2c2037;--muted:#776681;--line:#ded3e5;--paper:#f5f1f8;--accent:#e9dcf1;--dark:#492a58;--danger:#a72f48;background:var(--paper);color:var(--ink);font-family:Meet Arabic,Tahoma,Arial,sans-serif}
body{background:var(--paper);color:var(--ink);font-family:Meet Arabic,Tahoma,Arial,sans-serif}
.topbar{height:80px;padding:0 clamp(24px,5vw,80px);background:#492a58;border:0;position:relative;isolation:isolate;overflow:hidden;gap:16px}
.topbar::before,.topbar::after{content:"";position:absolute;pointer-events:none;width:380px;height:380px;border:1px solid #aa8bb47a;border-radius:50%;right:-20px;top:-260px;z-index:-1}
.topbar::after{width:320px;height:320px;right:200px;top:-170px}
.topbar .brand{font:600 27px/1.2 Arial,sans-serif;letter-spacing:-.6px;color:#fff;gap:12px}
.topbar .brand-mark{height:44px;width:44px;border-radius:11px;background:#fff;color:#492a58;font:700 38px/1 Arial,sans-serif;padding-bottom:8px}
.topbar .brand-mark>span{color:#492a58;right:6px;top:0;font-size:16px}
.topbar .top-label{display:none}
.topbar>.quiet{margin-inline-start:auto;color:#fff;font-size:15px;text-decoration:none;line-height:1.7}
body>main{width:calc(100% - clamp(40px,10vw,160px));max-width:1152px;min-height:calc(100svh - 80px);padding:28px 0 36px}
body>footer{display:none}
:is(button,a,input,select,summary):focus-visible{outline:3px solid #8e64a1;outline-offset:3px}
h1,h2,h3{letter-spacing:normal;line-height:1.6;font-weight:600}
.primary{background:#693d7f;color:#fff;border-radius:9px;min-height:48px;font-size:17px;font-weight:600;padding:10px 22px}
.primary:hover:enabled{background:#57316c;transform:none}
.primary:disabled{background:#e1dae8;color:#776b7e;opacity:1}
.secondary{background:#fff;border:1.5px solid #693d7f;color:#693d7f;min-height:44px;border-radius:9px;font-size:15px;padding:9px 14px}
.secondary:hover:enabled{background:#f5eef9;transform:none}
.quiet{color:#693d7f}
.danger,.error{color:#a72f48}
.error{font-size:14px;line-height:1.9;overflow-wrap:anywhere}
.error:empty{display:none}
.muted{color:var(--muted)}
.card{border-color:var(--line);border-radius:12px;background:#fff}
.pill{background:#efe5f5;color:#693d7f;border-color:var(--line)}
.eyebrow{font-size:13px;letter-spacing:normal;color:#693d7f}
.session-loading{max-width:620px;padding:40px;margin:clamp(28px,8vh,90px) auto;text-align:center}
.session-loading h1{font-size:28px;line-height:1.6;margin:24px 0 12px}
.session-loading p{font-size:16px;line-height:1.9;overflow-wrap:anywhere}
.session-loading button{margin-top:20px}
.loading-error-symbol{display:none;width:64px;height:64px;place-items:center;margin:0 auto;color:#a72f48;border:2px solid #a72f48;border-radius:50%;font-size:36px}
.session-loading[data-state=error] .loading-error-symbol{display:grid}
.session-loading[data-state=error] .login-spinner{display:none}
.exam-flow .device-preview-card .preview{width:100%;min-width:0}
.exam-flow .preview-avatar{margin-bottom:64px}
.exam-flow .preview:has(#preview-placeholder:not(.hidden))>.preview-label{display:none}

/* Practice has the same question layout, with no recording sidebar or upload state. */
body.training-page[data-training-view=interview] .interview-grid{grid-template-columns:minmax(0,1fr);max-width:1050px;margin:auto}
body.training-page[data-training-view=interview] .session-top{max-width:1050px;margin-inline:auto}
body.training-page[data-training-view=interview] .interview-grid .question-card{grid-row:auto}
body.training-page[data-training-view=interview] .recording{background:#efe5f5;color:#693d7f}
body.training-page[data-training-view=interview] .training-device-notice{padding:12px 16px;margin-bottom:18px;background:#fff2d9;border:1px solid #edcf95;border-radius:10px;color:#8b5714;font-size:14px;line-height:1.8}
body.training-page[data-training-view=interview] .training-device-notice p{font-size:14px;line-height:1.8;margin:0 0 10px}
body.training-page[data-training-view=done] .topbar>a.quiet{display:block;color:#fff}
body.training-page[data-training-view=done] .done-card .completion-status{margin-top:18px}
body.training-page[data-training-view=done] .done-card #return-rooms{max-width:420px;margin-inline:auto}

/* Attempt review preserves server-owned publication and answer information. */
.attempt-review-page .page-heading{margin:0 0 20px}
.attempt-review-page .page-heading h1{font-size:clamp(27px,3vw,36px);line-height:1.6;margin:6px 0 8px;overflow-wrap:anywhere}
.attempt-review-page #attempt-meta{font-size:14px;line-height:1.9;margin:0;color:var(--muted)}
.attempt-review-page #attempt-error:not(:empty){padding:16px 20px;border:1px solid #e8bcc6;background:#fff1f4;border-radius:10px;margin:20px 0}
.attempt-review-page #attempt-result{display:block;padding:20px 24px;margin:0 0 24px;background:#eee5f4;border:1px solid #d6c2e1;border-radius:12px;font-size:18px;font-weight:600;line-height:1.8;color:#693d7f}
.attempt-review-page #attempt-result[data-published=false]{font-size:16px;font-weight:400;color:#776681}
.attempt-review-page #attempt-result:empty{display:none}
.attempt-review-page h2{font-size:24px;line-height:1.6;margin:0 0 14px}
.attempt-review-page #attempt-recordings{margin-bottom:24px}
.attempt-review-page #attempt-recordings>p{font-size:14px;line-height:1.9;margin:0 0 16px;color:var(--muted)}
.attempt-review-page .attempt-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.attempt-review-page .attempt-media:has(#attempt-screen-panel.hidden){grid-template-columns:minmax(0,1fr);max-width:760px}
.attempt-review-page .attempt-media .card{padding:18px;min-width:0}
.attempt-review-page .attempt-media h3{font-size:17px;margin:0 0 12px}
.attempt-review-page .attempt-media video{display:block;width:100%;max-width:100%;aspect-ratio:16/9;background:#2c2037;border-radius:9px;object-fit:contain}
.attempt-review-page #recording-unavailable{font-size:14px;line-height:1.9;margin:0 0 24px}
.attempt-review-page #recording-unavailable:empty{display:none}
.attempt-review-page #attempt-question-list{display:grid;gap:18px}
.attempt-review-page .review-question{margin:0;padding:22px;min-width:0}
.attempt-review-page .review-question>.eyebrow{display:inline-block;border-radius:7px;background:#f1e8f6;padding:4px 9px;font-size:12px;font-weight:400}
.attempt-review-page .review-question h3{font-size:21px;line-height:1.8;margin:12px 0 16px;overflow-wrap:anywhere}
.attempt-review-page .review-question>p{font-size:14px;line-height:1.9}
.attempt-review-page .review-options{display:grid;gap:10px;list-style:none;padding:0;margin:0}
.attempt-review-page .review-options li{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;border:1px solid var(--line);border-radius:9px;padding:12px 16px;font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.attempt-review-page .review-options li.selected-answer{background:#f2eaf6;border-color:#9a74ad;color:var(--ink)}
.attempt-review-page .answer-tag{display:inline-block;background:#e7d8ef;color:#693d7f;padding:3px 9px;border-radius:6px;font-size:11px;line-height:1.8;white-space:nowrap}
.attempt-review-page .answer-tag.published-answer{background:#def1ec;color:#137f72}
.attempt-review-page .published-grade{color:#776681;border-top:1px solid var(--line);padding-top:14px;margin:18px 0 0;font-size:14px;font-weight:400}
.attempt-review-page [data-grade=correct] .published-grade,.attempt-review-page [data-grade=graded] .published-grade{color:#137f72}
.attempt-review-page [data-grade=incorrect] .published-grade{color:#a72f48}
.attempt-review-page [data-grade=manual-review] .published-grade{color:#986322}
@media(max-width:700px){
 .topbar{height:72px;padding:0 20px;gap:12px}
 .topbar .brand{font-size:22px;gap:9px}
 .topbar .brand-mark{width:36px;height:36px;font-size:32px;border-radius:9px;padding-bottom:7px}
 .topbar .brand-mark>span{font-size:14px;right:5px;top:-1px}
 .topbar>.quiet{font-size:12px;max-width:116px;text-align:end}
 body>main{width:calc(100% - 32px);min-height:calc(100svh - 72px);padding:22px 0 30px}
 .session-loading{padding:28px 20px;margin:28px auto}
 .session-loading h1{font-size:24px}
 .exam-flow .preview-avatar{margin-bottom:46px}
 body.training-page[data-training-view=interview] .session-top{justify-content:space-between}
 body.training-page[data-training-view=interview] .recording{font-size:10px}
 .attempt-review-page .page-heading h1{font-size:28px}
 .attempt-review-page #attempt-meta{font-size:12px}
 .attempt-review-page #attempt-result{padding:16px;font-size:17px}
 .attempt-review-page #attempt-result[data-published=false]{font-size:14px}
 .attempt-review-page h2{font-size:22px}
 .attempt-review-page .attempt-media{grid-template-columns:minmax(0,1fr);gap:16px}
 .attempt-review-page .attempt-media .card{padding:14px}
 .attempt-review-page .review-question{padding:18px}
 .attempt-review-page .review-question h3{font-size:19px}
 .attempt-review-page .review-options li{padding:11px 12px;font-size:15px}
}
@media(prefers-reduced-motion:reduce){button{transition:none}}
