@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap);.matrix-chat__message-edit{display:flex;flex-direction:column;gap:8px}.matrix-chat__message-edit-textarea{border:1px solid #ced4da;border-radius:4px;font-family:inherit;font-size:14px;min-height:60px;padding:8px;resize:vertical;width:100%}.matrix-chat__message-edit-textarea:focus{border-color:#0c63e4;box-shadow:0 0 0 3px rgba(13,110,253,.1);outline:none}.matrix-chat__message-edit-actions{display:flex;gap:6px}.matrix-chat__message-edit-actions button{border:1px solid #ced4da;border-radius:3px;cursor:pointer;font-size:12px;padding:6px 12px;transition:all .15s ease}.btn-primary{background:#0c63e4;border-color:#0c63e4;color:#fff}.btn-primary:hover{background:#0b5ed7;border-color:#0a58ca}.btn-secondary{background:#e9ecef;border-color:#ced4da;color:#495057}.btn-secondary:hover{background:#e2e6ea;border-color:#adb5bd}.matrix-chat__message-text-wrapper{align-items:baseline;display:flex;gap:4px}.matrix-chat__message-edited{color:var(--text-muted,#6c757d);font-size:11px;font-style:italic;white-space:nowrap}.matrix-chat__messages-wrap{display:flex;flex:1;flex-direction:column;min-height:0;position:relative}.matrix-chat__jump-latest{align-items:center;background:#2563eb;border:none;border-radius:20px;bottom:12px;box-shadow:0 2px 10px rgba(15,23,42,.18);color:#fff;cursor:pointer;display:inline-flex;font-family:Inter,system-ui,sans-serif;font-size:13px;font-weight:500;gap:6px;line-height:1.25;padding:8px 14px;position:absolute;right:max(12px,env(safe-area-inset-right,0px));z-index:2}.matrix-chat__jump-latest-icon{display:flex;flex-shrink:0;line-height:0}.matrix-chat__jump-latest:hover{background:#1d4ed8}.matrix-chat__jump-latest:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}.matrix-chat__unread-divider{align-items:center;display:flex;flex-shrink:0;gap:10px;margin:4px 0 10px}.matrix-chat__unread-divider-line{flex:1;height:1px;min-width:0}.matrix-chat__unread-divider-line--left{background:linear-gradient(90deg,transparent,#f59e0b)}.matrix-chat__unread-divider-line--right{background:linear-gradient(270deg,transparent,#f59e0b)}.matrix-chat__unread-divider-label{background:#fffbeb;border:1px solid #fde68a;border-radius:9999px;color:#b45309;flex-shrink:0;font-size:11px;font-weight:500;padding:2px 10px;white-space:nowrap}@media (prefers-color-scheme:dark){.matrix-chat__unread-divider-line--left{background:linear-gradient(90deg,transparent,#d97706)}.matrix-chat__unread-divider-line--right{background:linear-gradient(270deg,transparent,#d97706)}.matrix-chat__unread-divider-label{border-color:rgba(217,119,6,.4)}}.matrix-chat__messages{display:flex;flex:1;flex-direction:column;gap:20px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:16px 20px;-webkit-overflow-scrolling:touch}@media (max-width:991.98px){.matrix-chat__messages{gap:14px;padding:12px max(12px,env(safe-area-inset-left,0px)) 14px max(12px,env(safe-area-inset-right,0px))}}.matrix-chat__messages::-webkit-scrollbar{width:8px}.matrix-chat__messages::-webkit-scrollbar-track{background:transparent}.matrix-chat__messages::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.matrix-chat__messages::-webkit-scrollbar-thumb:hover{background:#94a3b8}.matrix-chat__messages{scrollbar-color:#cbd5e1 transparent;scrollbar-width:thin}.matrix-chat__message-row{display:flex;flex-direction:column;gap:10px}.matrix-chat__message-row+.matrix-chat__message-row--grouped{margin-top:-12px}.matrix-chat__empty-messages{align-items:center;color:var(--text-muted,#6c757d);display:flex;font-size:var(--font-size-sm,13px);height:100%;justify-content:center}@keyframes matrix-chat-message-fade-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.matrix-chat__day-separator,.matrix-chat__message,.matrix-chat__message-redacted{animation:none}}.matrix-chat__message-redacted{align-items:center;animation:matrix-chat-message-fade-in .38s ease-out both;display:flex;gap:8px;padding:8px 0}.matrix-chat__message-redacted-text{color:var(--text-muted,#6c757d);font-size:12px;font-style:italic;padding-left:20px}.matrix-chat__message{align-items:flex-start;animation:matrix-chat-message-fade-in .38s ease-out both;display:flex;gap:10px;position:relative}.matrix-chat__message--grouped{padding-left:40px}.matrix-chat__message--dm{padding-left:0;width:100%}.matrix-chat__message--dm .matrix-chat__message-body{max-width:min(85%,520px)}.matrix-chat__message--dm-peer{justify-content:flex-start}.matrix-chat__message--dm-peer .matrix-chat__message-body{align-items:flex-start}.matrix-chat__message--dm-peer .matrix-chat__message-bubble{border-top-left-radius:0;border-top-right-radius:14px}.matrix-chat__message--dm-peer .matrix-chat__message-bubble--grouped{border-top-left-radius:14px}.matrix-chat__message--dm-own{justify-content:flex-end}.matrix-chat__message--dm-own .matrix-chat__message-body{align-items:flex-end}.matrix-chat__message--dm-own .matrix-chat__message-bubble-row{flex-direction:row-reverse}.matrix-chat__message--dm-own .matrix-chat__message-bubble{background:#e3edff;border-top-left-radius:14px;border-top-right-radius:0}.matrix-chat__message--dm-own .matrix-chat__message-bubble--grouped{border-top-right-radius:14px}.matrix-chat__message--dm-own .matrix-chat__message-meta{text-align:right}.matrix-chat__message--dm-own .matrix-chat__message-reactions{justify-content:flex-end}@media (max-width:991.98px){.matrix-chat__message--grouped{padding-left:28px}.matrix-chat__message{gap:8px}.matrix-chat__message-bubble{max-width:min(100%,calc(100vw - 48px));padding:9px 12px}}.matrix-chat__message-avatar{align-items:center;border-radius:100%;color:#fff;display:flex;flex-shrink:0;font-size:11px;font-weight:700;height:30px;justify-content:center;margin-top:1px;width:30px}.matrix-chat__message-body{align-items:flex-start;display:flex;flex:1;flex-direction:column;min-width:0}.matrix-chat__message-bubble-row{align-items:center;display:flex;gap:6px;max-width:100%}.matrix-chat__message-bubble{background:#f4f7fd;border-radius:14px;border-top-left-radius:0;box-sizing:border-box;display:block;font-family:Inter,system-ui,sans-serif;font-weight:400;max-width:100%;padding:10px 14px;width:fit-content}.matrix-chat__message-bubble--grouped{border-top-left-radius:14px}.matrix-chat__message-bubble .matrix-chat__message-reply-preview{background:#e5eaf4;border:none;border-left:3px solid #64748b;border-radius:8px;margin-bottom:8px}.matrix-chat__message-bubble .matrix-chat__message-reply-preview .matrix-chat__reply-preview-sender{color:#64748b}.matrix-chat__message-bubble .matrix-chat__message-reply-preview .matrix-chat__reply-preview-text{color:#7c8a9e}.matrix-chat__message-bubble .matrix-chat__message-meta{margin-top:6px}.matrix-chat__message-header{align-items:center;display:flex;gap:8px;margin-bottom:6px;padding-left:2px}.matrix-chat__message-header strong{color:var(--bs-tertiary-color,#1f2d3d);font-size:var(--font-size-xs,12px);font-weight:400}.matrix-chat__message-local-group-badge{align-items:center;background:#eefefe;border:1px solid #b4e6e1;border-radius:8px;color:#6ab8a1;display:inline-flex;font-family:Inter,system-ui,sans-serif;font-size:10px;font-weight:600;line-height:1.3;padding:2px 7px;white-space:nowrap}.matrix-chat__message-local-group-badge--national{background:#f4f7ff;border:1px solid #bfd0ef;color:#78a3ed}.matrix-chat__message-local-group-badge--job-title{background:#fff6ed;border:1px solid #f0c9a0;color:#d4843a}.matrix-chat__message-meta{text-align:left}.matrix-chat__message-relative-time{color:var(--text-muted,#cbd5e1);font-family:Inter,system-ui,sans-serif;font-size:10px;font-weight:400;line-height:1.25;opacity:.7}.matrix-chat__message-text{color:var(--text-color,#1f2d3d);font-family:Inter,system-ui,sans-serif;font-size:14px;font-weight:400;line-height:1.5;word-break:break-word}.matrix-chat__message-text--emoji-only{font-size:44px;line-height:1.1}.matrix-chat__message-text--emoji-only p{margin:0}.matrix-chat__message-text-wrapper{font-family:Inter,system-ui,sans-serif;font-size:14px;font-weight:400}.matrix-chat__message-reply-preview{background:var(--gray-100,#f1f3f5);border-left:3px solid #3b82f6;border-radius:2px;font-size:12px;margin-bottom:6px;padding:6px 8px}.matrix-chat__reply-preview-sender{color:var(--text-color,#1f2d3d);font-weight:600;margin-bottom:2px}.matrix-chat__reply-preview-text{color:var(--text-muted,#6c757d);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.matrix-chat__message-image{margin:4px 0}.matrix-chat__image-wrapper{display:inline-block;position:relative}.matrix-chat__message-image img{border-radius:5px;display:block;max-height:300px;max-width:100%}.matrix-chat__download-btn{background:rgba(0,0,0,.55);border:none;border-radius:4px;bottom:6px;color:#fff;cursor:pointer;font-size:13px;height:28px;line-height:1;opacity:0;padding:0;position:absolute;right:6px;transition:opacity .15s ease;width:28px}.matrix-chat__image-wrapper:hover .matrix-chat__download-btn{opacity:1}.matrix-chat__message-caption{color:var(--text-color,#1f2d3d);font-family:Inter,system-ui,sans-serif;font-size:14px;font-weight:400;line-height:1.4;margin-top:6px}.matrix-chat__media-loading{border-radius:5px;color:var(--text-muted,#6c757d);display:flex;height:120px;justify-content:center;width:200px}.matrix-chat__media-loading,.matrix-chat__message-attachment{align-items:center;background:var(--gray-100,#f1f3f5);font-size:12px}.matrix-chat__message-attachment{border:1px solid var(--border-secondary-color,#ced4da);border-radius:5px;display:inline-flex;gap:8px;padding:8px 12px}.matrix-chat__attachment-icon{flex-shrink:0}.matrix-chat__attachment-name{color:#3b82f6;font-weight:500;max-width:200px;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.matrix-chat__attachment-name:hover{color:#2563eb;text-decoration:underline}.matrix-chat__attachment-size{color:var(--text-muted,#6c757d);flex-shrink:0;font-size:11px}.matrix-chat__attachment-download-btn{background:none;border:1px solid var(--border-secondary-color,#ced4da);border-radius:4px;color:var(--text-color,#1f2d3d);cursor:pointer;flex-shrink:0;font-size:12px;height:24px;line-height:1;padding:0;transition:background-color .15s ease;width:24px}.matrix-chat__attachment-download-btn:hover:not(:disabled){background:var(--gray-200,#e9ecef)}.matrix-chat__attachment-download-btn:disabled{cursor:not-allowed;opacity:.4}.matrix-chat__message-actions{display:flex;flex-direction:row;flex-shrink:0;flex-wrap:nowrap;gap:3px;opacity:0;pointer-events:none;transition:opacity .15s ease}.matrix-chat__message-bubble-row:hover .matrix-chat__message-actions{opacity:1;pointer-events:auto}.matrix-chat__message-action-btn{align-items:center;background:#fff;border:none;border-radius:6px;color:#64748b;cursor:pointer;display:flex;height:28px;justify-content:center;padding:0;transition:background-color .15s ease,color .15s ease;width:28px}.matrix-chat__message-action-icon{flex-shrink:0;height:15px;width:15px}.matrix-chat__message-action-btn:hover{background:#f8fafc;color:#334155}.matrix-chat__message-action-btn--delete:hover{background:#fef2f2;color:#dc2626}.matrix-chat__message-reactions{display:flex;flex-wrap:wrap;gap:3px;margin-top:6px;max-width:100%}.matrix-chat__reaction-bubble{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:999px;cursor:pointer;display:inline-flex;font-size:12px;gap:2px;line-height:1.35;padding:1px 5px;transition:background-color .15s ease,border-color .15s ease}.matrix-chat__reaction-bubble--mine,.matrix-chat__reaction-bubble:hover{background:#fff;border-color:#cbd5e1}.matrix-chat__reaction-bubble--mine:hover{background:#f8fafc;border-color:#94a3b8}.matrix-chat__reaction-picker{background:#fff;border:none;border-radius:6px;box-shadow:none;display:flex;flex-wrap:wrap;gap:1px;padding:4px;width:fit-content}.matrix-chat__reaction-picker-btn{align-items:center;background:none;border:none;border-radius:4px;cursor:pointer;display:flex;font-size:16px;height:26px;justify-content:center;transition:background-color .1s ease;width:26px}.matrix-chat__reaction-picker-btn:hover{background:var(--gray-100,#f1f3f5)}.matrix-chat__message-text b,.matrix-chat__message-text strong{font-weight:600}.matrix-chat__message-text em,.matrix-chat__message-text i{font-style:italic}.matrix-chat__message-text p{margin:0 0 4px}.matrix-chat__message-text p:last-child{margin-bottom:0}.matrix-chat__message-text :where(h1,h2,h3,h4,h5,h6,p,span,div,a,li,ul,ol,blockquote,pre,code,small,big,font){font-size:inherit!important;line-height:inherit}.matrix-chat__message-text :where(h1,h2,h3,h4,h5,h6){font-weight:600;margin:0 0 4px}.matrix-chat__message-text ol,.matrix-chat__message-text ul{margin:4px 0;padding-left:20px}.matrix-chat__message-text li{margin-bottom:2px}.matrix-chat__message-text a{color:#3b82f6;text-decoration:underline}.matrix-chat__message-text a:hover{color:#2563eb}.matrix-chat__message-text code{background:var(--gray-100,#f1f3f5);border-radius:3px;font-family:Menlo,Monaco,Courier New,monospace;font-size:.9em;padding:1px 4px}.matrix-chat__day-separator{animation:matrix-chat-message-fade-in .38s ease-out both;background:rgba(248,250,252,.85);border:1px solid #e8edf2;border-radius:9999px;color:#94a3b8;display:block;font-family:Inter,system-ui,sans-serif;font-size:11px;font-weight:400;line-height:1.3;margin:10px auto 2px;max-width:calc(100% - 24px);padding:3px 10px;text-align:center;text-transform:capitalize;width:fit-content}.matrix-chat__floating-date{display:flex;justify-content:center;left:50%;max-width:calc(100% - 24px);opacity:0;pointer-events:none;position:absolute;top:10px;transform:translateX(-50%);transition:opacity .22s ease-out;z-index:8}.matrix-chat__floating-date--visible{opacity:1}.matrix-chat__floating-date-pill{background:rgba(248,250,252,.92);border:1px solid #e8edf2;border-radius:9999px;box-shadow:none;color:#94a3b8;display:inline-block;font-family:Inter,system-ui,sans-serif;font-size:11px;font-weight:400;line-height:1.3;max-width:100%;padding:3px 10px;text-transform:capitalize}@media (prefers-reduced-motion:reduce){.matrix-chat__floating-date{transition:none}}.matrix-chat__input-area{display:flex;flex-direction:column;flex-shrink:0;gap:6px;padding:8px 14px 10px}.matrix-chat__input-area--readonly{background:#0d6efd;border-top:1px solid #9ab6ea;padding:12px 14px 14px}.matrix-chat__readonly-banner{background:#edf3ff;border:1px solid #9ab6ea;border-radius:8px;color:#1f3f80;font-size:13px;line-height:1.45;margin:0;padding:12px 14px;text-align:center}.matrix-chat__input-area--readonly .matrix-chat__readonly-banner{background:transparent;border:0;color:#edf3ff;margin:0;padding:0}.matrix-chat__input-row{align-items:flex-end;display:flex;gap:8px}.matrix-chat__input-row--file-drop{background:rgba(37,99,235,.11);border:2px dashed #2563eb;border-radius:16px;box-sizing:border-box;padding:8px;transition:background .12s ease,border-color .12s ease}.matrix-chat__input-row--file-drop .matrix-chat__input{background:hsla(0,0%,100%,.92);border-color:#3b82f6;box-shadow:none}.matrix-chat__reply-bar{align-items:center;background:var(--gray-100,#f1f3f5);border-left:3px solid #3b82f6;border-radius:12px;display:flex;font-size:12px;gap:8px;padding:6px 8px}.matrix-chat__reply-content{flex:1;min-width:0}.matrix-chat__reply-text{color:var(--text-muted,#6c757d);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.matrix-chat__reply-text strong{color:var(--text-color,#1f2d3d);font-weight:600}.matrix-chat__reply-excerpt{color:var(--text-color,#1f2d3d);display:block;font-size:11px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.matrix-chat__reply-close{background:transparent;border:none;color:var(--text-muted,#6c757d);cursor:pointer;flex-shrink:0;font-size:12px;height:20px;padding:0;transition:color .15s ease;width:20px}.matrix-chat__reply-close:hover{color:var(--text-color,#1f2d3d)}.matrix-chat__attach-btn{background:transparent;border:1px solid var(--border-secondary-color,#ced4da);border-radius:5px;color:var(--text-muted,#6c757d);cursor:pointer;flex-shrink:0;font-size:16px;line-height:1;padding:7px 8px;transition:background-color .15s ease,color .15s ease}.matrix-chat__attach-btn:hover:not(:disabled){background:var(--gray-200,#e9ecef);color:var(--text-color,#1f2d3d)}.matrix-chat__attach-btn:disabled{background:var(--gray-100,#f1f3f5);color:var(--text-muted,#6c757d);cursor:not-allowed}.matrix-chat__attach-btn--inside{align-items:center;background:transparent;border:none;border-radius:8px;bottom:auto;box-shadow:none;color:var(--text-muted,#64748b);display:flex;font-size:17px;height:32px;justify-content:center;left:16px;line-height:1;padding:0;position:absolute;right:auto;top:50%;transform:translateY(-50%);width:32px;z-index:3}.matrix-chat__attach-btn-icon{flex-shrink:0;height:18px;width:18px}.matrix-chat__attach-btn--inside:hover:not(:disabled){background:var(--gray-100,#f1f3f5);color:var(--text-color,#1f2d3d)}.matrix-chat__attach-btn--inside:disabled{background:transparent;opacity:.55}.matrix-chat__emoji-btn--inside{align-items:center;background:transparent;border:none;border-radius:8px;bottom:auto;box-shadow:none;color:var(--text-muted,#64748b);cursor:pointer;display:flex;height:32px;justify-content:center;left:52px;padding:0;position:absolute;right:auto;top:50%;transform:translateY(-50%);transition:background-color .15s ease,color .15s ease;width:32px;z-index:3}.matrix-chat__emoji-btn-icon{flex-shrink:0;height:18px;width:18px}.matrix-chat__emoji-btn--inside:hover:not(:disabled){background:var(--gray-100,#f1f3f5);color:var(--text-color,#1f2d3d)}.matrix-chat__emoji-btn--inside:disabled{background:transparent;cursor:not-allowed;opacity:.55}.matrix-chat__emoji-btn--inside.matrix-chat__emoji-btn--active{background:var(--gray-200,#e9ecef);color:#3b82f6}.matrix-chat__file-bar{align-items:center;background:var(--gray-100,#f1f3f5);border-left:3px solid #3b82f6;border-radius:3px;display:flex;gap:8px;padding:6px 8px}.matrix-chat__file-bar-thumb img{border-radius:3px;height:48px;object-fit:cover;width:48px}.matrix-chat__file-bar-info{flex:1;font-size:12px;min-width:0}.matrix-chat__file-bar-name{color:var(--text-color,#1f2d3d);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.matrix-chat__file-bar-size{color:var(--text-muted,#6c757d)}.matrix-chat__input-composer{align-items:stretch;display:flex;flex:1;min-width:0;position:relative;width:100%}.matrix-chat__input{background:var(--gray-50,#f8f9fa);border:1px solid var(--border-secondary-color,#ced4da);border-radius:24px;box-sizing:border-box;color:var(--text-color,#1f2d3d);cursor:text;flex:1;font-family:inherit;font-size:14px;line-height:1.45;max-height:180px;min-height:64px;min-width:0;overflow-y:auto;transition:border-color .15s ease,box-shadow .15s ease;width:100%}.matrix-chat__input:focus-within{border-color:#3b82f6;box-shadow:1px 1px 20px 3px #99bef46e}.matrix-chat__input--disabled{background:var(--gray-100,#f1f3f5);color:var(--text-muted,#6c757d);pointer-events:none}.matrix-chat__input .ProseMirror{box-sizing:border-box;min-height:20px;outline:none;padding:20px 78px 20px 94px;width:100%}.matrix-chat__input .ProseMirror p{margin:0}.matrix-chat__input .ProseMirror p+p{margin-top:4px}.matrix-chat__input .ProseMirror ol,.matrix-chat__input .ProseMirror ul{margin:4px 0;padding-left:20px}.matrix-chat__input .ProseMirror li{margin:0}.matrix-chat__input .ProseMirror p.is-editor-empty:first-child:before{color:var(--text-muted,#6c757d);content:attr(data-placeholder);float:left;height:0;pointer-events:none}.matrix-chat__send-btn{align-items:center;background:#3b82f6;border:none;border-radius:12px;bottom:auto;box-shadow:0 1px 2px rgba(15,23,42,.12);color:#fff;cursor:pointer;display:flex;flex-shrink:0;height:42px;justify-content:center;padding:0;position:absolute;right:18px;top:50%;transform:translateY(-50%);transition:background-color .15s ease,opacity .15s ease;width:42px;z-index:4}.matrix-chat__send-btn-icon{height:20px;width:20px}.matrix-chat__send-btn-spinner{animation:matrix-chat-spin .65s linear infinite;border:2px solid hsla(0,0%,100%,.35);border-radius:50%;border-top-color:#fff;height:20px;width:20px}@keyframes matrix-chat-spin{to{transform:rotate(1turn)}}.matrix-chat__send-btn:hover:not(:disabled){background:#2563eb}.matrix-chat__send-btn:disabled{background:var(--gray-300,#ced4da);box-shadow:none;cursor:not-allowed}.matrix-chat__send-btn:disabled .matrix-chat__send-btn-icon{opacity:.85}@media (max-width:991.98px){.matrix-chat__input-area{padding-inline:max(10px,env(safe-area-inset-left,0px)) max(10px,env(safe-area-inset-right,0px));padding-bottom:max(10px,env(safe-area-inset-bottom,0px))}.matrix-chat__input-area--readonly{padding-inline:max(12px,env(safe-area-inset-left,0px)) max(12px,env(safe-area-inset-right,0px));padding-bottom:max(12px,env(safe-area-inset-bottom,0px))}}.matrix-profile-modal__overlay{align-items:center;background:rgba(15,23,42,.45);display:flex;inset:0;justify-content:center;position:fixed;z-index:1000}.matrix-profile-modal{background:#fff;border-radius:12px;box-shadow:0 8px 32px rgba(15,23,42,.18);font-family:Inter,system-ui,sans-serif;max-width:400px;padding:24px;width:100%}.matrix-profile-modal__header{align-items:center;display:flex;margin-bottom:20px}.matrix-profile-modal__title{color:#0f172a;flex:1;font-size:16px;font-weight:700;margin:0}.matrix-profile-modal__close{background:transparent;border:none;color:#94a3b8;cursor:pointer;font-size:22px;line-height:1;padding:0 4px}.matrix-profile-modal__close:hover{color:#0f172a}.matrix-profile-modal__loading{color:#64748b;font-size:14px;padding:16px 0;text-align:center}.matrix-profile-modal__form{display:flex;flex-direction:column;gap:10px}.matrix-profile-modal__label{color:#374151;font-size:13px;font-weight:500}.matrix-profile-modal__input{border:1px solid #d1d5db;border-radius:8px;color:#0f172a;font-family:inherit;font-size:14px;outline:none;padding:9px 12px;transition:border-color .15s}.matrix-profile-modal__input:focus{border-color:#6366f1}.matrix-profile-modal__error{color:#dc2626;font-size:13px;margin:0}.matrix-profile-modal__success{color:#16a34a;font-size:13px;margin:0}.matrix-profile-modal__actions{display:flex;gap:8px;justify-content:flex-end;margin-top:8px}.matrix-profile-modal__btn{border:none;border-radius:8px;cursor:pointer;font-family:inherit;font-size:14px;font-weight:500;padding:8px 18px;transition:background .15s}.matrix-profile-modal__btn:disabled{cursor:default;opacity:.55}.matrix-profile-modal__btn--cancel{background:#f1f5f9;color:#374151}.matrix-profile-modal__btn--cancel:hover:not(:disabled){background:#e2e8f0}.matrix-profile-modal__btn--save{background:#6366f1;color:#fff}.matrix-profile-modal__btn--save:hover:not(:disabled){background:#4f46e5}.matrix-chat-wrapper{background:#f4f7fd;display:flex;flex-direction:column;height:100vh;margin:0;overflow:hidden;padding:0}.matrix-chat-wrapper>[data-controller]{flex:1;flex-direction:column}.matrix-chat,.matrix-chat-wrapper>[data-controller]{background:#f4f7fd;display:flex;height:100%;overflow:hidden;width:100%}.matrix-chat{align-items:flex-start;border:none;border-radius:0;box-sizing:border-box;color:var(--text-color,#1f2d3d);font-family:var(--font-family-base,system-ui,sans-serif);font-size:var(--font-size-base,14px);gap:20px;justify-content:center;min-height:0;padding:0}.matrix-chat__panel{background:var(--body-bg,#fff);border:1px solid var(--border-secondary-color,#e1e4e8);border-radius:16px;box-shadow:0 1px 2px rgba(15,23,42,.06);display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}.matrix-chat__panel--rooms{align-self:flex-start;flex-shrink:0;margin:0;max-height:100%;min-height:300px;min-width:240px;width:320px}.matrix-chat__panel--messages{align-self:stretch;flex:1 1 auto;margin:0;max-width:780px;min-height:100%;min-width:0}.matrix-chat.error,.matrix-chat.loading{align-items:center;align-self:stretch;color:var(--text-muted,#6c757d);font-size:var(--font-size-base,14px);justify-content:center;width:100%}.matrix-chat.error{color:#dc2626}.matrix-chat__sidebar{background:#fff;display:flex;flex:1;flex-direction:column;min-height:0}.matrix-chat__sidebar-top{align-items:center;border-bottom:1px solid var(--border-tertiary-color,#e9ecef);display:flex;flex-shrink:0;padding:14px 16px 12px}.matrix-chat__sidebar-title{color:#0f172a;flex:1;font-family:Inter,system-ui,sans-serif;font-size:18px;font-weight:700;line-height:1.25;margin:0}.matrix-chat__new-dm-btn{align-items:center;background:transparent;border:none;border-radius:10px;color:#07bcc4;cursor:pointer;display:flex;flex-shrink:0;height:36px;justify-content:center;margin-left:4px;padding:0;transition:background .15s,color .15s;width:36px}.matrix-chat__new-dm-btn--section{margin-left:auto}.matrix-chat__new-dm-btn:hover{background:rgba(7,188,196,.08);color:#059aa1}.matrix-chat__settings-btn{align-items:center;background:transparent;border:none;border-radius:6px;color:#64748b;cursor:pointer;display:flex;flex-shrink:0;height:30px;justify-content:center;transition:background .15s,color .15s;width:30px}.matrix-chat__settings-btn:hover{background:#f1f5f9;color:#0f172a}.matrix-chat__push-toggle{align-items:center;background:transparent;border:none;border-radius:10px;color:#94a3b8;cursor:pointer;display:flex;flex-shrink:0;height:36px;justify-content:center;margin-left:auto;padding:0;transition:background .15s,color .15s,border-color .15s;width:36px}.matrix-chat__push-toggle:hover:not(:disabled){background:#f1f5f9;color:#64748b}.matrix-chat__push-toggle:disabled{cursor:wait;opacity:.65}.matrix-chat__push-toggle--on{color:#64748b}.matrix-chat__push-toggle--on:hover:not(:disabled){background:#f1f5f9;color:#64748b}.matrix-chat__push-toggle--error{border-color:#fca5a5;color:#dc2626}.matrix-chat__push-toggle--error:hover:not(:disabled){background:#fef2f2;color:#b91c1c}.matrix-chat__sidebar-subheader{background:#fff;color:#9ba3b5;flex-shrink:0;font-family:Inter,system-ui,sans-serif;font-size:10px;font-weight:600;letter-spacing:.55px;padding:10px 16px 8px;text-transform:uppercase}.matrix-chat__room-list{flex:1 1 auto;min-height:0;overflow-y:auto;padding-bottom:12px;-webkit-overflow-scrolling:touch}.matrix-chat__room-section-separator{align-items:center;border-top:1px solid var(--border-tertiary-color,#e9ecef);color:#3d5ba2;display:flex;font-size:13px;font-weight:300;gap:6px;margin-top:15px;padding:10px 10px 10px 20px;text-align:left}.matrix-chat__room-section-separator-icon{flex-shrink:0}.matrix-chat__room-section-separator--first{border-top:0}.matrix-chat__room-item{align-items:center;border-radius:10px;cursor:pointer;display:flex;gap:20px;margin:0 10px;padding:12px 15px;transition:background-color .12s ease;user-select:none}.matrix-chat__room-item:hover{background:var(--gray-100,#f1f3f5)}.matrix-chat__room-item.active{background:var(--gray-100,#e9ecef)}.matrix-chat__room-avatar{align-items:center;border-radius:50px;color:#fff;display:flex;flex-shrink:0;font-size:9px;font-weight:700;height:25px;justify-content:center;width:25px}.matrix-chat__room-avatar-image{border-radius:12px;display:block;flex-shrink:0;height:34px;object-fit:cover;width:34px}.matrix-chat__room-avatar--announcements,.matrix-chat__room-avatar--help,.matrix-chat__room-avatar--presidents{background:transparent;box-shadow:0 1px 3px rgba(15,23,42,.12);overflow:hidden;padding:0}.matrix-chat__announcements-room-icon,.matrix-chat__help-room-icon,.matrix-chat__presidents-room-icon{display:block;height:34px;width:34px}.matrix-chat__announcements-room-icon-bg{fill:#0044c3}.matrix-chat__presidents-room-icon-bg{fill:#06bcc4}.matrix-chat__help-room-icon-bg{fill:#6174d1}.matrix-chat__room-info{flex:1;min-width:0}.matrix-chat__room-name{align-items:center;color:var(--text-color,#1f2d3d);display:flex;font-size:var(--font-size-sm,13px);font-weight:400;gap:6px;justify-content:space-between}.matrix-chat__room-name-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.matrix-chat__room-unread{background:#0d6efd;border-radius:999px;color:#fff;flex-shrink:0;font-size:12px;min-width:18px;padding:0 8px;text-align:center}.matrix-chat__room-item.active .matrix-chat__room-name{color:#3d5ba2}.matrix-chat__room-members{color:var(--text-muted,#6c757d);font-size:var(--font-size-xs,12px);margin-top:1px}.matrix-chat__room-members--tagline{color:#94a3b8;font-size:10px;line-height:1.35;margin-top:3px;white-space:normal}.matrix-chat__main{background:#fff;display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.matrix-chat__empty{align-items:center;color:var(--text-muted,#6c757d);display:flex;font-size:var(--font-size-sm,13px);height:100%;justify-content:center}.matrix-chat__empty--select-conversation{flex-direction:column;gap:8px;padding:32px 24px;text-align:center}.matrix-chat__empty-conversation-icon{color:#3d5ba2;flex-shrink:0}.matrix-chat__empty-conversation-icon+.matrix-chat__empty-conversation-tagline{margin-top:4px}.matrix-chat__empty-conversation-tagline{color:#3d5ba2;font-family:Inter,system-ui,sans-serif;font-size:.7rem;letter-spacing:.02em;line-height:1.4;margin:0;max-width:22rem}.matrix-chat__empty-conversation-text{color:#3d5ba2;font-family:Inter,system-ui,sans-serif;font-size:1.2rem;line-height:1.35;margin:10px 0 0;max-width:15rem}.matrix-chat__header{align-items:center;display:flex;flex-shrink:0;gap:12px;padding:10px 18px}.matrix-chat__header .matrix-chat__room-avatar-image{height:42px;width:42px}.matrix-chat__header--announcements,.matrix-chat__header--help,.matrix-chat__header--presidents{align-items:center;min-height:72px;padding:14px 18px 12px}.matrix-chat__header-announcements-icon,.matrix-chat__header-help-icon,.matrix-chat__header-presidents-icon{filter:drop-shadow(0 1px 2px rgba(15,23,42,.1));flex-shrink:0;line-height:0}.matrix-chat__announcements-room-icon--header,.matrix-chat__help-room-icon--header,.matrix-chat__presidents-room-icon--header{display:block;height:42px;width:42px}.matrix-chat__header-inner{display:flex;flex:1;flex-direction:column;gap:2px;justify-content:center;min-width:0}.matrix-chat__header-back-btn{align-items:center;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;color:#334155;cursor:pointer;display:inline-flex;flex-shrink:0;font-family:inherit;height:34px;justify-content:center;line-height:1;margin:0;padding:0;width:34px;-webkit-tap-highlight-color:transparent}.matrix-chat__header-back-btn:active{background:#e2e8f0}.matrix-chat__header-back-btn-icon{font-size:18px;font-weight:600;line-height:1;margin-inline-start:-1px}.matrix-chat__header h2,.matrix-chat__header-title{color:var(--text-color,#1f2d3d);font-size:var(--font-size-base,14px);font-weight:600;margin:0}.matrix-chat__header-title{align-self:stretch;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.matrix-chat__header--announcements .matrix-chat__header-title,.matrix-chat__header--help .matrix-chat__header-title,.matrix-chat__header--presidents .matrix-chat__header-title{font-size:16px}.matrix-chat__header-members{color:#94a3b8;font-family:Inter,system-ui,sans-serif;font-size:12px;font-weight:400;line-height:1.3;margin:0}@keyframes matrix-chat-header-fade-in{0%{opacity:0}to{opacity:1}}.matrix-chat__header-members--fade-in{animation:matrix-chat-header-fade-in .32s ease-out both}@media (prefers-reduced-motion:reduce){.matrix-chat__header-members--fade-in{animation:none}}.matrix-chat__typing{align-items:center;color:#767b82;display:flex;flex-shrink:0;flex-wrap:wrap;font-family:Inter,system-ui,sans-serif;font-size:13px;font-weight:400;gap:3px;line-height:1.35;margin-bottom:10px;margin-left:16px}.matrix-chat__typing-dots{align-items:center;display:inline-flex;gap:3px;margin-right:4px}.matrix-chat__typing-dot{animation:matrix-chat-typing-bounce 1.2s ease-in-out infinite;background:currentColor;border-radius:50%;height:6px;opacity:.35;width:6px}.matrix-chat__typing-dot:nth-child(2){animation-delay:.15s}.matrix-chat__typing-dot:nth-child(3){animation-delay:.3s}@keyframes matrix-chat-typing-bounce{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media (max-width:991.98px){.matrix-chat--mobile{align-items:stretch;flex-direction:column;gap:0;min-height:0;padding:0}.matrix-chat--mobile .matrix-chat__panel--rooms{align-self:stretch;min-width:0;width:100%}.matrix-chat--mobile .matrix-chat__panel--messages,.matrix-chat--mobile .matrix-chat__panel--rooms{border-inline:none;border-radius:0;box-shadow:none;flex:1 1 auto;max-width:none;min-height:0}.matrix-chat--mobile-rooms .matrix-chat__panel--messages,.matrix-chat--mobile-thread .matrix-chat__panel--rooms{display:none!important}.matrix-chat--mobile .matrix-chat__header{padding-inline:max(12px,env(safe-area-inset-left,0px));padding-inline-end:max(12px,env(safe-area-inset-right,0px))}.matrix-chat--mobile .matrix-chat__typing{margin-inline-end:max(12px,env(safe-area-inset-right,0px));margin-inline-start:max(12px,env(safe-area-inset-left,0px))}}@keyframes matrix-dm-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes matrix-dm-modal-in{0%{opacity:0;transform:scale(.82)}to{opacity:1;transform:scale(1) translateY(0)}}.matrix-dm-modal__backdrop{align-items:center;animation:matrix-dm-backdrop-in .32s ease-out both;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:rgba(15,23,42,.4);display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:1000}.matrix-dm-modal{animation:matrix-dm-modal-in .4s cubic-bezier(.22,1,.36,1) both;background:#fff;border-radius:14px;box-shadow:0 8px 32px rgba(15,23,42,.18);box-sizing:border-box;display:flex;flex-direction:column;max-height:80vh;max-width:420px;overflow:hidden;padding:12px 18px 18px;transform-origin:center 42%;width:100%}@media (prefers-reduced-motion:reduce){.matrix-dm-modal,.matrix-dm-modal__backdrop{animation:none;opacity:1;transform:none}}.matrix-dm-modal__header{align-items:center;border-bottom:1px solid #e9ecef;display:flex;flex-shrink:0;gap:10px;padding:6px 0 14px}.matrix-dm-modal__title-icon{color:#3d5ba2;display:block;flex-shrink:0}.matrix-dm-modal__title{color:#3d5ba2;flex:1;font-size:16px;margin:0;min-width:0}.matrix-dm-modal__close{background:transparent;border:none;border-radius:4px;color:#94a3b8;cursor:pointer;font-size:18px;line-height:1;padding:2px 4px;transition:color .15s}.matrix-dm-modal__close:hover{color:#0f172a}.matrix-dm-modal__search-wrap{flex-shrink:0;padding:14px 0 10px}.matrix-dm-modal__search{border:1px solid #d1d5db;border-radius:8px;box-sizing:border-box;font-size:14px;outline:none;padding:8px 12px;transition:border-color .15s;width:100%}.matrix-dm-modal__search:focus{border-color:#6366f1}.matrix-dm-modal__error{background:#fef2f2;border:1px solid #fca5a5;border-radius:6px;color:#dc2626;flex-shrink:0;font-size:13px;margin:0 0 10px;padding:10px 14px}.matrix-dm-modal__list{flex:1;overflow-y:auto;padding:6px 0 10px}.matrix-dm-modal__hint{color:#94a3b8;font-size:13px;margin:14px 0;text-align:center}.matrix-dm-modal__hint--creating{border-top:1px solid #e9ecef;flex-shrink:0;padding:10px 0 4px}.matrix-dm-modal__contact{align-items:flex-start;background:transparent;border:none;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;padding:12px 14px;text-align:left;transition:background .12s;width:100%}.matrix-dm-modal__contact:hover:not(:disabled){background:#f1f5f9}.matrix-dm-modal__contact:disabled{cursor:not-allowed;opacity:.5}.matrix-dm-modal__contact-name{color:#1e293b;font-size:14px;font-weight:500}.matrix-dm-modal__contact-group{color:#64748b;font-size:12px;margin-top:1px}body[data-bs-theme=dark] .matrix-chat-wrapper,body[data-bs-theme=dark] .matrix-chat-wrapper>[data-controller]{background:var(--bs-tertiary-bg,#1a1d21)}body[data-bs-theme=dark] .matrix-chat{background:var(--bs-body-bg,#1a1d21);color:var(--bs-body-color,#dee2e6);color-scheme:dark}body[data-bs-theme=dark] .matrix-chat__panel{background:var(--bs-body-bg,#212529);border-color:var(--bs-border-color,#495057);box-shadow:0 1px 3px rgba(0,0,0,.35)}body[data-bs-theme=dark] .matrix-chat__sidebar{background:var(--bs-tertiary-bg,#343a40)}body[data-bs-theme=dark] .matrix-chat__sidebar-subheader,body[data-bs-theme=dark] .matrix-chat__sidebar-top{background:var(--bs-tertiary-bg,#343a40);border-bottom-color:var(--bs-border-color,#495057)}body[data-bs-theme=dark] .matrix-chat__sidebar-title{color:var(--bs-body-color,#f8f9fa)}body[data-bs-theme=dark] .matrix-chat__push-toggle{border-color:var(--bs-border-color,#495057);color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-chat__push-toggle:hover:not(:disabled){background:var(--bs-secondary-bg,#2b3035);color:var(--bs-body-color,#dee2e6)}body[data-bs-theme=dark] .matrix-chat__push-toggle--on{color:#85a2a4}body[data-bs-theme=dark] .matrix-chat__push-toggle--on:hover:not(:disabled){background:rgba(7,188,196,.12);color:#c5fafd}body[data-bs-theme=dark] .matrix-chat__push-toggle--error{border-color:hsla(0,91%,71%,.45);color:#f87171}body[data-bs-theme=dark] .matrix-chat__sidebar-subheader{color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-chat__new-dm-btn{color:#9af7fd}body[data-bs-theme=dark] .matrix-chat__new-dm-btn:hover{background:rgba(7,188,196,.12)}body[data-bs-theme=dark] .matrix-chat__room-item{border-bottom-color:var(--bs-border-color-translucent,hsla(0,0%,100%,.1))}body[data-bs-theme=dark] .matrix-chat__room-item:hover{background:var(--bs-secondary-bg,#343a40)}body[data-bs-theme=dark] .matrix-chat__room-item.active{background:var(--bs-body-bg,#2b3035);border-left-color:#3d8bfd}body[data-bs-theme=dark] .matrix-chat__room-name{color:var(--bs-body-color,#dee2e6)}body[data-bs-theme=dark] .matrix-chat__room-item.active .matrix-chat__room-name{color:#9af7fd}body[data-bs-theme=dark] .matrix-chat__room-members{color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-chat__room-members--tagline{color:#94a3b8}body[data-bs-theme=dark] .matrix-chat__room-section-separator{background:var(--bs-tertiary-bg,#343a40);border-bottom-color:var(--bs-border-color-translucent,hsla(0,0%,100%,.1));border-top-color:var(--bs-border-color-translucent,hsla(0,0%,100%,.1));color:#9af7fd}body[data-bs-theme=dark] .matrix-chat__room-avatar--announcements,body[data-bs-theme=dark] .matrix-chat__room-avatar--help,body[data-bs-theme=dark] .matrix-chat__room-avatar--presidents{box-shadow:0 1px 3px rgba(0,0,0,.4)}body[data-bs-theme=dark] .matrix-chat__header--announcements{background:linear-gradient(135deg,#422006,#451a03);border-bottom-color:#b45309}body[data-bs-theme=dark] .matrix-chat__readonly-banner{background:#0044c3;border-color:#0044c3;color:#a9c3f0}[data-bs-theme=dark] .matrix-chat__input-area--readonly,body[data-bs-theme=dark] .matrix-chat__input-area--readonly{background:#0044c3!important;border-top-color:#0044c3!important}[data-bs-theme=dark] .matrix-chat__input-area--readonly .matrix-chat__readonly-banner,body[data-bs-theme=dark] .matrix-chat__input-area--readonly .matrix-chat__readonly-banner{background:transparent!important;border:0;color:#a9c3f0}body[data-bs-theme=dark] .matrix-chat__main{background:var(--bs-tertiary-bg,#343a40)}body[data-bs-theme=dark] .matrix-chat__empty{color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-chat__empty-conversation-icon,body[data-bs-theme=dark] .matrix-chat__empty-conversation-text{color:#9af7fd}body[data-bs-theme=dark] .matrix-chat__empty-conversation-tagline{color:#b9dee0}body[data-bs-theme=dark] .matrix-chat__header{background:var(--bs-tertiary-bg,#343a40);border-bottom-color:var(--bs-border-color-translucent,#495057)}body[data-bs-theme=dark] .matrix-chat__header h2,body[data-bs-theme=dark] .matrix-chat__header-title{color:var(--bs-body-color,#f8f9fa)}body[data-bs-theme=dark] .matrix-chat__header-members{color:#94a3b8}body[data-bs-theme=dark] .matrix-chat.error,body[data-bs-theme=dark] .matrix-chat.loading,body[data-bs-theme=dark] .matrix-chat__typing{color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-chat.error{color:#f87171}body[data-bs-theme=dark] .matrix-chat__messages::-webkit-scrollbar-thumb{background:#475569}body[data-bs-theme=dark] .matrix-chat__messages::-webkit-scrollbar-thumb:hover{background:#64748b}body[data-bs-theme=dark] .matrix-chat__messages{scrollbar-color:#475569 transparent}body[data-bs-theme=dark] .matrix-chat__jump-latest{background:#3b82f6;box-shadow:0 2px 12px rgba(0,0,0,.35)}body[data-bs-theme=dark] .matrix-chat__jump-latest:hover{background:#2563eb}body[data-bs-theme=dark] .matrix-chat__jump-latest:focus-visible{outline-color:#93c5fd}body[data-bs-theme=dark] .matrix-chat__unread-divider-label{background:rgba(27,21,18,.3);color:#d97708}body[data-bs-theme=dark] .matrix-chat__empty-messages{color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-chat__day-separator{background:rgba(33,37,41,.55);border:1px solid rgba(73,80,87,.45);color:#6c7a89}body[data-bs-theme=dark] .matrix-chat__floating-date-pill{background:rgba(33,37,41,.72);border:1px solid rgba(73,80,87,.45);box-shadow:none;color:#6c7a89}body[data-bs-theme=dark] .matrix-chat__message-bubble{background:#27282b}body[data-bs-theme=dark] .matrix-chat__message--dm-own .matrix-chat__message-bubble{background:#1e3354}body[data-bs-theme=dark] .matrix-chat__message-bubble .matrix-chat__message-reply-preview{background:#232a38;border-left-color:#94a3b8}body[data-bs-theme=dark] .matrix-chat__message-bubble .matrix-chat__message-reply-preview .matrix-chat__reply-preview-sender{color:#94a3b8}body[data-bs-theme=dark] .matrix-chat__message-bubble .matrix-chat__message-header strong,body[data-bs-theme=dark] .matrix-chat__message-bubble .matrix-chat__message-reply-preview .matrix-chat__reply-preview-text{color:#a8b4c4}body[data-bs-theme=dark] .matrix-chat__message-header strong{color:#808c9a}body[data-bs-theme=dark] .matrix-chat__message-local-group-badge{background:#142c2e;border:1px solid #2c6865;color:#578e93;font-weight:200}body[data-bs-theme=dark] .matrix-chat__message-local-group-badge--national{background:#1a2a44;border:1px solid #3d4b65;color:#6f93d2;font-weight:200}body[data-bs-theme=dark] .matrix-chat__message-local-group-badge--job-title{background:#2a2018;border:1px solid #5c4530;color:#d4935c;font-weight:200}body[data-bs-theme=dark] .matrix-chat__message-text{color:var(--bs-body-color,#e9ecef)}body[data-bs-theme=dark] .matrix-chat__message-relative-time{color:#94a3b8;opacity:.85}body[data-bs-theme=dark] .matrix-chat__message-redacted-text{color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-chat__reaction-bubble{background:var(--bs-secondary-bg,#343a40);border-color:var(--bs-border-color,#495057)}body[data-bs-theme=dark] .matrix-chat__reaction-bubble:hover{background:var(--bs-tertiary-bg,#2b3035);border-color:#64748b}body[data-bs-theme=dark] .matrix-chat__reaction-bubble--mine{background:var(--bs-secondary-bg,#343a40);border-color:#64748b}body[data-bs-theme=dark] .matrix-chat__reaction-bubble--mine:hover{background:#3d4654;border-color:#94a3b8}body[data-bs-theme=dark] .matrix-chat__reaction-picker{background:var(--bs-body-bg,#212529);border-color:transparent;box-shadow:none}body[data-bs-theme=dark] .matrix-chat__reaction-picker-btn:hover{background:var(--bs-secondary-bg,#343a40)}body[data-bs-theme=dark] .matrix-chat__message-action-btn{background:var(--bs-secondary-bg,#343a40);color:#94a3b8}body[data-bs-theme=dark] .matrix-chat__message-action-btn:hover{background:var(--bs-tertiary-bg,#2b3035);color:#e2e8f0}body[data-bs-theme=dark] .matrix-chat__message-action-btn--delete:hover{background:rgba(220,38,38,.2);color:#f87171}body[data-bs-theme=dark] .matrix-chat__message-text a{color:#7cb3ff}body[data-bs-theme=dark] .matrix-chat__message-text a:hover{color:#a8ccff}body[data-bs-theme=dark] .matrix-chat__message-text code{background:rgba(0,0,0,.35);color:#e9ecef}body[data-bs-theme=dark] .matrix-chat__message-reply-preview{background:var(--bs-secondary-bg,#343a40)}body[data-bs-theme=dark] .matrix-chat__reply-preview-sender{color:var(--bs-body-color,#e9ecef)}body[data-bs-theme=dark] .matrix-chat__reply-preview-text{color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-chat__message-attachment{background:var(--bs-secondary-bg,#343a40);border-color:var(--bs-border-color,#495057)}body[data-bs-theme=dark] .matrix-chat__attachment-name{color:#7cb3ff}body[data-bs-theme=dark] .matrix-chat__attachment-name:hover{color:#a8ccff}body[data-bs-theme=dark] .matrix-chat__attachment-download-btn:hover:not(:disabled){background:var(--bs-tertiary-bg,#2b3035)}body[data-bs-theme=dark] .matrix-chat__media-loading{background:var(--bs-secondary-bg,#343a40);color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-chat__message-caption{color:var(--bs-body-color,#e9ecef)}body[data-bs-theme=dark] .matrix-chat__message-edit-textarea{background:var(--bs-body-bg,#212529);border-color:var(--bs-border-color,#495057);color:var(--bs-body-color,#e9ecef)}body[data-bs-theme=dark] .matrix-chat__message-edit-textarea:focus{border-color:#3d8bfd;box-shadow:0 0 0 3px rgba(13,110,253,.2)}body[data-bs-theme=dark] .matrix-chat .btn-primary{background:#0d6efd;border-color:#0d6efd;color:#fff}body[data-bs-theme=dark] .matrix-chat .btn-primary:hover{background:#0b5ed7;border-color:#0a58ca}body[data-bs-theme=dark] .matrix-chat .btn-secondary{background:var(--bs-secondary-bg,#343a40);border-color:var(--bs-border-color,#495057);color:var(--bs-body-color,#e9ecef)}body[data-bs-theme=dark] .matrix-chat .btn-secondary:hover{background:var(--bs-tertiary-bg,#2b3035);border-color:#6c757d}body[data-bs-theme=dark] .matrix-chat__message-edited{color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-chat__input-area{background:var(--bs-tertiary-bg,#343a40);border-top-color:var(--bs-border-color,#495057)}body[data-bs-theme=dark] .matrix-chat__reply-bar{background:#232a38}body[data-bs-theme=dark] .matrix-chat__reply-text{color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-chat__reply-text strong{color:var(--bs-body-color,#e9ecef)}body[data-bs-theme=dark] .matrix-chat__reply-excerpt{color:var(--bs-body-color,#dee2e6)}body[data-bs-theme=dark] .matrix-chat__reply-close{color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-chat__reply-close:hover{color:var(--bs-body-color,#f8f9fa)}body[data-bs-theme=dark] .matrix-chat__attach-btn{border-color:var(--bs-border-color,#495057);color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-chat__attach-btn:hover:not(:disabled){background:var(--bs-tertiary-bg,#2b3035);color:var(--bs-body-color,#e9ecef)}body[data-bs-theme=dark] .matrix-chat__attach-btn:disabled{background:var(--bs-secondary-bg,#343a40);color:var(--bs-secondary-color,#6c757d)}body[data-bs-theme=dark] .matrix-chat__attach-btn--inside{color:#94a3b8}body[data-bs-theme=dark] .matrix-chat__attach-btn--inside:hover:not(:disabled){background:var(--bs-tertiary-bg,#2b3035);color:var(--bs-body-color,#e9ecef)}body[data-bs-theme=dark] .matrix-chat__emoji-btn--inside{color:#94a3b8}body[data-bs-theme=dark] .matrix-chat__emoji-btn--inside:hover:not(:disabled){background:var(--bs-tertiary-bg,#2b3035);color:var(--bs-body-color,#e9ecef)}body[data-bs-theme=dark] .matrix-chat__emoji-btn--inside.matrix-chat__emoji-btn--active{background:var(--bs-tertiary-bg,#2b3035);color:#7cb3ff}body[data-bs-theme=dark] .matrix-chat__file-bar{background:var(--bs-tertiary-bg,#2b3035)}body[data-bs-theme=dark] .matrix-chat__input{background:var(--bs-body-bg,#212529);border-color:var(--bs-border-color,#495057);color:var(--bs-body-color,#e9ecef)}body[data-bs-theme=dark] .matrix-chat__input:focus-within{border-color:#3d8bfd;box-shadow:1px 1px 20px 3px #0d6efd6e}body[data-bs-theme=dark] .matrix-chat__input-row--file-drop{background:rgba(96,165,250,.12);border-color:#60a5fa}body[data-bs-theme=dark] .matrix-chat__input-row--file-drop .matrix-chat__input{background:rgba(33,37,41,.92);border-color:#3d8bfd;box-shadow:none}body[data-bs-theme=dark] .matrix-chat__input--disabled{background:var(--bs-secondary-bg,#343a40);color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-chat__send-btn:disabled{background:#495057}body[data-bs-theme=dark] .matrix-chat__header-back-btn{background:var(--bs-secondary-bg,#343a40);border-color:var(--bs-border-color,#495057);color:var(--bs-body-color,#e9ecef)}body[data-bs-theme=dark] .matrix-chat__header-back-btn:active{background:var(--bs-tertiary-bg,#2b3035)}body[data-bs-theme=dark] .matrix-dm-modal__backdrop{background:rgba(2,6,23,.7)}body[data-bs-theme=dark] .matrix-dm-modal{background:#212529;box-shadow:0 12px 32px rgba(0,0,0,.45)}body[data-bs-theme=dark] .matrix-dm-modal__header,body[data-bs-theme=dark] .matrix-dm-modal__hint--creating{border-bottom-color:var(--bs-border-color,#495057);border-top-color:var(--bs-border-color,#495057)}body[data-bs-theme=dark] .matrix-dm-modal__title,body[data-bs-theme=dark] .matrix-dm-modal__title-icon{color:#9af7fd}body[data-bs-theme=dark] .matrix-dm-modal__close{color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-dm-modal__close:hover{background:var(--bs-secondary-bg,#343a40);color:var(--bs-body-color,#f8f9fa)}body[data-bs-theme=dark] .matrix-dm-modal__search{background:#343a40;border-color:var(--bs-border-color,#495057);color:var(--bs-body-color,#e9ecef)}body[data-bs-theme=dark] .matrix-dm-modal__search:focus{border-color:#3d8bfd}body[data-bs-theme=dark] .matrix-dm-modal__contact-group,body[data-bs-theme=dark] .matrix-dm-modal__hint{color:var(--bs-secondary-color,#adb5bd)}body[data-bs-theme=dark] .matrix-dm-modal__contact-name{color:var(--bs-body-color,#e9ecef)}body[data-bs-theme=dark] .matrix-dm-modal__contact:hover:not(:disabled){background:#2b3035}body[data-bs-theme=dark] .matrix-dm-modal__error{background:rgba(220,38,38,.15);border-color:hsla(0,91%,71%,.5);color:#fca5a5}