﻿body.pf-shell .page-head{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:18px}
#pageNavigation{display:flex;align-items:center;gap:10px}
body.pf-shell.pf-compact #pageNavigation .btn{display:inline-flex;align-items:center;justify-content:center;height:30px;min-height:30px;margin:0;padding:0 12px;border:1px solid #d9cdd5;border-radius:3px;background:transparent;font-size:.75rem;font-weight:500;white-space:nowrap;text-decoration:none}
body.pf-shell .welcome.setup .eyebrow,body.pf-shell #appInfo{display:none}
body.pf-shell .welcome h2,body.pf-shell .qr-section h2{font-size:20px;font-weight:600;line-height:1.4}
body.pf-shell.pf-compact .btn{min-height:36px;padding:0 14px;border-radius:3px;font-size:.84rem;box-shadow:none}
body.pf-shell.pf-compact #btnShowInstructions{font-size:.84rem;min-width:104px;width:auto;margin-bottom:18px}
body.pf-shell .researcher-info{padding-top:0;margin-top:0}
body.pf-shell .phone-qr{gap:16px;margin-top:18px;padding-top:16px}
body.pf-shell .saved-test{border-radius:6px}
body.pf-shell .confirm-dialog{border-radius:6px;padding:24px}
body.pf-shell .confirm-dialog h2{font-size:18px}

.completed-test-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:10px 0} #clearCompletedTests{margin-top:10px} #completedTestsEmpty{font-size:.85rem;color:var(--pf-muted)}
body.pf-shell.pf-compact .welcome,body.pf-shell.pf-compact .setup,body.pf-shell.pf-compact .qr-section,body.pf-shell.pf-compact .q-block,body.pf-shell.pf-compact .pf-card{border-radius:6px}
body.pf-shell.pf-compact .nav #btnPrev,body.pf-shell.pf-compact .nav #btnNext{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:104px;height:36px;border:1px solid #d9cdd5;border-radius:3px;background:transparent;color:#684252;font-size:.84rem;font-weight:500;box-shadow:none}
body.pf-shell.pf-compact .nav #btnPrev::before{content:'←';font-size:16px;line-height:1}
body.pf-shell.pf-compact .nav #btnNext::after{content:'→';font-size:16px;line-height:1}
body.pf-shell.pf-compact .nav #btnPrev:hover:not(:disabled),body.pf-shell.pf-compact .nav #btnNext:hover:not(:disabled){background:#f0e9ed;border-color:#b59aa9}
body.pf-shell.pf-compact .nav #btnPrev:disabled,body.pf-shell.pf-compact .nav #btnNext:disabled{opacity:.4;cursor:default}
/* Keep the centred statement stationary when skipped numbers appear. */
body.pf-shell #formArea{position:relative}
body.pf-shell #skipped{position:absolute;top:100%;left:0;right:0;margin-top:24px;padding-bottom:24px}
body.pf-shell #skippedList button{border-radius:3px}
body.pf-shell.pf-compact #btnStart{min-width:104px;height:36px;min-height:36px;padding:0 14px}
body.pf-shell.pf-compact .opts{gap:12px;max-width:320px}
body.pf-shell.pf-compact .opt{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1 1 0;min-height:44px;height:44px;padding:0 18px;border:1px solid #d9cdd5;border-radius:4px;background:#fff;color:#684252;font-size:.95rem;font-weight:500;box-shadow:none;transition:background-color .15s,border-color .15s,color .15s}
body.pf-shell.pf-compact .opt:hover{border-color:#a88398;background:#faf7f9}
body.pf-shell.pf-compact .opt.selected-yes,body.pf-shell.pf-compact .opt.selected-no{border-color:#805064;background:#805064;color:#fff;font-weight:600;box-shadow:none}
body.pf-shell.pf-compact .opt:focus,body.pf-shell.pf-compact .opt:focus-visible{outline:none;box-shadow:none}
@media(prefers-reduced-motion:reduce){body.pf-shell.pf-compact .opt{transition:none}}

.saved-test-row,.completed-test-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #e8e0e5}.saved-test-info{font-size:.8rem;color:#756a72}.saved-test-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}body.pf-shell.pf-compact .saved-test-actions .btn{margin:0;min-height:32px;height:32px;padding:0 12px;font-size:.8rem;border-radius:3px}body.pf-shell.pf-compact #confirmRemove{width:360px;max-width:calc(100vw - 40px);padding:24px;border-radius:6px;border:1px solid #d9cdd5;background:#fff}#confirmRemove h2{font-size:18px;font-weight:600;margin:0 0 12px}#confirmRemove p{font-size:.9rem;margin:0 0 24px}#confirmRemove .actions{display:flex;justify-content:flex-end;gap:12px}#confirmRemove .btn{min-width:104px}
body.pf-shell.pf-compact .saved-qr-dialog{width:fit-content;max-width:calc(100vw - 32px);max-height:calc(100svh - 32px);padding:24px;border:1px solid #d9cdd5;border-radius:6px;background:#fff;overflow:auto} .saved-qr-dialog::backdrop{background:#20213366} #savedQrCode{width:420px;max-width:100%;background:#fff} #savedQrCode img,#savedQrCode canvas{display:block;max-width:100%;height:auto}
body.pf-shell [hidden]{display:none!important}

#researcherContent{overflow:hidden}
