:root{font-family:Arial,Helvetica,sans-serif;color:#111827;background:#eef2ff}*{box-sizing:border-box}body{margin:0}.page{min-height:100vh;display:flex;align-items:flex-start;justify-content:center;padding:24px}.card{width:100%;max-width:820px;background:#fff;border-radius:22px;padding:42px;box-shadow:0 24px 70px #1f29372e}.badge{display:inline-block;padding:7px 11px;border-radius:999px;background:#ede9fe;color:#5b21b6;font-weight:700;font-size:13px;margin-bottom:16px}h1{margin:0 0 14px;font-size:34px;line-height:1.05}h2{margin:0 0 14px;font-size:22px}h3{margin:24px 0 10px}.intro{color:#4b5563;font-size:17px;line-height:1.5;margin-bottom:26px}label{display:block;font-weight:700;margin-bottom:8px}input{width:100%;border:1px solid #d1d5db;border-radius:12px;padding:15px;font-size:17px;outline:none}input:focus{border-color:#7c3aed;box-shadow:0 0 0 4px #7c3aed21}.buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}button{border:none;border-radius:12px;padding:15px 18px;font-size:17px;font-weight:700;color:#fff;background:#6d28d9;cursor:pointer}button:hover{background:#5b21b6}button:disabled{background:#9ca3af;cursor:not-allowed}button.secondary{color:#374151;background:#e5e7eb}.message{min-height:24px;font-weight:700}.message.error{color:#b91c1c}.message.success{color:#15803d}.message.neutral{color:#374151}.statusBox{margin-top:20px;padding:14px;border-radius:12px;background:#f9fafb;border:1px solid #e5e7eb}.panel{margin-top:24px;padding:18px;border-radius:16px;background:#f9fafb;border:1px solid #e5e7eb}.transcript{max-height:260px;overflow:auto;display:grid;gap:10px}.transcript.empty,.report.empty{color:#6b7280}.line{padding:12px;border-radius:12px;background:#fff;border:1px solid #e5e7eb}.line.david{border-left:5px solid #7c3aed}.line.candidate{border-left:5px solid #059669}.meta{font-size:12px;font-weight:700;color:#6b7280;margin-bottom:6px}.reportHeader{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.reportHeader>div{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px}.label{font-size:12px;font-weight:700;color:#6b7280;text-transform:uppercase}.bigScore{font-size:34px;font-weight:800;color:#111827}.recommendation{font-size:24px;font-weight:800;color:#5b21b6;margin-top:8px}.scoreRow{display:grid;grid-template-columns:170px 45px 1fr;align-items:center;gap:12px;margin:10px 0}.bar{height:10px;background:#e5e7eb;border-radius:999px;overflow:hidden}.bar>div{height:100%;background:#7c3aed}.note{display:grid;grid-template-columns:70px 1fr;gap:10px;padding:8px 0;border-bottom:1px solid #e5e7eb}.warning{padding:12px;border-radius:12px;background:#fef3c7;color:#92400e;margin-bottom:12px;font-weight:700}.loading{font-weight:700;color:#5b21b6}.debug{margin-top:18px;color:#374151}pre{max-height:220px;overflow:auto;background:#111827;color:#d1fae5;padding:14px;border-radius:12px;font-size:13px}@media(max-width:720px){.card{padding:24px}.reportHeader,.scoreRow{grid-template-columns:1fr}}.privacyNotice{margin-top:18px;font-size:13px;color:#6b7280;text-align:center}.startTestButton{background:#16a34a!important;color:#fff!important}.startTestButton:hover{background:#15803d!important}.endTestButton{background:#dc2626!important;color:#fff!important}.endTestButton:hover{background:#b91c1c!important}.endTestButton:disabled{background:#fca5a5!important;color:#fff!important;cursor:not-allowed}.instructionsBox{margin-top:18px;padding:18px;border-radius:16px;background:#f9fafb;border:1px solid #e5e7eb;line-height:1.55;color:#374151}.instructionsBox p{margin:0 0 12px}.instructionsBox p:last-child{margin-bottom:0}.candidateNotice{margin-top:24px;padding:16px;border-radius:14px;background:#eef2ff;border:1px solid #c7d2fe;color:#374151}.candidateNotice p{margin:0 0 10px}.candidateNotice p:last-child{margin-bottom:0}.welcomePanel{margin:22px 0 24px;padding:24px;border-radius:18px;background:#f9fafb;border:1px solid #e5e7eb;line-height:1.55;color:#374151}.welcomePanel h2{color:#111827}.welcomePanel p{margin:0 0 12px}.welcomePanel p:last-child{margin-bottom:0}.disqualificationWarning{padding:14px;border-radius:14px;background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.successPanel{background:#f0fdf4;border-color:#bbf7d0}.successPanel h2{color:#166534}.spinner{width:34px;height:34px;border:4px solid #e5e7eb;border-top-color:#6d28d9;border-radius:50%;animation:spin .9s linear infinite;margin:6px 0 14px}@keyframes spin{to{transform:rotate(360deg)}}
