:root{color:#e5e7eb;font-synthesis:none;text-rendering:optimizelegibility;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#020617;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#app{min-width:320px;min-height:100%;margin:0}html{overflow-x:hidden}body{background:radial-gradient(circle at top,#172554 0,#020617 48%);min-height:100dvh;overflow-x:hidden}a{color:#7dd3fc;text-underline-offset:3px}button,input,textarea,select{font:inherit}input,textarea,select{font-size:16px}button{cursor:pointer}:focus-visible{outline-offset:3px;outline:3px solid #38bdf8}.brand{color:#f8fafc;letter-spacing:-.02em;font-weight:900;text-decoration:none}.eyebrow{color:#7dd3fc;letter-spacing:.12em;margin-bottom:10px;font-size:.75rem;font-weight:800;display:inline-block}.welcome-page,.auth-page,.legal-page{min-height:100dvh;padding:max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));place-items:center;display:grid}.welcome-card,.auth-card,.legal-card,.panel{background:#0f172af0;border:1px solid #1e293b;border-radius:24px;width:min(100%,720px);box-shadow:0 24px 70px #0000003d}.welcome-card{padding:clamp(24px,6vw,56px)}.welcome-card h1,.auth-header h1,.panel h1,.legal-card h1{margin:.35rem 0;font-size:clamp(2rem,8vw,3.5rem);line-height:1.05}.welcome-card p,.auth-header p,.panel p,.auth-card>p{color:#cbd5e1;line-height:1.6}.welcome-actions,.form-actions,.stack-actions{flex-wrap:wrap;gap:12px;margin-top:24px;display:flex}.primary-button,.secondary-button,.danger-button,.link-button{border:1px solid #0000;border-radius:13px;justify-content:center;align-items:center;min-height:46px;padding:11px 17px;font-weight:800;text-decoration:none;display:inline-flex}.primary-button{color:#082f49;background:#38bdf8}.secondary-button{color:#e2e8f0;background:#172033;border-color:#334155}.danger-button{color:#fee2e2;background:#7f1d1d}.link-button{color:#bae6fd;background:0 0;padding-inline:10px}.danger-text{color:#fca5a5}.full{width:100%}.center{text-align:center}.primary-button:disabled,.secondary-button:disabled,.danger-button:disabled,.link-button:disabled{opacity:.55;cursor:not-allowed}.auth-card{max-width:610px;padding:clamp(20px,5vw,38px)}.auth-header{margin-bottom:24px}.auth-header .brand{margin-bottom:24px;display:inline-block}.auth-header h1{font-size:clamp(1.9rem,7vw,2.8rem)}.auth-header p{margin:.6rem 0 0}.auth-form,.form-step,.settings-stack{gap:18px;display:grid}.form-step h2{margin:0;font-size:1.3rem}.field-group{gap:7px;min-width:0;display:grid}.field-group label{color:#f1f5f9;font-weight:750}.field-group input,.field-group select{color:#f8fafc;background:#020617;border:1px solid #334155;border-radius:12px;width:100%;min-height:48px;padding:10px 12px}.field-group input::placeholder{color:#64748b}.field-group input:focus,.field-group select:focus{border-color:#38bdf8}.field-help,.legal-note{color:#94a3b8;margin:0;font-size:.88rem;line-height:1.5}.field-error{color:#fca5a5;margin:0;font-size:.9rem;line-height:1.4}.password-wrap{position:relative}.password-wrap input{padding-right:94px}.input-action{color:#bae6fd;background:#172033;border:0;border-radius:9px;min-height:38px;padding:6px 10px;font-weight:750;position:absolute;top:5px;right:5px}.input-prefix{background:#020617;border:1px solid #334155;border-radius:12px;grid-template-columns:auto 1fr;align-items:center;display:grid}.input-prefix span{color:#94a3b8;padding-left:12px}.input-prefix input{border:0}.auth-links{flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:22px;display:flex}.flash{border-radius:12px;margin-bottom:18px;padding:12px 14px;line-height:1.45}.flash.success{color:#bbf7d0;background:#052e16;border:1px solid #166534}.flash.danger{color:#fecaca;background:#450a0a;border:1px solid #991b1b}.stepper{grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:22px;display:grid}.stepper span{background:#334155;border-radius:999px;height:5px}.stepper span.active{background:#38bdf8}.check-row{color:#e2e8f0;grid-template-columns:24px 1fr;align-items:start;gap:10px;line-height:1.55;display:grid}.check-row input{accent-color:#38bdf8;width:20px;height:20px;margin-top:2px}.strength{grid-template-columns:repeat(4,1fr);gap:5px;display:grid}.strength span{background:#334155;border-radius:999px;height:5px}.strength span.on{background:#22c55e}.strength small{color:#94a3b8;grid-column:1/-1}.review{background:#020617;border:1px solid #334155;border-radius:14px;padding:15px}.review p{color:#cbd5e1;overflow-wrap:anywhere;margin:.35rem 0}.honeypot{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;width:1px!important;height:1px!important;position:absolute!important;overflow:hidden!important}.private-shell{min-height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.private-nav{min-height:64px;padding:10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));z-index:10;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#020617f0;border-bottom:1px solid #1e293b;justify-content:space-between;align-items:center;gap:14px;display:flex;position:sticky;top:0}.private-nav nav{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.private-nav nav a{padding:9px 8px;font-weight:700;text-decoration:none}.private-main{width:min(100%,1000px);padding:clamp(18px, 4vw, 36px) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));margin:0 auto}.panel{width:100%;padding:clamp(20px,4vw,34px)}.panel h1{font-size:clamp(1.8rem,5vw,2.5rem)}.panel h2{margin-top:0}.settings-grid{grid-template-columns:1fr;gap:12px;margin-top:22px;display:grid}.settings-grid a{background:#020617;border:1px solid #334155;border-radius:14px;padding:17px;font-weight:800;text-decoration:none}.data-list{gap:0;margin:24px 0;display:grid}.data-list div{border-bottom:1px solid #1e293b;grid-template-columns:1fr;gap:4px;padding:14px 0;display:grid}.data-list dt{color:#94a3b8;font-size:.86rem}.data-list dd{overflow-wrap:anywhere;margin:0;font-weight:700}.danger-zone{border-color:#7f1d1d}.panel-heading{flex-direction:column;gap:14px;margin-bottom:20px;display:flex}.panel-heading h1{margin-top:0}.session-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.session-list li{background:#020617;border:1px solid #334155;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:14px;display:flex}.session-list li div{gap:4px;min-width:0;display:grid}.session-list span{color:#94a3b8;overflow-wrap:anywhere;font-size:.88rem}.legal-card{max-width:900px;padding:clamp(22px,5vw,48px)}.legal-card h1{margin-top:24px;font-size:clamp(1.8rem,6vw,3rem)}.legal-meta{color:#94a3b8}.legal-content{white-space:pre-wrap;color:#e2e8f0;overflow-wrap:anywhere;line-height:1.75}.stack-actions{display:grid}.settings-stack{gap:20px}@media (min-width:600px){.settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.data-list div{grid-template-columns:180px 1fr}.panel-heading{flex-direction:row;justify-content:space-between;align-items:start}}@media (max-width:700px){.private-nav{flex-direction:column;align-items:flex-start}.private-nav nav{flex-wrap:nowrap;justify-content:flex-start;width:100%;padding-bottom:2px;overflow-x:auto}.private-nav nav a,.private-nav .link-button{white-space:nowrap}.form-actions>*{flex:1}.session-list li{flex-direction:column;align-items:flex-start}}@media (max-width:359px){.auth-card{border-radius:18px;padding:18px 14px}.welcome-page,.auth-page,.legal-page{padding-left:max(10px, env(safe-area-inset-left));padding-right:max(10px, env(safe-area-inset-right))}.primary-button,.secondary-button,.danger-button{padding-inline:12px}.auth-links{flex-direction:column}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.session-actions{flex-wrap:wrap;gap:8px;display:flex}.sr-only{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.back-link{margin-bottom:18px;font-weight:800;text-decoration:none;display:inline-flex}.settings-layout{grid-template-columns:1fr;align-items:start;gap:18px;display:grid}.settings-layout>aside{min-width:0}.settings-layout>aside h1{margin:.3rem 0;font-size:clamp(1.8rem,5vw,2.7rem)}.settings-layout>aside p{color:#94a3b8;line-height:1.6}.settings-content{gap:18px;min-width:0;display:grid}.settings-nav{gap:8px;display:grid}.settings-nav a{color:#e2e8f0;background:#020617;border:1px solid #334155;border-radius:13px;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:12px 14px;font-weight:800;text-decoration:none;display:flex}.settings-nav a[aria-current=page]{background:#082f49;border-color:#38bdf8}.profile-avatar-editor{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.avatar-view{color:#fff;background:linear-gradient(145deg,#0f766e,#1d4ed8);border:1px solid #475569;border-radius:50%;flex:none;place-items:center;font-size:clamp(1rem,4vw,2rem);font-weight:900;display:grid;overflow:hidden}.avatar-view img{object-fit:cover;width:100%;height:100%;display:block}.file-button{cursor:pointer}.field-group textarea,.search-form input{color:#f8fafc;background:#020617;border:1px solid #334155;border-radius:12px;width:100%;padding:11px 12px;font-size:16px}.field-group textarea{resize:vertical;min-height:96px}.search-form{grid-template-columns:1fr;gap:10px;margin-bottom:8px;display:grid}.search-panel{max-width:820px;margin-inline:auto}.people-list,.legal-list{gap:10px;margin:22px 0;padding:0;list-style:none;display:grid}.people-list>li,.legal-list>li{background:#020617;border:1px solid #334155;border-radius:14px;min-width:0}.person-link{color:#e2e8f0;align-items:center;gap:12px;padding:12px;text-decoration:none;display:flex}.person-link>span{gap:3px;min-width:0;display:grid}.person-link small,.people-list li>div span,.legal-list li span{color:#94a3b8;overflow-wrap:anywhere}:is(.people-list>li:not(:has(.person-link)),.legal-list>li){justify-content:space-between;align-items:center;gap:12px;padding:14px;display:flex}.people-list li>div,.legal-list li>div{gap:4px;min-width:0;display:grid}.pager{justify-content:space-between;gap:12px;margin-top:18px;display:flex}.pager a{align-items:center;min-height:44px;display:inline-flex}.public-profile{text-align:center;max-width:620px;margin-inline:auto}.public-profile>.avatar-view{margin:8px auto 18px}.public-profile h1{margin-bottom:4px}.username{color:#7dd3fc;font-weight:800}.profile-about{color:#cbd5e1;white-space:pre-wrap;overflow-wrap:anywhere;max-width:44ch;margin:20px auto}.public-profile .stack-actions{justify-items:stretch;max-width:360px;margin-inline:auto}.confirm-dialog{color:#e2e8f0;background:#0f172a;border:1px solid #334155;border-radius:20px;width:min(100% - 24px,520px);padding:0;box-shadow:0 24px 80px #00000080}.confirm-dialog::backdrop{background:#020617c7}.confirm-dialog form{padding:22px}.confirm-dialog h2{margin-top:0}.dialog-body{color:#cbd5e1;line-height:1.55}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.legal-list li>div{flex:1}.settings-layout>.panel{min-width:0}@media (min-width:720px){.search-form{grid-template-columns:minmax(0,1fr) auto}.settings-layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:24px}.settings-layout>aside{position:sticky;top:92px}.settings-content{gap:22px}}@media (max-width:420px){.profile-avatar-editor{text-align:center;justify-content:center}.profile-avatar-editor>div,.file-button{width:100%}.dialog-actions>*{flex:1}:is(.people-list>li:not(:has(.person-link)),.legal-list>li){flex-direction:column;align-items:flex-start}.legal-list .secondary-button{width:100%}}.composer-context{align-items:center;gap:var(--ui-space-3);min-width:0;padding:var(--ui-space-2) var(--ui-space-3);border-inline-start:3px solid var(--ui-accent);background:var(--ui-surface-raised);border-radius:var(--ui-radius-md);display:flex}.composer-context__copy{flex:1;min-width:0}.composer-context__copy strong,.composer-context__copy span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.composer-context__copy span{color:var(--ui-text-muted);font-size:.875rem}.message-forwarded{color:var(--ui-text-muted);align-items:center;gap:.3rem;margin-block-end:.3rem;font-size:.75rem;font-weight:650;display:inline-flex}.reply-preview{text-align:start;border:0;border-inline-start:3px solid var(--ui-accent);background:color-mix(in srgb, var(--ui-surface-raised) 88%, transparent);border-radius:var(--ui-radius-sm);width:100%;min-width:0;color:inherit;margin-block-end:.45rem;padding:.45rem .6rem;display:block}.reply-preview strong,.reply-preview span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.reply-preview span{color:var(--ui-text-muted);font-size:.78rem}.message-reactions{flex-wrap:wrap;gap:.3rem;margin-block-start:.4rem;display:flex}.message-reaction-chip[data-mine=true]{border-color:var(--ui-accent);box-shadow:0 0 0 1px color-mix(in srgb, var(--ui-accent) 25%, transparent)}.message-actions-trigger{opacity:.72}.message-row:hover .message-actions-trigger,.message-row:focus-within .message-actions-trigger{opacity:1}.reaction-picker{flex-wrap:wrap;gap:.25rem;max-width:min(18rem,90vw);display:flex}.reaction-picker button{border-radius:var(--ui-radius-sm);background:0 0;border:0;min-width:40px;min-height:40px;font-size:1.25rem}.reaction-picker button:hover,.reaction-picker button:focus-visible{background:var(--ui-surface-raised)}.message-row.is-selected{background:color-mix(in srgb, var(--ui-accent) 10%, transparent)}.message-highlight .message-bubble{animation:1.6s message-highlight}@keyframes message-highlight{0%,to{box-shadow:var(--ui-shadow-1)}35%{box-shadow:0 0 0 3px color-mix(in srgb, var(--ui-accent) 48%, transparent)}}.message-selection-bar{justify-content:space-between;align-items:center;gap:var(--ui-space-3);padding:.55rem var(--ui-space-4);border-bottom:1px solid var(--ui-border);background:var(--ui-surface-raised);display:flex}.message-selection-bar>div{flex-wrap:wrap;gap:.5rem;display:flex}.message-search-panel{z-index:var(--ui-z-overlay);background:var(--ui-surface);border-inline-start:1px solid var(--ui-border);width:min(26rem,100%);box-shadow:var(--ui-shadow-2);flex-direction:column;min-width:0;display:flex;position:absolute;inset-block:0;inset-inline-end:0}.message-search-panel__head{padding:var(--ui-space-3);border-bottom:1px solid var(--ui-border);align-items:center;gap:.5rem;display:flex}.message-search-panel__head form{flex:1;gap:.5rem;min-width:0;display:flex}.message-search-panel__head input{flex:1;min-width:0}.message-search-results{margin:0;padding:.35rem;list-style:none;overflow:auto}.message-search-result{text-align:start;width:100%;color:inherit;border-radius:var(--ui-radius-md);background:0 0;border:0;padding:.7rem;display:block}.message-search-result:hover,.message-search-result:focus-visible{background:var(--ui-surface-raised)}.message-search-result strong,.message-search-result span,.message-search-result time{display:block}.message-search-result span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.message-search-result time{color:var(--ui-text-muted);margin-block-start:.2rem;font-size:.75rem}.forward-target-list{gap:.35rem;max-height:min(55dvh,28rem);display:grid;overflow:auto}.forward-target{border:1px solid var(--ui-border);background:var(--ui-surface);width:100%;color:inherit;border-radius:var(--ui-radius-md);text-align:start;align-items:center;gap:.7rem;padding:.6rem;display:flex}.forward-target:hover,.forward-target:focus-visible{background:var(--ui-surface-raised)}.message-library-page{width:min(54rem,100%);min-width:0;margin-inline:auto;padding:clamp(1rem,3vw,2rem);padding-block-end:calc(5.5rem + env(safe-area-inset-bottom))}.message-library-head{align-items:flex-start;gap:.8rem;margin-block-end:1.2rem;display:flex}.message-library-head h1{margin:.1rem 0}.message-library-head p{color:var(--ui-text-muted);margin:.25rem 0 0}.message-library-search{align-items:center;gap:.6rem;margin-block-end:1rem;display:flex}.message-library-search .search-input-step4{flex:1;min-width:0}.message-result-list{gap:.45rem;margin:0;padding:0;list-style:none;display:grid}.message-result-row{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);min-width:0;color:inherit;align-items:center;gap:.7rem;padding:.75rem;text-decoration:none;display:flex}.message-result-row:hover,.message-result-row:focus-visible{background:var(--ui-surface-raised)}.message-result-row__body{flex:1;min-width:0;display:block}.message-result-row__body strong,.message-result-row__body small,.message-result-row__preview,.message-result-row__body time{display:block}.message-result-row__body small,.message-result-row__body time{color:var(--ui-text-muted);font-size:.76rem}.message-result-row__preview{text-overflow:ellipsis;white-space:nowrap;margin-block:.25rem;overflow:hidden}.saved-message-row{position:relative}.saved-message-row .message-result-row{padding-inline-end:3.4rem}.saved-message-row__remove{position:absolute;inset-block-start:50%;inset-inline-end:.65rem;transform:translateY(-50%)}.cursor-actions{flex-wrap:wrap;justify-content:center;gap:.6rem;margin-block-start:1rem;display:flex}@media (max-width:767px){.message-selection-bar{flex-direction:column;align-items:flex-start}.message-selection-bar>div{width:100%}.message-selection-bar .ui-button{flex:1}.message-search-panel{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);position:fixed;inset:0}.message-library-search{flex-direction:column;align-items:stretch}.message-library-search .ui-button{width:100%}.message-result-row{padding:.65rem}.saved-message-row .message-result-row{padding-inline-end:3.2rem}}@media (prefers-reduced-motion:reduce){.message-highlight .message-bubble{outline:3px solid color-mix(in srgb, var(--ui-accent) 48%, transparent);animation:none}}.message-search-panel>header{padding:var(--ui-space-3);border-bottom:1px solid var(--ui-border);justify-content:space-between;align-items:center;gap:.75rem;display:flex}.message-search-panel>header>div{min-width:0}.message-search-panel>header strong,.message-search-panel>header span{display:block}.message-search-panel>header span{color:var(--ui-text-muted);font-size:.75rem}.message-search-input{border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-raised);align-items:center;gap:.5rem;margin:.75rem;padding-inline:.75rem;display:flex}.message-search-input input{min-width:0;color:inherit;background:0 0;border:0;outline:0;flex:1;min-height:44px}.message-search-empty,.message-search-panel>.muted-text,.message-search-panel>.field-error{margin:0;padding:.75rem}.forward-list{gap:.35rem;max-height:min(55dvh,28rem);display:grid;overflow:auto}.forward-target span{flex:1;min-width:0}.forward-target strong,.forward-target small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.forward-target input{block-size:1.15rem;inline-size:1.15rem}.message-search-results{min-height:0;padding:.35rem;overflow:auto}.message-search-more{width:100%;margin-block:.35rem}.forward-section{gap:.35rem;display:grid}.forward-section>strong{color:var(--ui-text-muted);text-transform:uppercase;letter-spacing:.06em;padding:.4rem .2rem;font-size:.78rem}.forward-section+.forward-section{border-top:1px solid var(--ui-border);margin-block-start:.65rem;padding-block-start:.65rem}.upload-tray{border-top:1px solid var(--ui-border);background:var(--ui-surface);gap:.5rem;max-height:min(34dvh,18rem);padding:.55rem .7rem;display:grid;overflow:auto}.upload-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-raised);grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:.65rem;min-width:0;padding:.5rem;display:grid}.upload-card__preview{border-radius:var(--ui-radius-sm);background:var(--ui-bg);place-items:center;block-size:52px;inline-size:52px;display:grid;overflow:hidden}.upload-card__preview img,.upload-card__preview video{object-fit:cover;block-size:100%;inline-size:100%}.upload-card__body{gap:.25rem;min-width:0;display:grid}.upload-card__body strong,.upload-card__body span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.upload-card__body span,.upload-card__body small{color:var(--ui-text-muted);font-size:.75rem}.upload-card__actions{gap:.2rem;display:flex}.upload-progress{background:var(--ui-border);border-radius:999px;height:5px;overflow:hidden}.upload-progress>span{background:var(--ui-accent);height:100%;transition:width .15s linear;display:block}.composer-hint{color:var(--ui-text-muted);margin:.25rem .75rem 0;font-size:.75rem}.voice-recorder{border-top:1px solid var(--ui-border);background:var(--ui-surface);justify-content:space-between;align-items:center;gap:.75rem;min-width:0;padding:.65rem .8rem;display:flex}.voice-recorder__status{align-items:center;gap:.55rem;min-width:0;display:flex}.voice-recording-dot{background:var(--ui-danger);block-size:.65rem;inline-size:.65rem;box-shadow:0 0 0 4px color-mix(in srgb, var(--ui-danger) 15%, transparent);border-radius:50%}.voice-recorder__actions{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.message-attachments{gap:.4rem;max-width:100%;margin-block-end:.35rem;display:grid}.message-attachments--gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.message-attachments--gallery>:nth-child(3):last-child{grid-column:1/-1;max-height:18rem}.media-image,.media-video-preview{border-radius:var(--ui-radius-md);background:var(--ui-bg);width:100%;min-width:0;min-height:7rem;color:inherit;border:0;place-items:center;padding:0;display:grid;position:relative;overflow:hidden}.media-image:not(:disabled),.media-video-preview{cursor:pointer}.media-image img,.media-video-preview img{object-fit:cover;width:100%;height:100%;max-height:min(52dvh,28rem);display:block}.media-video-preview span{color:#fff;background:#000000a6;border-radius:999px;padding:.2rem .38rem;font-size:.72rem;position:absolute;inset-block-end:.45rem;inset-inline-end:.5rem}.media-state{min-height:7rem;color:var(--ui-text-muted);justify-content:center;align-items:center;gap:.45rem;padding:1rem;font-size:.8rem;display:flex}.media-state svg:not(.lucide-triangle-alert){animation:1.1s linear infinite media-spin}.media-card{min-width:0}.media-audio,.media-document{border:1px solid color-mix(in srgb, var(--ui-border) 85%, transparent);border-radius:var(--ui-radius-md);background:color-mix(in srgb, var(--ui-surface-raised) 85%, transparent);align-items:center;gap:.65rem;min-width:0;padding:.62rem;display:flex}.media-audio>div,.media-document>div{flex:1;gap:.2rem;min-width:0;display:grid}.media-audio strong,.media-document strong,.media-document span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.media-audio audio{width:min(18rem,100%);height:34px}.media-audio small,.media-document span,.media-document__status{color:var(--ui-text-muted);font-size:.72rem}.icon-link{border-radius:var(--ui-radius-md);min-width:42px;min-height:42px;color:inherit;place-items:center;text-decoration:none;display:inline-grid}.icon-link:hover,.icon-link:focus-visible{background:var(--ui-surface-raised)}.attachment-lightbox{border:1px solid var(--ui-border);border-radius:var(--ui-radius-xl);background:var(--ui-surface);width:min(96vw,78rem);height:min(94dvh,56rem);color:var(--ui-text);box-shadow:var(--ui-shadow-2);padding:0}.attachment-lightbox::backdrop{background:#000000d1}.attachment-lightbox__surface{height:100%;padding:max(.6rem, env(safe-area-inset-top)) max(.6rem, env(safe-area-inset-right)) max(.6rem, env(safe-area-inset-bottom)) max(.6rem, env(safe-area-inset-left));grid-template-rows:auto minmax(0,1fr);display:grid}.attachment-lightbox header{justify-content:space-between;align-items:center;gap:.6rem;padding:.35rem;display:flex}.attachment-lightbox header>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.attachment-lightbox header>div{gap:.25rem;display:flex}.attachment-lightbox__content{place-items:center;min-width:0;min-height:0;display:grid;position:relative;overflow:hidden}.attachment-lightbox img,.attachment-lightbox video{object-fit:contain;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;max-height:100%}.attachment-lightbox__nav{z-index:2;background:color-mix(in srgb, var(--ui-surface) 82%, transparent);box-shadow:var(--ui-shadow-1);position:absolute;inset-block-start:50%;transform:translateY(-50%)}.attachment-lightbox__nav--previous{inset-inline-start:max(.35rem, env(safe-area-inset-left))}.attachment-lightbox__nav--next{inset-inline-end:max(.35rem, env(safe-area-inset-right))}.message-bubble:has(.message-attachments){max-width:min(88%,34rem)}@keyframes media-spin{to{transform:rotate(360deg)}}@media (max-width:767px){.upload-card{grid-template-columns:44px minmax(0,1fr) auto}.upload-card__preview{block-size:44px;inline-size:44px}.voice-recorder{flex-direction:column;align-items:flex-start}.voice-recorder__actions{width:100%}.voice-recorder__actions .ui-button{flex:1}.message-bubble:has(.message-attachments){max-width:90%}.message-attachments--gallery{gap:.25rem}.media-audio{flex-wrap:wrap;align-items:flex-start}.media-audio>div{width:calc(100% - 2rem)}.attachment-lightbox{border:0;border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none}.upload-tray{max-height:28dvh}}@media (max-width:360px){.message-bubble:has(.message-attachments){max-width:94%}.media-document{padding:.48rem}.media-audio audio{width:100%}}@media (prefers-reduced-motion:reduce){.upload-progress>span{transition:none}.media-state svg{animation:none!important}}.chat-sidebar__new{gap:.25rem;display:flex}.empty-actions{flex-wrap:wrap;justify-content:center;gap:.65rem;display:flex}.group-page{background:var(--ui-bg);min-width:0;padding:clamp(.8rem,2vw,1.4rem);padding-bottom:max(1.25rem, env(safe-area-inset-bottom));align-content:start;gap:1rem;display:grid;overflow:auto}.group-page__header{gap:.7rem;display:grid}.group-page__header h1{margin:.1rem 0;font-size:clamp(1.5rem,4vw,2rem)}.group-page__header p,.group-card p{color:var(--ui-text-muted);margin:.2rem 0;line-height:1.5}.group-profile{align-items:center;gap:1rem;min-width:0;display:flex}.group-profile>div{min-width:0}.group-profile h1{text-overflow:ellipsis;overflow:hidden}.group-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);gap:.85rem;padding:clamp(.8rem,2vw,1rem);display:grid}.group-card h2{align-items:center;gap:.45rem;margin:0;font-size:1.05rem;display:flex}.group-card__heading{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.group-card__heading>div{min-width:0}.group-page__actions{flex-wrap:wrap;justify-content:flex-end;gap:.6rem;display:flex}.group-avatar-editor{align-items:center;gap:.75rem;display:flex}.group-avatar-button{border:1px solid var(--ui-border);background:var(--ui-surface-raised);block-size:52px;inline-size:52px;color:var(--ui-text);border-radius:50%;place-items:center;display:grid}.member-picker{gap:.65rem;display:grid}.member-picker__selected{flex-wrap:wrap;gap:.4rem;display:flex}.member-chip{border:1px solid var(--ui-border);background:var(--ui-surface-raised);border-radius:999px;align-items:center;gap:.35rem;max-width:100%;padding:.25rem .35rem .25rem .25rem;display:flex}.member-chip>span{text-overflow:ellipsis;white-space:nowrap;max-width:12rem;overflow:hidden}.member-chip button{color:var(--ui-text-muted);background:0 0;border:0;place-items:center;min-block-size:30px;min-inline-size:30px;display:grid}.group-search{border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-raised);align-items:center;gap:.45rem;padding:.45rem .65rem;display:flex}.group-search input{min-width:0;color:var(--ui-text);background:0 0;border:0;outline:0;flex:1;font-size:16px}.member-picker__results{border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-raised);max-height:18rem;display:grid;overflow:hidden auto}.member-picker__results>button,.mention-autocomplete>button{border:0;border-bottom:1px solid var(--ui-border);color:inherit;text-align:left;background:0 0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.6rem;padding:.55rem .65rem;display:grid}.member-picker__results>button:last-child,.mention-autocomplete>button:last-child{border-bottom:0}.member-picker__results>button:hover,.mention-autocomplete>button:hover{background:var(--ui-surface)}.member-picker__results span,.mention-autocomplete span{min-width:0;display:grid}.member-picker__results strong,.member-picker__results small,.mention-autocomplete strong,.mention-autocomplete small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.member-picker__results small,.mention-autocomplete small{color:var(--ui-text-muted)}.participant-list,.invite-list,.message-info-users{margin:0;padding:0;list-style:none;display:grid}.participant-list>li,.invite-list>li,.message-info-users>li{border-bottom:1px solid var(--ui-border);align-items:center;gap:.65rem;min-width:0;padding:.65rem 0;display:flex}.participant-list>li>div:not(.dropdown-menu),.invite-list>li>div,.message-info-users>li{min-width:0}.participant-list>li>div:nth-child(2){flex:1;min-width:0;display:grid}.participant-list strong,.participant-list span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.participant-list span,.participant-list small,.invite-list span,.invite-list small,.message-info-users span,.message-info-users small{color:var(--ui-text-muted);font-size:.78rem}.participant-role{align-items:center;gap:.25rem;margin-top:.18rem;display:flex}.invite-list>li{justify-content:space-between}.invite-list>li>div{gap:.15rem;display:grid}.invite-fresh{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.5rem;display:grid}.invite-fresh code{border-radius:var(--ui-radius-sm);background:var(--ui-bg);min-width:0;padding:.55rem;font-size:.75rem;overflow:auto}.group-actions-grid{flex-wrap:wrap;gap:.45rem;display:flex}.group-sheet{padding:.75rem max(.75rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));gap:1rem;display:grid}.group-sheet h2{margin:0}.group-join{place-items:center;min-height:calc(100dvh - 4rem);padding:1rem;display:grid}.group-join__card{text-align:center;justify-items:center;width:min(100%,32rem)}.group-join__card form,.group-join__card .ui-button{width:100%}.mention-autocomplete{z-index:12;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-raised);max-height:15rem;box-shadow:var(--ui-shadow-2);margin:0 .65rem;display:grid;position:relative;overflow:auto}.message-row--group:not(.message-row--own){align-items:flex-end}.message-sender-avatar{flex:none;margin-block-end:.35rem}.message-sender-name{color:var(--ui-accent);text-overflow:ellipsis;white-space:nowrap;margin-block-end:.25rem;font-size:.75rem;display:block;overflow:hidden}.group-system-message{background:color-mix(in srgb, var(--ui-surface-raised) 85%, transparent);max-width:min(90%,34rem);color:var(--ui-text-muted);text-align:center;border-radius:999px;justify-content:center;align-items:center;gap:.45rem;margin:.55rem auto;padding:.35rem .65rem;font-size:.75rem;display:flex}.group-system-message time{white-space:nowrap;font-size:.68rem}.message-info-counts{gap:.75rem;display:grid}.message-info-counts>button{border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-raised);color:inherit;text-align:left;grid-template-columns:auto 1fr;align-items:center;gap:.65rem;padding:.65rem;display:grid}.message-info-counts>button strong{font-size:1.2rem}.message-info-users>li{grid-template-columns:1fr auto;display:grid}.message-info-users>li strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.typing-indicator{color:var(--ui-accent);font-size:.78rem}.bottom-sheet{width:min(100%,42rem)}@media (max-width:767px){.group-page{grid-column:1/-1}.group-card__heading{flex-direction:column;align-items:stretch}.group-card__heading .ui-button{width:100%}.group-page__actions>*{flex:1}.group-profile{align-items:flex-start}.invite-fresh{grid-template-columns:1fr}.group-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.group-system-message{border-radius:var(--ui-radius-md)}.message-sender-avatar{block-size:24px!important;inline-size:24px!important}.message-row--group .message-bubble{max-width:86%}}@media (max-width:359px){.group-page{padding:.55rem}.group-card{padding:.65rem}.group-actions-grid{grid-template-columns:1fr}.participant-list>li{gap:.45rem}.member-chip>span{max-width:8rem}.message-row--group .message-bubble{max-width:90%}}.attachment-picker-menu{position:relative}.attachment-picker-menu .dropdown__menu{border:1px solid var(--ui-border);background:var(--ui-surface);width:min(220px,100vw - 24px);max-width:calc(100vw - 24px);box-shadow:var(--ui-shadow-2);z-index:1000;border-radius:14px;padding:6px;position:absolute;inset-block:auto calc(100% + 10px);inset-inline:0 auto}.attachment-picker-menu .dropdown__menu>button{border-radius:9px;min-height:40px;padding:8px 10px;font-size:.88rem}.message-actions-menu{position:relative}.message-actions-menu .dropdown__menu{overscroll-behavior:contain;border-radius:14px;width:min(230px,100vw - 24px);max-width:calc(100vw - 24px);max-height:min(68dvh,460px);padding:6px;overflow-y:auto}.message-actions-menu .dropdown__menu>button{border-radius:8px;gap:8px;min-height:36px;padding:7px 9px;font-size:.84rem}.message-actions-menu .reaction-menu{border-block:1px solid var(--ui-border);grid-template-columns:repeat(6,36px);justify-content:center;gap:3px;width:auto;margin:5px 0;padding:6px 5px;display:grid}.message-actions-menu .reaction-menu>button{border-radius:9px;place-items:center;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;font-size:1.12rem;line-height:1;display:grid}.message-actions-menu .reaction-menu>button:hover,.message-actions-menu .reaction-menu>button:focus-visible{background:var(--ui-surface-muted)}.message-reaction-chip{border:1px solid var(--ui-border);background:var(--ui-surface-raised);min-height:30px;color:var(--ui-text);font:inherit;border-radius:999px;padding:.2rem .5rem;font-size:.78rem}.message-reaction-chip[data-mine=true]{border-color:var(--ui-accent);background:var(--ui-accent-soft)}.media-audio--voice{background:linear-gradient(135deg, color-mix(in srgb, var(--ui-accent-soft) 55%, var(--ui-surface-raised)), var(--ui-surface-raised));border-radius:18px;gap:.7rem;width:min(340px,100%);min-width:min(230px,100%);padding:.72rem}.media-audio__icon{background:var(--ui-accent-soft);width:42px;height:42px;color:var(--ui-accent-strong);border-radius:999px;flex:0 0 42px;place-items:center;display:grid}.media-audio__body{flex:1;gap:.3rem;min-width:0;display:grid}.media-audio__body>strong{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;display:block;overflow:hidden}.media-audio__body audio{width:100%;min-width:0;max-width:100%;height:36px}.voice-note__wave{height:18px;color:var(--ui-accent-strong);opacity:.65;align-items:center;gap:2px;display:flex;overflow:hidden}.voice-note__wave i{background:currentColor;border-radius:999px;flex:0 0 3px;width:3px;height:38%}.voice-note__wave i:nth-child(3n+1){height:75%}.voice-note__wave i:nth-child(4n+2){height:100%}.voice-note__wave i:nth-child(5n){height:55%}@media (max-width:420px){.message-actions-menu .dropdown__menu{width:min(220px,100vw - 20px)}.message-actions-menu .reaction-menu{grid-template-columns:repeat(6,minmax(32px,1fr))}.message-actions-menu .reaction-menu>button{width:100%;min-width:32px}.media-audio--voice{width:min(310px,100%)}}.message-row:not(.message-row--own) .message-actions-menu .dropdown__menu{left:0;right:auto}.message-row--own .message-actions-menu .dropdown__menu{left:auto;right:0}@media (max-width:767px){.message-actions-menu .dropdown__menu{max-width:calc(100vw - 20px)}}.message-sender-name{color:var(--ui-accent-strong);text-overflow:ellipsis;white-space:nowrap;margin:0 0 4px;font-size:.74rem;font-weight:800;line-height:1.2;display:block;overflow:hidden}.message-sender-name--own{text-align:right}.message-row--own .message-bubble{color:#fff;background:#2563eb;border-color:#1d4ed8}.message-row--own .message-sender-name--own{color:#dbeafe;text-align:right}.message-row--own .message-actions-trigger{color:#ffffffd1}.message-row--own .message-forwarded{color:#ffffffc7}.message-row--own .reply-preview{color:#fff;background:#ffffff21;border-inline-start-color:#fff}.message-row--own .reply-preview span{color:#ffffffc7}.message-row--own .media-audio,.message-row--own .media-document{color:#fff;background:#ffffff21;border-color:#ffffff3b}.message-row--own .media-audio small,.message-row--own .media-document span,.message-row--own .media-document__status{color:#ffffffc2}.message-row--own .media-audio__icon{color:#fff;background:#ffffff29}.message-row--own .voice-note__wave{color:#fff;opacity:.86}.message-row--own .message-reaction-chip{color:#172033;background:#ffffffed;border-color:#fffc}.message-row--own .dropdown__menu{color:var(--ui-text)}.message-row--own{opacity:1}.message-row--own .message-bubble>p,.message-row--own .message-sender-name,.message-row--own .message-sender-name--own{color:#fff!important;opacity:1!important}.message-row--own .message-bubble footer,.message-row--own .message-status{color:#dbeafe!important;opacity:1!important}.message-row--own .message-actions-trigger{color:#dbeafe!important;opacity:1!important}.message-bubble{width:-moz-fit-content;width:fit-content;min-width:0;max-width:min(76%,520px);padding:6px 8px 5px}.message-bubble>p{font-size:.96rem;line-height:1.3}.message-sender-name{margin-bottom:2px;font-size:.7rem;line-height:1.1}.message-bubble footer{justify-content:flex-end;align-items:center;gap:4px;min-height:18px;margin-top:2px;font-size:.69rem;line-height:1;display:flex}.message-status{gap:2px}.message-status__label{margin-left:0!important;font-size:.66rem!important;line-height:1!important}.message-actions-trigger{width:28px!important;min-width:28px!important;height:26px!important;min-height:26px!important;padding:0!important}.message-row{margin-bottom:5px}.message-bubble:has(.voice-note-player){width:-moz-fit-content;width:fit-content;max-width:min(86%,300px);padding:7px 9px 5px}.message-bubble:has(.voice-note-player) .message-attachments{margin:1px 0 0}.message-row--own .voice-note-player{color:#fff}.message-row:not(.message-row--own) .voice-note-player{color:var(--ui-accent-strong)}.message-bubble:has(.voice-note-player) .message-attachments{background:0 0;border:0}@media (max-width:767px){.message-bubble{max-width:80%;padding:6px 8px 5px}.message-bubble:has(.voice-note-player){max-width:88%}.message-list{padding-inline:8px}}@media (max-width:360px){.message-bubble{max-width:84%}.message-bubble:has(.voice-note-player){max-width:92%}}@media (max-width:767px){.message-bubble:not(:has(.message-attachments)){width:-moz-fit-content!important;width:fit-content!important;min-width:0!important;max-width:78vw!important;padding:5px 7px 4px!important}.message-bubble>p{font-size:.92rem!important;line-height:1.25!important}.message-sender-name{margin-bottom:1px!important;font-size:.66rem!important;line-height:1.05!important}.message-bubble footer{gap:3px!important;min-height:16px!important;margin-top:1px!important;font-size:.64rem!important;line-height:1!important}.message-status__label{font-size:.61rem!important}.message-actions-trigger{width:24px!important;min-width:24px!important;height:22px!important;min-height:22px!important}.message-bubble:has(.voice-note-player){width:220px!important;min-width:0!important;max-width:calc(100vw - 76px)!important;padding:6px 7px 4px!important}.message-bubble:has(.voice-note-player) .message-attachments{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;display:block!important}.voice-note-player{grid-template-columns:34px minmax(0,1fr)!important;gap:6px!important;width:100%!important;min-width:0!important;max-width:100%!important}.voice-note-player__play{width:34px!important;min-width:34px!important;height:34px!important}.voice-note-player__wave{gap:1px!important;height:21px!important;min-height:21px!important}.voice-note-player__wave i{max-width:2px!important}.voice-note-player__meta{min-height:11px!important;font-size:.66rem!important}.message-row{margin-bottom:3px!important}}@media (max-width:360px){.message-bubble:has(.voice-note-player){width:200px!important;max-width:calc(100vw - 64px)!important}}:root,html[data-theme=light]{--ui-bg:#f4f6fa;--ui-surface:#fff;--ui-surface-raised:#f9fafc;--ui-surface-muted:#eef2f7;--ui-text:#182033;--ui-text-muted:#687386;--ui-border:#dfe5ee;--ui-border-strong:#cbd4e1;--ui-accent:#5b5ce2;--ui-accent-strong:#4647c6;--ui-accent-soft:#ededff;--ui-on-accent:#fff;--ui-danger:#bd3346;--ui-danger-soft:#fff0f2;--ui-success:#167a56;--ui-success-soft:#eaf8f2;--ui-warning:#a45c0a;--ui-warning-soft:#fff5e5;--ui-focus:#6d6ee8;--ui-overlay:#1118277a;--ui-shadow-1:0 1px 2px #1018280d, 0 8px 24px #1018280f;--ui-shadow-2:0 18px 50px #10182824;--ui-radius-sm:10px;--ui-radius-md:14px;--ui-radius-lg:20px;--ui-radius-xl:28px;--ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-5:20px;--ui-space-6:24px;--ui-space-8:32px;--ui-z-sticky:20;--ui-z-dropdown:40;--ui-z-overlay:60;--ui-z-modal:70;--ui-z-toast:90;--ui-sidebar:360px;--ui-rail:68px;--ui-mobile-nav:64px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html[data-theme=dark]{--ui-bg:#0b1020;--ui-surface:#111827;--ui-surface-raised:#171f31;--ui-surface-muted:#1c2537;--ui-text:#edf1f7;--ui-text-muted:#9ca8ba;--ui-border:#293449;--ui-border-strong:#3a465d;--ui-accent:#8c8df2;--ui-accent-strong:#a8a9ff;--ui-accent-soft:#242550;--ui-on-accent:#111226;--ui-danger:#ff8190;--ui-danger-soft:#3a1820;--ui-success:#64d7a5;--ui-success-soft:#12352b;--ui-warning:#ffc16d;--ui-warning-soft:#3c2d18;--ui-focus:#a7a8ff;--ui-overlay:#000000ad;--ui-shadow-1:0 10px 26px #00000029;--ui-shadow-2:0 22px 70px #00000073;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:dark){html[data-theme=system]{--ui-bg:#0b1020;--ui-surface:#111827;--ui-surface-raised:#171f31;--ui-surface-muted:#1c2537;--ui-text:#edf1f7;--ui-text-muted:#9ca8ba;--ui-border:#293449;--ui-border-strong:#3a465d;--ui-accent:#8c8df2;--ui-accent-strong:#a8a9ff;--ui-accent-soft:#242550;--ui-on-accent:#111226;--ui-danger:#ff8190;--ui-danger-soft:#3a1820;--ui-success:#64d7a5;--ui-success-soft:#12352b;--ui-warning:#ffc16d;--ui-warning-soft:#3c2d18;--ui-focus:#a7a8ff;--ui-overlay:#000000ad;--ui-shadow-1:0 10px 26px #00000029;--ui-shadow-2:0 22px 70px #00000073;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}@media (prefers-color-scheme:light){html[data-theme=system]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}html,body,#app{min-width:320px;min-height:100%}html{background:var(--ui-bg)}body{background:var(--ui-bg);color:var(--ui-text)}a{color:var(--ui-accent-strong)}:focus-visible{outline:3px solid var(--ui-focus);outline-offset:3px}button,a,input,textarea,select{touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}.private-shell,.welcome-page,.auth-page,.legal-page{background:var(--ui-bg);color:var(--ui-text)}.private-nav,.welcome-card,.auth-card,.legal-card,.panel,.confirm-dialog{background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border);box-shadow:var(--ui-shadow-1)}.private-nav{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.welcome-card p,.auth-header p,.panel p,.auth-card>p,.legal-content,.profile-about,.dialog-body{color:var(--ui-text-muted)}.brand,.field-group label{color:var(--ui-text)}.eyebrow,.username{color:var(--ui-accent-strong)}.field-group input,.field-group select,.field-group textarea,.search-form input,.input-prefix,.review,.settings-grid a,.session-list li,.people-list>li,.legal-list>li,.settings-nav a{background:var(--ui-surface-raised);color:var(--ui-text);border-color:var(--ui-border)}.field-help,.legal-note,.data-list dt,.session-list span,.people-list small,.legal-list span{color:var(--ui-text-muted)}.primary-button{background:var(--ui-accent);color:var(--ui-on-accent)}.secondary-button{background:var(--ui-surface-muted);border-color:var(--ui-border);color:var(--ui-text)}.link-button{color:var(--ui-accent-strong)}.danger-button{background:var(--ui-danger);color:#fff}.settings-nav a[aria-current=page]{border-color:var(--ui-accent);background:var(--ui-accent-soft);color:var(--ui-text)}.avatar-view,.ui-avatar{background:linear-gradient(145deg,#756bf0,#4f46b8)}.flash.success{background:var(--ui-success-soft);border-color:color-mix(in srgb, var(--ui-success), transparent 60%);color:var(--ui-success)}.flash.danger{background:var(--ui-danger-soft);border-color:color-mix(in srgb, var(--ui-danger), transparent 60%);color:var(--ui-danger)}.ui-button{border-radius:var(--ui-radius-md);border:1px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 16px;font-weight:780;text-decoration:none;transition:transform .14s,background-color .14s,border-color .14s,opacity .14s;display:inline-flex}.ui-button:hover:not(:disabled){transform:translateY(-1px)}.ui-button:disabled{opacity:.5;cursor:not-allowed}.ui-button--primary{background:var(--ui-accent);color:var(--ui-on-accent)}.ui-button--primary:hover:not(:disabled){background:var(--ui-accent-strong)}.ui-button--secondary{background:var(--ui-surface-muted);color:var(--ui-text);border-color:var(--ui-border)}.ui-button--ghost{color:var(--ui-text);background:0 0}.ui-button--danger{background:var(--ui-danger);color:#fff}.ui-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:16px;height:16px;animation:.7s linear infinite ui-spin}@keyframes ui-spin{to{transform:rotate(360deg)}}.icon-button{width:44px;min-width:44px;height:44px;min-height:44px;color:var(--ui-text-muted);background:0 0;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:inline-grid}.icon-button:hover:not(:disabled){background:var(--ui-surface-muted);color:var(--ui-text)}.icon-button:disabled{opacity:.38;cursor:not-allowed}.icon-button--sm{width:38px;min-width:38px;height:38px;min-height:38px}.icon-button--lg{width:50px;min-width:50px;height:50px;min-height:50px}.ui-field{gap:7px;display:grid}.ui-field label{font-weight:750}.ui-field input,.ui-field textarea{border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-raised);width:100%;min-height:46px;color:var(--ui-text);padding:10px 12px;font-size:16px}.ui-field textarea{resize:vertical;min-height:96px}.ui-field__hint{color:var(--ui-text-muted);margin:0;font-size:.875rem}.ui-field__error{color:var(--ui-danger);margin:0;font-size:.875rem}.ui-avatar{color:#fff;border-radius:50%;flex:none;place-items:center;font-weight:850;display:inline-grid;position:relative;overflow:visible}.ui-avatar>img,.ui-avatar>span{border-radius:inherit;object-fit:cover;place-items:center;width:100%;height:100%;display:grid}.ui-avatar__status{background:var(--ui-text-muted);border:2px solid var(--ui-surface);border-radius:50%;width:25%;min-width:8px;height:25%;min-height:8px;position:absolute;bottom:0;right:0}.ui-avatar__status.is-online{background:var(--ui-success)}.ui-badge,.unread-badge{background:var(--ui-accent);min-width:20px;height:20px;color:var(--ui-on-accent);border-radius:999px;place-items:center;padding:0 6px;font-size:.72rem;font-weight:850;display:inline-grid}.ui-skeleton{grid-template-columns:48px 1fr;gap:12px;padding:12px 14px;display:grid}.ui-skeleton__avatar{background:var(--ui-surface-muted);border-radius:50%;width:48px;height:48px}.ui-skeleton__body{align-content:center;gap:8px;display:grid}.ui-skeleton__body i{background:var(--ui-surface-muted);border-radius:999px;width:75%;height:10px;display:block}.ui-skeleton__body i:nth-child(2){width:48%}.ui-skeleton__avatar,.ui-skeleton__body i{animation:1.6s ease-in-out infinite ui-pulse}@keyframes ui-pulse{50%{opacity:.45}}.chat-app-shell{background:var(--ui-bg);width:100%;height:100dvh;min-height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overflow:hidden}.chat-workspace{height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - var(--ui-mobile-nav));overflow:hidden}.chat-app-shell--conversation .chat-workspace{height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.chat-split{background:var(--ui-surface);grid-template-columns:minmax(0,1fr);height:100%;display:grid}.chat-sidebar{background:var(--ui-surface);flex-direction:column;min-width:0;height:100%;display:flex;overflow:hidden}.chat-sidebar__head{border-bottom:1px solid var(--ui-border);justify-content:space-between;align-items:center;gap:8px;min-height:66px;padding:10px 12px;display:flex}.chat-sidebar__search{background:var(--ui-surface-muted);min-height:44px;color:var(--ui-text-muted);border:1px solid #0000;border-radius:14px;align-items:center;gap:8px;margin:10px 12px;padding:0 12px;display:flex}.chat-sidebar__search:focus-within{border-color:var(--ui-focus)}.chat-sidebar__search input{width:100%;min-width:0;color:var(--ui-text);background:0 0;border:0;outline:0;font-size:16px}.chat-sidebar__search input:disabled{opacity:.72;cursor:not-allowed}.chat-list{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;overflow-y:auto}.chat-list-item{border:0;border-bottom:1px solid var(--ui-border);width:100%;min-height:72px;color:var(--ui-text);text-align:left;background:0 0;align-items:center;gap:11px;padding:10px 12px;display:flex}.chat-list-item:hover:not(:disabled),.chat-list-item.is-active{background:var(--ui-surface-muted)}.chat-list-item:disabled{cursor:default;opacity:1}.chat-list-item__body{flex:1;gap:5px;min-width:0;display:grid}.chat-list-item__top,.chat-list-item__bottom{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.chat-list-item__top strong,.chat-list-item__preview{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.chat-list-item__top time{color:var(--ui-text-muted);flex:none;font-size:.75rem}.chat-list-item__preview{color:var(--ui-text-muted);font-size:.9rem}.chat-list-item__meta{color:var(--ui-text-muted);flex:none;align-items:center;gap:5px;display:inline-flex}.chat-main-panel{background:linear-gradient(160deg, var(--ui-surface-raised), var(--ui-bg));min-width:0;height:100%;display:none;overflow:auto}.chat-main-panel>.empty-state{min-height:100%}.chat-security-note{color:var(--ui-text-muted);align-items:center;gap:7px;margin-top:14px;font-size:.83rem;display:inline-flex}.dev-banner{background:var(--ui-warning-soft);color:var(--ui-warning);border-radius:10px;margin:0 12px 8px;padding:9px 10px;font-size:.77rem;line-height:1.35}.empty-state{text-align:center;min-height:260px;color:var(--ui-text);flex-direction:column;justify-content:center;align-items:center;padding:clamp(24px,8vw,56px);display:flex}.empty-state__icon{background:var(--ui-accent-soft);width:72px;height:72px;color:var(--ui-accent-strong);border-radius:24px;place-items:center;margin-bottom:18px;display:grid}.empty-state h2{margin:0;font-size:clamp(1.3rem,5vw,1.75rem)}.empty-state p{max-width:46ch;color:var(--ui-text-muted);margin:9px 0 20px;line-height:1.55}.empty-state__actions{justify-items:center;gap:12px;display:grid}.desktop-rail{display:none}.mobile-nav{z-index:var(--ui-z-sticky);left:env(safe-area-inset-left);right:env(safe-area-inset-right);bottom:env(safe-area-inset-bottom);height:var(--ui-mobile-nav);background:color-mix(in srgb, var(--ui-surface) 94%, transparent);border-top:1px solid var(--ui-border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed}.mobile-nav__item{min-width:0;color:var(--ui-text-muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:.68rem;font-weight:720;text-decoration:none;display:flex}.mobile-nav__item[aria-current=page]{color:var(--ui-accent-strong)}.mobile-nav__item svg{flex:none}.user-menu{flex:1;align-items:center;gap:9px;min-width:0;display:flex}.user-menu__identity{flex:1;gap:2px;min-width:0;display:grid}.user-menu__identity strong,.user-menu__identity span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.user-menu__identity span{color:var(--ui-text-muted);font-size:.78rem}.dropdown{position:relative}.dropdown__menu{z-index:var(--ui-z-dropdown);border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface);width:min(260px,100vw - 24px);box-shadow:var(--ui-shadow-2);padding:7px;position:absolute;top:calc(100% + 6px);right:0}.dropdown__menu a,.dropdown__menu button{width:100%;min-height:43px;color:var(--ui-text);text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:10px;padding:8px 10px;text-decoration:none;display:flex}.conversation-placeholder{background:var(--ui-surface);grid-template-rows:auto minmax(0,1fr) auto;height:100%;display:grid}.conversation-header{min-height:64px;padding:8px max(8px, env(safe-area-inset-right)) 8px max(6px, env(safe-area-inset-left));border-bottom:1px solid var(--ui-border);background:var(--ui-surface);align-items:center;gap:9px;display:flex}.conversation-header__identity{flex:1;gap:2px;min-width:0;display:grid}.conversation-header__identity strong,.conversation-header__identity span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.conversation-header__identity span{color:var(--ui-text-muted);font-size:.78rem}.conversation-canvas{overscroll-behavior:contain;background:linear-gradient(180deg, var(--ui-surface-raised), var(--ui-bg));min-height:0;overflow-y:auto}.message-composer{padding:9px max(8px, env(safe-area-inset-right)) max(9px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));border-top:1px solid var(--ui-border);background:var(--ui-surface);align-items:flex-end;gap:4px;display:flex}.message-composer textarea{resize:none;border:1px solid var(--ui-border);background:var(--ui-surface-raised);min-width:0;min-height:42px;max-height:120px;color:var(--ui-text);border-radius:18px;flex:1;padding:10px 13px;font-size:16px;line-height:1.35}.message-composer.is-disabled textarea{opacity:.68}.presence{background:var(--ui-success);border-radius:50%;width:9px;height:9px;display:inline-block}.presence.is-offline{background:var(--ui-text-muted)}.typing-indicator{gap:3px;display:inline-flex}.typing-indicator i{background:currentColor;border-radius:50%;width:5px;height:5px;animation:1s infinite alternate typing}.typing-indicator i:nth-child(2){animation-delay:.15s}.typing-indicator i:nth-child(3){animation-delay:.3s}@keyframes typing{to{opacity:.28;transform:translateY(-2px)}}.private-shell--step4{min-height:100dvh;padding-bottom:calc(var(--ui-mobile-nav) + env(safe-area-inset-bottom))}.private-nav--step4{border-color:var(--ui-border);background:color-mix(in srgb, var(--ui-surface) 94%, transparent);flex-direction:row;align-items:center;min-height:62px;padding-block:8px}.private-nav--step4 nav{display:none}.brand--step4{align-items:center;gap:8px;display:inline-flex}.private-user{align-items:center;gap:6px;margin-left:auto;display:flex}.private-main--step4{width:min(100%,1120px);padding-bottom:32px}.settings-layout--step4{gap:18px}.settings-sidebar{min-width:0}.settings-sidebar>.settings-nav{margin-top:18px}.settings-back{align-items:center;gap:4px;min-height:42px;margin-bottom:12px;font-weight:720;text-decoration:none;display:inline-flex}.settings-content-step4{gap:16px;min-width:0;display:grid}.settings-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);box-shadow:var(--ui-shadow-1);padding:clamp(18px,4vw,28px)}.settings-card h2{margin:0 0 7px}.settings-card__intro{color:var(--ui-text-muted);margin:0 0 20px;line-height:1.55}.settings-nav--step4 .settings-nav__label{align-items:center;gap:10px;display:inline-flex}.appearance-grid,.appearance-options{gap:10px;display:grid}.appearance-option{border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);cursor:pointer;background:var(--ui-surface-raised);grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:12px;min-height:76px;padding:14px;display:grid}.appearance-option:hover{border-color:var(--ui-border-strong)}.appearance-option.is-selected{border-color:var(--ui-accent);background:var(--ui-accent-soft)}.appearance-option input{width:19px;height:19px;accent-color:var(--ui-accent)}.appearance-option span{gap:3px;display:grid}.appearance-option small{color:var(--ui-text-muted);line-height:1.35}.app-dialog,.bottom-sheet{border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-shadow-2)}.app-dialog{border-radius:var(--ui-radius-lg);width:min(100% - 24px,520px);padding:0}.app-dialog::backdrop{background:var(--ui-overlay);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.bottom-sheet::backdrop{background:var(--ui-overlay);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.app-dialog__head{align-items:flex-start;gap:12px;padding:18px 18px 10px;display:flex}.app-dialog__head>div{flex:1;min-width:0}.app-dialog__head h2{margin:0}.app-dialog__head p{color:var(--ui-text-muted);margin:6px 0 0}.app-dialog__body{padding:8px 18px 18px}.app-dialog__actions{justify-content:flex-end;gap:8px;padding:0 18px 18px;display:flex}.bottom-sheet{width:100%;max-width:100%;padding:12px 16px max(16px, env(safe-area-inset-bottom));border-radius:22px 22px 0 0;margin:auto 0 0}.bottom-sheet__handle{background:var(--ui-border-strong);border-radius:999px;width:44px;height:4px;margin:0 auto 12px}.toast-host{z-index:var(--ui-z-toast);top:max(12px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));pointer-events:none;gap:8px;width:min(360px,100vw - 24px);display:grid;position:fixed}.toast{pointer-events:auto;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface);min-height:48px;box-shadow:var(--ui-shadow-2);align-items:center;gap:10px;padding:10px 10px 10px 14px;display:flex}.toast span{flex:1}.toast button{width:34px;height:34px;color:var(--ui-text-muted);background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.toast--success{border-color:color-mix(in srgb, var(--ui-success), transparent 55%)}.toast--error{border-color:color-mix(in srgb, var(--ui-danger), transparent 55%)}.offline-banner{z-index:var(--ui-z-toast);top:env(safe-area-inset-top);background:var(--ui-warning);color:#fff;max-width:calc(100vw - 24px);min-height:36px;box-shadow:var(--ui-shadow-1);border-radius:0 0 12px 12px;align-items:center;gap:7px;padding:7px 12px;font-size:.83rem;display:flex;position:fixed;left:50%;transform:translate(-50%)}.error-state{border:1px solid color-mix(in srgb, var(--ui-danger), transparent 55%);border-radius:var(--ui-radius-md);background:var(--ui-danger-soft);justify-content:space-between;align-items:center;gap:12px;margin:16px;padding:16px;display:flex}@media (min-width:768px){.private-shell--step4 .mobile-nav{display:none}.chat-split{grid-template-columns:minmax(300px,38vw) minmax(0,1fr)}.chat-main-panel{display:block}.private-shell--step4{padding-bottom:env(safe-area-inset-bottom)}.private-nav--step4{flex-direction:row;align-items:center}.private-nav--step4 nav{display:flex}.private-nav--step4 nav a{color:var(--ui-text-muted);align-items:center;gap:6px;display:inline-flex}.private-nav--step4 nav a:hover{color:var(--ui-text)}.appearance-options{grid-template-columns:repeat(3,minmax(0,1fr))}.appearance-grid>.ui-button{grid-column:1/-1;justify-self:start}}@media (min-width:1024px){.chat-workspace{height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.chat-app-shell .mobile-nav{display:none}.chat-app-shell{padding-left:calc(env(safe-area-inset-left) + var(--ui-rail))}.desktop-rail{z-index:var(--ui-z-sticky);left:env(safe-area-inset-left);top:env(safe-area-inset-top);bottom:env(safe-area-inset-bottom);width:var(--ui-rail);background:var(--ui-surface-raised);border-right:1px solid var(--ui-border);flex-direction:column;align-items:center;gap:7px;padding:10px 8px;display:flex;position:fixed}.desktop-rail__item{width:46px;height:46px;color:var(--ui-text-muted);border-radius:14px;place-items:center;display:grid}.desktop-rail__item:hover,.desktop-rail__item[aria-current=page]{background:var(--ui-accent-soft);color:var(--ui-accent-strong)}.chat-split{grid-template-columns:minmax(320px, var(--ui-sidebar)) minmax(0, 1fr)}.settings-layout--step4{grid-template-columns:minmax(230px,280px) minmax(0,1fr);gap:28px}.settings-sidebar{align-self:start;position:sticky;top:84px}}@media (min-width:1440px){:root{--ui-sidebar:390px}.chat-main-panel>.empty-state{max-width:980px;margin-inline:auto}}@media (max-width:359px){.chat-sidebar__head{padding-inline:8px}.user-menu__identity{display:none}.mobile-nav__item{font-size:.64rem}.appearance-option{grid-template-columns:auto 1fr}.appearance-option>svg{display:none}}@media (max-height:430px) and (orientation:landscape){:root{--ui-mobile-nav:52px}.mobile-nav__item{flex-direction:row;gap:6px}.chat-sidebar__head{min-height:56px}.empty-state{min-height:180px;padding-block:20px}.empty-state__icon{width:54px;height:54px;margin-bottom:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (forced-colors:active){.ui-button,.icon-button,.chat-list-item,.appearance-option{border:1px solid buttontext}}@media (max-width:767px){.settings-layout--step4 .settings-sidebar .settings-nav{display:none}.chat-app-shell--conversation .chat-workspace{height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}}.ui-tooltip-wrap{display:inline-flex;position:relative}.ui-tooltip{z-index:var(--ui-z-dropdown);background:var(--ui-text);color:var(--ui-surface);white-space:nowrap;opacity:0;pointer-events:none;border-radius:8px;padding:6px 8px;font-size:.72rem;transition:opacity .12s;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%)}.ui-tooltip-wrap:hover .ui-tooltip,.ui-tooltip-wrap:focus-within .ui-tooltip{opacity:1}.user-list-item{color:var(--ui-text);border-radius:inherit;align-items:center;gap:12px;padding:12px;text-decoration:none;display:flex}.user-list-item:hover{background:var(--ui-surface-muted)}.user-list-item__text{gap:3px;min-width:0;display:grid}.user-list-item__text strong,.user-list-item__text small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.user-list-item__text small{color:var(--ui-text-muted)}.user-list-item__about{max-width:52ch}.search-input-step4{border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-raised);color:var(--ui-text-muted);align-items:center;gap:8px;padding:0 12px;display:flex}.search-input-step4 input{background:0 0;border:0;padding-inline:0}.search-input-step4:focus-within{border-color:var(--ui-focus)}.people-list.people-list--step4>li{padding:0;display:block}.nav-icon-wrap{place-items:center;display:inline-grid;position:relative}.nav-dot{background:var(--ui-danger);color:#fff;border:2px solid var(--ui-surface);border-radius:999px;place-items:center;min-width:17px;height:17px;padding:0 4px;font-size:.62rem;font-weight:850;display:grid;position:absolute;top:-8px;right:-9px}.contacts-page{max-width:900px;margin-inline:auto}.contacts-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.contacts-head h1{margin:.2rem 0}.contact-list{gap:9px;margin:18px 0;padding:0;list-style:none;display:grid}.contact-row,.request-row,.people-row{border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-raised);justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:10px;display:flex}.contact-row__identity{min-width:0;color:var(--ui-text);flex:1;align-items:center;gap:12px;text-decoration:none;display:flex}.contact-row__identity>span{gap:3px;min-width:0;display:grid}.contact-row__identity strong,.contact-row__identity small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.contact-row__identity small{color:var(--ui-text-muted)}.contact-row__actions,.request-actions,.relationship-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.relation-note{color:var(--ui-text-muted);font-size:.82rem;font-weight:700}.relation-warning{border-radius:var(--ui-radius-md);background:var(--ui-warning-soft);color:var(--ui-warning);padding:10px 12px}.relation-contact{background:var(--ui-success-soft);color:var(--ui-success)}.contacts-empty{text-align:center;min-height:220px;color:var(--ui-text-muted);align-content:center;place-items:center;gap:10px;display:grid}.contacts-empty h2,.contacts-empty p{margin:0}.request-tabs{border-bottom:1px solid var(--ui-border);gap:8px;margin-bottom:14px;display:flex}.request-tabs button{min-height:46px;color:var(--ui-text-muted);background:0 0;border:0;border-bottom:3px solid #0000;align-items:center;gap:8px;padding:9px 12px;font-weight:800;display:flex}.request-tabs button.active{color:var(--ui-text);border-bottom-color:var(--ui-accent)}.people-list.people-list--step5>li{justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.people-list.people-list--step5 .contact-row__identity{padding:0}.relationship-actions .ui-button{min-height:40px;padding:8px 12px}.settings-card select{min-height:46px}@media (max-width:600px){.contact-row,.request-row,.people-row{align-items:flex-start}.request-row{flex-direction:column}.request-row .request-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.request-row>.ui-button{width:100%}.people-list.people-list--step5>li{flex-direction:column;align-items:flex-start}.people-list.people-list--step5 .relationship-actions{width:100%}.people-list.people-list--step5 .relationship-actions .ui-button{flex:1}.contact-row__actions{align-self:center}}@media (max-width:359px){.contacts-head>.ui-button{width:100%}.request-row .request-actions{grid-template-columns:1fr}.relationship-actions{width:100%;display:grid}.relationship-actions .ui-button{width:100%}}.chat-list-item{color:var(--ui-text);width:100%;text-decoration:none}.chat-list__more{justify-content:center;padding:12px;display:flex}.chat-list__more .ui-button{width:100%}.conversation-panel{background:var(--ui-bg);grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;max-width:100%;height:100%;display:grid;overflow:hidden}.chat-split--conversation{height:100%}.message-list{overscroll-behavior:contain;scrollbar-gutter:stable;background:linear-gradient(180deg, color-mix(in srgb, var(--ui-bg), var(--ui-surface) 25%), var(--ui-bg));min-height:0;padding:14px 10px 18px;overflow-y:auto}.message-history-top{place-items:center;gap:6px;min-height:36px;margin-bottom:8px;display:grid}.message-history-top .ui-button{min-height:38px;padding:7px 12px}.message-row{justify-content:flex-start;width:100%;margin:3px 0;display:flex}.message-row--own{justify-content:flex-end}.message-bubble{border:1px solid var(--ui-border);background:var(--ui-surface);overflow-wrap:anywhere;word-break:break-word;border-radius:14px 14px 14px 5px;max-width:min(85%,42rem);padding:8px 10px 6px;box-shadow:0 1px 1px #00000008}.message-row--own .message-bubble{color:#fff;opacity:1;background:#2563eb;border-color:#1d4ed8;border-radius:14px 14px 5px}.message-bubble p{white-space:pre-wrap;color:var(--ui-text);margin:0;line-height:1.42}.message-bubble footer{color:var(--ui-text-muted);justify-content:flex-end;gap:6px;margin-top:4px;font-size:.7rem;display:flex}.message-date-separator{text-align:center;color:var(--ui-text-muted);margin:14px 0;font-size:.75rem;font-weight:780;position:relative}.message-date-separator span{border:1px solid var(--ui-border);background:var(--ui-surface-raised);box-shadow:var(--ui-shadow-1);border-radius:999px;padding:5px 10px;display:inline-block}.composer-wrap{background:var(--ui-surface);width:100%;min-width:0;max-width:100%;padding-bottom:max(0px, env(safe-area-inset-bottom));border-top:1px solid var(--ui-border)}.composer-wrap .message-composer{border-top:0}.composer-error{color:var(--ui-danger);margin:0;padding:0 14px 8px;font-size:.78rem}.empty-conversation{min-height:100%;color:var(--ui-text-muted);place-items:center;display:grid}.new-conversation-empty{text-align:center;min-height:0;color:var(--ui-text-muted);place-items:center;padding:24px;display:grid;overflow:auto}.new-conversation-empty h2{color:var(--ui-text);margin:0 0 8px}.new-conversation-empty p{margin:0}.dropdown__menu a,.dropdown__menu button{width:100%;min-height:42px;color:var(--ui-text);text-align:left;background:0 0;border:0;align-items:center;gap:9px;padding:9px 12px;text-decoration:none;display:flex}.dropdown__menu a:hover,.dropdown__menu button:hover{background:var(--ui-surface-muted)}@media (max-width:767px){.chat-split--conversation .chat-sidebar{display:none}.conversation-panel{grid-column:1}.message-list{padding-inline:8px}.message-bubble{max-width:88%}}@media (min-width:768px){.message-list{padding:18px 22px}.message-bubble{max-width:75%}.conversation-panel{border-left:1px solid var(--ui-border)}}@media (min-width:1280px){.message-bubble{max-width:68%}.message-list{padding-inline:clamp(24px,6vw,88px)}}.realtime-banner{z-index:var(--ui-z-toast);top:max(8px, env(safe-area-inset-top));border:1px solid color-mix(in srgb, var(--ui-warning), transparent 45%);background:color-mix(in srgb, var(--ui-surface), var(--ui-warning) 13%);max-width:calc(100vw - 24px);min-height:36px;color:var(--ui-text);box-shadow:var(--ui-shadow-1);border-radius:999px;align-items:center;gap:7px;padding:7px 12px;font-size:.82rem;display:flex;position:fixed;left:50%;transform:translate(-50%)}.new-messages-button{z-index:var(--ui-z-sticky);border:1px solid var(--ui-border);background:var(--ui-surface-raised);min-height:40px;color:var(--ui-text);box-shadow:var(--ui-shadow-2);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:8px 12px;display:flex;position:sticky;bottom:12px;left:50%;transform:translate(-50%)}.new-messages-button:focus-visible{outline:3px solid color-mix(in srgb, var(--ui-accent), transparent 55%);outline-offset:2px}@media (prefers-reduced-motion:reduce){.new-messages-button,.message-list{scroll-behavior:auto}}.presence-label{min-width:0;color:var(--ui-text-muted);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:6px;font-size:.78rem;display:inline-flex;overflow:hidden}.presence-label .presence{flex:none}.typing-indicator{min-width:0;color:var(--ui-accent-strong);white-space:nowrap;align-items:center;font-size:.78rem}.message-status{min-width:14px;color:var(--ui-text-muted);vertical-align:middle;justify-content:center;align-items:center;display:inline-flex}.message-status.is-compact{margin-right:3px}.chat-list-item__preview{align-items:center;gap:2px;min-width:0;display:flex}.chat-list-item__preview>.message-status{flex:none}.message-bubble footer .message-status{margin-left:1px}.conversation-header__identity>.typing-indicator,.conversation-header__identity>.presence-label{text-overflow:ellipsis;overflow:hidden}.conversation-header__identity>.typing-indicator span,.conversation-header__identity>.presence-label{text-overflow:ellipsis;min-width:0;overflow:hidden}.unread-badge{font-variant-numeric:tabular-nums}@media (max-width:359px){.conversation-header__identity>.presence-label,.conversation-header__identity>.typing-indicator{max-width:calc(100vw - 150px)}.message-bubble footer{gap:4px}}.notification-center{width:min(840px,100%);margin:0 auto;padding:24px 18px 96px}.notification-list{gap:10px;display:grid}.notification-item{border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-shadow-1);border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid;overflow:hidden}.notification-item--unread{border-color:color-mix(in srgb, var(--ui-accent-strong) 32%, var(--ui-border));background:color-mix(in srgb, var(--ui-accent-soft) 42%, var(--ui-surface));box-shadow:inset 3px 0 0 var(--ui-accent-strong), var(--ui-shadow-1)}.notification-item__main{text-align:left;width:100%;color:var(--ui-text);cursor:pointer;background:0 0;border:0;gap:4px;padding:14px 16px;display:grid}.notification-item__main strong{color:var(--ui-text)}.notification-item__main span,.notification-item__main small{color:var(--ui-text-muted);opacity:.78}.notification-item>.icon-button{margin-right:10px}.notification-more{margin:18px auto 0;display:flex}.notification-grid{gap:10px;display:grid}.switch-row{border-bottom:1px solid var(--border,#2d3748);justify-content:space-between;align-items:center;gap:18px;padding:12px 0;display:flex}.switch-row>span{gap:3px;display:grid}.switch-row small,.device-row small{opacity:.72}.switch-row input[type=checkbox]{flex:none;block-size:22px;inline-size:22px}.quiet-hours{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.quiet-hours label{gap:6px;display:grid}.pwa-status{background:var(--surface-2,#172033);border-radius:10px;padding:10px 12px}.device-list{gap:8px;display:grid}.device-row{border:1px solid var(--border,#2d3748);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;display:flex}.device-row>div{gap:3px;min-width:0;display:grid}.settings-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}@media (max-width:600px){.notification-center{padding:16px 12px 88px}.notification-item__main{padding:12px}.quiet-hours{grid-template-columns:1fr}.settings-actions>*{max-width:100%}.switch-row,.device-row{align-items:flex-start}}@media (max-width:340px){.notification-item{grid-template-columns:minmax(0,1fr) 40px}.notification-item__main{padding-left:10px;padding-right:6px}.settings-actions{display:grid}.settings-actions button{width:100%}}.chat-app-shell--conversation{width:100%;height:auto;min-height:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:var(--ui-bg);position:fixed;inset:0;overflow:hidden}.chat-app-shell--conversation .chat-workspace{width:100%;height:100%;min-height:0;overflow:hidden}.chat-app-shell--conversation .chat-split--conversation,.chat-app-shell--conversation .conversation-panel{width:100%;height:100%;min-height:0}.chat-app-shell--conversation .message-list{min-height:0}.chat-app-shell--conversation .composer-wrap{flex:none;padding-bottom:0}.message-row--own .message-bubble>p,.message-row--own .message-sender-name{color:#fff!important}.message-row--own .message-bubble footer,.message-row--own .message-status{color:#dbeafe!important}.message-status__label{white-space:nowrap;margin-left:2px;font-size:.68rem;font-weight:750}.message-row:not(.message-row--own) .message-bubble{background:var(--ui-surface);color:var(--ui-text);opacity:1}.message-row:not(.message-row--own) .message-sender-name{color:var(--ui-accent-strong)}.voice-call-remote-audio{opacity:0;pointer-events:none;width:1px;height:1px;position:fixed}.voice-call-layer{z-index:10000;padding:max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));pointer-events:none;justify-content:center;align-items:flex-start;display:flex;position:fixed;inset:0}.voice-call-card{color:#fff;-webkit-backdrop-filter:blur(18px);pointer-events:auto;background:#0f172af7;border-radius:22px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;width:min(420px,100vw - 32px);padding:14px 16px;display:grid;box-shadow:0 20px 55px #00000047,0 2px 10px #0000002e}.voice-call-card__icon{background:#ffffff1f;border-radius:50%;flex:none;place-items:center;width:48px;height:48px;display:grid}.voice-call-card__identity{flex-direction:column;gap:3px;min-width:0;display:flex}.voice-call-card__identity strong{text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1.25;overflow:hidden}.voice-call-card__identity span{color:#ffffffb8;font-size:.88rem;line-height:1.3}.voice-call-card__error{background:#be185d2e;border-radius:10px;grid-column:1/-1;margin:0;padding:8px 10px;font-size:.82rem}.voice-call-actions{grid-column:1/-1;justify-content:center;gap:22px;padding-top:4px;display:flex}.voice-call-action{color:#fff;cursor:pointer;touch-action:manipulation;border:0;border-radius:50%;place-items:center;width:56px;height:56px;transition:transform .12s,opacity .12s;display:inline-grid}.voice-call-action:hover{transform:scale(1.045)}.voice-call-action:active{transform:scale(.95)}.voice-call-action:focus-visible{outline-offset:3px;outline:3px solid #ffffffb8}.voice-call-action--accept{background:#16a34a}.voice-call-action--reject{background:#dc2626}.voice-call-action--neutral{background:#ffffff2b}.voice-call-action--muted{background:#f59e0be6}@media (max-width:640px){.voice-call-layer{align-items:flex-end;padding-left:10px;padding-right:10px}.voice-call-card{border-radius:24px;width:100%;max-width:none;padding:16px}.voice-call-action{width:60px;height:60px}}.appearance-accent{border-top:1px solid var(--ui-border);margin-top:14px;padding-top:18px}.appearance-accent h3{margin:0 0 6px;font-size:1rem}.appearance-accent>p{color:var(--ui-text-muted);margin:0 0 14px;line-height:1.5}.accent-color-options{grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:10px;display:grid}.accent-color-option{border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-raised);cursor:pointer;align-items:center;gap:10px;min-height:58px;padding:10px 12px;transition:border-color .16s,background .16s,transform .16s;display:flex;position:relative}.accent-color-option:hover{border-color:var(--ui-border-strong)}.accent-color-option:active{transform:scale(.98)}.accent-color-option.is-selected{border-color:var(--ui-accent);background:var(--ui-accent-soft)}.accent-color-option input{opacity:0;pointer-events:none;block-size:1px;inline-size:1px;position:absolute}.accent-color-option:has(input:focus-visible){outline:3px solid var(--ui-focus);outline-offset:3px}.accent-color-option__swatch{color:#fff;border-radius:50%;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex;box-shadow:inset 0 0 0 1px #ffffff38,0 1px 4px #00000029}.accent-color-option__label{min-width:0;color:var(--ui-text);font-size:.9rem;font-weight:750}html[data-accent=purple]{--ui-accent:#5b5ce2;--ui-accent-strong:#4647c6;--ui-accent-soft:#ededff;--ui-on-accent:#fff;--ui-focus:#6d6ee8}html[data-accent=blue]{--ui-accent:#2563eb;--ui-accent-strong:#1d4ed8;--ui-accent-soft:#eff6ff;--ui-on-accent:#fff;--ui-focus:#3b82f6}html[data-accent=green]{--ui-accent:#16a34a;--ui-accent-strong:#15803d;--ui-accent-soft:#f0fdf4;--ui-on-accent:#fff;--ui-focus:#22c55e}html[data-accent=turquoise]{--ui-accent:#0f9f8f;--ui-accent-strong:#0f766e;--ui-accent-soft:#f0fdfa;--ui-on-accent:#fff;--ui-focus:#14b8a6}html[data-accent=orange]{--ui-accent:#ea580c;--ui-accent-strong:#c2410c;--ui-accent-soft:#fff7ed;--ui-on-accent:#fff;--ui-focus:#f97316}html[data-accent=red]{--ui-accent:#dc2626;--ui-accent-strong:#b91c1c;--ui-accent-soft:#fef2f2;--ui-on-accent:#fff;--ui-focus:#ef4444}html[data-accent=pink]{--ui-accent:#db2777;--ui-accent-strong:#be185d;--ui-accent-soft:#fdf2f8;--ui-on-accent:#fff;--ui-focus:#ec4899}html[data-theme=dark][data-accent=purple]{--ui-accent:#8c8df2;--ui-accent-strong:#a8a9ff;--ui-accent-soft:#242550;--ui-on-accent:#111226;--ui-focus:#a7a8ff}html[data-theme=dark][data-accent=blue]{--ui-accent:#60a5fa;--ui-accent-strong:#93c5fd;--ui-accent-soft:#172554;--ui-on-accent:#08111f;--ui-focus:#93c5fd}html[data-theme=dark][data-accent=green]{--ui-accent:#4ade80;--ui-accent-strong:#86efac;--ui-accent-soft:#123524;--ui-on-accent:#07160d;--ui-focus:#86efac}html[data-theme=dark][data-accent=turquoise]{--ui-accent:#2dd4bf;--ui-accent-strong:#5eead4;--ui-accent-soft:#113b37;--ui-on-accent:#061917;--ui-focus:#5eead4}html[data-theme=dark][data-accent=orange]{--ui-accent:#fb923c;--ui-accent-strong:#fdba74;--ui-accent-soft:#402312;--ui-on-accent:#241006;--ui-focus:#fdba74}html[data-theme=dark][data-accent=red]{--ui-accent:#f87171;--ui-accent-strong:#fca5a5;--ui-accent-soft:#3f1d24;--ui-on-accent:#26090d;--ui-focus:#fca5a5}html[data-theme=dark][data-accent=pink]{--ui-accent:#f472b6;--ui-accent-strong:#f9a8d4;--ui-accent-soft:#43152f;--ui-on-accent:#280817;--ui-focus:#f9a8d4}@media (prefers-color-scheme:dark){html[data-theme=system][data-accent=purple]{--ui-accent:#8c8df2;--ui-accent-strong:#a8a9ff;--ui-accent-soft:#242550;--ui-on-accent:#111226;--ui-focus:#a7a8ff}html[data-theme=system][data-accent=blue]{--ui-accent:#60a5fa;--ui-accent-strong:#93c5fd;--ui-accent-soft:#172554;--ui-on-accent:#08111f;--ui-focus:#93c5fd}html[data-theme=system][data-accent=green]{--ui-accent:#4ade80;--ui-accent-strong:#86efac;--ui-accent-soft:#123524;--ui-on-accent:#07160d;--ui-focus:#86efac}html[data-theme=system][data-accent=turquoise]{--ui-accent:#2dd4bf;--ui-accent-strong:#5eead4;--ui-accent-soft:#113b37;--ui-on-accent:#061917;--ui-focus:#5eead4}html[data-theme=system][data-accent=orange]{--ui-accent:#fb923c;--ui-accent-strong:#fdba74;--ui-accent-soft:#402312;--ui-on-accent:#241006;--ui-focus:#fdba74}html[data-theme=system][data-accent=red]{--ui-accent:#f87171;--ui-accent-strong:#fca5a5;--ui-accent-soft:#3f1d24;--ui-on-accent:#26090d;--ui-focus:#fca5a5}html[data-theme=system][data-accent=pink]{--ui-accent:#f472b6;--ui-accent-strong:#f9a8d4;--ui-accent-soft:#43152f;--ui-on-accent:#280817;--ui-focus:#f9a8d4}}@media (max-width:420px){.accent-color-options{grid-template-columns:repeat(2,minmax(0,1fr))}.accent-color-option{min-width:0;padding-inline:10px}}.conversation-compose-zone{overscroll-behavior:contain;background:var(--ui-surface);border-top:1px solid var(--ui-border);scrollbar-gutter:stable;flex-direction:column;flex:none;grid-area:3/1;width:100%;min-width:0;max-width:100%;max-height:min(42dvh,26rem);display:flex;overflow-y:auto}.conversation-compose-zone>.voice-recorder{border-top:0;flex:none}.conversation-compose-zone>.upload-tray{flex:0 auto}.conversation-compose-zone>.composer-wrap{border-top:0;flex:none}.conversation-compose-zone>.composer-error{flex:none}.conversation-panel>.message-list{grid-area:2/1;min-height:0;overflow-y:auto}@media (max-width:767px){.conversation-compose-zone{max-height:min(45dvh,22rem);padding-bottom:env(safe-area-inset-bottom)}.conversation-compose-zone>.voice-recorder{width:100%}}.message-bubble:has(.voice-note-player){width:auto;max-width:min(78%,270px)}@media (max-width:767px){.message-bubble:has(.voice-note-player){max-width:min(76%,250px)}}@media (max-width:360px){.message-bubble:has(.voice-note-player){max-width:min(80%,225px)}}@media (max-width:767px){.chat-app-shell--conversation .chat-workspace,.chat-app-shell--conversation .chat-split--conversation,.chat-app-shell--conversation .conversation-panel{width:100%;min-width:0;max-width:none}.chat-app-shell--conversation .message-list{width:100%;padding-left:4px;padding-right:4px}.chat-app-shell--conversation .message-row{width:100%;padding-inline:0}.chat-app-shell--conversation .message-bubble{max-width:92%}.chat-app-shell--conversation .message-bubble:has(.message-attachments){max-width:94%}.chat-app-shell--conversation .message-bubble:has(.voice-note-player){width:auto;max-width:min(76%,250px)}.conversation-compose-zone,.conversation-compose-zone>.composer-wrap,.conversation-compose-zone .message-composer{width:100%;min-width:0;max-width:100%}}@media (max-width:380px){.chat-app-shell--conversation .message-list{padding-left:2px;padding-right:2px}.chat-app-shell--conversation .message-bubble{max-width:94%}.chat-app-shell--conversation .message-bubble:has(.voice-note-player){max-width:min(80%,225px)}}@media (max-width:767px){.message-row:not(.message-row--own) .message-bubble:has(.message-reactions) :not(.message-attachments){max-width:100%}.message-row:not(.message-row--own) .message-bubble:has(.message-reactions):not(:has(.message-attachments)){width:-moz-fit-content;width:fit-content;min-width:160px;max-width:min(88%,290px)}.message-row:not(.message-row--own) .message-bubble:has(.message-reactions) footer{white-space:nowrap}.message-row:not(.message-row--own) .message-bubble:has(.message-reactions) .message-reactions{max-width:100%}}@media (max-width:360px){.message-row:not(.message-row--own) .message-bubble:has(.message-reactions):not(:has(.message-attachments)){min-width:150px;max-width:90%}}.voice-call-history{color:#111b21;background:#fff;border:1px solid #e9edef;border-radius:18px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:11px;width:-moz-fit-content;width:fit-content;min-width:230px;max-width:min(82%,390px);margin:5px 0;padding:11px 13px;display:grid;box-shadow:0 1px 1px #0b141a14}.voice-call-history__icon{color:#111b21;background:#111b210f;border-radius:50%;place-items:center;width:46px;height:46px;display:grid}.voice-call-history--missed.voice-call-history--incoming .voice-call-history__icon{color:#e91e63;background:#e91e6314}.voice-call-history__copy strong{color:inherit;font-size:.96rem;font-weight:700;line-height:1.2}.voice-call-history__copy small{color:#667781;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;line-height:1.25;overflow:hidden}.voice-call-history__time{color:#667781;white-space:nowrap;align-self:end;font-size:.72rem}html[data-theme=dark] .voice-call-history--missed.voice-call-history--incoming .voice-call-history__icon{color:#f43f5e;background:#f43f5e24}@media (prefers-color-scheme:dark){html[data-theme=system] .voice-call-history{color:#e9edef;background:#202c33;border-color:#2a3942}html[data-theme=system] .voice-call-history--own{background:#005c4b;border-color:#075e54}html[data-theme=system] .voice-call-history__icon{color:#e9edef;background:#e9edef14}html[data-theme=system] .voice-call-history--missed.voice-call-history--incoming .voice-call-history__icon{color:#f43f5e;background:#f43f5e24}html[data-theme=system] .voice-call-history__copy small,html[data-theme=system] .voice-call-history__time{color:#8696a0}}@media (max-width:767px){.voice-call-history{border-radius:17px;grid-template-columns:44px minmax(0,1fr) auto;gap:9px;min-width:220px;max-width:min(82%,350px);padding:10px 11px}.voice-call-history__icon{width:42px;height:42px}}@media (max-width:360px){.voice-call-history{min-width:205px;max-width:88%}}.message-row--own .message-bubble{color:#111b21!important;opacity:1!important;background:#d9fdd3!important;border-color:#d1f4cc!important}.message-row--own .message-bubble>p,.message-row--own .message-bubble .linkified-text{color:#111b21!important}.message-row--own .message-bubble footer{color:#667781!important}.message-row:not(.message-row--own) .message-bubble{color:#111b21!important;opacity:1!important;background:#fff!important;border-color:#e9edef!important}.message-row:not(.message-row--own) .message-bubble>p,.message-row:not(.message-row--own) .message-bubble .linkified-text{color:#111b21!important}html[data-theme=dark] .message-row--own .message-bubble{color:#e9edef!important;background:#005c4b!important;border-color:#075e54!important}html[data-theme=dark] .message-row--own .message-bubble>p,html[data-theme=dark] .message-row--own .message-bubble .linkified-text{color:#e9edef!important}html[data-theme=dark] .message-row--own .message-bubble footer{color:#d1d7db!important}html[data-theme=dark] .message-row:not(.message-row--own) .message-bubble{color:#e9edef!important;background:#202c33!important;border-color:#2a3942!important}html[data-theme=dark] .message-row:not(.message-row--own) .message-bubble>p,html[data-theme=dark] .message-row:not(.message-row--own) .message-bubble .linkified-text{color:#e9edef!important}@media (prefers-color-scheme:dark){html[data-theme=system] .message-row--own .message-bubble{color:#e9edef!important;background:#005c4b!important;border-color:#075e54!important}html[data-theme=system] .message-row--own .message-bubble>p,html[data-theme=system] .message-row--own .message-bubble .linkified-text{color:#e9edef!important}html[data-theme=system] .message-row--own .message-bubble footer{color:#d1d7db!important}html[data-theme=system] .message-row:not(.message-row--own) .message-bubble{color:#e9edef!important;background:#202c33!important;border-color:#2a3942!important}html[data-theme=system] .message-row:not(.message-row--own) .message-bubble>p,html[data-theme=system] .message-row:not(.message-row--own) .message-bubble .linkified-text{color:#e9edef!important}}@media (max-width:767px){.message-row:not(.message-row--group) .message-sender-name{display:none!important}.message-row .message-bubble{width:-moz-fit-content;width:fit-content;padding:7px 9px 5px;max-width:82%!important}.message-row:not(.message-row--own) .message-bubble:not(:has(.message-attachments)){min-width:118px}.message-row--own .message-bubble:not(:has(.message-attachments)){min-width:140px}.message-row .message-bubble:has(.message-reactions):not(:has(.message-attachments)){min-width:158px}.message-row .message-bubble:has(.message-attachments){max-width:92%!important}.message-row .message-bubble:has(.voice-note-player){width:auto;min-width:0;max-width:min(76%,250px)!important}}@media (max-width:360px){.message-row .message-bubble{max-width:86%!important}.message-row .message-bubble:has(.voice-note-player){max-width:min(80%,225px)!important}}.voice-call-history{opacity:1!important;color:#111b21!important;background:#fff!important;border-color:#e9edef!important;border-radius:14px!important;grid-template-columns:38px minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;width:-moz-fit-content!important;width:fit-content!important;min-width:205px!important;max-width:min(72%,300px)!important;margin-top:4px!important;margin-bottom:4px!important;padding:8px 9px!important;box-shadow:0 1px 1px #0b141a14!important}.voice-call-history--incoming{justify-self:start!important;margin-left:4px!important;margin-right:auto!important}.voice-call-history--own{background:#d9fdd3!important;border-color:#d1f4cc!important;justify-self:end!important;margin-left:auto!important;margin-right:4px!important}.voice-call-history__icon{color:#111b21!important;opacity:1!important;background:#111b210f!important;border-radius:50%!important;place-items:center!important;width:38px!important;min-width:38px!important;height:38px!important;display:grid!important}.voice-call-history__icon svg{width:19px!important;height:19px!important}.voice-call-history__copy{gap:1px!important;min-width:0!important;display:grid!important}.voice-call-history__copy strong{color:inherit!important;opacity:1!important;white-space:nowrap!important;font-size:.86rem!important;font-weight:700!important;line-height:1.12!important}.voice-call-history__copy small{color:#667781!important;text-overflow:ellipsis!important;white-space:nowrap!important;opacity:1!important;font-size:.72rem!important;line-height:1.15!important;overflow:hidden!important}.voice-call-history__time{color:#667781!important;white-space:nowrap!important;opacity:1!important;align-self:end!important;font-size:.65rem!important;line-height:1!important}.voice-call-history--incoming.voice-call-history--missed .voice-call-history__icon{color:#e91e63!important;background:#e91e6314!important}.voice-call-history--own .voice-call-history__icon{color:#111b21!important;background:#111b210f!important}html[data-theme=dark] .voice-call-history{color:#e9edef!important;background:#202c33!important;border-color:#2a3942!important}html[data-theme=dark] .voice-call-history--own{background:#005c4b!important;border-color:#075e54!important}html[data-theme=dark] .voice-call-history__icon{color:#e9edef!important;background:#e9edef14!important}html[data-theme=dark] .voice-call-history--incoming.voice-call-history--missed .voice-call-history__icon{color:#f43f5e!important;background:#f43f5e24!important}html[data-theme=dark] .voice-call-history__copy small,html[data-theme=dark] .voice-call-history__time{color:#8696a0!important}@media (prefers-color-scheme:dark){html[data-theme=system] .voice-call-history{color:#e9edef!important;background:#202c33!important;border-color:#2a3942!important}html[data-theme=system] .voice-call-history--own{background:#005c4b!important;border-color:#075e54!important}html[data-theme=system] .voice-call-history__icon{color:#e9edef!important;background:#e9edef14!important}html[data-theme=system] .voice-call-history--incoming.voice-call-history--missed .voice-call-history__icon{color:#f43f5e!important;background:#f43f5e24!important}html[data-theme=system] .voice-call-history__copy small,html[data-theme=system] .voice-call-history__time{color:#8696a0!important}}@media (max-width:767px){.voice-call-history{grid-template-columns:36px minmax(0,1fr) auto!important;gap:7px!important;min-width:200px!important;max-width:min(72%,285px)!important;padding:7px 9px!important}.voice-call-history__icon{width:36px!important;min-width:36px!important;height:36px!important}.voice-call-history__icon svg{width:18px!important;height:18px!important}}@media (max-width:360px){.voice-call-history{min-width:195px!important;max-width:78%!important}}@media (max-width:767px){.voice-call-history{border-radius:14px!important;grid-template-columns:34px minmax(0,1fr) auto!important;gap:7px!important;width:auto!important;min-width:0!important;max-width:68%!important;padding:7px 8px!important}.voice-call-history--incoming.voice-call-history--missed{width:min(68vw,270px)!important;max-width:68%!important}.voice-call-history--own{width:min(58vw,235px)!important;max-width:62%!important}.voice-call-history__icon{width:34px!important;min-width:34px!important;height:34px!important}.voice-call-history__icon svg{width:17px!important;height:17px!important}.voice-call-history__copy strong{font-size:.82rem!important;line-height:1.12!important}.voice-call-history__copy small{font-size:.68rem!important;line-height:1.12!important}.voice-call-history__time{font-size:.61rem!important}}@media (max-width:360px){.voice-call-history--incoming.voice-call-history--missed{width:min(74vw,250px)!important;max-width:74%!important}.voice-call-history--own{width:min(64vw,220px)!important;max-width:68%!important}}@media (max-width:767px){.voice-call-history{grid-template-rows:auto!important;grid-template-columns:34px minmax(0,1fr)!important;gap:7px!important;width:auto!important;min-width:0!important;max-width:64%!important;padding:7px 58px 20px 8px!important;position:relative!important}.voice-call-history--incoming.voice-call-history--missed{width:min(64vw,255px)!important;max-width:64%!important}.voice-call-history--own{width:min(54vw,220px)!important;max-width:58%!important}.voice-call-history__icon{grid-area:1/1!important;width:34px!important;min-width:34px!important;height:34px!important}.voice-call-history__copy{grid-area:1/2!important}.voice-call-history__copy strong{font-size:.8rem!important}.voice-call-history__copy small{font-size:.67rem!important}.voice-call-history__time{font-size:.61rem!important;position:absolute!important;bottom:7px!important;right:9px!important}}@media (max-width:360px){.voice-call-history--incoming.voice-call-history--missed{width:min(70vw,240px)!important;max-width:70%!important}.voice-call-history--own{width:min(60vw,210px)!important;max-width:64%!important}}html:not([data-theme=dark]) .message-row--own .message-bubble .chat-link{color:#008069!important;text-underline-offset:2px!important;text-decoration-line:underline!important;text-decoration-color:#008069!important;text-decoration-thickness:1px!important}html:not([data-theme=dark]) .message-row--own .message-bubble{color:#111b21!important;background:#d9fdd3!important;border-color:#cfeccb!important}html:not([data-theme=dark]) .message-row--own .message-link-preview{background:#cef3ca!important;border-color:#00806921!important}.message-status.is-sent svg,.message-status.is-delivered svg{color:#667781!important;stroke:currentColor!important}.message-status.is-read svg{color:#53bdeb!important;stroke:currentColor!important}.message-row--own .message-status.is-read .message-status__label{color:#54656f!important}html[data-theme=dark] .message-status.is-sent svg,html[data-theme=dark] .message-status.is-delivered svg{color:#8696a0!important}html[data-theme=dark] .message-status.is-read svg{color:#53bdeb!important}@media (prefers-color-scheme:dark){html[data-theme=system] .message-status.is-sent svg,html[data-theme=system] .message-status.is-delivered svg{color:#8696a0!important}html[data-theme=system] .message-status.is-read svg{color:#53bdeb!important}}.message-status.is-read{color:#12b5ff!important}.chat-list-item__preview .message-status.is-read,.chat-list-item__preview .message-status.is-read svg,.chat-list-item__preview .message-status.is-read svg *{color:#12b5ff!important;stroke:#12b5ff!important}.message-list{background-image:radial-gradient(circle at 18px 18px,#54656f13 0 2px,#0000 2.5px),radial-gradient(circle at 62px 46px,#54656f0e 0 3px,#0000 3.5px),linear-gradient(35deg,#0000 46%,#54656f0b 47% 49%,#0000 50%),linear-gradient(-35deg,#0000 46%,#54656f09 47% 49%,#0000 50%);background-position:0 0,18px 26px,0 0,38px 22px;background-size:84px 84px,96px 96px,120px 120px,120px 120px;background-color:#efeae2!important}html[data-theme=dark] .message-list{background-image:radial-gradient(circle at 18px 18px,#8696a012 0 2px,#0000 2.5px),radial-gradient(circle at 62px 46px,#8696a00d 0 3px,#0000 3.5px),linear-gradient(35deg,#0000 46%,#8696a009 47% 49%,#0000 50%),linear-gradient(-35deg,#0000 46%,#8696a008 47% 49%,#0000 50%);background-color:#0b141a!important}@media (prefers-color-scheme:dark){html[data-theme=system] .message-list{background-image:radial-gradient(circle at 18px 18px,#8696a012 0 2px,#0000 2.5px),radial-gradient(circle at 62px 46px,#8696a00d 0 3px,#0000 3.5px),linear-gradient(35deg,#0000 46%,#8696a009 47% 49%,#0000 50%),linear-gradient(-35deg,#0000 46%,#8696a008 47% 49%,#0000 50%);background-color:#0b141a!important}html[data-theme=system] .message-list:before{background:linear-gradient(#0b141a1a,#0b141a1a)}}.message-list{isolation:isolate;isolation:isolate;background-image:radial-gradient(circle at 22px 22px,#8b7d6624 0 1.8px,#0000 2.2px),radial-gradient(circle at 72px 44px,#8b7d661a 0 2.4px,#0000 2.8px),linear-gradient(35deg,#0000 47%,#8b7d6612 48% 49%,#0000 50%),linear-gradient(-35deg,#0000 47%,#8b7d660f 48% 49%,#0000 50%);background-position:0 0,18px 24px,0 0,42px 20px;background-size:92px 92px,110px 110px,128px 128px,128px 128px;background-color:#efeae2!important;position:relative!important}.message-list:before{content:"";pointer-events:none;z-index:0;background:#ffffff2e;position:absolute;inset:0}.message-list>*{z-index:1;position:relative}.conversation-header,.chat-header,.chat-conversation-header{-webkit-backdrop-filter:blur(8px);box-shadow:0 1px #111b210a;background:#fffffff5!important;border-bottom:1px solid #e6e1da!important}.conversation-header__identity,.chat-header__identity{color:#111b21!important}.conversation-header__identity h1,.conversation-header__identity strong,.chat-header__identity h1,.chat-header__identity strong{color:#111b21!important;font-weight:700!important}.conversation-header__identity .presence-label,.conversation-header__identity .presence,.conversation-header__identity small,.conversation-header__identity span,.chat-header__identity .presence-label,.chat-header__identity .presence,.chat-header__identity small,.chat-header__identity span{color:#667781!important}.conversation-header button,.chat-header button,.conversation-header .icon-button,.chat-header .icon-button{color:#111b21!important}.date-separator,.message-date-separator{justify-content:center;margin:12px 0 14px;display:flex}.date-separator>span,.message-date-separator>span,.date-separator-pill{border:1px solid #0000000f;border-radius:999px;justify-content:center;align-items:center;min-height:32px;padding:0 18px;font-weight:700;display:inline-flex;box-shadow:0 1px 2px #111b210f;color:#111b21!important;background:#fffffff2!important}.message-row--system .message-bubble,.message-bubble--system,.system-message,.system-notice,.chat-system-banner{text-align:center;color:#1f2a24!important;width:min(610px,82%)!important;box-shadow:none!important;background:#d8f4e8!important;border:1px solid #1882681f!important;border-radius:14px!important;margin:8px auto 14px!important;padding:16px 18px!important}.message-row--own .message-bubble{color:#111b21!important;background:#d9fdd3!important;border-color:#cfeac9!important;box-shadow:0 1px #111b210d!important}.message-row--own .message-bubble>p,.message-row--own .message-bubble .linkified-text,.message-row--own .message-bubble footer,.message-row--own .message-bubble time{color:#111b21!important}.message-row:not(.message-row--own):not(.message-row--system) .message-bubble{color:#111b21!important;background:#fff!important;border-color:#e9edef!important;box-shadow:0 1px #111b210d!important}.message-row--own .message-bubble a,.message-row--own .chat-link{color:#128c7e!important;text-decoration-color:#128c7e8c!important}.message-row:not(.message-row--own) .message-bubble a,.message-row:not(.message-row--own) .chat-link{color:#0b6bcb!important}.message-row--own .message-link-preview{overflow:hidden;background:#ffffff2e!important;border:1px solid #5f906c3d!important;border-radius:16px!important}.message-row--own .message-link-preview__host{color:#4d6a5c!important}.message-row--own .message-link-preview__title{color:#111b21!important}.message-row--own .message-link-preview__description{color:#30453a!important}.message-row--own .message-link-preview__open{color:#128c7e!important}.message-row--own .message-status{color:#7d8b84!important}.message-row--own .message-status.is-read{color:#53bdeb!important}.chat-composer,.message-composer,.composer-shell,.composer-panel,.chat-input-panel{box-shadow:none!important;background:0 0!important;border:0!important}.chat-composer form,.message-composer form,.composer-shell form,.composer-panel form,.chat-input-panel form{background:#fff!important;border:1px solid #e7e2db!important;border-radius:30px!important;box-shadow:0 4px 16px #111b2114!important}@media (max-width:767px){.message-list{padding-bottom:calc(160px + env(safe-area-inset-bottom,0px))!important}.date-separator>span,.message-date-separator>span,.date-separator-pill{min-height:34px;padding:0 20px;font-size:1rem}.message-row .message-bubble{border-radius:18px!important}}html[data-theme=dark] .message-list{background-color:#0b141a!important}html[data-theme=dark] .message-list:before{background:#0b141a3d}html[data-theme=dark] .conversation-header,html[data-theme=dark] .chat-header,html[data-theme=dark] .chat-conversation-header{background:#111b21f0!important;border-bottom-color:#202c33!important}html[data-theme=dark] .conversation-header__identity h1,html[data-theme=dark] .conversation-header__identity strong,html[data-theme=dark] .chat-header__identity h1,html[data-theme=dark] .chat-header__identity strong{color:#e9edef!important}html[data-theme=dark] .conversation-header__identity .presence-label,html[data-theme=dark] .conversation-header__identity .presence,html[data-theme=dark] .conversation-header__identity small,html[data-theme=dark] .conversation-header__identity span,html[data-theme=dark] .chat-header__identity .presence-label,html[data-theme=dark] .chat-header__identity .presence,html[data-theme=dark] .chat-header__identity small,html[data-theme=dark] .chat-header__identity span{color:#aebac1!important}.attachment-picker-menu{z-index:200!important;position:relative!important;overflow:visible!important}.attachment-picker-menu .dropdown__menu{z-index:99999!important;border-radius:14px!important;width:220px!important;max-width:calc(100vw - 24px)!important;position:absolute!important;inset:auto auto calc(100% + 10px) 50%!important;overflow:hidden!important;transform:translate(-25%)!important}.conversation-compose-zone,.whatsapp-composer-wrap,.message-composer,.whatsapp-message-composer{overflow:visible!important}@media (max-width:767px){.attachment-picker-menu .dropdown__menu{width:210px!important;max-width:calc(100vw - 20px)!important;bottom:calc(100% + 12px)!important}}.message-list{background:#fff!important}.message-list:before{content:none!important;background:0 0!important;display:none!important}html[data-theme=dark] .message-list{background:#0b141a!important}html[data-theme=dark] .message-list:before{content:none!important;display:none!important}@media (prefers-color-scheme:dark){html[data-theme=system] .message-list{background:#0b141a!important}html[data-theme=system] .message-list:before{content:none!important;display:none!important}}.conversation-panel{grid-template-rows:auto auto minmax(0,1fr) auto!important}.conversation-panel>.conversation-header{grid-area:1/1}.conversation-panel>.pinned-messages-bar{grid-area:2/1;width:100%;min-width:0}.conversation-panel>.message-selection-bar{grid-area:2/1}.conversation-panel>.message-list{grid-column:1;min-height:0;overflow-y:auto;grid-row:3!important}.conversation-panel>.conversation-compose-zone{grid-column:1;grid-row:4!important}@media (max-width:767px){.voice-call-layer{pointer-events:auto!important;background:#0f172a!important;justify-content:stretch!important;align-items:stretch!important;width:100vw!important;height:100dvh!important;min-height:100svh!important;padding:0!important;inset:0!important}.voice-call-card{width:100vw!important;max-width:none!important;height:100dvh!important;min-height:100svh!important;box-shadow:none!important;padding:calc(env(safe-area-inset-top,0px) + 64px) 24px calc(env(safe-area-inset-bottom,0px) + 32px)!important;background:radial-gradient(circle at 50% 18%,#3b82f62e,#0000 34%),linear-gradient(#111827 0%,#0f172a 55%,#0b1220 100%)!important;border-radius:0!important;flex-direction:column!important;align-items:center!important;display:flex!important}.voice-call-card__icon{width:112px!important;height:112px!important;margin-top:clamp(16px,5dvh,58px)!important;margin-bottom:24px!important}.voice-call-card__icon svg{width:52px!important;height:52px!important}.voice-call-card__identity{text-align:center!important;align-items:center!important;gap:8px!important;width:100%!important}.voice-call-card__identity strong{max-width:100%!important;font-size:2rem!important}.voice-call-card__identity span{font-size:1.05rem!important}.voice-call-card__error{text-align:center!important;width:min(100%,520px)!important;margin-top:24px!important}.voice-call-actions{gap:48px!important;width:100%!important;margin-top:auto!important;padding:28px 0 4px!important}.voice-call-action{width:76px!important;height:76px!important}.voice-call-action svg{width:30px!important;height:30px!important}}.voice-call-card__avatar{background:#ffffff1f;border-radius:50%;place-items:center;width:48px;height:48px;display:grid;overflow:hidden}.voice-call-card__avatar img{object-fit:cover;width:100%;height:100%;display:block}@media (max-width:767px){.voice-call-card__avatar{box-shadow:0 10px 30px #00000047,0 0 0 4px #ffffff0f;width:112px!important;height:112px!important;margin-top:clamp(16px,5dvh,58px)!important;margin-bottom:24px!important}}.conversation-panel--wallpaper>.message-list{background-color:#efeae2!important;background-image:linear-gradient(#ffffff1a, #ffffff1a), var(--conversation-wallpaper)!important;background-position:50%!important;background-repeat:no-repeat!important;background-size:cover!important}.conversation-panel--wallpaper>.message-list:before{content:none!important;display:none!important}html[data-theme=dark] .conversation-panel--wallpaper>.message-list{background-image:linear-gradient(#0b141a33, #0b141a33), var(--conversation-wallpaper)!important}@media (prefers-color-scheme:dark){html[data-theme=system] .conversation-panel--wallpaper>.message-list{background-image:linear-gradient(#0b141a33, #0b141a33), var(--conversation-wallpaper)!important}}@media (max-width:767px){.conversation-header{z-index:50!important;position:relative!important}.conversation-header .dropdown__menu{-webkit-overflow-scrolling:touch;top:calc(env(safe-area-inset-top,0px) + 72px)!important;right:max(8px, env(safe-area-inset-right,0px))!important;width:min(300px,100vw - 16px)!important;max-height:calc(100dvh - env(safe-area-inset-top,0px) - 96px)!important;overscroll-behavior:contain!important;z-index:30000!important;border-radius:14px!important;position:fixed!important;bottom:auto!important;left:auto!important;overflow:hidden auto!important;box-shadow:0 18px 50px #0000003d,0 3px 12px #0000001f!important}.conversation-header .dropdown__menu a,.conversation-header .dropdown__menu button{touch-action:manipulation;min-height:46px!important}}.admin-shell{width:min(1180px,100%);margin:0 auto;padding:24px 18px 110px}.admin-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.admin-header h1{color:var(--ui-text);margin:2px 0 4px}.admin-header p{color:var(--ui-text-muted);margin:0}.admin-eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-weight:700;color:var(--ui-accent-strong)!important}.admin-back-link,.admin-nav a,.admin-pagination a,.admin-pagination span{color:var(--ui-text);text-decoration:none}.admin-back-link{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:10px;padding:9px 12px}.admin-nav{gap:8px;margin-bottom:20px;padding-bottom:4px;display:flex;overflow-x:auto}.admin-nav a{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:999px;flex:none;padding:9px 13px}.admin-nav a.is-active{border-color:var(--ui-accent);background:var(--ui-accent-soft);color:var(--ui-accent-strong)}.admin-stat-grid,.admin-action-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.admin-stat-card,.admin-action-card,.admin-user-card,.admin-report-card{border:1px solid var(--ui-border);background:var(--ui-surface);box-shadow:var(--ui-shadow-1);border-radius:14px}.admin-stat-card{gap:8px;padding:18px;display:grid}.admin-stat-card span{color:var(--ui-text-muted);font-size:.87rem}.admin-stat-card strong{color:var(--ui-text);font-size:1.8rem}.admin-action-grid{margin-top:16px}.admin-action-card{color:var(--ui-text);gap:5px;padding:18px;text-decoration:none;display:grid}.admin-action-card span{color:var(--ui-text-muted)}.admin-filters{grid-template-columns:minmax(220px,1fr) auto auto auto;gap:8px;margin-bottom:16px;display:grid}.admin-filters input,.admin-filters select,.admin-filters button{border:1px solid var(--ui-border);min-height:44px;font:inherit;border-radius:10px;padding:9px 11px}.admin-filters input,.admin-filters select{background:var(--ui-surface);color:var(--ui-text)}.admin-filters button{border-color:var(--ui-accent);background:var(--ui-accent);color:#fff;font-weight:700}.admin-user-list,.admin-report-section{gap:10px;display:grid}.admin-user-card{grid-template-columns:minmax(0,1fr) minmax(220px,auto);gap:14px;padding:14px;display:grid}.admin-user-main,.admin-user-meta{gap:4px;display:grid}.admin-user-main strong{color:var(--ui-text)}.admin-user-main span,.admin-user-main small,.admin-user-meta{color:var(--ui-text-muted)}.admin-user-main small{overflow-wrap:anywhere}.admin-report-section+.admin-report-section{margin-top:28px}.admin-report-section h2{color:var(--ui-text);margin:0 0 2px}.admin-report-card{padding:14px}.admin-report-top{justify-content:space-between;gap:12px;display:flex}.admin-report-card p{color:var(--ui-text)}.admin-report-card dl{gap:7px;margin:12px 0 0;display:grid}.admin-report-card dl div{grid-template-columns:120px minmax(0,1fr);gap:10px;display:grid}.admin-report-card dt{color:var(--ui-text-muted)}.admin-report-card dd{color:var(--ui-text);overflow-wrap:anywhere;margin:0}.admin-pagination{flex-wrap:wrap;gap:6px;margin-top:14px;display:flex}.admin-pagination a,.admin-pagination span{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:9px;place-items:center;min-width:38px;min-height:38px;padding:8px 10px;display:grid}.admin-pagination .is-active{border-color:var(--ui-accent);background:var(--ui-accent-soft)}.admin-empty{text-align:center;color:var(--ui-text-muted);padding:22px}@media (max-width:767px){.admin-shell{padding:15px 10px 100px}.admin-header{display:grid}.admin-back-link{width:-moz-fit-content;width:fit-content}.admin-stat-grid,.admin-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-filters,.admin-user-card{grid-template-columns:1fr}.admin-report-card dl div{grid-template-columns:1fr;gap:2px}}@media (max-width:390px){.admin-stat-grid,.admin-action-grid{grid-template-columns:1fr}}.admin-user-actions{border-top:1px solid var(--ui-border);flex-wrap:wrap;grid-column:1/-1;gap:8px;padding-top:10px;display:flex}.admin-user-actions button{border:1px solid var(--ui-border);background:var(--ui-surface-raised);min-height:42px;color:var(--ui-text);font:inherit;cursor:pointer;border-radius:10px;padding:8px 13px;font-weight:650}.admin-user-actions button:hover:not(:disabled){background:var(--ui-surface-muted)}.admin-user-actions button.is-danger{color:#fff;background:#dc2626;border-color:#dc2626}.admin-user-actions button.is-success{border-color:var(--ui-success);color:var(--ui-success)}.admin-user-actions button:disabled{opacity:.55;cursor:wait}.admin-user-protected{border-top:1px solid var(--ui-border);color:var(--ui-text-muted);grid-column:1/-1;margin:0;padding-top:9px;font-size:.82rem}@media (max-width:767px){.admin-user-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.admin-user-actions button{width:100%}}@media (max-width:390px){.admin-user-actions{grid-template-columns:1fr}}.admin-role-actions,.admin-report-actions{border-top:1px solid var(--ui-border);flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:8px;padding-top:10px;display:flex}.admin-role-actions>span{width:100%;color:var(--ui-text-muted);font-size:.8rem;font-weight:700}.admin-role-actions button,.admin-report-actions button{border:1px solid var(--ui-border);background:var(--ui-surface-raised);min-height:42px;color:var(--ui-text);font:inherit;cursor:pointer;border-radius:10px;padding:8px 13px;font-weight:650}.admin-role-actions button:hover:not(:disabled),.admin-report-actions button:hover:not(:disabled){background:var(--ui-surface-muted)}.admin-report-actions button.is-success{border-color:var(--ui-success);color:var(--ui-success)}.admin-role-actions button:disabled,.admin-report-actions button:disabled{opacity:.55;cursor:wait}.admin-report-status{border:1px solid var(--ui-border);color:var(--ui-text-muted);border-radius:999px;flex:none;padding:5px 9px;font-size:.78rem;font-weight:700}@media (max-width:767px){.admin-role-actions,.admin-report-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.admin-role-actions>span{grid-column:1/-1}.admin-role-actions button,.admin-report-actions button{width:100%}}@media (max-width:390px){.admin-role-actions,.admin-report-actions{grid-template-columns:1fr}.admin-role-actions>span{grid-column:auto}}.admin-user-actions button.is-warning{border-color:#d97706}.admin-user-actions button.is-warning:hover:not(:disabled){border-color:#b45309}.admin-history-filters{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:18px;display:grid}.admin-history-filters input,.admin-history-filters select{border:1px solid var(--ui-border);background:var(--ui-surface-raised);width:100%;min-height:44px;color:var(--ui-text);font:inherit;border-radius:10px;padding:9px 11px}.admin-history-filters label{color:var(--ui-text-muted);gap:4px;font-size:.8rem;font-weight:700;display:grid}.admin-history-filter-actions{grid-column:1/-1;gap:8px;display:flex}.admin-history-filter-actions button{border:1px solid var(--ui-border);background:var(--ui-surface-raised);min-height:42px;color:var(--ui-text);font:inherit;cursor:pointer;border-radius:10px;padding:8px 15px;font-weight:700}.admin-history-list{gap:12px;display:grid}.admin-history-card{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:14px;padding:16px}.admin-history-card-header{border-bottom:1px solid var(--ui-border);justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:12px;display:flex}.admin-history-card-header>div{gap:3px;display:grid}.admin-history-card-header small{color:var(--ui-text-muted)}.admin-history-card-header code{overflow-wrap:anywhere;color:var(--ui-text-muted);font-size:.72rem}.admin-history-details,.admin-history-metadata{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:14px 0 0;display:grid}.admin-history-metadata{border-top:1px solid var(--ui-border);padding-top:12px}.admin-history-details div,.admin-history-metadata div{min-width:0}.admin-history-details dt,.admin-history-metadata dt{color:var(--ui-text-muted);font-size:.76rem;font-weight:700}.admin-history-details dd,.admin-history-metadata dd{overflow-wrap:anywhere;margin:3px 0 0}@media (max-width:900px){.admin-history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.admin-history-filters,.admin-history-details,.admin-history-metadata{grid-template-columns:1fr}.admin-history-card-header{flex-direction:column}.admin-history-filter-actions{grid-template-columns:1fr 1fr;display:grid}.admin-history-filter-actions button{width:100%}}.admin-user-detail-link{justify-content:flex-end;display:flex}.admin-user-detail-link a,.admin-user-detail-back a{border:1px solid var(--ui-border);min-height:40px;color:var(--ui-text);border-radius:10px;align-items:center;padding:7px 12px;font-weight:700;text-decoration:none;display:inline-flex}.admin-user-detail-back{margin-bottom:14px}.admin-user-profile-card{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:16px;gap:14px;padding:18px;display:grid}.admin-user-profile-card h2{margin:2px 0}.admin-user-profile-card small{color:var(--ui-text-muted);overflow-wrap:anywhere}.admin-user-profile-badges{flex-wrap:wrap;gap:7px;display:flex}.admin-user-profile-badges span{border:1px solid var(--ui-border);border-radius:999px;padding:5px 9px;font-size:.8rem;font-weight:700}.admin-user-about{overflow-wrap:anywhere;margin:0}.admin-user-detail-grid,.admin-user-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.admin-user-detail-grid article,.admin-user-stat-grid article{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:12px;gap:5px;min-width:0;padding:14px;display:grid}.admin-user-detail-grid span,.admin-user-stat-grid span{color:var(--ui-text-muted);font-size:.8rem}.admin-user-stat-grid strong{font-size:1.35rem}.admin-user-suspension{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:14px;margin-top:14px;padding:16px}.admin-detail-section{gap:10px;margin-top:20px;display:grid}.admin-detail-section>h2{margin:0 0 2px;font-size:1.05rem}.admin-ip-summary{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;padding:14px;display:grid}.admin-ip-summary p{margin:0}.admin-detail-row{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;display:grid}.admin-detail-row>div{gap:3px;min-width:0;display:grid}.admin-detail-row>div:last-child{text-align:right}.admin-detail-row small,.admin-detail-row span{color:var(--ui-text-muted);overflow-wrap:anywhere}.admin-detail-row-stacked p{overflow-wrap:anywhere;grid-column:1/-1;margin:0}@media (max-width:900px){.admin-user-detail-grid,.admin-user-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.admin-user-detail-grid,.admin-user-stat-grid,.admin-ip-summary,.admin-detail-row{grid-template-columns:1fr}.admin-detail-row>div:last-child{text-align:left}.admin-user-detail-link{justify-content:flex-start}}.admin-system-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.admin-system-summary article,.admin-system-runtime-grid article,.admin-system-queue-grid article{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:14px;gap:5px;min-width:0;padding:15px;display:grid}.admin-system-summary span,.admin-system-runtime-grid span,.admin-system-queue-grid span{color:var(--ui-text-muted);font-size:.82rem}.admin-system-summary strong{font-size:1.15rem}.admin-system-summary small,.admin-system-runtime-grid small,.admin-system-queue-grid small{color:var(--ui-text-muted)}.admin-system-overall.is-healthy{border-color:#22c55e73}.admin-system-overall.is-degraded{border-color:#ef444480}.admin-system-section-header{justify-content:space-between;align-items:center;gap:14px;display:flex}.admin-system-section-header h2,.admin-system-section-header p{margin:0}.admin-system-section-header p{color:var(--ui-text-muted);margin-top:3px;font-size:.86rem}.admin-system-health-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.admin-system-check{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px;display:grid}.admin-system-check p{color:var(--ui-text-muted);margin:3px 0 0;font-size:.82rem}.admin-system-check b{font-size:.74rem}.admin-system-indicator{background:currentColor;border-radius:999px;width:10px;height:10px}.admin-system-check.is-ok .admin-system-indicator,.admin-system-check.is-ok>b{color:#16a34a}.admin-system-check.is-fail .admin-system-indicator,.admin-system-check.is-fail>b{color:#dc2626}.admin-system-queue-grid,.admin-system-runtime-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.admin-system-queue-grid strong{font-size:1.4rem}.admin-system-probe-button{border:1px solid var(--ui-border);background:var(--ui-surface);min-height:42px;color:var(--ui-text);font:inherit;cursor:pointer;border-radius:10px;padding:8px 14px;font-weight:700}.admin-system-probe-button:disabled{cursor:wait;opacity:.65}.admin-system-probe-result{border:1px solid var(--ui-border);border-radius:10px;padding:11px 13px}.admin-system-probe-result.is-running{opacity:.8}.admin-system-probe-result.is-success{border-color:#22c55e73}.admin-system-probe-result.is-error{border-color:#ef444480}.admin-system-security-note{border:1px solid var(--ui-border);color:var(--ui-text-muted);border-radius:12px;margin:22px 0 0;padding:13px;font-size:.84rem}@media (max-width:900px){.admin-system-summary,.admin-system-queue-grid,.admin-system-runtime-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-system-health-grid{grid-template-columns:1fr}}@media (max-width:600px){.admin-system-summary,.admin-system-queue-grid,.admin-system-runtime-grid{grid-template-columns:1fr}.admin-system-section-header{flex-direction:column;align-items:stretch}.admin-system-probe-button{width:100%}.admin-system-check{grid-template-columns:auto minmax(0,1fr)}.admin-system-check>b{grid-column:2}}.two-factor-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.two-factor-heading h2,.two-factor-heading p{margin-top:0}.two-factor-status{border:1px solid var(--ui-border);border-radius:999px;flex:none;padding:5px 10px;font-size:.8rem;font-weight:800}.two-factor-status.is-enabled{border-color:#22c55e80}.two-factor-status.is-disabled{border-color:#94a3b880}.two-factor-required{border:1px solid #f59e0b73;border-radius:10px;padding:10px 12px}.two-factor-setup,.two-factor-action{gap:12px;margin-top:14px;display:grid}.two-factor-secret,.two-factor-recovery-box{border:1px solid var(--ui-border);border-radius:12px;gap:10px;padding:14px;display:grid}.two-factor-secret code,.two-factor-uri,.two-factor-code-grid code{overflow-wrap:anywhere;word-break:break-word}.two-factor-code-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.two-factor-code-grid code{border:1px solid var(--ui-border);text-align:center;border-radius:8px;padding:9px}@media (max-width:600px){.two-factor-heading{flex-direction:column}.two-factor-code-grid{grid-template-columns:1fr}}.admin-case-filter-card,.admin-case-card,.admin-case-report,.admin-case-note,.admin-case-history-entry{border:1px solid var(--ui-border);border-radius:14px}.admin-case-filter-card{margin-bottom:18px;padding:16px}.admin-case-filters{grid-template-columns:minmax(220px,2fr) repeat(2,minmax(140px,1fr));align-items:end;gap:12px;display:grid}.admin-case-filter-actions,.admin-case-card-actions,.admin-case-close-actions,.admin-case-detail-toolbar,.admin-case-badges{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.admin-case-filter-actions{grid-column:1/-1}.admin-case-list{gap:14px;display:grid}.admin-case-card{padding:16px}.admin-case-card-top{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.admin-case-card-top h2{margin:4px 0 0}.admin-case-id{opacity:.7;overflow-wrap:anywhere;margin:0;font-size:.78rem}.admin-case-badge{border:1px solid var(--ui-border);white-space:nowrap;border-radius:999px;align-items:center;padding:5px 9px;font-size:.8rem;font-weight:800;display:inline-flex}.admin-case-badge[data-status=resolved]{border-color:#22c55e8c}.admin-case-badge[data-status=dismissed]{border-color:#94a3b899}.admin-case-badge[data-priority=high]{border-color:#f59e0b99}.admin-case-badge[data-priority=urgent]{border-color:#ef4444a6}.admin-case-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:16px 0;display:grid}.admin-case-grid>div{min-width:0}.admin-case-grid dt{opacity:.7;font-size:.78rem}.admin-case-grid dd{margin:3px 0 0}.admin-case-detail-toolbar{margin-bottom:16px}.admin-case-detail-grid{grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:16px;display:grid}.admin-case-detail-grid>*{min-width:0}.admin-case-resolution{white-space:pre-wrap}.admin-case-report-list,.admin-case-notes,.admin-case-history{gap:12px;display:grid}.admin-case-report,.admin-case-note,.admin-case-history-entry{padding:13px}.admin-case-report-top,.admin-case-note-meta,.admin-case-history-entry>div{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.admin-case-note p,.admin-case-history-entry p{white-space:pre-wrap}.admin-case-note-meta span,.admin-case-history-entry span{opacity:.7;font-size:.8rem}.admin-case-break{overflow-wrap:anywhere;word-break:break-word}@media (max-width:760px){.admin-case-filters,.admin-case-detail-grid,.admin-case-grid{grid-template-columns:1fr}.admin-case-card-top,.admin-case-report-top,.admin-case-note-meta,.admin-case-history-entry>div{flex-direction:column}}.admin-appeal-filter-card,.admin-appeal-card{border:1px solid var(--ui-border);border-radius:14px}.admin-appeal-filter-card{margin-bottom:18px;padding:16px}.admin-appeal-filters{grid-template-columns:minmax(220px,2fr) minmax(160px,1fr);align-items:end;gap:12px;display:grid}.admin-appeal-filter-actions,.admin-appeal-card-actions,.admin-appeal-detail-toolbar,.admin-appeal-decision-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.admin-appeal-filter-actions{grid-column:1/-1}.admin-appeal-list{gap:14px;display:grid}.admin-appeal-card{padding:16px}.admin-appeal-card-top{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.admin-appeal-card-top h2{margin:4px 0 0}.admin-appeal-id{opacity:.7;overflow-wrap:anywhere;margin:0;font-size:.78rem}.admin-appeal-badge{border:1px solid var(--ui-border);white-space:nowrap;border-radius:999px;align-items:center;padding:5px 9px;font-size:.8rem;font-weight:800;display:inline-flex}.admin-appeal-badge[data-status=accepted]{border-color:#22c55e8c}.admin-appeal-badge[data-status=rejected]{border-color:#ef444499}.admin-appeal-badge[data-status=in_review]{border-color:#f59e0b99}.admin-appeal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:16px 0;display:grid}.admin-appeal-grid>div{min-width:0}.admin-appeal-grid dt{opacity:.7;font-size:.78rem}.admin-appeal-grid dd{margin:3px 0 0}.admin-appeal-detail-toolbar{margin-bottom:16px}.admin-appeal-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.admin-appeal-detail-grid>*{min-width:0}.admin-appeal-text{white-space:pre-wrap;overflow-wrap:anywhere}.admin-appeal-private-warning{opacity:.75;font-size:.85rem}.admin-appeal-break{overflow-wrap:anywhere;word-break:break-word}@media (max-width:760px){.admin-appeal-filters,.admin-appeal-grid,.admin-appeal-detail-grid{grid-template-columns:1fr}.admin-appeal-card-top{flex-direction:column}}.v12-desktop-rail{border-right:1px solid var(--ui-border,#e5e7eb);background:var(--ui-surface,#fff);flex-direction:column;gap:16px;width:176px;min-width:176px;height:100dvh;padding:14px 10px;display:flex;overflow:visible}.v12-rail__brand{align-items:center;gap:10px;min-height:54px;padding:6px 8px;display:flex}.v12-rail__brand-mark{color:#fff;background:linear-gradient(135deg, var(--ui-accent,#2563eb), #6d5dfc);border-radius:13px;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex;box-shadow:0 8px 22px #2563eb33}.v12-rail__brand-text{min-width:0;line-height:1.05;display:grid}.v12-rail__brand-text strong{white-space:nowrap;font-size:.91rem}.v12-rail__brand-text small{color:var(--ui-text-muted,#6b7280);margin-top:3px;font-size:.74rem}.v12-rail__items{gap:5px;display:grid}.v12-rail__item{width:100%;min-height:44px;color:var(--ui-text-muted,#667085);border-radius:13px;justify-content:flex-start;align-items:center;gap:11px;padding:0 11px;text-decoration:none;transition:background .16s,color .16s,transform .16s;display:flex}.v12-rail__item:hover{background:var(--ui-surface-raised,#f7f8fa);color:var(--ui-text,#111827)}.v12-rail__item.is-active,.v12-rail__item[aria-current=page]{color:var(--ui-accent-strong,#2563eb);background:color-mix(in srgb, var(--ui-accent,#2563eb) 10%, transparent)}.v12-rail__item:active{transform:scale(.98)}.v12-rail__label{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.86rem;font-weight:600;overflow:hidden}.v12-rail__bottom{gap:8px;margin-top:auto;display:grid}.v12-rail__profile{border-top:1px solid var(--ui-border,#e5e7eb);padding:8px 6px}.v12-rail__profile .user-menu,.v12-rail__profile .user-menu__identity{min-width:0}.v12-rail__profile .user-menu__identity strong,.v12-rail__profile .user-menu__identity span{text-overflow:ellipsis;white-space:nowrap;max-width:72px;overflow:hidden}.v12-chat-sidebar__head h1{color:var(--ui-text,#111827);margin:0;font-size:1.35rem;line-height:1}.v12-feature-page{background:var(--ui-bg,#f4f6f8);width:100%;min-height:100%;padding:28px}.v12-feature-header{border:1px solid var(--ui-border,#e5e7eb);background:var(--ui-surface,#fff);max-width:1100px;box-shadow:var(--ui-shadow-1,0 10px 28px #0f172a0f);border-radius:20px;justify-content:space-between;align-items:center;gap:20px;margin:0 auto 20px;padding:22px 24px;display:flex}.v12-feature-header h1{margin:5px 0;font-size:clamp(1.55rem,3vw,2rem)}.v12-feature-header p{color:var(--ui-text-muted,#667085);margin:0}.v12-feature-eyebrow{color:var(--ui-accent-strong,#2563eb);letter-spacing:.08em;text-transform:uppercase;font-size:.73rem;font-weight:800}.v12-placeholder-card{border:1px solid var(--ui-border,#e5e7eb);background:var(--ui-surface,#fff);border-radius:20px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px;max-width:1100px;margin:0 auto;padding:26px;display:grid}.v12-placeholder-card h2{margin:0 0 5px}.v12-placeholder-card p{color:var(--ui-text-muted,#667085);margin:0}.v12-placeholder-icon{background:color-mix(in srgb, var(--ui-accent,#2563eb) 11%, transparent);width:58px;height:58px;color:var(--ui-accent-strong,#2563eb);border-radius:18px;justify-content:center;align-items:center;display:flex}.v12-placeholder-actions{flex-wrap:wrap;grid-column:2;gap:8px;display:flex}.v12-placeholder-actions span{background:var(--ui-surface-raised,#f5f7fa);border-radius:999px;align-items:center;gap:6px;padding:7px 10px;font-size:.81rem;font-weight:600;display:inline-flex}.v12-mobile-topbar{display:none}@media (min-width:900px){.chat-app-shell{align-items:stretch;min-height:100dvh;display:flex!important}.chat-app-shell>.desktop-rail{flex:0 0 176px;position:relative!important;inset:auto!important}.chat-workspace{flex:auto;min-width:0;width:auto!important}.private-shell--v12{min-height:100dvh;display:flex}.private-shell--v12>.desktop-rail{flex:0 0 176px;position:relative!important;inset:auto!important}.private-main--v12{flex:auto;width:auto;min-width:0}.v12-mobile-nav{display:none!important}}@media (max-width:899px){.v12-desktop-rail{display:none!important}.v12-mobile-nav{z-index:80;width:100%;min-height:calc(62px + env(safe-area-inset-bottom));padding:5px 4px calc(5px + env(safe-area-inset-bottom));border-top:1px solid var(--ui-border,#e5e7eb);background:color-mix(in srgb, var(--ui-surface,#fff) 96%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;display:grid!important;position:fixed!important;inset:auto 0 0!important}.v12-mobile-nav__item{min-width:0;min-height:48px;color:var(--ui-text-muted,#667085);border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:5px 1px;font-size:.61rem;font-weight:650;line-height:1;text-decoration:none;display:flex}.v12-mobile-nav__item.is-active,.v12-mobile-nav__item[aria-current=page]{color:var(--ui-accent-strong,#2563eb);background:color-mix(in srgb, var(--ui-accent,#2563eb) 9%, transparent)}.private-main--v12{width:100%;padding-bottom:calc(68px + env(safe-area-inset-bottom))}.v12-mobile-topbar{min-height:58px;padding:calc(8px + env(safe-area-inset-top)) 14px 8px;border-bottom:1px solid var(--ui-border,#e5e7eb);background:var(--ui-surface,#fff);justify-content:space-between;align-items:center;gap:12px;display:flex}.v12-mobile-brand{color:var(--ui-text,#111827);align-items:center;gap:8px;text-decoration:none;display:inline-flex}.v12-mobile-avatar{border-radius:50%;display:inline-flex}.chat-app-shell:not(.chat-app-shell--conversation) .chat-workspace{padding-bottom:calc(68px + env(safe-area-inset-bottom))}.v12-feature-page{min-height:calc(100dvh - 68px - env(safe-area-inset-bottom));padding:12px}.v12-feature-header{border-radius:17px;margin-bottom:12px;padding:16px}.v12-placeholder-card{border-radius:17px;grid-template-columns:46px minmax(0,1fr);padding:17px}.v12-placeholder-icon{border-radius:15px;width:46px;height:46px}.v12-placeholder-actions{grid-column:1/-1}}@media (max-width:360px){.v12-mobile-nav__item{font-size:.55rem}.v12-mobile-nav__item svg{width:18px;height:18px}}.status-page{background:var(--ui-bg,#f4f6f8);grid-template-columns:360px minmax(0,1fr);width:100%;min-height:100dvh;display:grid}.status-sidebar{border-right:1px solid var(--ui-border,#e5e7eb);background:var(--ui-surface,#fff);min-width:0;height:100dvh;overflow-y:auto}.status-sidebar__header{justify-content:space-between;align-items:center;gap:14px;min-height:82px;padding:18px 18px 12px;display:flex}.status-sidebar__header h1{margin:3px 0 0;font-size:1.55rem}.status-eyebrow{color:var(--ui-accent-strong,#2563eb);letter-spacing:.08em;text-transform:uppercase;font-size:.67rem;font-weight:800}.status-icon-button{background:var(--ui-surface-raised,#f3f4f6);width:40px;height:40px;color:var(--ui-text,#111827);cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.status-error{color:#b91c1c;background:#dc26261a;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;margin:0 14px 12px;padding:10px 12px;font-size:.82rem;display:flex}.status-error button{color:inherit;cursor:pointer;background:0 0;border:0;display:inline-flex}.my-status-card{border-radius:15px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin:0 10px 12px;padding:11px 8px;display:grid}.my-status-card:hover{background:var(--ui-surface-raised,#f6f7f9)}.status-avatar-button{cursor:pointer;background:0 0;border:0;padding:0;position:relative}.status-avatar-ring{border:2px solid var(--ui-border,#d1d5db);border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;padding:3px;display:inline-flex}.status-avatar-ring.has-status,.status-avatar-ring.is-unseen{border-color:var(--ui-accent,#2563eb)}.status-avatar-ring.is-seen{border-color:#a8adb7}.status-add-badge{border:2px solid var(--ui-surface,#fff);background:var(--ui-accent,#2563eb);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:21px;height:21px;display:flex;position:absolute;bottom:1px;right:-1px}.my-status-card__body,.status-contact-row__body{text-align:left;gap:3px;min-width:0;display:grid}.my-status-card__body strong,.status-contact-row__body strong{text-overflow:ellipsis;white-space:nowrap;color:var(--ui-text,#111827);font-size:.92rem;overflow:hidden}.my-status-card__body span,.status-contact-row__body span{text-overflow:ellipsis;white-space:nowrap;color:var(--ui-text-muted,#697386);font-size:.76rem;overflow:hidden}.my-status-actions{gap:4px;display:flex}.my-status-actions button{width:36px;height:36px;color:var(--ui-text-muted,#667085);cursor:pointer;background:0 0;border:0;border-radius:11px;justify-content:center;align-items:center;display:inline-flex}.my-status-actions button:hover{background:var(--ui-surface-raised,#f3f4f6);color:var(--ui-accent-strong,#2563eb)}.status-section-label{color:var(--ui-text-muted,#667085);text-transform:uppercase;letter-spacing:.04em;padding:8px 18px;font-size:.72rem;font-weight:750}.status-contact-row{cursor:pointer;background:0 0;border:0;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;width:calc(100% - 16px);margin:1px 8px;padding:9px 8px;display:grid}.status-contact-row:hover{background:var(--ui-surface-raised,#f6f7f9)}.status-unseen-dot{background:var(--ui-accent,#2563eb);border-radius:50%;width:8px;height:8px}.status-loading{color:var(--ui-text-muted,#667085);text-align:center;padding:22px;font-size:.84rem}.status-empty-list{background:var(--ui-surface-raised,#f6f7f9);color:var(--ui-text-muted,#667085);text-align:center;border-radius:16px;justify-items:center;gap:7px;margin:10px 16px;padding:24px 16px;display:grid}.status-empty-list p{max-width:250px;margin:0;font-size:.78rem}.status-empty-list__icon{background:color-mix(in srgb, var(--ui-accent,#2563eb) 10%, transparent);width:45px;height:45px;color:var(--ui-accent-strong,#2563eb);border-radius:15px;justify-content:center;align-items:center;display:flex}.status-desktop-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-width:0;padding:32px;display:flex}.status-desktop-empty__art{background:color-mix(in srgb, var(--ui-accent,#2563eb) 10%, var(--ui-surface,#fff));width:120px;height:120px;color:var(--ui-accent-strong,#2563eb);border-radius:36px;justify-content:center;align-items:center;margin-bottom:20px;display:flex;position:relative}.status-desktop-empty__art span{border:2px dashed color-mix(in srgb, var(--ui-accent,#2563eb) 35%, transparent);border-radius:44px;position:absolute;inset:-12px}.status-desktop-empty h2{margin:0 0 7px;font-size:1.45rem}.status-desktop-empty p{max-width:430px;color:var(--ui-text-muted,#667085);margin:0}.status-desktop-empty__actions{gap:9px;margin-top:20px;display:flex}.status-modal-backdrop{z-index:200;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f172a94;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.status-composer,.status-privacy-modal,.status-viewers-modal{border:1px solid var(--ui-border,#e5e7eb);background:var(--ui-surface,#fff);border-radius:22px;width:min(520px,100%);max-height:min(780px,100dvh - 32px);padding:18px;overflow-y:auto;box-shadow:0 24px 80px #00000040}.status-modal-header{justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;display:flex}.status-modal-header>div{gap:3px;min-width:0;display:grid}.status-modal-header strong{font-size:1.03rem}.status-modal-header span{color:var(--ui-text-muted,#667085);font-size:.76rem}.status-text-preview{border-radius:20px;justify-content:center;align-items:center;min-height:330px;padding:24px;display:flex}.status-text-preview textarea{resize:none;width:100%;min-height:190px;color:inherit;font:inherit;text-align:center;background:0 0;border:0;outline:0;font-size:clamp(1.3rem,4vw,2rem);font-weight:700;line-height:1.35}.status-text-preview textarea::placeholder{color:currentColor;opacity:.58}.status-palette{flex-wrap:wrap;gap:9px;padding:14px 0;display:flex}.status-palette button{color:#fff;cursor:pointer;border:3px solid #0000;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.status-palette button.is-selected{border-color:var(--ui-text,#111827)}.status-publish-button{justify-content:center;width:100%;margin-top:8px}.status-media-picker{border:2px dashed var(--ui-border,#cfd4dc);background:var(--ui-surface-raised,#f7f8fa);width:100%;min-height:230px;color:var(--ui-text-muted,#667085);cursor:pointer;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex}.status-media-picker strong{color:var(--ui-text,#111827)}.status-media-picker span{font-size:.76rem}.status-caption-field{gap:6px;margin-top:12px;display:grid}.status-caption-field span{font-size:.78rem;font-weight:700}.status-caption-field textarea{border:1px solid var(--ui-border,#d6dae1);background:var(--ui-surface,#fff);width:100%;color:var(--ui-text,#111827);font:inherit;resize:vertical;border-radius:12px;padding:11px 12px}.status-privacy-option{cursor:pointer;border-radius:12px;align-items:flex-start;gap:11px;padding:12px 8px;display:flex}.status-privacy-option:hover{background:var(--ui-surface-raised,#f7f8fa)}.status-privacy-option span{gap:3px;display:grid}.status-privacy-option small{color:var(--ui-text-muted,#667085)}.status-privacy-contacts{border-top:1px solid var(--ui-border,#e5e7eb);border-bottom:1px solid var(--ui-border,#e5e7eb);max-height:310px;margin:10px 0;overflow-y:auto}.status-privacy-contact{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:9px 4px;display:grid}.status-privacy-contact>span:nth-child(2){min-width:0;display:grid}.status-privacy-contact small{color:var(--ui-text-muted,#667085)}.status-check{border:2px solid var(--ui-border,#cfd4dc);border-radius:7px;justify-content:center;align-items:center;width:23px;height:23px;display:inline-flex}.status-check.is-selected{border-color:var(--ui-accent,#2563eb);background:var(--ui-accent,#2563eb);color:#fff}.status-viewer{z-index:300;color:#fff;background:#090b10;position:fixed;inset:0;overflow:hidden}.status-viewer__progress{z-index:4;top:max(9px, env(safe-area-inset-top));gap:4px;display:flex;position:absolute;left:14px;right:14px}.status-viewer__progress span{background:#ffffff47;border-radius:99px;flex:1;height:3px}.status-viewer__progress span.is-done,.status-viewer__progress span.is-current{background:#fff}.status-viewer__header{z-index:4;top:calc(max(9px, env(safe-area-inset-top)) + 14px);justify-content:space-between;align-items:center;gap:14px;display:flex;position:absolute;left:14px;right:14px}.status-viewer__identity{align-items:center;gap:9px;min-width:0;display:flex}.status-viewer__identity>span{min-width:0;display:grid}.status-viewer__identity strong{text-overflow:ellipsis;white-space:nowrap;max-width:260px;overflow:hidden}.status-viewer__identity small{color:#ffffffb3}.status-viewer__actions{gap:4px;display:flex}.status-viewer__actions button{color:#fff;cursor:pointer;background:#0000004d;border:0;border-radius:11px;justify-content:center;align-items:center;gap:5px;min-width:38px;height:38px;padding:0 9px;display:inline-flex}.status-viewer__content{justify-content:center;align-items:center;width:min(700px,100%);height:100dvh;margin:0 auto;display:flex;position:relative}.status-viewer__content img,.status-viewer__content video{object-fit:contain;background:#000;width:100%;height:100%}.status-viewer__text{text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;max-width:85%;font-size:clamp(1.55rem,5vw,3rem);font-weight:750;line-height:1.35}.status-viewer__caption{left:50%;bottom:max(28px, env(safe-area-inset-bottom));color:#fff;text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#00000085;border-radius:13px;width:min(640px,100% - 30px);margin:0;padding:12px 14px;position:absolute;transform:translate(-50%)}.status-viewer__nav{z-index:4;color:#fff;cursor:pointer;background:#00000054;border:0;border-radius:50%;justify-content:center;align-items:center;width:46px;height:46px;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.status-viewer__nav.is-left{left:18px}.status-viewer__nav.is-right{right:18px}.status-viewers-backdrop{z-index:360}.status-viewers-list{display:grid}.status-viewer-row{border-bottom:1px solid var(--ui-border,#e5e7eb);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 2px;display:grid}.status-viewer-row>span{min-width:0;display:grid}.status-viewer-row small{color:var(--ui-text-muted,#667085)}@media (max-width:899px){.status-page{min-height:calc(100dvh - 68px - env(safe-area-inset-bottom));display:block}.status-sidebar{width:100%;height:auto;min-height:calc(100dvh - 68px - env(safe-area-inset-bottom));border-right:0}.status-desktop-empty{display:none}.status-sidebar__header{z-index:5;min-height:68px;padding:calc(12px + env(safe-area-inset-top)) 15px 10px;background:color-mix(in srgb, var(--ui-surface,#fff) 96%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);position:sticky;top:0}.status-composer,.status-privacy-modal,.status-viewers-modal{width:100%;max-height:92dvh;padding-bottom:calc(18px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;margin-top:auto}.status-modal-backdrop{align-items:flex-end;padding:0}.status-text-preview{min-height:300px}.status-viewer__nav{background:#0000002b;border-radius:13px;width:40px;height:56px;top:50%}.status-viewer__nav.is-left{left:5px}.status-viewer__nav.is-right{right:5px}.status-viewer__content{width:100%}.status-viewer__identity strong{max-width:150px}}.calls-page{background:var(--ui-bg,#f4f6f8);grid-template-columns:390px minmax(0,1fr);width:100%;min-height:100dvh;display:grid}.calls-sidebar{border-right:1px solid var(--ui-border,#e5e7eb);background:var(--ui-surface,#fff);min-width:0;height:100dvh;overflow-y:auto}.calls-sidebar__header{justify-content:space-between;align-items:center;gap:14px;min-height:82px;padding:18px 18px 11px;display:flex}.calls-sidebar__header h1{margin:3px 0 0;font-size:1.55rem}.calls-eyebrow{color:var(--ui-accent-strong,#2563eb);letter-spacing:.08em;text-transform:uppercase;font-size:.67rem;font-weight:800}.calls-icon-button{background:var(--ui-surface-raised,#f3f4f6);width:40px;height:40px;color:var(--ui-text,#111827);cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.calls-icon-button:disabled{opacity:.55;cursor:default}.calls-icon-button .is-spinning{animation:.8s linear infinite calls-spin}@keyframes calls-spin{to{transform:rotate(360deg)}}.calls-error{color:#b91c1c;background:#dc26261a;border-radius:11px;justify-content:space-between;align-items:center;gap:8px;margin:0 14px 10px;padding:9px 11px;font-size:.8rem;display:flex}.calls-error button{color:inherit;cursor:pointer;background:0 0;border:0;padding:0;display:inline-flex}.calls-search{background:var(--ui-surface-raised,#f3f4f6);min-height:42px;color:var(--ui-text-muted,#667085);border-radius:12px;align-items:center;gap:8px;margin:0 14px 10px;padding:0 11px;display:flex}.calls-search input{width:100%;min-width:0;color:var(--ui-text,#111827);font:inherit;background:0 0;border:0;outline:0}.calls-filters{scrollbar-width:none;gap:6px;padding:0 14px 11px;display:flex;overflow-x:auto}.calls-filters::-webkit-scrollbar{display:none}.calls-filters button{background:var(--ui-surface-raised,#f3f4f6);min-height:32px;color:var(--ui-text-muted,#667085);font:inherit;cursor:pointer;border:0;border-radius:999px;flex:none;padding:0 12px;font-size:.76rem;font-weight:650}.calls-filters button.is-active{background:color-mix(in srgb, var(--ui-accent,#2563eb) 12%, transparent);color:var(--ui-accent-strong,#2563eb)}.calls-loading{color:var(--ui-text-muted,#667085);text-align:center;padding:28px 18px}.calls-empty{background:var(--ui-surface-raised,#f6f7f9);color:var(--ui-text-muted,#667085);text-align:center;border-radius:18px;justify-items:center;gap:7px;margin:18px;padding:28px 18px;display:grid}.calls-empty>span{background:color-mix(in srgb, var(--ui-accent,#2563eb) 10%, transparent);width:50px;height:50px;color:var(--ui-accent-strong,#2563eb);border-radius:16px;justify-content:center;align-items:center;display:flex}.calls-empty p{margin:0;font-size:.8rem}.calls-history{padding-bottom:18px}.calls-group h2{color:var(--ui-text-muted,#667085);text-transform:capitalize;margin:0;padding:10px 17px 5px;font-size:.72rem;font-weight:750}.call-row{border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;width:calc(100% - 16px);min-height:70px;margin:1px 8px;padding:9px 8px;display:grid}.call-row:hover{background:var(--ui-surface-raised,#f6f7f9)}.call-row__body{gap:3px;min-width:0;display:grid}.call-row__body>strong{color:var(--ui-text,#111827);text-overflow:ellipsis;white-space:nowrap;font-size:.91rem;overflow:hidden}.call-row__meta,.call-row__submeta{min-width:0;color:var(--ui-text-muted,#667085);align-items:center;gap:4px;font-size:.75rem;display:flex}.call-row__meta span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.call-row.is-missed .call-row__meta{color:#dc2626}.call-row.is-negative .call-row__meta{color:#b45309}.call-row__call{background:color-mix(in srgb, var(--ui-accent,#2563eb) 9%, transparent);width:40px;height:40px;color:var(--ui-accent-strong,#2563eb);cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.call-row__call:hover:not(:disabled){background:color-mix(in srgb, var(--ui-accent,#2563eb) 16%, transparent)}.call-row__call:disabled{opacity:.45;cursor:default}.calls-main{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-width:0;padding:32px;display:flex}.calls-main__art{background:color-mix(in srgb, var(--ui-accent,#2563eb) 10%, var(--ui-surface,#fff));width:118px;height:118px;color:var(--ui-accent-strong,#2563eb);border-radius:36px;justify-content:center;align-items:center;margin-bottom:19px;display:flex}.calls-main h2{margin:0 0 7px;font-size:1.5rem}.calls-main p{max-width:470px;color:var(--ui-text-muted,#667085);margin:0}.calls-main__features{flex-wrap:wrap;justify-content:center;gap:7px;margin:20px 0;display:flex}.calls-main__features span{background:var(--ui-surface,#fff);color:var(--ui-text-muted,#667085);border-radius:999px;align-items:center;gap:6px;padding:7px 10px;font-size:.77rem;font-weight:650;display:inline-flex}@media (max-width:899px){.calls-page{min-height:calc(100dvh - 68px - env(safe-area-inset-bottom));display:block}.calls-sidebar{width:100%;height:auto;min-height:calc(100dvh - 68px - env(safe-area-inset-bottom));border-right:0}.calls-main{display:none}.calls-sidebar__header{z-index:5;min-height:68px;padding:calc(12px + env(safe-area-inset-top)) 15px 10px;background:color-mix(in srgb, var(--ui-surface,#fff) 96%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);position:sticky;top:0}.calls-search{margin-left:12px;margin-right:12px}.calls-filters{padding-left:12px;padding-right:12px}}.v12-chat-filters{scrollbar-width:none;gap:6px;padding:1px 12px 9px;display:flex;overflow-x:auto}.v12-chat-filters::-webkit-scrollbar{display:none}.v12-chat-filters a{background:var(--ui-surface-raised,#f3f4f6);min-height:32px;color:var(--ui-text-muted,#667085);border-radius:999px;flex:none;align-items:center;gap:5px;padding:0 11px;font-size:.75rem;font-weight:650;text-decoration:none;display:inline-flex}.v12-chat-filters a.is-active{background:color-mix(in srgb, var(--ui-accent,#2563eb) 12%, transparent);color:var(--ui-accent-strong,#2563eb)}.v12-unread-filter-dot{background:currentColor;border-radius:50%;width:7px;height:7px}.v12-archived-link{min-height:40px;color:var(--ui-text-muted,#667085);border-radius:11px;align-items:center;gap:9px;margin:0 12px 7px;padding:0 10px;font-size:.8rem;font-weight:650;text-decoration:none;display:flex}.v12-archived-link:hover{background:var(--ui-surface-raised,#f3f4f6)}.v12-archived-link.is-active{background:color-mix(in srgb, var(--ui-accent,#2563eb) 10%, transparent);color:var(--ui-accent-strong,#2563eb)}.v12-chat-list-row{position:relative}.v12-chat-row-tools{z-index:4;background:color-mix(in srgb, var(--ui-surface,#fff) 93%, transparent);opacity:0;pointer-events:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:10px;align-items:center;gap:2px;padding:3px;transition:opacity .14s;display:flex;position:absolute;top:8px;right:7px}.v12-chat-list-row:hover .v12-chat-row-tools,.v12-chat-list-row:focus-within .v12-chat-row-tools{opacity:1;pointer-events:auto}.v12-chat-row-action{width:31px;height:31px;color:var(--ui-text-muted,#667085);cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;padding:0;display:inline-flex}.v12-chat-row-action:hover{background:var(--ui-surface-raised,#eef1f5);color:var(--ui-text,#111827)}.v12-chat-row-action.is-favorite{color:#d99a00}@media (max-width:899px){.v12-chat-filters{padding-left:10px;padding-right:10px}.v12-archived-link{margin-left:10px;margin-right:10px}.v12-chat-row-tools{opacity:1;pointer-events:auto;background:color-mix(in srgb, var(--ui-surface,#fff) 88%, transparent);top:7px;right:5px}.v12-chat-row-action{width:29px;height:29px}}.v12-archive-count{min-width:1.45rem;height:1.45rem;color:inherit;background:#7f7f7f29;border-radius:999px;justify-content:center;align-items:center;margin-left:auto;padding:0 .42rem;font-size:.72rem;font-weight:800;line-height:1;display:inline-flex}.v12-content-page,.search-panel,.v12-settings-panel{border:1px solid var(--ui-border);background:var(--ui-surface);box-shadow:none}.v12-content-page,.search-panel{border-radius:20px;width:min(100%,860px);margin-inline:auto}.v12-contacts-page{padding:0;overflow:hidden}.contacts-head,.search-panel>header,.v12-settings-layout>aside{min-width:0}.contacts-head{border-bottom:1px solid var(--ui-border);justify-content:space-between;align-items:center;gap:16px;padding:22px 22px 16px;display:flex}.contacts-head>div{min-width:0}.contacts-head .eyebrow,.search-panel .eyebrow,.v12-settings-layout .eyebrow{color:var(--ui-text-muted);letter-spacing:.08em;font-size:.72rem;font-weight:800}.contacts-head h1,.search-panel h1,.v12-settings-layout>aside h1{color:var(--ui-text);margin:4px 0 0;font-size:clamp(1.55rem,5vw,2rem);line-height:1.15}.v12-contacts-page .search-form,.search-panel .search-form{border-bottom:1px solid var(--ui-border);align-items:stretch;gap:10px;margin:0;padding:16px 22px;display:flex}.v12-contacts-page .search-input-step4,.search-panel .search-input-step4{flex:1;min-width:0}.v12-contacts-page .search-input-step4,.search-panel .search-input-step4,.search-panel .search-form>:first-child{border-radius:14px}.v12-contacts-page .search-input-step4{border:1px solid var(--ui-border);background:var(--ui-surface-raised);min-height:46px;color:var(--ui-text-muted);align-items:center;gap:9px;padding-inline:13px;display:flex}.v12-contacts-page .search-input-step4 input{min-width:0;min-height:42px;color:var(--ui-text);background:0 0;border:0;outline:0;flex:1;padding:0;font-size:16px}.search-panel .search-form input{border:1px solid var(--ui-border);background:var(--ui-surface-raised);min-width:0;min-height:46px;color:var(--ui-text);border-radius:14px;font-size:16px}.v12-contacts-page .contact-list{margin:0;padding:6px 0;list-style:none}.v12-contacts-page .contact-row{border-bottom:1px solid var(--ui-border);align-items:center;gap:12px;min-height:74px;padding:10px 18px;display:flex}.v12-contacts-page .contact-row:last-child{border-bottom:0}.v12-contacts-page .contact-row:hover{background:var(--ui-surface-raised)}.v12-contacts-page .contact-row__identity{min-width:0;color:inherit;flex:1;align-items:center;gap:12px;text-decoration:none;display:flex}.v12-contacts-page .contact-row__identity>span{gap:2px;min-width:0;display:grid}.v12-contacts-page .contact-row__identity strong,.v12-contacts-page .contact-row__identity small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.v12-contacts-page .contact-row__identity strong{color:var(--ui-text);font-size:.96rem}.v12-contacts-page .contact-row__identity small{color:var(--ui-text-muted);font-size:.8rem}.v12-contacts-page .contact-row__actions{flex:none;align-items:center;gap:4px;display:flex}.v12-contacts-page .contact-row__actions .icon-button{border-radius:50%;min-width:42px;min-height:42px}.search-panel{padding:0;overflow:hidden}.search-panel>.eyebrow,.search-panel>h1,.search-panel>p{margin-inline:22px}.search-panel>.eyebrow{margin-top:22px;display:block}.search-panel>h1{margin-top:4px;margin-bottom:4px}.search-panel>p{color:var(--ui-text-muted);margin-top:0;margin-bottom:16px}.search-panel .people-list{gap:0;margin:0;padding:6px 0;list-style:none;display:grid}.search-panel .people-list>li{border:0;border-bottom:1px solid var(--ui-border);background:0 0;border-radius:0;min-width:0}.search-panel .people-list>li:last-child{border-bottom:0}.search-panel .person-link{min-height:70px;padding:10px 18px}.search-panel .person-link:hover{background:var(--ui-surface-raised)}.search-panel .person-link strong,.search-panel .person-link small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.search-panel .person-link strong{color:var(--ui-text)}.search-panel .person-link small{color:var(--ui-text-muted)}.search-panel .pager,.v12-contacts-page .pager{border-top:1px solid var(--ui-border);align-items:center;min-height:58px;margin:0;padding:10px 18px}.search-panel .pager:empty,.v12-contacts-page .pager:empty{display:none}.v12-contacts-page .contacts-empty,.search-panel .empty-state,.search-panel .search-empty{text-align:center;align-content:center;place-items:center;gap:8px;min-height:300px;padding:34px 22px;display:grid}.v12-contacts-page .contacts-empty h2,.search-panel .empty-state h2,.search-panel .search-empty h2{color:var(--ui-text);margin:4px 0 0;font-size:1.15rem}.v12-contacts-page .contacts-empty p,.search-panel .empty-state p,.search-panel .search-empty p{color:var(--ui-text-muted);margin:0 0 8px}.v12-settings-layout{grid-template-columns:minmax(210px,270px) minmax(0,1fr);gap:18px;width:min(100%,980px);margin-inline:auto}.v12-settings-layout>aside{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:20px;padding:22px;position:sticky;top:20px}.v12-settings-layout>aside p{color:var(--ui-text-muted);margin:10px 0 0;line-height:1.55}.v12-settings-panel{border-radius:20px;min-width:0;padding:8px}.v12-settings-panel .settings-nav{gap:2px;display:grid}.v12-settings-panel .settings-nav a{min-height:56px;color:var(--ui-text);background:0 0;border:0;border-radius:13px;padding:9px 12px}.v12-settings-panel .settings-nav a:hover{background:var(--ui-surface-raised)}.v12-settings-panel .settings-nav a[aria-current=page]{background:var(--ui-surface-raised);color:var(--ui-accent);border:0}.v12-settings-panel .settings-nav__label{align-items:center;gap:12px;min-width:0;display:inline-flex}.v12-settings-panel .settings-nav__label svg{flex:none}.v12-contacts-page .ui-button,.search-panel .ui-button,.v12-settings-panel a{-webkit-tap-highlight-color:transparent}.v12-contacts-page .ui-button,.search-panel .ui-button{min-height:44px}@media (max-width:820px){.v12-settings-layout{grid-template-columns:1fr}.v12-settings-layout>aside{position:static}}@media (max-width:600px){.v12-content-page,.search-panel,.v12-settings-panel,.v12-settings-layout>aside{border-radius:16px}.contacts-head{padding:18px 16px 14px}.contacts-head .ui-button{min-width:44px;padding-inline:12px}.v12-contacts-page .search-form,.search-panel .search-form{padding:12px 16px}.v12-contacts-page .contact-row{padding-inline:14px}.search-panel>.eyebrow,.search-panel>h1,.search-panel>p{margin-inline:16px}.search-panel>.eyebrow{margin-top:18px}.search-panel .person-link{padding-inline:14px}.v12-settings-layout{gap:12px}.v12-settings-layout>aside{padding:18px 16px}.v12-settings-panel{padding:6px}.v12-settings-panel .settings-nav a{min-height:54px}}@media (max-width:390px){.contacts-head{align-items:flex-start}.contacts-head h1,.search-panel h1,.v12-settings-layout>aside h1{font-size:1.45rem}.v12-contacts-page .contact-row{gap:9px;padding-inline:12px}.v12-contacts-page .contact-row__actions{gap:1px}.v12-contacts-page .contact-row__actions .icon-button{min-width:38px;min-height:38px}.v12-contacts-page .search-form,.search-panel .search-form{grid-template-columns:1fr;display:grid}.v12-contacts-page .search-form .ui-button,.search-panel .search-form .ui-button{width:100%}}@media (max-width:767px){html.chat-visual-viewport-active .chat-app-shell--conversation{box-sizing:border-box;top:var(--chat-visual-offset-top,0px)!important;height:var(--chat-visual-height,100dvh)!important;max-height:var(--chat-visual-height,100dvh)!important;min-height:0!important;bottom:auto!important;overflow:hidden!important}html.chat-visual-viewport-active .chat-app-shell--conversation .chat-workspace,html.chat-visual-viewport-active .chat-app-shell--conversation .chat-split--conversation,html.chat-visual-viewport-active .chat-app-shell--conversation .conversation-panel{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}html.chat-visual-viewport-active .chat-app-shell--conversation .conversation-panel>.conversation-header{z-index:10;position:relative}html.chat-visual-viewport-active .chat-app-shell--conversation .conversation-panel>.message-list{overscroll-behavior:contain;min-height:0!important;overflow-y:auto!important}html.chat-visual-viewport-active .chat-app-shell--conversation .conversation-panel>.conversation-compose-zone{min-height:0;max-height:min(45%,22rem)!important}.chat-app-shell--conversation .message-list{overscroll-behavior-y:none!important;padding-bottom:10px!important;scroll-padding-bottom:10px!important}.chat-app-shell--conversation .conversation-header{height:auto!important;min-height:68px!important}.chat-app-shell--conversation .conversation-header__identity{min-width:0!important}.chat-app-shell--conversation .conversation-header__identity>.presence-label{white-space:normal!important;text-overflow:clip!important;max-width:none!important;font-size:.76rem!important;line-height:1.16!important;overflow:visible!important}html.chat-visual-viewport-ios,html.chat-visual-viewport-ios body{overscroll-behavior:none!important;overflow:hidden!important}html.chat-visual-viewport-ios .chat-app-shell--conversation{left:0!important;right:0!important;overflow:hidden!important}html.chat-visual-viewport-ios .chat-app-shell--conversation .conversation-panel{min-height:0!important;overflow:hidden!important}html.chat-visual-viewport-ios .chat-app-shell--conversation .message-list{overscroll-behavior-y:contain!important;min-height:0!important}}
