/* EvoluiQ v6.9.243 — Telemedicina: prévia visual somente, não implementa WebRTC/link real. */
#agendaView .agenda-row .eq243-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
#agendaView .agenda-row.eq243-online-row .agenda-actions{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:5px}
#agendaView .agenda-row .eq243-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:auto!important;min-height:31px!important;padding:6px 8px!important;margin:0!important;border:1px solid #b9d6c8!important;border-radius:7px!important;background:#eaf7ef!important;color:#076c45!important;font:700 11px/1.2 Arial,sans-serif!important;text-transform:none!important;white-space:nowrap!important;cursor:pointer!important;box-shadow:none!important}
#agendaView .agenda-row .eq243-action:hover{background:#dbefe4!important;border-color:#73b996!important}
#agendaView .agenda-row .eq243-action.eq243-start{background:#08734c!important;border-color:#08734c!important;color:#fff!important}
#agendaView .agenda-row .eq243-action.eq243-start:hover{background:#07583e!important}
#agendaView .agenda-row .eq243-action:focus-visible{outline:3px solid #60b98c!important;outline-offset:2px!important}
#agendaView .agenda-row .eq243-action svg{width:14px!important;height:14px!important;flex:none;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:901px){#agendaView .agenda-row.eq243-online-row{grid-template-columns:78px minmax(155px,1.25fr) minmax(130px,.8fr) 155px minmax(240px,1fr)!important}}
@media(max-width:900px){#agendaView .agenda-row.eq243-online-row{grid-template-columns:72px minmax(0,1fr)!important}#agendaView .agenda-row.eq243-online-row>div:nth-child(n+3){grid-column:2}}
/* Floating window is attached to body and never modifies patient workspace styles. */
#eq243-call{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));right:16px;width:min(268px,calc(100vw - 24px));max-height:calc(100dvh - 20px);background:#132b24!important;color:#f4fff8!important;border:1px solid #43765b;border-radius:15px;box-shadow:0 12px 38px #001f1560;z-index:9500;overflow:hidden;font:normal 13px/1.4 Arial,sans-serif;isolation:isolate}
#eq243-call[hidden],#eq243-invite[hidden]{display:none!important}
#eq243-call *{box-sizing:border-box}
#eq243-call .eq243-head{display:flex;align-items:center;gap:9px;background:#23533f;padding:10px 11px;cursor:grab;touch-action:none;user-select:none}
#eq243-call .eq243-head:active{cursor:grabbing}
#eq243-call .eq243-dot{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;background:#e8cb63}
#eq243-call .eq243-headtext{min-width:0;flex:1;font-size:12px;font-weight:700;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#eq243-call .eq243-headbuttons{display:flex;gap:4px}
#eq243-call button{width:auto!important;max-width:none!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;color:#fff!important;box-shadow:none!important;cursor:pointer!important;font-family:Arial,sans-serif!important}
#eq243-call button:focus-visible{outline:2px solid #8fe4af!important;outline-offset:2px!important}
#eq243-call .eq243-headbuttons button{width:25px!important;height:25px!important;background:#3b6f53!important;border-radius:7px!important;font-size:17px!important;font-weight:400!important;line-height:1!important}
#eq243-call .eq243-preview-badge{padding:2px 5px;border-radius:4px;background:#416D54;color:#D3F1DD;font-size:8px;line-height:1.2;letter-spacing:.5px;font-weight:700;flex:none}
#eq243-call .eq243-preview{min-height:215px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:linear-gradient(135deg,#203d32,#0f211a);padding:16px 10px;text-align:center}
#eq243-call .eq243-avatar{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;background:#3b6451;color:#baf2d0}
#eq243-call .eq243-avatar svg{width:29px;height:29px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#eq243-call .eq243-person{font-size:13px;font-weight:700;color:#fff;max-width:100%;overflow-wrap:anywhere}

#eq243-call .eq243-controls{padding:10px;display:flex;justify-content:center;gap:9px;background:#153227}
#eq243-call .eq243-controls button{display:flex!important;align-items:center!important;justify-content:center!important;width:37px!important;height:37px!important;background:#39634f!important;border-radius:50%!important;border:1px solid #557b66!important}
#eq243-call .eq243-controls button.eq243-off,#eq243-call .eq243-controls button.eq243-end{background:#943e49!important;border-color:#b45c66!important}
#eq243-call .eq243-controls svg{height:18px;width:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

#eq243-call.eq243-min .eq243-preview,#eq243-call.eq243-min .eq243-controls{display:none!important}
#eq243-call.eq243-min{width:min(230px,calc(100vw - 24px))}
#eq243-call.eq243-max{width:min(620px,calc(100vw - 42px));max-height:calc(100dvh - 24px)}
#eq243-call.eq243-max .eq243-preview{min-height:min(54dvh,430px)}
#eq243-call.eq243-dragged{right:auto!important;bottom:auto!important}
#eq243-invite{position:fixed;inset:0;background:#00140fb3;display:grid;place-items:center;z-index:9501;padding:16px;font:normal 13px/1.4 Arial,sans-serif}
#eq243-invite *{box-sizing:border-box}
#eq243-invite .eq243-dialog{width:min(450px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;background:#fff;color:#243e30;border-radius:16px;border:1px solid #c6dfcf;padding:18px;box-shadow:0 20px 65px #00140f66}
#eq243-invite .eq243-dialoghead{display:flex;align-items:center;justify-content:space-between;gap:10px}
#eq243-invite h2{font:800 19px/1.25 Arial,sans-serif;margin:0;color:#145d3e!important}
#eq243-invite .eq243-dialoghead button{font:700 20px/1 Arial,sans-serif;width:30px!important;height:30px!important;border:0!important;border-radius:6px!important;background:#ecf4ee!important;color:#315e43!important;padding:0!important;margin:0!important;cursor:pointer}
#eq243-invite .eq243-info{border-radius:10px;background:#edf7f0;padding:12px;margin:14px 0;color:#254e38}
#eq243-invite .eq243-info strong{color:#1a5238!important}
#eq243-invite label{color:#254c35!important;font-size:12px;margin:12px 0 4px}
#eq243-invite select{display:block;width:100%;padding:9px;border:1px solid #b3d4c0;border-radius:7px;color:#244835;background:#fff}
#eq243-invite .eq243-message{background:#f6faf7;border:1px solid #d5e5da;border-radius:9px;padding:12px;margin-top:9px;color:#355846;line-height:1.5}
#eq243-invite .eq243-warning{margin-top:13px;font-size:12px;color:#895d21;background:#fff6e5;border:1px solid #ebd4a3;border-radius:8px;padding:10px}
#eq243-invite .eq243-dialogfoot{display:flex;justify-content:flex-end;margin-top:15px}
#eq243-invite .eq243-dialogfoot button{background:#0b7750!important;color:#fff!important;width:auto!important;padding:9px 18px!important;border-radius:8px!important;border:0!important;margin:0!important;font-weight:700!important;cursor:pointer!important}
@media(max-width:540px){#eq243-call{right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:min(220px,calc(100vw - 24px))}#eq243-call .eq243-preview{min-height:180px}#eq243-call .eq243-head{padding:8px}#eq243-call.eq243-max{width:min(390px,calc(100vw - 56px))!important;max-height:calc(100dvh - 32px)!important}#eq243-call.eq243-max .eq243-preview{min-height:min(44dvh,330px)}}
@media print{#eq243-call,#eq243-invite{display:none!important}}

#eq243-invite .eq243-dialog{width:min(350px,100%);padding:16px;color-scheme:light}
#eq243-invite .eq243-info{padding:9px;margin:10px 0}
#eq243-invite #eq243-invite-channel{background:#fff!important;color:#244835!important;color-scheme:light;border:1px solid #b3d4c0!important}
#eq243-invite #eq243-invite-channel option{background:#fff!important;color:#244835!important}
#eq243-invite .eq243-dialogfoot{display:none}
