:root{--bg:#313338;--accent:#5865f2;--rail:72px;--side:240px;--members:240px;--text:#dbdee1;--muted:#949ba4;--scale:1}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px 'Segoe UI',Arial,sans-serif;overflow:hidden}button,input,textarea,select{font:inherit}button{color:inherit;background:none;border:0;cursor:pointer;border-radius:4px}button:hover{background:#ffffff12;color:#fff}button:focus-visible{outline:2px solid var(--accent)}input,textarea,select{background:#1e1f22;color:var(--text);border:0;border-radius:4px;padding:10px;outline:none}input:focus,textarea:focus{box-shadow:0 0 0 1px var(--accent)}#titlebar{height:28px;background:#1e1f22;display:flex;align-items:center;justify-content:space-between;padding-left:14px;font-size:11px;font-weight:700;color:#949ba4;-webkit-app-region:drag}#titlebar small{font-size:9px;font-weight:500;opacity:.6;margin-left:12px}#titlebar button{-webkit-app-region:no-drag;width:36px;height:28px;border-radius:0}#titlebar button:last-child:hover{background:#da373c}#app{height:calc(100vh - 28px);display:flex}#servers{width:var(--rail);flex-shrink:0;background:#1e1f22;padding:12px 0;display:flex;align-items:center;flex-direction:column;gap:8px}#servers button{position:relative;width:48px;height:48px;border-radius:50%;background:#313338;font-size:17px;transition:.15s}#servers button:hover,#servers button.active{border-radius:16px;background:var(--accent);color:white}#servers button.active:before{content:'';position:absolute;left:-12px;top:5px;width:4px;height:38px;background:#fff;border-radius:0 4px 4px 0}.separator{width:32px;height:2px;background:#35363c;margin:2px 0}#servers .green{color:#23a559}#servers .green:hover{color:white;background:#23a559}#sidebar{width:var(--side);background:#2b2d31;display:flex;flex-direction:column;flex-shrink:0}#server-head{height:49px;box-shadow:0 1px 0 #1f2023;padding:0 16px;display:flex;align-items:center;justify-content:space-between;font-weight:650}#server-head button{padding:8px}#channels{padding:14px 8px;overflow:auto;flex:1}.category{display:flex;justify-content:space-between;color:#949ba4;font-size:11px;font-weight:700;letter-spacing:.3px;margin:18px 4px 5px;align-items:center}.category button{font-size:17px}.channel{height:34px;display:flex;align-items:center;gap:8px;padding:0 8px;margin:2px 0;color:#949ba4;border-radius:4px;width:100%;text-align:left;font-weight:500}.channel .hash{font-size:23px;font-weight:400;color:#80848e}.channel.active{background:#404249;color:#fff}.channel:hover{background:#35373c;color:#dbdee1}.channel .avatar{width:30px;height:30px;font-size:12px}#user-panel{min-height:56px;background:#232428;display:flex;align-items:center;padding:6px 8px;gap:8px}#user-panel .identity{flex:1;font-size:13px;overflow:hidden}#user-panel small{display:block;font-size:11px;color:#b5bac1}.avatar{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0;color:#fff;position:relative;font-weight:600;font-size:16px}.avatar i{position:absolute;width:13px;height:13px;bottom:-1px;right:-1px;border:3px solid #2b2d31;border-radius:50%;background:#23a559}.avatar i.offline{background:#80848e}.avatar i.idle{background:#f0b232}.avatar i.dnd{background:#f23f43}main{min-width:0;flex:1;display:flex;flex-direction:column}#toolbar{height:49px;flex-shrink:0;border-bottom:1px solid #26272b;display:flex;align-items:center;gap:14px;padding:0 16px}#toolbar .hash{color:#80848e;font-size:26px}#toolbar strong{white-space:nowrap;color:#f2f3f5;font-size:16px}#toolbar .topic{border-left:1px solid #45464c;padding-left:14px;color:#b5bac1;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}#toolbar button{font-size:20px;color:#b5bac1;padding:4px}#search{width:145px;padding:5px 8px;font-size:12px;height:26px}#content{display:flex;flex:1;min-height:0}#conversation{flex:1;min-width:0;display:flex;flex-direction:column}#messages{flex:1;overflow:auto;padding:22px 0 16px;scrollbar-color:#1a1b1e #2b2d31;scrollbar-width:thin}.intro{padding:12px 16px 24px}.intro .big-hash{background:#41434a;color:#fff;width:68px;height:68px;border-radius:50%;font-size:49px;text-align:center}.intro h1{color:#f2f3f5;font-size:30px;line-height:1.2;margin:16px 0 8px;letter-spacing:-.7px}.intro p{color:#949ba4;margin:8px 0;font-size:15px}.intro .edit-channel{color:#8ea1ff;font-size:13px;padding:0}.date-divider{display:flex;align-items:center;gap:8px;color:#949ba4;font-size:11px;margin:12px 16px 20px}.date-divider:before,.date-divider:after{content:'';height:1px;background:#3f4147;flex:1}.message{position:relative;display:flex;gap:16px;padding:5px 16px;margin-top:12px;font-size:calc(15px * var(--scale))}.message:hover{background:#2e3035}.message-body{min-width:0;flex:1}.message strong{color:#f2f3f5;font-weight:550;cursor:pointer}.message time{color:#949ba4;font-size:11px;margin-left:8px}.message .text{line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:3px}.message .edited{font-size:10px;color:#949ba4;margin-left:5px}.message-actions{display:none;position:absolute;right:16px;top:-16px;background:#313338;border:1px solid #232428;border-radius:5px;box-shadow:0 2px 6px #1115}.message:hover .message-actions{display:flex}.message-actions button{padding:6px 9px}.reactions{display:flex;gap:5px;margin-top:5px}.reaction{border:1px solid #45464d;background:#2b2d31;font-size:12px;padding:4px 7px}.reaction.mine{border-color:#5865f2;background:#5865f229}.attachment{display:block;border:1px solid #41434a;background:#2b2d31;padding:12px;margin-top:8px;border-radius:5px;max-width:380px;color:#82b4fa;text-decoration:none;font-size:14px}.attachment small{display:block;color:#949ba4;font-size:11px;margin-top:4px}#composer{margin:0 16px;background:#383a40;border-radius:8px;display:flex;align-items:center;padding:4px 8px;gap:6px}#composer button{font-size:24px;color:#b5bac1;padding:5px}#composer textarea{background:none;resize:none;flex:1;min-width:0;max-height:150px;line-height:22px;padding:9px 5px;box-shadow:none}#composer-hint{height:24px;font-size:10px;padding:5px 19px;color:#949ba4}#composer-hint span{margin:0 5px}#typing{height:20px;font-size:11px;padding-left:18px;color:#b5bac1}#attachment-preview{padding:0 16px;font-size:12px;color:#b5bac1}#members{width:var(--members);background:#2b2d31;padding:12px 8px;overflow:auto;flex-shrink:0}#members h3{font-size:11px;color:#949ba4;margin:14px 8px 8px}.member{display:flex;align-items:center;gap:12px;width:100%;padding:7px 8px;color:#b5bac1;text-align:left}.member .avatar{width:32px;height:32px;font-size:13px}.member small{display:block;font-size:11px;color:#80848e}#search-results{width:320px;background:#2b2d31;padding:16px;overflow:auto;font-size:13px}#search-results h3{margin-top:0}#search-results article{padding:12px;background:#313338;margin:8px 0;border-radius:5px;white-space:pre-wrap;overflow-wrap:anywhere}dialog{background:#313338;color:#dbdee1;border:1px solid #45464c;border-radius:9px;box-shadow:0 20px 80px #0008;padding:26px;width:480px;max-height:85vh}dialog::backdrop{background:#000a}dialog h2{margin:0 0 12px;color:#f2f3f5;font-size:23px}dialog p{color:#b5bac1;line-height:1.5;font-size:14px}dialog label{display:block;font-size:12px;font-weight:600;color:#b5bac1;margin:16px 0 6px}dialog input,dialog select,dialog textarea{width:100%}dialog .actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.primary{background:var(--accent);color:white;padding:10px 18px}.primary:hover{background:#4752c4}.danger{background:#da373c!important;color:white!important;padding:10px}.subtle{color:#949ba4}.settings-tabs{display:flex;gap:6px;margin-bottom:20px;flex-wrap:wrap}.settings-tabs button{background:#232428;padding:8px;font-size:12px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#111214;color:#fff;padding:12px 20px;border-radius:6px;box-shadow:0 4px 20px #0005;display:none;z-index:99;font-size:14px}#call{background:#1e1f22;padding:15px;max-height:48vh;overflow:auto}#videos{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}video{width:240px;max-height:180px;background:#111;border-radius:8px}.call-controls{display:flex;justify-content:center;gap:8px;margin-top:12px}.call-controls button{background:#35373c;padding:8px;font-size:12px}#call-status{font-size:12px;text-align:center;color:#949ba4}#call-panel{padding:10px;background:#232428;color:#23a559;font-size:12px}#call-panel button{float:right;color:#f23f43}[hidden]{display:none!important}.empty-note{margin:0 16px;padding:18px;border:1px dashed #45464d;border-radius:8px;color:#949ba4;font-size:14px;line-height:1.7}.empty-note strong{color:#b5bac1}.welcome-art{display:flex;gap:10px;margin-top:20px}.welcome-art div{border:1px solid #45464d;border-radius:8px;padding:14px;flex:1;background:#2b2d31;font-size:13px}.welcome-art span{display:block;font-size:22px;margin-bottom:7px}body.light{--bg:#fff;--text:#313338;--muted:#5c6069}body.compact .message{margin-top:2px;padding-top:2px;padding-bottom:2px}body.compact .message .avatar{width:28px;height:28px;font-size:11px}@media(max-width:1150px){#members{display:none}#toolbar .topic{display:none}#toolbar strong{flex:1}}
.category button[data-collapse]{font-size:11px;font-weight:700;padding:0;text-align:left;color:#949ba4}.category button[data-collapse]:hover{color:#dbdee1}

/* GHOST HUB — official brand assets supplied by the owner. */
:root{--bg:#111724;--accent:#00b7df;--text:#e5edf6;--muted:#8c9bb1;--ghost-gradient:linear-gradient(135deg,#00c8ed 0%,#2879c9 42%,#7759ac 72%,#de3f9b 100%)}
body{background:#111724;color:var(--text)}
#titlebar{background:#080d17;color:#eaf8ff;border-bottom:1px solid #00b7df28;letter-spacing:1.2px}
#titlebar>span{display:flex;align-items:center;gap:7px}
#titlebar small{color:#7f9bb6;opacity:1;letter-spacing:1.8px;font-size:8px}
.title-logo{width:20px;height:20px;object-fit:contain}
#servers{background:#080d17;border-right:1px solid #ffffff06}
#servers button{background:#172131;color:#a9b9d1}
#servers button:hover,#servers button.active{background:var(--ghost-gradient);box-shadow:0 5px 22px #00b7df20}
#servers button.active:before{background:#00c8ed}
#servers #home{background:#0c1625;border:1px solid #00c8ed35;border-radius:16px;margin-bottom:2px}
#servers #home:hover,#servers #home.active{border-color:#00c8ed;background:#12273c}
.home-logo{width:35px;height:35px;object-fit:contain;vertical-align:middle}
.server-logo{width:32px;height:32px;object-fit:contain;vertical-align:middle;filter:drop-shadow(0 2px 4px #0006)}
#servers .green{color:#22c5e4}.separator{background:#203047}
#sidebar,#members,#search-results{background:#0d1420}
#server-head{box-shadow:none;border-bottom:1px solid #ffffff08;color:#edf8ff;letter-spacing:.6px}
#server-head>span{font-size:14px}
#user-panel,#call-panel{background:#0a111c;border-top:1px solid #ffffff08}
.category,.category button[data-collapse],#members h3{color:#71859e;letter-spacing:1px}
.channel{color:#8fa1b8;border-radius:7px}.channel:hover{background:#1a273a;color:#e5f7ff}
.channel.active{background:linear-gradient(90deg,#00b7df20,#7858ad14);color:#eafaff;box-shadow:inset 3px 0 #00bbdf}
.channel.active .hash{color:#00c8ed}.channel .hash{color:#536d8a}
#toolbar{background:#111a28;border-bottom:1px solid #ffffff08}
#toolbar strong{color:#edf8ff}#toolbar button{color:#88aac7}#toolbar button:hover{color:#00c8ed}
#toolbar .topic{color:#7c94ad;border-left-color:#2a3d54}
#search{background:#080f1b;color:#d6eaf9;border:1px solid #ffffff08;border-radius:6px}
#messages{scrollbar-color:#23334a #111724;background:radial-gradient(ellipse at 90% 0%,#21305b24,transparent 60%),#111724}
.intro .big-hash{background:linear-gradient(135deg,#00c8ed20,#7759ac25);color:#55d8ed;border:1px solid #00c8ed20;border-radius:20px}
.intro h1{color:#f1f8ff;letter-spacing:-.9px}.intro p{color:#8da1b8}.intro .edit-channel{color:#38bede}
.welcome-art div{background:linear-gradient(135deg,#142337,#141d30);border:1px solid #2b405b;border-radius:12px;padding:18px;color:#dbf5ff}
.welcome-art div:last-child{background:linear-gradient(135deg,#19233a,#241b35);border-color:#5c3d714d}
.welcome-art span{color:#1bc8e7}.welcome-art div:last-child span{color:#c571d0}
.empty-note{border-color:#2a3a52;color:#8297b0;border-radius:10px}.empty-note strong{color:#c8e6f7}
.message:hover{background:#172236}.message strong{color:#e8f5ff}.message time,.subtle{color:#7f95ad}
.message-actions{background:#142238;border-color:#2a405c}.date-divider:before,.date-divider:after{background:#243148}
.reaction{background:#142238;border-color:#2b405d}.reaction.mine{border-color:#00b7df;background:#00b7df18}
.attachment{background:#142238;border-color:#294563;color:#5ed3ed}
#composer{background:#172337;border:1px solid #2a3b54;border-radius:12px;box-shadow:0 8px 25px #050b1420}
#composer:focus-within{border-color:#00b7df70;box-shadow:0 0 0 3px #00b7df08}
#composer button{color:#7698b8}#composer button[type=submit]{color:#21c6e6}
#composer textarea::placeholder{color:#627d99}
#composer-hint,#typing{color:#607b98}
dialog{background:#111c2d;border:1px solid #29425f;border-radius:16px;color:#d9e9f5}
dialog h2{color:#edf8ff}dialog p{color:#96acc4}dialog input,dialog select,dialog textarea{background:#091323;border:1px solid #23364f;border-radius:7px}
.settings-tabs button{background:#18283e;border:1px solid #263d58;border-radius:6px}.settings-tabs button:hover{border-color:#00b7df80}
.primary,.primary:hover{background:var(--ghost-gradient);color:white;border-radius:7px;font-weight:600}
#call{background:#080f1c}video{background:#060a12;border:1px solid #29415d;border-radius:12px}
.call-controls button{background:#1a2a40;border-radius:7px}.avatar i{border-color:#0d1420}
.brand-about{text-align:center;padding:10px 0 16px}.about-symbol{height:96px;width:96px;object-fit:contain;filter:drop-shadow(0 6px 20px #00b7df25)}
.brand-about h2{font-size:32px;letter-spacing:2px;margin:16px 0 5px;font-weight:800}.brand-about h2 span{background:var(--ghost-gradient);background-clip:text;-webkit-text-fill-color:transparent}
.brand-about .brand-tagline{color:#59bcd5;font-size:9px;letter-spacing:3px}
.brand-credit{display:flex;align-items:center;justify-content:center;border-top:1px solid #26384e;margin-top:22px;padding:18px 0 6px}.brand-credit img{width:160px;height:auto;max-height:85px;object-fit:contain}

#workspace-bar{height:42px;display:flex;align-items:center;gap:10px;padding:0 14px;background:#0b1422;border-bottom:1px solid #243249;color:#91a9c0;font-size:12px}
#workspace-bar button{padding:7px 10px;font-size:12px;white-space:nowrap}
.workspace-tabs{display:flex;gap:4px}.workspace-tabs button.selected{color:#79e5f4;background:#00b7df18;box-shadow:inset 0 -2px #00b7df;border-radius:5px 5px 0 0}
#team-status{flex:1;display:flex;justify-content:flex-end;gap:14px;overflow:hidden;white-space:nowrap;font-size:11px}
.team-person:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#36c99b;margin-right:6px}.team-person.idle:before{background:#e8b451}
#connect-team{border:1px solid #26405c;color:#b9eaf5}#disconnect-team{color:#6c849f}
#app{height:calc(100vh - 70px)}
@media(max-width:1000px){#titlebar small{display:none}#disconnect-team{display:none}#team-status{font-size:10px;gap:8px}}

/* Company workspace: horizontal spaces, inset panels, editorial hierarchy. */
:root{--bg:#0b111d;--accent:#00bfd9}
#titlebar{height:28px;background:#080e19;border:0;padding-left:20px}
#workspace-bar{height:42px;background:#0e1726;padding:0 20px;border-bottom:1px solid #24334a}
.workspace-tabs{gap:18px}.workspace-tabs button{border-radius:0!important;padding:11px 3px!important;font-weight:600!important}
.workspace-tabs button.selected{background:transparent;color:#6cdef1;box-shadow:inset 0 -2px #00bfd9}
#app{display:grid;grid-template-columns:220px minmax(0,1fr);grid-template-rows:64px minmax(0,1fr);background:#0b111d;padding:0 20px 20px;gap:0 16px}
#servers{grid-column:1/-1;grid-row:1;flex-direction:row;justify-content:flex-start;align-items:center;width:auto;padding:0;gap:8px;background:transparent;border:0;min-width:0;overflow:auto}
#servers button,#servers #home{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:auto;min-width:0;height:36px;padding:0 13px;border-radius:9px;background:#111d2d;border:1px solid #22344a;box-shadow:none;font-size:12px;white-space:nowrap;color:#8fa6c0;flex-shrink:0;margin:0}
#servers button:hover,#servers button.active,#servers #home.active,#servers #home:hover{background:#152a3c;border-color:#00bedb66;color:#a3f0fc;border-radius:9px;box-shadow:none}
#servers button.active:before{display:none}
#servers button>span{font-weight:550}#servers .green{color:#7d97b3;border-style:dashed}
#servers .separator{width:1px;height:20px;background:#223248;margin:0 4px;flex-shrink:0}
.home-logo{width:19px;height:22px}.server-logo{width:22px;height:22px;filter:none}.workspace-icon{display:flex;align-items:center;font-size:11px;color:#53d1e6}
#sidebar{grid-column:1;grid-row:2;width:auto;min-height:0;border:1px solid #24334a;border-radius:14px;background:#101b2a;overflow:hidden}
#server-head{height:62px;flex-shrink:0;background:#122033;padding:0 18px;border-bottom:1px solid #24334a;color:#d1e7fa;letter-spacing:.2px}
#channels{padding:8px 10px}.category{margin:20px 8px 7px}.category button[data-collapse]{font-size:10px;letter-spacing:1.2px}
.channel{height:36px;border-radius:8px;font-size:12px;font-weight:500;gap:7px}.channel .hash{font-size:22px;width:16px;text-align:center;color:#4d6a86}
.channel.active{background:#163047;box-shadow:none;color:#88e2f0}.channel.active .hash{color:#2fd0e5}
#user-panel{padding:12px;background:#0e1726;min-height:64px;border-top:1px solid #24334a}
main{grid-column:2;grid-row:2;min-height:0;border:1px solid #24334a;border-radius:14px;overflow:hidden;background:#101b2a}
#toolbar{height:62px;padding:0 22px;background:#122033;border-bottom-color:#24334a}
#toolbar .hash{font-size:22px;color:#48c8dd}#toolbar strong{font-size:15px;font-weight:650}
#toolbar .topic{font-size:12px;color:#7894af}#toolbar button{font-size:18px}
#content{min-height:0}#conversation{background:#101b2a}
#messages{background:radial-gradient(ellipse at top right,#17355635,transparent 65%),#101b2a;padding-top:8px}
.intro{padding:26px 28px 24px;position:relative}.workspace-eyebrow{font-size:9px;font-weight:650;letter-spacing:2px;color:#567895;margin-bottom:18px}
.intro .big-hash{position:absolute;right:28px;top:30px;background:none;border:0;border-radius:0;width:55px;height:58px;opacity:.55}
.intro .big-hash img{width:100%;height:100%;object-fit:contain}
.intro h1{font-size:27px;font-weight:650;letter-spacing:-.8px;margin:10px 70px 8px 0}.intro p{font-size:13px;color:#849fb8;max-width:700px}
.intro .edit-channel{font-size:11px;color:#4fadc7;margin-top:8px}.welcome-art{gap:14px;margin-top:26px}
.welcome-art div,.welcome-art div:last-child{background:#142337;border:1px solid #273e57;border-radius:12px;padding:19px;color:#c4e1f4;font-size:12px}
.welcome-art div:last-child{background:linear-gradient(135deg,#142337,#201e36)}
.welcome-art span{font-size:19px}.welcome-art small{display:block;margin-top:5px;font-size:11px;color:#6985a1}
.empty-note{margin:4px 28px 15px;border:0;border-left:2px solid #1d607a;background:#102338;border-radius:0 9px 9px 0;padding:16px 18px;font-size:12px;color:#7499b5}
.empty-note strong{font-weight:600;color:#bddbea}
.message{padding:9px 28px;margin-top:4px;gap:12px;font-size:calc(13px * var(--scale))}.message .avatar{width:32px;height:32px;font-size:12px;border-radius:11px}.message .avatar i{border-color:#101b2a}
.message:hover{background:#14253a}.message strong{font-size:12px;font-weight:600}.message time{font-size:10px;color:#536f8b}
#members{width:210px;background:#0f1928;border-left:1px solid #24334a;padding:16px 10px}
#members h3{font-size:9px;letter-spacing:1.4px;color:#617e9a;margin:10px 9px 14px}.member{gap:10px;padding:10px 9px;border-radius:9px;font-size:12px}.member .avatar{border-radius:10px;font-size:11px}.member small{font-size:10px;color:#58718d;margin-top:3px}
#composer{margin:0 22px;background:#101f32;border:1px solid #2b4059;border-radius:10px;padding:5px 10px;gap:10px}#composer textarea{font-size:13px;padding:10px 3px}#composer button{font-size:22px}#composer-hint{font-size:9px;padding-left:24px;color:#496783}#typing{padding-left:25px}
#call{border-bottom:1px solid #24334a;background:#0c1625}
.date-divider{margin:15px 28px;font-size:10px}.date-divider:before,.date-divider:after{background:#24374f}
@media(max-width:1150px){#members{display:none}#app{grid-template-columns:200px minmax(0,1fr);padding:0 12px 12px;gap:0 12px}.intro{padding:22px}.welcome-art{flex-direction:column}.intro h1{font-size:23px}#toolbar .topic{display:none}}
#toolbar #audio-call,#toolbar #video-call{font-size:12px;font-weight:600;padding:6px 12px;border:1px solid #29445d;border-radius:7px;color:#91c8df}#toolbar #audio-call{color:#65e0ef;border-color:#00b7df55;background:#00b7df0d}


/* Dedicated company meeting room: call above, persistent chat below. */
#meeting-lobby[hidden]{display:none!important}
.meeting-room #servers,.meeting-room #sidebar,.meeting-room #members,.meeting-room #search-results,.meeting-room #toolbar .topic,.meeting-room #search,.meeting-room #toolbar button:not(#audio-call):not(#video-call){display:none!important}
.meeting-room #app{display:flex;padding:16px;min-height:0}
.meeting-room main{min-height:0;border:1px solid #233b52;border-radius:14px;background:#0b1725;overflow:hidden}
.meeting-room #toolbar{order:0;height:58px;min-height:58px;flex-shrink:0}.meeting-room #toolbar strong{flex:1}
.meeting-room #call:not([hidden]){order:1;flex:0 0 52%;min-height:0;max-height:none;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px 20px;background:#0b1725}
.meeting-room #videos{width:100%;flex:1;min-height:0;display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;overflow:hidden}
.meeting-room #videos video{min-width:0;max-width:100%;max-height:100%;width:0;flex:1;height:100%;object-fit:contain;border-radius:10px}
.meeting-room .call-controls{flex-shrink:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding-top:10px}
.meeting-room #call-status{flex-shrink:0;margin:7px 0 0;font-size:11px;color:#829cb7}
.meeting-room #meeting-lobby:not([hidden]){order:1;flex:0 0 30%;min-height:100px;display:flex;align-items:center;justify-content:center;flex-direction:column}
.meeting-room #meeting-lobby h1{font-size:23px;margin:0 0 8px}.meeting-room #meeting-lobby p{font-size:12px;color:#829cb7;margin:0}
.meeting-room #content{order:2;display:flex!important;flex:1;min-height:150px;overflow:hidden;border-top:1px solid #233b52}
.meeting-room #conversation{min-height:0;padding-top:10px}.meeting-room #conversation:before{content:'Chat da reunião';padding:0 22px 7px;font-size:12px;font-weight:600;color:#91b7ce}
.meeting-room #messages{min-height:0;padding:0 0 8px}.meeting-room #messages .intro,.meeting-room #messages .empty-note{display:none}
.meeting-room #composer{flex-shrink:0;margin:0 16px}.meeting-room #composer-hint{flex-shrink:0;padding:4px 18px 8px}
@media(max-height:650px){.meeting-room #call:not([hidden]){flex-basis:44%}.meeting-room #toolbar{height:44px;min-height:44px}.meeting-room #app{padding:8px}.meeting-room #call-status{display:none}}

#meeting-duration{font-size:12px;color:#78dce9;font-variant-numeric:tabular-nums;align-self:center;padding:6px 12px;border:1px solid #275269;border-radius:7px;background:#10283a;white-space:nowrap}
/* Meeting 3.0.5: fill the page, reserve a usable chat below the media. */
.meeting-room main{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:50px minmax(0,1fr) minmax(170px,27%);height:100%;min-height:0}
.meeting-room #toolbar{grid-row:1;height:50px;min-height:0}
.meeting-room #call:not([hidden]){grid-row:2;order:unset;flex:unset;max-height:none;min-height:0;overflow:hidden;padding:12px 18px;align-items:stretch;justify-content:flex-start}
.meeting-room #meeting-lobby:not([hidden]){grid-row:2;flex:unset;min-height:0}
.meeting-room #content{grid-row:3;order:unset;flex:unset;min-height:0;overflow:hidden}
.meeting-room #conversation{min-height:0;overflow:hidden;display:flex!important;flex-direction:column}
.meeting-room #messages{flex:1;min-height:0;overflow:auto}
.meeting-room #videos{min-height:0;flex:1;display:flex;align-items:center;justify-content:center;gap:12px;overflow:auto;scrollbar-color:#244158 #0b1725;scrollbar-width:thin}
.meeting-room #videos video{flex:1 1 0;width:0;height:100%;min-height:0;max-height:100%;object-fit:contain;background:#08111d}
.meeting-room #videos[data-size=small] video{flex:0 1 240px;width:240px;max-height:160px}
.meeting-room #videos[data-size=medium] video{flex:0 1 400px;width:400px;max-height:300px}
.meeting-room #videos[data-size=large] video{flex:0 1 680px;width:680px;max-height:100%}
.meeting-room #videos.has-focus video:not(.focused){display:none}
.meeting-room #videos.has-focus video.focused{display:block;flex:1;width:100%;height:100%;max-height:100%}
.meeting-room .call-controls{margin-top:0;padding-top:10px;align-items:center;min-height:42px;flex-shrink:0}
.meeting-room .video-size-label,.meeting-room .share-audio-label{font-size:11px;display:inline-flex;align-items:center;gap:6px;color:#b5d4e5}
.meeting-room #video-size{font-size:11px;padding:7px;background:#142b3c;border:1px solid #29516b;max-width:135px}
.meeting-room #share-audio{width:15px;height:15px;padding:0;accent-color:#00bfd7}
.meeting-room #meeting-duration{order:-1;font-size:11px;padding:7px 9px}
.meeting-room #call-status{display:block!important;margin:7px 0 0;min-height:14px;font-size:11px}
@media(max-height:650px){.meeting-room main{grid-template-rows:42px minmax(0,1fr) 165px}.meeting-room #toolbar{height:42px}.meeting-room #call:not([hidden]){padding:6px 10px}.meeting-room .call-controls{gap:5px;padding-top:5px}.meeting-room .call-controls button{font-size:10px;padding:6px}.meeting-room #call-status{margin-top:3px}.meeting-room #app{padding:6px}}
/* Per-video controls, also available when a call starts from a text channel. */
#videos .video-tile{position:relative;min-width:0;min-height:0;flex:0 1 400px;width:400px;aspect-ratio:16/9;max-height:100%;background:#08111d;border:1px solid #29475d;border-radius:10px;overflow:hidden}
#videos .video-tile video{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain;border:0;border-radius:0;flex:none!important}
#videos .video-fullscreen{position:absolute;right:10px;bottom:10px;width:38px;height:34px;padding:7px;background:#07111de6;border:1px solid #7d9caf;color:white;border-radius:5px;opacity:0;transition:opacity .15s;z-index:2}
#videos .video-tile:hover .video-fullscreen,#videos .video-tile:focus-within .video-fullscreen{opacity:1}
.video-fullscreen svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.meeting-room #videos .video-tile{flex:1 1 0;width:0;height:100%;aspect-ratio:auto}
.meeting-room #videos[data-size=small] .video-tile{flex:0 1 240px;width:240px;height:auto;aspect-ratio:16/9;max-height:160px}
.meeting-room #videos[data-size=medium] .video-tile{flex:0 1 400px;width:400px;height:auto;aspect-ratio:16/9;max-height:300px}
.meeting-room #videos[data-size=large] .video-tile{flex:0 1 680px;width:680px;height:100%;max-height:100%}
#videos.has-focus .video-tile:not(.focused){display:none}
#videos.has-focus .video-tile.focused{display:block;flex:1;width:100%;height:100%;max-height:100%;aspect-ratio:auto}
#videos .video-tile:fullscreen,#videos .video-tile.video-expanded{display:block!important;background:#000;width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;aspect-ratio:auto!important;border:0;border-radius:0}
#videos .video-tile.video-expanded{position:fixed;inset:0;z-index:1000}
#videos .video-tile:fullscreen video,#videos .video-tile.video-expanded video{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain}
#videos .video-tile:fullscreen .video-fullscreen,#videos .video-tile.video-expanded .video-fullscreen{opacity:1;right:20px;bottom:20px}
@media(hover:none){#videos .video-fullscreen{opacity:1}}
