.question-interface{color:#333;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:8px;min-height:100vh;padding:20px}.question-interface.loading,.question-interface.error{justify-content:center;align-items:center;min-height:400px;display:flex}.question-interface.loading p,.question-interface.error p{color:#fff;font-size:1.1rem}.question-header{background:#fff;border-radius:8px;margin-bottom:30px;padding:20px;box-shadow:0 4px 6px #0000001a}.question-header h2{color:#667eea;margin:0 0 15px;font-size:clamp(1.6rem,3vw,2rem)}.progress-info{flex-direction:column;gap:10px;display:flex}.progress-text{color:#666;font-size:.95rem;font-weight:600}.progress-bar{background:#e0e0e0;border-radius:4px;width:100%;height:8px;overflow:hidden}.progress-fill{background:linear-gradient(90deg,#667eea 0%,#764ba2 100%);height:100%;transition:width .3s}.question-container{grid-template-columns:minmax(0,1.25fr) minmax(340px,420px);align-items:start;gap:20px;max-width:1480px;margin:0 auto;display:grid}.interview-layout{grid-template-columns:minmax(300px,380px) minmax(0,1fr);align-items:start;gap:20px;max-width:1480px;margin:0 auto;display:grid}.interview-layout.side-panel-is-collapsed{grid-template-columns:64px minmax(0,1fr)}.side-panel{background:#ffffff1f;border:1px solid #ffffff40;border-radius:12px;flex-direction:column;gap:12px;max-height:calc(100vh - 40px);padding:12px;display:flex;position:sticky;top:20px;overflow-y:auto}.side-panel-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.side-panel-header h3{color:#fff;text-transform:uppercase;letter-spacing:.8px;margin:0 0 0 4px;font-size:.95rem}.side-panel-collapsed .side-panel-header{justify-content:center}.side-panel-toggle{color:#667eea;cursor:pointer;background:#fff;border:none;border-radius:8px;flex-shrink:0;width:40px;height:40px;font-size:1.3rem;font-weight:700;line-height:1;box-shadow:0 4px 10px #00000026}.side-panel-toggle:hover{background:#f0f4ff}.side-panel-summary{color:#667eea;cursor:pointer;background:#fff;border:none;border-radius:8px;width:100%;padding:8px 4px;font-size:.8rem;font-weight:700}.side-panel-body{flex-direction:column;gap:16px;display:flex}.side-panel .question-card{padding:20px}.interview-main{min-width:0;display:block}.interview-main .recording-panel-shell{max-width:980px;margin:0 auto}.question-card{background:#fff;border-radius:8px;flex-direction:column;gap:20px;padding:30px;display:flex;box-shadow:0 8px 16px #00000026}.question-content{flex:1}.question-content h3{color:#667eea;text-transform:uppercase;letter-spacing:.5px;margin:0 0 15px;font-size:1.1rem}.question-text{color:#333;background:#f8f9ff;border-left:4px solid #667eea;border-radius:4px;margin:0;padding:15px;font-size:1.15rem;line-height:1.6}.answer-content{background:#f0f4ff;border:2px solid #667eea;border-radius:8px;padding:20px}.answer-content h3{color:#667eea;margin:0 0 10px;font-size:1rem}.answer-text{color:#555;margin:0;font-size:.95rem;line-height:1.6}.button-group{flex-direction:column;gap:15px;display:flex}.navigation-buttons{gap:10px;display:flex}.navigation-buttons .btn{flex:1}.btn{cursor:pointer;text-transform:uppercase;letter-spacing:.5px;border:none;border-radius:6px;min-height:44px;padding:12px 20px;font-size:.95rem;font-weight:600;transition:all .3s}.btn-block{width:100%}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%)}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 12px #667eea66}.btn-secondary{color:#667eea;background:#e8e8f0}.btn-secondary:hover:not(:disabled){background:#d8d8e8;transform:translateY(-2px)}.btn-accent{color:#fff;background:#f093fb}.btn-accent:hover:not(:disabled){background:#e080e8;transform:translateY(-2px)}.controls-panel{background:#fff;border:1px solid #667eea1f;border-radius:12px;flex-direction:column;gap:16px;padding:18px 20px;display:flex;box-shadow:0 8px 16px #00000026}.controls-panel h3{color:#667eea;text-transform:uppercase;letter-spacing:.8px;margin:0;font-size:1rem}.control-group{flex-direction:column;gap:8px;display:flex}.control-group label{color:#666;font-size:.9rem;font-weight:600}.control-group select{color:#333;cursor:pointer;background:#fff;border:2px solid #e0e0e0;border-radius:6px;padding:8px 12px;font-size:.9rem;transition:border-color .3s}.control-group select:hover,.control-group select:focus{border-color:#667eea;outline:none}.controls-panel .btn{text-align:center;width:100%}.stats{background:#f8f9ff;border:1px solid #e0e0e0;border-radius:6px;padding:12px}.stats p{color:#666;margin:5px 0;font-size:.9rem}.stats p:first-child{margin-top:0}.stats p:last-child{margin-bottom:0}.stats strong{color:#667eea}.recording-panel-shell{background:linear-gradient(#fff 0%,#f8faff 100%);border:1px solid #667eea2e;border-radius:12px;padding:22px;box-shadow:0 10px 22px #00000029}.video-section{border-top:none;flex-direction:column;gap:14px;margin-top:0;padding-top:0;display:flex}.video-section-header{gap:6px;display:grid}.video-section h3{color:#667eea;text-transform:uppercase;letter-spacing:.5px;margin:0;font-size:1rem}.video-section-subtitle{color:#7b84a6;margin:0;font-size:.9rem;line-height:1.4}.recording-panel{background:linear-gradient(#fbfcff 0%,#f6f8ff 100%);border:1px solid #dfe5ff;border-radius:12px;flex-direction:column;gap:12px;padding:15px;display:flex;box-shadow:inset 0 1px #fffc}.recording-meta{background:#fff;border:1px solid #dfe5ff;border-radius:10px;gap:8px;padding:12px 14px;display:grid}.recording-meta p{color:#555;margin:0;font-size:.95rem;line-height:1.45}.recording-meta strong{color:#667eea}.video-container{--preview-max-h:max(220px, calc(100vh - 420px));aspect-ratio:var(--preview-ratio,4 / 3);width:min(100%, calc(var(--preview-max-h) * var(--preview-ratio,1.3333)));background:#000;border:1px solid #d8def6;border-radius:10px;margin:0 auto;overflow:hidden;box-shadow:0 2px 8px #0003}.video-element{object-fit:contain;width:100%;height:100%;display:block}.video-error{color:#f5576c;background:#ffe0e0;border-left:3px solid #f5576c;border-radius:8px;margin:0;padding:10px 12px;font-size:.92rem}.recording-indicator{color:#fff;letter-spacing:.8px;z-index:10;background:#de5c70eb;border:1px solid #fff3;border-radius:20px;padding:7px 12px;font-size:.78rem;font-weight:700;animation:1s infinite pulse;position:absolute;top:12px;right:12px;box-shadow:0 8px 18px #de5c7059}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.video-container{position:relative}.recording-controls{flex-direction:column;gap:12px;display:flex}.recording-state-card{flex-direction:column;gap:10px;display:flex}.recording-state-text{border-left:4px solid;border-radius:8px;margin:0;padding:10px 12px;font-size:.95rem;font-weight:600}.recording-state-ready .recording-state-text{color:#1f6a39;background:#f4f8ff;border-color:#667eea}.recording-state-live .recording-state-text{color:#856404;text-align:center;background:#fff8e4;border-color:#ffc107}.recording-saved .recording-state-text{color:#155724;background:#eef9f0;border-color:#28a745}.mic-meter{color:#fff;z-index:10;background:#0000008c;border-radius:14px;align-items:center;gap:8px;padding:5px 10px;font-size:.75rem;font-weight:600;display:flex;position:absolute;bottom:10px;left:10px;right:10px}.mic-meter-silent{background:#856404e6}.mic-meter-label{white-space:nowrap;text-overflow:ellipsis;flex-shrink:0;max-width:70%;overflow:hidden}.mic-meter-track{background:#ffffff40;border-radius:3px;flex:1;height:6px;overflow:hidden}.mic-meter-fill{background:#4cd964;height:100%;transition:width .1s linear;display:block}.permission-hint{color:#3b4a9e;text-align:center;margin:0;font-size:.88rem}.recording-total{opacity:.8;font-weight:500}.segment-list-card{background:#fff;border:1px solid #dfe5ff;border-radius:10px;flex-direction:column;gap:8px;padding:10px 14px;display:flex}.segment-list-header{color:#667eea;justify-content:space-between;align-items:center;font-size:.9rem;display:flex}.segment-list{flex-direction:column;gap:4px;max-height:180px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.segment-item{color:#555;border-bottom:1px solid #f0f2fb;justify-content:space-between;align-items:center;gap:8px;padding:4px 0;font-size:.88rem;display:flex}.segment-item:last-child{border-bottom:none}.segment-link{color:#667eea;cursor:pointer;background:0 0;border:none;padding:2px 4px;font-size:.85rem;font-weight:600;text-decoration:underline}.upload-summary{border-radius:8px;margin:0;padding:8px 12px;font-size:.88rem;font-weight:600}.upload-summary-good{color:#155724;background:#eef9f0}.upload-summary-busy{color:#3b4a9e;background:#f4f8ff}.upload-summary-bad{color:#a12a3b;background:#ffe8e8}.upload-summary-off{color:#666;background:#f3f3f6}.segment-upload-count{color:#7b84a6;font-weight:500}.segment-label{flex:1}.upload-chip{white-space:nowrap;flex-shrink:0;font-size:.78rem;font-weight:600}.upload-chip-queued,.upload-chip-uploading{color:#3b4a9e}.upload-chip-retrying{color:#856404}.upload-chip-uploaded{color:#1f6a39}.upload-chip-failed{color:#a12a3b}.conversion-chip-pending,.conversion-chip-processing{color:#6b4fa3}.conversion-chip-done{color:#1f6a39}.conversion-chip-failed{color:#a12a3b}.settings-panel{gap:10px}.settings-toggle{cursor:pointer;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;width:100%;padding:0;display:flex}.settings-title{color:#667eea;text-transform:uppercase;letter-spacing:.8px;font-size:1rem;font-weight:700}.settings-caret{color:#667eea;font-size:1rem}.settings-summary{color:#7b84a6;margin:0;font-size:.85rem}.settings-body{flex-direction:column;gap:16px;display:flex}.upload-settings{flex-direction:column;gap:6px;display:flex}.upload-settings label{color:#666;font-size:.9rem;font-weight:600}.upload-settings-row{align-items:center;gap:8px;display:flex}.upload-settings-row input{border:2px solid #e0e0e0;border-radius:6px;flex:1;min-width:0;padding:8px 10px;font-size:.9rem}.settings-panel .upload-settings-row .btn{width:auto;min-height:38px;padding:8px 14px}.upload-settings-status{color:#1f6a39;font-size:.85rem;font-weight:600}.upload-settings-off{color:#7b84a6;font-weight:500}.control-hint{color:#7b84a6;font-size:.8rem;line-height:1.35}.controls-locked-note{color:#856404;background:#fff8e4;border-left:3px solid #ffc107;border-radius:6px;margin:0;padding:8px 10px;font-size:.85rem}@media (width<=1024px){.question-interface{padding:14px}.question-container,.interview-layout,.interview-layout.side-panel-is-collapsed{grid-template-columns:minmax(0,1fr);gap:18px;max-width:940px}.side-panel{max-height:none;position:static;overflow:visible}.side-panel-collapsed{flex-direction:row;align-items:center}.side-panel-collapsed .side-panel-summary{text-align:left;flex:1;width:auto;padding:10px 14px}.question-card,.controls-panel,.recording-panel-shell{position:static}.question-card{padding:24px}.video-container{--preview-max-h:420px}}@media (width<=768px){.question-container{grid-template-columns:1fr}.question-header{padding:14px}.question-header h2{font-size:1.5rem}.question-card,.controls-panel,.recording-panel-shell{padding:18px}.question-text{padding:12px;font-size:1rem}.navigation-buttons{flex-direction:column}.recording-indicator{padding:5px 10px;font-size:.72rem;top:8px;right:8px}.btn{padding:10px 16px;font-size:.9rem}}@media (width<=600px),(height<=720px){.question-interface{padding:10px}.video-container{--preview-max-h:max(220px, calc(100vh - 370px))}.question-header,.question-card,.controls-panel,.recording-panel-shell{border-radius:6px}.question-header{margin-bottom:16px}.question-content h3,.video-section h3{font-size:.95rem}.question-text{font-size:.95rem;line-height:1.5}.answer-content{padding:16px}.answer-text,.stats p,.control-group label,.recording-meta p{font-size:.86rem}.recording-panel{padding:10px}}.question-interface.error{background:linear-gradient(135deg,#f093fb 0%,#f5576c 100%)}.question-interface.error button{color:#f5576c;background:#fff;margin-top:15px}.app{width:100%;min-height:100vh;margin:0;padding:0}:root{--color-primary:#2563eb;--color-success:#10b981;--color-error:#ef4444;--color-warning:#f59e0b;--color-text:#1f2937;--color-text-light:#6b7280;--color-bg:#f9fafb;--color-border:#e5e7eb}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--color-bg);color:var(--color-text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.container{max-width:1200px;margin:0 auto;padding:2rem}header{text-align:center;border-bottom:2px solid var(--color-primary);margin-bottom:3rem;padding-bottom:2rem}header h1{color:var(--color-primary);margin-bottom:.5rem;font-size:2.5rem}header p{color:var(--color-text-light);font-size:1.1rem}main{gap:2rem;display:grid}.loading{text-align:center;color:var(--color-text-light);padding:2rem;font-size:1.1rem}.error{color:var(--color-error);border-left:4px solid var(--color-error);background-color:#fee2e2;border-radius:.5rem;padding:1rem}section{background:#fff;border-radius:.75rem;padding:2rem;box-shadow:0 1px 3px #0000001a}section h2{color:var(--color-primary);margin-bottom:1.5rem;font-size:1.5rem}.status-card{background-color:var(--color-bg);border-left:4px solid var(--color-primary);border-radius:.5rem;padding:1.5rem}.status-card p{margin-bottom:.75rem;line-height:1.6}.status-card strong{color:var(--color-text)}.badge{border-radius:.25rem;padding:.25rem .75rem;font-size:.875rem;font-weight:600;display:inline-block}.badge-success{color:#065f46;background-color:#d1fae5}.features ul{padding-left:0;list-style:none}.features li{color:var(--color-text);padding:.75rem 0;font-size:1.05rem;line-height:1.6}.features li:before{content:"✓ ";color:var(--color-success);margin-right:.5rem;font-weight:700}.next-steps ol{padding-left:1.5rem}.next-steps li{color:var(--color-text);padding:.5rem 0;font-size:1.05rem;line-height:1.6}@media (width<=768px){.container{padding:1rem}header h1{font-size:2rem}header p{font-size:1rem}section{padding:1.5rem}section h2{font-size:1.25rem}}
