/* Atendimento: conversa à esquerda e ficha clínica à direita. */
.consultation-focus .sidebar,.consultation-focus .topbar{display:none}.consultation-focus .workspace{margin-left:0}.consultation-focus main{max-width:1600px;padding:20px 24px;min-height:100dvh}.consultation-focus .teleconsult-page{max-width:none}.teleconsult-page .consultation-chat-layout{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(0,1.3fr);gap:24px;align-items:start}.consultation-chat-layout>aside,.consultation-care{min-width:0}.consultation-chat{height:calc(100dvh - 108px);min-height:500px;max-height:900px;display:flex;flex-direction:column;overflow:hidden;border-radius:16px!important;background:#fff}.consultation-chat-heading{display:flex;align-items:center;gap:12px;padding:20px;border-bottom:1px solid #e4eade;background:#f5f8f1}.chat-heading-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#e6efd8;color:#365c40;flex-shrink:0}.consultation-chat-heading h2{font-size:14px;margin:0 0 5px}.consultation-chat-heading strong{font-size:12px}.consultation-chat-heading p{font-size:10px;color:#8c987f;line-height:1.6;margin:5px 0 0}.consultation-chat-heading p[data-connected=true]{color:#347447}.consultation-chat-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #e8edde}.consultation-chat-tools label{display:flex;align-items:center;gap:8px;font-size:10px;flex:1}.consultation-chat-tools select{min-width:130px;border:1px solid #dde6d6;border-radius:7px;background:white;padding:8px;color:#36513c;font-size:11px}.consultation-chat-tools .button{font-size:9px;min-height:32px;padding:7px 9px}.consultation-chat-log{flex:1;min-height:150px;overflow-y:auto;padding:20px 16px;background:#f5f7f1;overscroll-behavior:contain}.consultation-chat-empty{max-width:280px;margin:60px auto;text-align:center;color:#96a18b}.consultation-chat-empty h3{font-size:14px;color:#607b54;margin:14px 0 8px}.consultation-chat-empty p{font-size:11px;line-height:1.8}.consultation-bubble{max-width:90%;width:fit-content;padding:12px 14px;border-radius:13px;margin-bottom:14px;overflow-wrap:anywhere;background:#fff;border:1px solid #e3e9db;box-shadow:0 2px 7px #193a2b04;color:#34503e}.consultation-bubble.outgoing{margin-left:auto;background:#e8f1db;border-color:#dce7cb;border-bottom-right-radius:3px}.consultation-bubble.incoming{border-bottom-left-radius:3px}.consultation-bubble>small{display:block;font-size:9px;color:#79916a}.consultation-bubble>p{white-space:pre-wrap;font-size:12px;line-height:1.7;margin:6px 0}.consultation-bubble footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px 9px;font-size:8px;color:#88997a;line-height:1.6}.consultation-bubble footer button{border:0;background:none;color:#375b3f;padding:0;font-size:9px;text-decoration:underline}.chat-file-caption{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 0;font-size:11px}.chat-file-caption>span{min-width:0;overflow-wrap:anywhere}.consultation-chat-composer{padding:14px 16px 16px;border-top:1px solid #e1e8d7;background:white}.consultation-chat-composer textarea,#guest-chat-text{display:block;resize:vertical;width:100%;min-height:78px;max-height:180px;border:1px solid #dce5d4;border-radius:9px;padding:11px 12px;background:#fbfcf8;color:#35513b;font:12px/1.6 'DM Sans',Arial,sans-serif}.consultation-chat-composer>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.consultation-chat-composer>p{font-size:9px;line-height:1.7;color:#8b987f;margin:8px 0 12px}.consultation-chat-feedback{color:#a1634d!important;margin-bottom:0!important}.consultation-chat-feedback:empty{display:none}.consultation-care{max-height:calc(100dvh - 108px);overflow-y:auto;padding-right:3px;overscroll-behavior:contain}.consultation-patient-strip{display:flex;align-items:center;gap:13px;padding:19px 20px;background:#fff;border:1px solid #e2e8d9;border-radius:14px;margin-bottom:12px}.consultation-patient-strip h2{font-size:20px;overflow-wrap:anywhere}.consultation-patient-strip small{display:block;font-size:10px;color:#879779;margin-top:5px}.consultation-patient-strip .avatar{width:48px;height:48px;font-size:15px}.consultation-video-panel{border:1px solid #e1e8d8;border-radius:12px;background:#fff;margin-bottom:14px;overflow:hidden}.consultation-video-panel>summary{cursor:pointer;font-size:11px;font-weight:600;color:#58774c;padding:14px 17px}.consultation-video-panel .live-call-main{padding:0 14px 14px}.consultation-video-panel .rtc-stage{max-height:290px}.consultation-video-panel .live-invite{margin:0}.consultation-care .session-workspace-header{display:none}.consultation-care .session-tab-content{max-height:none;overflow:visible;min-height:260px}.consultation-care .session-workspace{border-color:#e0e8d6}.document-send-choice{border-top:1px solid #e4eada;padding:15px 0 4px}.document-send-choice strong{font-size:12px}.document-send-choice p{font-size:11px;color:#7b8d6f}.chat-document-picker article{display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid #e7ecdf;padding:14px 0}.chat-document-picker strong,.chat-document-picker small{display:block}.chat-document-picker small{color:#8c9c7c;margin-top:6px;font-size:10px}.rtc-guest-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.rtc-guest-shell:has(.rtc-guest-layout){max-width:1400px}.guest-chat-card{display:flex;flex-direction:column;min-height:660px;max-height:850px;height:calc(100dvh - 145px)}.guest-chat-card h1{font-size:21px}.guest-chat-card>p{font-size:12px}.guest-chat-card .consultation-chat-log{margin:16px -10px;border-radius:10px;min-height:180px}.guest-chat-card .consultation-bubble footer{padding:0;text-align:right}.guest-chat-card .consultation-bubble .rtc-button{font-size:11px;padding:8px 11px;min-height:0;text-decoration:none}.guest-chat-card form{display:grid;gap:9px}.guest-chat-card form>label{font-size:12px}.guest-chat-card form>button{justify-self:end}.guest-chat-card #guest-chat-feedback{font-size:11px;color:#985d49;line-height:1.6;margin:0}.guest-chat-card #guest-chat-feedback:empty{display:none}.guest-chat-card .rtc-guest-note{font-size:10px!important;line-height:1.6!important;margin-top:12px}.guest-chat-empty{font-size:12px;color:#87997b;line-height:1.8;padding:15px}.rtc-guest-layout .guest-stage{aspect-ratio:4/3}.consultation-chat [hidden],.guest-chat-card [hidden]{display:none!important}@media(min-width:1200px){#session-chat{position:sticky;top:16px}}@media(max-width:760px){.consultation-focus main{padding:16px}.teleconsult-page .consultation-chat-layout{grid-template-columns:1fr;gap:18px}.consultation-care{max-height:none;overflow:visible;padding:0}.consultation-chat{height:540px;min-height:400px}.rtc-guest-layout{grid-template-columns:1fr}.guest-chat-card{height:600px;min-height:440px}.consultation-patient-strip h2{font-size:18px}}@media(max-width:480px){.consultation-focus main{padding:12px}.consultation-chat-heading{padding:15px}.consultation-chat-tools{padding:10px}.consultation-chat-log{padding:14px 10px}.consultation-chat-composer{padding:12px}.consultation-bubble{max-width:95%}.consultation-chat-composer .button{font-size:9px;padding:9px}.consultation-patient-strip{padding:15px}.consultation-patient-strip h2{font-size:17px}.chat-document-picker article{flex-wrap:wrap}}
.modal:has([data-document-action="share-chat"]) .modal-actions{flex-wrap:wrap}.modal:has([data-document-action="share-chat"]) .modal-actions .button{white-space:normal;text-align:center}@media(max-width:600px){.modal:has([data-document-action="share-chat"]) .modal-actions .button{flex:1 1 130px}}
