.chat-pilot{color:#6d6251;margin:0 0 12px;font-size:12px}.chat-layout{background:#fff;grid-template-columns:minmax(240px,30%) minmax(0,1fr);height:calc(100dvh - 215px);min-height:420px;display:grid;overflow:hidden}.chat-directory{background:#faf9f5;border-right:1px solid #e9e5db;padding:18px;overflow:auto}.chat-directory-heading,.chat-conversation-heading{align-items:center;gap:12px;display:flex}.chat-directory-heading{justify-content:space-between;margin-bottom:16px}.chat-directory h2{margin:0;font-size:17px}.chat-directory h3{margin-top:24px;font-size:13px}.chat-search{background:#fff;align-items:center;gap:8px;margin-bottom:16px;padding:8px 10px;display:flex}.chat-search input{background:0 0;flex:1;width:0;min-width:0;padding:0;font-size:13px;border:0!important}.chat-room-link,.chat-member{min-width:0;color:inherit;align-items:center;gap:10px;padding:12px 8px;text-decoration:none;display:flex}.chat-room-link.selected{background:#f4e6b5}.chat-room-link>span:not(.avatar){flex:1;min-width:0}.chat-room-link strong,.chat-room-link small{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.chat-room-link small{color:#756f64;margin-top:5px;font-size:12px}.chat-room-link time{white-space:nowrap;font-size:10px}.chat-unread{text-align:center;color:#fff;background:#a97913;min-width:21px;margin-top:6px;font-size:11px;display:block}.chat-member strong{flex:1;font-size:13px}.chat-member button{white-space:nowrap;font-size:12px}.chat-welcome{color:#7a7263;flex-direction:column;justify-content:center;align-items:center;display:flex}.chat-welcome h2{margin-bottom:0;font-size:19px}.chat-welcome p{font-size:13px}.chat-conversation{flex-direction:column;min-width:0;min-height:0;display:flex}.chat-conversation-heading{background:#fff;border-bottom:1px solid #eee9df;min-height:62px;padding:12px 18px}.chat-conversation-heading strong{font-size:15px}.chat-messages{overscroll-behavior:contain;scrollbar-gutter:stable;background:#f5f3ed;flex:1;min-height:0;padding:16px 24px;overflow:auto}.chat-day{text-align:center;color:#776f61;margin:12px 0 20px;font-size:11px}.chat-message{outline-offset:3px;align-items:flex-start;gap:8px;margin:0 0 20px;display:flex}.chat-message>.avatar{flex-shrink:0;width:32px;height:32px}.chat-own{justify-content:flex-end}.chat-message-content{min-width:0;max-width:82%}.chat-sender{color:#746b5c;margin-bottom:5px;font-size:11px;display:block}.chat-own .chat-sender{text-align:right}.chat-bubble{overflow-wrap:anywhere;color:#302b24;background:#fff;border-radius:0 12px 12px;padding:12px 15px}.chat-own .chat-bubble{background:#f6dfa0;border-radius:12px 0 12px 12px}.chat-bubble p{white-space:pre-wrap;margin:0;font-size:14px;line-height:1.65}.chat-message-meta{color:#756e63;align-items:center;gap:10px;margin-top:4px;font-size:10px;display:flex}.chat-own .chat-message-meta{justify-content:flex-end}.chat-message-meta button{background:0 0;border:0;padding:4px}.chat-reactions{flex-wrap:wrap;gap:3px;margin-top:3px;display:flex}.chat-own .chat-reactions{justify-content:flex-end}.chat-reactions button{color:#716756;background:0 0;border:0;align-items:center;gap:3px;min-width:28px;min-height:28px;padding:4px 5px;font-size:11px;display:flex}.chat-reactions button[aria-pressed=true]{color:#45320d;background:#ead495}.chat-reactions button:hover{background:#e7e2d6}.chat-quote{width:100%;color:inherit;text-align:left;background:#00000006;border:0;border-left:3px solid #a88938;gap:8px;margin-bottom:8px;padding:7px 9px;display:flex}.chat-quote span{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}.chat-quote b{display:block}.chat-attachment{margin:8px 0}.chat-attachment img{object-fit:contain;max-width:100%;max-height:240px;display:block}.chat-attachment button{text-align:left;background:0 0;border:0;gap:8px;max-width:100%;font-size:12px;display:flex}.chat-attachment span{overflow-wrap:anywhere;min-width:0}.chat-attachment small{font-size:10px;display:block}.chat-composer{padding:12px 18px max(12px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e9e5db}.chat-input-row{align-items:flex-end;gap:9px;display:flex}.chat-input-row textarea{resize:none;background:#f6f5f1;border:0;flex:1;width:0;min-width:0;min-height:64px;max-height:140px;padding:10px;font-size:14px}.chat-send{border:0;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex;color:#fff!important;background:#a5760b!important}.chat-send:disabled{opacity:.45}.chat-composer>small{color:#8b8171;margin-top:6px;font-size:10px;display:block}.chat-reply-preview{background:#f5f3ec;align-items:center;gap:8px;margin-bottom:8px;padding:8px;font-size:12px;display:flex}.chat-reply-preview span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.chat-reply-preview strong{font-size:11px;display:block}.chat-pending-files{margin:0 0 8px;padding:0;list-style:none}.chat-pending-files li{align-items:center;gap:8px;font-size:12px;display:flex}.chat-pending-files span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.chat-error{color:#9b3c35;background:#fbe9e7;padding:8px 16px;font-size:12px}.chat-error button{margin-left:8px}.chat-empty{color:#7c7263;padding:18px;font-size:13px;line-height:1.7}.chat-older{margin:0 auto;font-size:12px;display:block}@media (max-width:850px){.chat-layout{grid-template-columns:1fr;height:calc(100dvh - 215px);min-height:360px;margin:0!important}.chat-welcome,.chat-has-room .chat-directory{display:none}.chat-directory{border:0;padding:12px}.chat-messages{padding:12px}.chat-message-content{max-width:85%}.chat-bubble p{font-size:13px}.chat-composer{padding:9px 10px max(9px,env(safe-area-inset-bottom))}.chat-input-row{gap:5px}.chat-input-row textarea{font-size:16px}.chat-conversation-heading{padding:8px 12px}.chat-reactions button{min-width:32px;min-height:32px}.chat-pilot{font-size:11px}.chat-layout .chat-conversation{min-height:0}}.notification-category.category-chat{color:#fff;background:#997219}.chat-layout{min-height:0}.chat-own>.avatar{order:2}.chat-conversation-heading strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.chat-member strong{overflow-wrap:anywhere}.shell.chat-shell .body>main{width:100%;max-width:none;margin:0;padding:0!important}.chat-shell main>.page-heading,.chat-shell main>footer,.chat-shell .topbar .search,.chat-shell .mobile-search-toggle,.chat-shell .mobile-search-panel{display:none!important}.chat-shell .chat-layout{flex-direction:column;width:100%;height:calc(100dvh - 72px);min-height:0;margin:0;display:flex}.chat-shell .chat-directory{border:0;flex:1;padding:12px 24px}.chat-shell .chat-has-room .chat-directory{display:none}.chat-shell .chat-conversation{flex:1;height:100%}.chat-shell .chat-conversation-heading{flex-shrink:0;min-height:60px;margin:0;padding:8px 20px}.chat-shell .chat-room-link,.chat-shell .chat-member{border-bottom:1px solid #eeeae0;padding:16px 8px}.chat-shell .chat-messages{scrollbar-gutter:auto;padding:18px 24px}.chat-shell .chat-message-content{max-width:min(78%,680px)}.chat-shell .chat-bubble p{font-size:15px}.chat-shell .chat-message{margin-bottom:16px}.chat-shell .chat-composer{width:100%;padding:10px 20px max(10px,env(safe-area-inset-bottom));flex-shrink:0;margin:0}.chat-shell .chat-input-row textarea{min-height:48px}.chat-reactions .chat-reaction-badge{background:#eee9df;border-radius:12px;gap:5px;min-height:30px;padding:4px 9px}.chat-reactions .chat-reaction-badge>span{font-size:18px;line-height:1.2}.chat-reactions .chat-reaction-badge small{font-size:12px}.chat-reactions .chat-reaction-badge[aria-pressed=true]{background:#f7df9b;box-shadow:inset 0 0 0 1px #b08426}.chat-reactions .chat-reaction-add{color:#8b8171;min-width:36px;min-height:32px}dialog.chat-emoji-picker{color:#332d24;background:#fff;border:0;border-radius:12px;width:min(360px,100vw - 32px);max-width:calc(100vw - 32px);padding:16px;box-shadow:0 8px 40px #0002}dialog.chat-emoji-picker::backdrop{background:#0003}.chat-emoji-heading{justify-content:space-between;align-items:center;margin-bottom:10px;font-size:13px;display:flex}.chat-emoji-heading button{background:0 0;border:0;justify-content:center;align-items:center;min-width:36px;min-height:36px;display:flex}.chat-emoji-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.chat-emoji-grid button{background:#f8f6f0;border:0;border-radius:8px;min-height:52px;font-size:28px}.chat-emoji-grid button:hover,.chat-emoji-grid button[aria-pressed=true]{background:#f7df9b}@media (max-width:850px){.shell.chat-shell{padding-bottom:0!important}.chat-shell .mobile-tabs{display:none!important}.chat-shell .chat-layout{height:calc(100dvh - 60px)}.chat-shell .chat-directory{padding:8px 16px}.chat-shell .chat-conversation-heading{min-height:56px;padding:4px 10px}.chat-shell .chat-messages{padding:12px 14px}.chat-shell .chat-message-content{max-width:calc(100% - 46px)}.chat-shell .chat-bubble{padding:10px 13px}.chat-shell .chat-bubble p{font-size:14px}.chat-shell .chat-composer{padding:8px 10px max(8px,env(safe-area-inset-bottom))}.chat-shell .chat-composer>small{font-size:10px}.chat-shell .chat-input-row textarea{font-size:16px}dialog.chat-emoji-picker{inset:auto 0 max(16px,env(safe-area-inset-bottom));margin:0 auto}.chat-shell .toast{bottom:16px}}.chat-shell #main-content:focus,.chat-shell .chat-message:focus,.chat-shell .chat-conversation:focus{box-shadow:none!important;outline:none!important}.chat-shell .chat-input-row textarea:focus,.chat-shell .chat-input-row textarea:focus-visible{background:#f1efe8;box-shadow:none!important;border:0!important;outline:none!important}@media (max-width:850px){:is(html:has(.chat-shell),body:has(.chat-shell)){overscroll-behavior:none;overflow:hidden!important}.shell.chat-shell{top:var(--chat-viewport-top,0px);height:var(--chat-viewport-height,100dvh);position:fixed;left:0;right:0;overflow:hidden;min-height:0!important}.chat-shell>.body{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.chat-shell .topbar{flex-shrink:0;position:relative;top:auto}.shell.chat-shell .body>main{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.chat-shell .chat-layout{flex:1;min-height:0;height:auto!important}.chat-shell .chat-conversation{min-height:0;overflow:hidden}.chat-shell .chat-messages{min-height:0}.chat-shell .chat-composer{max-height:60%;overflow-y:auto}}.chat-list-actions{z-index:1;background:#faf9f5;justify-content:flex-end;display:flex;position:sticky;top:0}dialog.chat-member-picker{width:min(480px,100vw - 32px);max-height:75dvh;color:var(--ink);background:#fff;border:0;padding:20px;overflow:auto;box-shadow:0 8px 40px #0002}dialog.chat-member-picker::backdrop{background:#0003}.chat-picker-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.chat-picker-heading h2{margin:0;font-size:16px}@media (max-width:850px){.shell.chat-list-shell .mobile-tabs{display:grid!important}.chat-list-shell>.body{padding-bottom:calc(64px + env(safe-area-inset-bottom));box-sizing:border-box}}.chat-reactions .chat-emoji-grid button{justify-content:center;align-items:center;width:100%;min-height:52px;font-size:28px;display:flex}dialog.chat-image-viewer{color:#fff;background:#151515;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:48px 16px 16px;position:fixed;inset:0}dialog.chat-image-viewer::backdrop{background:#151515}.chat-image-viewer>button{color:#fff;position:absolute;top:12px;right:12px}.chat-attachment .chat-image-viewer img{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%}.chat-image-open{padding:0}

