@font-face{font-family:Inter;src:url('/assets/fonts/Inter.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
:root{font-family:Inter,Arial,sans-serif;font-size:15px;font-optical-sizing:auto;font-synthesis:none;-webkit-font-smoothing:auto;text-rendering:optimizeLegibility}
body,button,input,textarea,select{font-family:Inter,Arial,sans-serif}button,input,textarea,select{font-weight:400}.nav-label{font-size:11px}.dialog-title strong{font-size:14px;font-weight:550}.dialog-preview p{font-size:13px}.thread-title h2{font-size:16px}.subtitle,.muted,.login-help{font-size:13px}.messages{gap:7px;padding-top:15px}.message-row{display:flex;align-items:flex-end;gap:8px;align-self:flex-start;max-width:85%;width:fit-content}.message-row.own{align-self:flex-end}.message-row>.avatar{width:32px;height:32px;border-radius:50%;margin-bottom:3px;font-size:13px}.message-row .bubble{max-width:100%;padding:9px 12px 5px;min-width:85px;border-radius:15px 15px 15px 5px;box-shadow:0 1px 1px #00000008}.message-row.own .bubble{border-radius:15px 15px 5px 15px}.message-text{font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.message-author{font-size:12px;font-weight:600;color:var(--accent-text);margin-bottom:4px}.message-meta{display:flex;align-items:center;justify-content:flex-end;gap:6px;font-size:11px;line-height:20px;color:var(--muted);margin-top:3px;white-space:nowrap}.message-meta>.icon{width:12px;height:12px}.message-more{width:22px;height:22px;padding:2px;border-radius:6px;opacity:0}.bubble:hover .message-more,.message-more:focus-visible{opacity:1}.message-more .icon{width:17px;height:17px}.receipt{font-size:14px;letter-spacing:-4px;margin-right:4px;color:var(--muted)}.receipt.read{color:#399ed9}.day-divider{align-self:center;background:var(--surface3);padding:4px 13px;border-radius:20px;color:var(--muted);font-size:12px;margin:14px 0;line-height:1.5}.deleted-text{font-size:14px;font-style:italic;color:var(--muted)}.quoted-message{font-size:12px;padding:6px 9px;border-left:3px solid var(--accent);background:var(--soft);margin-bottom:5px;border-radius:5px;max-width:350px;white-space:pre-wrap;overflow-wrap:anywhere}.message-actions-list{display:flex;flex-direction:column;gap:8px}.message-actions-list button{justify-content:flex-start}.danger{color:#d34848}.emoji{height:1.35em;width:1.35em;vertical-align:-.28em;display:inline-block;object-fit:contain;margin:0 .04em}.emoji-grid button{height:46px}.emoji-grid .emoji{height:30px;width:30px;margin:0}.file-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px;gap:12px;min-width:235px;max-width:350px;color:var(--text)}.file-type{width:43px;height:49px;border-radius:8px 12px 8px 8px;display:grid;place-items:center;flex:none;font-weight:700;font-size:10px;background:#e7edf5;color:#5b738d;position:relative}.file-type:after{content:'';position:absolute;right:0;top:0;border-style:solid;border-width:0 11px 11px 0;border-color:transparent var(--surface) #ffffff55 transparent}.file-type.pdf{background:#fde5e6;color:#c34456}.file-type.doc{background:#dceafd;color:#3374bb}.file-type.sheet{background:#d9f1e5;color:#2f8b63}.file-type.archive{background:#eee2f8;color:#8d60b2}.file-type.audio,.file-type.video{background:#f9e8d6;color:#b47836;font-size:20px}.file-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;flex:1;text-align:left;gap:3px}.file-copy strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.file-copy small{font-size:11px;color:var(--muted)}.file-card>.icon{width:18px;height:18px;color:var(--muted)}.photo-preview{padding:0;border:0;max-width:100%;background:transparent;overflow:hidden;border-radius:11px;margin-top:4px}.photo-preview img{width:auto;max-width:100%;height:auto;max-height:420px;object-fit:contain;display:block}.attachment-wrap{max-width:min(380px,100%)}.photo-preview:has(img:not([src])){min-width:200px;min-height:140px;background:var(--soft)}.chat-settings-photo{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:20px 0}.chat-settings-photo .avatar{border-radius:50%}.notification-settings-button{font-size:12px}.profile-server{white-space:pre-line}.browser-note{font-size:12px;line-height:1.6;color:var(--muted)}
@media(max-width:720px){.message-row{max-width:96%}.message-row.own{max-width:90%}.message-row>.avatar{width:27px;height:27px;flex:none}.message-row .bubble{padding:8px 10px 5px}.message-more{opacity:1}.message-text{font-size:15px}.file-card{min-width:180px;padding:10px;gap:9px}.file-type{width:35px;height:43px}.photo-preview img{max-height:350px}.nav-label{font-size:9px}.thread-title h2{font-size:14px}}
