/* La Colmena. Appearance and full-height shell apply only while this view is open. */
body.team-chat-open{overflow:hidden}
body.team-chat-open .main{height:100dvh;min-height:0;padding-bottom:0!important}
body.team-chat-open .topbar,body.team-chat-open .bottom-nav,body.team-chat-open .footer-credit{display:none!important}
body.team-chat-open .content{padding:0!important;max-width:none}
body.team-chat-open #view-team-chat{
  --cs-chat-safe-top:env(safe-area-inset-top,0px);
  --cs-chat-safe-right:env(safe-area-inset-right,0px);
  --cs-chat-safe-left:env(safe-area-inset-left,0px);
  margin:0;
  padding:var(--cs-chat-safe-top) var(--cs-chat-safe-right) 0 var(--cs-chat-safe-left);
  background:var(--cs-chat-light-surface);
}
body.team-chat-open #view-team-chat:has(>#teamChatBody[data-theme="dark"]){background:var(--cs-chat-dark-surface)}
body.team-chat-open #teamChatBody{height:var(--cs-chat-available-height,calc(100dvh - var(--cs-chat-safe-top)))}

#view-team-chat{--cs-chat-light-surface:#fffef9;--cs-chat-dark-surface:#101a14;min-width:0;min-height:0}
#teamChatBody{--chat-ink:#243c30;--chat-muted:#647366;--chat-line:#dde4d8;--chat-green:#214b35;--chat-panel:#fffef8;--chat-surface:var(--cs-chat-light-surface);--chat-wall:#f4f1e8;--chat-chip:#f0f3ec;--chat-active:#eaf0e3;--chat-bubble:#fff;--chat-own:#e1edcf;--chat-quote:#edf0e5;--chat-meta:#596d57;--chat-accent:#2b7447;--chat-input:#fff;--chat-tint:#0000;position:relative;display:flex;flex-direction:column;height:var(--cs-chat-available-height,100dvh);min-height:180px;min-width:0;color:var(--chat-ink);background:var(--chat-wall);border:0;border-radius:0;overflow:hidden;font-family:Inter,system-ui,-apple-system,sans-serif}
#teamChatBody[data-theme="dark"]{--chat-ink:#e7f0e8;--chat-muted:#a5b6a9;--chat-line:#2b3d31;--chat-green:#b9d8be;--chat-panel:#142019;--chat-surface:var(--cs-chat-dark-surface);--chat-wall:#0c1510;--chat-chip:#1f2e24;--chat-active:#263d2b;--chat-bubble:#233128;--chat-own:#214b37;--chat-quote:#18281e;--chat-meta:#a4b6a6;--chat-accent:#8acb97;--chat-input:#243229;--chat-tint:#0c151078}

