body{background:#f3f4f6;justify-content:center;align-items:flex-start;min-height:100vh;margin:0;font-family:Arial,sans-serif;display:flex}#root{justify-content:center;width:100%;display:flex}.questionnaire{box-sizing:border-box;color:#222;background:#fff;border-radius:12px;width:min(92vw,720px);margin:30px auto;padding:28px;box-shadow:0 2px 10px #00000014}.questionnaire h1{margin-top:0;font-size:24px}.q-intro{color:#475569;line-height:1.5}.q-question{border:1px solid #cbd5e1;border-radius:8px;margin:0 0 18px;padding:16px 18px}.q-question.q-invalid{background:#fef2f2;border-color:#dc2626}.q-question legend{padding:0 6px;font-size:16px;font-weight:700}.q-hint{color:#64748b;margin:0 0 12px;font-size:14px}.q-options{flex-direction:column;gap:8px;display:flex}.q-option{cursor:pointer;align-items:flex-start;gap:10px;font-size:15px;line-height:1.4;display:flex}.q-option input{flex-shrink:0;margin-top:3px}.q-text{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:6px;width:100%;padding:10px 12px;font-size:15px}.q-text:focus{border-color:#2563eb;outline:2px solid #93c5fd}.consent p,.consent-list{color:#334155;line-height:1.5}.consent-list li{margin-bottom:6px}.consent-check{background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;margin:20px 0;padding:12px}.consent-start{width:100%}.q-section{color:#2563eb;text-transform:uppercase;letter-spacing:.03em;margin:4px 0 12px;font-size:15px;font-weight:700}.q-textarea{resize:vertical;font-family:inherit}.q-scale-labelled{grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px;display:grid}.q-scale-labelled-point{text-align:center;cursor:pointer;border:1px solid #e2e8f0;border-radius:6px;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;font-size:13px;display:flex}.q-scale-labelled-point:has(input:checked){background:#eff6ff;border-color:#2563eb}.q-ranking{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.q-rank-item{background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:10px;padding:10px 12px;display:flex}.q-rank-pos{width:20px;font-weight:700}.q-rank-label{flex:1}.q-rank-btn{cursor:pointer;background:#fff;border:1px solid #94a3b8;border-radius:6px;width:36px;height:32px}.q-rank-btn:disabled{opacity:.35;cursor:default}.q-integer{width:120px}.q-other{width:calc(100% - 26px);margin:8px 0 4px 26px}.q-scale{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.q-scale-label{color:#475569;font-size:14px}.q-scale-points{gap:14px;display:flex}.q-scale-point{cursor:pointer;flex-direction:column;align-items:center;gap:4px;font-size:14px;display:flex}.q-error{color:#dc2626;margin:10px 0 0;font-size:14px}.q-submit-error{margin-bottom:12px}.q-nav{gap:12px;display:flex}.q-back{color:#2563eb;cursor:pointer;background:#fff;border:1px solid #2563eb;border-radius:6px;flex:1;padding:12px;font-size:15px}.q-back:hover{background:#eff6ff}.q-number{color:#64748b;margin-right:2px;font-weight:400}.q-optional{color:#64748b;font-size:14px;font-weight:400}.progress{z-index:20;box-sizing:border-box;background:#fff;border-bottom:1px solid #e2e8f0;padding:8px 16px 10px;position:fixed;top:0;left:0;right:0}.progress-row{color:#475569;justify-content:space-between;align-items:center;max-width:720px;margin:0 auto 6px;font-size:13px;display:flex}.progress-row strong{color:#1e293b}.progress-track{background:#e2e8f0;border-radius:4px;max-width:720px;height:8px;margin:0 auto;overflow:hidden}.progress-fill{background:#2563eb;border-radius:4px;height:100%;transition:width .4s}.page-with-progress{box-sizing:border-box;width:100%;padding-top:52px}.test-mode-badge{z-index:1000;color:#fff;pointer-events:none;background:#b91c1c;border-radius:4px;padding:2px 8px;font-size:12px;font-weight:600;position:fixed;bottom:8px;left:8px}.q-skip{color:#9a3412;cursor:pointer;background:#fff7ed;border:1px dashed #fb923c;border-radius:6px;width:100%;margin-top:14px;padding:10px;font-size:14px;display:block}.consent-study{color:#1e40af;background:#dbeafe;border-radius:999px;margin:-6px 0 6px;padding:3px 10px;font-size:14px;font-weight:700;display:inline-block}.consent-important{background:#fffbeb;border-left:4px solid #f59e0b;border-radius:6px;margin:16px 0;padding:4px 16px}.consent-privacy{background:#ecfdf5;border-left:4px solid #10b981;border-radius:6px;margin:16px 0;padding:4px 16px}.thanks{text-align:center}.thanks svg{width:min(90vw,360px);height:auto;margin:10px auto 18px;display:block}.thanks-text{font-size:17px;line-height:1.55}@media (width<=480px){.questionnaire{border-radius:0;width:100%;margin:0;padding:18px 14px}.q-question{padding:12px}.q-scale,.q-scale-points{gap:8px}.q-scale-labelled{grid-template-columns:1fr}.q-scale-labelled-point{text-align:left;flex-direction:row;justify-content:flex-start;padding:8px 10px}}.q-submit{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;flex:2;padding:12px;font-size:15px}.q-submit:hover{background:#1d4ed8}.q-submit:disabled{cursor:default;background:#94a3b8}.q-matrix-legend{font-weight:700}.q-matrix-scroll{overflow-x:auto}.q-matrix-table{border-collapse:collapse;width:100%}.q-matrix-table th,.q-matrix-table td{border-bottom:1px solid #e2e8f0;padding:8px 4px}.q-matrix-table thead th{vertical-align:top;color:#475569;font-size:12px;font-weight:400}.q-matrix-statement{text-align:left;font-weight:400;line-height:1.4}.q-matrix-point,.q-matrix-cell{text-align:center;width:56px}.q-matrix-number{color:#1e293b;font-size:15px;font-weight:700;display:block}.q-matrix-end{margin-top:2px;line-height:1.2;display:block}.q-matrix-radio{cursor:pointer;justify-content:center;align-items:center;min-height:36px;display:flex}.q-matrix-radio input{cursor:pointer;width:22px;height:22px}.q-matrix-table tr.q-invalid th,.q-matrix-table tr.q-invalid td{background:#fef2f2}.q-matrix-error{margin:4px 0 0;display:block}.language-switch{background:#fff;border:1px solid #cbd5e1;border-radius:999px;gap:2px;margin:0 12px 0 auto;padding:1px;display:inline-flex}.language-switch button{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:999px;padding:1px 9px;font-size:12px;line-height:1.4}.language-switch button.active{color:#fff;background:#1e3a8a}.consent-details{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;margin:12px 0;padding:0 14px}.consent-details summary{cursor:pointer;color:#1e293b;padding:10px 0;font-weight:600}.consent-details[open] summary{border-bottom:1px solid #e2e8f0;margin-bottom:4px}.login-task{box-sizing:border-box;-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;gap:8px;width:min(98vw,1500px);height:calc(100dvh - 52px);margin:0 auto;padding:8px 0;display:flex}.task-bar{color:#334155;background:#fff;border-radius:8px;flex-wrap:wrap;flex:none;justify-content:center;gap:4px 20px;padding:6px 16px;font-size:15px;display:flex;box-shadow:0 1px 4px #00000014}.task-bar>span:first-child{font-weight:700}.task-credential code,.credential code{letter-spacing:.04em;background:#eef2ff;border-radius:4px;padding:2px 6px;font-size:16px}.terminal-layout{flex:auto;justify-content:center;align-items:stretch;gap:40px;width:100%;min-height:0;display:flex}.computer{flex-direction:column;flex:auto;align-items:center;min-width:0;min-height:0;display:flex}.peripherals{flex:0 0 220px;justify-content:center;align-items:center;display:flex}.monitor{box-sizing:border-box;background:#252a34;border-radius:16px;flex-direction:column;flex:auto;width:100%;min-height:0;padding:10px 12px 12px;display:flex;position:relative}.camera{background:#596579;border-radius:50%;flex:none;width:6px;height:6px;margin:0 auto 6px}.usb-slot{background:#111827;border-radius:2px 4px 4px 2px;width:10px;height:45px;position:absolute;top:45%;right:-10px;box-shadow:inset 0 0 0 1px #374151}.screen{box-sizing:border-box;background:#dce8f6;border-radius:8px;flex:auto;justify-content:center;align-items:stretch;min-height:0;padding:12px;display:flex;position:relative;overflow:hidden}.screen-content{flex-direction:column;gap:10px;width:100%;min-height:0;display:flex}.login{text-align:center;box-sizing:border-box;background:#fff;border-radius:12px;flex:none;width:min(100%,360px);margin:0 auto;padding:clamp(10px,2.2vh,22px) 22px;box-shadow:0 2px 10px #00000014}.login h2,.welcome h2{color:#222;margin-top:0}.login h2{margin-bottom:clamp(6px,1.6vh,18px);font-size:clamp(18px,3vh,24px)}.login label{text-align:left;color:#333;margin-bottom:6px;font-size:14px;display:block}.login input{box-sizing:border-box;cursor:pointer;border:1px solid #cbd5e1;border-radius:6px;width:100%;margin-bottom:clamp(8px,1.6vh,16px);padding:clamp(7px,1.4vh,12px);font-size:14px;display:block}.login input.active,.login input:focus{border-color:#2563eb;outline:2px solid #93c5fd}.login button,.welcome button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;width:100%;padding:clamp(8px,1.5vh,12px);font-size:14px}.login button:hover,.welcome button:hover{background:#1d4ed8}.error{color:#dc2626;margin-top:12px;font-size:14px}.keyboard-wrapper{background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;padding:10px}.keyboard-title{color:#334155;text-align:center;margin:0 0 8px;font-size:14px}.keyboard{flex-direction:column;gap:6px;display:flex}.keyboard-row{justify-content:center;gap:6px;display:flex}.key{cursor:pointer;background:#fff;border:1px solid #94a3b8;border-radius:8px;min-width:42px;padding:10px 12px;font-size:14px;box-shadow:0 1px 2px #0000000d}.key:hover{background:#e2e8f0}.key:active{background:#cbd5e1}.key-wide{min-width:110px}.keyboard-full{flex-direction:column;flex:auto;min-height:0;display:flex}.keyboard-full .keyboard{flex:auto;min-height:0;max-height:340px}.keyboard-full .keyboard-row{flex:1 1 0;min-height:34px;max-height:58px}.keyboard-full .key{flex:1 1 0;min-width:0;max-width:96px;padding:0;font-size:clamp(15px,2.6vh,20px)}.keyboard-full .keyboard-row.offset{padding:0 4%}.keyboard-full .key-wide{flex:2 1 0;max-width:200px;font-size:clamp(13px,2vh,16px)}.keyboard-full .key-space{flex:6 1 0;max-width:520px}.welcome{text-align:center;color:#222;background:#fff;border-radius:12px;width:min(100%,360px);margin:auto;padding:24px}.stand{background:#7b8797;flex:none;width:25px;height:clamp(8px,3vh,40px)}.base{background:#7b8797;border-radius:8px;flex:none;width:180px;height:10px}.screen-overlay{z-index:5;background:#dce8f6eb;border-radius:8px;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.countdown{text-align:center;color:#1e293b}.countdown p{margin:0;font-size:20px}.countdown span{font-size:96px;font-weight:700}.screen-message{text-align:center;color:#222;background:#fff;border-radius:12px;max-width:420px;margin:auto;padding:24px;box-shadow:0 2px 10px #00000014}.screen-message h2{margin-top:0}.screen-icon{font-size:44px}.login-hint{color:#475569;font-size:14px}.code-display{letter-spacing:.3em;border:2px solid #2563eb;border-radius:6px;min-height:24px;margin:12px 0 16px;padding:12px;font-family:monospace;font-size:24px}.code-placeholder{color:#cbd5e1}.keypad-wrapper{box-sizing:border-box;width:min(100%,320px);margin:0 auto}.key-num{flex:1;min-width:70px;padding:14px 0;font-size:18px}.give-up{color:#475569;flex-wrap:wrap;flex:none;justify-content:center;align-items:center;gap:8px;font-size:14px;display:flex}.give-up button{cursor:pointer;background:#fff;border:1px solid #94a3b8;border-radius:6px;padding:6px 12px}.give-up button.link{color:#64748b;background:0 0;border:none;text-decoration:underline}.draggable{cursor:grab;touch-action:none;position:relative}.draggable.dragging{cursor:grabbing;z-index:50;filter:drop-shadow(0 8px 12px #0000004d)}.draggable.disabled{cursor:default;opacity:.85}.peripheral-label{text-align:center;color:#475569;margin:8px 0 0;font-size:13px}.card-area{flex-direction:column;align-items:center;gap:40px;display:flex}.smart-card{box-sizing:border-box;color:#fff;background:linear-gradient(135deg,#1d4ed8,#0ea5e9);border-radius:10px;width:170px;height:107px;padding:12px;box-shadow:0 2px 6px #00000040}.card-chip{background:linear-gradient(135deg,#facc15,#ca8a04);border-radius:4px;width:30px;height:22px}.card-name{margin:14px 0 2px;font-size:13px;font-weight:700}.card-number{opacity:.85;margin:0;font-size:12px}.card-reader{background:#334155;border-radius:12px;width:200px;height:120px;position:relative;box-shadow:inset 0 0 0 2px #475569}.card-reader.has-card{margin-top:80px}.reader-slot{background:#0f172a;border-radius:3px;height:6px;position:absolute;top:18px;left:14px;right:14px}.reader-led{background:#64748b;border-radius:50%;width:10px;height:10px;position:absolute;bottom:14px;right:16px}.reader-led.on{background:#22c55e;box-shadow:0 0 6px #22c55e}.reader-label{color:#cbd5e1;margin:0;font-size:12px;position:absolute;bottom:6px;left:16px}.card-in-reader{position:absolute;bottom:100px;left:15px}.key-area{flex-direction:column;justify-content:center;align-items:center;min-height:120px;display:flex}.security-key{align-items:center;display:flex}.key-plug{background:linear-gradient(#cbd5e1,#94a3b8);border-radius:2px 0 0 2px;width:18px;height:14px}.key-body{background:#111827;border-radius:4px 10px 10px 4px;justify-content:center;align-items:center;width:64px;height:26px;display:flex}.key-touch{background:radial-gradient(#fde68a,#ca8a04);border:none;border-radius:50%;width:18px;height:18px;padding:0}.key-touch.blinking{cursor:pointer;animation:.9s ease-in-out infinite key-blink}@keyframes key-blink{50%{box-shadow:0 0 10px 4px #facc15}}.key-in-port{margin-left:8px;position:absolute;top:calc(45% + 10px);left:100%}.phone{box-sizing:border-box;background:#111827;border-radius:28px;flex-direction:column;align-items:center;width:200px;height:360px;padding:14px 10px;display:flex}.phone-notch{background:#374151;border-radius:3px;width:60px;height:6px;margin-bottom:12px}.phone-screen{text-align:center;box-sizing:border-box;background:#fff;border-radius:16px;flex:1;width:100%;padding:20px 10px}.app-title{color:#2563eb;margin:0 0 24px;font-weight:700}.app-account{color:#475569;margin:0;font-size:13px}.app-code{color:#111827;margin:10px 0 16px;font-family:monospace;font-size:34px;font-weight:700}.app-timer{background:#e2e8f0;border-radius:3px;height:6px;overflow:hidden}.app-timer-bar{background:#2563eb;height:100%}.app-timer-bar.low{background:#dc2626}.app-remaining{color:#475569;margin:6px 0 0;font-size:13px}.fingerprint-sensor{cursor:pointer;touch-action:none;-webkit-touch-callout:none;border-radius:50%;width:150px;height:150px;margin:16px auto 0}.fp-track{fill:#f1f5f9;stroke:#cbd5e1;stroke-width:6px}.fp-progress{fill:none;stroke:#16a34a;stroke-width:6px;transform-origin:60px 60px;transform:rotate(-90deg)}.fp-lines path{fill:none;stroke:#475569;stroke-width:3px;stroke-linecap:round}.q-progress-top{color:#64748b;margin:0 0 4px;font-size:14px}.instruction-steps{padding-left:22px;line-height:1.6}.credentials{flex-direction:column;gap:8px;margin:0;display:flex}.credential{align-items:center;gap:12px;display:flex}.credential dt{width:90px;font-weight:700}.credential dd{margin:0}.instruction-note{color:#334155;background:#f1f5f9;border-radius:6px;margin:20px 0;padding:12px;font-size:14px}.instruction-start{width:100%}@media (height<=700px){.screen-content:has(.keyboard-full){flex-direction:row;align-items:stretch;gap:12px}.screen-content:has(.keyboard-full) .login{flex:0 0 300px;margin:auto 0}.camera{display:none}}.login-task .q-skip{z-index:30;width:auto;margin:0;position:fixed;bottom:8px;right:8px}@media (height<=700px) and (width<=1300px){.terminal-layout{gap:16px}.peripherals{flex-basis:170px}.peripherals .phone{width:170px}.peripherals .app-code{white-space:nowrap;font-size:28px}}.instruction-video{width:100%;margin-top:10px;display:block}.help-video-backdrop{z-index:900;background:#0f172ab3;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.help-video{background:#fff;border-radius:10px;flex-direction:column;gap:12px;width:min(960px,100%);max-height:100%;padding:16px;display:flex;box-shadow:0 20px 50px #00000059}.help-video-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.help-video-head h2{margin:0;font-size:1.1rem}.help-video-close{cursor:pointer;background:0 0;border:none;padding:4px 8px;font-size:1.3rem;line-height:1}.help-video video{aspect-ratio:16/9;background:#000;border-radius:6px;width:100%;max-height:calc(100dvh - 180px)}.credential-flash{border-radius:4px;animation:.8s ease-in-out 3 credential-flash}@keyframes credential-flash{0%,to{box-shadow:none;background-color:#0000}50%{background-color:#fde047;box-shadow:0 0 0 4px #fde047}}@media (prefers-reduced-motion:reduce){.credential-flash{background-color:#fde047;animation:none;box-shadow:0 0 0 4px #fde047}}
