:root{font-family:Microsoft YaHei,PingFang SC,Segoe UI,sans-serif;color:#15212f;background:#f4f6f8;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea{font:inherit}button{border:1px solid #c8d2dc;background:#fff;color:#15212f;cursor:pointer;border-radius:6px}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;padding:0 24px;border-bottom:1px solid #d9e0e7;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:12px}.brand svg{color:#0f766e}.brand h1{margin:0;font-size:20px;line-height:1.2;font-weight:650}.brand p{margin:4px 0 0;color:#65758a;font-size:13px}.icon-button,.actions button{height:38px;padding:0 12px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.primary{background:#0f766e;color:#fff;border-color:#0f766e}.alert,.status{margin:14px 24px 0;padding:10px 12px;border-radius:6px;font-size:14px}.alert{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239}.status{background:#ecfeff;border:1px solid #a5f3fc;color:#155e75}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:0;margin-top:14px;border-top:1px solid #d9e0e7}.report-list{min-height:0;border-right:1px solid #d9e0e7;background:#fff;display:flex;flex-direction:column}.panel-heading{height:52px;padding:0 16px;border-bottom:1px solid #e4e9ee;display:flex;align-items:center;justify-content:space-between}.panel-heading h2{margin:0;font-size:16px}.panel-heading span{color:#64748b}.read-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 12px;border-bottom:1px solid #e4e9ee}.tab-button{height:36px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#f8fafc;color:#526173}.tab-button.active{border-color:#0f766e;background:#eefcf8;color:#0f766e}.tab-button strong{min-width:22px;height:22px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#e2e8f0;color:#15212f;font-size:12px}.tab-button.active strong{background:#0f766e;color:#fff}.list-body{overflow:auto;padding:8px}.report-group{margin-bottom:8px}.group-row,.version-row{width:100%;display:flex;align-items:center;text-align:left}.group-row{min-height:46px;padding:0 10px;gap:8px;font-weight:650;border-color:transparent}.group-row:hover,.group-row.expanded{border-color:#0f766e;background:#eefcf8}.group-row svg{flex:0 0 auto;color:#64748b;transition:transform .16s ease}.group-row.expanded svg{transform:rotate(90deg)}.group-row span{min-width:0;flex:1;overflow-wrap:anywhere}.group-row strong{min-width:24px;height:22px;padding:0 7px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#e2e8f0;color:#15212f;font-size:12px}.group-versions{padding:4px 0 0 28px}.version-row{min-height:36px;padding:0 10px;margin-bottom:4px;border-color:transparent;color:#526173;font-size:13px}.version-row:hover,.version-row.active{border-color:#0f766e;background:#f0fdfa;color:#0f766e}.version-row span{width:100%;overflow-wrap:anywhere}.empty{padding:24px 10px;color:#64748b}.editor-panel{min-width:0;min-height:0;display:flex;flex-direction:column;background:#f8fafc}.patient-line{min-height:64px;padding:12px 18px;border-bottom:1px solid #d9e0e7;display:flex;align-items:center;justify-content:space-between;gap:16px}.patient-line label{min-width:240px;color:#526173;font-size:13px;display:grid;grid-template-columns:auto minmax(160px,280px);align-items:center;gap:10px}.patient-line input{height:38px;padding:0 10px;border:1px solid #c8d2dc;border-radius:6px;background:#fff}.actions{display:flex;align-items:center;gap:10px}textarea{flex:1;width:100%;min-height:360px;padding:18px;border:0;outline:0;resize:none;background:#fff;color:#15212f;line-height:1.65;font-family:Microsoft YaHei,PingFang SC,Segoe UI,sans-serif;font-size:15px}@media(max-width:860px){.topbar{height:auto;padding:14px;align-items:flex-start}.workspace{grid-template-columns:1fr}.report-list{max-height:280px;border-right:0;border-bottom:1px solid #d9e0e7}.patient-line{align-items:stretch;flex-direction:column}.patient-line label{grid-template-columns:1fr}.actions{flex-wrap:wrap}}
