:root{--ws-bg:#f4f7f8;--ws-nav:#122d3b;--ws-border:#e0e8eb}body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#233b47}button,a,input,select,textarea{font-family:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.login-channels{display:flex;gap:16px;margin:8px 0 4px}.login-channels button{border:0;background:transparent;color:#5d7680;padding:8px 0;border-bottom:2px solid transparent}.login-channels button.current{color:#1d6a70;border-bottom-color:#1d6a70;font-weight:700}#phone-error{color:#a52c31;min-height:1.2em}a{color:inherit}.brand{font-size:25px;font-weight:800;letter-spacing:-1px;white-space:nowrap}.brand span{color:#51b6b3}.hospital-auth{min-height:100vh;display:grid;grid-template-columns:42% 58%}.hospital-auth>aside{background:linear-gradient(145deg,#132f40,#20595c);color:white;padding:48px;display:flex;flex-direction:column;justify-content:space-between}.hospital-auth aside h1{font-size:clamp(36px,4vw,58px);line-height:1.4;letter-spacing:1px}.hospital-auth aside p{color:#bad4d5;font-size:16px;line-height:2}.hospital-auth aside .eyebrow{background:#ffffff12;color:#b8e4df}.hospital-auth aside>small{color:#8bb8bb;font-size:12px;letter-spacing:1px}.hospital-auth>main{padding:50px 30px;background:#fff;display:grid;place-items:center}.auth-card{width:min(450px,100%)}.return-site{color:#64818a;font-size:13px}.auth-switch{display:flex;gap:30px;margin-top:45px;border-bottom:1px solid var(--ws-border)}.auth-switch a{padding:14px 0;color:#6a7e86}.auth-switch .current{color:#1f777b;border-bottom:3px solid #318f92;font-weight:700}.auth-card h2{font-size:28px;margin:32px 0 12px}.auth-card>p{font-size:14px;line-height:1.8;color:#6a7e86}.auth-card label{display:block;font-size:14px;font-weight:600;margin:22px 0}.auth-card input{display:block;width:100%;padding:13px;margin-top:10px;border:1px solid #cedbdf;border-radius:8px;font:inherit}.auth-card small{color:#72858c;font-size:12px}.primary{display:inline-block;border:0;border-radius:8px;background:#287e84;color:white;padding:13px 24px;text-align:center;font-weight:650;font-size:14px}.wide{width:100%;margin-top:24px}.text-button{border:0;background:transparent;color:#287e84;padding:12px 0}.auth-bottom{font-size:12px;color:#85949b;line-height:1.9;border-top:1px solid #e5edef;margin-top:24px;padding-top:20px}.dev-code{padding:15px;background:#fff8e9;line-height:1.8;border-radius:8px;font-size:13px}.local-note{font-size:12px;line-height:1.8;border:1px dashed #d3c39d;background:#fffcf4;color:#897448;border-radius:8px;padding:12px 16px;margin:20px 0}#workspace-error{color:#b34242;font-size:14px;line-height:1.7}.hospital-workspace{min-height:100vh;background:var(--ws-bg);display:grid;grid-template-columns:220px minmax(0,1fr)}.workspace-nav{background:var(--ws-nav);color:#d1e0e5;padding:29px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.workspace-nav .brand{font-size:24px;color:white;padding-left:7px}.workspace-label{font-size:12px;color:#8faab5;padding:14px 8px 30px}.workspace-label span{background:#ffffff0d;padding:3px 6px;border-radius:5px;margin-left:9px}.workspace-nav nav a{display:flex;align-items:center;gap:16px;padding:15px 18px;border-radius:8px;font-size:14px;margin-bottom:8px}.workspace-nav nav a>span{font-size:19px;color:#9abdc3}.workspace-nav nav a:hover{background:#ffffff09}.workspace-nav nav a.active{background:#2d727b;color:white}.workspace-nav nav a.active>span{color:white}.workspace-nav-bottom{margin-top:auto;padding:16px 12px;color:#94b0ba;font-size:13px;line-height:1.9}.workspace-nav-bottom small{display:block;margin-top:16px;font-size:11px}.workspace-main{min-width:0}.workspace-top{height:77px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--ws-border);padding:0 32px;font-size:13px;gap:16px}.workspace-top>div{display:flex;align-items:center;gap:16px}.workspace-top>div:first-child>span{color:#8b9aa0}.workspace-top b{font-weight:600}.workspace-top button{border:0;background:none;color:#667e88}.workspace-top>div:last-child>span:not(.account-avatar){max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-avatar{width:30px;height:30px;border-radius:7px;display:grid;place-items:center;background:#e4f1ee;color:#287d80;font-size:14px}.workspace-body{padding:32px}.workspace-heading{margin-bottom:25px}.workspace-heading h1{font-size:27px;color:#173b49;margin:10px 0}.workspace-heading p{font-size:14px;color:#7a8e97;line-height:1.8}.workspace-heading .kicker{font-size:11px}.overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0}.overview-grid>div{padding:24px;background:white;border:1px solid var(--ws-border);border-radius:12px}.overview-grid span{font-size:13px;color:#7d8e97;display:block}.overview-grid strong{display:block;font-size:23px;margin:14px 0;color:#1b5f67}.overview-grid small{font-size:12px;color:#90a0a5}.workspace-card{padding:27px;background:white;border:1px solid var(--ws-border);border-radius:12px;margin:24px 0}.workspace-card h2{font-size:18px;margin:0 0 24px}.workspace-card p{font-size:14px;line-height:1.9;color:#758a93}.enrolment-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:30px 0}.enrolment-steps>div{display:flex;align-items:center;gap:12px;font-size:13px;color:#607d87}.enrolment-steps b{display:grid;place-items:center;border-radius:50%;background:#e8f3f1;color:#378d8f;width:34px;height:34px;font-size:12px}.preparation,.rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.preparation h3,.rules-grid h3{font-size:15px}.preparation a{font-size:13px;color:#287e84}.row-title{display:flex;justify-content:space-between;align-items:center}.workspace-card button:not(.primary),.chat-profile button{padding:10px 15px;border:1px solid var(--ws-border);border-radius:7px;background:#f8fafb;color:#607c87}.team-owner{display:flex;align-items:center;gap:15px;padding:20px 0;border-bottom:1px solid var(--ws-border)}.sample-tag{font-size:11px;color:#84969e;background:#f1f5f6;padding:4px 8px;border-radius:5px;display:inline-block}.team-owner strong{font-size:14px}.team-owner p{margin:6px 0}.rules-grid{grid-template-columns:repeat(3,1fr);margin-top:25px}.muted{color:#91a1a8!important;font-size:12px!important}.settings-list{display:grid;grid-template-columns:110px 1fr;gap:20px;font-size:14px}.settings-list dt{color:#889ba2}.settings-list dd{margin:0}.workspace-failure{padding:50px}.hospital-onboarding .container,.page-hero .container{max-width:none;padding:0}.workspace-body .page-hero{background:transparent;padding:0 0 10px}.workspace-body .page-hero h1{font-size:26px;letter-spacing:0}.workspace-body .page-hero .lead{font-size:14px;line-height:1.8}.workspace-body .page-hero .crumb{display:none}.workspace-body .hospital-onboarding{padding:0;background:transparent}.hospital-development{font-size:12px}.hospital-signout{display:none!important}.hospital-progress span{font-size:12px}.hospital-onboarding form{background:white;border:1px solid var(--ws-border);padding:26px;border-radius:12px}.hospital-onboarding h2{font-size:20px}.hospital-onboarding h3{font-size:17px}.hospital-onboarding p{font-size:14px;line-height:1.8;color:#758a93}.hospital-onboarding label{font-size:13px}.hospital-onboarding input,.hospital-onboarding textarea,.hospital-onboarding select{font-size:14px}.chat-shell{display:grid;grid-template-columns:250px minmax(280px,1fr);height:calc(100vh - 218px);min-height:520px;border:1px solid #d8e2e6;border-radius:12px;overflow:hidden;background:white}.chat-shell.with-info{grid-template-columns:250px minmax(280px,1fr) 230px}.chat-list{border-right:1px solid #dce6e8;background:#fafcfc;overflow:auto}.chat-list-head{padding:20px;display:flex;justify-content:space-between;font-size:15px}.chat-tabs{display:flex;border-bottom:1px solid #e3ebee}.chat-tabs button{padding:13px 8px;font-size:12px;flex:1;background:transparent;border:0;color:#738b94;white-space:nowrap}.chat-tabs button.active{border-bottom:2px solid #318f92;color:#226e75;font-weight:700}.chat-list-note{padding:13px 18px;color:#9aabb1;font-size:10px}.chat-thread{border:0;text-align:left;width:100%;padding:17px 15px;display:flex;gap:12px;background:transparent}.chat-thread.selected{background:#e5efef}.thread-avatar{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:8px;background:#d3e9e5;color:#397c7d;font-weight:700}.chat-thread>span:last-child{min-width:0;flex:1}.chat-thread b{font-size:14px;display:flex;justify-content:space-between}.chat-thread b small{font-size:10px;font-weight:400;color:#96a5ac}.chat-thread>span>span{display:block;font-size:11px;color:#46878b;margin-top:6px}.chat-thread p{font-size:11px;color:#8599a3;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:8px 0 0}.chat-main{display:flex;flex-direction:column;min-width:0;background:#f4f7f7}.chat-main>header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px 22px;border-bottom:1px solid #dfe8e9;background:#fff}.chat-main header strong{font-size:15px}.chat-main header small{display:block;font-size:11px;color:#8ea1a8;margin-top:6px}.chat-main header button{border:0;background:none;color:#758c97;font-size:11px}.chat-mobile-back{display:none}.chat-message-area{flex:1;overflow:auto;padding:22px;display:flex;flex-direction:column;gap:20px}.message-date{align-self:center;font-size:10px;color:#9aabb1}.need-card{background:white;border:1px solid #e0e8eb;border-radius:9px;padding:14px}.need-card small{display:block;color:#499396;font-size:11px}.need-card strong{font-size:13px;display:block;margin-top:8px}.need-card p{font-size:11px;color:#8ba0a8;margin-bottom:0;line-height:1.6}.chat-bubble{padding:14px 16px;border-radius:9px;max-width:90%;font-size:13px;line-height:1.8}.chat-bubble.received{background:white;align-self:flex-start;border:1px solid #e2ebeb}.chat-bubble.sent{background:#d7ebe6;align-self:flex-end}.chat-bubble small{display:block;font-size:10px;color:#91a5a9;margin-top:8px}.chat-bubble details{font-size:11px;color:#739199;cursor:pointer}.chat-composer{height:165px;border-top:1px solid #dce6e8;background:white;padding:15px 20px;position:relative}.chat-composer>div{color:#879ca5;font-size:12px}.chat-composer>div span{float:right;color:#a5b4b9;font-size:10px}.chat-composer textarea{resize:none;border:0;background:#fafcfc;width:100%;height:65px;padding:10px;font-size:12px;margin-top:10px}.chat-composer button{position:absolute;bottom:15px;right:20px;border:0;background:#d7e7e4;padding:7px 22px;border-radius:6px;color:#739a97}.chat-profile{padding:26px 20px;border-left:1px solid #e1e9eb;background:white;overflow:auto;text-align:center}.thread-avatar.large{width:53px;height:53px;margin:auto;font-size:22px}.chat-profile h3{font-size:17px;margin:13px 0}.chat-profile dl{display:grid;grid-template-columns:1fr 1fr;text-align:left;gap:16px 10px;font-size:11px;margin-top:28px}.chat-profile dt{color:#95a6ad}.chat-profile dd{margin:0;color:#4a6875;text-align:right}.chat-profile p{font-size:10px;color:#96a8ae;line-height:1.8;text-align:left}.chat-profile button{font-size:11px;margin-top:20px}@media(max-width:1200px){.chat-shell.with-info{grid-template-columns:220px minmax(260px,1fr)}.chat-profile{position:absolute;right:0;top:0;bottom:0;width:240px;box-shadow:-10px 0 30px #1234;z-index:3}.chat-shell{position:relative}.hospital-workspace{grid-template-columns:190px minmax(0,1fr)}.workspace-body{padding:24px}.workspace-nav{padding:26px 12px}.workspace-nav .brand{font-size:22px}.overview-grid strong{font-size:19px}}@media(max-width:750px){.hospital-auth{grid-template-columns:1fr}.hospital-auth>aside{padding:25px}.hospital-auth aside>div,.hospital-auth aside>small{display:none}.hospital-auth>main{padding:25px}.auth-switch{margin-top:20px}.hospital-workspace{grid-template-columns:1fr}.workspace-nav{position:static;height:auto;padding:18px;display:block}.workspace-nav .brand{font-size:21px}.workspace-label,.workspace-nav-bottom{display:none}.workspace-nav nav{display:flex;overflow:auto;gap:5px;margin-top:15px}.workspace-nav nav a{padding:10px;white-space:nowrap;font-size:12px;margin:0}.workspace-nav nav a>span{display:none}.workspace-top{height:58px;padding:0 18px}.workspace-top>div:first-child{display:none}.workspace-top>div:last-child{width:100%}.workspace-top button{margin-left:auto}.workspace-body{padding:20px 14px}.overview-grid{grid-template-columns:1fr;gap:12px}.overview-grid>div{padding:18px}.workspace-heading h1{font-size:22px}.enrolment-steps{grid-template-columns:1fr 1fr}.preparation,.rules-grid{grid-template-columns:1fr;gap:12px}.workspace-card{padding:20px}.team-owner{flex-wrap:wrap}.chat-shell,.chat-shell.with-info{display:block;height:70vh;min-height:520px}.chat-list{height:100%;border:0}.chat-main{display:none;height:100%}.mobile-open .chat-list{display:none}.mobile-open .chat-main{display:flex}.chat-mobile-back{display:block}.chat-shell .chat-profile{display:none}.chat-shell.mobile-open.with-info .chat-profile{display:block}.hospital-onboarding form{padding:18px}.hospital-onboarding .hospital-form-grid{grid-template-columns:1fr}}
#chat-profile-close{display:block;border:0;background:transparent;margin:0 0 16px auto;padding:0;color:#7f969e;font-size:11px}@media(min-width:1001px) and (max-width:1200px){.chat-shell.with-info{grid-template-columns:220px minmax(240px,1fr) 210px}.chat-profile{position:static;width:auto;box-shadow:none}.chat-profile dl{gap:14px 7px}}
@media(min-width:751px){.chat-shell{min-height:420px}.chat-composer{flex-shrink:0}.chat-message-area{min-height:0}}
/* Compact consultation layout: fixed two columns, optional profile overlays without reflow. */
.chat-preview-note{font-size:11px;color:#8c9da4;margin:0 0 12px;line-height:1.5}.chat-shell,.chat-shell.with-info{grid-template-columns:245px minmax(0,1fr);height:calc(100dvh - 153px);min-height:400px;border-radius:6px;position:relative}.chat-list-head{padding:18px 17px;font-size:14px}.chat-tabs button{padding:12px 5px}.chat-thread{padding:18px 14px}.chat-main>header{padding:15px 24px;min-height:65px}.chat-message-area{padding:20px 28px;gap:22px}.need-card{align-self:center;background:transparent;border:0;border-radius:0;padding:0;display:flex;gap:9px;align-items:center}.need-card small,.need-card strong{font-size:11px;display:inline;margin:0;color:#8d9fa7;font-weight:400}.need-card small:after{content:'：'}.chat-bubble{border-radius:5px;padding:12px 15px;max-width:75%}.chat-bubble small{font-size:10px;margin-top:5px}.chat-composer{height:130px;padding:12px 22px}.chat-composer textarea{height:45px;background:white;padding:8px 0;margin:4px 0}.chat-composer>div{font-size:11px}.chat-composer button{bottom:12px;right:22px;font-size:11px;padding:6px 21px}.chat-shell .chat-profile{position:absolute;top:0;right:0;bottom:0;width:260px;background:#fff;z-index:5;box-shadow:-8px 0 24px #173b4914;border-left:1px solid #e0e8eb;padding:22px}.chat-profile button{white-space:nowrap}@media(max-width:750px){.chat-shell,.chat-shell.with-info{display:block;height:calc(100dvh - 250px);min-height:400px}.chat-main>header{padding:14px}.chat-message-area{padding:18px}.chat-bubble{max-width:90%}.chat-shell .chat-profile{width:min(280px,90%)}.chat-preview-note{font-size:10px}}

