.inbox-sent-photo[data-kind=sticker]{border-radius:0}.inbox-sent-photo[data-kind=sticker] img{object-fit:contain;max-width:120px;max-height:120px}.inbox-received-video{background:#000;border-radius:10px;width:min(280px,100%);max-height:320px;display:block}.inbox-bubble-text a{color:inherit;text-underline-offset:2px;word-break:break-all;text-decoration:underline}.inbox-sent-photo{border-radius:10px;display:block;overflow:hidden}.inbox-sent-photo img{object-fit:cover;width:auto;max-width:min(240px,100%);height:auto;max-height:240px;display:block}.inbox-sent-file{min-width:180px;color:inherit;background:#ffffff1f;border-radius:10px;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;padding:8px 10px;text-decoration:none;display:grid}.inbox-sent-file svg{grid-row:span 2}.inbox-sent-file-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.inbox-sent-file-size{opacity:.8;font-size:12px}.patient-recent-messages li:has(.inbox-sent-photo,.inbox-sent-file,.inbox-received-video,.inbox-voice,.inbox-video-tile){gap:6px;display:grid}.inbox-quote{opacity:.85;background:#0000000d;border-left:3px solid;border-radius:6px;gap:2px;margin:0 0 6px;padding:6px 10px;font-size:13px;display:grid}.inbox-quote-who{font-weight:600}.inbox-quote-text{-webkit-line-clamp:3;white-space:pre-line;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.inbox-quote[data-missing]{font-style:italic}.inbox-bubble-wrap:has(>.inbox-quote-button){position:relative}.panel .inbox-quote-button{background:var(--surface);width:30px;height:30px;min-height:0;color:var(--muted);opacity:0;border:0;border-radius:50%;place-items:center;padding:0;transition:opacity .12s,color .12s;display:grid;position:absolute;top:50%;left:calc(100% + 8px);transform:translateY(-50%);box-shadow:0 1px 2px #1d2b2d29}.panel .panel-main button.inbox-quote-button{min-height:0}.inbox-quote-button:after{content:"";border-radius:50%;position:absolute;inset:-7px}.panel .inbox-message[data-dir=out] .inbox-quote-button{left:auto;right:calc(100% + 8px)}.panel .inbox-quote-button:hover{background:var(--surface);color:var(--ink)}.panel .inbox-quote-button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.inbox-bubble-wrap:hover>.inbox-quote-button,.inbox-bubble-wrap:focus-within>.inbox-quote-button{opacity:1}@media (hover:none),(any-pointer:coarse){.panel .inbox-quote-button{opacity:.75}}@media (forced-colors:active){.panel .inbox-quote-button{opacity:1;border:1px solid canvastext}}.inbox-reply-quote{margin:0;padding-right:40px;position:relative}.panel .inbox-reply-quote-remove{width:28px;height:28px;min-height:0;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;font-size:18px;line-height:1;display:grid;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.panel .inbox-reply-quote-remove:hover{background:color-mix(in srgb, var(--ink) 8%, transparent)}.panel .panel-main button.inbox-reply-quote-remove{min-height:0}.inbox-reactions{background:var(--surface);border-radius:999px;gap:2px;margin-top:-6px;padding:1px 6px;font-size:14px;line-height:1.4;display:inline-flex;box-shadow:0 1px 2px #00000026}.inbox-message[data-dir=out] .inbox-reactions{align-self:flex-end}
.inbox-voice{align-items:center;gap:10px;min-width:min(300px,100%);padding:4px 2px;display:flex}.inbox-voice audio{display:none}.inbox-voice-face{background:var(--green-soft);width:38px;height:38px;color:var(--green);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:600;display:grid}.panel .inbox-voice-play{width:32px;height:32px;min-height:0;color:var(--chat-wa-meta);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.panel .panel-main button.inbox-voice-play{min-height:0}.panel .inbox-voice-play:hover{background:color-mix(in srgb, var(--chat-wa-meta) 14%, transparent)}.inbox-voice-main{flex:1;gap:1px;min-width:0;display:grid}.inbox-voice-wave{cursor:pointer;justify-content:space-between;align-items:center;gap:2px;height:26px;display:flex}.inbox-voice-wave:focus-visible{outline:2px solid var(--chat-wa-meta);outline-offset:2px;border-radius:4px}.inbox-voice-wave i{background:var(--chat-wa-meta);opacity:.4;border-radius:2px;flex:1 1 0;min-width:2px;max-width:3px}.inbox-voice-wave i[data-on]{background:var(--chat-wa-read);opacity:1}.inbox-voice-main small{color:var(--chat-wa-meta);white-space:nowrap;font-size:11px}.panel .inbox-voice-speed{background:var(--chat-wa-meta);min-height:0;color:var(--chat-wa-in);cursor:pointer;border:0;border-radius:999px;flex:none;padding:3px 8px;font-size:12px;font-weight:700;line-height:1.3}.panel .panel-main button.inbox-voice-speed{min-height:0}.inbox-voice-speed:focus-visible,.inbox-video-tile:focus-visible{outline:2px solid var(--chat-wa-read);outline-offset:2px}.panel .inbox-video-tile{cursor:pointer;width:240px;max-width:100%;height:300px;min-height:0;color:var(--on-media);background:linear-gradient(180deg, var(--video-top) 0%, var(--video-bottom) 100%);border:0;border-radius:8px;padding:0;display:block;position:relative;overflow:hidden}.panel .panel-main button.inbox-video-tile{min-height:0}.inbox-video-big{background:#00000080;border-radius:50%;place-items:center;width:54px;height:54px;transition:background .12s;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.inbox-video-tile:hover .inbox-video-big{background:#000000b3}.inbox-video-foot{text-align:left;background:linear-gradient(#0000,#00000080);padding:18px 10px 8px;font-size:12px;font-weight:600;position:absolute;inset:auto 0 0}.inbox-video-live{width:min(280px,100%);position:relative}.inbox-video-live .inbox-received-video{width:100%}.panel .inbox-video-speed{background:var(--media-scrim-strong);color:var(--on-media);position:absolute;top:8px;right:8px}.photo-viewer{z-index:1000;background:var(--viewer-bg);color:var(--on-media);grid-template-rows:auto minmax(0,1fr) auto auto;font-family:inherit;display:grid;position:fixed;inset:0}.photo-viewer-top{justify-content:space-between;align-items:center;gap:16px;padding:14px 24px;font-size:14px;display:flex}.photo-viewer-line{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.photo-viewer-tools{align-items:center;gap:6px;display:flex}.photo-viewer-tool{width:40px;height:40px;color:var(--on-media);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;text-decoration:none;display:grid}.photo-viewer-tool:hover:not(:disabled){background:#ffffff24}.photo-viewer-tool:disabled{opacity:.35;cursor:default}.photo-viewer-stage{justify-content:center;align-items:stretch;gap:16px;min-height:0;padding:0 16px;display:flex}.photo-viewer-scroll{flex:1;min-width:0;display:flex;overflow:auto}.photo-viewer-scroll img{object-fit:contain;opacity:.4;border-radius:4px;max-width:100%;max-height:100%;margin:auto;transition:opacity .15s;display:block}.photo-viewer-scroll img[data-loaded]{opacity:1}.photo-viewer-scroll[data-zoomed] img{max-width:none;height:auto;max-height:none}.photo-viewer-arrow{background:var(--media-soft);width:46px;height:46px;color:var(--on-media);cursor:pointer;border:0;border-radius:50%;flex:none;align-self:center;place-items:center;padding:0;font-size:28px;line-height:1;display:grid}.photo-viewer-arrow:hover:not(:disabled){background:#ffffff3d}.photo-viewer-arrow:disabled{opacity:.3;cursor:default}.photo-viewer-caption{text-align:center;white-space:pre-line;min-height:1.4em;margin:10px 24px;font-size:14px}.photo-viewer-strip{justify-content:safe center;gap:8px;padding:6px 16px 20px;display:flex;overflow-x:auto}.photo-viewer-strip button{background:var(--viewer-strip);opacity:.55;cursor:pointer;border:0;border-radius:6px;flex:none;width:56px;height:56px;padding:0;overflow:hidden}.photo-viewer-strip button[data-on]{opacity:1;outline:2px solid var(--on-media)}.photo-viewer-strip img{object-fit:cover;width:100%;height:100%;display:block}.photo-viewer button:focus-visible,.photo-viewer a:focus-visible{outline:2px solid var(--on-media);outline-offset:2px}@media (max-width:640px){.photo-viewer-arrow{width:38px;height:38px}.photo-viewer-stage{gap:6px;padding:0 6px}.photo-viewer-top{padding:10px 12px}}.panel .inbox-voice-speed:hover{background:color-mix(in srgb, var(--chat-wa-meta) 82%, black);border-color:#0000}.panel .inbox-video-tile:hover{background:linear-gradient(180deg, var(--video-top) 0%, var(--video-bottom) 100%);border-color:#0000}.panel .inbox-video-speed:hover{background:#000c}
