.workspace>.screen.comms-screen:has(>.comms-chat--client){padding:20px 32px 24px}.comms-chat--client{--chat-accent:#c41e2a;--chat-surface:#f5f4f2;--chat-gutter:clamp(14px, 3.5vw, 32px);border-radius:24px;max-width:960px;box-shadow:0 0 0 1px #1713100b}.comms-chat--client .comms-conversation{background:var(--chat-surface)}.comms-chat--client .comms-chat-header{padding:12px var(--chat-gutter);gap:10px}.comms-chat--client .comms-chat-header :is(h1,h2){letter-spacing:-.02em;overflow-wrap:anywhere;margin:0;font-size:16px;font-weight:650;line-height:1.3}.comms-chat--client .comms-chat-header p{margin-top:2px;font-size:12px}.comms-chat--client .comms-manager-avatar{background:var(--chat-surface)}.comms-client-back{background:var(--chat-surface);color:#34302e;cursor:pointer;border:0;border-radius:14px;flex:none;place-items:center;width:44px;height:44px;padding:0;display:grid}.comms-client-back:focus-visible{outline:2px solid #a81822}.comms-chat--client .comms-contact-link{background:var(--chat-surface);border-radius:14px;justify-content:center;align-items:center;gap:7px;min-width:44px;min-height:44px;padding-inline:12px;display:inline-flex}.comms-chat--client .comms-messages{padding:16px var(--chat-gutter);overflow-anchor:none;gap:9px}.comms-chat--client .comms-empty{padding:16px 10px}.comms-chat--client .comms-empty h2{margin:4px 0 0}.comms-chat--client .comms-empty p{margin-top:6px}.comms-day{color:#5d5854;align-self:center;margin-block:9px 2px;font-size:12px;font-weight:550}.comms-day:first-child{margin-top:0}.comms-chat--client .comms-message{border-radius:16px 16px 16px 5px;width:fit-content;min-width:0;max-width:min(84%,560px);padding:9px 12px 6px}.comms-chat--client .comms-message.is-own{background:#faeae9;border-radius:16px 16px 5px}.comms-chat--client .comms-message.is-continuation{margin-top:-5px}.comms-chat--client .comms-message-author{color:#9e1821;margin-bottom:3px;font-size:11px;font-weight:650}.comms-chat--client .comms-message p{line-height:1.45}.comms-chat--client .comms-message time{color:#635b56;font-variant-numeric:tabular-nums;margin-top:3px}.comms-chat--client .comms-file{background:#1b151008;border-radius:10px;padding:8px 9px}.comms-chat--client .comms-file+.comms-file,.comms-chat--client .comms-message p+.comms-file{margin-top:5px}.comms-chat--client .comms-file small{color:#635b56;margin-top:2px}.comms-chat--client .comms-file--image{background:0 0;padding:0}.comms-chat--client .comms-composer{padding:10px var(--chat-gutter)}.comms-compose-row{grid-template-columns:44px minmax(0,1fr) 44px;align-items:end;gap:8px;display:grid}.comms-compose-row>:is(.comms-attach,.comms-send){border-radius:50%;width:44px;height:44px;margin:0;padding:0}.comms-compose-row>.comms-attach{background:var(--chat-surface);color:#34302e}.comms-compose-row>.comms-attach[aria-expanded=true]{color:#9e1821;background:#faeae9}.comms-compose-row>.comms-send{background:var(--chat-accent)}.comms-compose-row>.comms-send:disabled{color:#655e59;opacity:1;background:#e9e6e3}.comms-compose-row>button:focus-visible{outline-offset:2px;outline:2px solid #a81822}.comms-draft{--draft-min:44px;--draft-padding:16px 13px 6px;--draft-line:22px;grid-template-columns:minmax(0,1fr);min-width:0;display:grid;position:relative}.comms-draft:after,.comms-chat--client .comms-composer .comms-draft>textarea{box-sizing:border-box;min-width:0;min-height:var(--draft-min);max-height:clamp(44px,22dvh,132px);padding:var(--draft-padding);font:inherit;line-height:var(--draft-line);overflow-wrap:anywhere;grid-area:1/1;font-size:16px}.comms-draft:after{content:attr(data-draft) "​";visibility:hidden;pointer-events:none;white-space:pre-wrap;overflow:hidden}.comms-chat--client .comms-composer .comms-draft>textarea{resize:none;background:var(--chat-surface);width:100%;height:100%;caret-color:var(--chat-accent);border-radius:15px;display:block;overflow-y:auto}.comms-chat--client .comms-draft>textarea:focus{background:#eeecea}.comms-draft>span{color:#5d5854;pointer-events:none;transform-origin:0 0;font-size:15px;line-height:18px;transition:transform .15s ease-out;position:absolute;top:13px;left:13px}.comms-draft:focus-within>span,.comms-draft>textarea:not(:placeholder-shown)+span{transform:translateY(-10px)scale(.73)}.comms-draft:focus-within>span{color:#9e1821}.comms-chat--client .comms-pending{scrollbar-width:thin;flex-wrap:nowrap;margin-bottom:8px;overflow-x:auto}.comms-chat--client .comms-pending>span{flex:none;max-width:min(90%,280px);padding-block:2px}.comms-chat--client .comms-pending button{min-width:40px;min-height:40px}.comms-chat--client .comms-doc-picker{left:var(--chat-gutter);width:min(360px, calc(100% - 2 * var(--chat-gutter)));max-height:min(250px, calc(var(--visible-height,100dvh) * .35));overscroll-behavior-y:contain;outline:0;padding:8px;bottom:calc(100% + 4px);right:auto;overflow-x:hidden}.comms-chat--client .comms-doc-picker header{padding-left:8px}.comms-chat--client .comms-doc-picker header button{min-width:44px;min-height:44px}.comms-chat--client .comms-doc-picker>button{min-height:44px;margin-top:3px}.comms-chat--client .comms-doc-picker>p{margin:6px 8px 10px}.comms-chat--client .comms-attach-options>button{background:0 0;margin:0}.comms-composer>.comms-compose-status,.comms-composer>.comms-send-error{overflow-wrap:anywhere;margin:6px 0 0;font-size:12px}.comms-composer>.comms-send-error{color:#a81822}.comms-send-error button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:4px 6px;text-decoration:underline}@media (hover:hover){.comms-compose-row>.comms-send:hover:not(:disabled){background:#a81822}.comms-chat--client :is(.comms-contact-link,.comms-doc-picker>button):hover{background:#eeecea}}.comms-window{display:none}@media (width>=1024px){.comms-window{z-index:85;border-radius:20px;outline:0;width:416px;height:min(500px,100dvh - 48px);display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 0 0 1px #18120f14,0 12px 48px #18120f25}.comms-window>.comms-chat--client{--chat-gutter:12px;border-radius:inherit;box-shadow:none}.comms-window-close{background:var(--chat-surface);color:#34302e;border-radius:10px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}.comms-window-close:hover{background:#eeecea}.comms-window .comms-contact-link{padding-inline:0}.comms-window .comms-contact-link span{display:none}.comms-window .comms-empty{padding:12px 16px}.comms-window .comms-empty .chat-icon{width:58px;height:58px}.comms-chat--client .comms-chat-header{padding-block:8px}.comms-chat--client .comms-chat-header :is(h1,h2){font-size:15px}.comms-chat--client .comms-manager-avatar{border-radius:12px;width:36px;height:36px}.comms-chat--client .comms-manager-avatar svg{width:30px;height:30px}.comms-chat--client .comms-contact-link{border-radius:10px;min-width:36px;min-height:36px}.comms-chat--client .comms-contact-link svg{width:16px;height:16px}.comms-chat--client .comms-messages{gap:8px;padding-block:12px}.comms-chat--client .comms-message{max-width:min(82%,460px);padding:7px 10px}.comms-chat--client .comms-message:not(:has(.comms-file)){grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:8px;display:grid}.comms-chat--client .comms-message-author{grid-column:1/-1}.comms-chat--client .comms-message:not(:has(.comms-file)) time{white-space:nowrap;margin:0 0 1px}.comms-chat--client .comms-message.is-continuation{margin-top:-4px}.comms-chat--client .comms-file--image>span{grid-template-rows:1fr 1fr;grid-template-columns:88px minmax(0,1fr);align-items:start;gap:3px 10px;display:grid}.comms-chat--client .comms-file--image .comms-file-image{object-fit:contain;border-radius:8px;grid-row:span 2;width:88px;height:66px;margin:0}.comms-chat--client .comms-file--image b{align-self:end}.comms-chat--client .comms-file--image small{margin-top:0}.comms-chat--client .comms-composer{padding-block:8px}.comms-chat--client .comms-compose-row{grid-template-columns:40px minmax(0,1fr) 40px}.comms-chat--client .comms-compose-row>:is(.comms-attach,.comms-send){width:40px;height:40px}.comms-chat--client .comms-compose-row>button svg{width:20px;height:20px}.comms-chat--client .comms-draft{--draft-min:40px;--draft-padding:15px 13px 5px;--draft-line:20px}.comms-chat--client .comms-draft>span{top:11px}.comms-chat--client .comms-draft:focus-within>span,.comms-chat--client .comms-draft>textarea:not(:placeholder-shown)+span{transform:translateY(-7px)scale(.73)}}.comms-window[hidden]{display:none}@media (width<1024px){:is(html:has(.workspace>.comms-screen),body:has(.workspace>.comms-screen)){overscroll-behavior:none;overflow:hidden}body:has(.workspace>.comms-screen) :is(.stage,.app,.workspace){height:100dvh;min-height:0}.workspace:has(>.comms-screen)>.tabbar{display:none}.workspace>.screen.comms-screen:has(>.comms-chat--client){z-index:2;inset:var(--visible-top,0px) 0 auto;height:var(--visible-height,100dvh);max-height:none;padding:max(6px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));overscroll-behavior:none;min-height:0;position:fixed;overflow:hidden}.comms-chat--client{--chat-gutter:12px;border-radius:18px}}@media (width<520px){.comms-chat--client .comms-chat-header{padding-block:8px}.comms-chat--client .comms-chat-header h1{font-size:15px}.comms-chat--client .comms-contact-link{padding-inline:0}.comms-chat--client .comms-contact-link>span{display:none}.comms-chat--client .comms-messages{padding-block:12px}.comms-chat--client .comms-message{max-width:89%}.comms-compose-row{gap:6px}}@media (prefers-reduced-motion:reduce){.comms-draft>span{transition:none}}
