:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f3f5f8;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}.login-page{display:grid;min-height:100vh;place-items:center;padding:24px;background:linear-gradient(180deg,#00a884 0 130px,#dfe5e7 130px 100%)}.login-card{width:min(100%,430px);display:grid;gap:18px;padding:38px;border:1px solid #e6eaf0;border-radius:20px;background:#fff;box-shadow:0 24px 70px #16223a12}.brand-mark{display:grid;width:48px;height:48px;place-items:center;border-radius:15px;color:#fff;background:var(--chat-green);font-size:24px;font-weight:800}.brand-mark.small{width:38px;height:38px;border-radius:12px;font-size:19px}.eyebrow{margin:0 0 7px;color:var(--chat-green);font-size:11px;font-weight:800;letter-spacing:.12em}h1,h2,p{margin-top:0}.login-card h1{margin-bottom:-10px;font-size:30px;letter-spacing:-.04em}.muted{color:#7a8495;line-height:1.5}label{display:grid;gap:8px;color:#3c4658;font-size:13px;font-weight:650}input,textarea,select{width:100%;border:1px solid #dfe4eb;border-radius:10px;outline:none;padding:11px 12px;color:#172033;background:#fff}input:focus,textarea:focus,select:focus{border-color:var(--chat-green);box-shadow:0 0 0 3px #00a88416}textarea{resize:vertical}select[multiple]{min-height:150px}small{color:#7a8495;font-weight:400;line-height:1.5}.primary-button,.secondary-button,.icon-button{border:0;border-radius:10px;padding:11px 16px;font-weight:700}.primary-button{color:#fff;background:#00a884}.primary-button:hover{background:#008f72}.primary-button:disabled{cursor:not-allowed;opacity:.6}.primary-button.full-width{width:100%}.primary-button.compact{padding:9px 12px;font-size:12px}.secondary-button{color:#3d495b;border:1px solid #e1e6ed;background:#fff}.secondary-button:hover{background:#f6f8fa}.icon-button{width:36px;height:36px;padding:0;color:#6b7484;background:#f3f5f8;font-size:24px}.error-banner{border:1px solid #f4c7c7;border-radius:10px;padding:11px 13px;color:#a32626;background:#fff3f3;font-size:13px}.error-banner.inline{margin:12px}.portal{min-height:100vh}.topbar{display:flex;height:76px;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #e7ebf0;background:#fff}.brand,.account{display:flex;align-items:center;gap:12px}.brand strong,.account strong{display:block;font-size:14px}.brand span,.account span{display:block;margin-top:3px;color:#7a8495;font-size:12px}.account{gap:18px;text-align:right}.conversation-indicators{display:flex;align-items:center;gap:8px}.unread-badge{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;border-radius:999px;padding:0 7px;color:#fff;background:#d92d20;font-size:10px;font-weight:800;white-space:nowrap}.total-unread{min-width:0;height:24px;font-size:11px}.notification-enable{padding:8px 11px;font-size:12px}.notification-toast{position:fixed;z-index:20;top:88px;right:24px;display:flex;width:min(420px,calc(100vw - 32px));align-items:stretch;border:1px solid #d5e8df;border-radius:12px;background:#fff;box-shadow:0 12px 36px #10203330}.notification-toast-content,.notification-toast-dismiss{border:0;color:#172033;background:transparent}.notification-toast-content{display:grid;min-width:0;flex:1;gap:4px;padding:13px;text-align:left}.notification-toast-content strong{font-size:12px}.notification-toast-content span{overflow:hidden;color:#738093;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.notification-toast-dismiss{padding:0 13px;color:#738093;font-size:20px}.workspace{display:grid;width:min(1440px,100%);height:calc(100vh - 76px);min-height:560px;grid-template-columns:350px minmax(0,1fr);margin:0 auto;padding:20px;gap:18px}.conversation-sidebar,.chat-panel{min-height:0;overflow:hidden;border:1px solid #e5e9ef;border-radius:16px;background:#fff}.conversation-sidebar{display:flex;flex-direction:column}.conversation-search{padding:10px 12px 4px}.conversation-search input{border-radius:999px;background:#f7f9fb}.sidebar-heading,.chat-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px;border-bottom:1px solid #edf0f4}.sidebar-heading h2,.chat-heading h2{margin:0;font-size:20px;letter-spacing:-.03em}.chat-heading .muted{margin:6px 0 0;font-size:12px}.conversation-list{overflow:auto;padding:8px}.conversation-item{display:grid;width:100%;gap:7px;padding:14px;border:0;border-radius:11px;color:#263246;text-align:left;background:transparent}.conversation-item:hover,.conversation-item.selected{background:#f0f8f5}.conversation-item-heading,.conversation-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.conversation-item-heading{justify-content:flex-start}.conversation-item-heading strong{flex:1}.conversation-avatar{display:inline-grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:50%;color:#07875d;background:#dcf4e9;font-size:12px;font-weight:800}.conversation-item-heading strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.conversation-preview,.conversation-meta{overflow:hidden;color:#7a8495;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.empty-sidebar{padding:20px 14px;color:#7a8495;font-size:13px;line-height:1.5}.chat-panel{display:flex;flex-direction:column}.message-list{display:flex;min-height:0;flex:1;flex-direction:column;gap:4px;overflow:auto;padding:18px 24px 24px;background:#f7f9fa;background-image:radial-gradient(#dfe6e2 .7px,transparent .7px);background-size:18px 18px}.message-day{display:flex;width:100%;flex-direction:column}.date-divider{display:flex;align-items:center;justify-content:center;margin:8px 0 10px}.date-divider span{border-radius:999px;padding:6px 10px;color:#718096;background:#fff;box-shadow:0 1px 3px #243b5312;font-size:10px;font-weight:700}.message{width:fit-content;max-width:min(78%,680px);align-self:flex-start;padding:8px 10px 5px;border:1px solid #e4e9ed;border-radius:12px 12px 12px 3px;background:#fff;box-shadow:0 1px 2px #243b5312}.message.mine{align-self:flex-end;border-color:#cdeee1;border-radius:12px 12px 3px;background:#d9fdd3}.message-sender{display:block;margin-bottom:4px;color:var(--chat-green);font-size:11px}.message-time{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:2px;color:#7a8495;font-size:9px}.read-ticks{color:#7a8495;font-size:11px;font-weight:800;letter-spacing:-3px;margin-right:3px}.read-ticks.read{color:#1686cf}.message-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;color:#7a8495;font-size:11px}.message-meta strong{color:#3f4b5e}.message p{margin:0;color:#273346;font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.composer{display:flex;align-items:flex-end;gap:12px;padding:18px 22px;border-top:1px solid #edf0f4}.composer textarea{min-height:48px}.composer .primary-button{min-width:76px}.welcome-panel{display:grid;flex:1;align-content:center;justify-items:center;padding:28px;text-align:center}.welcome-panel h2{margin:16px 0 8px;letter-spacing:-.03em}.welcome-panel p{max-width:360px;color:#7a8495;line-height:1.5}.welcome-icon{display:grid;width:58px;height:58px;place-items:center;border-radius:18px;color:#07875d;background:#eaf8f2;font-size:27px}.new-chat-form{display:grid;align-content:start;gap:18px;overflow:auto;padding-bottom:24px}.new-chat-form>label,.new-chat-form>button{margin:0 24px}.new-chat-form>.chat-heading{margin-bottom:2px}@media(max-width:760px){.topbar{height:66px;padding:0 14px}.account{gap:8px}.account span{display:none}.account .total-unread{display:inline-flex}.notification-enable{padding:7px 8px;font-size:11px}.workspace{height:calc(100vh - 66px);min-height:0;grid-template-columns:1fr;gap:12px;padding:12px}.conversation-sidebar{height:100%;max-height:none}.chat-panel{min-height:0}.sidebar-heading,.chat-heading,.message-list{padding:16px}.message{width:92%}.composer{padding:12px}.login-card{padding:28px 22px}}:root{--chat-green: #00a884;--chat-green-dark: #008f72;--chat-mint: #d9fdd3;--chat-shell: #f0f2f5;--chat-line: #e9edef;--chat-muted: #667781;--chat-wallpaper: #efeae2}body{background:#dfe5e7}.portal{display:flex;height:100dvh;flex-direction:column;overflow:hidden;background:linear-gradient(180deg,#00a884 0 128px,#dfe5e7 128px 100%)}.topbar{z-index:1;height:72px;flex:0 0 72px;padding:0 max(22px,calc((100vw - 1440px)/2));border:0;background:#f0f2f5;box-shadow:0 2px 8px #0b141a12}.brand-mark{background:var(--chat-green)}.brand-mark.small{border-radius:50%}.brand-copy{display:grid;gap:1px}.brand-copy strong{font-size:15px;line-height:1.2}.brand-kicker{margin-top:0!important;color:var(--chat-green)!important;font-size:9px!important;font-weight:800;letter-spacing:.12em}.brand-route{margin-top:1px!important;font-size:11px!important}.brand span,.account span{color:var(--chat-muted)}.account{gap:10px}.account-profile{display:flex;min-width:0;align-items:center;gap:9px;padding-right:10px;border-right:1px solid #d9dee2}.account-avatar{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center;border-radius:50%;margin-top:0!important;color:#fff!important;background:#6b9b8e;font-size:11px;font-weight:700}.account-profile-copy{display:grid;gap:2px;margin:0!important;text-align:left}.account-profile-copy strong{color:#111b21;font-size:12px}.account-profile-copy small{color:var(--chat-muted);font-size:10px;white-space:nowrap}.account .secondary-button{border-radius:999px;padding:9px 14px}.workspace{width:min(1440px,calc(100% - 48px));height:min(900px,calc(100dvh - 96px));min-height:0;flex:1;grid-template-columns:minmax(320px,390px) minmax(0,1fr);margin:12px auto;padding:0;gap:0;overflow:hidden;border:1px solid #d6dbe0;border-radius:4px;background:#fff;box-shadow:0 6px 24px #0b141a24}.conversation-sidebar,.chat-panel{border:0;border-radius:0}.conversation-sidebar{border-right:1px solid #d9dee2}.sidebar-heading{min-height:66px;padding:12px 18px;border:0;background:var(--chat-shell)}.sidebar-heading h2{font-size:20px;letter-spacing:0}.sidebar-count{display:block;margin-top:3px;color:var(--chat-muted);font-size:11px}.conversation-search{padding:8px 12px;background:#fff}.conversation-search input{height:38px;padding:0 16px;border:0;border-radius:8px;background:#f0f2f5;font-size:13px}.conversation-search input:focus{border:0;box-shadow:0 0 0 2px #00a88430}.conversation-filters{display:flex;align-items:center;gap:8px;padding:4px 12px 10px;border-bottom:1px solid var(--chat-line)}.conversation-filters button{border:0;border-radius:999px;padding:7px 12px;color:var(--chat-muted);background:#f0f2f5;font-size:12px;font-weight:600}.conversation-filters button.active{color:#fff;background:var(--chat-green)}.conversation-list{padding:0}.contact-search-results{max-height:32%;flex:0 0 auto;overflow:auto;border-bottom:1px solid var(--chat-line);padding:4px 0;background:#fff}.contact-search-heading{margin:0;padding:7px 16px 3px;color:var(--chat-muted);font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.contact-search-result{display:grid;width:100%;grid-template-columns:46px minmax(0,1fr) auto;min-height:68px;align-items:center;gap:10px;border:0;padding:7px 14px;color:#111b21;background:transparent;text-align:left}.contact-search-result:hover{background:#f5f6f6}.contact-search-result:focus-visible{outline:2px solid var(--chat-green);outline-offset:-2px}.contact-search-copy{display:grid;min-width:0;flex:1;gap:3px}.contact-search-copy strong{overflow:hidden;font-size:13px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.contact-search-copy small{overflow:hidden;color:var(--chat-muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.skin-badge{display:inline-flex;width:fit-content;max-width:100%;align-items:center;overflow:hidden;border-radius:999px;padding:3px 8px;color:#075e54;background:#e7f5ef;font-size:10px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.skin-badge.compact{padding:3px 7px;font-size:9px}.contact-search-action{display:flex;flex:0 0 auto;align-items:center;gap:2px;color:var(--chat-muted);font-size:10px}.contact-search-arrow{font-size:20px}.contact-search-empty{margin:0;padding:10px 16px;color:var(--chat-muted);font-size:12px}.new-chat-recipient{display:flex;align-items:center;gap:12px;margin:0 24px;border:1px solid #e9edef;border-radius:10px;padding:12px;background:#f7f9fa}.new-chat-recipient>span:last-child{display:grid;gap:4px}.new-chat-recipient strong{color:#111b21;font-size:13px}.new-chat-recipient small{color:var(--chat-muted);font-size:11px}.conversation-item{min-height:88px;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:0;padding:10px 14px;border-bottom:1px solid var(--chat-line);border-radius:0}.conversation-item:hover{background:#f5f6f6}.conversation-item.selected{background:#f0f2f5;box-shadow:inset 3px 0 var(--chat-green)}.conversation-item-heading{display:contents}.conversation-avatar{width:46px;height:46px;grid-row:1 / 4;border-radius:50%;color:#fff;background:#6b9b8e;font-size:14px}.conversation-copy{display:grid;min-width:0;gap:5px;padding-left:8px}.conversation-mainline,.conversation-preview-row{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}.conversation-mainline strong{min-width:0;flex:1;overflow:hidden;color:#111b21;font-size:14px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.conversation-mainline .skin-badge{flex:0 1 auto}.conversation-mainline time{flex:0 0 auto;color:var(--chat-muted);font-size:10px}.conversation-preview{min-width:0;color:var(--chat-muted);font-size:12px}.conversation-context{overflow:hidden;color:var(--chat-muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.unread-badge{min-width:19px;height:19px;padding:0 5px;background:#25d366;font-size:10px}.chat-panel{background:#efeae2}.chat-heading{z-index:1;min-height:66px;padding:10px 18px;border:0;background:var(--chat-shell);box-shadow:0 1px 2px #0b141a14}.chat-contact{display:flex;min-width:0;align-items:center;gap:12px}.chat-avatar{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:50%;color:#fff;background:#6b9b8e;font-size:13px;font-weight:700}.chat-contact-copy{min-width:0}.chat-contact-copy h2{overflow:hidden;margin:0;color:#111b21;font-size:15px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.chat-contact-copy p{display:flex;align-items:center;gap:6px;overflow:hidden;margin:3px 0 0;color:var(--chat-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.chat-contact-copy p>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}.chat-contact-copy:focus-visible{border-radius:6px;outline:2px solid var(--chat-green);outline-offset:3px}.mobile-back{display:none}.message-list{gap:2px;padding:20px clamp(16px,5vw,72px);background-color:var(--chat-wallpaper);background-image:radial-gradient(circle at 20% 30%,#9d948622 0 2px,transparent 2.5px),radial-gradient(circle at 80% 70%,#9d94861c 0 3px,transparent 3.5px),linear-gradient(135deg,transparent 48%,#9d948612 49%,#9d948612 51%,transparent 52%);background-position:0 0,28px 32px,0 0;background-size:88px 88px,112px 112px,44px 44px}.date-divider{margin:10px 0 14px}.date-divider span{color:#54656f;background:#fff;box-shadow:0 1px 1px #0b141a1a;font-size:11px;font-weight:500}.message{position:relative;max-width:min(72%,620px);padding:7px 9px 5px;border:0;border-radius:8px;background:#fff;box-shadow:0 1px 1px #0b141a20}.message:before{position:absolute;width:0;height:0;content:""}.message:not(.mine):before{top:0;left:-6px;border-top:7px solid #fff;border-left:7px solid transparent}.message.mine{border:0;border-radius:8px;background:var(--chat-mint)}.message.mine:before{top:0;right:-6px;border-top:7px solid var(--chat-mint);border-right:7px solid transparent}.message p{font-size:13px;line-height:1.48}.message-sender{color:var(--chat-green)}.message-time{color:#667781;font-size:9px}.read-ticks.read{color:#53bdeb}.composer{align-items:center;gap:10px;padding:10px 16px;border:0;background:var(--chat-shell)}.composer textarea{min-height:42px;max-height:120px;resize:none;border:0;border-radius:9px;padding:12px 16px;background:#fff;font-size:13px}.composer textarea:focus{border:0;box-shadow:none}.composer .primary-button{display:grid;width:42px;min-width:42px;height:42px;place-items:center;border-radius:50%;padding:0;background:var(--chat-green)}.composer .primary-button:hover{background:var(--chat-green-dark)}.composer .primary-button svg{width:19px;height:19px;fill:currentColor;transform:translate(-1px)}.message-media-composer{display:flex;min-width:0;flex-direction:column;align-items:stretch;gap:7px}.composer.message-media-composer{padding:10px 16px;border:0;background:var(--chat-shell)}.new-chat-media-composer{margin:0 24px}.message-media-controls{display:flex;min-width:0;align-items:flex-end;gap:6px;border-radius:12px;padding:5px;background:#e9edef}.message-media-file-input{display:none}.message-media-controls textarea{min-width:0;min-height:42px;max-height:120px;flex:1;resize:none;border:0;border-radius:9px;padding:12px 14px;background:#fff;font-size:13px}.message-media-controls textarea:focus{border:0;box-shadow:none}.message-media-button,.message-media-send{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border:0;border-radius:50%;padding:0;color:#54656f;background:transparent}.message-media-button{font-size:18px}.message-media-button svg{width:20px;height:20px;fill:currentColor}.message-media-button.recording{color:#d92d20;background:#ffe4e4}.message-media-button:disabled{cursor:not-allowed;opacity:.5}.message-media-send{width:42px;height:42px;flex-basis:42px;color:#fff;background:var(--chat-green)}.message-media-send:hover{background:var(--chat-green-dark)}.message-media-send:disabled{cursor:not-allowed;opacity:.55}.message-media-send svg{width:19px;height:19px;fill:currentColor}.message-media-pending{display:flex;flex-wrap:wrap;gap:6px;padding:0 4px}.message-media-chip{display:flex;max-width:100%;align-items:center;gap:6px;border:1px solid #dfe4eb;border-radius:999px;padding:4px 8px;color:#3d495b;background:#fff;font-size:10px}.message-media-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-media-chip button{border:0;padding:0;color:inherit;background:transparent;font-size:16px;line-height:1}.message-media-status,.message-media-error{margin:0;padding:0 8px;font-size:11px}.message-media-status,.message-media-loading{color:var(--chat-muted)}.message-media-error,.message-media-load-error{color:#b42318}.message-media-audio{display:block;width:min(280px,100%);height:40px}.message-media-loading{display:block;font-size:10px}.message-media-load-error{margin:2px 0;font-size:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}.welcome-panel{background-color:var(--chat-wallpaper);background-image:radial-gradient(circle at 20% 30%,#9d948622 0 2px,transparent 2.5px),radial-gradient(circle at 80% 70%,#9d94861c 0 3px,transparent 3.5px),linear-gradient(135deg,transparent 48%,#9d948612 49%,#9d948612 51%,transparent 52%);background-position:0 0,28px 32px,0 0;background-size:88px 88px,112px 112px,44px 44px}.welcome-icon{width:68px;height:68px;border-radius:50%;color:var(--chat-green);background:#d9fdd3}.new-chat-form{background:#fff}.notification-toast{border-radius:8px}.total-unread{background:var(--chat-green)}@media(max-width:760px){.portal{background:#fff}.topbar{height:60px;flex-basis:60px;padding:0 12px}.brand-mark.small{width:34px;height:34px}.brand-copy strong{font-size:13px}.brand-route,.brand-kicker,.account-profile-copy{display:none}.account{gap:6px}.account-profile{padding-right:6px;border-right:0}.account-avatar{display:grid;width:32px;height:32px;flex-basis:32px}.account .secondary-button{padding:7px 10px;font-size:11px}.workspace{width:100%;height:calc(100dvh - 60px);min-height:0;margin:0;grid-template-columns:1fr;border:0;border-radius:0;box-shadow:none}.conversation-sidebar{border-right:0}.workspace.chat-active .conversation-sidebar{display:none}.workspace:not(.chat-active) .chat-panel{display:none}.chat-panel{min-height:0}.sidebar-heading,.chat-heading{min-height:58px;padding:8px 12px}.conversation-item{min-height:88px}.message-list{padding:12px}.message{max-width:84%}.composer{padding:9px}.mobile-back{display:grid;width:32px;height:38px;place-items:center;border:0;color:var(--chat-green);background:transparent;font-size:30px;line-height:1}}.login-card-heading{display:flex;align-items:center;justify-content:space-between}.portal-loading{color:#667781;font-size:14px}.login-page[data-theme=dark] .portal-loading{color:#aebac1}.theme-toggle{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:7px;border:1px solid #d5dcdf;border-radius:999px;padding:7px 12px;color:#54656f;background:#fff;font-size:12px;font-weight:600}.theme-toggle:hover{background:#f0f2f5}.theme-toggle>span:first-child{font-size:17px;line-height:1}.portal[data-theme=dark]{color:#e9edef;background:linear-gradient(180deg,#202c33 0 128px,#0b141a 128px 100%);color-scheme:dark}.login-page[data-theme=dark]{color:#e9edef;background:linear-gradient(180deg,#202c33 0 130px,#0b141a 130px 100%);color-scheme:dark}.login-page[data-theme=dark] .login-card{border-color:#2a3942;background:#111b21;box-shadow:0 24px 70px #0006}.login-page[data-theme=dark] .login-card h1,.portal[data-theme=dark] .sidebar-heading h2,.portal[data-theme=dark] .chat-heading h2{color:#e9edef}.login-page[data-theme=dark] .muted,.login-page[data-theme=dark] label,.portal[data-theme=dark] label{color:#c5d0d5}.login-page[data-theme=dark] input,.login-page[data-theme=dark] textarea,.login-page[data-theme=dark] select,.portal[data-theme=dark] input,.portal[data-theme=dark] textarea,.portal[data-theme=dark] select{border-color:#2a3942;color:#e9edef;background:#202c33}.login-page[data-theme=dark] small,.portal[data-theme=dark] small,.portal[data-theme=dark] .brand span,.portal[data-theme=dark] .account span,.portal[data-theme=dark] .sidebar-count,.portal[data-theme=dark] .conversation-preview,.portal[data-theme=dark] .conversation-meta,.portal[data-theme=dark] .chat-contact-copy p,.portal[data-theme=dark] .welcome-panel p{color:#8696a0}.login-page[data-theme=dark] .theme-toggle,.portal[data-theme=dark] .theme-toggle,.portal[data-theme=dark] .secondary-button{border-color:#37474f;color:#d1d7db;background:#202c33}.login-page[data-theme=dark] .theme-toggle:hover,.portal[data-theme=dark] .theme-toggle:hover,.portal[data-theme=dark] .secondary-button:hover{background:#2a3942}.portal[data-theme=dark] .topbar,.portal[data-theme=dark] .sidebar-heading,.portal[data-theme=dark] .chat-heading,.portal[data-theme=dark] .composer,.portal[data-theme=dark] .new-chat-form{border-color:#26353d;background:#202c33}.portal[data-theme=dark] .account-profile{border-color:#37474f}.portal[data-theme=dark] .account-profile-copy strong{color:#e9edef}.portal[data-theme=dark] .workspace{border-color:#26353d;background:#111b21}.portal[data-theme=dark] .conversation-sidebar,.portal[data-theme=dark] .chat-panel{background:#111b21}.portal[data-theme=dark] .conversation-sidebar{border-color:#26353d}.portal[data-theme=dark] .conversation-search{background:#111b21}.portal[data-theme=dark] .conversation-search input{background:#202c33}.portal[data-theme=dark] .conversation-filters{border-color:#26353d}.portal[data-theme=dark] .conversation-filters button{color:#aebac1;background:#202c33}.portal[data-theme=dark] .conversation-filters button.active{color:#fff;background:var(--chat-green)}.portal[data-theme=dark] .contact-search-results{border-color:#26353d;background:#111b21}.portal[data-theme=dark] .contact-search-heading,.portal[data-theme=dark] .contact-search-empty,.portal[data-theme=dark] .contact-search-copy small,.portal[data-theme=dark] .contact-search-arrow{color:#8696a0}.portal[data-theme=dark] .skin-badge{color:#a7e6d4;background:#103f38}.portal[data-theme=dark] .contact-search-action,.portal[data-theme=dark] .conversation-context{color:#8696a0}.portal[data-theme=dark] .contact-search-result{color:#e9edef}.portal[data-theme=dark] .contact-search-result:hover{background:#202c33}.portal[data-theme=dark] .new-chat-recipient{border-color:#26353d;background:#202c33}.portal[data-theme=dark] .message-media-controls{background:#182229}.portal[data-theme=dark] .message-media-chip{border-color:#37474f;color:#e9edef;background:#111b21}.portal[data-theme=dark] .message-media-button{color:#c5d0d5}.portal[data-theme=dark] .message-media-status,.portal[data-theme=dark] .message-media-loading{color:#aebac1}.portal[data-theme=dark] .new-chat-recipient strong{color:#e9edef}.portal[data-theme=dark] .conversation-item{color:#e9edef;border-color:#26353d}.portal[data-theme=dark] .conversation-item:hover,.portal[data-theme=dark] .conversation-item.selected{background:#202c33}.portal[data-theme=dark] .conversation-mainline strong,.portal[data-theme=dark] .message p,.portal[data-theme=dark] .message-meta strong{color:#e9edef}.portal[data-theme=dark] .message-list,.portal[data-theme=dark] .welcome-panel{background-color:#0b141a;background-image:radial-gradient(circle at 20% 30%,#ffffff0b 0 2px,transparent 2.5px),radial-gradient(circle at 80% 70%,#ffffff08 0 3px,transparent 3.5px),linear-gradient(135deg,transparent 48%,#ffffff06 49%,#ffffff06 51%,transparent 52%);background-position:0 0,28px 32px,0 0;background-size:88px 88px,112px 112px,44px 44px}.portal[data-theme=dark] .message:not(.mine){border-color:#202c33;background:#202c33}.portal[data-theme=dark] .message.mine{border-color:#005c4b;background:#005c4b}.portal[data-theme=dark] .message:not(.mine):before{border-top-color:#202c33}.portal[data-theme=dark] .message.mine:before{border-top-color:#005c4b}.portal[data-theme=dark] .message-sender,.portal[data-theme=dark] .message-time,.portal[data-theme=dark] .read-ticks{color:#aebac1}.portal[data-theme=dark] .date-divider span{color:#d1d7db;background:#182229}.portal[data-theme=dark] .composer{border-color:#26353d}.portal[data-theme=dark] .composer textarea{border:0;background:#2a3942}.portal[data-theme=dark] .notification-toast{border-color:#37474f;background:#202c33}.portal[data-theme=dark] .notification-toast-content,.portal[data-theme=dark] .notification-toast-dismiss{color:#e9edef}.portal[data-theme=dark] .notification-toast-content span{color:#aebac1}@media(max-width:760px){.portal[data-theme=dark]{background:#0b141a}.portal[data-theme=dark] .topbar{background:#202c33}.theme-toggle{min-height:32px;padding:6px 9px}.account .theme-toggle span{display:none}}@media(max-width:760px){.workspace{grid-template-rows:minmax(0,1fr)}.conversation-sidebar,.chat-panel{height:100%;min-height:0}.conversation-sidebar{max-height:none}.conversation-list{min-height:0;flex:1}.composer.message-media-composer{padding:9px 12px max(9px,env(safe-area-inset-bottom))}}@media(max-width:380px){.topbar{gap:8px;padding-right:8px;padding-left:8px}.brand{min-width:0;gap:7px}.brand-mark.small{width:30px;height:30px;flex-basis:30px}.brand-copy strong{font-size:12px}.account{gap:4px}.account-profile{padding-right:4px}.account-avatar{width:28px;height:28px;flex-basis:28px}.account .secondary-button{padding:6px 8px;font-size:10px}}
