@import"https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap";:root{font-family:Vazirmatn,Tahoma,sans-serif;color:#f5f2ea;background:#101112;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 15% 10%,#242017 0,transparent 35%),#101112}button,input{font:inherit}button{cursor:pointer;border:0}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(100%,430px);padding:42px;border:1px solid #3c3425;border-radius:26px;background:linear-gradient(145deg,#1d1c19,#141516);box-shadow:0 24px 90px #0008;text-align:center}.brand-mark{width:62px;height:62px;margin:auto;border:1px solid #c9a45b;border-radius:20px;display:grid;place-items:center;color:#e3c47d;font-size:34px;font-weight:800}.eyebrow{color:#c6a45f;font-size:12px;letter-spacing:1px;margin:22px 0 4px}h1{font-size:30px;margin:0}h1 span{color:#d5b66e}.muted,.hint{color:#92918c}.stack{display:grid;gap:16px;text-align:right;margin-top:28px}.stack label{font-size:13px;color:#c9c6bd}.stack input,.create-room input,.composer input{width:100%;margin-top:8px;padding:13px 14px;border:1px solid #3a3b3b;border-radius:12px;background:#111314;color:#fff;outline:none}.stack input:focus,.create-room input:focus,.composer input:focus{border-color:#b8954f}.stack button,.composer button{padding:13px;border-radius:12px;background:linear-gradient(120deg,#d9bd79,#a7833d);color:#171512;font-weight:800}.stack button:disabled{opacity:.6}.hint{font-size:11px;margin-top:20px}.error{color:#ff8585;font-size:13px}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;border-bottom:1px solid #2b2c2c;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;background:#131414}.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:1px}.brand>b{width:38px;height:38px;display:grid;place-items:center;border:1px solid #c9a45b;border-radius:12px;color:#d9bd79;font-size:22px}.brand small{display:block;color:#a78a50;font-size:9px;letter-spacing:2px}.top-actions{display:flex;align-items:center;gap:10px;color:#aaa;font-size:12px}.online-dot{width:8px;height:8px;border-radius:50%;background:#61b88c}.ghost{padding:8px 14px;border:1px solid #49433a;border-radius:9px;background:transparent;color:#e1c47d;margin-right:12px}.workspace{width:min(1200px,94vw);margin:28px auto;flex:1;display:grid;grid-template-columns:310px 1fr;border:1px solid #303131;border-radius:20px;overflow:hidden;min-height:600px;background:#171919}.sidebar{border-left:1px solid #303131;padding:22px;background:#151717}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{font-size:16px}.section-heading span{color:#d8b96d;background:#302a1e;border-radius:20px;padding:2px 9px;font-size:12px}.create-room{display:flex;gap:8px;margin:16px 0}.create-room input{margin:0;min-width:0}.create-room select{max-width:92px;border:1px solid #3a3b3b;border-radius:10px;background:#111314;color:#e8e4da;padding:8px 5px;font:inherit;font-size:11px}.create-room button{width:48px;border-radius:11px;background:#c9a45b;color:#171512;font-size:24px}.room-list{display:grid;gap:7px}.room-item{width:100%;display:flex;align-items:center;gap:12px;text-align:right;padding:12px;border-radius:12px;background:transparent;color:#eee}.room-item:hover,.room-item.selected{background:#29271f}.room-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#332d20;color:#d9bd79;font-size:20px}.room-info{display:grid;gap:4px}.room-info b{font-size:13px}.room-info small{color:#9c9b95;font-size:11px}.empty{font-size:12px;text-align:center;margin-top:32px}.chat-panel{display:flex;flex-direction:column;min-width:0;position:relative}.chat-heading{height:76px;border-bottom:1px solid #303131;padding:14px 24px;display:flex;align-items:center;justify-content:space-between}.chat-heading h2{font-size:16px;margin:0}.chat-heading p{font-size:11px;color:#92918c;margin:4px 0 0}.secure-label{font-size:10px;color:#d6b66e;letter-spacing:1px}.messages{flex:1;padding:22px;display:flex;flex-direction:column;gap:12px;overflow:auto}.message{max-width:75%;align-self:flex-start;border:1px solid #343534;background:#202222;border-radius:14px 14px 14px 4px;padding:11px 15px}.message b{font-size:11px;color:#d7b86f}.message p{font-size:14px;margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.composer{display:flex;gap:10px;padding:16px 20px;border-top:1px solid #303131}.composer input{margin:0;min-width:0}.composer button{min-width:86px}.empty-chat{margin:auto;text-align:center;color:#a5a39b}.empty-chat>div{font-size:42px;color:#c8a55e}.empty-chat h2,.empty-chat h3{color:#e8e4da;font-size:18px}.empty-chat p{font-size:12px}.toast{position:absolute;bottom:80px;left:20px;background:#4b2828;border:1px solid #834444;color:#ffdada;border-radius:10px;padding:10px 14px;font-size:12px}.toast button{background:none;color:#fff;margin-right:12px}footer{padding:16px 5vw;color:#a88c51;font-size:10px;letter-spacing:1px}footer span{float:left;color:#6f706e;letter-spacing:0}@media(max-width:720px){.workspace{grid-template-columns:1fr;margin:12px auto;min-height:calc(100vh - 130px)}.sidebar{border-left:0;border-bottom:1px solid #303131}.room-list{display:flex;overflow:auto}.room-item{min-width:150px}.chat-panel{min-height:420px}.auth-card{padding:28px 22px}.topbar{padding:0 18px}.workspace{width:calc(100% - 24px)}}.mode-switch{margin-top:16px;background:transparent;color:#d9bd79;font-size:12px;padding:8px 12px}.mode-switch:hover{color:#f0d99c}.typing-indicator{min-height:22px;padding:2px 22px;color:#d4b46b;font-size:12px;text-align:right}.typing-indicator:empty{display:none}.chat-tools{display:flex;align-items:center;gap:8px}.call-action{background:#29251d;color:#d9bd79;border:1px solid #625234;padding:7px 10px;border-radius:9px;font-size:12px}.call-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000b;z-index:20;display:grid;place-items:center;padding:18px}.call-panel{width:min(760px,100%);max-height:90vh;overflow:auto;background:#17191a;border:1px solid #51452b;border-radius:18px;padding:18px;box-shadow:0 20px 70px #0009}.call-panel>header,.call-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.call-panel header small{display:block;color:#999;margin-top:5px}.call-close{font-size:24px;background:transparent;color:#fff}.call-tracks{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;min-height:180px;padding:18px 0}.call-tile{position:relative;min-height:180px;background:#242628;border-radius:12px;overflow:hidden}.call-tile span{position:absolute;bottom:8px;right:10px;background:#0009;padding:4px 8px;border-radius:6px;font-size:12px}.call-status{color:#d4b46b;text-align:center;padding:32px}.call-panel footer{border-top:1px solid #333;padding-top:14px;color:#aaa;font-size:12px}.danger{background:#8c302c;color:#fff;border-radius:9px;padding:9px 14px}.chat-tools .secure-label{font-size:12px;color:#c5b27c}@media(max-width:600px){.chat-tools{gap:4px;flex-wrap:wrap}.call-action{font-size:10px;padding:6px}}.call-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.call-control{background:#302b20;color:#e3c77f;border:1px solid #6a5936;border-radius:9px;padding:9px 12px;font-size:12px}.call-control.is-off{background:#3a2524;color:#ffb4ad;border-color:#77413d}.call-control:disabled{opacity:.5;cursor:not-allowed}.admin-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#000b;display:grid;place-items:center;padding:18px}.admin-panel{width:min(980px,100%);max-height:min(86vh,900px);overflow:auto;border:1px solid #55472c;border-radius:20px;background:#171919;color:#f5f2ea;box-shadow:0 28px 100px #000c;padding:22px}.admin-ltr{font-family:Arial,sans-serif}.admin-header,.admin-header-actions,.admin-tabs{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-header h2{margin:0;font-size:20px}.admin-header .eyebrow{margin:0 0 5px}.admin-tabs{justify-content:flex-start;border-bottom:1px solid #343534;padding:14px 0;margin-bottom:16px}.admin-tabs button{background:transparent;color:#aaa;padding:9px 14px;border-radius:9px}.admin-tabs button.active{background:#332d20;color:#e3c47d}.admin-tabs .ghost{margin:0;border:1px solid #49433a}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table th,.admin-table td{padding:12px 10px;text-align:start;border-bottom:1px solid #303131;white-space:nowrap}.admin-table th{color:#d9bd79;font-weight:600}.admin-table td small{display:block;color:#888;margin-top:4px;white-space:normal;max-width:250px}.admin-table select{background:#111314;color:#eee;border:1px solid #4a463b;border-radius:8px;padding:7px}.admin-action{background:#332d20;color:#e4c47d;border:1px solid #665536;border-radius:8px;padding:7px 10px}.admin-action:disabled{opacity:.5;cursor:not-allowed}.admin-status{font-size:11px}.status-active{color:#7ed4a1}.status-suspended,.status-banned{color:#f99}.admin-error{color:#f99;background:#3d2424;padding:10px;border-radius:8px}.admin-empty,.admin-note{color:#999;font-size:12px;padding:14px 0}.admin-note{border-top:1px solid #303131;margin-top:14px;padding-bottom:0}.attachment-list{display:flex;gap:8px;overflow:auto;padding:8px 18px 0}.attachment-item{display:flex;align-items:center;gap:8px;max-width:260px;padding:8px 10px;border:1px solid #49412f;border-radius:10px;background:#211f19;color:#e5d09c}.attachment-item b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.attachment-item small{color:#999;font-size:10px}.attachment-item span{font-size:17px}.file-picker{display:none!important}.attach-button{min-width:42px;border:1px solid #665536;border-radius:10px;background:#29251d;color:#e5c779;font-size:19px}.locale-toggle{border:1px solid #625234;border-radius:9px;padding:7px 10px;background:#29251d;color:#e3c47d;font-size:11px}.auth-locale{position:absolute;top:18px;right:18px}.auth-page{position:relative}.app-shell[dir=ltr] .sidebar{border-left:0;border-right:1px solid #303131}.app-shell[dir=ltr] .message{align-self:flex-end;border-radius:14px 14px 4px}.composer{position:relative;align-items:center}.emoji-toggle{flex:0 0 42px;height:42px;border:1px solid #665536;border-radius:11px;background:#29251d;color:#f2d58d;font-size:21px}.emoji-picker{position:absolute;z-index:30;bottom:calc(100% + 8px);right:16px;width:min(320px,calc(100vw - 48px));display:grid;grid-template-columns:repeat(6,1fr);gap:4px;padding:10px;border:1px solid #655333;border-radius:14px;background:#1b1c1c;box-shadow:0 12px 40px #000b}.emoji-picker button{height:40px;border-radius:8px;background:transparent;font-size:23px}.emoji-picker button:hover{background:#393225}.message{position:relative;padding-bottom:24px}.message time{position:absolute;bottom:6px;left:10px;color:#92918c;font-size:9px}.message.own{align-self:flex-end;background:#302a1e;border-color:#5a4a2d;border-radius:14px 14px 4px}.message.own b{color:#e5c779}.chat-heading{gap:10px}.chat-tools{justify-content:flex-end;flex-wrap:wrap}.sidebar{min-width:0}.room-list{max-height:34vh;overflow:auto}.messages{overscroll-behavior:contain;scrollbar-width:thin}.composer input[type=text],.composer input:not([type]){flex:1}@media(min-width:1100px){.workspace{width:min(1440px,96vw);grid-template-columns:340px minmax(0,1fr);min-height:calc(100vh - 145px)}.sidebar{padding:26px}.messages{padding:28px clamp(22px,4vw,64px)}}@media(max-width:900px){.workspace{width:calc(100% - 24px);grid-template-columns:280px minmax(0,1fr);margin:12px auto;min-height:calc(100dvh - 118px)}.sidebar{padding:16px}.chat-heading{padding:12px 16px}.chat-tools .secure-label{font-size:10px}}@media(max-width:680px){.topbar{height:auto;min-height:62px;padding:10px 14px;gap:8px;flex-wrap:wrap}.top-actions{gap:6px;font-size:10px;flex-wrap:wrap;justify-content:flex-end}.top-actions .ghost{margin:0;padding:7px 9px}.workspace{display:flex;flex-direction:column;width:100%;margin:0;border-left:0;border-right:0;border-radius:0;min-height:calc(100dvh - 112px);overflow:visible}.sidebar{border:0;border-bottom:1px solid #303131;padding:12px}.sidebar>.section-heading{margin-top:4px}.sidebar>.section-heading h2{font-size:14px}.create-room{margin:8px 0 12px}.room-list{display:flex;gap:6px;max-height:none;overflow-x:auto;overflow-y:hidden;padding:2px 0 8px;scroll-snap-type:x proximity}.room-item{min-width:145px;width:auto;scroll-snap-align:start;padding:8px}.room-avatar{width:34px;height:34px;flex:0 0 34px}.chat-panel{min-height:58dvh;flex:1}.chat-heading{height:auto;min-height:64px;align-items:flex-start}.chat-tools{max-width:58%;gap:5px}.call-action{font-size:10px;padding:6px 8px}.messages{min-height:34dvh;padding:14px;gap:9px}.message{max-width:88%;padding:10px 12px 23px}.composer{position:sticky;bottom:0;padding:10px;background:#171919;gap:6px;z-index:5}.composer input{padding:11px 10px;font-size:13px}.composer button:not(.attach-button):not(.emoji-toggle){min-width:62px;padding:10px 12px;font-size:12px}.attach-button,.emoji-toggle{min-width:38px;flex-basis:38px;height:40px}.attachment-list{padding:8px 12px 0}.typing-indicator{padding:2px 14px}footer{padding:10px 14px}}@media(max-width:390px){.brand{gap:7px;font-size:13px}.brand>b{width:32px;height:32px}.top-actions .online-dot{display:none}.top-actions .locale-toggle{padding:6px 7px}.chat-heading{padding:10px 12px}.chat-heading h2{font-size:14px}.chat-tools{max-width:62%}.call-action{font-size:9px;padding:5px 6px}.composer{gap:4px;padding:8px}}@media(prefers-reduced-motion:no-preference){.room-item,.call-action,.emoji-toggle,.emoji-picker button{transition:background .16s ease,border-color .16s ease}}:root{color-scheme:dark;--tg-bg:#101820;--tg-panel:#17232d;--tg-panel-2:#1d2c38;--tg-line:#293946;--tg-muted:#91a4b3;--tg-gold:#d8b76e;--tg-green:#2b665b}body{background:#0e171f;color:#eaf1f5}.app-shell{height:100dvh;min-height:560px;overflow:hidden;background:#0e171f}.topbar{height:64px;flex:0 0 64px;padding:0 22px;background:#17232d;border-bottom:1px solid #293946}.brand{letter-spacing:.2px}.brand>b{border-radius:50%;background:#263642;border-color:#a88b4e}.top-actions{gap:12px}.top-actions .ghost{margin:0;border-color:#3a4b57;color:#d9c28d}.workspace{width:100%;max-width:none;min-height:0;height:calc(100dvh - 100px);flex:1;margin:0;border:0;border-radius:0;overflow:hidden;display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);background:var(--tg-bg)}.sidebar{background:var(--tg-panel);border-left:1px solid var(--tg-line);padding:16px 12px;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.sidebar-brand{display:flex;align-items:center;gap:11px;padding:4px 8px 10px;color:#f1f5f8}.brand-mark-small{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#e1c47f,#9c783c);color:#18232c;font-size:23px;font-weight:900}.sidebar-brand>div:nth-child(2){display:grid;gap:3px}.sidebar-brand b{font-size:14px}.sidebar-brand small{font-size:11px;color:var(--tg-muted)}.sidebar-menu{margin-right:auto;width:34px;height:34px;border-radius:50%;background:transparent;color:#aab9c3;font-size:22px}.chat-search{height:42px;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid #314451;border-radius:12px;background:#101b24;color:#8da2b0}.chat-search span{font-size:23px;line-height:1}.chat-search input{width:100%;border:0;outline:0;background:transparent;color:#edf4f8;font:inherit;font-size:12px}.section-heading{padding:3px 7px}.section-heading h2{margin:0;color:#aabac5;font-size:12px;font-weight:700}.section-heading span{background:#283945;color:#d9c28d}.create-room{margin:0;padding:0 2px;gap:6px}.create-room input{background:#101b24;border-color:#30424f;border-radius:10px;font-size:12px;padding:10px}.create-room select{background:#101b24;border-color:#30424f;border-radius:10px}.create-room button{width:40px;flex:0 0 40px;border-radius:10px;background:#b99a5c;color:#15212a}.room-list{display:grid;gap:3px;max-height:none;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 2px 6px;scrollbar-width:thin;flex:1}.room-item{min-width:0;width:100%;min-height:62px;padding:9px 10px;border-radius:12px;gap:11px;color:#eaf1f5}.room-item:hover,.room-item.selected{background:#263945}.room-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#344a56;color:#e2c47d;font-size:18px}.room-info b{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-info small{font-size:11px;color:#91a4b3}.sidebar .section-heading:nth-of-type(2){margin-top:4px}.chat-panel{min-width:0;min-height:0;background:#0e1a23;overflow:hidden}.chat-heading{height:68px;flex:0 0 68px;padding:10px 22px;background:#172630;border-bottom:1px solid #293b47}.chat-heading-main{display:flex;align-items:center;gap:12px;min-width:0}.chat-heading h2{font-size:15px;font-weight:700;color:#f2f6f8}.chat-heading p{font-size:11px;color:#92a6b3}.chat-tools{gap:7px}.chat-tools .secure-label{color:#8fbdad;font-size:11px}.call-action{background:#263b43;border:1px solid #3c5960;color:#d9c28d;border-radius:18px;padding:7px 12px}.mobile-back{display:none;width:36px;height:36px;border-radius:50%;background:#263945;color:#f2f6f8;font-size:25px;line-height:1}.messages{min-height:0;overflow-y:auto;flex:1;padding:24px clamp(18px,5vw,76px);gap:10px;background-color:#0e1a23;background-image:radial-gradient(#29404c .65px,transparent .65px);background-size:18px 18px;scrollbar-width:thin}.message{max-width:min(72%,620px);border:1px solid #2c414d;background:#1c303b;border-radius:16px 16px 16px 5px;padding:10px 14px 25px;box-shadow:0 2px 5px #0002}.message b{font-size:11px;color:#d9bd79}.message p{font-size:14px;line-height:1.75;color:#eef4f7}.message time{color:#91a7b3;font-size:10px}.message.own{background:#24483f;border-color:#356457;border-radius:16px 16px 5px}.message.own b{color:#e2c783}.composer{flex:0 0 auto;position:relative;align-items:center;gap:8px;padding:12px 18px;background:#172630;border-top:1px solid #293b47}.composer input:not([type=file]){height:46px;flex:1;min-width:0;margin:0;padding:0 16px;border:1px solid #304652;border-radius:24px;background:#0f1c25;color:#f4f7f9;font-size:13px}.composer input:focus{border-color:#6a8e88}.composer button:not(.emoji-toggle):not(.attach-button){min-width:78px;border-radius:22px;background:#c5a45f;color:#18232a;padding:11px 18px}.emoji-toggle,.attach-button{width:42px;height:42px;min-width:42px;flex:0 0 42px;border-radius:50%;background:#263945;border:0;color:#e3c47d}.attach-button{font-size:18px}.emoji-picker{bottom:calc(100% + 10px);right:18px;background:#1b2b35;border-color:#3b5360}.emoji-picker button:hover{background:#314854}.typing-indicator{color:#9bc5b4;padding:2px 26px}.attachment-list{background:#172630;padding:7px 20px}.attachment-item{background:#223540;border-color:#3b515d;border-radius:12px}.empty-chat{padding:28px}.empty-chat>div{color:#d4b36c}.empty-chat h2,.empty-chat h3{color:#e8f0f4}.toast{z-index:20;bottom:78px}footer{height:36px;flex:0 0 36px;background:#17232d;padding:10px 20px;color:#b59b64}.auth-page{background:radial-gradient(circle at 50% 20%,#263c46,#0e171f 65%)}.auth-card{border-color:#3a4d58;background:#172630}.stack input{background:#0f1c25;border-color:#344b58}@media(min-width:681px){.workspace{grid-template-columns:minmax(310px,360px) minmax(0,1fr)}.sidebar{grid-column:1;grid-row:1}.chat-panel{grid-column:2;grid-row:1}}@media(max-width:900px)and (min-width:681px){.workspace{grid-template-columns:290px minmax(0,1fr)}.sidebar{padding:12px 9px}.chat-heading{padding:9px 14px}.chat-tools{max-width:55%}.call-action{font-size:10px;padding:6px 8px}.messages{padding:18px}}@media(max-width:680px){.app-shell{height:100dvh;min-height:0}.topbar{height:56px;min-height:56px;flex:0 0 56px;padding:7px 12px;flex-wrap:nowrap}.brand>b{width:34px;height:34px}.brand{font-size:12px}.brand small{font-size:8px}.top-actions{gap:5px;flex-wrap:nowrap;font-size:0}.top-actions .online-dot{display:inline-block;width:7px;height:7px}.top-actions .locale-toggle,.top-actions .ghost{font-size:10px;padding:6px 8px;white-space:nowrap}.workspace{height:calc(100dvh - 56px);min-height:0;display:block;position:relative;overflow:hidden}.sidebar{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;width:100%;height:100%;padding:12px 10px;display:flex;gap:10px;border:0}.sidebar .room-list{flex:1;max-height:none}.chat-panel{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;width:100%;height:100%;display:none;min-height:0}.workspace.mobile-chat-open .sidebar{display:none}.workspace.mobile-chat-open .chat-panel{display:flex}.mobile-back{display:inline-grid;place-items:center;flex:0 0 36px}.chat-heading{height:auto;min-height:62px;flex:0 0 auto;padding:9px 10px;gap:7px}.chat-heading-main{gap:8px;flex:1;min-width:0}.chat-heading h2{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-heading p{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-tools{max-width:52%;gap:4px;justify-content:flex-end}.chat-tools .secure-label{font-size:9px;white-space:nowrap}.call-action{font-size:9px;padding:6px 7px;white-space:nowrap}.messages{min-height:0;flex:1;padding:14px 10px 18px;gap:8px}.message{max-width:88%;padding:9px 11px 23px}.message p{font-size:13px;line-height:1.7}.composer{position:relative;bottom:auto;flex:0 0 auto;padding:8px 7px;gap:5px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.composer input:not([type=file]){height:42px;padding:0 12px;font-size:12px}.composer button:not(.emoji-toggle):not(.attach-button){min-width:54px;padding:9px 10px;font-size:11px}.emoji-toggle,.attach-button{width:36px;height:36px;min-width:36px;flex-basis:36px}.attachment-list{max-width:100%;padding:5px 8px}.typing-indicator{padding:1px 12px;min-height:18px}footer{display:none}.toast{bottom:66px;left:8px;right:8px}}@media(max-width:390px){.topbar{padding-inline:8px}.top-actions{gap:3px}.top-actions .ghost{padding:5px 6px}.chat-tools{max-width:48%}.call-action{font-size:8px;padding:5px}.chat-heading{padding-inline:7px}.composer{gap:4px}}.sidebar-chat-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.user-search-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#020814b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center;padding:18px}.user-search-modal{width:min(520px,100%);max-height:min(720px,90dvh);overflow:auto;background:#111f35;border:1px solid rgba(115,164,230,.22);border-radius:22px;padding:22px;box-shadow:0 24px 80px #00000073;color:#eaf3ff}.user-search-modal header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.user-search-modal h2{margin:0 0 5px;font-size:19px}.user-search-modal header p,.user-search-modal .muted{margin:0;color:#91a9c8;font-size:13px}.user-search-modal>input{width:100%;height:48px;border-radius:13px;border:1px solid #2d4568;background:#0b1729;color:#f4f8ff;padding:0 15px;outline:none}.user-search-modal>input:focus{border-color:#3695ff;box-shadow:0 0 0 3px #3695ff21}.user-search-results{display:grid;gap:8px;margin-top:14px}.user-search-results article{display:flex;align-items:center;gap:12px;padding:11px;border:1px solid rgba(115,164,230,.12);background:#2339586b;border-radius:14px;min-width:0}.user-search-avatar{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#1685ff,#174caa);font-weight:800;font-size:18px}.user-search-results article>div{flex:1;min-width:0}.user-search-results article b,.user-search-results article small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-search-results article small{color:#8da8cb;font-size:12px;margin-top:3px}.user-search-results article p{margin:4px 0 0;color:#a8bdd8;font-size:12px}.user-search-results article button{border:0;border-radius:10px;padding:8px 13px;background:#1685ff;color:#fff;cursor:pointer}.user-search-results article button:disabled{opacity:.55;cursor:wait}.loading-spinner{width:28px;height:28px;border:3px solid rgba(85,160,255,.2);border-top-color:#3695ff;border-radius:50%;animation:veso-spin .8s linear infinite;margin:0 auto 10px}@keyframes veso-spin{to{transform:rotate(360deg)}}@media(max-width:600px){.user-search-modal{padding:17px;border-radius:18px}.sidebar-chat-actions{gap:2px}.sidebar-chat-actions .ghost{font-size:10px;padding:5px 7px}}:root{color-scheme:dark;--veso-bg:#0e1722;--veso-panel:#172533;--veso-panel-2:#1d3042;--veso-line:#2b4052;--veso-blue:#2797df;--veso-blue-2:#1684c7;--veso-text:#edf5fb;--veso-muted:#91a7b8;--veso-bubble:#203548}html,body,#root{min-height:100%;background:var(--veso-bg)}.app-shell{height:100dvh;min-height:560px;overflow:hidden;background:var(--veso-bg)}.topbar{height:54px;min-height:54px;padding:0 18px;background:#172635;border-bottom:1px solid var(--veso-line)}.brand>b,.brand-mark-small{border:0!important;background:var(--veso-blue)!important;color:#fff!important;border-radius:50%!important}.brand small{color:#8fbfe0}.top-actions{color:#c1d2df}.online-dot{background:#45c98b}.ghost,.locale-toggle{background:#22384b;border:1px solid #35536b;color:#d9edfb;border-radius:18px}.ghost:hover,.locale-toggle:hover{background:#2b4961}.workspace{width:100%;height:calc(100dvh - 54px);min-height:0;margin:0;border:0;border-radius:0;background:var(--veso-bg);grid-template-columns:minmax(300px,370px) minmax(0,1fr);overflow:hidden}.sidebar{padding:0;background:var(--veso-panel);border-left:1px solid var(--veso-line);display:flex;flex-direction:column;min-height:0}.sidebar-brand{padding:14px 18px;background:#172635;border-bottom:1px solid var(--veso-line)}.sidebar-brand b{color:#f3f8fc}.sidebar-brand small{color:var(--veso-muted)}.sidebar-menu{background:var(--veso-blue);color:#fff;border-radius:50%;width:36px;height:36px}.chat-search{margin:12px 14px;padding:0 12px;display:flex;align-items:center;gap:8px;background:#0f1d2a;border:1px solid #2b4357;border-radius:22px;color:var(--veso-muted)}.chat-search input{width:100%;border:0!important;background:transparent!important;color:var(--veso-text);outline:none;padding:10px 0}.section-heading{padding:9px 16px 5px}.section-heading h2{font-size:12px;color:#8da7ba;font-weight:600}.section-heading>span{background:#23445d;color:#b9e3ff}.create-room{margin:8px 14px}.create-room input,.create-room select{background:#0f1d2a;border-color:#30495d;color:#e8f4fc;border-radius:10px}.create-room button{background:var(--veso-blue);color:#fff;border-radius:10px}.room-list{display:grid;gap:2px;max-height:30%;overflow:auto;padding:2px 7px}.room-item{padding:10px;border-radius:10px;color:#e6f0f7}.room-item:hover,.room-item.selected{background:#263e52}.room-avatar{background:#28516d;color:#d9f0ff;border-radius:50%;flex:0 0 42px}.room-info b{font-size:13px;font-weight:600}.room-info small{color:#8fa8ba}.sidebar-chat-actions .ghost{font-size:10px;padding:6px 9px;margin:0}.chat-panel{background-color:#0e1b28;background-image:radial-gradient(circle at 20% 20%,#19304755 0 1px,transparent 1.5px),radial-gradient(circle at 80% 70%,#19304744 0 1px,transparent 1.5px);background-size:28px 28px}.chat-heading{height:64px;min-height:64px;padding:10px 20px;background:#172635;border-bottom:1px solid var(--veso-line)}.chat-heading h2{font-size:15px;color:#f2f7fb}.chat-heading p{color:#8da9bc}.secure-label{color:#73bce9}.call-action{background:#213b50;border:1px solid #345a76;color:#c9eaff;border-radius:18px;padding:7px 12px}.call-action:hover{background:#2c506d}.messages{padding:22px clamp(14px,4vw,70px);gap:8px}.message{max-width:min(76%,620px);background:#203548;border:1px solid #2b455b;border-radius:15px 15px 15px 4px;color:#edf5fb;padding:9px 13px 23px;box-shadow:0 2px 3px #0002}.message b{color:#7dc8f6}.message p{font-size:14px;line-height:1.7}.message time{color:#9bb2c3}.message.own{background:#174d70;border-color:#21658d;border-radius:15px 15px 4px}.message.own b{color:#b9e6ff}.composer{margin:0;padding:12px 18px;background:#172635;border-top:1px solid var(--veso-line);gap:9px}.composer input:not([type=file]){background:#0e1c29;border:1px solid #30495d;border-radius:22px;padding:12px 16px;color:#f3f8fc}.composer input:focus{border-color:var(--veso-blue)}.composer>button[type=submit],.composer>button:last-child{background:var(--veso-blue);color:#fff;border-radius:22px;min-width:76px}.emoji-toggle,.attach-button{background:#223b50;border:1px solid #35566f;color:#c9eaff;border-radius:50%;width:42px;height:42px}.emoji-picker{background:#1b3042;border-color:#3a5b74}.emoji-picker button:hover{background:#2b4a63}.attachment-list{background:#172635}.attachment-item{background:#20384c;border-color:#35566e;color:#d9efff}.typing-indicator{color:#7fc8f5}.empty-chat{color:#9bb2c3}.empty-chat>div{color:#5bb5ed}.empty-chat h2,.empty-chat h3{color:#eaf5fc}.toast{background:#533337;border-color:#8b4b55;color:#ffe8eb;z-index:40}footer{display:none}.auth-page{background:radial-gradient(ellipse at 50% 0,#1d4663 0,transparent 50%),#0e1722}.auth-card{background:#172635;border:1px solid #2d4b63;box-shadow:0 24px 90px #0008}.brand-mark{background:var(--veso-blue);border:0;color:#fff;border-radius:18px}.eyebrow{color:#79c7f5}.stack input{background:#0e1c29;border-color:#30495d}.stack input:focus{border-color:var(--veso-blue)}.stack button{background:var(--veso-blue);color:#fff}.mode-switch{color:#80c8f4}.admin-panel,.call-panel{background:#172635;border-color:#35536b}.admin-tabs button.active{background:#25445c;color:#bfe7ff}.admin-action,.call-control{background:#24435b;border-color:#3c6685;color:#d9efff}.danger{background:#a83c46;color:#fff}.call-tile{background:#0d1a26}@media(min-width:1100px){.workspace{width:100%;grid-template-columns:370px minmax(0,1fr);min-height:0}.sidebar{padding:0}}@media(max-width:680px){.app-shell{height:100dvh;min-height:0}.topbar{height:54px;min-height:54px;padding:6px 12px;flex-wrap:nowrap}.workspace{height:calc(100dvh - 54px);min-height:0;display:flex;flex-direction:row;position:relative}.sidebar{width:100%;height:100%;flex:0 0 100%;border:0}.chat-panel{display:none;width:100%;height:100%;flex:0 0 100%;min-height:0}.workspace.mobile-chat-open .sidebar{display:none}.workspace.mobile-chat-open .chat-panel{display:flex}.room-list{max-height:28%;overflow:auto}.chat-heading{height:auto;min-height:60px;padding:9px 12px}.messages{padding:14px 10px}.message{max-width:88%}.composer{padding:9px 8px;gap:6px}.composer>button[type=submit],.composer>button:last-child{min-width:56px;padding:10px}.top-actions{font-size:10px}.top-actions>span:not(.online-dot){display:none}}.message-actions{display:flex;gap:6px;justify-content:flex-end;margin-top:5px;opacity:.78}.message-actions button{border:1px solid #41627a;background:#1e394e;color:#b9e5ff;border-radius:8px;padding:3px 9px;font-size:11px;cursor:pointer}.message-actions button:hover{background:#2b526f;color:#fff}.message time{display:inline-block}.incoming-call-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:grid;place-items:center;padding:20px;background:#040d19c7;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.incoming-call-card{width:min(100%,390px);padding:30px 24px;border:1px solid rgba(112,177,220,.3);border-radius:24px;background:linear-gradient(155deg,#173b58,#0b2035 70%);box-shadow:0 24px 80px #00000073;text-align:center;color:#eef8ff}.incoming-call-icon{width:76px;height:76px;margin:0 auto 18px;display:grid;place-items:center;border-radius:50%;background:#1c719b;color:#fff;font-size:34px;box-shadow:0 0 0 10px #2b9bcd1f}.incoming-call-card h2{margin:0 0 8px;font-size:20px}.incoming-call-card p{margin:0;color:#a9c8dc}.incoming-call-actions{display:flex;gap:12px;margin-top:26px}.incoming-call-actions button{flex:1;min-height:46px;border:0;border-radius:13px;font-weight:700;cursor:pointer}.incoming-call-actions button:disabled{opacity:.55;cursor:wait}.incoming-decline{background:#a83248;color:#fff}.incoming-accept{background:#159a72;color:#fff}.voice-record-button{width:42px;height:42px;flex:0 0 42px;border:1px solid #3c6b89;border-radius:13px;background:#173b55;color:#d8f1ff;cursor:pointer;font-size:17px}.voice-record-button:hover{background:#245675}.voice-record-button.recording{background:#a83248;border-color:#d75b6d;color:#fff;animation:veso-record-pulse 1.15s ease-in-out infinite}@keyframes veso-record-pulse{50%{box-shadow:0 0 0 6px #dc465f2e}}.reply-quote{display:flex;flex-direction:column;gap:3px;margin:6px 0 8px;padding:7px 10px;border-inline-start:3px solid #55b4df;border-radius:6px;background:#4fa5cf1f;font-size:12px;color:#c5e7f8}.reply-quote span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px;color:#a8c6d8}.forwarded-label{display:block;color:#78bce0;margin-top:5px;font-size:11px}.message-reactions{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.message-reactions span{padding:3px 8px;border:1px solid #41627a;border-radius:999px;background:#1a3b52;color:#e3f5ff;font-size:12px}.reply-composer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;background:#142f46;border-inline-start:3px solid #55b4df}.reply-composer div{display:flex;min-width:0;flex-direction:column;gap:3px;font-size:12px;color:#b8d7e8}.reply-composer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-composer button{border:0;background:transparent;color:#cfe8f7;font-size:22px;cursor:pointer}.media-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1250;display:grid;place-items:center;padding:18px;background:#030a14e0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.media-preview-card{width:min(100%,960px);max-height:92vh;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(112,177,220,.25);border-radius:18px;background:#0d2032;box-shadow:0 24px 80px #00000080}.media-preview-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;color:#e5f5ff}.media-preview-card header button{border:0;background:transparent;color:#e5f5ff;font-size:26px;cursor:pointer}.media-preview-card img,.media-preview-card video{display:block;max-width:100%;max-height:calc(92vh - 60px);margin:auto;object-fit:contain}.unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#1a91c6;color:#fff;font-size:11px;font-weight:800;line-height:20px}.room-management-backdrop,.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:18px;background:#0812209e;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.room-management{width:min(520px,100%);max-height:min(720px,88vh);overflow:auto;padding:22px;border:1px solid var(--border, #dce5ef);border-radius:22px;background:var(--panel, #fff);color:var(--text, #172b45);box-shadow:0 24px 80px #0000003d}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.modal-heading h2{margin:0 0 5px;font-size:19px}.modal-heading p{margin:0;color:var(--muted, #718096)}.room-member-list{display:grid;gap:8px;max-height:48vh;overflow:auto}.room-member-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid var(--border, #e1e8f0);border-radius:13px}.room-member-row>div:first-child{display:grid;gap:3px;min-width:0}.room-member-row small{color:var(--muted, #718096)}.room-member-actions{display:flex;gap:6px;flex-wrap:wrap}.room-member-actions button,.room-management-footer button{border:1px solid var(--border, #dce5ef);border-radius:10px;padding:8px 11px;background:var(--surface, #f3f7fb);color:inherit;cursor:pointer}.room-member-actions button:disabled{opacity:.5;cursor:wait}.room-management-footer{display:flex;justify-content:space-between;gap:10px;margin-top:18px}.room-management-footer .danger-button{color:#b42335;border-color:#efc3c9;background:#fff3f4}.room-management-footer .secondary-button{background:var(--surface, #f3f7fb)}.form-error{color:#b42335}@media(max-width:520px){.room-management{padding:16px;border-radius:18px}.room-member-row{align-items:flex-start;flex-direction:column}.room-management-footer{flex-direction:column}}.channel-readonly-note{margin:12px 16px 18px;padding:14px 16px;border:1px solid var(--border, #dce5ef);border-radius:14px;background:var(--surface, #f3f7fb);color:var(--muted, #64748b);text-align:center;font-size:13px}.create-room{flex-wrap:wrap}.create-room select{min-width:82px;max-width:108px}.room-edit-form{display:grid;gap:10px;margin:0 0 16px;padding:13px;border:1px solid var(--border, #dce5ef);border-radius:14px}.room-edit-form label{display:grid;gap:5px;color:var(--muted, #64748b);font-size:12px}.room-edit-form input,.room-edit-form textarea{width:100%;min-width:0;border:1px solid var(--border, #dce5ef);border-radius:10px;padding:10px;color:var(--text, #172b45);background:var(--panel, #fff);font:inherit}.room-edit-form button{justify-self:start;border:0;border-radius:10px;padding:9px 14px;background:#2563eb;color:#fff;cursor:pointer}.inbox-tabs{display:flex;align-items:center;gap:6px;overflow-x:auto;padding:7px;background:#1d2c38;border:1px solid #293d4b;border-radius:22px;scrollbar-width:none}.inbox-tabs button{flex:0 0 auto;display:flex;align-items:center;gap:5px;padding:8px 11px;border-radius:18px;background:transparent;color:#a8b7c2;font-size:12px;white-space:nowrap}.inbox-tabs button.active{background:#263f53;color:#76c2f5}.inbox-tabs button b{padding:1px 6px;border-radius:12px;background:#526777;color:#f3f7fa;font-size:10px}.inbox-promo{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;border:1px solid #2b4050;border-radius:16px;background:linear-gradient(110deg,#223646,#1b2b38)}.inbox-promo>div{display:grid;gap:3px;min-width:0}.inbox-promo b{font-size:13px;color:#eef6fb}.inbox-promo small{font-size:11px;color:#9eb0bd}.inbox-promo button{background:transparent;color:#8da2b0;font-size:21px}.room-list[hidden]{display:none!important}.bottom-nav{display:none}.settings-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;display:grid;place-items:center;padding:18px;background:#06111bcc;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.settings-card{width:min(100%,440px);padding:20px;border:1px solid #344a5a;border-radius:22px;background:#172633;box-shadow:0 24px 80px #000a;color:#edf5fa}.settings-card>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;font-size:18px}.settings-card>header button{width:34px;height:34px;border-radius:50%;background:#263b4b;color:#d9e8f1;font-size:21px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-top:1px solid #2b4050}.settings-row>span{display:grid;gap:4px}.settings-row b{font-size:13px}.settings-row small,.profile-card p{color:#92a7b6;font-size:11px}.setting-toggle,.settings-logout{padding:9px 13px;border:1px solid #38566d;border-radius:18px;background:#20394d;color:#c5e5f8;font-size:12px}.setting-toggle.enabled{background:#174c43;border-color:#287c69;color:#a4f0d7}.settings-logout{width:100%;margin-top:14px;background:#402d32;border-color:#69434b;color:#ffc3c8}.profile-card{text-align:center}.profile-card>header{text-align:right}.profile-avatar{width:76px;height:76px;margin:12px auto;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#38a8e8,#17669d);font-size:34px;font-weight:800;color:#fff}.profile-card h2{margin:8px 0 2px;font-size:20px}@media(max-width:680px){.app-shell{height:100dvh;min-height:0;padding-bottom:72px}.topbar{height:58px;min-height:58px;flex:0 0 58px;padding:0 15px;flex-wrap:nowrap}.top-actions .online-dot,.top-actions>span:not(.online-dot),.top-actions .ghost{display:none}.top-actions{margin-inline-start:auto}.workspace{height:calc(100dvh - 130px);min-height:0;display:flex;flex-direction:column;overflow:hidden}.sidebar{height:100%;min-height:0;overflow:auto;padding:12px 14px 18px;border:0;gap:10px}.chat-panel{display:none;min-height:0;height:100%;flex:1}.workspace.mobile-chat-open .sidebar{display:none}.workspace.mobile-chat-open .chat-panel{display:flex}.inbox-tabs{margin-top:1px}.inbox-promo{padding:10px 12px}.bottom-nav{position:fixed;z-index:40;inset:auto 12px 10px;display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));border:1px solid #344958;border-radius:28px;background:#1a2b39f2;box-shadow:0 8px 28px #0008;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bottom-nav button{position:relative;display:grid;justify-items:center;gap:3px;padding:5px 2px;border-radius:20px;background:transparent;color:#b1c0ca;font-size:10px}.bottom-nav button>span{font-size:21px;line-height:1.1}.bottom-nav button.active{background:#23445d;color:#65bfff}.bottom-nav button>b{position:absolute;top:-2px;right:calc(50% - 25px);min-width:17px;padding:1px 5px;border-radius:12px;background:#2c9be2;color:#fff;font-size:9px}footer{display:none}}@media(min-width:681px){.bottom-nav{display:none}}.sidebar{overflow-y:auto;overflow-x:hidden;gap:8px}.sidebar>.sidebar-brand{order:0;flex:0 0 auto}.sidebar>.chat-search{order:1;flex:0 0 auto}.sidebar>.inbox-tabs{order:2;flex:0 0 auto}.sidebar>.inbox-promo{display:none!important}.sidebar>.section-heading:nth-of-type(5){order:3;flex:0 0 auto;margin-top:2px}.sidebar>.room-list:nth-of-type(6){order:4;flex:1 1 auto;min-height:110px;max-height:none;overflow-y:auto;padding:0 6px}.sidebar>.section-heading:nth-of-type(3){order:5;flex:0 0 auto;margin-top:8px}.sidebar>.create-room{order:6;flex:0 0 auto}.sidebar>.room-list:nth-of-type(4){order:7;flex:0 1 28%;min-height:64px;max-height:28%;overflow-y:auto}.room-item{min-height:66px;padding:9px 10px;border-bottom:1px solid rgba(139,174,197,.07);border-radius:9px;gap:11px}.room-item .room-avatar{width:46px;height:46px;flex:0 0 46px;font-size:17px;font-weight:700}.room-info{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0}.room-info b{font-size:13px;line-height:1.45}.room-info small{font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-info .unread-badge{align-self:flex-start;margin-top:1px}.sidebar>.section-heading h2{font-size:12px}.sidebar-chat-actions .ghost{padding:6px 9px;font-size:10px}@media(max-width:680px){.sidebar{gap:7px;padding:10px 11px 16px}.sidebar>.room-list:nth-of-type(6){min-height:120px;flex:1 1 auto}.sidebar>.room-list:nth-of-type(4){flex:0 0 auto;max-height:22%;min-height:54px}.room-item{min-height:62px;padding:7px 9px}.room-item .room-avatar{width:42px;height:42px;flex-basis:42px}.create-room{margin:5px 8px}}:root{color-scheme:dark;--veso-blue:#2aabee;--veso-blue-strong:#168acd;--veso-bg:#0e1621;--veso-panel:#17212b;--veso-panel-2:#202b36;--veso-line:#253341;--veso-muted:#8b9bab;--veso-text:#e8f1f8}body{background:var(--veso-bg);color:var(--veso-text)}.app-shell{min-height:100dvh;background:linear-gradient(135deg,#0e1621,#101b28 55%,#0d1722);color:var(--veso-text)}.topbar{height:58px;padding:0 22px;background:#17212b;border-bottom:1px solid #253341}.brand{color:#eaf4fb}.brand>b{border-color:var(--veso-blue);background:#1b3445;color:#eaf7ff;border-radius:50%;width:36px;height:36px;font-size:20px}.top-actions{color:#a8bac9}.online-dot,.status-dot{background:#45c77a}.workspace{width:min(1480px,100%);margin:0 auto;border:0;border-radius:0;min-height:calc(100dvh - 112px);grid-template-columns:360px minmax(0,1fr);background:#0e1621}.sidebar{padding:0;background:#17212b;border-left:1px solid #253341;display:flex;flex-direction:column;min-height:0}.sidebar-brand{padding:16px 18px 12px;border-bottom:1px solid #253341}.brand-mark-small{background:#248ac2;color:#fff;border-radius:50%}.sidebar-brand b{font-size:15px;color:#edf6fc}.sidebar-brand small{color:#8fa4b5}.sidebar-menu{background:transparent;color:var(--veso-blue);font-size:27px}.chat-search{margin:12px 14px 8px;border:1px solid #2a3947;background:#0e1621;border-radius:22px;padding:0 14px;height:42px}.chat-search:focus-within{border-color:var(--veso-blue)}.chat-search span{color:var(--veso-blue)}.chat-search input{color:#e8f1f8}.inbox-tabs{margin:0 12px 8px;display:flex;gap:3px;overflow-x:auto;border-bottom:1px solid #2a3947}.inbox-tabs button{white-space:nowrap;color:#8fa3b4;padding:10px 11px;border-radius:0;border-bottom:2px solid transparent}.inbox-tabs button.active{color:var(--veso-blue);background:transparent;border-bottom-color:var(--veso-blue)}.inbox-tabs button b{background:#263a49;color:#b9dff4;border-radius:10px;padding:1px 6px}.inbox-promo{display:none}.sidebar>.section-heading{padding:10px 16px 5px}.sidebar>.section-heading h2{font-size:12px;color:#8195a6;font-weight:600}.sidebar>.section-heading>span{background:#243746;color:#9edbff}.create-room{margin:6px 12px 10px;padding:8px;background:#1e2c39;border-radius:12px}.create-room input,.create-room select{background:#111c27;border-color:#304252;color:#dceaf4}.create-room button{background:var(--veso-blue);color:#fff;border-radius:50%;width:36px;height:36px}.room-list{display:grid;gap:0;max-height:none;overflow-y:auto}.room-item{min-height:68px;padding:10px 14px;border-radius:0;gap:12px;border-bottom:1px solid rgba(43,59,73,.55);color:#e6f0f7}.room-item:hover,.room-item.selected{background:#233342}.room-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:50%;background:#286d91;color:#fff;font-size:17px}.room-info{min-width:0;flex:1}.room-info b{font-size:14px;color:#edf5fb}.room-info small{color:#8fa2b2;font-size:11px}.sidebar-chat-actions{display:flex;gap:4px}.sidebar-chat-actions .ghost{margin:0;padding:5px 8px;border-color:#314658;color:#79cfff;font-size:10px}.conversation-list{flex:1;min-height:120px}.conversation-item{position:relative;display:flex;align-items:center;text-align:start}.conversation-avatar{background:linear-gradient(145deg,#2c9bc8,#23658f);font-weight:700}.conversation-info{gap:5px}.conversation-title{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.conversation-title b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-title time{flex:0 0 auto;color:#7f93a4;font-size:10px}.conversation-preview{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#93a5b4;font-size:12px}.conversation-preview i{font-style:normal;color:var(--veso-blue)}.unread-badge{display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:12px;background:var(--veso-blue);color:#fff;font-size:10px;font-weight:700}.chat-panel{background:#0e1621;min-height:0}.chat-heading{height:64px;flex:0 0 64px;padding:9px 22px;background:#17212b;border-bottom:1px solid #253341}.chat-heading h2{font-size:15px;color:#edf5fb}.chat-heading p{display:flex;align-items:center;gap:6px;color:#8da2b3}.status-dot{width:7px;height:7px;display:inline-block;border-radius:50%}.chat-tools .call-action{background:#1d3445;border-color:#2d5871;color:#8ed6ff}.messages{background-color:#0e1621;background-image:radial-gradient(rgba(67,117,151,.08) .8px,transparent .8px);background-size:18px 18px;padding:26px clamp(22px,5vw,76px);gap:8px}.message{max-width:min(72%,620px);padding:9px 13px 25px;border:1px solid #253746;background:#1d2b38;border-radius:14px 14px 14px 4px;box-shadow:0 1px 2px #0002}.message b{color:#7dcfff;font-size:11px}.message p{font-size:14px;line-height:1.65;color:#e8f1f8}.message.own{background:#174d69;border-color:#226586;border-radius:14px 14px 4px}.message.own b{color:#a9e3ff}.message time{color:#9db6c6;font-size:10px}.message-actions{opacity:0;transition:opacity .15s ease}.message:hover .message-actions,.message:focus-within .message-actions{opacity:1}.message-actions button{background:#263d4d;color:#b8dff2;border-radius:7px;padding:4px 7px;font-size:10px}.reply-quote{border-right:3px solid var(--veso-blue);background:#263d4d;padding:6px 9px;border-radius:6px;display:grid;gap:3px}.reply-quote b{color:#91d8ff}.reply-quote span{color:#d4e4ee;font-size:12px}.composer{padding:12px 20px;background:#17212b;border-top:1px solid #253341;gap:8px}.composer input{background:#0e1621;border:1px solid #2a3b4a;border-radius:22px;padding:12px 17px;color:#edf5fb}.composer input:focus{border-color:#278fbe}.composer button:not(.attach-button):not(.emoji-toggle):not(.voice-record-button){min-width:72px;background:var(--veso-blue);color:#fff;border-radius:20px}.attach-button,.emoji-toggle,.voice-record-button{background:#203545;border-color:#34556a;color:#8bd5ff;border-radius:50%}.attachment-list{background:#17212b}.attachment-item{background:#1e3443;border-color:#31536a;color:#b9e5fb}.typing-indicator{background:#17212b;color:#77c9f5}.empty-chat{color:#8fa3b4}.empty-chat h2,.empty-chat h3{color:#e2eef6}.welcome-empty{max-width:440px;padding:32px}.welcome-icon{width:76px;height:76px;margin:0 auto 18px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#2aabee,#176b9b);color:#fff;font-size:36px;font-weight:800;box-shadow:0 12px 34px #168acd35}.start-chat-button{margin-top:16px;padding:11px 20px;border-radius:22px;background:#229bd3;color:#fff}footer{background:#17212b;color:#6dbce6}.toast{background:#472b31;border-color:#75404b;color:#ffdce2;z-index:40}.auth-page{background:radial-gradient(circle at 50% 20%,#18354a,#0e1621 55%)}.auth-card{background:#17212b;border-color:#2c465a}.brand-mark{border-color:#2aabee;background:#1b3d52;color:#8bd8ff}.eyebrow,h1 span{color:#63c5f6}.stack input{background:#0e1621;border-color:#304657}.stack button[type=submit],.stack>button:not(.mode-switch){background:#229bd3;color:#fff}.ghost,.locale-toggle{background:#1d3445;border-color:#31536a;color:#a7e0ff}.bottom-nav{background:#17212b;border-top:1px solid #263746}.bottom-nav button{color:#8fa5b5}.bottom-nav button.active{color:#55c2f4}@media(min-width:1100px){.workspace{width:min(1480px,100%);grid-template-columns:360px minmax(0,1fr);min-height:calc(100dvh - 112px)}.sidebar{padding:0}.messages{padding:28px clamp(28px,5vw,90px)}}@media(max-width:900px){.workspace{width:100%;grid-template-columns:310px minmax(0,1fr);margin:0}.sidebar{padding:0}.messages{padding:18px 22px}}@media(max-width:680px){.topbar{height:auto;min-height:56px;padding:8px 12px}.top-actions{gap:4px}.workspace{display:flex;flex-direction:row;position:relative;min-height:calc(100dvh - 108px);height:calc(100dvh - 108px);overflow:hidden}.sidebar{display:flex;width:100%;height:100%;flex:0 0 100%;border:0;overflow:hidden}.chat-panel{display:none;width:100%;height:100%;min-height:0;flex:0 0 100%}.workspace.mobile-chat-open .sidebar{display:none}.workspace.mobile-chat-open .chat-panel{display:flex}.sidebar>.section-heading{padding:8px 14px 4px}.create-room{flex:0 0 auto}.room-list{overflow-y:auto;overflow-x:hidden}.conversation-list{flex:1}.room-item{min-height:66px;min-width:0;width:100%;padding:9px 13px}.chat-heading{min-height:62px;height:62px;flex:0 0 62px;padding:8px 12px}.chat-tools{max-width:48%;gap:4px}.chat-tools .call-action{font-size:10px;padding:6px 7px}.messages{flex:1;min-height:0;padding:14px 12px 22px;overflow-y:auto}.message{max-width:88%}.composer{position:relative;flex:0 0 auto;padding:9px 8px;gap:5px}.composer input{min-width:0;padding:10px 12px;font-size:13px}.composer button:not(.attach-button):not(.emoji-toggle):not(.voice-record-button){min-width:52px;padding:9px 10px}.attachment-list{flex:0 0 auto}.bottom-nav{display:none}footer{display:none}}@media(max-width:390px){.top-actions .locale-toggle{font-size:9px;padding:5px 6px}.chat-tools{max-width:46%}.chat-tools .call-action{font-size:9px}.message{max-width:92%}}.group-list{flex:0 1 30%;min-height:70px;max-height:30%;overflow-y:auto}.group-item{min-height:62px}.group-avatar{background:#356f75;color:#d9ffff}@media(max-width:680px){.group-list{flex:0 1 28%;max-height:28%;min-height:64px}.group-item{min-height:60px}}:root,html,body,#root{color-scheme:dark!important;--veso-blue:#2aabee!important;--veso-blue-strong:#168bd0!important;--veso-bg:#0e1621!important;--veso-panel:#17212b!important;--veso-panel-2:#202b36!important;--veso-line:#2b3b49!important;--veso-muted:#91a4b4!important;--veso-text:#eaf2f8!important;background:#0e1621!important;color:#eaf2f8!important}body,#root,.app-shell{background:#0e1621!important;color:#eaf2f8!important}.app-shell{background:linear-gradient(135deg,#0e1621,#101e2b 55%,#0b1722)!important}.app-shell .topbar,.app-shell .sidebar,.app-shell .chat-heading,.app-shell .composer,.app-shell footer,.app-shell .attachment-list{background:#17212b!important;border-color:#2b3b49!important}.app-shell .workspace,.app-shell .chat-panel,.app-shell .messages{background-color:#0e1621!important}.app-shell .chat-search,.app-shell .composer input:not([type=file]),.app-shell .create-room input,.app-shell .create-room select,.app-shell .stack input{background:#0e1b28!important;color:#eaf2f8!important;border-color:#30485b!important}.app-shell .room-item{background:transparent!important;color:#eaf2f8!important;border-color:#263746!important}.app-shell .room-item:hover,.app-shell .room-item.selected{background:#22384a!important}.app-shell .room-avatar,.app-shell .brand>b,.app-shell .brand-mark,.app-shell .brand-mark-small{background:#168bd0!important;color:#fff!important;border-color:#168bd0!important}.app-shell .message{background:#1d3040!important;color:#edf5fb!important;border-color:#345064!important}.app-shell .message.own{background:#174d70!important;border-color:#2377a6!important}.app-shell .message p{color:#edf5fb!important}.app-shell .message b,.app-shell .chat-search span,.app-shell .sidebar-menu,.app-shell .conversation-preview i{color:#73caff!important}.app-shell .chat-heading h2,.app-shell .room-info b,.app-shell .conversation-title b,.app-shell .sidebar-brand b{color:#f0f7fc!important}.app-shell .chat-heading p,.app-shell .room-info small,.app-shell .conversation-preview,.app-shell .conversation-title time,.app-shell .sidebar-brand small{color:#9aafbf!important}.app-shell .inbox-tabs button.active{background:#1d3c52!important;color:#75ceff!important;border-color:#2aabee!important}.app-shell .inbox-tabs button b,.app-shell .unread-badge{background:#168bd0!important;color:#fff!important}.app-shell button.start-chat-button,.app-shell .create-room button,.app-shell .composer button:not(.attach-button):not(.emoji-toggle):not(.voice-record-button),.app-shell .stack button[type=submit],.app-shell .stack>button:not(.mode-switch){background:#168bd0!important;color:#fff!important;border-color:#168bd0!important}.app-shell .ghost,.app-shell .locale-toggle,.app-shell .call-action,.app-shell .attach-button,.app-shell .emoji-toggle,.app-shell .voice-record-button,.app-shell .message-actions button{background:#20394d!important;color:#b9e7ff!important;border-color:#35566e!important}.app-shell .auth-page{background:radial-gradient(circle at 50% 20%,#193b55,#0e1621 60%)!important}.app-shell .auth-card{background:#17212b!important;border-color:#304b60!important}.app-shell .eyebrow,.app-shell h1 span{color:#72caff!important}.app-shell .empty-chat h2,.app-shell .empty-chat h3{color:#eaf2f8!important}.app-shell .bottom-nav{background:#17212b!important;border-color:#30485b!important}.app-shell .bottom-nav button.active{background:#1d3c52!important;color:#75ceff!important}@media(max-width:680px){.app-shell{min-height:100dvh!important;background:#1e2a36!important}.topbar{display:none!important}.workspace{height:calc(100dvh - 88px)!important;min-height:0!important;background:#1e2a36!important}.sidebar{background:#1e2a36!important;padding:0!important}.sidebar-brand{min-height:82px!important;flex:0 0 82px!important;padding:12px 18px!important;background:#1e2a36!important;border:0!important;gap:12px!important}.sidebar-brand .brand-mark-small{width:54px!important;height:54px!important;border-radius:50%!important;background:linear-gradient(145deg,#2aabee,#1475aa)!important;box-shadow:0 0 0 3px #2aabee55!important;font-size:23px!important}.sidebar-brand>div:nth-child(2){flex:1!important}.sidebar-brand b{font-size:21px!important;letter-spacing:.1px!important}.sidebar-brand small{display:none!important}.sidebar-menu{font-size:27px!important;color:#f1f6fa!important}.chat-search{flex:0 0 44px!important;height:44px!important;margin:0 14px 10px!important;border:1px solid #2b3b49!important;border-radius:24px!important;background:#263746!important}.inbox-tabs{flex:0 0 auto!important;margin:0 12px 10px!important;padding:5px!important;border:1px solid #2c3c4b!important;border-radius:28px!important;background:#263746!important;gap:4px!important}.inbox-tabs button{padding:8px 13px!important;border:0!important;border-radius:22px!important;font-size:14px!important}.inbox-tabs button.active{background:#31516a!important;color:#70c8ff!important}.inbox-tabs button b{background:#536a7b!important;color:#fff!important}.inbox-promo{display:flex!important;flex:0 0 auto!important;align-items:center!important;margin:0 12px 10px!important;padding:12px 16px!important;min-height:76px!important;border:1px solid #304252!important;border-radius:22px!important;background:#263746!important;color:#f1f6fa!important}.inbox-promo b{display:block!important;font-size:15px!important}.inbox-promo small{display:block!important;color:#9eb0bf!important;font-size:12px!important}.sidebar>.section-heading,.create-room{display:none!important}.group-list,.conversation-list{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;background:#1e2a36!important}.group-list[hidden],.conversation-list[hidden]{display:none!important}.room-item{min-height:76px!important;padding:10px 18px!important;gap:13px!important;border:0!important;border-radius:0!important;background:transparent!important}.room-item:hover,.room-item.selected{background:#263746!important}.room-avatar{width:58px!important;height:58px!important;flex:0 0 58px!important;border-radius:50%!important;font-size:21px!important}.room-info b{font-size:16px!important;font-weight:650!important}.conversation-preview{font-size:13px!important;color:#9aabba!important}.conversation-title time{font-size:11px!important;color:#93a6b5!important}.unread-badge{background:#536d80!important;min-width:24px!important;height:24px!important;font-size:12px!important}.bottom-nav{display:flex!important;position:fixed!important;z-index:30!important;left:12px!important;right:12px!important;bottom:14px!important;height:68px!important;padding:5px 8px!important;border:1px solid #314555!important;border-radius:34px!important;background:#263746ee!important;box-shadow:0 8px 28px #0005!important;justify-content:space-around!important}.bottom-nav button{flex:1!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;position:relative!important;font-size:11px!important;color:#d4e0e9!important}.bottom-nav button span{font-size:22px!important;line-height:24px!important}.bottom-nav button.active{color:#2aabee!important;background:#31516a!important;border-radius:26px!important}.bottom-nav button b{position:absolute!important;top:0!important;right:calc(50% - 24px)!important;min-width:17px!important;height:17px!important;padding:0 4px!important;border-radius:12px!important;background:#2aabee!important;color:#fff!important;font-size:10px!important}.chat-panel{height:100%!important}}html,body,#root{width:100%;min-height:100%;margin:0}@media(max-width:680px){html,body,#root{height:100%;overflow:hidden}body{overscroll-behavior:none}.app-shell{height:100dvh!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;padding:0!important;box-sizing:border-box}.topbar{display:flex!important;flex:0 0 54px!important;height:54px!important;min-height:54px!important;padding:0 14px!important;position:relative!important;z-index:3}.top-actions{display:flex!important;margin-inline-start:auto}.top-actions .online-dot,.top-actions>span:not(.online-dot),.top-actions .ghost,.top-actions .locale-toggle{display:none!important}.workspace{display:flex!important;flex:1 1 auto!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;overflow:hidden!important;position:relative}.sidebar{display:flex!important;flex:0 0 100%!important;width:100%!important;height:100%!important;min-height:0!important;box-sizing:border-box;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;justify-content:flex-start!important;align-items:stretch!important;gap:0!important;padding:0 0 calc(82px + env(safe-area-inset-bottom))!important}.sidebar-brand{order:0!important;flex:0 0 auto!important;min-height:58px}.chat-search{order:1!important;flex:0 0 42px!important;margin:10px 13px 8px!important}.inbox-tabs{order:2!important;flex:0 0 auto!important;margin:0 12px 8px!important}.inbox-promo{display:none!important}.sidebar>.section-heading:nth-of-type(5){order:3!important;flex:0 0 auto!important;margin-top:5px!important}.sidebar>.room-list:nth-of-type(6){order:4!important;flex:0 0 auto!important;min-height:0!important;max-height:none!important;height:auto!important;overflow:visible!important}.sidebar>.section-heading:nth-of-type(3){order:5!important;flex:0 0 auto!important;margin-top:10px!important}.sidebar>.create-room{order:6!important;flex:0 0 auto!important}.sidebar>.room-list:nth-of-type(4){order:7!important;flex:0 0 auto!important;min-height:0!important;max-height:none!important;height:auto!important;overflow:visible!important}.room-list{display:grid!important;align-content:start!important;grid-auto-rows:min-content!important;gap:0!important;flex-shrink:0!important}.room-item,.group-item,.conversation-item{display:flex!important;align-items:center!important;min-height:68px!important;height:68px!important;max-height:68px!important;box-sizing:border-box;flex:none!important;padding:8px 14px!important;gap:12px!important}.room-avatar,.room-item .room-avatar{width:48px!important;height:48px!important;flex:0 0 48px!important;border-radius:50%!important}.room-info{min-width:0!important;flex:1 1 auto!important}.conversation-title{min-width:0}.conversation-title b,.conversation-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.create-room{margin:6px 12px!important}.chat-panel{display:none!important;flex:0 0 100%!important;width:100%!important;min-height:0!important}.workspace.mobile-chat-open .sidebar{display:none!important}.workspace.mobile-chat-open .chat-panel{display:flex!important}.bottom-nav{display:grid!important;position:fixed!important;z-index:40!important;inset:auto 12px calc(8px + env(safe-area-inset-bottom))!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}footer{display:none!important}}@media(min-width:681px){.room-list{align-content:start;grid-auto-rows:min-content}}
