:root{color:#ecf2ff;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--panel:#0a111fcc;--card:#121e36cc;--card-strong:#1e3456e6;--primary:#7dd3fc;--primary-strong:#38bdf8;--accent:#a78bfa;--success:#34d399;--warning:#fbbf24;--danger:#f87171;--muted:#b7c7e5;--border:#a4c2ff2e;--shadow:0 22px 55px #02051273;background:linear-gradient(135deg,#06142d,#102a4f 35%,#1f3d71 100%);font-family:Inter,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html,body,#root{min-height:100vh;margin:0}body{color:#ecf2ff;background:linear-gradient(135deg,#06142d,#102a4f 35%,#1f3d71 100%);min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}.auth-shell,.app-shell{min-height:100vh;padding:32px 18px}.auth-shell{justify-content:center;align-items:center;display:flex}.auth-card,.card{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:24px}.auth-card{width:min(100%,480px);padding:28px}.brand-row{align-items:center;gap:18px;margin-bottom:22px;display:flex}.brand-badge{background:linear-gradient(135deg, var(--primary), var(--accent));color:#06142d;border-radius:18px;place-items:center;width:56px;height:56px;font-size:1.8rem;font-weight:800;display:grid}h1,h2,h3,p{margin:0}h1{letter-spacing:-.04em;font-size:clamp(1.8rem,3vw,2.4rem)}h2{font-size:clamp(1.5rem,2vw,2rem)}p{color:var(--muted)}.toggle-row{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:18px;display:grid}.toggle{color:var(--muted);border:1px solid var(--border);background:0 0;border-radius:12px;padding:10px 12px}.toggle.active{color:#fff;background:#7dd3fc2e;border-color:#7dd3fc99}label{color:var(--muted);flex-direction:column;gap:8px;margin-bottom:16px;display:flex}input,textarea,select{border:1px solid var(--border);color:#fff;background:#0f172acc;border-radius:12px;width:100%;padding:12px 14px}textarea{resize:vertical;min-height:110px}.primary-btn,.ghost-btn{border:none;border-radius:12px;padding:12px 18px;font-weight:700}.primary-btn{background:linear-gradient(135deg, var(--primary), var(--accent));color:#07111d;width:100%}.ghost-btn{color:#fff;border:1px solid var(--border);background:#94a3b81a}.app-shell{max-width:1200px;margin:0 auto}.topbar{justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px;display:flex}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--primary);margin-bottom:8px;font-size:.73rem}.card{padding:22px}.sidebar{flex-direction:column;gap:18px;display:flex}.profile-list div{border:1px solid var(--border);background:#0f172acc;border-radius:12px;justify-content:space-between;gap:12px;padding:10px 12px;display:flex}.profile-list span{color:var(--muted)}.content-panel{min-height:620px}.empty-state,.task-box,.result-panel{flex-direction:column;justify-content:center;gap:18px;min-height:540px;display:flex}.word-grid{flex-wrap:wrap;gap:12px;display:flex}.word-pill{color:#fff;background:#7dd3fc1f;border:1px solid #7dd3fc66;border-radius:999px;padding:10px 16px;font-weight:700}.task-actions{justify-content:flex-end;display:flex}.attention-btn.active{background:linear-gradient(135deg,#34d399,#22c55e)}.stats-row{color:var(--muted);flex-wrap:wrap;gap:16px;display:flex}.score-ring{text-align:center;background:radial-gradient(circle,#7dd3fc40 0%,#121e36cc 55%,#07111df2 100%);border:8px solid #7dd3fc8c;border-radius:50%;place-items:center;width:170px;height:170px;margin:0 auto;display:grid}.score-ring strong{font-size:2.3rem;display:block}.score-ring span{color:var(--muted);font-size:.75rem}.metric-grid{grid-template-columns:repeat(3,minmax(150px,1fr));gap:12px;display:grid}.metric-grid div{border:1px solid var(--border);background:#0f172acc;border-radius:14px;gap:8px;padding:16px;display:grid}.metric-grid span{color:var(--muted)}.flag-list{color:#fff;gap:10px;padding-left:18px;display:grid}.agent-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.agent-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.architecture-panel{border:1px solid var(--border);background:#0f172abf;border-radius:18px;margin-top:18px;padding:18px}.architecture-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:12px;display:grid}.architecture-grid div{border:1px solid var(--border);background:#0f172acc;border-radius:12px;gap:6px;padding:12px;display:grid}.architecture-grid span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.7rem}.fixed-status{display:block}@media (width<=800px){.main-grid{grid-template-columns:1fr}.topbar{flex-direction:column;align-items:flex-start}.metric-grid{grid-template-columns:1fr}}.app-shell{max-width:1280px;margin:0 auto;padding:24px 18px 48px}.topbar{border:1px solid var(--border);box-shadow:var(--shadow);background:#0a111fb3;border-radius:18px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;padding:18px 20px;display:flex}.topbar h2{font-size:clamp(1.2rem,2vw,2rem)}.top-actions{align-items:center;gap:12px;display:flex}.main-grid{grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:22px;display:grid}.card,.auth-card{border:1px solid var(--border);box-shadow:var(--shadow);background:#0a111fb3;border-radius:22px}.sidebar,.content-panel{padding:22px}.profile-list{gap:12px;display:grid}.profile-list div,.metric-grid div,.architecture-grid div{background:#0f172acc;border:1px solid #94a3b81f;border-radius:12px;justify-content:space-between;gap:12px;padding:12px 14px;display:flex}.profile-list span,.metric-grid span,.architecture-grid span,.mini-label{color:var(--muted);font-size:.8rem}.profile-list strong,.metric-grid strong,.architecture-grid strong{color:#fff;text-align:right}.empty-state,.task-box,.result-panel{flex-direction:column;gap:18px;min-height:420px;display:flex}.task-box,.result-panel{padding:6px 2px}.word-grid,.stats-row,.metric-grid,.agent-grid,.architecture-grid{gap:12px;display:grid}.word-grid{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}.word-pill{background:linear-gradient(135deg,#7dd3fc2e,#a78bfa2e);border:1px solid #7dd3fc66;border-radius:999px;justify-content:center;align-items:center;min-height:48px;padding:10px 14px;font-weight:600;display:inline-flex}.recall-grid,.form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.task-actions{justify-content:flex-end;margin-top:auto;display:flex}.task-actions .primary-btn{min-width:180px}.attention-box{border:1px solid var(--border);background:#0f172acc;border-radius:18px;place-items:center;min-height:180px;display:grid}.attention-btn{color:#fff;background:linear-gradient(135deg,#7dd3fc2e,#a78bfa33);border:none;border-radius:50%;width:140px;height:140px;font-size:1.6rem;font-weight:800;box-shadow:inset 0 0 20px #7dd3fc33}.attention-btn.active{color:#120b13;background:linear-gradient(135deg,#fbbf24,#fb7185)}.stats-row{color:var(--muted);grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.summary-header{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.score-ring{width:170px;height:170px;box-shadow:var(--shadow);background:radial-gradient(circle,#0f172ae6 46%,#38bdf842 47%,#a78bfa80 68%,#0f172ae6 69%);border:1px solid #7dd3fc80;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;display:flex}.score-ring strong{font-size:2.8rem;line-height:1}.score-ring span,.risk-card small{color:var(--muted)}.risk-card{background:linear-gradient(135deg,#7dd3fc1f,#a78bfa2e);border:1px solid #7dd3fc4d;border-radius:18px;flex-direction:column;flex:1;gap:8px;min-width:180px;padding:18px 20px;display:flex}.risk-card strong{font-size:clamp(1.6rem,2vw,2.2rem)}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.report-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.report-item{border:1px solid var(--border);background:#0f172acc;border-radius:14px;flex-direction:column;gap:8px;padding:14px 16px;display:flex}.report-item span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.75rem}.prediction-card,.prediction-status{background:linear-gradient(135deg,#0e749024,#1e293bb8);border:1px solid #7dd3fc3d;border-radius:16px;padding:16px 18px}.simulated-probability-card{background:linear-gradient(135deg,#7850086b,#1e293bd1);border:2px solid #fbbf24bf;border-radius:16px;gap:10px;padding:20px;display:grid;box-shadow:0 8px 24px #7850082e}.simulated-probability-card h3{color:#fff2c2;margin:0}.simulated-probability-value{color:#fff;margin:0;font-size:2rem;font-weight:800}.prediction-status{border-color:#94a3b833}.prediction-scores{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.prediction-scores span{color:var(--muted);background:#0f172ab8;border-radius:10px;padding:8px 10px;font-size:.82rem}.prediction-scores strong{color:#fff;margin-right:4px}.research-details{border-top:1px solid var(--border);color:var(--muted);padding-top:14px}.research-details summary{cursor:pointer;color:var(--text);font-weight:700}.research-details pre{white-space:pre-wrap;background:#020617b8;border-radius:12px;max-height:280px;padding:12px;font-size:.72rem;overflow:auto}.agent-summary-box{border:1px solid var(--border);background:#0f172abf;border-radius:18px;padding:18px 20px}.agent-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.agent-card{border:1px solid var(--border);background:#0f172acc;border-radius:16px;padding:16px 18px}.agent-head{justify-content:space-between;gap:12px;margin-bottom:8px;display:flex}.agent-head span{color:var(--primary);font-size:.75rem}.flag-list{color:var(--muted);gap:10px;margin:0;padding-left:18px;display:grid}.architecture-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.status-pill{color:#d9fff0;background:#34d3991f;border:1px solid #34d39940;border-radius:999px;margin-top:16px;padding:10px 14px;display:inline-block}.status-pill.fixed-status{margin-top:20px}.history-block{border-top:1px solid var(--border);margin-top:18px;padding-top:16px}.voice-panel{border:1px solid var(--border);background:#0f172ac7;border-radius:16px;gap:12px;margin-top:18px;padding:16px 14px;display:grid}.voice-panel h4{margin:0}.voice-indicator{color:#dff7ff;background:#7dd3fc14;border:1px solid #7dd3fc33;border-radius:999px;align-items:center;gap:10px;padding:8px 12px;display:inline-flex}.record-dot{background:#94a3b899;border-radius:50%;width:10px;height:10px;display:inline-block}.record-dot.active{background:#f87171;animation:1.2s ease-in-out infinite pulse;box-shadow:0 0 10px #f87171e6}.upload-progress,.recording-preview{gap:8px;display:grid}.upload-progress progress,.recording-preview audio{width:100%}.recording-preview small{color:var(--muted);line-height:1.5}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.4)}}.voice-summary-banner{color:#eaf8ff;background:linear-gradient(135deg,#7dd3fc1f,#a78bfa29);border:1px solid #7dd3fc38;border-radius:12px;padding:12px 14px}.history-block h4{margin:0 0 10px;font-size:1rem}.history-list{gap:10px;display:grid}.history-item{background:#0f172acc;border:1px solid #94a3b81f;border-radius:12px;flex-direction:column;gap:4px;padding:10px 12px;display:flex}.history-item span,.history-item small,.muted-text{color:var(--muted)}.memory-timer-box{color:#dff7ff;background:#7dd3fc1f;border:1px solid #7dd3fc40;border-radius:999px;align-self:flex-start;align-items:center;padding:8px 12px;display:inline-flex}.prompt-banner,.sentence-prompt-box{color:#eaf8ff;background:#7dd3fc14;border:1px solid #7dd3fc33;border-radius:12px;padding:12px 14px}.prompt-field{flex-direction:column;gap:8px;display:flex}.prompt-field span{color:var(--muted);font-size:.82rem}.summary-actions{justify-content:flex-end;margin-top:8px;display:flex}.summary-actions .primary-btn{width:auto;min-width:180px}@media (width<=860px){.main-grid{grid-template-columns:1fr}.topbar{flex-direction:column;align-items:flex-start}.top-actions{justify-content:space-between;width:100%}}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:2px;outline:3px solid #fbbf24}button:disabled{cursor:not-allowed;opacity:.6}.history-open-btn{text-align:left;width:100%;color:inherit;background:0 0;border:0;flex-direction:column;gap:4px;padding:4px;display:flex}.assessment-progress{margin-bottom:20px;overflow-x:auto}.assessment-progress ol{gap:8px;min-width:max-content;margin:0;padding:0 0 8px;list-style:none;display:flex}.assessment-progress li{border:1px solid var(--border);color:var(--muted);border-radius:999px;padding:7px 10px;font-size:.78rem}.assessment-progress li.current{color:#07111d;border-color:var(--primary);background:var(--primary);font-weight:700}.consent-field{flex-direction:row;align-items:flex-start;gap:10px;line-height:1.55;display:flex}.consent-field input{flex:none;width:18px;min-height:18px;margin-top:4px}.picture-stimulus{border:1px solid var(--border);background:#d9efff;border-radius:16px;overflow:hidden}.picture-stimulus svg{width:100%;height:auto;display:block}.report-warning{color:#fff2c2;background:#78500840;border:1px solid #fbbf2480;border-radius:14px;padding:14px 16px}.report-section{border:1px solid var(--border);overflow-wrap:anywhere;background:#0f172aa6;border-radius:16px;gap:10px;padding:16px;display:grid}.feature-list{gap:6px;margin:0;padding-left:20px;display:grid}.demo-launch{border-top:1px solid var(--border);gap:12px;margin-top:18px;padding-top:18px;display:grid}.demo-launch .result-panel{min-height:0}.demo-launch pre{color:#dbeafe;white-space:pre-wrap;background:#020617cc;border-radius:10px;max-height:260px;padding:12px;overflow:auto}.observation-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin:0;display:grid}.observation-list div{background:#94a3b814;border-radius:10px;justify-content:space-between;gap:12px;padding:8px 10px;display:flex}.observation-list dt{color:var(--muted);text-transform:capitalize}.observation-list dd{margin:0}
