*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#0d1117;color:#c9d1d9;min-height:100vh;line-height:1.5}.app-container{max-width:960px;margin:0 auto;padding:20px 16px;display:flex;flex-direction:column;gap:16px}.app-header{display:flex;align-items:center;justify-content:space-between}.header-left{display:flex;align-items:center;gap:12px}.app-header h1{font-size:1.5rem;color:#f0f6fc;font-weight:700}.badge{font-size:.7rem;background:#1f2937;color:#8b949e;padding:3px 8px;border-radius:12px;border:1px solid #30363d}.btn-main{padding:10px 32px;font-size:.95rem;font-weight:600;border:none;border-radius:8px;cursor:pointer;background:#238636;color:#fff;transition:all .2s}.btn-main:hover{background:#2ea043}.btn-main:disabled{opacity:.5;cursor:not-allowed}.btn-main.loading{background:#1f2937;color:#8b949e}.btn-main.active{background:#da3633}.btn-main.active:hover{background:#f85149}.card{background:#161b22;border:1px solid #21262d;border-radius:10px;padding:16px}.card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.card h2{font-size:.9rem;font-weight:600;color:#f0f6fc}.card-toggle{display:flex;align-items:center;gap:8px;cursor:pointer;user-select:none;margin-bottom:12px}.card-toggle h2{margin-bottom:0}.card-toggle .toggle-arrow{font-size:.65rem;color:#8b949e;transition:transform .2s}.card.collapsed .card-toggle .toggle-arrow{transform:rotate(-90deg)}.card.collapsed .card-toggle{margin-bottom:0}.card.collapsed .card-body{display:none}.subsection-title{font-size:.8rem;color:#8b949e;margin:16px 0 8px;font-weight:500}.graph-card canvas{width:100%;height:160px;border-radius:6px;display:block}.graph-legend{display:flex;gap:12px;font-size:.7rem;color:#8b949e}.legend-item{display:flex;align-items:center;gap:4px}.legend-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.legend-swatch{width:16px;height:8px;border-radius:2px;display:inline-block;background:#00d2ff26;border:1px solid rgba(0,210,255,.3)}.prob-display{display:flex;align-items:center;gap:12px;margin-top:10px}.prob-current{display:flex;flex-direction:column;align-items:center;min-width:60px}.prob-label{font-size:.65rem;color:#484f58;text-transform:uppercase}.prob-value{font-size:1.4rem;font-weight:700;font-family:SF Mono,Consolas,monospace;color:#00d2ff}.prob-bar-wrap{flex:1;height:8px;background:#21262d;border-radius:4px;overflow:hidden}.prob-bar{height:100%;background:#00d2ff;border-radius:4px;transition:width .05s linear;width:0%}.vad-badge,.stt-badge{font-size:.7rem;font-weight:600;font-family:SF Mono,Consolas,monospace;padding:4px 10px;border-radius:6px;text-transform:uppercase;letter-spacing:.5px}.vad-badge{background:#1f2937;color:#484f58;border:1px solid #30363d}.vad-badge.speaking{background:#00d2ff1a;color:#00d2ff;border-color:#00d2ff44;animation:badge-pulse 1s infinite}@keyframes badge-pulse{0%,to{opacity:1}50%{opacity:.7}}.stt-badge{background:#1f2937;color:#484f58;border:1px solid #30363d}.stt-badge.listening{background:#2ea0431a;color:#3fb950;border-color:#23863644}.stt-badge.starting,.stt-badge.stopping{color:#d29922}.transcript-area{background:#0d1117;border:1px solid #21262d;border-radius:6px;padding:12px;min-height:100px;max-height:180px;overflow-y:auto}.transcript-line{display:flex;align-items:baseline;gap:8px;padding:4px 0}.transcript-text{color:#f0f6fc;font-size:.95rem}.transcript-conf{font-size:.7rem;color:#3fb950;font-family:SF Mono,Consolas,monospace;flex-shrink:0}.interim-text{color:#484f58;font-style:italic;font-size:.95rem}.transcript-placeholder{color:#30363d;font-style:italic}.bottom-panels{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.stat-item{text-align:center;padding:8px;background:#0d1117;border-radius:6px;border:1px solid #21262d}.stat-value{display:block;font-size:1.2rem;font-weight:700;font-family:SF Mono,Consolas,monospace;color:#f0f6fc}.stat-label{font-size:.65rem;color:#484f58;text-transform:uppercase}.segments-list{max-height:150px;overflow-y:auto}.segment-item{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:4px;font-size:.8rem;border-left:3px solid #30363d;margin-bottom:4px;background:#0d111788}.segment-item.active{border-left-color:#00d2ff;background:#00d2ff0d}.segment-dur{font-family:SF Mono,Consolas,monospace;font-size:.75rem;color:#00d2ff;min-width:50px}.segment-text{color:#c9d1d9;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.segment-text em{color:#484f58}.empty-state{text-align:center;color:#30363d;font-style:italic;padding:16px;font-size:.85rem}.ctrl-group{margin-bottom:10px}.ctrl-group label{display:flex;justify-content:space-between;font-size:.78rem;color:#8b949e;margin-bottom:4px}.ctrl-val{font-family:SF Mono,Consolas,monospace;color:#00d2ff}.ctrl-group select{width:100%;background:#0d1117;color:#c9d1d9;border:1px solid #30363d;border-radius:6px;padding:6px 10px;font-size:.85rem}input[type=range]{-webkit-appearance:none;width:100%;height:4px;background:#21262d;border-radius:2px;outline:none}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:#00d2ff;cursor:pointer;border:2px solid #0d1117}.event-log{max-height:180px;overflow-y:auto;font-family:SF Mono,Consolas,monospace;font-size:.7rem}.log-entry{padding:2px 0;color:#8b949e;border-bottom:1px solid #21262d11}.log-time{color:#30363d;margin-right:6px}.log-vad{color:#00d2ff}.log-stt{color:#a371f7}.log-error{color:#f85149}.log-system{color:#8b949e}.ctrl-text-input{width:100%;background:#0d1117;color:#c9d1d9;border:1px solid #30363d;border-radius:6px;padding:6px 10px;font-size:.85rem;font-family:inherit;outline:none;transition:border-color .2s}.ctrl-text-input:focus{border-color:#00d2ff}.ctrl-text-input::placeholder{color:#484f58}.ctrl-hint{font-size:.7rem;color:#484f58;font-weight:400}.ctrl-group label input[type=checkbox]{margin-right:6px;accent-color:#00d2ff}.whisper-progress-wrap{width:100%;height:6px;background:#21262d;border-radius:3px;overflow:hidden;margin-top:4px}.whisper-progress-bar{height:100%;background:linear-gradient(90deg,#00d2ff,#0f8);border-radius:3px;transition:width .3s ease;width:0%}.whisper-perf{display:flex;gap:16px;font-size:.8rem;color:#8b949e}.whisper-perf-item{display:flex;align-items:center;gap:4px}::-webkit-scrollbar{width:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#30363d;border-radius:2px}@media(max-width:700px){.bottom-panels{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,1fr)}.graph-legend{display:none}}