#teamChatBody *{box-sizing:border-box}
#teamChatBody [hidden],.cs-chat-settings [hidden]{display:none!important}
#teamChatBody button{font-family:inherit;cursor:pointer;touch-action:manipulation}
#teamChatBody button:disabled{opacity:.5;cursor:default}
#teamChatBody button:focus-visible,#teamChatBody input:focus-visible,#teamChatBody textarea:focus-visible{outline:2px solid #9e7b35;outline-offset:2px}
#teamChatBody svg,.cs-chat-attach-options svg,.cs-chat-gallery svg,.cs-chat-archive-list svg{width:21px;height:21px;flex:none}
.cs-chat-header{display:flex;align-items:center;gap:14px;padding:10px 18px;background:var(--chat-surface);color:var(--chat-ink);flex:none;min-height:60px}
.cs-chat-brand{width:130px;max-height:49px;object-fit:contain;flex:none}
.cs-chat-header-copy{min-width:0;flex:1}
.cs-chat-header h1{font-size:1.4rem;line-height:1.3;font-weight:650;letter-spacing:-.4px;margin:0}
.cs-chat-status{position:absolute;z-index:8;top:65px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);padding:6px 12px;margin:0;border-radius:14px;background:var(--chat-panel);color:var(--chat-muted);font-size:.72rem;line-height:1.4;box-shadow:0 2px 8px #0002;text-align:center}
.cs-chat-status[data-error="true"]{color:#bb4b34;white-space:normal;overflow-wrap:anywhere}
.cs-chat-header-actions{display:flex;gap:8px;align-items:center;flex:none}
.cs-chat-header-actions>button{display:grid;place-items:center;border:0;border-radius:50%;width:42px;min-height:44px;padding:9px;background:transparent;color:var(--chat-ink)}
.cs-chat-header-actions .cs-chat-my-photo{padding:0;border:0;background:transparent}
.cs-chat-mobile-portal{display:none}
#teamChatBody .cs-chat-portal-return{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto;min-height:42px;padding:5px 9px;border:1px solid var(--chat-line);border-radius:9px;background:var(--chat-chip);color:var(--chat-ink);font-size:.76rem;font-weight:650;white-space:nowrap}
#teamChatBody .cs-chat-portal-return svg{width:15px;height:15px}
#teamChatBody[data-section="calls"] .cs-chat-mobile-portal,#teamChatBody[data-short-viewport="true"] .cs-chat-mobile-portal{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:none;padding:3px 9px;background:var(--chat-surface)}
@media(max-width:820px){
 .cs-chat-mobile-portal:has(~.cs-chat-layout[data-mobile-thread="true"]){display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:none;padding:3px 9px;background:var(--chat-surface)}
 #teamChatBody .cs-chat-portal-return{min-height:38px}
 .cs-chat-header-actions [data-chat-action="camera"]{display:none}
}
@media(max-width:390px){
 #teamChatBody .cs-chat-header h1{font-size:1.05rem;overflow:hidden;text-overflow:ellipsis}
}
.cs-chat-layout{display:grid;grid-template-columns:minmax(240px,30%) minmax(0,1fr);flex:1;min-height:0;min-width:0}
.cs-chat-rooms{display:flex;flex-direction:column;background:var(--chat-surface);border-right:1px solid var(--chat-line);min-height:0;min-width:0;overflow-y:auto;overscroll-behavior:contain}
.cs-chat-rooms-head{display:flex;justify-content:space-between;align-items:center;padding:17px 18px 12px}
.cs-chat-rooms-head b{font-size:1.35rem;letter-spacing:-.5px}
.cs-chat-rooms-head>span{font-size:.75rem;color:var(--chat-muted)}
.cs-chat-search{display:flex;align-items:center;gap:8px;margin:0 14px;background:var(--chat-chip);border-radius:10px;padding:10px 11px;color:var(--chat-muted)}
.cs-chat-search svg{width:17px!important;height:17px!important}
.cs-chat-search input{width:100%;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;padding:2px!important;color:var(--chat-ink)!important;font-size:.78rem;border-radius:3px!important;min-height:22px!important}
.cs-chat-search input::placeholder{color:var(--chat-muted)}
.cs-chat-filters{display:flex;gap:6px;flex-wrap:nowrap;padding:12px 14px;overflow-x:auto;flex:none;scrollbar-width:none}
.cs-chat-filters button{border:0;border-radius:18px;background:var(--chat-chip);color:var(--chat-muted);padding:6px 11px;min-height:33px;font-size:.73rem;white-space:nowrap}
.cs-chat-filters button[aria-pressed="true"]{background:#e1ecd8;color:#254d31}
#teamChatRooms{padding:0 7px 14px}
.cs-chat-room{display:flex;align-items:center;gap:11px;width:100%;min-height:78px;border:0;border-radius:12px;padding:12px 10px;color:var(--chat-ink);background:transparent;text-align:left}
.cs-chat-room:hover{background:var(--chat-chip)}
.cs-chat-room.is-active{background:var(--chat-active)}
.cs-chat-avatar{display:grid;place-items:center;width:41px;height:41px;border-radius:50%;flex:none;background:#dfe7d7;color:#295239;font-size:.88rem;font-weight:600;overflow:hidden}
.cs-chat-avatar.is-group{background:#607265;color:#fffdf0}
.cs-chat-avatar img{width:100%;height:100%;object-fit:cover;font-size:9px}
.cs-chat-avatar svg{width:22px!important;height:22px!important}
.cs-chat-room-copy{min-width:0;flex:1}
.cs-chat-room-copy b{display:block;font-weight:600;font-size:.86rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cs-chat-room-copy small{display:block;color:var(--chat-muted);font-size:.72rem;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cs-chat-room-meta{display:flex;flex-direction:column;align-items:flex-end;gap:7px;font-size:.64rem;color:var(--chat-muted);flex:none;max-width:49px}
.cs-chat-badge,.cs-chat-nav-badge{display:inline-grid;place-items:center;background:#2a6441;color:var(--chat-input);border-radius:99px;min-width:19px;height:19px;font-size:.68rem;padding:0 5px}
.cs-chat-nav-badge{margin-left:auto;min-width:18px;height:18px;background:#b7d7a3;color:#193921}
.bottom-nav .cs-chat-nav-badge{position:absolute;top:-4px;right:5px}
.bottom-nav button:has(.cs-chat-nav-badge){position:relative}
.cs-chat-new{display:flex;align-items:center;justify-content:center;gap:7px;margin:6px 14px 16px;margin-top:auto;padding:11px;border:1px solid var(--chat-line);border-radius:10px;background:#f9faf5;color:var(--chat-green);font-size:.8rem;min-height:44px}
.cs-chat-thread{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:var(--chat-wall)}
.cs-chat-thread-head{display:flex;align-items:center;gap:10px;background:var(--chat-panel);padding:12px 17px;border-bottom:1px solid var(--chat-line);min-height:68px;flex:none}
.cs-chat-back{display:none;border:0;background:transparent;color:var(--chat-ink);width:35px;min-height:42px;padding:5px}
.cs-chat-thread-title{flex:1;min-width:0}
.cs-chat-thread-title b{display:block;font-size:.92rem;font-weight:650;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.cs-chat-thread-title span{display:block;font-size:.7rem;color:var(--chat-muted);margin-top:3px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.cs-chat-thread-actions{display:flex;align-items:center;flex:none}
.cs-chat-thread-actions button{display:grid;place-items:center;width:35px;min-height:42px;border:0;background:transparent;color:var(--chat-ink);padding:5px;border-radius:50%}
.cs-chat-weekly{display:flex;align-items:center;gap:10px;flex:none;width:100%;min-height:41px;border:0;border-bottom:1px solid #ddd8bc;background:#eee8d1;color:#47583e;padding:9px 20px;text-align:left;font-size:.8rem}
.cs-chat-weekly>span:last-child{margin-left:auto;font-size:1.2rem;color:#9b854d}
.cs-chat-weekly svg{width:18px!important;height:18px!important}
.cs-chat-pinned{background:var(--chat-quote);flex:none;padding:6px 14px;border-bottom:1px solid var(--chat-line);max-height:80px;overflow:auto}
.cs-chat-pinned button{display:block;width:100%;border:0;background:transparent;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.73rem;color:var(--chat-muted);padding:4px}
.cs-chat-messages{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;gap:14px;padding:18px 22px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:var(--chat-wall) url("/assets/team-chat-art-v309/jardin-original.svg") repeat 0 0/540px 720px;scrollbar-color:#b9c3ad transparent}
.cs-chat-day{align-self:center;padding:4px 12px;color:var(--chat-muted);background:var(--chat-chip);border-radius:8px;font-size:.7rem;margin:0 0 3px;box-shadow:0 1px 2px #253d1b0c}
.cs-chat-message{position:relative;display:flex;align-items:flex-start;gap:7px;max-width:min(94%,760px);width:fit-content;align-self:flex-start;min-width:0;flex:none;touch-action:pan-y pinch-zoom}
.cs-chat-message>.cs-chat-avatar{width:29px;height:29px;font-size:.65rem;margin-top:2px}
.cs-chat-message.is-own{align-self:flex-end}
.cs-chat-message.is-own>.cs-chat-avatar{display:none}
.cs-chat-bubble{--chat-meta-space:66px;position:relative;min-width:84px;min-height:0;max-width:100%;padding:6px 9px 5px;border-radius:0 11px 11px;background:var(--chat-bubble);box-shadow:0 1px 2px #0002;color:var(--chat-ink);overflow-wrap:anywhere;transition:transform .16s ease-out}
.cs-chat-message.is-own .cs-chat-bubble{--chat-meta-space:86px;background:var(--chat-own);border-radius:11px 0 11px 11px}
.cs-chat-message-head{display:flex;align-items:center;gap:8px;margin-bottom:4px;font-size:.74rem;color:var(--chat-accent)}
.cs-chat-message-head>b{font-weight:650}
.cs-chat-important{font-size:.62rem;color:#8a6d2d;border-radius:5px;background:#f3e8c5;padding:1px 5px}
.cs-chat-message-body{white-space:pre-wrap;font-size:.98rem;line-height:1.36;overflow-wrap:anywhere}
.cs-chat-message-foot{display:flex;justify-content:flex-end;align-items:center;gap:4px;white-space:nowrap;color:var(--chat-meta);font-size:.64rem;line-height:1.1;margin-top:2px;min-height:14px}
.cs-chat-message-foot time{font-variant-numeric:tabular-nums}
.cs-chat-read-state{display:inline-flex;align-items:center;color:var(--chat-meta);line-height:1}
.cs-chat-read-state svg{width:17px!important;height:15px!important}
.cs-chat-read-state.is-read{color:#168cc6}
#teamChatBody[data-theme="dark"] .cs-chat-read-state.is-read{color:#5cc6f2}
.cs-chat-message-menu{position:absolute;top:0;right:-28px;display:grid;place-items:center;width:26px;height:32px;border:0;border-radius:16px;padding:5px;background:#f4f1e8bb;color:#7a856e;opacity:0}
.cs-chat-message.is-own .cs-chat-message-menu{right:auto;left:-28px}
.cs-chat-message:hover .cs-chat-message-menu,.cs-chat-message:focus-within .cs-chat-message-menu{opacity:1}
#teamChatBody .cs-chat-message-menu svg{width:17px;height:17px}
.cs-chat-reply-quote{display:grid;gap:3px;width:100%;min-width:0;max-width:100%;padding:6px 9px;margin:0 0 4px;border:0;border-left:4px solid var(--chat-accent);background:var(--chat-quote);border-radius:5px;font-size:.78rem;color:var(--chat-muted);text-align:left}
.cs-chat-reply-quote b{color:var(--chat-accent);font-weight:600}
.cs-chat-media-card{max-width:100%;margin:5px 0}
.cs-chat-audio-card{display:flex;align-items:center;gap:11px;width:265px;max-width:100%;padding:9px 2px}
.cs-chat-audio-play{display:grid;place-items:center;flex:none;width:37px;min-height:40px;background:#e9efdf;color:#3e6748;border:0;border-radius:50%;padding:9px}
.cs-chat-audio-copy{flex:1;min-width:0}
.cs-chat-wave{display:flex;gap:3px;align-items:center;height:28px;color:#84977c}
.cs-chat-wave i{display:block;width:3px;min-width:2px;border-radius:2px;background:currentColor;opacity:.75}
.cs-chat-audio-copy small{display:block;font-size:.65rem;color:var(--chat-muted);margin-top:3px}
.cs-chat-audio-card audio{width:265px;max-width:100%;height:45px}
.cs-chat-photo-button{display:block;position:relative;padding:0;border:0;border-radius:9px;overflow:hidden;background:var(--chat-quote);width:256px;max-width:100%;min-height:75px}
.cs-chat-photo-button img{display:block;width:100%;max-height:260px;object-fit:cover;min-height:75px;color:#6c795f;font-size:.75rem}
.cs-chat-photo-button>span{position:absolute;left:7px;bottom:6px;display:flex;align-items:center;gap:5px;color:var(--chat-input);background:#234831b8;border-radius:5px;padding:3px 6px;font-size:.65rem}
.cs-chat-photo-button>span svg{width:13px!important;height:13px!important}
.cs-chat-attachment{display:flex;align-items:center;gap:12px;width:250px;max-width:100%;padding:10px 7px;border:0;border-radius:8px;background:var(--chat-quote);color:var(--chat-ink);text-align:left;min-height:65px}
.cs-chat-attachment>svg{width:29px!important;height:29px!important}
.cs-chat-attachment>span{min-width:0;flex:1}
.cs-chat-attachment b,.cs-chat-attachment small{display:block;overflow-wrap:anywhere}
.cs-chat-attachment b{font-size:.83rem;font-weight:550}
.cs-chat-attachment small{font-size:.65rem;color:var(--chat-muted);margin-top:5px}
.cs-chat-composer{background:var(--chat-wall);border-top:0;padding:6px 8px max(6px,env(safe-area-inset-bottom));flex:none;min-height:0;max-height:55%;overflow:auto}
.cs-chat-write-row{display:flex;align-items:flex-end;gap:6px}
.cs-chat-icon{display:grid;place-items:center;flex:none;width:36px;min-height:42px;border:0;background:transparent;color:var(--chat-muted);border-radius:50%;padding:6px}
#teamChatBody .cs-chat-write-box{display:flex;align-items:center;gap:4px;min-width:0;flex:1;padding:3px 4px;background:var(--chat-input);border:1px solid var(--chat-line);border-radius:25px}
.cs-chat-write-box .cs-chat-icon{width:31px;min-height:36px;padding:5px}
#teamChatBody .cs-chat-write-box textarea{width:100%;flex:1;min-width:0;padding:7px 3px;resize:none;border:0!important;border-radius:4px;background:transparent!important;color:var(--chat-ink)!important;box-shadow:none!important;font:inherit;font-size:16px;line-height:1.3;min-height:35px;max-height:110px}
/* Focus follows the rounded white composer, not a rectangle inside it. */
#teamChatBody .cs-chat-write-box:focus-within{border-color:#7e9474;box-shadow:0 0 0 1px #7e947433}
#teamChatBody .cs-chat-write-box textarea:focus,#teamChatBody .cs-chat-write-box textarea:focus-visible{outline:none;outline-offset:0}
.cs-chat-write-box textarea::placeholder{color:#7b827e;opacity:1}
.cs-chat-send{display:grid;place-items:center;flex:none;min-height:46px;width:46px;min-width:46px;border:0;background:#224d32;color:#fff8e5;border-radius:50%;padding:11px}
.cs-chat-send svg{width:23px!important;height:23px!important}
.cs-chat-composer-options{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:5px 2px 0;color:#8b947e;font-size:.62rem}
.cs-chat-composer-options>span{margin-left:auto}
.cs-chat-composer-options>button{border:0;background:transparent;color:var(--chat-muted);font-size:.64rem;padding:4px;min-height:24px}
.cs-chat-important-toggle{display:flex;align-items:center;gap:4px;font-size:.64rem;color:#788365;white-space:nowrap}
.cs-chat-important-toggle input{accent-color:#2b5736}
.cs-chat-reply-preview{display:flex;align-items:center;gap:9px;justify-content:space-between;border-left:4px solid var(--chat-accent);background:var(--chat-quote);border-radius:7px;padding:7px 9px;margin:0 0 5px;color:var(--chat-muted);font-size:.78rem}
.cs-chat-reply-preview>div{min-width:0;flex:1}
.cs-chat-reply-preview b,.cs-chat-reply-preview span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cs-chat-reply-preview button{border:0;background:transparent;color:var(--chat-muted);width:35px;min-height:35px}
.cs-chat-pending-files{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:7px}
.cs-chat-pending-files:empty{display:none}
.cs-chat-pending-file{display:flex;align-items:center;gap:8px;border:1px solid var(--chat-line);border-radius:10px;padding:6px 8px;background:var(--chat-quote);color:var(--chat-ink);font-size:.72rem;max-width:100%}
.cs-chat-pending-file>span{min-width:0;overflow-wrap:anywhere}
.cs-chat-pending-file button{border:0;background:transparent;width:32px;min-height:36px;color:var(--chat-muted)}
.cs-chat-pending-file audio{display:block;max-width:100%;width:245px;height:34px;margin-top:5px}
.cs-chat-mentions{padding:8px;display:flex;gap:7px;flex-wrap:wrap;background:var(--chat-quote);border-radius:9px;font-size:.75rem}
.cs-chat-mentions button{border:1px solid var(--chat-line);color:var(--chat-ink);background:var(--chat-panel);border-radius:8px;padding:7px}
.cs-chat-empty{margin:auto;padding:22px 13px;text-align:center;color:var(--chat-muted);font-size:.82rem;line-height:1.7;max-width:460px}
.cs-chat-older{border:1px solid var(--chat-line);background:var(--chat-panel);color:var(--chat-muted);border-radius:10px;align-self:center;padding:8px 14px;font-size:.76rem;min-height:40px}
.cs-chat-recording{display:flex;flex-direction:column;gap:5px;min-height:116px;padding:8px 5px}
.cs-chat-settings{display:grid;gap:15px;color:#d8e5d9}
.cs-chat-art-credits{color:#c8d4ba;text-underline-offset:3px}
.cs-chat-settings-row{padding:13px;border:1px solid #3d5443;background:#14281b;border-radius:12px;display:grid;gap:8px;font-size:.82rem}
.cs-chat-settings-row>div{display:flex;gap:8px;flex-wrap:wrap}
.cs-chat-settings-row label{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.cs-chat-settings-row select,.cs-chat-settings-row input[type="time"]{padding:8px;background:#0e1c12;border:1px solid #4b6651;border-radius:8px;color:#f1f6eb;min-width:0;max-width:100%;font-size:16px}
.cs-chat-quiet-times{display:flex;gap:10px;flex-wrap:wrap}
.cs-chat-settings-row small,.cs-chat-settings>p{font-size:.78rem;color:#b7c9b4;line-height:1.6}
/* New-message directory: scoped to this sheet, including outside the chat shell. */
#modalBack:has(.cs-chat-people){--people-panel:#fffef9;--people-ink:#243c30;--people-muted:#647366;--people-line:#e6eadf;--people-chip:#f0f3ec;--people-accent:#2b7447;--people-avatar:#e5eddb;--people-avatar-ink:#315840;--people-hover:#edf3e7;--people-focus:#2b744724;color-scheme:light;background:#0b1d166b;backdrop-filter:blur(3px);padding:24px}
body[data-colmena-theme="dark"] #modalBack:has(.cs-chat-people){--people-panel:#142019;--people-ink:#e7f0e8;--people-muted:#a5b6a9;--people-line:#2b3d31;--people-chip:#1f2e24;--people-accent:#8acb97;--people-avatar:#2d4936;--people-avatar-ink:#d1e8ca;--people-hover:#20372a;--people-focus:#8acb9729;color-scheme:dark}
#modalBack:has(.cs-chat-people) *{box-sizing:border-box}
#modalBack:has(.cs-chat-people) [hidden]{display:none!important}
#modalBack:has(.cs-chat-people) .modal{display:flex;flex-direction:column;width:min(460px,100%);height:min(700px,calc(100dvh - 48px));max-height:none;min-height:0;overflow:hidden;background:var(--people-panel);color:var(--people-ink);border:1px solid var(--people-line);border-radius:26px;box-shadow:0 24px 80px #0a1b1538;font-family:Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;animation:colmena-people-in .18s ease-out}
#modalBack:has(.cs-chat-people) .modal-head{flex:none;padding:18px 20px 0;border:0;gap:12px}
#modalBack:has(.cs-chat-people) .modal-head h2{font:600 22px/1.3 Roboto,system-ui,sans-serif;letter-spacing:-.4px;color:var(--people-ink)}
#modalBack:has(.cs-chat-people) .modal-head button{display:grid;place-items:center;flex:none;width:40px;height:40px;min-height:40px;padding:0;border:0;border-radius:50%;background:var(--people-chip);color:var(--people-muted);font-size:25px;line-height:1;cursor:pointer}
#modalBack:has(.cs-chat-people) .modal-body{display:flex;flex:1;min-height:0;padding:0;overflow:hidden}
#modalBack:has(.cs-chat-people) button:focus-visible{outline:2px solid var(--people-accent);outline-offset:2px}
.cs-chat-people{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;padding:0 20px max(14px,env(safe-area-inset-bottom));color:var(--people-ink)}
.cs-chat-people-intro{flex:none;margin:2px 0 20px;font-size:14px;line-height:1.5;color:var(--people-muted)}
.cs-chat-people-intro span{display:inline-block;margin-left:2px;font-size:16px;vertical-align:-1px}
.cs-chat-people-search{display:flex;align-items:center;flex:none;gap:10px;height:48px;padding:0 3px 0 14px;border:1px solid transparent;border-radius:15px;background:var(--people-chip);color:var(--people-muted);transition:border-color .15s,box-shadow .15s}
.cs-chat-people-search:focus-within{border-color:var(--people-accent);box-shadow:0 0 0 3px var(--people-focus)}
.cs-chat-people-search>svg{width:20px;height:20px;flex:none}
.cs-chat-people-search>label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#modalBack .cs-chat-people-search>input{flex:1;min-width:0;width:100%;height:100%;padding:0;border:0;border-radius:0;outline:none;box-shadow:none;background:transparent;color:var(--people-ink);font:400 16px/1.4 Roboto,system-ui,sans-serif;appearance:none}
#modalBack .cs-chat-people-search>input::placeholder{color:var(--people-muted);opacity:1}
.cs-chat-people-search>input::-webkit-search-cancel-button{display:none}
#modalBack .cs-chat-people-search>button{display:grid;place-items:center;flex:none;width:40px;height:44px;min-height:44px;padding:9px;background:transparent;border:0;border-radius:50%;color:var(--people-muted);cursor:pointer}
.cs-chat-people-search>button svg{width:19px;height:19px}
.cs-chat-people-heading{display:flex;justify-content:space-between;align-items:center;flex:none;gap:12px;padding:22px 2px 9px;color:var(--people-muted);font-size:12px;line-height:1.5}
.cs-chat-people-heading>span:first-child{font-weight:600;font-size:13px;color:var(--people-ink)}
#teamChatPeopleList{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--people-line) transparent;padding:3px;margin:0 -3px}
.cs-chat-person-item{flex:none;min-width:0}
.cs-chat-person-item+.cs-chat-person-item::before{content:"";display:block;height:1px;margin:0 4px 0 60px;background:var(--people-line)}
#modalBack .cs-chat-person{display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:64px;margin:0;padding:10px 4px;border:0;border-radius:12px;background:transparent;box-shadow:none;color:var(--people-ink);text-align:left;font-family:inherit;cursor:pointer;touch-action:manipulation;transition:background .15s}
#modalBack .cs-chat-person:active{background:var(--people-hover)}
.cs-chat-person>b{flex:1;min-width:0;font-size:16px;line-height:1.4;font-weight:500;overflow-wrap:anywhere}
.cs-chat-person .cs-chat-avatar{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:50%;overflow:hidden;background:var(--people-avatar);color:var(--people-avatar-ink);font-size:14px;line-height:1;font-weight:600}
.cs-chat-person .cs-chat-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.cs-chat-person-arrow{display:grid;place-items:center;flex:none;width:24px;color:var(--people-muted)}
.cs-chat-person-arrow svg{width:18px;height:18px;transform:rotate(180deg)}
.cs-chat-people-empty{display:grid;justify-items:center;align-content:center;gap:10px;flex:1;padding:35px 14px;text-align:center;color:var(--people-muted)}
.cs-chat-people-empty>svg{width:28px;height:28px;margin-bottom:4px;opacity:.65}
.cs-chat-people-empty>b{color:var(--people-ink);font-size:15px;font-weight:500}
.cs-chat-people-empty>p{font-size:13px;line-height:1.6;margin:0}
@keyframes colmena-people-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover){#modalBack .cs-chat-person:hover{background:var(--people-hover)}}
@media(max-width:820px){
 #modalBack:has(.cs-chat-people){padding:0;align-items:end;justify-items:center}
 #modalBack:has(.cs-chat-people) .modal{width:100%;max-width:560px;height:min(740px,calc(100dvh - max(36px,env(safe-area-inset-top))));border-radius:26px 26px 0 0;border-bottom:0}
 #modalBack:has(.cs-chat-people) .modal::before{content:"";display:block;flex:none;width:36px;height:4px;margin:10px auto 4px;border-radius:4px;background:var(--people-line)}
 #modalBack:has(.cs-chat-people) .modal-head{padding:8px 20px 0}
}
@media(max-width:360px){.cs-chat-people{padding-left:16px;padding-right:16px}.cs-chat-person>b{font-size:15px}.cs-chat-people-search{gap:8px}}
@media(prefers-reduced-motion:reduce){#modalBack:has(.cs-chat-people) .modal{animation:none}.cs-chat-people-search,#modalBack .cs-chat-person{transition:none}}
.cs-chat-notification-settings{padding:10px;border-top:1px solid #35523b}
.cs-chat-notification-settings button{display:flex;gap:9px;justify-content:space-between;width:100%;padding:8px;background:transparent;border:0;color:#d8e9cc;text-align:left;font-size:.8rem}
.cs-chat-notification-settings small{color:#9eb294;font-size:.7rem}
.cs-chat-attach-options{display:grid;gap:10px}
.cs-chat-attach-options button{display:flex;gap:12px;align-items:center;min-height:49px}
.cs-chat-modal-note{font-size:.78rem;color:#aaba9d;line-height:1.6;margin-top:16px}
.cs-chat-profile{display:grid;justify-items:center;gap:14px;text-align:center;color:#e9f0e2}
.cs-chat-profile>.cs-chat-avatar{width:100px;height:100px;font-size:1.7rem}
.cs-chat-profile>p{font-size:.85rem;line-height:1.6;max-width:350px;color:#bbceb0}
.cs-chat-profile-choose{cursor:pointer;display:inline-flex;padding:12px 20px}
.cs-chat-gallery{display:grid;gap:9px}
.cs-chat-gallery-item{display:flex;gap:11px;align-items:center;width:100%;border:1px solid #35523b;background:#162b1c;color:#e4ecdb;border-radius:10px;padding:13px;text-align:left;cursor:pointer}
.cs-chat-gallery-item>span{min-width:0}
.cs-chat-gallery-item b{display:block;font-size:.82rem;overflow-wrap:anywhere}
.cs-chat-gallery-item small{display:block;font-size:.73rem;color:#adc09e;margin-top:4px}
.cs-chat-media-viewer{display:grid;justify-items:center;gap:12px}
.cs-chat-media-viewer img,.cs-chat-media-viewer video{display:block;max-width:100%;max-height:63dvh;object-fit:contain;border-radius:10px}
.cs-chat-media-viewer audio{width:100%;max-width:390px}
.cs-chat-media-viewer p{font-size:.8rem;color:#bbcaae;overflow-wrap:anywhere;max-width:100%}
.cs-chat-archive-list{display:grid;gap:16px;color:#e5eedc}
.cs-chat-archive-list>p{font-size:.83rem;line-height:1.6;color:#bccdb0}
.cs-chat-archive-list section{padding:14px;background:#152b1c;border:1px solid #385b3f;border-radius:12px}
.cs-chat-archive-list section>b,.cs-chat-archive-list section>small{display:block;font-size:.85rem}
.cs-chat-archive-list section>small{font-size:.75rem;color:#adc49e;margin-top:4px}
.cs-chat-archive-list section>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.cs-chat-archive-list button{display:flex;align-items:center;gap:7px;min-height:44px}
.cs-chat-archive-list>small{font-size:.72rem;color:#a9bd9c;line-height:1.7}
.cs-chat-archive-viewer{display:grid;gap:12px}
.cs-chat-archive-viewer iframe{width:100%;height:60dvh;border:1px solid #58764c;border-radius:8px;background:#fffdf6}
.cs-chat-archive-viewer a{display:inline-block;text-decoration:none;text-align:center;padding:12px}
@media(max-width:1100px){.cs-chat-layout{grid-template-columns:260px minmax(0,1fr)}.cs-chat-message{max-width:94%}.cs-chat-messages{padding:16px}}
@media(max-width:820px){
 body.team-chat-open .content{padding:8px 8px 0}
 #teamChatBody{border-radius:15px;height:var(--cs-chat-available-height,calc(100dvh - 145px));min-height:180px}
 .cs-chat-header{padding:9px 12px;gap:12px;min-height:62px}
 .cs-chat-brand{width:96px;max-height:43px}
 .cs-chat-header h1{font-size:.95rem;white-space:nowrap}
 .cs-chat-status{font-size:.63rem;max-width:200px}
 .cs-chat-header-actions{gap:5px}
 .cs-chat-header-actions>button{width:35px;min-height:35px}
 .cs-chat-header-actions .cs-chat-avatar{width:35px;height:35px;font-size:.72rem}
 .cs-chat-layout{display:flex}
 .cs-chat-rooms{width:100%;border:0;flex:1}
 .cs-chat-thread{display:none;width:100%;flex:1}
 .cs-chat-layout[data-mobile-thread="true"] .cs-chat-rooms{display:none}
 .cs-chat-layout[data-mobile-thread="true"] .cs-chat-thread{display:flex}
 .cs-chat-back{display:grid;place-items:center}
 .cs-chat-thread-head{padding:8px 7px;gap:6px;min-height:61px}
 .cs-chat-thread-head>.cs-chat-avatar{width:35px;height:35px}
 .cs-chat-thread-title b{font-size:.83rem}
 .cs-chat-thread-title span{font-size:.64rem}
 .cs-chat-thread-actions button{width:31px;padding:5px}
 .cs-chat-thread-actions svg{width:19px!important;height:19px!important}
 .cs-chat-weekly{padding:7px 15px;min-height:36px;font-size:.76rem}
 .cs-chat-messages{padding:15px 10px;gap:14px;background-size:100% auto}
 .cs-chat-message{max-width:88%;gap:6px}
 .cs-chat-message>.cs-chat-avatar{width:25px;height:25px;font-size:.6rem}
 .cs-chat-bubble{padding:6px 9px 4px;max-width:calc(100% - 1px)}
 .cs-chat-message-body{font-size:1rem;line-height:1.38}
 .cs-chat-message-head{font-size:.76rem}
 .cs-chat-message:has(.cs-chat-photo-button),.cs-chat-message:has(.cs-chat-attachment){max-width:91%}
 .cs-chat-photo-button{width:230px}
 .cs-chat-attachment{width:225px}
 .cs-chat-composer{padding:8px 7px 6px}
 .cs-chat-composer .cs-chat-icon{width:30px;padding:4px}
 .cs-chat-write-row{gap:3px}
 #teamChatBody .cs-chat-write-box{gap:1px;padding:0 3px}
 .cs-chat-write-box .cs-chat-icon{width:27px;min-height:36px;padding:3px}
 .cs-chat-write-box textarea{font-size:16px;padding:7px 2px}
 .cs-chat-send{width:43px;min-width:43px;min-height:43px;padding:10px}
 .cs-chat-composer-options{font-size:.6rem;gap:8px}
 .cs-chat-recording{gap:7px}
 .cs-chat-recording small{font-size:.62rem}
 body.team-chat-open:has(#teamChatText:focus) .bottom-nav{display:none}
}
@media(max-width:390px){.cs-chat-brand{width:80px}.cs-chat-header{gap:9px}.cs-chat-header h1{font-size:.84rem}.cs-chat-header-actions>button{width:32px;min-height:34px}.cs-chat-header-actions .cs-chat-avatar{width:33px;height:33px}.cs-chat-message>.cs-chat-avatar{width:23px;height:23px}.cs-chat-camera{display:none}.cs-chat-photo-button{width:215px}.cs-chat-attachment{width:210px}}
#teamChatBody[data-short-viewport="true"]{min-height:0}
#teamChatBody[data-short-viewport="true"] .cs-chat-header,#teamChatBody[data-short-viewport="true"] .cs-chat-weekly,#teamChatBody[data-short-viewport="true"] .cs-chat-pinned,#teamChatBody[data-short-viewport="true"] .cs-chat-composer-options{display:none}
#teamChatBody[data-short-viewport="true"] .cs-chat-thread-head{padding:3px 6px;min-height:44px}
#teamChatBody[data-short-viewport="true"] .cs-chat-messages{padding:6px 9px}
#teamChatBody[data-short-viewport="true"] .cs-chat-composer{padding:5px;max-height:70%}
@media(pointer:coarse){.cs-chat-thread-actions button,.cs-chat-back,.cs-chat-icon,.cs-chat-header-actions>button{min-height:44px}.cs-chat-message-menu{opacity:1;width:28px;height:40px}.cs-chat-filters button{min-height:38px}}
@media(prefers-reduced-motion:reduce){#teamChatBody *{scroll-behavior:auto!important;transition:none!important}}

/* Familiar single-line messages: reserve only the actual footer's space at the end. */
.cs-chat-bubble.has-body .cs-chat-message-body::after{content:"";display:inline-block;width:var(--chat-meta-space);height:0;vertical-align:baseline}
.cs-chat-bubble.has-body .cs-chat-message-foot{position:absolute;right:8px;bottom:5px;margin:0}
.cs-chat-message.is-dm>.cs-chat-avatar{display:none}
.cs-chat-message.is-swiping .cs-chat-bubble{transition:none}
.cs-chat-swipe-reply{position:absolute;left:0;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--chat-panel);color:var(--chat-muted);opacity:0}
.cs-chat-message.is-swiping .cs-chat-swipe-reply{opacity:.65}
.cs-chat-message.is-swipe-ready .cs-chat-swipe-reply{opacity:1;color:var(--chat-accent)}
.cs-chat-message.is-highlighted .cs-chat-bubble,.cs-chat-message.is-search-match .cs-chat-bubble{box-shadow:0 0 0 2px var(--chat-accent)}
.cs-chat-reply-quote span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;line-height:1.3}
.cs-chat-reply-preview b{color:var(--chat-accent)}
.cs-chat-message-area{position:relative;display:flex;flex:1;min-height:0;overflow:hidden}
.cs-chat-messages{gap:7px;padding:13px 16px;background-color:var(--chat-wall);background-image:linear-gradient(var(--chat-tint),var(--chat-tint)),url("/assets/team-chat-art-v309/jardin-original.svg")}
.cs-chat-to-bottom{position:absolute;bottom:13px;right:13px;display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--chat-line);border-radius:50%;background:var(--chat-panel);color:var(--chat-muted);box-shadow:0 2px 7px #0002}
.cs-chat-status[data-passive="true"]{width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:0}
#teamChatBody[data-theme="dark"] .cs-chat-status[data-error="true"]{color:#ffb7a1}
.cs-chat-bee{display:inline-block;font-size:1.25rem;margin-left:3px}
.cs-chat-menu{position:absolute;z-index:20;right:7px;width:268px;max-width:calc(100% - 14px);max-height:calc(100% - 66px);overflow:auto;padding:7px 0;border:1px solid var(--chat-line);border-radius:9px;background:var(--chat-panel);color:var(--chat-ink);box-shadow:0 7px 24px #0003}
.cs-chat-menu button{display:flex;align-items:center;gap:14px;text-align:left;width:100%;min-height:46px;padding:10px 17px;background:transparent;border:0;color:inherit;font-size:.86rem}
.cs-chat-menu button:hover,.cs-chat-menu button:focus-visible{background:var(--chat-chip)}
.cs-chat-menu button svg{width:20px!important;height:20px!important;color:var(--chat-muted)}
.cs-chat-thread-search{display:flex;align-items:center;gap:3px;flex-wrap:wrap;padding:7px 9px;background:var(--chat-panel);border-bottom:1px solid var(--chat-line);flex:none}
.cs-chat-thread-search label{display:flex;align-items:center;gap:7px;flex:1;min-width:150px}
#teamChatBody .cs-chat-thread-search input{width:100%;min-width:0;background:var(--chat-chip);color:var(--chat-ink);border:0;border-radius:8px;padding:8px;font-size:16px}
.cs-chat-thread-search>span{font-size:.68rem;color:var(--chat-muted);max-width:130px}
.cs-chat-thread-search .cs-chat-icon{width:30px;min-height:36px;padding:5px}
.cs-chat-emojis{display:grid;grid-template-columns:repeat(8,minmax(28px,1fr));gap:2px;padding:8px;background:var(--chat-panel);border-radius:13px;margin-top:5px;max-height:160px;overflow:auto}
.cs-chat-emojis button{border:0;background:transparent;font-size:1.45rem;padding:7px 2px;min-height:40px;border-radius:7px}
.cs-chat-emojis button:hover{background:var(--chat-chip)}
.cs-chat-room-copy small.is-draft{color:var(--chat-accent)}
.cs-chat-room-meta{max-width:74px}
.cs-chat-room-meta time{white-space:nowrap}
.cs-chat-room-copy b{font-size:1rem;font-weight:550}
.cs-chat-room-copy small{font-size:.82rem}
.cs-chat-room{border-radius:0;min-height:79px;padding:12px 14px}
.cs-chat-room .cs-chat-avatar{width:48px;height:48px}
.cs-chat-search{border-radius:25px;padding:12px 14px;margin-top:6px}
.cs-chat-search input{font-size:16px}
#teamChatRooms{padding:0 0 80px}
.cs-chat-rooms{position:relative}
.cs-chat-new{position:sticky;align-self:flex-end;bottom:17px;right:17px;margin:0 17px 17px auto;min-width:53px;width:53px;min-height:53px;border:0;border-radius:17px;box-shadow:0 2px 7px #0002;background:#275d3b;color:#fff}
.cs-chat-new>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cs-chat-new svg{width:26px!important;height:26px!important}
#teamChatBody .cs-chat-write-box{background:var(--chat-input);border-color:var(--chat-line);padding:3px 5px;gap:2px;align-items:flex-end}
#teamChatBody .cs-chat-write-box textarea{color:var(--chat-ink)!important;font-size:16px;line-height:1.35;min-height:38px;max-height:130px;padding:8px 2px}
#teamChatBody .cs-chat-write-box .cs-chat-icon{color:var(--chat-muted);min-height:38px}
.cs-chat-composer-options{display:none}
.cs-chat-recording-top{display:flex;align-items:center;gap:9px;width:100%}
.cs-chat-record-dot{font-size:.85rem;color:#ce4c4c;animation:colmena-record 1.2s ease-in-out infinite}
.cs-chat-recording[data-paused="true"] .cs-chat-record-dot{animation:none;opacity:.4}
#teamChatRecordingTime{font-size:1.15rem;color:var(--chat-ink);font-variant-numeric:tabular-nums;min-width:46px}
.cs-chat-record-wave{height:30px;flex:1;min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:3px;overflow:hidden}
.cs-chat-record-wave i{display:block;width:3px;min-width:2px;height:3px;border-radius:3px;background:var(--chat-muted);flex:none}
.cs-chat-record-hint{font-size:.72rem;color:var(--chat-muted);margin:0 0 4px;text-align:center}
.cs-chat-recording-controls{display:flex;align-items:center;gap:10px;width:100%}
#teamChatBody .cs-chat-recording-controls button svg{width:23px;height:23px}
.cs-chat-record-delete{display:grid;place-items:center;flex:none;width:46px;height:46px;border:0;border-radius:50%;background:#f7dbd8;color:#b93347}
#teamChatBody[data-theme="dark"] .cs-chat-record-delete{background:#391f28;color:#ff7187}
.cs-chat-record-pause{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;min-height:46px;border:0;border-radius:25px;background:var(--chat-chip);color:var(--chat-ink);padding:10px;font-size:.9rem}
.cs-chat-audio-card{width:280px;padding:7px 0;gap:7px}
.cs-chat-audio-timeline{position:relative;min-width:0;height:30px}
.cs-chat-audio-timeline .cs-chat-wave{height:30px;gap:2px;overflow:hidden;color:var(--chat-muted);opacity:.5}
#teamChatBody .cs-chat-audio-seek{position:absolute;inset:0;width:100%;height:30px;padding:0;margin:0;border:0;background:transparent;accent-color:var(--chat-accent);cursor:pointer;opacity:.8}
#teamChatBody .cs-chat-audio-seek:disabled{opacity:0}
.cs-chat-audio-speed{border:0;background:var(--chat-quote);color:var(--chat-ink);padding:3px 5px;border-radius:10px;font-size:.68rem;min-width:35px;min-height:30px}
.cs-chat-audio-play{background:var(--chat-quote);color:var(--chat-accent)}
.cs-chat-audio-copy small{color:var(--chat-muted);font-variant-numeric:tabular-nums}
.cs-chat-message-menu{background:var(--chat-panel);color:var(--chat-muted)}
#teamChatCopyText{width:100%;min-height:120px;font-size:16px}
@keyframes colmena-record{50%{opacity:.35}}
@media(max-width:820px){
 #teamChatBody{border-radius:0;border:0;min-height:160px;height:var(--cs-chat-available-height,100dvh)}
 .cs-chat-header{padding:8px 14px;gap:10px;min-height:59px}
 .cs-chat-header h1{font-size:1.35rem}
 .cs-chat-header-actions>button{width:41px;min-height:44px}
 .cs-chat-rooms-head{display:none}
 .cs-chat-header:has(~.cs-chat-layout[data-mobile-thread="true"]){display:none}
 .cs-chat-thread-head{min-height:59px;padding:6px 8px;background:var(--chat-panel)}
 .cs-chat-thread-title b{font-size:1rem}
 .cs-chat-thread-title span{font-size:.65rem}
 .cs-chat-thread-actions button{width:38px;min-height:44px}
 .cs-chat-thread-actions svg{width:22px!important;height:22px!important}
 .cs-chat-messages{padding:12px 9px;gap:7px}
 .cs-chat-message{max-width:94%;gap:6px}
 .cs-chat-message-body{font-size:1rem;line-height:1.36}
 .cs-chat-bubble{padding:6px 8px 5px}
 .cs-chat-composer{padding:5px 6px max(5px,env(safe-area-inset-bottom));background:var(--chat-wall)}
 .cs-chat-write-row{gap:5px}
 #teamChatBody .cs-chat-write-box{gap:1px;padding:3px 4px}
 #teamChatBody .cs-chat-write-box .cs-chat-icon{width:29px;padding:4px;min-height:38px}
 .cs-chat-send{width:46px;min-width:46px;min-height:46px}
 .cs-chat-status{top:62px}
 .cs-chat-audio-card{width:265px}
 .cs-chat-filters button{font-size:.8rem;padding:7px 12px}
 .cs-chat-message-menu{opacity:0;pointer-events:none}
 .cs-chat-message:focus-within .cs-chat-message-menu{opacity:1;pointer-events:auto}
}
@media(max-width:390px){.cs-chat-camera{display:grid}.cs-chat-photo-button{width:235px}.cs-chat-audio-card{width:245px}.cs-chat-message-body{font-size:1rem}}
@media(prefers-reduced-motion:reduce){.cs-chat-record-dot{animation:none}.cs-chat-bubble{transition:none}}

/* V313: compact original text, with the real timestamp in the same inline flow. */
.cs-chat-message{max-width:min(96%,760px)}
.cs-chat-message .cs-chat-bubble{max-width:100%}
.cs-chat-bubble.has-body .cs-chat-message-body{display:inline}
.cs-chat-bubble.has-body .cs-chat-message-body::after{display:none}
.cs-chat-bubble.has-body .cs-chat-message-foot{position:static;display:inline-flex;vertical-align:bottom;margin:4px 0 -1px 8px;float:right}
.cs-chat-bubble::after{content:"";display:table;clear:both}
.cs-chat-message-body a{color:var(--chat-accent);text-decoration:underline;overflow-wrap:anywhere}
.cs-chat-rooms{overflow:hidden}
.cs-chat-search,.cs-chat-filters{flex:none}
#teamChatRooms{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:90px}
.cs-chat-new{position:absolute;bottom:16px;right:16px;margin:0;z-index:4;flex:none}
.cs-chat-room-heading,.cs-chat-room-bottom{display:flex;align-items:center;gap:8px;min-width:0}
.cs-chat-room-heading b{flex:1;min-width:0}
.cs-chat-room-heading time{flex:none;font-size:.68rem;font-weight:400;color:var(--chat-muted);white-space:nowrap}
.cs-chat-room-bottom .cs-chat-room-meta{flex-direction:row;gap:5px;max-width:none;margin-top:4px}
.cs-chat-room-copy small.cs-chat-room-preview{display:flex;align-items:center;gap:5px;flex:1;min-width:0;line-height:1.4}
.cs-chat-room-preview>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.cs-chat-room-preview>svg{width:14px!important;height:14px!important}
.cs-chat-room-preview .cs-chat-read-state{flex:none}
.cs-chat-bubble.has-audio-only{padding:7px 9px 5px}
.cs-chat-audio-card{position:relative;width:300px;max-width:100%;gap:8px;min-height:50px;padding:0;margin:0}
.cs-chat-audio-avatar.cs-chat-avatar{position:relative;width:42px;height:42px;overflow:visible;font-size:.8rem;align-self:center}
.cs-chat-audio-avatar img{border-radius:50%}
.cs-chat-audio-mic{position:absolute;bottom:-2px;right:-4px;line-height:1;color:var(--chat-accent);filter:drop-shadow(1px 1px var(--chat-own))}
#teamChatBody .cs-chat-audio-mic svg{width:16px;height:19px}
.cs-chat-audio-play{width:30px;min-height:40px;padding:3px;background:transparent;align-self:flex-start}
.cs-chat-audio-timeline,.cs-chat-audio-timeline .cs-chat-wave{height:31px}
.cs-chat-audio-timeline .cs-chat-wave{width:100%;justify-content:space-between}
.cs-chat-audio-copy small{margin-top:1px;height:15px;line-height:15px;padding-right:85px;white-space:nowrap;font-size:.65rem}
.cs-chat-audio-speed{align-self:flex-start;margin-top:2px;min-height:27px;min-width:29px;font-size:.62rem}
.cs-chat-bubble.has-audio-only .cs-chat-message-foot{position:absolute;bottom:5px;right:8px;margin:0}
.cs-chat-navigation{display:flex;align-items:center;justify-content:space-around;flex:none;min-height:62px;padding:4px 14px max(4px,env(safe-area-inset-bottom));background:var(--chat-surface);border-top:1px solid var(--chat-line)}
.cs-chat-navigation button{display:grid;justify-items:center;gap:2px;min-width:100px;min-height:50px;border:0;border-radius:24px;background:transparent;color:var(--chat-muted);font-size:.76rem}
.cs-chat-navigation button[aria-current="page"]{color:var(--chat-ink)}
#teamChatBody .cs-chat-navigation button[aria-current="page"] svg{background:var(--chat-active);border-radius:15px;box-sizing:content-box;padding:4px 19px}
@media(max-width:820px){
 .cs-chat-message{max-width:96%}
 .cs-chat-audio-card{width:290px}
 #teamChatBody:has(.cs-chat-layout[data-mobile-thread="true"]) .cs-chat-navigation{display:none}
 .cs-chat-room{padding:12px 13px;gap:12px}
 .cs-chat-message-menu,.cs-chat-message.is-own .cs-chat-message-menu{left:auto;right:2px;top:1px}
 .cs-chat-message:hover .cs-chat-message-menu{opacity:0;pointer-events:none}
 .cs-chat-message:focus-within .cs-chat-message-menu{opacity:1;pointer-events:auto}
}
@media(max-width:350px){.cs-chat-audio-card{width:253px}.cs-chat-audio-avatar.cs-chat-avatar{width:35px;height:35px}.cs-chat-audio-card{gap:5px}}

.cs-call-panel{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px 18px max(25px,env(safe-area-inset-bottom));background:linear-gradient(160deg,#193e2c,#0c1912);color:#ecf5ed;font-family:Inter,system-ui,sans-serif;text-align:center;overflow-y:auto}
.cs-call-panel h2{font-size:1.65rem;margin:18px 0 7px;overflow-wrap:anywhere}
.cs-call-identity{color:#bbd1c1;font-size:.9rem;margin-bottom:28px}
.cs-call-avatar{display:grid;place-items:center;width:92px;height:92px;border-radius:50%;background:#dce7d9;color:#2b5137;font-size:1.8rem}
.cs-call-state{font-size:1rem;max-width:360px;line-height:1.5;margin:8px 0}
.cs-call-panel time{font-variant-numeric:tabular-nums;min-height:26px;font-size:1.1rem}
.cs-call-note{font-size:.8rem;color:#b4c9ba;margin:28px 0;line-height:1.5}
.cs-call-controls{display:flex;align-items:center;justify-content:center;gap:34px;margin-top:16px}
.cs-call-controls button{display:grid;justify-items:center;gap:10px;min-width:94px;min-height:86px;background:transparent;color:#fff;border:0;padding:7px;cursor:pointer;font-size:.78rem}
.cs-call-controls svg,.cs-call-controls button>span:first-child{display:block;box-sizing:content-box;width:26px;height:26px;padding:17px;border-radius:50%;background:#3c5346}
.cs-call-controls .cs-call-end svg{background:#ca3d4f;transform:rotate(135deg)}
.cs-call-controls .cs-call-answer svg{background:#2c9254}
.cs-call-controls .cs-call-mute[aria-pressed="true"]>span:first-child{background:#ecf5ed;color:#173621}
.cs-call-panel button:focus-visible{outline:3px solid #e7ce79;outline-offset:4px;border-radius:12px}
.cs-call-listen{padding:12px 20px;border:1px solid #a5c4ad;border-radius:22px;color:#fff;background:#244d33;font-size:1rem;cursor:pointer}
.cs-call-history{display:grid;gap:10px;color:#e6efdf}
.cs-call-history>p,.cs-call-choice p{font-size:.83rem;color:#c4d4bd;line-height:1.6}
.cs-call-choice .primary,.cs-call-history>.primary{display:flex;align-items:center;justify-content:center;gap:10px}
.cs-call-choice svg,.cs-call-history svg{width:22px;height:22px;flex:none}
.cs-call-history-row{display:flex;align-items:center;gap:12px;min-height:70px;border:0;border-bottom:1px solid #3b5743;padding:10px 4px;background:transparent;color:inherit;text-align:left;cursor:pointer}
.cs-call-history-row>span{min-width:0;flex:1}
.cs-call-history-row b,.cs-call-history-row small{display:block}
.cs-call-history-row small{font-size:.72rem;color:#acc2aa;margin-top:5px}
.cs-call-history-row time{font-size:.65rem;color:#b9cdb3;max-width:85px;line-height:1.4}
.cs-call-panel{justify-content:flex-start;padding-top:max(45px,env(safe-area-inset-top));gap:0}
.cs-call-avatar{width:104px;height:104px;margin-top:20px;flex:none;overflow:hidden}
.cs-call-avatar img{width:100%;height:100%;object-fit:cover}
.cs-call-controls{margin-top:auto;width:min(100%,420px);gap:7px;padding:12px 6px;border-radius:28px;background:#182c22}
.cs-call-controls button{flex:1;min-width:0;font-size:.72rem}
.cs-call-controls .cs-call-mute[aria-pressed="true"] svg{background:#e2ede4;color:#203b2b}
@media(max-width:390px){.cs-chat-message{max-width:100%}.cs-chat-message-body{font-size:15px}}

/* V314: native Android proportions, original local artwork and real call controls. */
#teamChatBody,.cs-call-panel{font-family:Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.cs-chat-thread-title b{font-weight:500;font-size:16px}
.cs-chat-thread-title span{font-size:12px;font-weight:400;line-height:1.3}
.cs-chat-thread-actions button{width:34px}
.cs-chat-call-card .cs-chat-bubble{padding:9px 9px 5px;min-width:178px}
.cs-chat-call-event{display:flex;align-items:center;gap:10px;min-height:43px;width:100%;padding:0 2px;border:0;background:transparent;color:var(--chat-ink);text-align:left}
.cs-chat-call-event>span:last-child{flex:1;min-width:0}
.cs-chat-call-event b{display:block;font-size:14px;line-height:1.4;font-weight:600}
.cs-chat-call-event small{display:block;font-size:12px;line-height:1.4;color:var(--chat-muted);margin-top:2px}
.cs-chat-call-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#7caa8e3b;flex:none}
.cs-chat-call-symbol svg{width:19px!important;height:19px!important}
.cs-chat-call-card .cs-chat-message-foot{font-size:10px;min-height:12px;margin-top:0}
#teamChatBody[data-section="calls"]>.cs-chat-header,#teamChatBody[data-section="calls"]>.cs-chat-layout{display:none}
#teamChatBody .cs-chat-navigation{order:2}
.cs-calls-view{position:relative;display:flex;flex-direction:column;flex:1;order:0;min-height:0;background:var(--chat-surface);color:var(--chat-ink);overflow:hidden}
.cs-calls-header{display:flex;align-items:center;gap:6px;padding:13px 13px 7px;min-height:56px;flex:none}
.cs-calls-header h1{font-size:20px;line-height:1.3;font-weight:500;flex:1;margin:0}
.cs-calls-header button{display:grid;place-items:center;width:36px;height:40px;padding:8px;border:0;background:transparent;color:inherit}
.cs-calls-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);padding:12px 8px 5px;gap:2px;flex:none}
.cs-calls-shortcuts button{display:grid;justify-items:center;gap:9px;background:transparent;color:var(--chat-muted);border:0;padding:2px;font-size:11px;min-height:80px;cursor:pointer}
#teamChatBody .cs-calls-shortcuts svg{width:22px;height:22px;box-sizing:content-box;padding:15px;border-radius:50%;background:var(--chat-chip);color:var(--chat-ink)}
.cs-calls-shortcuts [aria-pressed="true"] svg{box-shadow:0 0 0 2px var(--chat-accent)}
.cs-calls-recent{font-size:18px;font-weight:400;margin:8px 13px 4px;flex:none}
.cs-calls-list{flex:1;min-height:0;overflow-y:auto;padding:0 11px 80px;overscroll-behavior:contain}
.cs-calls-view .cs-call-history-row{width:100%;min-height:80px;gap:12px;padding:10px 2px;border:0;color:var(--chat-ink)}
.cs-calls-view .cs-chat-avatar{width:38px;height:38px;flex:none;font-size:12px}
.cs-calls-view .cs-call-history-row b{font-size:15px;line-height:1.4;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cs-calls-view .cs-call-history-row small{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--chat-muted);line-height:1.5;margin-top:4px}
.cs-calls-view .cs-call-history-row small svg{width:15px!important;height:15px!important;color:#25b36b}
.cs-calls-view .cs-call-history-row.is-missed b,.cs-calls-view .cs-call-history-row.is-missed small svg{color:#f04e68}
.cs-call-history-kind{flex:none;display:grid;place-items:center;width:33px}
.cs-call-history-kind svg{width:20px!important;height:20px!important}
.cs-calls-view .cs-call-history-kind{flex:none;width:33px}
.cs-calls-search{display:flex;align-items:center;gap:7px;margin:5px 13px;padding:8px 12px;background:var(--chat-chip);border-radius:22px;flex:none}
.cs-calls-search[hidden]{display:none}
.cs-calls-search input{min-width:0;width:100%;padding:3px;background:transparent;border:0;color:var(--chat-ink);font-size:16px}
.cs-calls-new{position:absolute;right:15px;bottom:15px;display:flex;align-items:center;justify-content:center;width:53px;height:53px;border:0;border-radius:17px;background:#20bd66;color:#052a18;box-shadow:0 2px 8px #0002}
.cs-calls-new svg:first-child{width:25px!important;height:25px!important}
.cs-calls-new svg:last-child{position:absolute;width:12px!important;height:12px!important;top:10px;right:9px}
.cs-call-empty{font-size:13px;line-height:1.6;color:var(--chat-muted);padding:10px 3px}
.cs-call-person{display:flex;align-items:center;border-bottom:1px solid #3d5944}
.cs-call-person>button{display:flex;align-items:center;gap:10px;min-height:63px;background:transparent;border:0;color:#edf4e9;padding:6px;cursor:pointer}
.cs-call-person>button:first-child{flex:1;min-width:0;text-align:left}
.cs-call-person b{flex:1;min-width:0;font-size:14px;font-weight:500}
.cs-call-person svg{width:21px;height:21px}
.cs-call-person [aria-pressed="true"]{color:#f4d47b}
.cs-call-panel[hidden]{display:none!important}
.cs-call-panel{padding:max(8px,env(safe-area-inset-top)) 9px max(10px,env(safe-area-inset-bottom));background-color:#0b141a;background-image:linear-gradient(#0b141ad9,#0b141ad9),url('/assets/team-chat-art-v309/jardin-original.svg');background-repeat:repeat;background-position:0 0;background-size:390px 520px;gap:0;isolation:isolate}
.cs-call-top{display:flex;align-items:center;gap:10px;width:100%;position:relative;z-index:4;flex:none;min-height:54px;padding:2px 2px}
.cs-call-top>button{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:50%;background:#223036;color:#edf4f4;flex:none}
.cs-call-top>button svg{width:24px;height:24px}
.cs-call-top>div{min-width:0;flex:1;padding-right:40px}
.cs-call-top h2{font-size:15px;font-weight:500;line-height:1.35;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f1f5f5}
.cs-call-top p{font-size:12px;color:#9aa9ad;line-height:1.35;margin:3px 0 0}
.cs-call-visual{position:relative;display:grid;place-items:center;flex:1;min-height:80px;width:100%;overflow:hidden;border-radius:12px}
.cs-call-visual .cs-call-avatar{margin:0;width:132px;height:132px;font-size:32px;background:#7e8a8899;color:#f5faf5}
.cs-call-status{position:relative;z-index:4;min-height:48px;padding:6px;flex:none}
.cs-call-state{font-size:13px;line-height:1.4;margin:0 auto 3px;max-width:330px}
.cs-call-panel time{font-size:13px;min-height:16px;display:block}
.cs-call-remote-mount{position:absolute;inset:0;display:none}
.cs-call-panel.has-video .cs-call-remote-mount{display:block}
.cs-call-panel.has-video .cs-call-avatar{visibility:hidden}
.cs-call-remote-video{display:block;width:100%;height:100%;object-fit:contain;background:#0b141a}
.cs-call-local-mount{position:absolute;right:7px;top:8px;width:90px;height:126px;border-radius:12px;overflow:hidden;background:#1f3030;border:1px solid #72847c88;z-index:3}
.cs-call-local-mount[hidden]{display:none}
.cs-call-self-video{width:100%;height:100%;object-fit:cover}
.cs-call-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,420px);margin:0 auto;gap:7px 3px;padding:14px 5px 12px;background:#121c20;border:1px solid #26363b;border-radius:30px;position:relative;z-index:5;flex:none}
.cs-call-panel .cs-call-control{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;min-width:0;min-height:82px;border:0;padding:3px;background:transparent;color:#f3f6f7;font-family:inherit;font-size:11px;font-weight:400;cursor:pointer}
.cs-call-panel .cs-call-control>svg{box-sizing:content-box;width:22px;height:22px;padding:16px;border-radius:50%;background:#222e33;color:#f0f5f5;flex:none}
.cs-call-panel .cs-call-control>span{display:block;width:auto;height:auto;background:transparent!important;padding:0;border-radius:0;line-height:1.4;font-size:11px}
.cs-call-panel .cs-call-control:disabled{opacity:.36;cursor:default}
.cs-call-panel .cs-call-control[aria-pressed="true"]>svg{background:#d4e2dc;color:#18352b}
.cs-call-panel .cs-call-end>svg{background:#ec0042;transform:rotate(135deg)}
.cs-call-panel .cs-call-answer>svg{background:#24b66c}
.cs-call-more{display:flex;gap:7px;justify-content:center;padding:8px;background:#142326;border-radius:18px;z-index:6}
.cs-call-more .cs-call-control{min-height:72px}
.cs-call-bar{position:absolute;z-index:30;left:10px;right:10px;top:59px;display:flex;align-items:center;gap:8px;min-height:42px;background:#236546;color:#fff;border:0;border-radius:13px;padding:7px 11px;font:12px Roboto,system-ui,sans-serif;box-shadow:0 2px 8px #0004}
.cs-call-bar>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.cs-call-bar svg{width:20px;height:20px}
@media(max-height:620px){.cs-call-panel .cs-call-control{min-height:67px;gap:5px}.cs-call-panel .cs-call-control>svg{padding:11px}.cs-call-controls{padding:8px 4px;gap:4px}.cs-call-top{min-height:48px}.cs-call-visual .cs-call-avatar{width:88px;height:88px}.cs-call-status{min-height:38px}}

/* PDF documents: the whole card opens the original, before or after sending. */
#teamChatBody .cs-chat-document-card{width:224px;max-width:100%;margin:0}
#teamChatBody .cs-chat-bubble:not(.has-body):has(.cs-chat-document-card){padding:4px}
#teamChatBody .cs-chat-bubble:has(.cs-chat-document-card)>.cs-chat-message-foot{margin-top:3px;padding:0 3px 1px}
#teamChatBody .cs-chat-document{display:flex;align-items:center;gap:8px;width:100%;max-width:100%;min-width:0;min-height:52px;padding:7px 9px;border:0;border-radius:8px;background:#f0f1ef;color:var(--chat-ink);text-align:left;font:inherit;box-shadow:none;touch-action:manipulation}
#teamChatBody .cs-chat-message.is-own .cs-chat-document{background:#d5e4c3}
#teamChatBody[data-theme="dark"] .cs-chat-document{background:#1b2821}
#teamChatBody[data-theme="dark"] .cs-chat-message.is-own .cs-chat-document{background:#193e2e}
#teamChatBody .cs-chat-document:hover{filter:brightness(.98)}
#teamChatBody .cs-chat-document:active{filter:brightness(.94)}
#teamChatBody .cs-chat-pdf-icon{display:grid;place-items:center;flex:none;width:18px;height:22.5px;color:#d10335}
#teamChatBody .cs-chat-pdf-icon>svg{display:block;width:18px;height:22.5px;flex:none}
#teamChatBody .cs-chat-document-copy{display:block;flex:1;min-width:0;overflow:hidden}
#teamChatBody .cs-chat-document-copy>b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;white-space:normal;color:var(--chat-ink);font-size:14px;font-weight:400;line-height:18px;letter-spacing:0}
#teamChatBody .cs-chat-document-copy>small{display:block;margin-top:3px;color:var(--chat-muted);font-size:11px;line-height:14px;overflow-wrap:anywhere;white-space:normal}
#teamChatBody .cs-chat-pending-file.is-pdf{display:flex;align-items:center;gap:0;width:min(280px,100%);min-width:0;padding:0;border:1px solid var(--chat-line);border-radius:10px;overflow:hidden;background:var(--chat-quote)}
#teamChatBody .cs-chat-pending-file.is-pdf>.cs-chat-document{flex:1;min-width:0;width:auto;max-width:100%;border-radius:0;background:transparent}
#teamChatBody .cs-chat-pending-file.is-pdf>[data-chat-remove-file]{display:grid;place-items:center;flex:none;width:42px;min-height:48px;margin-right:2px;padding:5px;border:0;border-radius:50%;background:transparent;color:var(--chat-muted);font-size:24px;line-height:1}
#teamChatBody .cs-chat-pending-file.is-pdf>[data-chat-remove-file]:hover{background:#7e92731a}
#teamChatBody .cs-chat-pending-file.is-pdf .cs-chat-document-copy>small{font-size:11px}

/* A private, canvas-rendered PDF fills the screen on phones and computers. */
.cs-colmena-pdf{box-sizing:border-box;position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#e1e4e6;color:#f1f4f5;overflow:hidden;overscroll-behavior:contain;font:14px/1.4 Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:dark}
.cs-colmena-pdf[open]{display:flex;flex-direction:column}
.cs-colmena-pdf::backdrop{background:#0b141aeb}
.cs-colmena-pdf *{box-sizing:border-box}
.cs-colmena-pdf button{display:grid;place-items:center;flex:none;min-width:44px;min-height:44px;padding:9px 11px;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;line-height:1.2;cursor:pointer;touch-action:manipulation}
.cs-colmena-pdf button:hover{background:#ffffff14}
.cs-colmena-pdf button:active{background:#ffffff23}
.cs-colmena-pdf button:focus-visible{outline:2px solid #b9dfc6;outline-offset:-3px}
.cs-colmena-pdf button:disabled{opacity:.35;cursor:default}
.cs-colmena-pdf button>svg{width:22px;height:22px;flex:none}
.cs-colmena-pdf-head{display:flex;align-items:center;flex:none;gap:9px;min-width:0;min-height:60px;padding:max(7px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) 7px max(10px,env(safe-area-inset-left));background:#172127;color:#f1f4f5;border-bottom:1px solid #ffffff14}
.cs-colmena-pdf-head>b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;flex:1;min-width:0;margin:0;overflow:hidden;overflow-wrap:anywhere;font-size:15px;font-weight:500;line-height:1.3}
.cs-colmena-pdf-head>button:first-child{font-size:23px}
.cs-colmena-pdf-tools{display:flex;align-items:center;justify-content:center;flex:none;flex-wrap:wrap;gap:4px;min-height:48px;padding:3px 8px;background:#253138;color:#f1f4f5}
.cs-colmena-pdf-tools>span,.cs-colmena-pdf-tools>output{display:block;min-width:64px;padding:0 8px;text-align:center;white-space:nowrap;font-size:13px;font-variant-numeric:tabular-nums}
.cs-colmena-pdf-status{flex:none;min-height:27px;margin:0;padding:5px 12px;background:#d4d9dc;color:#3d4a50;text-align:center;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.cs-colmena-pdf-stage{flex:1;min-width:0;min-height:0;overflow:auto;padding:20px max(14px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));background:#e1e4e6;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom;text-align:center}
.cs-colmena-pdf-stage>canvas{display:block;max-width:none;margin:0 auto;background:#fff;box-shadow:0 2px 12px #10212c27}
@media(max-width:600px){
 #teamChatBody .cs-chat-message:has(.cs-chat-document-card){max-width:94%}
 .cs-colmena-pdf-head{gap:4px;padding-right:5px;padding-left:5px}
 .cs-colmena-pdf-head>b{font-size:14px}
 .cs-colmena-pdf-head>button:last-child{font-size:12px;padding:8px 9px}
 .cs-colmena-pdf-tools{gap:0;flex-wrap:nowrap;padding:2px 4px}
 .cs-colmena-pdf-tools button{min-width:40px;padding:8px}
 .cs-colmena-pdf-tools>span,.cs-colmena-pdf-tools>output{min-width:56px;padding:0 5px}
 .cs-colmena-pdf-stage{padding:10px 8px max(12px,env(safe-area-inset-bottom))}
}
@media(max-width:360px){
 .cs-colmena-pdf-head>b{font-size:13px}
}
@media(prefers-reduced-motion:reduce){#teamChatBody .cs-chat-document,.cs-colmena-pdf,.cs-colmena-pdf button{animation:none;transition:none;scroll-behavior:auto}}
