*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;height:100%}body{height:100%;margin:0}img,svg,video{max-width:100%;display:block}button,input,select,textarea{font:inherit;color:inherit}.chat{--paper:#fbfaf6;--surface:#fff;--cream:#f6f2e8;--cream-2:#ece6d6;--line:#e5e3da;--line-2:#cfd6dc;--sky-50:#eff6fc;--sky-100:#deecf8;--sky-200:#c3dcf1;--sky-600:#1f6aa5;--sky-700:#185789;--sky-900:#0f3556;--ink:#14263a;--ink-2:#3f5165;--ink-3:#566778;--ok-bg:#e2f2e8;--ok:#17613a;--warn-bg:#fbf0d3;--warn:#6f4c00;--danger-bg:#fbe5e1;--danger:#93291c;--radius:8px;--gutter:16px;background:var(--paper);color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font:15px/1.45 ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}:where(.chat) :where(h1,h2,h3,h4,p,ul,ol,dl,dd,figure){margin:0;padding:0}:where(.chat) :where(ul,ol){list-style:none}:where(.chat) a{color:inherit}.chat :focus-visible{outline:2px solid var(--sky-600);outline-offset:2px;border-radius:4px}.chat input,.chat select,.chat textarea{background:var(--surface);border:1px solid var(--line-2);border-radius:6px;width:100%;min-height:44px;padding:8px 10px}.chat textarea{resize:vertical}.chat input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--sky-600);flex:none;margin:0}.chat input::placeholder,.chat textarea::placeholder{color:var(--ink-3)}.chat-sr{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.chat-skip{z-index:50;background:var(--sky-900);color:#fff;border-radius:6px;padding:10px 14px;position:absolute;top:-60px;left:12px}.chat-skip:focus{top:10px}.chat-btn{white-space:nowrap;cursor:pointer;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:0 16px;font-weight:550;text-decoration:none;display:inline-flex}.chat-btn[data-compact=true]{min-height:36px;padding:0 12px;font-size:14px}.chat-btn[data-variant=primary]{background:var(--sky-600);color:#fff}.chat-btn[data-variant=primary]:hover{background:var(--sky-700)}.chat-btn[data-variant=secondary]{background:var(--surface);border-color:var(--sky-200);color:var(--sky-700)}.chat-btn[data-variant=secondary]:hover{background:var(--sky-50)}.chat-btn[data-variant=quiet]{color:var(--ink-2);background:0 0}.chat-btn[data-variant=quiet]:hover{background:var(--sky-50)}.chat-btn[data-variant=danger]{background:var(--surface);color:var(--danger);border-color:#e6b8b0}.chat-btn[data-variant=danger]:hover{background:var(--danger-bg)}.chat-btn svg,.chat-icon-btn svg{flex:none}.chat-btn:disabled{opacity:.55;cursor:not-allowed}.chat-btn[aria-busy=true]{cursor:progress}.chat-icon-btn{width:44px;height:44px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;padding:0;display:inline-grid}.chat-icon-btn:hover{background:var(--sky-50);color:var(--sky-700)}.chat-icon-btn[aria-pressed=true]{background:var(--sky-100);color:var(--sky-900)}.chat-link{color:var(--sky-700);font-weight:500}.chat-linkish{color:var(--sky-700);cursor:pointer;background:0 0;border:0;padding:0;font-weight:500;text-decoration:underline}.chat-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chat-muted{color:var(--ink-3);font-size:14px}.chat-error{background:var(--danger-bg);color:var(--danger);border-radius:6px;padding:8px 10px;font-size:14px;font-weight:500}.chat-note{background:var(--cream);color:var(--ink-2);border:1px solid var(--line);border-radius:6px;padding:9px 12px;font-size:14px}.chat-note[data-tone=blue]{background:var(--sky-50);color:var(--sky-900);border-color:var(--sky-100)}.chat-note[data-tone=warn]{background:var(--warn-bg);color:var(--warn);border-color:#f0dfa8}.chat-note[data-tone=danger]{background:var(--danger-bg);color:var(--danger);border-color:var(--danger-bg)}.chat-badge{min-height:22px;color:var(--ink-2);white-space:nowrap;background:#eef0f2;border-radius:5px;align-items:center;gap:4px;padding:1px 8px;font-size:12.5px;font-weight:550;display:inline-flex}.chat-badge[data-tone=blue]{background:var(--sky-100);color:var(--sky-900)}.chat-badge[data-tone=cream]{background:var(--cream-2);color:#5c4e2e}.chat-badge[data-tone=ok]{background:var(--ok-bg);color:var(--ok)}.chat-badge[data-tone=warn]{background:var(--warn-bg);color:var(--warn)}.chat-badge[data-tone=danger]{background:var(--danger-bg);color:var(--danger)}.chat-field{flex-direction:column;gap:3px;min-width:0;display:flex}.chat-field>span{color:var(--ink-2);font-size:13.5px;font-weight:550}.chat-field>small{color:var(--ink-3);font-size:13px}.chat-form{flex-direction:column;align-items:stretch;gap:10px;display:flex}.chat-form>.chat-btn{align-self:flex-start}.chat-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.chat-check{align-items:center;gap:8px;min-height:44px;font-size:14.5px;display:flex}.chat-empty{text-align:center;color:var(--ink-3);padding:26px 16px}.chat-empty-title{color:var(--ink-2);font-weight:600}.chat-brand{white-space:nowrap;letter-spacing:-.01em;color:var(--sky-900);flex:none;font-size:19px;font-weight:650;text-decoration:none;display:inline-block}.chat-brand span{color:var(--sky-600);font-weight:400}.chat-login{min-height:100dvh;padding:24px var(--gutter);background:var(--cream);place-items:center;display:grid}.chat-login-box{background:var(--surface);border:1px solid var(--line);border-radius:10px;width:100%;max-width:480px;padding:28px}.chat-login-box[data-wide=true]{max-width:560px}.chat-login-box .chat-brand{margin:0 0 16px}.chat-login-box h1{color:var(--sky-900);margin-bottom:12px;font-size:21px;font-weight:650}.chat-login-box>.chat-note{margin-bottom:14px}.chat-login-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.chat-login-card{text-align:left;background:var(--surface);border:1px solid var(--line-2);cursor:pointer;border-radius:6px;flex-direction:column;align-items:flex-start;width:100%;min-height:60px;padding:9px 12px;display:flex}.chat-login-card:hover{background:var(--sky-50);border-color:var(--sky-600)}.chat-login-card span{color:var(--ink-3);font-size:13.5px}.chat-login-card:disabled{opacity:.6;cursor:progress}.chat-app{grid-template-rows:auto minmax(0,1fr);height:100dvh;display:grid}.chat-top{min-height:56px;padding:4px var(--gutter);background:var(--surface);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.chat-top-right{align-items:center;gap:4px;min-width:0;display:flex}.chat-who{text-align:right;flex-direction:column;min-width:0;margin-right:8px;line-height:1.25;display:flex}.chat-who strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.chat-who span{color:var(--ink-3);font-size:13px}.chat-top-link{white-space:nowrap;min-height:44px;color:var(--sky-700);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;align-items:center;padding:0 10px;font-size:14.5px;font-weight:500;text-decoration:none;display:inline-flex}.chat-top-link:hover{background:var(--sky-50)}.chat-top-link[aria-current=page]{color:var(--sky-900);font-weight:650}.chat-main{grid-template-columns:minmax(280px,360px) minmax(0,1fr);min-height:0;display:grid}.chat-main[data-info=true]{grid-template-columns:minmax(280px,360px) minmax(0,1fr) 320px}.chat-list-pane{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;min-width:0;min-height:0;display:flex}.chat-list-head{padding:12px var(--gutter) 10px;border-bottom:1px solid var(--line);flex-direction:column;gap:10px;display:flex}.chat-list-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.chat-list-title h1{letter-spacing:-.01em;color:var(--sky-900);font-size:20px;font-weight:650}.chat-search{position:relative}.chat-search svg{color:var(--ink-3);pointer-events:none;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.chat .chat-search input{background:var(--paper);padding-left:34px}.chat-filters{margin:0 calc(var(--gutter) * -1);padding:0 var(--gutter);scrollbar-width:none;gap:6px;display:flex;overflow-x:auto}.chat-filters::-webkit-scrollbar{display:none}.chat-filter{border:1px solid var(--line-2);background:var(--surface);min-height:34px;color:var(--ink-2);cursor:pointer;border-radius:17px;flex:none;align-items:center;gap:6px;padding:0 12px;font-size:14px;font-weight:500;display:inline-flex}.chat-filter:hover{background:var(--sky-50)}.chat-filter[aria-pressed=true]{background:var(--sky-900);border-color:var(--sky-900);color:#fff}.chat-filter-count{background:var(--warn-bg);min-width:20px;color:var(--warn);text-align:center;border-radius:10px;padding:0 5px;font-size:12px;font-weight:650;line-height:20px}.chat-filter[aria-pressed=true] .chat-filter-count{color:var(--sky-900);background:#fff}.chat-list-scroll{overscroll-behavior:contain;flex:1;min-height:0;overflow-y:auto}.chat-list>li+li{border-top:1px solid var(--line)}.chat-item{width:100%;padding:10px var(--gutter);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:40px minmax(0,1fr);gap:10px;display:grid}.chat-item:hover{background:var(--sky-50)}.chat-item[aria-current=true]{background:var(--sky-50);box-shadow:inset 3px 0 0 var(--sky-600)}.chat-avatar{background:var(--cream-2);color:#5c4e2e;border-radius:50%;place-items:center;width:40px;height:40px;font-size:14px;font-weight:650;display:grid}.chat-avatar[data-kind=patient]{background:var(--sky-100);color:var(--sky-900)}.chat-avatar[data-kind=email]{color:var(--ink-2);background:#eef0f2}.chat-avatar[data-kind=telegram]{background:var(--ok-bg);color:var(--ok)}.chat-avatar[data-size=lg]{width:64px;height:64px;font-size:21px}.chat-item-body{flex-direction:column;gap:3px;min-width:0;display:flex}.chat-item-top{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.chat-item-name{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.chat-item[data-unread=true] .chat-item-name{color:var(--sky-900);font-weight:700}.chat-item-time{color:var(--ink-3);flex:none;font-size:13px}.chat-item[data-unread=true] .chat-item-time{color:var(--sky-700);font-weight:600}.chat-item-preview{min-width:0;color:var(--ink-2);align-items:center;gap:8px;font-size:14px;display:flex}.chat-item-preview>span:first-child{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.chat-item[data-unread=true] .chat-item-preview{color:var(--ink)}.chat-unread-dot{background:var(--sky-600);border-radius:50%;flex:none;width:10px;height:10px}.chat-item-tags{flex-wrap:wrap;gap:4px;display:flex}.chat-mark{white-space:nowrap;min-height:20px;color:var(--ink-2);background:#eef0f2;border-radius:10px;align-items:center;gap:4px;padding:0 7px;font-size:12px;font-weight:600;display:inline-flex}.chat-mark:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.chat-mark[data-channel=whatsapp]{background:var(--ok-bg);color:var(--ok)}.chat-mark[data-channel=portal]{background:var(--sky-100);color:var(--sky-900)}.chat-mark[data-channel=email]{background:var(--cream-2);color:#5c4e2e}.chat-mark[data-channel=telegram]{color:#1b4f8a;background:#e3eefb}.chat-list-section{padding:8px var(--gutter) 6px;background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.chat-list-section button{width:100%;min-height:36px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;padding:0;font-size:14px;font-weight:600;display:flex}.chat-list-foot{padding:10px var(--gutter) 16px}.chat-convo{background:var(--paper);flex-direction:column;min-width:0;min-height:0;display:flex}.chat-convo-empty{padding:24px var(--gutter);text-align:center;color:var(--ink-3);flex:1;place-items:center;display:grid}.chat-convo-empty p+p{margin-top:4px}.chat-convo-head{min-height:60px;padding:6px var(--gutter);background:var(--surface);border-bottom:1px solid var(--line);align-items:center;gap:10px;display:flex}.chat-convo-who{flex:1;min-width:0}.chat-convo-who h2{text-overflow:ellipsis;white-space:nowrap;color:var(--sky-900);font-size:17px;font-weight:650;overflow:hidden}.chat-convo-who p{color:var(--ink-3);flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:13.5px;display:flex}.chat-back{display:none}.chat-banner{margin:10px var(--gutter) 0}.chat-thread{overscroll-behavior:contain;min-height:0;padding:14px var(--gutter) 18px;flex:1;overflow-y:auto}.chat-thread ol{flex-direction:column;gap:8px;max-width:860px;margin:0 auto;display:flex}.chat-day{background:var(--cream-2);color:#5c4e2e;border-radius:12px;align-self:center;margin:8px 0 2px;padding:2px 12px;font-size:12.5px;font-weight:600}.chat-msg{border:1px solid var(--line);background:var(--surface);border-radius:12px 12px 12px 3px;flex-direction:column;align-self:flex-start;gap:3px;max-width:min(78%,620px);padding:8px 12px;display:flex}.chat-msg[data-dir=saliente]{background:var(--sky-50);border-color:var(--sky-100);border-radius:12px 12px 3px;align-self:flex-end}.chat-msg[data-failed=true]{border-color:#e6b8b0}.chat-msg-meta{color:var(--ink-3);flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:12.5px;display:flex}.chat-msg-meta strong{color:var(--ink-2);font-weight:650}.chat-msg-text{white-space:pre-wrap;overflow-wrap:anywhere}.chat-msg-note{color:var(--ink-3);font-size:13px}.chat-msg-failed{color:var(--danger);font-size:13px;font-weight:500}.chat-msg-foot{color:var(--ink-3);justify-content:flex-end;gap:8px;font-size:12px;display:flex}.chat-media{flex-direction:column;align-items:flex-start;gap:6px;margin:2px 0;display:flex}.chat-media-img{cursor:zoom-in;background:0 0;border:0;border-radius:8px;padding:0}.chat-media-img img{border:1px solid var(--line);background:var(--cream);border-radius:8px;max-width:min(320px,100%);max-height:320px}.chat-media audio{width:min(320px,100%);height:40px}.chat-media video{background:#000;border-radius:8px;max-width:min(360px,100%);max-height:320px}.chat-transcript{border-left:3px solid var(--sky-200);background:#fff9;border-radius:0 6px 6px 0;padding:6px 10px}.chat-transcript>span{color:var(--ink-3);font-size:12px;font-weight:600;display:block}.chat-file{border:1px solid var(--line-2);background:var(--surface);border-radius:8px;align-items:center;gap:10px;max-width:100%;min-height:48px;padding:6px 12px 6px 8px;text-decoration:none;display:inline-flex}.chat-file:hover{background:var(--sky-50);border-color:var(--sky-200)}.chat-file-icon{background:var(--sky-100);width:34px;height:34px;color:var(--sky-900);border-radius:6px;flex:none;place-items:center;display:grid}.chat-file-text{flex-direction:column;min-width:0;line-height:1.25;display:flex}.chat-file-text strong{text-overflow:ellipsis;white-space:nowrap;color:var(--sky-900);font-weight:600;overflow:hidden}.chat-file-text span{color:var(--ink-3);font-size:12.5px}.chat-file[data-skipped=true]{background:var(--paper);border-style:dashed}.chat-mail{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);flex-direction:column;gap:8px;width:100%;max-width:860px;padding:12px 14px;display:flex}.chat-mail[data-dir=saliente]{background:var(--sky-50);border-color:var(--sky-100)}.chat-mail-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 12px;display:flex}.chat-mail-head strong{font-weight:650}.chat-mail-to{color:var(--ink-3);font-size:13px}.chat-mail-triage{background:var(--paper);border:1px solid var(--line);color:var(--ink-2);border-radius:6px;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 10px;font-size:14px;display:flex}.chat-mail-body{white-space:pre-wrap;overflow-wrap:anywhere}.chat-mail-frame{border:1px solid var(--line);resize:vertical;background:#fff;border-radius:6px;width:100%;height:440px}.chat-mail-actions{flex-wrap:wrap;gap:4px 14px;font-size:14px;display:flex}.chat-files{flex-wrap:wrap;gap:8px;display:flex}.chat-sealed{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);text-align:center;flex-direction:column;align-items:center;gap:10px;max-width:520px;margin:8vh auto 0;padding:24px;display:flex}.chat-sealed svg{color:var(--sky-700)}.chat-sealed h3{color:var(--sky-900);font-size:17px;font-weight:650}.chat-composer{padding:10px var(--gutter) max(12px, env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line)}.chat-composer-inner{flex-direction:column;gap:8px;max-width:860px;margin:0 auto;display:flex}.chat-composer-row{align-items:flex-end;gap:8px;display:flex}.chat-composer-row .chat-btn{flex:none}.chat .chat-composer textarea{resize:none;field-sizing:content;min-height:44px;max-height:40vh;line-height:1.4}.chat-composer-opts{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;display:flex}.chat-composer-channel{min-width:0;color:var(--ink-2);align-items:center;gap:8px;font-size:14px;display:flex}.chat .chat-composer-channel select{width:auto;max-width:100%;min-height:36px;padding:4px 8px;font-size:14px}.chat-composer-hint{color:var(--ink-3);font-size:12.5px}.chat-info{background:var(--surface);border-left:1px solid var(--line);min-height:0;overflow-y:auto}.chat-info-inner{padding:18px var(--gutter) 24px;flex-direction:column;gap:16px;display:flex}.chat-info-id{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.chat-info-id h3{color:var(--sky-900);font-size:18px;font-weight:650}.chat-info-block{border-top:1px solid var(--line);flex-direction:column;gap:8px;padding-top:14px;display:flex}.chat-info-block h4{color:var(--ink-3);font-size:13px;font-weight:650}.chat-dl>div{justify-content:space-between;gap:12px;padding:3px 0;font-size:14.5px;display:flex}.chat-dl dt{color:var(--ink-3);flex:none}.chat-dl dd{text-align:right;min-width:0}.chat-info .chat-btn{white-space:normal;text-align:left;align-self:flex-start;padding-top:6px;padding-bottom:6px}.chat-toggle{justify-content:space-between;align-items:center;gap:12px;display:flex}.chat-switch{background:var(--line-2);cursor:pointer;border:0;border-radius:14px;flex:none;width:46px;height:28px;padding:0;transition:background .15s;position:relative}.chat-switch:after{content:"";background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #00000040}.chat-switch[aria-checked=true]{background:var(--sky-600)}.chat-switch[aria-checked=true]:after{transform:translate(18px)}.chat-switch:disabled{opacity:.55;cursor:progress}.chat-match{border:1px solid var(--line);border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.chat-dialog{background:var(--surface);width:min(520px,100vw - 24px);max-height:calc(100dvh - 32px);color:var(--ink);border:0;border-radius:12px;padding:0;box-shadow:0 24px 60px #0000004d}.chat-dialog[open]{flex-direction:column;display:flex}.chat-dialog::backdrop{background:#0f355666}.chat-dialog>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:8px 8px 8px 18px;display:flex}.chat-dialog h2{color:var(--sky-900);font-size:18px;font-weight:650}.chat-dialog-body{flex-direction:column;gap:12px;padding:16px 18px;display:flex;overflow-y:auto}.chat-dialog-foot{flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:10px 18px 14px;display:flex}.chat-dialog[data-kind=image]{color:#fff;background:#0d1b2a;width:auto;max-width:calc(100vw - 24px)}.chat-dialog[data-kind=image]>header{border-color:#ffffff26}.chat-dialog[data-kind=image] h2,.chat-dialog[data-kind=image] .chat-link,.chat-dialog[data-kind=image] .chat-icon-btn{color:#fff}.chat-dialog[data-kind=image] .chat-icon-btn:hover{background:#ffffff26}.chat-dialog[data-kind=image] img{max-width:100%;max-height:calc(100dvh - 140px);margin:0 auto}.chat-dialog[data-kind=sheet]{border-radius:0;width:min(420px,100vw);height:100dvh;max-height:100dvh;margin:0 0 0 auto}.chat-dialog[data-kind=sheet] .chat-info-inner{padding-top:14px}.chat-page{overflow-y:auto}.chat-page-inner{max-width:880px;padding:24px var(--gutter) 72px;flex-direction:column;gap:16px;margin:0 auto;display:flex}.chat-page-head h1{letter-spacing:-.015em;color:var(--sky-900);font-size:26px;font-weight:650}.chat-page-head p{color:var(--ink-2);margin-top:2px}.chat-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0}.chat-panel-head{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;min-height:46px;padding:8px 16px;display:flex}.chat-panel-head h2{color:var(--sky-900);font-size:15px;font-weight:650}.chat-panel-body{flex-direction:column;gap:12px;padding:14px 16px 16px;display:flex}.chat-status{background:var(--paper);border:1px solid var(--line);color:var(--ink-2);border-radius:6px;padding:6px 10px;font-size:14px}.chat-status[data-ok=true]{background:var(--ok-bg);border-color:var(--ok-bg);color:var(--ok)}.chat-status[data-ok=false]{background:var(--danger-bg);border-color:var(--danger-bg);color:var(--danger)}.chat-status code,.chat-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13.5px}.chat-table{border-collapse:collapse;width:100%;font-size:14.5px}.chat-table th{text-align:left;color:var(--ink-2);background:var(--paper);border-bottom:1px solid var(--line);padding:8px 12px;font-size:13px;font-weight:600}.chat-table td{border-bottom:1px solid var(--line);vertical-align:top;padding:9px 12px}.chat-table tr:last-child td{border-bottom:0}.chat-table-wrap{border:1px solid var(--line);border-radius:6px;overflow-x:auto}.chat-toast-host{z-index:40;pointer-events:none;width:max-content;max-width:calc(100vw - 32px);position:fixed;top:66px;left:50%;transform:translate(-50%)}.chat-toast{background:var(--sky-900);color:#fff;border-radius:8px;padding:10px 14px;font-size:14.5px;font-weight:500;box-shadow:0 8px 24px #00000040}.chat-loading{color:var(--ink-3);flex:1;place-items:center;display:grid}@media (max-width:1180px){.chat-main,.chat-main[data-info=true]{grid-template-columns:minmax(260px,340px) minmax(0,1fr)}}@media (max-width:760px){.chat-main,.chat-main[data-info=true]{grid-template-columns:minmax(0,1fr)}.chat-main[data-open=true] .chat-list-pane,.chat-main[data-open=false] .chat-convo{display:none}.chat-list-pane{border-right:0}.chat-back{margin-left:-10px;display:inline-grid}.chat-convo-head{padding-left:var(--gutter);gap:4px}.chat-msg{max-width:88%}.chat-who span{display:none}.chat-who{flex:0 auto;margin-right:0}.chat-top{gap:8px}.chat-top-link{padding:0 8px}.chat-login-box{padding:22px 18px}.chat-login-list,.chat-form-grid{grid-template-columns:minmax(0,1fr)}.chat input,.chat select,.chat textarea{font-size:16px}.chat-dialog[data-kind=sheet]{border-radius:14px 14px 0 0;width:100vw;max-width:100vw;height:auto;max-height:86dvh;margin:auto 0 0}.chat-composer-hint{display:none}.chat-mail-frame{height:360px}.chat-page-inner{padding-top:18px}}@media (prefers-reduced-motion:reduce){.chat-switch,.chat-switch:after{transition:none}}@media (max-width:1180px){.chat-info{display:none}}
