.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,1fr) minmax(240px,280px) minmax(320px,380px);align-items:start;gap:20px;max-width:1480px;margin:0 auto;display:grid}.question-card{background:#fff;border-radius:8px;flex-direction:column;gap:20px;padding:30px;display:flex;box-shadow:0 8px 16px #00000026}.sidebar{background:#fff;border:1px solid #667eea1f;border-radius:12px;flex-direction:row;transition:all .3s;display:flex;position:sticky;top:20px;overflow:hidden;box-shadow:0 8px 16px #00000026}.sidebar.open{width:380px}.sidebar.closed{width:60px}.sidebar-toggle{color:#fff;cursor:pointer;z-index:20;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none;border-radius:12px 0 0 12px;flex-shrink:0;justify-content:center;align-items:center;width:60px;height:60px;font-size:1.2rem;transition:all .3s;display:flex;position:sticky;top:20px}.sidebar.open .sidebar-toggle{border-radius:0}.sidebar-toggle:hover{opacity:.9;transform:scale(1.05)}.sidebar-content{flex-direction:column;flex:1;gap:0;max-height:calc(100vh - 120px);padding:20px;display:flex;overflow-y:auto}.sidebar.closed .sidebar-content{display:none}.sidebar-section{border-bottom:1px solid #e0e0e0;flex-direction:column;gap:12px;padding:14px 0;display:flex}.sidebar-section:last-child{border-bottom:none}.sidebar-section h3{color:#667eea;text-transform:uppercase;letter-spacing:.8px;margin:0;font-size:.95rem}.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:22px;display:flex;position:sticky;top:20px;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:#fff;border:1px solid #667eea1f;border-radius:12px;padding:22px;position:sticky;top:20px;box-shadow:0 8px 16px #00000026}.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:.95rem}.video-section-subtitle{color:#7b84a6;margin:0;font-size:.85rem;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:14px;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:.9rem;line-height:1.45}.recording-meta strong{color:#667eea}.video-container{aspect-ratio:16/10;background:#000;border:1px solid #d8def6;border-radius:10px;width:100%;overflow:hidden;box-shadow:0 2px 8px #0003}.video-element{object-fit:cover;width:100%;height:100%;display:block}.video-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.video-controls .btn{width:100%;padding:10px 12px;font-size:.88rem}.video-error{color:#f5576c;background:#ffe0e0;border-left:3px solid #f5576c;border-radius:8px;margin:0;padding:10px 12px;font-size:.88rem}.video-status{color:#1f6a39;text-align:left;margin:0;font-size:.88rem;font-weight:600}.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{background:#fff;border:1px solid #e3e8ff;border-radius:10px;flex-direction:column;gap:10px;padding:12px;display:flex}.recording-state-ready{background:#f4f8ff;border-color:#d8e2ff}.recording-state-live{background:#fff8e4;border-color:#ffe08a}.recording-timer{color:#856404;text-align:center;background:#ffffffb3;border-left:4px solid #ffc107;border-radius:8px;padding:12px;font-size:.95rem;font-weight:600}.recording-saved{background:#eef9f0;border-color:#bfe2c8}.recording-saved-text{color:#155724;text-align:left;margin:0;font-size:.95rem;font-weight:600}@media (width<=1024px){.question-interface{padding:14px}.question-container{grid-template-columns:minmax(0,1fr);gap:18px;max-width:940px}.question-card,.controls-panel,.recording-panel-shell{position:static}.sidebar{flex-direction:column;width:100%;position:static}.sidebar.open{width:100%}.sidebar.closed{width:auto}.question-card{order:1;padding:24px}.video-container{max-height:280px}}@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}.sidebar{width:auto;margin-top:10px;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}.question-header,.question-card,.controls-panel,.recording-panel-shell,.sidebar{border-radius:6px}.question-header{margin-bottom:16px}.question-content h3,.sidebar-section 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}.video-container{max-height:240px}.video-controls{grid-template-columns:1fr}.video-controls .btn,.sidebar .btn{width:100%}.recording-panel,.recording-state-card{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}}
