.wrap[data-v-27b9890b]{width:100%;overflow:auto;border:1px solid #eee;border-radius:12px;background:#fff;padding:10px}.empty[data-v-27b9890b]{padding:14px 10px;color:#666;font-size:13px}.host[data-v-27b9890b]{width:100%}.toolbar[data-v-27b9890b]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 2px 10px;flex-wrap:wrap}.toolbarLeft[data-v-27b9890b]{display:flex;align-items:center;gap:10px}.toolbarRight[data-v-27b9890b]{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sel[data-v-27b9890b]{font-size:13px;color:#333}.selId[data-v-27b9890b]{font-weight:600}.btn[data-v-27b9890b]{border:1px solid #dcdcdc;background:#fff;color:#222;border-radius:10px;padding:7px 10px;cursor:pointer;font-size:13px;line-height:1}.btn[data-v-27b9890b]:hover{border-color:#409eff;color:#409eff}.btn[data-v-27b9890b]:disabled{opacity:.55;cursor:not-allowed}.btn.secondary[data-v-27b9890b]{background:#f7f7f7}.btn.danger[data-v-27b9890b]{border-color:#ffb3b3;color:#b91c1c}.btn.danger[data-v-27b9890b]:hover{border-color:#ff6b6b;color:#ff2d2d}.editor[data-v-27b9890b]{border:1px solid #eee;border-radius:12px;padding:12px;margin:0 0 10px;background:#fff}.editorTitle[data-v-27b9890b]{font-weight:600;font-size:13px;color:#222;margin-bottom:10px}.editorGrid[data-v-27b9890b]{display:grid;grid-template-columns:1fr;gap:8px}.row[data-v-27b9890b]{display:grid;grid-template-columns:70px 1fr;align-items:center;gap:10px}.label[data-v-27b9890b]{font-size:12px;color:#555}.input[data-v-27b9890b]{border:1px solid #dcdcdc;border-radius:10px;padding:7px 10px;outline:none;font-size:13px}.input[data-v-27b9890b]:focus{border-color:#409eff;box-shadow:0 0 0 3px #409eff26}.check[data-v-27b9890b]{display:inline-flex;align-items:center;gap:8px;-webkit-user-select:none;user-select:none;font-size:13px;color:#222}.check input[type=checkbox][data-v-27b9890b]{width:16px;height:16px}.editorActions[data-v-27b9890b]{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.error[data-v-27b9890b]{color:red;margin-top:10px}@media (max-width: 520px){.wrap[data-v-27b9890b]{padding:8px;border-radius:10px}.host[data-v-27b9890b]{max-height:52vh;overflow:auto;-webkit-overflow-scrolling:touch}.btn[data-v-27b9890b]{padding:6px 9px}}html,body{height:100%;margin:0;padding:0}#app{height:100%}*{box-sizing:border-box}.page{min-height:100vh;height:100dvh;display:flex;flex-direction:column;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#111}.topbar{height:56px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7e7e7;background:#fff;gap:10px}.title{font-size:16px;font-weight:600;min-width:0}.hint{font-size:13px;color:#555}.layout{flex:1;display:grid;grid-template-columns:1fr 520px;gap:12px;padding:12px;background:#fafafa;min-height:0}.panel{background:#fff;border:1px solid #e7e7e7;border-radius:12px;min-height:0;display:flex;flex-direction:column}.panel-title{padding:12px 14px;border-bottom:1px solid #eee;font-weight:600}.panel-title-with-action{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-title-text{display:flex;align-items:center;gap:8px;min-width:0}button.btn-download{padding:6px 10px;font-size:12px;border-radius:10px;white-space:nowrap}.left{overflow:auto}.right{overflow:hidden}.emr{padding:14px;display:flex;flex-direction:column;gap:12px}.field{display:flex;flex-direction:column;gap:6px}.label{font-size:13px;color:#333}.textarea{resize:vertical;border:1px solid #dcdcdc;border-radius:10px;padding:10px 12px;outline:none;font-size:13px;line-height:1.45}.textarea:focus{border-color:#409eff;box-shadow:0 0 0 3px #409eff26}.family-tree-wrap{margin-top:10px}.upload{padding:14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.engine-switch{display:flex;gap:8px;align-items:center}button.btn-engine.active{outline:2px solid rgba(64,158,255,.35);box-shadow:0 0 0 3px #409eff1f}.upload input[type=file]{flex:1 1 220px;min-width:0}button{border:0;background:#409eff;color:#fff;border-radius:10px;padding:8px 12px;cursor:pointer;font-size:13px}button.btn-secondary{background:#6b7cff}button.btn-secondary.btn-recording{background:#d12b2b}button:disabled{opacity:.6;cursor:not-allowed}.progress-wrap{padding:10px 14px 0;display:flex;align-items:center;gap:8px;font-size:12px;color:#444}.progress{position:relative;height:8px;width:220px;background:#eee;border-radius:999px;overflow:hidden}.progress .bar{height:100%;background:#409eff;transition:width .2s ease}.chat{flex:1;padding:12px 14px;overflow:auto;display:flex;flex-direction:column;gap:10px}.chat-empty{color:#777;font-size:13px}.manual-wrap{display:flex;flex-direction:column;gap:10px}.manual-textarea{min-height:180px}.manual-actions{display:flex;gap:10px}.stream-wrap{background:#f6f8fa;border:1px solid #eee;padding:10px 12px;border-radius:12px;overflow:visible}.stream-text{white-space:pre-wrap;font-size:13px;line-height:1.6;color:#111}.cursor{display:inline-block;margin-left:2px;animation:blink 1s steps(2,start) infinite}.chat-row{display:flex;gap:10px;align-items:flex-end}.chat-row.patient{flex-direction:row-reverse}.avatar{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:#fff;flex:0 0 auto}.avatar.doctor{background:#6b7cff}.avatar.patient{background:#20c997}.bubble{max-width:84%;padding:10px 12px;border-radius:12px;border:1px solid #eee;background:#fff}.chat-row.patient .bubble{background:#95ec69;border-color:#86dc60}.bubble-text{white-space:pre-wrap;font-size:13px;line-height:1.45;color:#111}.raw{display:none}pre{margin:8px 0 0;background:#f6f8fa;padding:10px 12px;border-radius:10px;white-space:pre-wrap;max-height:220px;overflow:auto}.family-tree-wrap svg{width:100%;height:auto;border:1px solid #eee;border-radius:10px;background:#fff}.mini-spinner{width:12px;height:12px;box-sizing:border-box;border-radius:999px;border:2px solid rgba(255,255,255,.6);border-top-color:#fff;animation:spin .9s linear infinite}.assistant{flex:1;display:grid;grid-template-columns:180px 1fr;min-height:0}.timeline{border-right:1px solid #eee;padding:12px 10px;display:flex;flex-direction:column;gap:10px;background:#fff}.step{display:grid;grid-template-columns:18px 1fr;gap:8px;cursor:pointer;padding:8px;border-radius:10px;-webkit-user-select:none;user-select:none}.step:hover{background:#f7f7f7}.dot{width:16px;height:16px;border-radius:999px;margin-top:4px;background:#cfcfcf;display:flex;align-items:center;justify-content:center}.line{height:10px;border-left:2px solid #eee;margin-left:8px}.step-title{font-size:13px;font-weight:600;color:#222;line-height:1.1}.mini-spinner-inline{display:inline-block;width:12px;height:12px;margin-left:6px;vertical-align:-2px;border-radius:999px;box-sizing:border-box;border:2px solid rgba(64,158,255,.25);border-top-color:#409eff;animation:spin .9s linear infinite}.step-sub{font-size:12px;color:#666;margin-top:2px}.step.running .dot{background:#409eff}.step.done .dot{background:#20c997}.assistant-main{min-height:0;display:flex;flex-direction:column;overflow:hidden}.asr-block{border-bottom:1px solid #eee}.family-section{padding:10px 14px 14px}.suggest-section{padding:0 14px 14px}.section-title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#222;margin-bottom:8px}.family-summary{font-size:12px;color:#444;margin-bottom:10px;white-space:pre-wrap}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes blink{0%{opacity:0}50%{opacity:1}to{opacity:0}}@media (max-width: 900px){.layout{grid-template-columns:1fr}}@media (max-width: 520px){.page{height:auto;min-height:100vh}.topbar{height:auto;padding:10px 12px;align-items:flex-start;flex-wrap:wrap}.topbar-right{width:100%}.layout{gap:8px;padding:8px;flex:none}.panel{border-radius:10px;min-height:auto}.panel-title{padding:10px 12px}.emr{padding:12px}.family-section{padding:8px 12px 12px}.suggest-section{padding:0 12px 12px}input,textarea,select,button{font-size:16px}.upload{padding:12px;gap:8px}.upload input[type=file]{flex:1 1 100%}.upload button{flex:1 1 calc(50% - 8px);padding:10px 12px}.progress-wrap{flex-wrap:wrap;padding:8px 12px 0}.progress{width:100%;flex:1 1 100%}.assistant{grid-template-columns:1fr}.timeline{border-right:0;border-bottom:1px solid #eee;padding:10px;flex-direction:row;overflow-x:auto;gap:8px;-webkit-overflow-scrolling:touch}.step{flex:0 0 auto;min-width:140px}.line{display:none}.chat{padding:10px 12px;overflow:visible}.stream-wrap{max-height:none;overflow:visible;-webkit-overflow-scrolling:touch}.manual-actions button{flex:1 1 0}.right,.assistant-main{overflow:visible}}
