:root{color:#172b4d;font-synthesis:none;--shadow:0 4px 17px #27447612;background:#f4f7fc;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}.disabled-button-hint{z-index:1000;color:#f8fbff;pointer-events:none;background:#1c2b45f2;border:1px solid #27395829;border-radius:8px;width:max-content;padding:8px 11px;font-size:12px;line-height:1.55;animation:.12s ease-out disabled-hint-in;position:fixed;transform:translate(-50%,-100%);box-shadow:0 8px 24px #14223a33}.disabled-button-hint[data-placement=bottom]{transform:translate(-50%)}.disabled-button-hint:after{content:"";background:#1c2b45f2;border-bottom:1px solid #27395829;border-right:1px solid #27395829;width:9px;height:9px;position:absolute;bottom:-5px;left:50%;transform:translate(-50%)rotate(45deg)}.disabled-button-hint[data-placement=bottom]:after{border:0;border-top:1px solid #27395829;border-left:1px solid #27395829;top:-5px;bottom:auto}@keyframes disabled-hint-in{0%{opacity:0}to{opacity:1}}.icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;vertical-align:middle;flex:none;width:19px;height:19px}.loading,.auth-page{place-items:center;min-height:100vh;padding:28px;display:grid}.loading{color:#687992}.admin-page{background:radial-gradient(circle at 92% 0,#2c649521,#0000 28%),#f4f7fc;min-height:100vh;padding:32px clamp(20px,5vw,72px) 56px}.admin-header,.admin-grid,.admin-card,.admin-page>.feedback{width:min(1180px,100%);margin-inline:auto}.admin-header{justify-content:space-between;align-items:flex-end;gap:24px;padding:18px 0 26px;display:flex}.admin-header h1{color:#173f6b;letter-spacing:-.04em;margin:8px 0 6px;font-size:clamp(28px,4vw,42px)}.admin-header p{color:#6b7b91;margin:0}.admin-header-actions{gap:10px;display:flex}.admin-grid{grid-template-columns:1.2fr .8fr;gap:18px;margin-bottom:18px;display:grid}.admin-card{box-shadow:var(--shadow);background:#fffffff0;border:1px solid #e3eaf4;border-radius:18px;padding:24px}.admin-card-label{color:#7789a1;letter-spacing:.08em;margin-bottom:10px;font-size:12px;font-weight:700;display:block}.admin-status-card>strong,.admin-boundary-card>strong{color:#173f6b;font-size:22px}.admin-status-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0 0;display:grid}.admin-status-card dl>div{background:#f5f8fc;border-radius:12px;padding:13px 14px}.admin-status-card dt{color:#7b8ca1;font-size:12px}.admin-status-card dd{overflow-wrap:anywhere;color:#284967;margin:5px 0 0;font-weight:650}.admin-boundary-card{background:linear-gradient(145deg,#1c496efa,#183653fa)}.admin-boundary-card .admin-card-label,.admin-boundary-card>strong{color:#f5f8fb}.admin-boundary-card p{color:#c8d7e5;margin:14px 0 0;line-height:1.75}.admin-section-head,.provider-row,.provider-title{align-items:center;display:flex}.admin-section-head,.provider-row{justify-content:space-between;gap:20px}.admin-section-head h2{color:#1e4166;margin:0;font-size:20px}.admin-count{color:#75879c;font-size:13px}.provider-list{margin-top:18px}.provider-row{border-top:1px solid #edf1f6;padding:18px 0}.provider-title{flex-wrap:wrap;gap:8px}.provider-title strong{color:#243f5b}.provider-title span{border-radius:999px;padding:3px 8px;font-size:11px;font-weight:700}.provider-active{color:#fff;background:#245f91}.provider-ready{color:#25694f;background:#e6f5ee}.provider-offline{color:#8a4c43;background:#fbece9}.provider-row p{color:#526a82;overflow-wrap:anywhere;margin:8px 0 3px}.provider-row small{color:#8a9aab}.admin-empty{color:#7d8da0;padding:24px 0}.auth-invite-note{color:#4d6984;background:#f2f7fb;border:1px solid #dce8f3;border-radius:10px;margin:0 0 18px;padding:11px 13px;font-size:13px;line-height:1.65}.auth-card{background:#fff;border-radius:28px;grid-template-columns:.95fr 1.05fr;width:min(980px,100%);min-height:590px;display:grid;overflow:hidden;box-shadow:0 28px 90px #17332e24}.brand-block{color:#f7f3e8;background:radial-gradient(circle at 10% 10%,#386f62,#0000 42%),linear-gradient(145deg,#173f37,#102d28);padding:64px 56px;position:relative}.brand-block:after{content:"方 · 病 · 人";color:#ffffff2e;writing-mode:vertical-rl;letter-spacing:.28em;font-family:KaiTi,serif;font-size:38px;position:absolute;bottom:34px;right:34px}.eyebrow{color:#dfbd7d;letter-spacing:.12em;font-size:13px}.brand-block h1{letter-spacing:.08em;margin:18px 0 10px;font:500 clamp(48px,7vw,74px)/1.1 STKaiti,KaiTi,serif}.brand-block>p{color:#dbe9e5;max-width:330px;font-size:18px;line-height:1.9}.safety-note{color:#e7d7b9;border:1px solid #dfbd7d66;border-radius:12px;padding:14px 16px;font-size:13px;line-height:1.7;position:absolute;bottom:54px;left:56px;right:56px}.form-block{flex-direction:column;justify-content:center;padding:58px 64px;display:flex}.tabs{background:#eff4f2;border-radius:12px;grid-template-columns:repeat(3,1fr);gap:4px;margin-bottom:34px;padding:4px;display:grid}.tabs button{color:#657873;background:0 0;border:0;border-radius:9px;padding:10px 8px}.tabs button.active{color:#173f37;background:#fff;font-weight:650;box-shadow:0 4px 12px #17332e14}form{gap:20px;display:grid}label{color:#50635e;gap:8px;font-size:14px;display:grid}input{color:#17332e;background:#fbfcfc;border:1px solid #cfdbd7;border-radius:10px;outline:none;width:100%;height:48px;padding:0 14px}input:focus{border-color:#397468;box-shadow:0 0 0 3px #3974681f}.code-row{grid-template-columns:1fr auto;gap:10px;display:grid}.primary,.secondary{border:1px solid #0000;border-radius:10px;min-height:44px;padding:0 18px}.primary{color:#fff;background:#1d564b;height:50px;margin-top:4px;font-weight:650}.secondary{color:#285f54;background:#f8fbfa;border-color:#bdd0ca}.feedback{border-radius:8px;margin:-6px 0;padding:10px 12px;font-size:13px;line-height:1.5}.feedback.error{color:#8f2f27;background:#fff0ee}.feedback.success{color:#27604d;background:#edf8f2}.app-shell{grid-template-columns:272px minmax(0,1fr);height:100dvh;min-height:0;display:grid;overflow:hidden}.sidebar{color:#ecf3ff;background:linear-gradient(158deg,#0e2144 0%,#142c56 66%,#203f73 100%);flex-direction:column;padding:24px 16px 20px;display:flex;position:relative;overflow:hidden}.sidebar:after{content:"";pointer-events:none;background:radial-gradient(at 65% 40%,#6593ed1f,#0000 68%);height:290px;position:absolute;inset:auto -55px -140px -50px}.brand{z-index:1;align-items:center;gap:12px;padding:1px 12px 27px;display:flex}.brand-logo{color:#fff;background:#ffffff17;border:1px solid #e7f3ff59;border-radius:12px;place-items:center;width:41px;height:41px;display:grid}.brand-logo .icon{width:25px;height:25px}.brand-name{letter-spacing:.05em;font-size:21px;font-weight:760}.brand-sub{color:#b9d0f4;letter-spacing:.14em;margin-top:4px;font-size:11px}.sidebar-actions{z-index:1;gap:10px;display:grid}.start-chat{color:#cfe0ff;background:#ffffff0f;border:1px solid #ffffff2e;border-radius:12px;justify-content:flex-start;align-items:center;gap:12px;min-height:48px;padding:0 17px;font-size:15px;font-weight:700;display:flex}.start-chat.active{color:#fff;background:linear-gradient(98deg,#338afc,#1e63ea);box-shadow:0 8px 20px #0a2b7347}.start-chat:hover{filter:brightness(1.09)}.start-chat .icon{width:21px;height:21px}.sidebar-divider{background:#dae7ff2b;height:1px;margin:20px 7px 17px}.history-header{z-index:1;color:#cadbf7;letter-spacing:.03em;padding:0 9px 10px;font-size:13px;font-weight:650}.history-header span{float:right;color:#91a9d2;font-size:11px;font-weight:400}.history{z-index:1;scrollbar-width:thin;scrollbar-color:#54709c transparent;min-height:0;overflow-y:auto}.history-item{color:#e6eeff;text-align:left;border:1px solid #c1d5f81a;border-radius:11px;align-items:center;gap:5px;width:100%;margin-bottom:5px;padding:5px 6px;transition:background .16s,border-color .16s;display:flex;position:relative}.history-item.chat{background:#386bcc33}.history-item.consultation{background:#fff1}.history-item:hover{background:#ffffff21;border-color:#bdd3fc33}.history-item.active{background:linear-gradient(115deg,#4c88f987,#366cd35c);border-color:#97b8fb2b}.history-item.menu-open{z-index:8;border-color:#b2cfff5c}.history-menu-trigger{color:#c4d9ff;background:#ffffff14;border:0;border-radius:8px;flex:none;place-items:center;width:30px;height:30px;padding:0;display:grid}.history-menu-trigger:hover:not(:disabled){color:#fff;background:#ffffff2b}.history-menu-trigger .icon{width:16px;height:16px}.history-open{min-width:0;color:inherit;text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:8px;padding:6px 3px 6px 5px;display:flex}.history-open:disabled{color:#a8b8d4}.history-action-menu{z-index:20;background:#152d53;border:1px solid #bbcff23d;border-radius:10px;gap:3px;width:148px;padding:6px;display:grid;position:absolute;top:calc(100% - 2px);left:39px;box-shadow:0 14px 32px #030c1d6b}.history-item.menu-up .history-action-menu{top:auto;bottom:calc(100% - 2px)}.history-action-menu button{color:#e6efff;text-align:left;background:0 0;border:0;border-radius:7px;padding:8px 9px;font-size:12px}.history-action-menu button:hover:not(:disabled){background:#ffffff1a}.history-action-menu button.danger{color:#ffb9b2}.history-action-menu button:disabled{color:#8397b8}.history-meta{flex:1;gap:4px;min-width:0;display:grid}.history-title{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:550;overflow:hidden}.history-date{color:#b1c2e1;font-size:11px}.history-type{color:#d4e3ff;border:1px solid #c3d4f940;border-radius:5px;padding:2px 5px;font-size:10px}.history-empty{color:#91a9d2;text-align:center;padding:22px 10px;font-size:12px}.sidebar-foot{z-index:2;margin-top:auto;padding:12px 4px 0}.sidebar-profile{color:#f1f6ff;text-align:left;background:#ffffff12;border:1px solid #bad4ff2e;border-radius:12px;align-items:center;gap:10px;width:100%;padding:11px 10px;display:flex}.sidebar-profile:hover{background:#ffffff21}.sidebar-avatar{background:#4265a1;border-radius:50%;flex:none;place-items:center;width:35px;height:35px;display:grid}.profile-summary{flex:1;gap:2px;min-width:0;display:grid}.sidebar-profile-name{font-size:13px;font-weight:700}.sidebar-profile-sub{color:#c1d3f1;font-size:11px}.sidebar-profile-arrow{color:#acc5ed;margin-left:auto}.cloud-state{color:#c6d6ed;align-items:center;gap:6px;margin:9px 0 0 5px;font-size:10px;display:flex}.cloud-state .icon{width:14px;height:14px}.work{flex-direction:column;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.topbar{background:#fbfcffe6;border-bottom:1px solid #e9edf6;flex:none;justify-content:space-between;align-items:center;gap:12px;height:63px;padding:0 28px 0 32px;display:flex}.page-title-wrap,.top-utility{align-items:center;gap:12px;min-width:0;display:flex}.page-title{color:#132b52;white-space:nowrap;font-size:19px;font-weight:750}.page-sep{background:#d9e0ee;width:1px;height:18px}.case-name{color:#6f7e99;text-overflow:ellipsis;white-space:nowrap;max-width:420px;font-size:13px;overflow:hidden}.demo-chip,.conn-chip{color:#687992;white-space:nowrap;background:#f7f9fe;border:1px solid #e5eaf3;border-radius:8px;padding:7px 10px;font-size:11px}.demo-chip i{background:#f3ab43;border-radius:50%;width:6px;height:6px;margin-right:5px;display:inline-block}.action-dock{background:#f4f7fc;flex:none;padding:14px 24px 0 31px}.action-bar{box-shadow:var(--shadow);background:#fff;border:1px solid #e6ebf3;border-radius:15px;grid-template-columns:1fr 1fr 1.23fr;gap:14px;padding:14px 17px;display:grid}.action{color:#fff;letter-spacing:.025em;border:0;border-radius:11px;justify-content:center;align-items:center;gap:12px;height:58px;font-size:18px;font-weight:750;display:flex;box-shadow:0 4px 8px #1a458514}.action.green{background:linear-gradient(107deg,#15994c,#13b35e)}.action.red{background:linear-gradient(103deg,#ec4666,#f35472)}.action.blue{background:linear-gradient(105deg,#2473ff,#2354f0)}.action .icon{width:23px;height:23px}.app-error{flex:none;margin:10px 31px 0}.main-scroll{background:#f4f7fc;flex:1;min-height:0;padding:14px 24px 18px 31px;overflow:hidden}.consult-columns{grid-template-columns:minmax(360px,1fr) minmax(430px,1.18fr);gap:14px;height:100%;display:grid}.input-column,.results-column{scrollbar-width:thin;scrollbar-color:#9cb5e1 #edf2fa;min-height:0;padding-right:4px;overflow-y:auto}.column-strip{color:#71819f;align-items:center;gap:8px;min-height:34px;padding:0 5px;font-size:11px;display:flex}.column-strip strong{color:#20375c;font-size:13px}.column-strip .top-analysis-submit{margin-left:auto}.strip-dot{background:#566dec;border-radius:50%;width:7px;height:7px}.strip-dot.input{background:#13a359}.panel{box-shadow:var(--shadow);background:#fff;border:1px solid #e4eaf4;border-radius:15px;margin-bottom:14px;overflow:hidden}.panel-hd{align-items:center;gap:10px;min-height:54px;padding:13px 17px 11px;display:flex}.panel-hd>.icon{color:#2869fa;width:21px;height:21px}.panel-title{color:#152b50;white-space:nowrap;font-size:16px;font-weight:730}.panel-title em{color:#828db0;font-size:13px;font-style:normal;font-weight:500}.panel-desc{color:#8390a8;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.hd-right{align-items:center;gap:8px;margin-left:auto;display:flex}.record-state{color:#71819f;white-space:nowrap;align-items:center;gap:7px;font-size:12px;display:flex}.recdot{background:#c0cadb;border-radius:50%;width:8px;height:8px}.record-state.requesting .recdot,.record-state.connecting .recdot,.record-state.stopping .recdot{background:#e3a43d;animation:1.1s infinite pulse}.record-state.recording{color:#16844d}.record-state.recording .recdot{background:#16aa5e;animation:1.1s infinite pulse;box-shadow:0 0 0 4px #16aa5e1f}.record-state.error{color:#a2463d}.record-state.error .recdot{background:#d85d50}@keyframes pulse{50%{opacity:.42}}.record-controls{align-items:center;gap:6px;display:flex}.record-btn{white-space:nowrap;border:1px solid #0000;border-radius:8px;align-items:center;gap:5px;height:31px;padding:0 9px;font-size:11px;font-weight:650;display:inline-flex}.record-btn .icon{width:14px;height:14px}.record-btn.start{color:#137344;background:#edf9f2;border-color:#bfe2ce}.record-btn.stop{color:#a0423a;background:#fff3f1;border-color:#efd0ca}.asr-area{background:linear-gradient(135deg,#f8fbff,#f3f8ff);border:1px solid #dce8f8;border-radius:11px;margin:0 17px 12px;padding:13px}.transcript-surface{cursor:text;transition:border-color .16s,box-shadow .16s}.transcript-surface:hover{border-color:#a9c5ef;box-shadow:0 0 0 3px #487be20f}.transcript-surface.editing{border-color:#6e99ed;box-shadow:0 0 0 3px #487be21a}.asr-area-title,.manual-label{color:#304d79;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px;font-size:12px;display:flex}.asr-area-title span,.manual-label span{color:#8a99b1;font-size:11px;font-weight:400}.asr-saved{gap:6px;display:grid}.asr-saved p{color:#2d405d;background:#fff;border-left:3px solid #3d8d68;border-radius:5px;margin:0;padding:8px 10px;font-size:13px;line-height:1.7}.asr-live{color:#273e64;background:#fff;border:1px solid #c7daf9;border-radius:8px;padding:10px 11px;font-size:13px;line-height:1.75}.asr-live>span{color:#187449;vertical-align:1px;background:#e7f7ef;border-radius:5px;margin-right:8px;padding:1px 6px;font-size:10px;display:inline-block}.asr-empty{color:#8796ae;text-align:center;background:#ffffff9e;padding:13px 10px;font-size:12px;line-height:1.6}.asr-warning{color:#93483d;background:#fff4f1;border:1px solid #f0d1ca;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin-top:9px;padding:9px 10px;font-size:11.5px;line-height:1.55;display:flex}.asr-warning .small-btn{color:#8e493e;border-color:#e5c2bb;flex:none}.transcript-paragraph{color:#273e64;white-space:pre-wrap;word-break:break-word;background:#fff;border:1px solid #d7e2f5;border-radius:8px;min-height:118px;padding:10px 11px;font-size:13px;line-height:1.85}.transcript-paragraph.empty{color:#8796ae;text-align:center;justify-content:center;align-items:center;display:flex}.transcript-editor{resize:vertical;color:#273e64;background:#fff;border:1px solid #9cb9e7;border-radius:8px;outline:none;width:100%;min-height:145px;padding:10px 11px;font-size:13px;line-height:1.85}.transcript-edit-tools{color:#9a6a20;justify-content:space-between;align-items:center;gap:10px;margin-top:9px;font-size:11px;display:flex}.transcript-edit-tools>div{gap:7px;display:flex}.manual-editor{background:#f8faff;border:1px solid #e4eaf7;border-radius:11px;margin:0 17px 16px;padding:12px}.manual-editor textarea{resize:vertical;color:#24395b;background:#fff;border:1px solid #cfdcf4;border-radius:10px;outline:none;width:100%;min-height:150px;padding:11px 12px;line-height:1.7}.manual-editor textarea:focus{border-color:#6e99ed;box-shadow:0 0 0 3px #487be21f}.manual-tools{justify-content:space-between;align-items:center;gap:10px;margin-top:9px;display:flex}.manual-tools>div{gap:7px;display:flex}.saved,.unsaved{font-size:12px}.saved{color:#188252}.unsaved{color:#a66b17}.small-btn{color:#4063a2;background:#fff;border:1px solid #dce5f7;border-radius:9px;align-items:center;gap:6px;padding:6px 10px;font-size:12px;display:inline-flex}.small-btn.primary{color:#2364e9;background:#edf3ff;border-color:#cadaff;height:auto;min-height:auto;margin:0}.revision-list{gap:7px;margin-top:12px;display:grid}.revision-list details{background:#fff;border:1px solid #dce5f7;border-radius:8px;padding:8px 10px}.revision-list summary{color:#546d99;cursor:pointer;font-size:12px}.revision-list pre{white-space:pre-wrap;margin:9px 0 0;font:12px/1.65 inherit}.soft-tag{color:#6658c7;white-space:nowrap;background:#edeafd;border-radius:999px;padding:3px 9px;font-size:11px}.placeholder-card{color:#64738d;background:#f9faff;border:1px solid #e3e8f7;border-radius:11px;margin:0 17px 15px;padding:16px}.placeholder-card p{margin:6px 0 12px;font-size:12px;line-height:1.65}.add-photo{color:#4561b1;background:#fff;border:1px dashed #b8c5eb;border-radius:8px;padding:8px 12px}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.photo-workspace,.normalization-workspace{gap:11px;margin:0 17px 15px;display:grid}.photo-empty{color:#64738d;background:#f9faff;border:1px solid #e3e8f7;border-radius:10px;margin:0;padding:13px;font-size:12px;line-height:1.65}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;width:80%;display:grid}.photo-item{background:#f7f9fd;border:1px solid #dce5f5;border-radius:10px;margin:0;overflow:hidden}.photo-item img{aspect-ratio:4/3;object-fit:cover;background:#e9eef7;width:100%;display:block}.photo-item figcaption{color:#536786;justify-content:space-between;align-items:center;gap:6px;padding:6px 8px;font-size:11px;display:flex}.photo-item figcaption button{color:#9a4b43;background:0 0;border:0;padding:2px 5px;font-size:11px}.photo-vision-summary{gap:6px;display:grid}.photo-vision-summary strong{color:#526b91;font-size:11px}.photo-vision-summary p{white-space:pre-wrap;margin:0}.photo-vision-summary.completed{background:#f8fcfa;border-color:#d5e6dd}.photo-vision-summary.processing strong{color:#4771b6}.photo-vision-summary.failed{background:#fff8f6}.retry-observation{color:#8f3e35;background:#fff;border:1px solid #e5c4bf;border-radius:6px;justify-self:start;padding:4px 8px;font-size:11px}.photo-actions,.normalization-actions{flex-wrap:wrap;gap:8px;display:flex}.secondary-action,.normalization-actions button{color:#385785;background:#f8faff;border:1px solid #cdd9ef;border-radius:8px;padding:8px 12px}.normalization-actions .confirm-note{color:#fff;background:#2866da;border-color:#2866da}.vision-result{color:#405574;background:#f7faff;border:1px solid #dbe6f5;border-radius:10px;padding:12px 13px;font-size:12px;line-height:1.7}.vision-result strong,.vision-result small{display:block}.vision-result p{white-space:pre-wrap;margin:6px 0}.vision-result.failed{background:#fff7f5;border-color:#ebd1cd}.error-text{color:#8f2f27}.normalization-workspace textarea{resize:vertical;color:#273852;background:#fff;border:1px solid #d8e1f3;border-radius:10px;width:100%;min-height:150px;padding:12px 13px;font:12.5px/1.75 inherit}.normalization-workspace textarea:disabled{color:#455873;background:#f7f9fd}.normalization-meta{color:#7787a0;flex-wrap:wrap;gap:7px 13px;font-size:11px;display:flex}.normalization-meta strong{color:#9a5a25}.ai-empty{color:#67718f;background:linear-gradient(116deg,#f5f3ff,#f7f8ff);border:1px solid #eae8ff;border-radius:11px;margin:0;padding:15px;font-size:12.5px;line-height:1.7}.results-column{flex-direction:column;display:flex;overflow:hidden}.result-panel{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.result-panel .panel-hd>.icon{color:#356de9}.analysis-result-frame{scrollbar-width:thin;scrollbar-color:#9cb5e1 #edf2fa;background:linear-gradient(135deg,#f9fbff,#f5f8ff);border:1px solid #dce6f8;border-radius:12px;flex:1;min-height:0;margin:0 17px 16px;overflow-y:auto}.analysis-fixed-boundary{color:#74839b;background:#f3f6fb;border-radius:8px;flex:none;margin:0 17px 12px;padding:8px 11px;font-size:11px;line-height:1.55}.result-content{color:#51627f;min-height:280px;margin:0;padding:22px;font-size:13px;line-height:1.8}.result-content strong{color:#293d60;font-size:16px}.analysis-meta.streaming{color:#3f6fbd}.streaming-body{white-space:pre-wrap}.result-note{color:#66799a;background:#eef4ff;border-left:3px solid #6284d4;margin-top:22px;padding:10px 12px}.analysis-rounds{gap:7px;margin:0 17px 11px;padding-bottom:3px;display:flex;overflow-x:auto}.analysis-rounds button{color:#607294;background:#fff;border:1px solid #dce5f7;border-radius:999px;flex:none;padding:6px 10px;font-size:11px}.analysis-rounds button.active{color:#245fcf;background:#edf4ff;border-color:#a9c4f4}.analysis-meta{color:#7e8ca5;border-bottom:1px solid #e1e8f5;margin-bottom:14px;padding-bottom:10px;font-size:11px}.analysis-body{color:#30425f;white-space:pre-wrap;word-break:break-word;line-height:1.85}.followup-history{gap:9px;margin:0 17px 16px;display:grid}.followup-message{background:#f1f5fb;border-radius:11px;max-width:88%;padding:10px 12px}.followup-message.doctor{color:#244a86;background:#eaf2ff;justify-self:end}.followup-message.assistant{color:#354867;background:#f2f4f8;justify-self:start}.followup-message span{color:#8190a9;font-size:10px}.followup-message p{white-space:pre-wrap;margin:4px 0 0;font-size:12px;line-height:1.7}.analysis-submit-row{justify-content:space-between;align-items:center;gap:12px;margin:0 17px 17px;padding-top:2px;display:flex}.analysis-submit{color:#fff;background:linear-gradient(105deg,#2473ff,#2354f0);border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-width:150px;height:43px;font-weight:720;display:inline-flex}.analysis-submit .icon{width:18px;height:18px}.analysis-submit:disabled{color:#8793a8;opacity:1;background:#e4e8ef}.top-analysis-submit{border-radius:8px;min-width:126px;height:32px;padding:0 13px;font-size:12px}.top-analysis-submit .icon{width:15px;height:15px}.inline-composer{background:#fff;border:1px solid #d9e3f4;border-radius:12px;align-items:center;gap:9px;min-width:0;margin:0 17px 12px;padding:7px 9px 7px 13px;display:flex;box-shadow:0 3px 12px #364e7a0d}.inline-composer>.icon{color:#91a4c5}.inline-composer textarea{resize:vertical;color:#243656;background:0 0;border:0;outline:0;flex:1;min-height:38px;max-height:94px;padding:7px 2px;line-height:1.55}.inline-composer .send{width:39px;height:39px}.back-to-latest{z-index:3;color:#245dc3;background:#fff;border:1px solid #cadaf6;border-radius:18px;padding:7px 12px;font-size:12px;position:absolute;bottom:28px;right:29px;box-shadow:0 5px 16px #264b8929}.analysis-submit-row>span{color:#8a96aa;text-align:right;font-size:11px}.chat-mode{background:#fff;border:1px solid #e2e8f3;border-radius:18px;flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden;box-shadow:0 8px 28px #2a40680f}.chat-session-bar{background:#fbfcff;border-bottom:1px solid #e8edf6;flex:none;justify-content:space-between;align-items:center;gap:18px;padding:14px 18px;display:flex}.chat-session-bar>div:first-child{gap:3px;min-width:0;display:grid}.chat-session-bar strong{color:#25395f;text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.chat-session-bar span{color:#8b99b0;font-size:11px}.chat-session-actions{flex:none;gap:7px;display:flex}.small-btn.danger{color:#a84747;background:#fff7f7;border-color:#f0d2d2}.chat-scroll{scrollbar-width:thin;scrollbar-color:#cbd7ea transparent;flex:1;min-height:0;padding:18px 28px 8px;overflow-y:auto}.chat-intro{text-align:center;max-width:650px;margin:54px auto 30px}.chat-symbol{color:#4568dd;background:linear-gradient(135deg,#f0efff,#ecf4ff);border-radius:18px;place-items:center;width:58px;height:58px;margin:0 auto 16px;display:grid}.chat-symbol .icon{width:29px;height:29px}.chat-intro h2{margin:0 0 9px;font-size:25px}.chat-intro p{color:#8794ab}.prompt-examples{grid-template-columns:repeat(2,1fr);gap:11px;margin-top:26px;display:grid}.prompt-examples button{color:#415273;text-align:left;background:#fff;border:1px solid #e4e9f4;border-radius:12px;padding:14px 16px}.prompt-examples button:not(:disabled):hover{color:#245bd0;background:#f7faff;border-color:#bfd2f5}.chat-messages{gap:13px;max-width:900px;margin:0 auto;padding-bottom:18px;display:grid}.chat-message{background:#f6f8fc;border:1px solid #e7ebf3;border-radius:14px;max-width:82%;padding:12px 14px}.chat-message.doctor{color:#234b91;background:#edf4ff;border-color:#d6e4ff;justify-self:end}.chat-message.assistant{color:#354867;background:#f7f8fb;justify-self:start}.chat-message.streaming{border-style:dashed}.chat-status{color:#70829f;background:#f8faff;border:1px dashed #d7e2f5;border-radius:11px;align-items:center;gap:8px;max-width:900px;margin:14px auto;padding:10px 12px;font-size:11px;display:flex}.chat-status-dot{background:#4e83ee;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #4e83ee1f}.chat-live{max-width:min(82%,900px);margin:12px auto 18px}.chat-message span{color:#8997ad;font-size:10px}.chat-message p{white-space:pre-wrap;margin:5px 0 0;font-size:13px;line-height:1.78}.chat-composer{background:#fff;border:1px solid #d9e3f4;border-radius:14px;flex:none;align-items:center;gap:10px;min-width:0;margin:0 28px;padding:8px 9px 8px 14px;display:flex;box-shadow:0 4px 14px #364e7a0f}.chat-composer textarea{resize:vertical;color:#243656;background:0 0;border:0;outline:0;flex:1;min-height:42px;max-height:120px;padding:8px 2px}.chat-fixed-boundary{color:#909db2;text-align:center;flex:none;margin:7px 28px 10px;font-size:10px}.composer-row{background:linear-gradient(#f6f8fdd1,#f6f8fd 30%);border-top:1px solid #e7ebf4;flex:none;align-items:center;min-height:76px;padding:10px 94px 12px 30px;display:flex}.composer{background:#fff;border:1px solid #d9e3f4;border-radius:14px;flex:1;align-items:center;gap:9px;min-width:0;padding:8px 9px 8px 15px;display:flex;box-shadow:0 3px 12px #364e7a0f}.composer>.icon{color:#91a4c5}.composer textarea{resize:none;color:#243656;background:0 0;border:0;outline:0;flex:1;min-height:35px;padding:8px 2px}.send{color:#fff;background:linear-gradient(135deg,#3484ff,#205eea);border:0;border-radius:9px;place-items:center;width:41px;height:40px;display:grid}.profile-pop{z-index:60;color:#20314e;background:#fff;border:1px solid #e3e9f2;border-radius:15px;width:314px;position:absolute;bottom:94px;left:18px;overflow:hidden;box-shadow:0 16px 48px #0e264f38}.profile-top{background:linear-gradient(115deg,#eef4ff,#f7faff);border-bottom:1px solid #e4ebf8;align-items:center;gap:12px;padding:18px;display:flex}.profile-icon{color:#285bc2;background:#e3edff;border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.profile-name{font-size:16px;font-weight:760}.profile-sub{color:#8392aa;margin-top:2px;font-size:11px}.profile-body{padding:17px 19px}.pro-row{justify-content:space-between;gap:12px;padding:7px 0;font-size:12px;display:flex}.pro-row span{color:#8593a9}.member-box{color:#25488b;background:#f1f5ff;border:1px solid #e1eafb;border-radius:10px;gap:4px;margin-top:8px;padding:13px;display:grid}.member-box small{color:#667eac}.member-box strong{font-size:15px}.logout-btn{color:#8b4038;background:#fff7f5;border:1px solid #e2c5c1;border-radius:8px;width:100%;margin-top:14px;padding:9px}.profile-foot{color:#a0aac0;border-top:1px solid #eef1f6;padding:11px 18px 15px;font-size:11px}@media (width<=1100px){.app-shell{grid-template-columns:233px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.main-scroll{padding-left:17px;padding-right:17px;overflow-y:auto}.consult-columns{height:auto;display:block}.input-column,.results-column{overflow:visible}.results-column{margin-top:8px;display:block}.result-panel{min-height:560px}.analysis-result-frame{max-height:65vh}.panel-desc{display:none}.panel-hd{flex-wrap:wrap}.panel-hd .hd-right{justify-content:space-between;width:100%;margin-left:31px}.action-dock{padding-left:17px;padding-right:17px}}@media (width<=720px){.admin-page{padding:18px 14px 36px}.admin-header{flex-direction:column;align-items:flex-start}.admin-header-actions{flex-wrap:wrap;width:100%}.admin-grid,.admin-status-card dl{grid-template-columns:1fr}.provider-row{flex-direction:column;align-items:flex-start}.auth-page{padding:0}.auth-card{border-radius:0;grid-template-columns:1fr}.brand-block{min-height:250px;padding:36px 28px}.brand-block:after{display:none}.safety-note{margin-top:25px;position:static}.form-block{padding:34px 28px 42px}.app-shell{grid-template-columns:1fr}.sidebar{display:none}.topbar{height:55px;padding:0 14px}.case-name{max-width:145px}.top-utility{display:none}.action-dock{padding:10px 10px 0}.action-bar{gap:7px;padding:9px}.action{gap:5px;height:48px;font-size:13px}.action .icon{width:18px}.main-scroll{padding:10px}.photo-grid{grid-template-columns:1fr}.composer-row{padding:9px 12px}.profile-pop{width:auto;left:10px;right:10px}.manual-tools{flex-direction:column;align-items:flex-start}.prompt-examples{grid-template-columns:1fr}.chat-session-bar{flex-direction:column;align-items:flex-start;padding:11px 13px}.chat-session-actions{flex-wrap:wrap;width:100%}.chat-scroll{padding:12px 13px 6px}.chat-intro{margin-top:34px}.chat-message{max-width:96%}.chat-composer{margin:0 10px}.chat-fixed-boundary{margin:7px 12px 9px}}
