:root{--bg:#111c19;--panel:#1b2924;--accent:#bad28c;--text:#edf2e9;--muted:#a1b1a5;--line:#9eb7a419;--rail:#0c1614;--incoming:#253831;--outgoing:#48633b;--hover:#ffffff08;--message-size:15px;color-scheme:dark}body{background:var(--bg)}button,input,textarea,select{transition:background-color .16s,border-color .16s,color .16s,box-shadow .16s}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.icon{width:23px;height:23px;display:block;flex-shrink:0}.icon-button{color:var(--muted)}.wordmark{gap:7px;font-size:25px;letter-spacing:1px;font-weight:800}.wordmark img{width:40px;height:40px;border-radius:12px}.wordmark strong{font-weight:800}.workspace{position:relative;max-width:1920px}.navigation-rail{width:84px;flex-shrink:0;background:var(--rail);border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:7px;padding:19px 6px 13px;z-index:3}.rail-menu{margin:0 0 17px}.rail-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:72px;min-height:73px;gap:7px;color:#819e90;border-radius:14px;padding:10px 3px}.rail-item .icon{width:25px;height:25px}.rail-label{font-size:10px;letter-spacing:.1px}.rail-item:hover{background:var(--hover);color:var(--text)}.rail-item.active{background:#b7cf8311;color:var(--accent)}.rail-item.active:before{content:'';position:absolute;left:-6px;top:24px;bottom:24px;width:3px;border-radius:0 3px 3px 0;background:var(--accent)}.rail-badge{position:absolute;top:6px;right:9px;background:var(--accent);color:#1d2b18;padding:1px 5px;font-size:10px;line-height:16px;border:2px solid var(--rail);border-radius:9px}.rail-spacer{flex:1}.rail-profile .avatar{width:31px;height:31px;border-radius:50%;font-size:11px}.sidebar{width:326px;background:var(--panel)}.sidebar-header{padding:25px 23px 21px;height:90px}.sidebar-header>.icon-button{width:36px;height:36px;background:#b7cf8310;border:0;color:var(--accent);border-radius:11px}.sidebar-header>.icon-button .icon{width:21px;height:21px}.sidebar-intro{margin:10px 24px 17px;justify-content:space-between}.sidebar-intro h1{font-size:21px;font-weight:700;letter-spacing:-.4px}.count{font-size:11px;color:#c5d5b8;background:#344737;min-width:23px;text-align:center}.searchbox{border:0;background:#0c16165c;margin:0 18px 12px;border-radius:11px;padding:0 13px;height:42px}.searchbox input{font-size:13px}.chat-tabs{display:flex;align-items:center;gap:18px;padding:0 23px;margin-bottom:8px;border-bottom:1px solid var(--line)}.chat-tabs button{position:relative;padding:13px 0 15px;font-size:12px;color:var(--muted);font-weight:600;white-space:nowrap}.chat-tabs button.active{color:var(--accent)}.chat-tabs button.active:after{content:'';position:absolute;height:3px;border-radius:5px 5px 0 0;bottom:0;left:0;right:0;background:var(--accent)}.chat-tabs button span{font-size:10px;margin-left:3px}.chat-list{padding:5px 9px}.chat-entry{border-radius:12px;padding:15px 11px;margin-bottom:2px;gap:11px;min-height:82px}.chat-entry.active{background:#3a5038}.chat-entry.active .chat-info p{color:#c1cfb7}.chat-entry:hover{background:#b7cf8309}.chat-entry.active:hover{background:#40583c}.avatar{width:49px;height:49px;border:0;border-radius:50%;font-weight:600;font-size:16px;letter-spacing:.2px;background:#425d4b;color:#e2f2df}.avatar-tone-0{background:#516b41;color:#e4f4cd}.avatar-tone-1{background:#536c7a;color:#dceefa}.avatar-tone-2{background:#957349;color:#fff0d6}.avatar-tone-3{background:#586346;color:#e9f2d5}.avatar-tone-4{background:#76596a;color:#ffdeed}.avatar-tone-5{background:#4c7e71;color:#dcfff1}.chat-info strong{font-size:14px;font-weight:600}.chat-info p{font-size:12px;line-height:1.5;margin-top:5px}.chat-meta{font-size:10px;gap:9px}.unread{border-radius:9px;font-size:10px;min-width:18px;text-align:center;background:#b9d28e}.account{padding:17px 19px;gap:8px;background:#0c16141c}.account .avatar{width:37px;height:37px;border-radius:50%}.account-person strong{font-size:12px}.account small{font-size:10px}.conversation{background:var(--bg);position:relative}.chat{position:relative;background-image:url('/contours.svg');background-size:700px;background-position:center}.chat-header{padding:17px 28px;height:90px;gap:13px;background:var(--panel);z-index:1}.chat-header .avatar{width:45px;height:45px;border-radius:50%}.peer-heading{padding:0;text-align:left}.peer-heading h2{font-size:16px;font-weight:600}.peer-heading p{font-size:12px;margin-top:5px}.peer-heading:hover h2{color:var(--accent)}.messages{padding:20px 28px 18px;scrollbar-gutter:stable;overscroll-behavior:contain}.day-label{font-size:11px;letter-spacing:0;margin:6px auto 22px;width:fit-content;padding:6px 13px;border-radius:20px;background:#0b1914b8;color:#bdccbb;backdrop-filter:blur(8px)}.message{max-width:min(82%,560px);margin-bottom:12px}.bubble{position:relative;padding:11px 14px 6px;border:1px solid #c8dcc807;border-radius:15px 15px 15px 5px;background:var(--incoming);font-size:var(--message-size);line-height:1.5;box-shadow:0 2px 3px #00000013;min-width:100px}.own .bubble{background:var(--outgoing);border-color:#c8dcc80a;border-radius:15px 15px 5px 15px;color:#f0f5e6}.message-meta{font-size:10px;margin-top:5px;margin-left:28px;line-height:1.4;color:#a3bbac;padding:0;white-space:nowrap}.own .message-meta{color:#c1d3aa}.message-text{white-space:pre-wrap}.message img{border-radius:9px;margin-top:2px}.file-card strong{font-size:13px}.file-card small{font-size:11px}.file-card{margin:4px 0 9px;padding:4px 0}.file-icon{background:#d1e4c414;color:var(--accent)}.send-status{font-size:11px;padding:0 28px 5px;min-height:16px;color:var(--muted)}.composer{position:relative;background:var(--panel);margin:0 22px 18px;padding:10px 12px 9px;box-shadow:0 5px 18px #00000020;border:1px solid #afc8b317;border-radius:16px}.composer-row{gap:10px;align-items:center}.attach-button{width:33px;height:38px}.composer textarea{font-size:15px;padding:10px 0}.emoji-button{width:32px}.send-button{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--accent);box-shadow:0 3px 7px #0002}.send-button .icon{width:22px;height:22px}.send-button:hover{background:#d0e4a6;transform:translateY(-1px)}.send-button:active{transform:scale(.94)}.composer-hint{font-size:10px;margin-top:6px;color:#95a694}.attachment{background:#6a865722}.scroll-bottom{position:absolute;bottom:137px;right:30px;z-index:2;width:39px;height:39px;border:1px solid var(--line);background:var(--panel);border-radius:50%;box-shadow:0 4px 10px #0003}.message-search{background:var(--panel);padding:12px 20px;align-items:end;gap:10px}.message-search label{gap:5px;font-size:10px;color:var(--muted);flex:1;min-width:0}.message-search input{width:100%;padding:10px;font-size:13px}.message-search .search-date{flex:0 0 140px}.message-search button{height:38px;font-size:12px}.message-search button[type=submit],.message-search button:not([type]){color:var(--accent)}.empty{background:url('/contours.svg') center/700px}.empty-symbol{transform:none;background:var(--panel);padding:24px;border-radius:28px;border-color:var(--line);box-shadow:0 15px 40px #0002}.empty-symbol img{transform:none}.empty h2{font-size:30px}.empty .primary{font-size:14px}.empty .eyebrow{font-size:10px}.details-open .conversation{margin-right:300px}.details-dialog{position:absolute;left:auto;right:0;top:0;bottom:0;width:300px;max-width:100%;max-height:100dvh;height:100dvh;border:0;border-left:1px solid var(--line);border-radius:0;padding:20px;margin:0;background:var(--panel);box-shadow:none}.details-dialog .dialog-head h2{font-size:16px;letter-spacing:0}.details-dialog .dialog-head{margin-bottom:27px}.contact-hero{display:flex;align-items:center;flex-direction:column;gap:10px;text-align:center}.contact-hero .avatar{width:90px;height:90px;font-size:28px}.contact-hero h3{font-size:18px;margin:7px 0 0;font-weight:600}.contact-hero p{color:var(--accent);font-size:13px}.contact-bio{font-size:13px;line-height:1.6;color:var(--muted);margin:23px 0 20px;text-align:center;overflow-wrap:anywhere}.contact-stats{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:var(--muted);padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.contact-stats strong{color:var(--text);font-size:16px}.details-dialog .menu-row{font-size:13px;padding:17px 0;gap:10px}.details-tabs{display:flex;margin:6px 0 15px;border-bottom:1px solid var(--line);gap:25px}.details-tabs button{padding:12px 1px;font-size:13px;color:var(--muted)}.details-tabs button.active{color:var(--accent);border-bottom:2px solid var(--accent)}.media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.media-tile{min-height:95px;background:#71896318;border-radius:9px;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;color:var(--accent);text-decoration:none}.media-tile>img{width:100%;height:110px;object-fit:cover}.media-tile>span{padding:6px;font-size:10px;overflow:hidden;width:100%}.media-tile strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:400}.media-tile small{display:none}.media-grid .list-empty{grid-column:1/-1;padding:20px 5px;font-size:13px}.file-row{display:flex;gap:10px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line);text-decoration:none;min-width:0}.file-row>.icon{padding:8px;width:42px;height:46px;background:#a1bc8216;border-radius:9px}.file-row>span{min-width:0}.file-row strong{font-size:12px;overflow-wrap:anywhere;display:block;font-weight:500}.file-row small{font-size:11px;color:var(--muted);display:block;margin-top:5px}.screen-dialog{width:470px;padding:28px;border-radius:22px;box-shadow:0 30px 100px #0008}.screen-dialog .dialog-head{margin-bottom:22px}.screen-dialog .dialog-head h2{font-size:23px;margin-top:7px}.screen-dialog .eyebrow{font-size:9px;letter-spacing:1.8px;color:var(--accent)}.screen-dialog label{font-size:13px;gap:8px}.screen-dialog input:not([type=radio]):not([type=checkbox]):not([type=file]),.screen-dialog textarea{background:#0e1c162f;border-color:#a4baa322;padding:13px 14px;font-size:15px;border-radius:10px}.screen-dialog textarea{resize:vertical;min-height:80px;line-height:1.5}.screen-dialog small{font-size:11px;line-height:1.5}.profile-hero{display:flex;flex-direction:column;align-items:center;padding:24px 10px 18px;background:url('/contours.svg') center/500px #52644615;border-radius:16px;margin-top:-4px;gap:8px}.profile-hero .avatar{width:83px;height:83px;border-radius:50%;font-size:26px;box-shadow:0 0 0 5px #c4dbb30c}.profile-hero>strong{font-size:17px;font-weight:600;margin-top:7px}.profile-hero>span{color:var(--accent);font-size:12px}.avatar-actions{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:-5px}.text-button{color:var(--accent);font-size:12px!important;padding:0;cursor:pointer}.avatar-actions label{display:block}.avatar-actions input{position:absolute;width:1px;height:1px;opacity:0;padding:0}.avatar-actions label:focus-within{outline:2px solid var(--accent)}#avatar-limit{text-align:center;display:block;margin-top:-9px}#profile-form{gap:18px}.handle-field{display:flex;align-items:center;border:1px solid #a4baa322;background:#0e1c162f;border-radius:10px;padding-left:13px;gap:0;color:var(--accent)}.handle-field input{border:0!important;background:none!important;flex:1;width:100%}.screen-dialog .primary{justify-content:center;font-size:14px;margin-top:6px}.settings-section h3{font-size:15px;margin:0 0 18px;font-weight:600;color:var(--text)}.settings-section+.settings-section{padding-top:5px}.theme-options{padding:0;border:0;margin:0 0 20px;display:flex;gap:14px}.theme-options legend{font-size:12px;color:var(--muted);margin-bottom:12px}.theme-options label{flex:1;position:relative;cursor:pointer;text-align:center;gap:8px!important}.theme-options input{position:absolute;opacity:0}.theme-sample{display:flex;flex-direction:column;gap:8px;padding:14px 16px;height:83px;border-radius:11px;border:2px solid transparent}.theme-sample.dark{background:#12201a}.theme-sample.light{background:#e8ede0}.theme-sample i{display:block;width:58%;height:15px;border-radius:6px;background:#496244}.theme-sample i:last-child{align-self:end;background:#9ebd75}.theme-options input:checked+.theme-sample{border-color:var(--accent);box-shadow:0 0 0 3px #b7cf8310}.theme-options input:focus-visible+.theme-sample{outline:2px solid var(--accent);outline-offset:4px}.setting-row{display:flex!important;flex-direction:row;align-items:center;justify-content:space-between;gap:18px!important;padding:16px 0;border-top:1px solid var(--line);font-size:13px!important}.setting-row small{display:block;font-size:11px;color:var(--muted);margin-top:5px;max-width:250px}.setting-row select{background:var(--bg);color:var(--text);border:1px solid var(--line);padding:8px;border-radius:8px;font-size:12px;max-width:120px}.switch{appearance:none;width:38px;height:22px;border-radius:20px;background:#74877946;border:0;position:relative;cursor:pointer;flex-shrink:0;margin:0;padding:0!important}.switch:before{content:'';position:absolute;width:16px;height:16px;top:3px;left:3px;border-radius:50%;background:#d9e1d2;transition:transform .15s}.switch:checked{background:#a4c275}.switch:checked:before{transform:translateX(16px);background:#20331a}#settings-status{font-size:12px;color:var(--accent)}.menu-dialog{position:fixed;left:94px;top:12px;margin:0;width:310px;border-radius:17px;padding:22px}.menu-dialog .wordmark{font-size:22px}.menu-dialog .wordmark img{width:35px;height:35px}.menu-row{display:flex;gap:15px;align-items:center;width:100%;padding:17px 5px;text-align:left;border-bottom:1px solid var(--line);font-size:14px}.menu-row>span:nth-child(2){flex:1}.menu-row>span:first-child{color:var(--accent)}.menu-row>span:last-child .icon{width:16px;height:16px;color:var(--muted)}.menu-row:hover{color:var(--accent)}.menu-note{font-size:12px;color:var(--muted);line-height:1.6;margin:23px 0 0}.emoji-dialog{width:300px;position:fixed;left:auto;right:28px;bottom:125px;top:auto;margin:0;padding:18px;border-radius:17px}.emoji-dialog .dialog-head{margin:0 0 10px}.emoji-dialog h2{font-size:16px}.emoji-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:3px}.emoji-grid button{font-size:24px;padding:7px 3px;border-radius:8px}.emoji-grid button:hover{background:var(--hover)}.toast{background:var(--accent);color:#1d2d1b;font-size:13px}.connection{z-index:4}.login-art{background:url('/contours.svg') center/700px #1d3024}.login-form .primary{font-size:14px}.login-form h2{font-size:26px}.login-form label{font-size:13px}.login-form .login-note{font-size:12px;line-height:1.5}.login-form input{font-size:16px}.login-form>.muted{font-size:14px}html[data-wallpaper=plain] .chat,html[data-wallpaper=plain] .empty{background-image:none}html[data-compact="1"] .chat-entry{min-height:65px;padding-top:10px;padding-bottom:10px}html[data-compact="1"] .chat-entry .avatar{width:39px;height:39px;font-size:13px}html[data-theme=light]{--bg:#e5ecdf;--panel:#f7f9f3;--text:#26382c;--muted:#687d6b;--accent:#496b32;--line:#304e2f17;--rail:#eaf0e4;--incoming:#fffef9;--outgoing:#cfe3b6;--hover:#334e2c08;color-scheme:light}html[data-theme=light] .own .bubble{color:#253920}html[data-theme=light] .own .message-meta,html[data-theme=light] .message-meta{color:#617b53}html[data-theme=light] .chat-entry.active{background:#dce8cf}html[data-theme=light] .chat-entry.active .chat-info p{color:#536749}html[data-theme=light] .chat-entry.active:hover{background:#d6e3c7}html[data-theme=light] .searchbox{background:#e7eddf}html[data-theme=light] .rail-item.active{background:#dce8d0}html[data-theme=light] .rail-badge,html[data-theme=light] .unread{background:#55783e;color:#fff}html[data-theme=light] .day-label{background:#d7e1cfdf;color:#52684b}html[data-theme=light] .count{background:#dfe9d5;color:#54733e}html[data-theme=light] .primary,html[data-theme=light] .send-button,html[data-theme=light] .toast{color:#fff}html[data-theme=light] .composer-hint{color:#65795c}html[data-theme=light] .send-button:hover{background:#577e3e}html[data-theme=light] .login-art{background-color:#d7e5ca}html[data-theme=light] .login-art p:not(.eyebrow){color:#5c7551}html[data-theme=light] .login-art .art-footer{color:#5c7551}
@keyframes message-arrive{from{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:none}}@keyframes panel-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes chat-arrive{from{opacity:.35}to{opacity:1}}html:not([data-motion="0"]) .message{animation:message-arrive .23s ease-out both}html:not([data-motion="0"]) dialog[open]{animation:panel-arrive .2s ease-out both}html:not([data-motion="0"]) .chat-header{animation:chat-arrive .22s ease-out}html[data-motion="0"] *,html[data-motion="0"] *:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1450px){.sidebar{width:340px}.messages{padding-left:48px;padding-right:48px}.composer{margin-left:40px;margin-right:40px}.details-dialog{right:max(0px,calc((100vw - 1920px)/2))}}
@media(min-width:761px) and (max-width:1180px){.navigation-rail{width:72px}.rail-item{width:60px}.rail-label{font-size:9px}.sidebar{width:280px}.sidebar-header{padding-left:18px;padding-right:18px}.wordmark{font-size:23px}.details-open .conversation{margin-right:0}.details-dialog{box-shadow:-25px 0 60px #0005;z-index:4}.message{max-width:90%}.chat-header{padding-left:18px;padding-right:18px}.messages{padding-left:18px;padding-right:18px}.composer{margin-left:14px;margin-right:14px}.composer-hint span:last-child{display:none}}
@media(max-width:760px), (max-height:500px) and (pointer:coarse){.workspace{display:block}.navigation-rail{position:absolute;left:0;right:0;bottom:0;height:calc(72px + env(safe-area-inset-bottom));width:100%;padding:4px 7px max(4px,env(safe-area-inset-bottom));display:flex;flex-direction:row;gap:0;border-right:0;border-top:1px solid var(--line);background:var(--panel);z-index:3}.rail-item{width:20%;height:63px;min-height:0;gap:5px;border-radius:12px;padding:6px 3px}.rail-item .icon{width:22px;height:22px}.rail-label{font-size:10px}.rail-menu,.rail-spacer{display:none}.rail-item.active:before{display:none}.rail-badge{right:calc(50% - 23px);top:1px;font-size:9px}.rail-profile .avatar{width:25px;height:25px;font-size:10px}.sidebar{width:100%;height:calc(100dvh - 72px - env(safe-area-inset-bottom));padding-bottom:0}.sidebar-header{height:77px;padding:18px 20px}.wordmark{font-size:26px;gap:8px}.wordmark img{width:39px;height:39px}.sidebar-intro{margin:9px 22px 16px}.sidebar-intro h1{font-size:24px}.sidebar-intro .count{font-size:12px}.searchbox{margin:0 17px 10px;height:44px}.searchbox input{font-size:16px}.chat-tabs{padding:0 22px;gap:25px}.chat-tabs button{font-size:13px;padding-top:13px}.chat-list{padding:5px 9px}.chat-entry{padding:14px 10px;min-height:82px;gap:13px}.chat-info strong{font-size:15px}.chat-info p{font-size:13px}.chat-meta{font-size:11px}.avatar{width:52px;height:52px;font-size:17px}.account{display:none}.conversation{width:100%;height:100dvh}.workspace.chat-open .navigation-rail{display:none}.chat-header{height:74px;padding:12px 10px;gap:9px;flex-shrink:0}.chat-header .avatar{width:39px;height:39px}.chat-header .icon-button{width:33px;height:37px}.chat-header .back{width:28px}.chat-header .icon{width:21px;height:21px}.peer-heading h2{font-size:15px}.peer-heading p{font-size:11px}.messages{padding:14px 12px;scrollbar-gutter:auto}.day-label{font-size:11px;margin-bottom:17px}.message{max-width:90%;margin-bottom:11px}.bubble{font-size:var(--message-size);padding:10px 12px 5px;border-radius:14px 14px 14px 4px}.own .bubble{border-radius:14px 14px 4px 14px}.message-meta{font-size:10px;margin-top:4px}.composer{margin:0 8px max(8px,env(safe-area-inset-bottom));padding:7px 8px 6px;border-radius:16px}.composer-row{gap:6px}.composer textarea{font-size:16px;max-height:110px;padding:9px 0;line-height:1.4}.attach-button{width:29px;height:37px}.attach-button .icon{width:22px;height:22px}.emoji-button{width:27px;height:37px}.emoji-button .icon{width:21px;height:21px}.send-button{width:38px;height:38px;border-radius:12px}.composer-hint{font-size:9px;margin-top:5px}.send-status{font-size:11px;padding:0 15px 4px;min-height:13px}.scroll-bottom{bottom:118px;right:16px;width:36px;height:36px}.message-search{padding:10px;gap:7px;flex-wrap:wrap}.message-search>label:first-child{flex-basis:55%;flex-grow:1}.message-search .search-date{flex:1;min-width:125px}.message-search input{font-size:16px;height:41px}.message-search button{flex:1;height:30px}.details-open .conversation{margin-right:0}.screen-dialog,.details-dialog{position:fixed;inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:20px 22px max(26px,env(safe-area-inset-bottom));box-shadow:none;overflow:auto;background:var(--panel)}.screen-dialog .dialog-head,.details-dialog .dialog-head{margin-bottom:22px;position:sticky;top:-20px;padding:12px 0;background:var(--panel);z-index:2}.screen-dialog .dialog-head h2{font-size:23px}.screen-dialog .dialog-head .eyebrow{font-size:9px}.screen-dialog input:not([type=radio]):not([type=checkbox]):not([type=file]),.screen-dialog textarea{font-size:16px}.screen-dialog label{font-size:14px}.profile-hero{padding:22px 10px}.profile-hero .avatar{width:82px;height:82px}.profile-hero>strong{font-size:18px}.profile-hero>span{font-size:13px}.screen-dialog .primary{height:49px}.avatar-actions{gap:24px}.avatar-actions label,.avatar-actions button{font-size:13px!important}.setting-row{font-size:14px!important;padding:19px 0}.setting-row small{font-size:12px;max-width:245px}.setting-row select{font-size:14px}.settings-section h3{font-size:16px}.theme-sample{height:93px}.switch{width:42px;height:26px}.switch:before{width:20px;height:20px}.switch:checked:before{transform:translateX(16px)}.menu-dialog{left:10px;top:10px;width:calc(100vw - 20px);max-width:440px;margin:0;padding:23px;border-radius:18px}.details-dialog .dialog-head h2{font-size:21px}.contact-hero .avatar{width:105px;height:105px;font-size:32px}.contact-hero h3{font-size:22px}.contact-hero p{font-size:15px}.contact-bio{font-size:15px;max-width:310px;margin:23px auto}.contact-stats{font-size:14px}.details-dialog .menu-row{font-size:15px;padding:23px 0}.details-tabs button{font-size:15px}.media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.media-tile>img{height:100px}.file-row strong{font-size:14px}.file-row small{font-size:12px}.emoji-dialog{bottom:90px;right:8px;width:calc(100vw - 16px);max-width:380px;padding:18px}.emoji-grid button{font-size:28px;padding:10px 3px}.login-art{background:none}.login-form{margin:15px auto}.login-form h2{font-size:26px}.login-form label{font-size:14px}.login-form .login-note{font-size:12px}.toast{bottom:90px;width:max-content;max-width:calc(100vw - 30px);font-size:13px}.file-card strong{max-width:230px}}
@media(max-width:360px){.sidebar-header{padding-left:17px;padding-right:17px}.rail-label{font-size:9px}.chat-header{gap:6px}.chat-header .avatar{width:34px;height:34px}.peer-heading h2{font-size:14px}.screen-dialog{padding-left:18px;padding-right:18px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px), (max-height:500px) and (pointer:coarse){.workspace,.conversation,.screen-dialog,.details-dialog{height:var(--app-height,100dvh)}.screen-dialog,.details-dialog{max-height:var(--app-height,100dvh)}.sidebar{height:calc(var(--app-height,100dvh) - 72px - env(safe-area-inset-bottom))}.screen-dialog .primary{position:sticky;bottom:0;z-index:1;box-shadow:0 -8px 12px var(--panel)}}
.profile-logout{display:block;margin:20px auto 0;padding:10px;color:#d5a091;font-size:13px}html[data-theme=light] .profile-logout{color:#985144}
