:root{color:#1f2933;background:#f6f7f9;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,.button-like{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border:1px solid #1f2933;border-radius:6px;background:#1f2933;color:#fff;padding:0 13px;cursor:pointer;white-space:nowrap}button:disabled{cursor:not-allowed;opacity:.5}main{width:min(1100px,calc(100vw - 32px));margin:0 auto;padding:16px 0 190px}.header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #d8dde3;padding-bottom:10px;min-width:0}.header-title{min-width:0;flex:1 1 auto}h1,h2,h3,p{margin:0}h1{font-size:24px;line-height:1.15;white-space:nowrap}h2{font-size:16px}h3{font-size:14px;color:#4b5563}.header p,.hint,.privacy,.answer-empty p{color:#596575;font-size:12px;line-height:1.35}.header-controls{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;flex-wrap:nowrap;gap:6px}input,textarea,select{border:1px solid #cbd5df;border-radius:6px;background:#fff;color:#1f2933}input{width:170px;height:38px;padding:0 10px}select{width:100%;min-height:38px;padding:0 10px}textarea{width:100%;min-height:170px;resize:vertical;padding:12px;line-height:1.65}.icon-button{width:34px;min-height:34px;padding:0;background:#fff;color:#1f2933}.status{display:inline-flex;align-items:center;min-height:30px;border-radius:999px;padding:0 10px;font-size:12px;font-weight:700}.status-idle,.status-transcript_ready,.status-answer_ready{background:#e8f5ee;color:#17623b}.status-recording,.status-generating,.status-transcribing{background:#fff3d8;color:#7a4b00}.status-error{background:#fde8e8;color:#9b1c1c}.privacy,.tabs,.layout,.bottom-workspace,.top-reference{margin-top:12px}.privacy{border-left:4px solid #51606f;background:#fff;padding:10px 12px}.tabs{display:flex;gap:8px}.tab{background:#fff;color:#1f2933;border-color:#cbd5df}.tab.active{background:#1f2933;border-color:#1f2933;color:#fff}.layout{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:18px;align-items:start}.bottom-workspace{display:grid;gap:12px}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:14px;align-items:start}.left-column{display:grid;gap:14px}.panel,.answer-panel,.answer-empty,.right-stack,.reference-panel,.config-panel{border:1px solid #d8dde3;border-radius:8px;background:#fff}.panel,.answer-empty{padding:16px}.panel.compact{min-height:132px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.strong{font-weight:700}.danger{border-color:#a33a3a;background:#a33a3a}.error-notice{display:flex;align-items:center;gap:10px;margin-top:14px;border:1px solid #f5b5b5;border-radius:8px;background:#fff5f5;color:#8a1f1f;padding:10px 12px}.error-notice span{flex:1}.error-notice button{min-height:30px;background:#fff;color:#8a1f1f;border-color:#f5b5b5}.answer-empty{min-height:260px}.right-stack{display:grid;gap:12px;border:0;background:transparent}.reference-panel,.config-panel{overflow:hidden}.top-reference{min-height:280px}.reference-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;border-bottom:1px solid #e5e9ef;padding:9px 12px}.reference-header h2{font-size:15px}.reference-header span{color:#596575;font-size:12px}.reference-empty{padding:12px;color:#596575;font-size:13px;line-height:1.55}.reference-content{display:grid;gap:7px;padding:10px;font-size:12.5px}.reference-block{border:1px solid #e5e9ef;border-radius:6px;background:#fff;padding:8px 10px}.reference-block h3{margin-bottom:5px;font-size:12px}.reference-block.primary{background:#f7f9fb}.reference-question-block{padding:9px 12px}.compact-header{min-height:0;border-bottom:0;padding:0}.reference-meta{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;flex:0 0 auto}.reference-meta span{color:#596575;font-size:12px}.reference-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:8px}.reference-row-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,.9fr);gap:8px;align-items:stretch}.reference-top-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:8px}.compact-list{margin:4px 0 0;padding-left:18px;line-height:1.45}.compact-text{margin:4px 0 0;color:#2f3b48;font-size:13px;line-height:1.45}.related-context{margin:6px 0 0;color:#8a2d2d;font-size:13px;font-weight:700;line-height:1.45}.inline-list{display:grid;gap:2px}.empty-inline{color:#8a94a3;font-size:12px}.config-panel{padding-bottom:10px}.config-panel label{display:grid;gap:5px;color:#4b5563;font-size:12px;font-weight:700}.config-grid{display:grid;gap:10px;padding:10px 12px 0}.config-panel input{width:100%;height:34px;font-size:13px;font-weight:400}.config-panel select{height:34px;min-height:34px;font-size:13px}.config-panel textarea{min-height:78px;max-height:140px;padding:8px 10px;font-size:13px;line-height:1.45}.config-mode-block{display:grid;gap:7px}.config-mode-title{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#4b5563;font-size:12px;font-weight:700}.config-mode-hint{margin:0;color:#596575;font-size:12px;line-height:1.45}.mode-switch{display:inline-flex;flex:0 0 auto;overflow:hidden;border:1px solid #cbd5df;border-radius:6px}.mode-switch button{min-height:28px;border:0;border-radius:0;background:#fff;color:#1f2933;padding:0 8px;font-size:12px}.mode-switch button.active{background:#1f2933;color:#fff}.experience-settings{display:grid;gap:7px;margin:10px 12px 0;border-top:1px solid #e5e9ef;padding-top:10px}.config-mode-block .experience-settings{margin:0;border-top:0;padding-top:0}.experience-dropzone{display:grid;place-items:center;gap:3px;min-height:72px;border:1px dashed #9aa7b5;border-radius:6px;background:#f8fafc;color:#1f2933;padding:10px;text-align:center;cursor:pointer}.experience-dropzone.dragging{border-color:#1f2933;background:#eef2f6}.experience-dropzone span{font-size:12px;font-weight:800}.experience-dropzone small{color:#596575;font-size:11px}.experience-dropzone input{display:none}.experience-hint,.experience-error{font-size:12px;line-height:1.45}.experience-hint{color:#596575}.experience-error{color:#9b1c1c}.experience-summary{display:flex;flex-wrap:wrap;gap:6px}.experience-summary span,.experience-list li>span{border:1px solid #e5e9ef;border-radius:999px;color:#3f4a59;padding:2px 7px;font-size:11px}.experience-list{display:grid;gap:5px;margin:0;padding:0;list-style:none}.experience-list li{display:flex;align-items:center;flex-wrap:nowrap;gap:5px;min-width:0}.experience-name{flex:1 1 auto;min-width:0;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.experience-list small{overflow:hidden;color:#9b1c1c;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.experience-status-completed{background:#e8f5ee}.experience-status-failed{background:#fde8e8}.experience-status-processing,.experience-status-queued{background:#fff3d8}.experience-action{flex:0 0 auto;width:26px;min-height:24px;border-color:#d8dde3;background:#fff;color:#4b5563;padding:0}.fragment-list{display:grid;gap:5px}.fragment-item{display:flex;justify-content:flex-start;min-height:28px;border-color:#e5e9ef;background:#fff;color:#3f4a59;padding:0 8px;font-size:12px;text-align:left}.fragment-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fragment-preview{display:grid;gap:7px;border:1px solid #d8dde3;border-radius:6px;background:#fff;padding:9px}.fragment-preview-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.fragment-preview-header strong{min-width:0;overflow:hidden;color:#1f2933;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.fragment-preview p{max-height:180px;overflow:auto;color:#1f2933;font-size:12px;line-height:1.55;white-space:pre-wrap}.fragment-keywords{display:flex;flex-wrap:wrap;gap:5px}.fragment-keywords span{border:1px solid #e5e9ef;border-radius:999px;color:#596575;padding:2px 7px;font-size:11px}.answer-panel{overflow:hidden}.answer-section{padding:15px 16px;border-bottom:1px solid #e5e9ef}.answer-section:last-child{border-bottom:0}.answer-section h3{margin-bottom:8px}.core-question{display:block;flex:1 1 auto;min-width:0;overflow:hidden;font-size:14px;font-weight:800;line-height:1.35}.question-type{margin-top:6px;color:#596575;font-size:13px}.conclusion{font-weight:800;line-height:1.42;font-size:13.5px}.conclusion-title{display:inline-flex;align-items:center;gap:7px}.conclusion-title span{color:#596575;font-size:12px;font-weight:700}.keyword-highlight{color:#9b1c1c;font-weight:900;background:transparent;padding:0}ol,ul{margin:8px 0 0;padding-left:20px;line-height:1.65}.keywords{display:flex;flex-wrap:wrap;gap:5px}.keywords span{border:1px solid #cbd5df;border-radius:999px;padding:3px 7px;font-size:12px}.details-toggle{background:#fff;color:#1f2933;border:0;padding:0;min-height:26px;font-size:12px;font-weight:800}.details{margin-top:8px;line-height:1.5;white-space:pre-wrap;font-size:12.5px}.muted{background:#f9fafb}.virtual-panel{display:grid;gap:12px}.guide-box,.warning-box{border-radius:6px;padding:10px 12px;font-size:13px;line-height:1.6}.guide-box{background:#f7f9fb;border:1px solid #d8dde3;color:#3f4a59}.warning-box{background:#fff7ed;border:1px solid #fed7aa;color:#7a4b00}.device-row{display:grid;gap:6px}.device-row label{color:#4b5563;font-size:13px;font-weight:700}.status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;color:#3f4a59;font-size:13px}.status-grid span{display:inline-flex;align-items:center;gap:6px;min-height:30px;border:1px solid #e5e9ef;border-radius:6px;padding:6px 8px;background:#fff}.waveform{display:block;width:100%;height:96px;border:1px solid #d8dde3;border-radius:6px;background:#f7f9fb}.button-row{display:flex;flex-wrap:wrap;gap:8px}.mic-panel{display:grid;gap:12px}.transcript-float{position:fixed;right:18px;bottom:14px;left:18px;z-index:30;display:grid;gap:8px;max-width:1100px;margin:0 auto;border:1px solid rgba(203,213,223,.78);border-radius:8px;background:#ffffffc7;box-shadow:0 12px 34px #1f293329;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:10px}.transcript-float-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center}.transcript-float h2{font-size:14px}.transcript-float textarea{min-height:58px;max-height:96px;resize:vertical;background:#ffffffd1;font-size:12.5px;line-height:1.45;padding:8px 10px}.latency-strip{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.latency-strip span{display:inline-flex;align-items:center;gap:4px;min-height:26px;border:1px solid rgba(203,213,223,.86);border-radius:999px;background:#f7f9fbd6;color:#3f4a59;padding:0 8px;font-size:12px}.latency-strip strong{color:#1f2933}.segmented-control{display:inline-flex;border:1px solid #cbd5df;border-radius:6px;overflow:hidden}.segmented-control button{min-height:32px;border:0;border-radius:0;background:#fff;color:#1f2933;padding:0 10px}.segmented-control button.active{background:#1f2933;color:#fff}@media(max-width:860px){main{width:min(100vw - 20px,1100px);padding-top:8px;padding-bottom:230px}.layout,.bottom-grid{grid-template-columns:1fr;display:grid}.header{gap:8px;padding-bottom:7px}h1{font-size:18px}.header p{display:none}.header-controls{justify-content:flex-end;gap:5px}.status{min-height:26px;padding:0 8px;font-size:11px}.icon-button{width:30px;min-height:30px}.tabs{overflow-x:auto}input{width:min(100%,210px)}.status-grid,.reference-grid,.reference-top-grid{grid-template-columns:1fr}.reference-row-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.reference-row-grid>.reference-block:nth-child(3){grid-column:1 / -1}.compact-header{align-items:flex-start;gap:6px}.reference-meta{justify-content:flex-start}.transcript-float{right:10px;left:10px;bottom:10px}.transcript-float-header{grid-template-columns:1fr}}
