:root{color-scheme:dark;--bg:#100c0a;--base:#15100e;--panel:#1b1410;--surface:#231914;--raised:#2b1e18;--edge:#39291f;--orange:#fb801e;--orange2:#ffab59;--soft:#fe9d49;--text:#fff8f3;--muted:#ac9689;--green:#72d9a3;--red:#fa616b;--shadow:0 24px 80px #0008;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);min-height:100dvh}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible{outline:2px solid var(--orange2);outline-offset:3px}input,textarea{background:#1c1511;color:var(--text);border:1px solid var(--edge);outline:0;padding:13px 15px;border-radius:12px;min-width:0}input:focus,textarea:focus{border-color:var(--orange)}input::placeholder,textarea::placeholder{color:#89766a}[hidden]{display:none!important}p,h1,h2,h3,h4{margin-top:0}p{line-height:1.55}.muted{color:var(--muted)}.small{font-size:.8rem}.eyebrow{font-size:.67rem;font-weight:800;color:var(--orange2);letter-spacing:.16em}.brand{font-weight:850;font-size:1.27rem;letter-spacing:-.045em;white-space:nowrap}.brand>span:last-child{color:var(--orange)}.brand.large{font-size:1.7rem}.brand-mark{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#ff9b3b,#e65a0a);width:36px;height:36px;border-radius:12px;color:#201006;margin-right:7px;box-shadow:0 5px 18px #ec710f6b}.brand.large .brand-mark{width:44px;height:44px}.primary,.outline,.subtle-button{border:1px solid transparent;border-radius:11px;padding:12px 18px;font-size:.9rem;font-weight:760;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .16s,background .16s}.primary{background:linear-gradient(135deg,#ff9836,#f46d0d);color:#210f06;box-shadow:0 6px 20px #f7771630}.primary:hover{transform:translateY(-1px);background:linear-gradient(135deg,#ffae56,#fb7717)}.primary.smallbtn{padding:10px 15px}.outline{background:#271b15;border-color:#654029;color:#ffbe8c}.outline:hover,.subtle-button:hover{background:#392419}.subtle-button{padding:10px 14px;background:#2c201a;color:#f5c29d}.wide{width:100%;justify-content:space-between}.link-button{background:none;border:none;color:var(--orange2);font-weight:700;padding:0}.icon-button{border:0;background:transparent;display:grid;place-items:center;width:38px;height:38px;border-radius:10px;font-size:1.4rem;color:#e4c8b6}.icon-button:hover{background:#ffffff12}.auth-page{display:grid;grid-template-columns:1.06fr .94fr;min-height:100dvh}.auth-hero{position:relative;padding:38px clamp(30px,6vw,100px);overflow:hidden;background:radial-gradient(circle at 50% 38%,#72330e 0%,#361c0f 33%,#21140e 65%,#1a110d 100%);display:flex;flex-direction:column}.auth-hero:after{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(transparent,black)}.auth-hero .brand{position:relative;z-index:1}.auth-hero h1{font-size:clamp(2.9rem,4.9vw,5.7rem);line-height:1.06;letter-spacing:-.07em;z-index:2;margin:0}.auth-hero h1 em{font-style:normal;color:#ffae5d}.auth-hero p{z-index:2;color:#d4ae96;max-width:450px;margin:22px 0}.hero-meta{display:flex;flex-wrap:wrap;gap:22px;color:#ffc597;font-size:.79rem;z-index:2;margin-top:auto;padding-top:32px}.hero-art{height:44vh;min-height:260px;position:relative;max-height:490px}.orb{position:absolute;border-radius:50%;filter:drop-shadow(0 15px 45px #120904);background:radial-gradient(circle at 32% 22%,#ffcd8e,#fb801e 47%,#ae3c08 82%)}.orb-one{width:230px;height:230px;top:15%;left:24%}.orb-two{width:125px;height:125px;top:46%;left:59%;opacity:.65}.hero-bubble{position:absolute;background:#2d1b12d9;border:1px solid #fca65b60;backdrop-filter:blur(16px);border-radius:16px;padding:17px 20px;box-shadow:0 20px 40px #0005;font-size:.83rem;z-index:2}.hero-bubble span{color:var(--orange)}.b1{top:15%;left:7%;transform:rotate(-6deg)}.b2{top:58%;right:0;transform:rotate(7deg)}.b3{bottom:10%;left:12%;letter-spacing:.4em;color:var(--orange2)}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:36px 24px;background:#130e0b}.auth-card{max-width:435px;width:100%}.auth-card h2{font-size:clamp(1.8rem,3vw,2.55rem);letter-spacing:-.055em;margin:14px 0}.auth-card>p{font-size:.9rem}.field{margin:20px 0 0}.field label{display:block;font-size:.82rem;color:#e7cbbb;font-weight:700;margin-bottom:9px}.field input{width:100%}.auth-card form .primary{margin-top:23px}.auth-switch{text-align:center;font-size:.85rem;color:var(--muted);margin:20px 0}.or-line{display:flex;gap:14px;align-items:center;color:var(--muted);font-size:.78rem;margin:24px 0}.or-line:before,.or-line:after{content:"";height:1px;background:var(--edge);flex:1}#qrPanel{border:1px solid var(--edge);background:#211713;border-radius:14px;padding:15px;margin-top:15px;text-align:center}#qrCode{display:flex;justify-content:center}#qrCode canvas,#qrCode img{border:10px solid white;border-radius:9px}.build-caption{font-size:.55rem;letter-spacing:.16em;color:#826b5c;padding:18px 20px}.sidebar{width:244px;flex:0 0 244px;height:100dvh;background:#170f0c;display:flex;flex-direction:column;border-right:1px solid #3b2416}.sidebar-top{height:87px;display:flex;align-items:center;justify-content:space-between;padding:0 23px}.profile{display:flex;align-items:center;gap:10px;margin:8px 13px 23px;padding:14px 10px;border:1px solid #412819;background:#24170f;border-radius:14px;min-width:0}.profile>div:nth-child(2){flex:1;min-width:0}.profile strong,.profile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile strong{font-size:.84rem}.profile small{font-size:.68rem;color:var(--muted);margin-top:4px}.avatar{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(150deg,#8e4522,#e79544);color:#ffeedc;font-weight:850;font-size:1.1rem}.avatar.me{border-radius:50%}.live-dot{width:8px;height:8px;border-radius:100%;background:#5ddc96;flex:0 0 8px}.sidebar-nav{display:grid;gap:8px;padding:0 13px}.nav-item{width:100%;border:0;background:transparent;display:flex;align-items:center;gap:15px;color:#c7a997;padding:13px 17px;border-radius:11px;text-align:left;font-weight:690;font-size:.88rem}.nav-item.active{color:#ffb46d;background:linear-gradient(90deg,#573016,#2a1a12);box-shadow:inset 3px 0 0 var(--orange)}.nav-item:hover{background:#382318}.nav-icon{font-size:1.37rem;width:20px;text-align:center}.pill{margin-left:auto;font-size:.72rem;border-radius:30px;background:#4f311e;color:#ffb96e;padding:3px 7px}.sidebar-bottom{margin-top:auto;padding:0 12px 8px}.nav-item.compact{font-size:.78rem;padding:10px 14px}.workspace{flex:1;min-width:0;display:flex;flex-direction:column;background:#130f0d;height:100dvh}#app{display:flex;min-height:100dvh}.topbar{height:88px;border-bottom:1px solid var(--edge);display:flex;align-items:center;justify-content:space-between;padding:18px 28px;gap:16px;flex:0 0 88px}.topbar-leading{display:flex;gap:10px;align-items:center}.topbar h2{font-size:1.5rem;letter-spacing:-.03em;margin:4px 0}.topbar-actions{display:flex;gap:9px}.mobile-menu{display:none}.tab-body{min-height:0;flex:1}.tab-body#chatsTab{display:flex}.conversation-pane{width:clamp(272px,31%,380px);border-right:1px solid var(--edge);display:flex;flex-direction:column;flex:0 0 clamp(272px,31%,380px);background:#18120f}.pane-head{padding:25px 19px 17px}.pane-head h3{font-size:1rem;margin:0 0 20px}.search-wrap{border:1px solid var(--edge);background:#241a15;color:#ad8b76;border-radius:12px;padding:0 12px;display:flex;align-items:center;font-size:1.4rem}.search-wrap input{flex:1;background:transparent;border:0;padding:13px 10px;font-size:.84rem}.search-wrap input:focus{outline:0}.conversation-list{overflow:auto;min-height:0;flex:1;padding:0 10px 20px}.conversation-item{border:0;background:transparent;display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px 11px;border-radius:13px;color:inherit}.conversation-item:hover,.conversation-item.active{background:#39251a}.conversation-item.active{box-shadow:inset 3px 0 0 var(--orange)}.conversation-item>div:nth-child(2){flex:1;min-width:0}.conversation-item strong{display:block;font-size:.85rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.conversation-item small{display:block;color:var(--muted);font-size:.72rem;margin-top:6px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.thread-pane{min-width:0;flex:1;position:relative;display:flex}.empty-state{margin:auto;text-align:center;padding:20px;max-width:355px}.empty-icon{font-size:4rem;color:var(--orange);background:#3a2416;border-radius:28px;width:102px;height:102px;display:grid;place-items:center;margin:0 auto 25px;box-shadow:0 15px 90px #ff790e1b}.empty-state h2{font-size:1.7rem;letter-spacing:-.05em}.empty-state p{font-size:.86rem;color:var(--muted)}.empty-state button{margin-top:12px}#thread{width:100%;display:flex;flex-direction:column;min-width:0}.back-thread{display:none!important}.thread-head{height:79px;flex:0 0 79px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--edge);padding:12px 24px;background:#19120f}.thread-name{flex:1;min-width:0}.thread-name strong{display:block;font-size:.94rem}.thread-name small{font-size:.72rem;color:var(--muted);display:block;margin-top:4px}.thread-actions{display:flex;gap:6px}.message-list{flex:1;min-height:0;overflow-y:auto;padding:23px clamp(15px,3vw,50px);display:flex;flex-direction:column;gap:12px;background-image:radial-gradient(#43291a40 1px,transparent 1px);background-size:26px 26px}.bubble{max-width:min(76%,520px);align-self:flex-start;background:#2d221c;border:1px solid #403025;border-radius:15px 15px 15px 4px;padding:12px 14px;position:relative;white-space:pre-wrap;word-break:break-word;font-size:.84rem;line-height:1.5}.bubble.mine{align-self:flex-end;background:#613516;border-color:#8b4c1e;border-radius:15px 15px 4px 15px}.bubble .who{display:block;color:#ffbf85;font-size:.69rem;margin-bottom:5px;font-weight:800}.bubble footer{display:flex;justify-content:flex-end;gap:9px;align-items:center;color:#e6bba3a8;font-size:.61rem;margin-top:6px}.bubble .file-chip{display:flex;align-items:center;gap:8px;padding:9px 11px;border-radius:9px;background:#ffffff15;border:1px solid #ffffff12;text-decoration:none;color:#ffe0c4;word-break:break-all;margin-top:4px}.bubble .msg-actions{border:0;color:#ffe0bc;background:#ffffff18;padding:2px 7px;border-radius:7px;font-size:.72rem}.bubble .deleted{font-style:italic;color:#c1a595}.composer{display:flex;align-items:center;gap:10px;padding:15px 20px;background:#1a120e;border-top:1px solid var(--edge)}.composer input[type=text],.composer>input{flex:1;background:#2a1d16;border-color:#48301e}.attach-button{width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#372316;display:grid;place-items:center;color:#ffaf6c;font-size:1.9rem;cursor:pointer}.attach-button:hover{background:#51331b}.send-button{width:44px;height:43px;padding:0;font-size:1.2rem}#pendingFile{padding:6px 22px;background:#1b1410;color:var(--orange2)}.single-tab{overflow:auto;padding:30px clamp(18px,4vw,55px)}.panel-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:29px}.panel-heading h3,.single-tab>h3{font-size:1.4rem;letter-spacing:-.04em;margin-bottom:4px}.panel-heading p{font-size:.83rem;margin:0}.card-list{display:grid;gap:12px;max-width:860px}.list-card{display:flex;gap:15px;align-items:center;background:#211712;border:1px solid var(--edge);border-radius:15px;padding:17px 20px}.list-card>div:nth-child(2){flex:1}.list-card h4{font-size:.92rem;margin:0 0 5px}.list-card small{color:var(--muted)}.status-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:16px}.status-card{border:1px solid #553420;background:linear-gradient(145deg,#3b2417,#201713);border-radius:18px;min-height:200px;padding:20px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;word-break:break-word}.status-card .status-body{font-size:1.05rem;font-weight:620;white-space:pre-wrap}.status-card footer{display:flex;align-items:center;gap:10px;font-size:.74rem;color:#edc6a6}.status-card img{width:100%;max-height:180px;object-fit:contain;border-radius:9px}.status-card a{color:#ffc18d}.meeting-banner{background:radial-gradient(circle at 75% 35%,#873d0c 0%,#3b2114 38%,#221711 100%);border:1px solid #673615;border-radius:22px;padding:clamp(24px,5vw,55px);margin-bottom:38px;max-width:900px}.meeting-banner h2{font-size:clamp(1.8rem,4vw,3.2rem);letter-spacing:-.06em;margin:13px 0}.meeting-banner p{color:#ddbaa6;font-size:.94rem;max-width:500px}.button-group{display:flex;flex-wrap:wrap;gap:12px;margin-top:21px}.modal-shade{position:fixed;inset:0;background:#030202c2;z-index:50;display:grid;place-items:center;padding:20px;backdrop-filter:blur(9px)}.modal{max-height:min(80dvh,670px);overflow:auto;width:min(490px,100%);background:#241812;border:1px solid #674027;border-radius:20px;padding:23px;box-shadow:var(--shadow)}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal-header h3{margin:0;font-size:1.12rem}.modal .field{margin:13px 0}.modal .field input,.modal textarea{width:100%}.modal label{display:block;font-size:.77rem;color:#ecc1a1;margin:8px 0}.modal-actions{margin-top:19px;display:flex;gap:9px;justify-content:flex-end}.select-user{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid #41291a;border-radius:10px;margin:7px 0;background:#2a1b13}.select-user input{accent-color:var(--orange)}.select-user span{font-size:.84rem}.select-user small{display:block;color:var(--muted);font-size:.7rem}.warning{color:#ffbd83;background:#54301b;border-radius:9px;padding:10px 12px;font-size:.78rem}.empty-list{color:var(--muted);text-align:center;padding:30px;font-size:.85rem}.clip-code{display:inline-flex;background:#442819;border:1px solid #8a4924;border-radius:9px;color:#ffb56c;padding:8px 14px;font-size:1.2rem;letter-spacing:.15em;font-weight:800}#toast{position:fixed;top:20px;right:20px;z-index:100;background:#3b291c;color:#ffe1c5;padding:12px 19px;border:1px solid #aa5e2a;max-width:380px;border-radius:12px;box-shadow:var(--shadow);transform:translateY(-90px);opacity:0;transition:all .2s;pointer-events:none}#toast.show{transform:translateY(0);opacity:1}#toast.error{border-color:#ff6666}#callOverlay{position:fixed;inset:0;z-index:70;background:#100d0b;display:flex;flex-direction:column}.call-top{min-height:85px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 30px;border-bottom:1px solid var(--edge)}.call-top>div:nth-child(2){flex:1;margin-left:20px}.call-top small{font-size:.6rem;font-weight:750;letter-spacing:.15em;color:var(--orange2)}.call-top h3{margin:4px 0 0;font-size:1.1rem}#callTimer{font-variant-numeric:tabular-nums;color:#f7c49a}.video-stage{flex:1;min-height:0;display:grid;place-items:center;padding:20px;overflow:auto}.video-grid{width:100%;height:100%;max-width:1320px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px;grid-auto-rows:minmax(180px,1fr)}.video-tile{min-height:150px;border-radius:18px;background:radial-gradient(circle,#3a281e,#1e1915);border:1px solid #573924;position:relative;overflow:hidden;display:grid;place-items:center}.video-tile video{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.video-tile span{position:absolute;bottom:12px;left:12px;background:#100e0dbb;padding:6px 12px;border-radius:9px;font-size:.77rem}.video-tile.local-tile video{transform:scaleX(-1)}.call-toolbar{display:flex;align-items:center;justify-content:center;gap:15px;padding:15px 20px;background:#201611;border-top:1px solid var(--edge);flex-wrap:wrap}.call-toolbar button{width:75px;height:66px;border-radius:13px;border:1px solid #62412b;background:#3b2a20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:1.3rem}.call-toolbar button small{font-size:.65rem;color:#eccdb8}.call-toolbar button.off{background:#824123}.call-toolbar button.danger{background:#b92e2c;border-color:#b92e2c}.call-toolbar button:hover{filter:brightness(1.2)}#callChatPanel{position:absolute;z-index:3;right:18px;top:96px;bottom:101px;width:min(360px,calc(100% - 36px));background:#261a14;border:1px solid #69432d;border-radius:16px;box-shadow:0 12px 38px #0009;display:flex;flex-direction:column;overflow:hidden}#callChatPanel header{padding:12px 17px;border-bottom:1px solid #59402d;display:flex;justify-content:space-between;align-items:center}#callChatMessages{flex:1;min-height:0;overflow-y:auto;padding:14px;font-size:.82rem;display:flex;flex-direction:column;gap:10px}#callChatMessages .call-chat-msg{background:#422b1c;border-radius:10px;padding:9px 11px;word-break:break-word;white-space:pre-wrap}#callChatMessages .call-chat-msg strong{color:#ffc18d;font-size:.69rem;display:block;margin-bottom:3px}#callChatForm{padding:10px;display:flex;gap:7px;border-top:1px solid #59402d}#callChatForm input{flex:1;width:100%}#qrReaderVideo{width:100%;border-radius:10px;max-height:360px;object-fit:cover}
@media(max-width:1050px){.sidebar{width:210px;flex-basis:210px}.topbar{padding:15px 18px}.thread-head{padding:12px}.auth-hero{padding:30px}.hero-art{height:40vh}.orb-one{width:180px;height:180px}.conversation-pane{width:290px;flex-basis:290px}}
@media(max-width:800px){.auth-page{grid-template-columns:1fr}.auth-hero{display:none}.auth-form-wrap{min-height:100dvh}.sidebar{position:fixed;z-index:30;left:0;top:0;transform:translateX(-101%);transition:transform .2s;width:260px;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}.mobile-menu{display:grid}.workspace{width:100%}.topbar{height:74px;flex-basis:74px}.conversation-pane{flex-basis:320px}.brand{font-size:1.2rem}.meeting-banner{padding:28px}}
@media(max-width:610px){.topbar-actions .subtle-button{display:inline-flex;padding:9px 8px;font-size:.72rem}.topbar h2{font-size:1.2rem}.topbar-actions button{font-size:.76rem;padding:9px 10px}.conversation-pane{width:100%;flex-basis:100%}.thread-pane{display:none}.tab-body#chatsTab.thread-open .conversation-pane{display:none}.tab-body#chatsTab.thread-open .thread-pane{display:flex}.back-thread{display:grid!important;width:26px;flex:0 0 26px}.thread-head::before{display:none}.thread-head .thread-actions{gap:0}.thread-actions .icon-button{width:33px}.message-list{padding:14px}.bubble{max-width:88%}.composer{padding:10px}.call-top{padding:12px;gap:9px}.call-top .brand{display:none}.call-top>div:nth-child(2){margin:0}.call-toolbar{gap:6px;padding:10px 5px}.call-toolbar button{width:61px;height:59px;font-size:1.1rem}.video-stage{padding:8px}.video-grid{grid-template-columns:1fr;grid-auto-rows:minmax(140px,1fr)}.single-tab{padding:19px 14px}.list-card{flex-wrap:wrap}.status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.status-card{padding:12px;min-height:160px}}
@media(max-width:370px){.status-grid{grid-template-columns:1fr}.topbar .eyebrow{display:none}}
