*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.static{position:static}.block{display:block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.border{border-width:1px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:root{color:#1e293b;background:#e3f2fd;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}textarea{width:100%;min-height:84px;resize:vertical;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#0f172a;padding:12px 16px;transition:border-color .2s}textarea:focus{outline:none;border-color:#3b82f6}.loading-screen,.empty-chat,.login-shell{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#e0f2fe,#f0fdfa)}.login-panel{width:min(420px,calc(100vw - 32px));background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:32px;box-shadow:0 10px 40px #0000000f}.brand-row,.profile-summary,.member-row,.message-meta,.message-actions,.detail-actions,.sidebar-actions{display:flex;align-items:center}.brand-row{gap:14px;margin-bottom:20px}.brand-row h1,.detail-header h2{margin:0;line-height:1.1}.brand-row h1{font-size:30px}.brand-row p,.detail-header p,.room-copy small,.room-title-button span,.message-meta time,.forward-label,.profile-summary small,.search-popover small,.member-row small{margin:0;color:#607580;font-size:12px}.brand-mark,.avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:#2f8bb7;color:#fff;font-weight:800}.avatar.small{width:28px;height:28px;font-size:12px}.detail-avatar{width:76px;height:76px;font-size:24px}.segmented,.inline-controls{display:flex;gap:6px}.segmented{padding:4px;background:#e9f1f4;border-radius:8px;margin-bottom:18px}.segmented button{flex:1;border:0;border-radius:6px;background:transparent;color:#526673;padding:8px 10px;font-weight:700}.segmented button.active{background:#fff;color:#1976a5;box-shadow:0 1px 6px #2d536129}.auth-form,.bio-form,.create-room-form{display:grid;gap:12px}.auth-form label{display:grid;gap:6px;color:#516570;font-size:13px}input,select{width:100%;border:1px solid #b8cbd3;border-radius:8px;background:#fff;color:#152732;padding:10px 12px;min-height:40px}input:focus,select:focus,textarea:focus{outline:2px solid #79b7d2;outline-offset:1px}.primary-action,.secondary-action,.ghost-action,.danger-action,.icon-button,.account-button,.mobile-back{border:0;border-radius:8px;font-weight:800}.primary-action{background:#1976a5;color:#fff;padding:11px 14px}.secondary-action{background:#d9edf5;color:#176487;padding:9px 12px}.ghost-action,.account-button,.mobile-back{background:#eef4f6;color:#48616c;padding:8px 10px}.danger-action{background:#fee2e2;color:#b91c1c;padding:8px 10px}.icon-button{width:38px;height:38px;display:grid;place-items:center;background:#e8f1f4;color:#176487;font-size:18px}.icon-button.send{background:#1976a5;color:#fff}.icon-button:disabled,.primary-action:disabled{opacity:.5;cursor:not-allowed}.app-shell{height:100dvh;display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);background:#d9e8ee}.room-list,.main-column,.message-pane,.room-detail{min-height:0}.room-list{background:#f7fbfc;border-right:1px solid #c0d2da;overflow:auto}.sidebar-head,.topbar,.chat-header,.composer{min-height:58px;display:flex;align-items:center;gap:12px;padding:10px 14px}.sidebar-head{justify-content:space-between;border-bottom:1px solid #d1e0e5}.sidebar-head div,.room-copy,.room-title-button,.profile-summary div,.member-row span,.search-popover button{min-width:0;display:grid}.sidebar-actions{gap:8px}.create-room{position:relative}.create-room-form{position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:280px;background:#fff;border:1px solid #b8cbd3;border-radius:8px;padding:10px;box-shadow:0 12px 30px #284b5a33}.room-tools{display:grid;gap:8px;border-bottom:1px solid #d1e0e5;padding:10px 14px}.room-filter-row{display:flex;gap:5px;overflow-x:auto}.room-filter-row button{border:1px solid #c0d2da;border-radius:999px;background:#fff;color:#48616c;font-size:12px;font-weight:800;padding:5px 8px;white-space:nowrap}.room-filter-row button.active{background:#1976a5;border-color:#1976a5;color:#fff}.empty-list{padding:18px 14px;color:#607580;font-size:13px}.rooms{display:grid}.room-row{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;text-align:left;padding:10px 14px;position:relative}.room-row:hover,.room-row.active{background:#d9edf5}.room-select{min-width:0;flex:1;display:flex;align-items:center;gap:10px;border:0;background:transparent;color:inherit;text-align:left;padding:0}.room-actions-slot{position:relative;flex:0 0 32px;display:grid;justify-items:center;gap:4px}.room-copy strong,.room-title-button strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.room-unread-badge{min-width:22px;border-radius:999px;background:#1976a5;color:#fff;font-size:11px;font-weight:900;padding:3px 6px;text-align:center}.room-menu-button{width:28px;height:28px;display:grid;place-items:center;border:1px solid #c0d2da;border-radius:50%;background:#fff;color:#48616c;font-size:12px;font-weight:900;line-height:1;padding:0;opacity:0;pointer-events:none}.room-row:hover .room-menu-button,.room-row:focus-within .room-menu-button,.room-menu-button[aria-expanded=true]{opacity:1;pointer-events:auto}.room-menu-button:hover,.room-menu-button[aria-expanded=true]{border-color:#79b7d2;background:#eef6f8;color:#176487}.room-menu{position:fixed;z-index:40;width:92px;border:1px solid #b8cbd3;border-radius:8px;background:#fff;box-shadow:0 8px 18px #284b5a29;padding:6px}.room-menu button{width:100%;border:0;border-radius:6px;background:transparent;color:#b91c1c;text-align:left;padding:6px 8px;font-size:12px;font-weight:400}.room-menu button:hover:not(:disabled){background:#fee2e2;color:#991b1b}.room-menu button:disabled{opacity:.55;cursor:not-allowed}.main-column{display:grid;grid-template-rows:auto minmax(0,1fr)}.topbar{background:#f7fbfc;border-bottom:1px solid #c0d2da;justify-content:space-between}.global-search{position:relative;width:min(560px,58vw)}.search-popover,.profile-popover{position:absolute;top:calc(100% + 6px);right:0;z-index:20;background:#fff;border:1px solid #b8cbd3;border-radius:8px;box-shadow:0 12px 30px #284b5a33;padding:8px}.search-popover{left:0;right:auto;width:100%;max-height:320px;overflow:auto}.search-popover button,.search-popover div,.profile-results button{width:100%;border:0;background:transparent;color:#17202a;text-align:left;padding:8px;border-radius:6px}.search-popover button:hover,.profile-results button:hover{background:#eef6f8}.profile-tools{position:relative}.profile-popover{display:grid;width:280px;gap:8px}.profile-summary{gap:10px}.message-pane{display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#eaf3f6}.chat-header{background:#fff;border-bottom:1px solid #c0d2da}.room-title-button{border:0;background:transparent;color:#17202a;text-align:left;padding:0}.room-title-button:disabled{cursor:default}.mobile-back{display:none}.messages{min-height:0;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:10px}.message-scroll-anchor{width:100%;height:1px;flex:0 0 1px}.message{width:-moz-fit-content;width:fit-content;max-width:min(680px,78%);background:#fff;border:1px solid #c7d9df;border-radius:8px;padding:9px 11px;box-shadow:0 1px 2px #33556214}.message.own{align-self:flex-end;background:#dff1d5;border-color:#bfd9b4}.message p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.message-meta{gap:10px;align-items:baseline}.message-attachments{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}.message-actions{gap:6px;margin-top:8px;overflow:auto}.message-actions button,.member-row button{border:1px solid #b8cbd3;border-radius:6px;background:#fff;color:#23424f;font-weight:800;padding:5px 8px;white-space:nowrap}.message-attachments a,.pending-file{border-radius:6px;background:#eef6f8;color:#176487;padding:5px 7px;text-decoration:none;overflow-wrap:anywhere}.composer{background:#fff;border-top:1px solid #c0d2da}.composer input:not([type=file]){flex:1}.pending-file{border:1px solid #b8cbd3;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-detail{overflow:auto;background:#f7fbfc;padding:24px}.detail-header{display:grid;justify-items:center;gap:8px;padding:8px 0 22px;border-bottom:1px solid #d1e0e5}.detail-header h2{font-size:28px;text-align:center}.detail-section{display:grid;gap:10px;padding:18px 0;border-bottom:1px solid #d1e0e5}.detail-section h3{margin:0;font-size:16px}.detail-text{margin:0;color:#48616c;white-space:pre-wrap}.member-list,.profile-results{display:grid;gap:6px}.member-row{justify-content:space-between;gap:12px;border:1px solid #d1e0e5;border-radius:8px;background:#fff;padding:8px}.member-row div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.profile-results{max-height:220px;overflow:auto}.profile-results button{display:flex;gap:8px;align-items:center}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}.media-grid a{min-height:96px;display:grid;place-items:center;border:1px solid #d1e0e5;border-radius:8px;background:#fff;color:#176487;text-decoration:none;overflow:hidden}.media-grid img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.detail-actions{gap:8px;padding-top:18px}.chat-blocked-banner,.chat-request-actions{min-height:58px;display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 14px;background:#fff;border-top:1px solid #c0d2da;font-size:14px;font-weight:500}.chat-blocked-banner{color:#c0392b;background:#fadbd8}.chat-request-actions{background:#ebf5fb;color:#1b4f72;flex-direction:column}@media (min-width: 600px){.chat-request-actions{flex-direction:row;justify-content:space-between}}.chat-request-actions .action-buttons{display:flex;gap:8px}.chat-request-actions button{border:0;border-radius:6px;font-weight:700;padding:6px 12px;font-size:13px}.chat-request-actions .accept-button{background:#1976a5;color:#fff}.chat-request-actions .accept-button:hover{background:#15628a}.chat-request-actions .block-button{background:#e74c3c;color:#fff}.chat-request-actions .block-button:hover{background:#c0392b}@media (max-width: 760px){.app-shell{display:block;height:100dvh;overflow:hidden}.room-list,.main-column{width:100%;height:100dvh}.app-shell.mobile-list .main-column,.app-shell.mobile-chat .room-list{display:none}.main-column{grid-template-rows:auto minmax(0,1fr)}.topbar{gap:8px;padding:8px}.global-search{width:100%}.account-button{max-width:120px;overflow:hidden;text-overflow:ellipsis}.mobile-back{display:inline-flex}.message{max-width:92%}.room-detail{padding:14px}.detail-header{justify-items:start}}.message-header-row{display:flex;justify-content:space-between;align-items:flex-start;width:100%}.message-menu-container{position:relative;margin-left:10px}.message-menu-trigger{background:transparent;border:none;color:#607580;font-size:16px;line-height:1;padding:0 4px;cursor:pointer}.message-menu-trigger:hover{color:#17202a}.message-actions-menu{position:absolute;top:100%;right:0;z-index:10;background:#fff;border:1px solid #b8cbd3;border-radius:6px;box-shadow:0 4px 12px #284b5a26;display:flex;flex-direction:column;padding:4px;min-width:110px}.message-actions-menu button{background:transparent;border:none;text-align:left;padding:6px 10px;font-size:13px;color:#17202a;border-radius:4px;cursor:pointer;white-space:nowrap}.message-actions-menu button:hover{background:#eef6f8}.search-divider{font-size:11px;font-weight:600;color:#607580;text-transform:uppercase;letter-spacing:.5px;padding:12px 14px 4px;border-bottom:1px solid #d1e0e5;margin-bottom:4px}
