.patient-focus .room-head.patient-room-head{height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px}.patient-room-head>span{font-size:12px;color:var(--muted)}.patient-focus .chat-heading h1{font-size:17px;margin:0 0 5px}.patient-room-profile{padding:30px 34px}.patient-room-doctor{display:flex;align-items:center;gap:16px}.patient-room-doctor h2{font-size:22px;line-height:1.4}.patient-room-doctor p{font-size:12px;color:var(--muted);margin-top:5px}.patient-room-portrait{width:80px;height:80px;font-size:22px;flex:none}.patient-room-data{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:26px 0;padding-bottom:26px;border-bottom:1px solid var(--line)}.patient-room-data dt{font-size:11px;color:var(--muted);margin-bottom:6px}.patient-room-data dd{margin:0;font-size:13px}.patient-room-bio h3,.patient-room-documents h3{font-size:14px;margin-bottom:12px}.patient-room-bio p{font-size:13px;line-height:1.9;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.patient-room-documents,.patient-room-address,.patient-room-record{margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}.patient-room-address p,.patient-room-record{font-size:12px;line-height:1.7;color:var(--muted)}.patient-room-record summary{cursor:pointer;color:var(--ink)}#patient-room-support{margin-top:20px}.patient-focus .room-compose form{display:flex;align-items:flex-end;gap:4px}.patient-focus .room-compose textarea{flex:1;min-width:0;resize:none;background:var(--quiet);border:0;border-radius:10px;padding:12px;min-height:45px}.patient-focus .room-compose .send-message{flex:none;color:var(--action)}
@media(max-width:760px){.patient-focus .room-head.patient-room-head{height:59px;padding:9px 16px}.patient-room-head>span{display:none}.patient-room-profile{padding:25px 23px}.patient-focus .room-layout[data-mobile=profile] .room-chat{display:none}.patient-focus .room-layout[data-mobile=profile] .patient-room-profile{display:block}.patient-focus .room-layout[data-mobile=chat] .patient-room-profile{display:none}.patient-focus .chat-heading h1{font-size:16px}.patient-room-doctor h2{font-size:20px}.patient-focus .room-compose textarea{font-size:16px}.patient-room-portrait{width:64px;height:64px}}
.patient-focus .room-layout{grid-template-columns:minmax(0,1.12fr) minmax(350px,.88fr)}
@media(max-width:1050px){.patient-focus .room-layout{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr)}}

.patient-focus .patient-room-completion{flex:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:22px;max-width:650px;width:100%;margin:0 auto;padding:40px 25px;box-sizing:border-box}.patient-focus .patient-room-completion>svg{width:56px;height:56px;fill:none;stroke:var(--action);stroke-width:1.8}.patient-focus .patient-room-completion h1{font-size:clamp(25px,4vw,34px);line-height:1.3}.patient-focus .patient-room-completion p{font-size:15px;line-height:1.8;color:var(--muted)}.patient-focus :is(.patient-room-completion,.room-tabs,.room-layout)[hidden]{display:none!important}

/* Leve: the patient's existing composer remains the only send control. */
.patient-chat-mobile-control,.chat-media-verification{display:none}
@media(max-width:760px){
 .patient-focus{position:fixed;inset-inline:0;top:var(--patient-room-top,0px);height:var(--patient-room-height,100dvh);width:100%;min-height:0}
 .patient-focus:has(.room-layout[data-mobile=chat]:not([hidden]))>:is(.patient-room-head,.room-tabs){display:none}
 .patient-focus .chat-heading{min-height:71px;height:auto;padding:8px 10px;gap:7px;background:var(--surface);border-bottom:1px solid var(--line)}
 .patient-focus .chat-heading>div{min-width:0;flex:1}
 .patient-focus .chat-heading h1{font-size:15px;line-height:1.4;overflow-wrap:anywhere;margin:0}
 .patient-focus .chat-heading .room-presence{font-size:11px;line-height:1.5;margin:3px 0 0}
 .patient-focus .chat-heading .patient-chat-mobile-control{display:inline-flex;flex:none;min-width:44px;min-height:44px;width:44px;height:44px;color:var(--action)}
 .patient-focus .room-compose{padding:12px 10px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:var(--surface);min-width:0;max-height:60%;overflow:auto;overscroll-behavior:contain}
 .patient-focus .room-compose #patient-chat-form{display:flex;align-items:flex-end;flex-wrap:nowrap;gap:0;min-width:0;padding:2px 3px;border:1px solid var(--line);border-radius:25px;background:var(--quiet)}
 .patient-focus .room-compose #patient-chat-form:focus-within{outline:2px solid var(--action);outline-offset:1px}
 .patient-focus .room-compose #patient-chat-form textarea{order:0;display:block;flex:1 1 0;width:100%;min-width:0;height:46px;min-height:46px;max-height:105px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0;padding:11px 4px;font-size:16px;line-height:23px;resize:none;overflow-y:auto}
 .patient-focus .room-compose #patient-chat-form .icon-action{flex:none;width:44px;min-width:44px;height:44px;min-height:44px;margin:1px 0;padding:0}
 .patient-focus .room-compose #patient-chat-form .send-message{background:#08796F!important;color:#FFF;border-radius:50%}
 .patient-focus #patient-room-media:empty{display:none}
 .patient-focus #patient-room-media .chat-media-composer{position:static;display:block;min-width:0;width:100%;padding:0;border:0;margin:0}
 .patient-focus #patient-room-media :is(.chat-media-status,.chat-media-preview,.chat-attachment-menu,.chat-record-bar){position:static;max-width:100%;overflow-wrap:anywhere}
 .patient-focus #patient-room-media .chat-media-status{font-size:12px;line-height:1.6;margin:4px 3px 9px}
 .patient-focus #patient-room-media .chat-media-status:empty{display:none}
 .patient-focus #patient-room-media .chat-media-composer[data-state=idle][data-result=clean]>.chat-media-status{display:none}
 .patient-focus #patient-room-media .chat-media-preview:not(:empty){background:var(--quiet);padding:9px 11px;border-radius:8px;margin-bottom:8px}
 .patient-focus #patient-room-media .chat-media-preview img{max-height:120px}
 .patient-focus #patient-room-media .chat-media-action{min-height:44px}
 .patient-focus .room-chat-log .chat-media-verification{display:block;flex-basis:100%;font-size:11px;line-height:1.6;color:var(--muted)}
 .patient-focus #patient-room-error:not(:empty){position:static;padding:8px 3px 0;margin:0;font-size:12px;line-height:1.6}
 .patient-focus .patient-room-head{min-height:59px}
}
.patient-room-portrait{position:relative;overflow:hidden}.patient-room-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.patient-focus [data-current-doctor-avatar]{flex:none;display:flex}

.patient-focus .patient-room-timing:not([hidden]){display:block;margin-top:2px;color:var(--ink)}
