:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #111214; color: #f2f2f3; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #111214; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid #88a8d8; outline-offset: 2px; }
svg { width: 17px; height: 17px; stroke-width: 1.8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.landing-shell { min-height: 100vh; display: grid; align-content: center; justify-items: center; gap: 20px; padding: 24px; background: #111218; }
.product-entry { grid-template-rows: auto 1fr auto; align-content: stretch; justify-items: stretch; width: 100%; max-width: 1240px; margin: 0 auto; background: radial-gradient(circle at 70% 38%, rgba(99,79,232,.14), transparent 30%), radial-gradient(circle at 10% 82%, rgba(41,73,136,.1), transparent 27%), #111218; }
.entry-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 2px; }
.entry-content { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); align-items: center; gap: clamp(42px, 8vw, 110px); }
.entry-copy { min-height: 360px; display: grid; align-content: center; gap: 20px; }
.entry-copy h1, .entry-card h1 { margin: 0; color: #f5f5f8; font-size: clamp(46px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; }
.entry-copy h1 em { color: #8776ff; font-style: normal; }
.entry-copy p { max-width: 510px; margin: 0; color: #9b9fab; font-size: 16px; line-height: 1.62; }
.entry-kicker { width: max-content; padding: 8px 12px; border: 1px solid #363445; border-radius: 999px; color: #9d91ff; background: rgba(89,73,190,.09); font-size: 12px; font-weight: 750; }
.entry-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 13px 24px; margin-top: 16px; }
.entry-benefits span { display: flex; align-items: center; gap: 10px; color: #aaadb7; font-size: 12px; }
.entry-benefits svg { color: #8d7cff; }
.entry-benefits b { font-weight: 650; }
.brand { color: #f6f6f6; font-size: 14px; font-weight: 800; letter-spacing: .15em; text-decoration: none; }
.landing-card { width: min(100%, 390px); display: grid; gap: 15px; padding: 24px; background: #1b1c20; border: 1px solid #2d2f35; border-radius: 12px; }
.entry-card { position: relative; width: min(100%, 470px); gap: 18px; padding: clamp(25px, 4vw, 38px); border-color: #343747; border-radius: 20px; background: linear-gradient(145deg, rgba(31,32,42,.98), rgba(20,21,28,.98)); box-shadow: 0 30px 90px rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.025); }
.entry-card-mark { width: 68px; height: 68px; display: grid; place-items: center; justify-self: center; border: 1px solid #554b9a; border-radius: 50%; color: #f2efff; background: #35306c; box-shadow: 0 0 0 14px rgba(113,91,239,.06), 0 0 42px rgba(91,72,210,.18); }
.entry-card-mark svg { width: 25px; height: 25px; }
.entry-card-heading { display: grid; gap: 5px; text-align: center; }
.entry-card-heading span { color: #f2f2f5; font-size: 21px; font-weight: 780; letter-spacing: -.025em; }
.entry-card-heading small { color: #8f939f; font-size: 12px; }
.entry-card .button-primary { background: #6f61ee; color: #fff; }.entry-card .button-primary:hover { background: #7d70f7; }
.entry-card > h1 { font-size: 22px; }
.entry-actions { display: grid; gap: 9px; }
.text-button { border: 0; padding: 7px 4px; color: #aebbd0; background: transparent; font-size: 12px; font-weight: 700; text-align: center; }
.text-button:hover { color: #f1f3f6; text-decoration: underline; }
.account-chip { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 18px; padding: 3px 7px 3px 3px; color: #dbdce0; background: #25272e; font-size: 12px; font-weight: 700; }
.account-chip:hover { background: #30323a; }
.small-card { width: min(100%, 370px); }
.intro { margin: 0; color: #a4a6ad; font-size: 14px; line-height: 1.45; }
.stack-form { display: grid; gap: 8px; }
label { color: #c5c6ca; font-size: 12px; font-weight: 650; }
input, select, textarea { width: 100%; border: 1px solid #353840; border-radius: 7px; background: #111214; color: #f1f1f2; padding: 0 11px; }
input, select { min-height: 42px; }
textarea { min-height: 40px; padding: 10px 40px 10px 11px; line-height: 1.35; resize: none; }
input::placeholder, textarea::placeholder { color: #777a83; }
.button { min-height: 42px; border: 0; border-radius: 7px; font-weight: 700; }
.button-primary { background: #e8e9eb; color: #151619; }
.button-primary:hover { background: #fff; }
.button-secondary { padding: 0 16px; background: #2a2c31; color: #ededee; }
.button-secondary:hover { background: #34373e; }
.or { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; color: #767983; font-size: 12px; }
.or span:not(:nth-child(2)) { height: 1px; background: #30323a; }
.join-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.landing-footer { margin: 0; color: #767983; font-size: 12px; }
.entry-loading { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 18px; color: #aeb1bb; background: radial-gradient(circle at 50% 42%, rgba(107,91,226,.1), transparent 30%), #151619; font-size: 13px; }.entry-loading strong { font-weight: 600; }.loading-spinner { width: 34px; height: 34px; border: 3px solid #30323a; border-top-color: #8c7df5; border-radius: 50%; animation: nexo-spin .8s linear infinite; }@keyframes nexo-spin { to { transform: rotate(360deg); } }@media (prefers-reduced-motion: reduce) { .loading-spinner { animation-duration: 1.8s; } }
.invite-shell { min-height: 100vh; min-height: 100dvh; grid-template-rows: auto minmax(0, 1fr) auto; align-content: stretch; justify-items: stretch; }
.invite-content { width: min(1050px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 460px); align-items: center; gap: clamp(32px, 8vw, 92px); padding: 32px 0; }
.invite-copy { display: grid; gap: 15px; }.invite-copy h1 { margin: 0; color: #f4f4f6; font-size: clamp(38px, 5.2vw, 68px); line-height: .98; letter-spacing: -.055em; }.invite-copy p { max-width: 390px; margin: 0; color: #989ba5; font-size: 15px; line-height: 1.55; }
.invite-panel { width: 100%; display: grid; gap: 16px; padding: clamp(24px, 4vw, 38px); border: 1px solid #30333d; border-radius: 18px; background: linear-gradient(145deg, rgba(33,34,42,.98), rgba(23,24,29,.98)); box-shadow: 0 28px 75px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.025); }
.invite-panel h2 { margin: 0; color: #f0f0f1; font-size: clamp(22px, 3vw, 30px); line-height: 1.08; letter-spacing: -.035em; text-align: center; }
.invite-panel > p { margin: -6px 0 2px; color: #93969e; font-size: 13px; line-height: 1.5; }
.invite-kicker { color: #9a8cff; font-size: 12px; font-weight: 750; letter-spacing: .02em; }
.invite-signal { width: 84px; height: 84px; display: grid; place-items: center; justify-self: center; border: 1px solid #524997; border-radius: 50%; color: #efedff; background: #36306f; box-shadow: 0 0 0 16px rgba(112,94,255,.07), 0 0 45px rgba(112,94,255,.18); }.invite-signal svg { width: 28px; height: 28px; }
.invite-room-code { color: #858994; font-size: 12px; }.invite-room-state { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 9px; color: #b8bbc4; background: #24262d; font-size: 13px; }.invite-room-state svg { color: #9c8eff; }.invite-room-state strong { color: #f0f0f2; }
.invite-join-button { background: #6f61ee; color: #fff; }.invite-join-button:hover { background: #7d70f7; }.invite-error { display: grid; gap: 9px; color: #d9dbe1; }.invite-error span { color: #a3a6af; font-size: 13px; }.invite-error .button { display: grid; place-items: center; text-decoration: none; }
.invite-actions p { margin: 5px 0 0; color: #8f929a; font-size: 12px; text-align: center; }
.inline-action { border: 0; padding: 2px 3px; color: #b9cce3; background: transparent; font-weight: 700; }
.inline-action:hover { color: #fff; text-decoration: underline; }
.invite-account { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 8px; background: #222329; color: #b9bbc1; font-size: 12px; }
.invite-account strong { color: #f0f1f2; }
.notification-host { position: fixed; z-index: 30; top: 66px; right: 14px; width: min(360px, calc(100vw - 28px)); display: grid; gap: 8px; pointer-events: none; }
.toast { min-height: 44px; display: grid; grid-template-columns: minmax(0, 1fr) 36px; align-items: center; gap: 8px; padding: 8px 7px 8px 12px; border: 1px solid #383b43; border-radius: 8px; color: #e4e5e7; background: #202126; box-shadow: 0 10px 28px rgba(0,0,0,.34); font-size: 12px; line-height: 1.4; pointer-events: auto; }
.toast-success { border-color: #315744; }.toast-warning { border-color: #665538; }.toast-error { border-color: #673942; }
.toast-close { width: 36px; height: 36px; border: 0; border-radius: 6px; color: #bfc1c6; background: transparent; font-size: 22px; line-height: 1; }
.toast-close:hover, .toast-close:focus-visible { color: #fff; background: #303239; }

.call-shell { height: 100vh; height: 100dvh; min-height: 100svh; display: grid; grid-template-rows: 54px minmax(0, 1fr) auto; overflow: hidden; background: #111214; }
.call-header { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 0 16px; border-bottom: 1px solid #27292f; background: #18191d; }
.brand-small { font-size: 13px; }
.room-code { padding-left: 13px; border-left: 1px solid #34363d; color: #a6a8af; font-size: 12px; }
.connection-state { display: inline-flex; align-items: center; gap: 6px; color: #868991; font-size: 12px; }
.connection-dot { width: 7px; height: 7px; border-radius: 50%; background: #777a82; }
.connection-dot.online { background: #6cc696; }
.connection-dot.offline { background: #d8757e; }
.latency-control { position: relative; }
.latency-button { min-height: 30px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 6px; padding: 0 7px; color: #aeb0b7; background: transparent; font-size: 11px; }
.latency-button:hover, .latency-button:focus-visible { color: #eceef1; background: #292b31; }
.latency-dot { width: 6px; height: 6px; border-radius: 50%; background: #777b84; }.latency-dot.excellent { background: #70c994; }.latency-dot.good { background: #a6c879; }.latency-dot.attention { background: #daa95e; }.latency-dot.poor { background: #d66f79; }
.latency-popover { position: absolute; z-index: 15; top: 38px; left: 0; width: min(270px, calc(100vw - 28px)); padding: 10px; border: 1px solid #383a42; border-radius: 9px; color: #dedfe2; background: #1c1d22; box-shadow: 0 16px 38px rgba(0,0,0,.4); }
.latency-popover header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-size: 12px; }.latency-popover header button { width: 34px; height: 34px; border: 0; border-radius: 6px; color: #bfc1c6; background: transparent; font-size: 20px; }.latency-popover header button:hover { background: #303239; }
.latency-rows { display: grid; gap: 2px; }.latency-row { min-height: 29px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; color: #aeb0b7; font-size: 11px; }.latency-row output { color: #e2e3e5; font-variant-numeric: tabular-nums; }.latency-average { margin-top: 5px; padding-top: 6px; border-top: 1px solid #34363d; }
.copy-link { margin-left: auto; min-height: 32px; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 6px; padding: 0 8px; color: #d9dadc; background: transparent; font-size: 12px; }
.copy-link:hover { background: #292b31; }
.call-workspace { min-width: 0; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; padding: 10px; }
.call-workspace.chat-open { grid-template-columns: minmax(0, 1fr) 318px; gap: 10px; }
.call-main { min-height: 0; display: grid; }
.call-main.has-share { grid-template-columns: minmax(0, 1fr) 210px; gap: 10px; }
.call-main.no-share { grid-template-columns: minmax(0, 1fr); }
.stage { position: relative; min-height: 0; overflow: hidden; border-radius: 9px; background: #050506; }
.screen-video { width: 100%; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #020203; }
.screen-video video { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #020203; }
.stage-overlay { transition: opacity .18s ease, transform .18s ease; }
.focused-share.controls-hidden { cursor: none; }
.focused-share.controls-hidden .stage-overlay { opacity: 0; pointer-events: none; }
.focused-share.controls-hidden .stage-topline { transform: translateY(-7px); }
.focused-share.controls-hidden .fullscreen-button { transform: translateY(7px); }
.screen-freeze-notice { position: absolute; z-index: 6; left: 50%; bottom: 52px; width: min(420px, calc(100% - 28px)); transform: translateX(-50%); padding: 12px; border: 1px solid #695638; border-radius: 9px; color: #eee3cf; background: rgba(31,27,22,.94); text-align: center; }
.screen-freeze-notice strong { display: block; margin-bottom: 9px; font-size: 12px; }
.stage-topline { position: absolute; z-index: 2; top: 10px; left: 11px; right: 11px; display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; color: #e7e7e8; font-size: 12px; text-shadow: 0 1px 2px #000; pointer-events: none; }
.stage-topline > span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.stage-back { min-height: 30px; border: 0; border-radius: 6px; padding: 0 9px; color: #e7e8ea; background: rgba(24,25,29,.88); font-size: 11px; font-weight: 700; pointer-events: auto; }
.stage-back:hover { background: #30323a; }
.quality { max-width: min(610px, 73%); display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; padding: 5px 7px; border-radius: 6px; color: #e9eaec; background: rgba(9, 10, 12, .78); font-size: 10px; text-align: right; }
.quality-pending { color: #a5a7ac; }
.quality-head, .quality-details { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px 7px; }
.quality-details { color: #bec1c8; font-size: 9px; }
.quality-diagnosis { color: #f0c98f; font-size: 9px; font-weight: 700; }
.quality-details b, .quality-flow { color: #aec8ed; font-weight: 750; }
.screen-audio-diagnostic { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; margin-top: 3px; padding-top: 3px; border-top: 1px solid rgba(255,255,255,.12); color: #c6c8ce; }
.icon-button { display: inline-grid; place-items: center; width: 31px; height: 31px; border: 0; border-radius: 6px; color: #d2d4d9; background: transparent; }
.icon-button:hover { background: #2c2e35; }
.fullscreen-button { position: absolute; z-index: 4; right: 9px; bottom: 9px; color: #e4e5e7; background: rgba(20, 21, 24, .82); }
.screen-share-grid { width: 100%; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: max-content; align-content: center; gap: 12px; overflow: auto; }
.screen-share-grid.count-1 { grid-template-columns: minmax(280px, 760px); justify-content: center; }
.screen-share-grid.count-5, .screen-share-grid.count-6, .screen-share-grid.count-7, .screen-share-grid.count-8 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.screen-share-card { position: relative; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; display: block; border: 1px solid #2f323a; border-radius: 11px; padding: 0; color: #e6e7e9; background: #1c1e23; text-align: left; }
.screen-share-card:hover, .screen-share-card:focus-visible { border-color: #626979; box-shadow: 0 0 0 2px rgba(143,161,192,.08); }
.screen-preview { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }.screen-preview video { width: 100%; height: 100%; object-fit: cover; filter: blur(1.2px) brightness(.62) saturate(.84); transform: scale(1.015); opacity: 0; transition: opacity .2s ease; pointer-events: none; }.screen-share-card.has-preview .screen-preview video { opacity: 1; }
.screen-preview-fallback { display: grid; justify-items: center; gap: 8px; color: #9a9da5; }.screen-preview-fallback > svg { color: #99b8dc; }.screen-preview-fallback small { font-size: 11px; }.screen-share-card.has-preview .screen-preview-fallback { display: none; }
.screen-card-overlay { position: absolute; z-index: 2; inset: auto 0 0; min-width: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 32px 12px 11px; background: linear-gradient(transparent, rgba(8,9,11,.92)); }.screen-card-owner { min-width: 0; display: flex; align-items: center; gap: 8px; }.screen-card-owner > span:last-child { min-width: 0; }.screen-card-owner strong, .screen-card-owner small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.screen-card-owner strong { font-size: 13px; }.screen-card-owner small { margin-top: 2px; color: #adb0b8; font-size: 10px; }.screen-watchers { flex: 0 0 auto; display: flex; align-items: center; }.screen-watchers .avatar { margin-left: -6px; border: 2px solid #16171b; }.screen-watchers small { margin-left: 7px; color: #b1b4bc; font-size: 10px; }.avatar-watcher { width: 24px; height: 24px; flex-basis: 24px; }
.screen-overview { grid-template-rows: auto minmax(150px, 1fr) auto auto; overflow: hidden; }
.overview-people-heading { margin-top: 12px; }
.overview-participants { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; }
.overview-participants .participant { flex: 1 1 180px; max-width: 280px; }

.participant-stage { display: grid; grid-template-rows: auto minmax(0, 1fr); padding: 18px; background: #15161a; }
.people-heading { display: flex; align-items: center; justify-content: space-between; min-height: 30px; color: #c5c7cc; font-size: 12px; font-weight: 700; }
.people-heading > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.people-heading > span:last-child { color: #80838c; font-weight: 600; }
.stage-people-heading { margin-bottom: 12px; }
.participant-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 9px; margin: 0; padding: 0; }
.participant-grid.count-1 { grid-template-columns: minmax(0, 360px); justify-content: center; }
.participant-grid.count-2 { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
.participant-grid.count-5, .participant-grid.count-6, .participant-grid.count-7, .participant-grid.count-8 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.people-rail { min-height: 0; overflow: auto; padding: 10px; border-left: 1px solid #292b31; background: #17181c; }
.participants { list-style: none; display: grid; gap: 3px; margin: 8px 0 0; padding: 0; }
.participant { display: flex; align-items: center; min-width: 0; min-height: 40px; gap: 8px; padding: 6px 7px; border-radius: 7px; color: #cacbd0; background: #1d1f24; }
.participant-grid .participant { position: relative; min-height: 176px; flex-direction: column; justify-content: center; gap: 9px; padding: 18px; background: #1b1c20; text-align: center; }
.participant-grid .participant .avatar { flex-basis: 64px; width: 64px; height: 64px; font-size: 20px; box-shadow: 0 0 0 1px #393b43; }
.participant-grid .participant .participant-name { flex: 0; max-width: 100%; font-size: 14px; }
.participant-grid .participant .participant-action, .participant-grid .participant .participant-volume-button { position: absolute; top: 9px; }.participant-grid .participant .participant-action { right: 10px; }.participant-grid .participant .participant-volume-button { left: 8px; }.participant-grid .participant .share-mark { right: 34px; }.participant-grid .participant .audio-mark { right: 57px; }.participant-grid .speaking-dot { position: absolute; right: 11px; bottom: 11px; width: 8px; height: 8px; }
.participant.speaking { color: #f3f4f4; box-shadow: inset 2px 0 #78c89a; }
.avatar { display: inline-grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; overflow: hidden; border-radius: 50%; color: #e4e4e6; background: #373943; font-size: 10px; font-weight: 800; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-fallback { display: grid; width: 100%; height: 100%; place-items: center; }
.avatar-fallback[hidden] { display: none; }
.avatar-large { flex-basis: 42px; width: 42px; height: 42px; font-size: 14px; }
.participant.speaking .avatar { color: #e8fff1; background: #28533c; }
.participant-name { overflow: hidden; flex: 1; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.participant-action { display: inline-grid; place-items: center; color: #8f939c; }
.participant-action svg { width: 14px; height: 14px; }
.participant-volume-button { display: inline-grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border: 0; border-radius: 5px; color: #aeb7c5; background: transparent; }
.participant-volume-button:hover, .participant-volume-button:focus-visible { color: #e2e7ee; background: #30343c; }
.participant-volume-button svg { width: 14px; height: 14px; }
.share-mark { color: #a8c5e8; }
.audio-mark { color: #9fcfb6; }
.speaking-dot { width: 6px; height: 6px; border-radius: 50%; background: #78c89a; }

.chat-panel { min-height: 0; display: grid; grid-template-rows: 44px minmax(0, 1fr) auto; border-left: 1px solid #2a2c32; background: #18191d; }
.panel-header { display: flex; align-items: center; justify-content: space-between; padding: 0 9px 0 13px; border-bottom: 1px solid #2a2c32; color: #e1e2e4; font-size: 13px; font-weight: 750; }
.chat-messages { min-height: 0; overflow-y: auto; padding: 14px; }
.chat-empty { margin: 0; color: #787b84; font-size: 13px; line-height: 1.45; }
.chat-group { margin: 0 0 15px; color: #d7d8dc; font-size: 13px; line-height: 1.42; overflow-wrap: anywhere; }
.chat-message { position: relative; margin: 1px 0; padding-right: 28px; color: #d7d8dc; font-size: 13px; line-height: 1.42; overflow-wrap: anywhere; }
.chat-message-meta { display: flex; align-items: baseline; gap: 7px; margin-bottom: 3px; }
.chat-message-meta span { color: #ededee; font-size: 12px; font-weight: 750; }
.chat-message-meta time { color: #787b84; font-size: 10px; }
.chat-message p { margin: 0; white-space: normal; }
.chat-message a { color: #a9c8ef; text-decoration: none; }
.chat-message a:hover { text-decoration: underline; }
.own-message .chat-message-meta span { color: #bdd4ee; }
.copy-message { position: absolute; right: 0; top: -4px; display: none; width: 25px; height: 25px; border: 0; border-radius: 5px; color: #8d9098; background: transparent; }
.copy-message svg { width: 13px; height: 13px; }
.chat-message:hover .copy-message, .copy-message:focus-visible { display: inline-grid; place-items: center; }
.copy-message:hover { color: #e2e3e5; background: #292b31; }
.chat-attachment, .chat-upload { display: grid; gap: 7px; margin: 6px 0 2px; padding: 9px 10px; border-radius: 7px; background: #202126; color: #d9dade; }
.chat-attachment strong, .chat-upload strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.chat-attachment span, .chat-upload span { display: block; margin-top: 2px; color: #898c95; font-size: 11px; }
.attachment-actions { display: flex; gap: 5px; }
.attachment-actions button { min-height: 25px; border: 0; border-radius: 5px; padding: 0 7px; color: #cbd9eb; background: #2a303a; font-size: 11px; font-weight: 650; }
.attachment-actions button:hover { background: #354252; }
.upload-progress { display: grid; gap: 4px; }
.upload-progress progress { width: 100%; height: 4px; accent-color: #9bbce2; }
.chat-upload.failed { background: #38252a; }
.chat-composer { position: relative; padding: 9px; border-top: 1px solid #2a2c32; }
.chat-composer textarea { display: block; border-color: #343740; background: #111214; padding-left: 39px; }
.attachment-button { position: absolute; z-index: 1; left: 13px; bottom: 14px; color: #aeb1b8; }
.attachment-button:disabled { opacity: .4; cursor: not-allowed; }
.send-button { position: absolute; right: 13px; bottom: 14px; color: #b8cee8; }

.settings-popover { position: fixed; z-index: 5; bottom: 73px; left: 50%; width: min(390px, calc(100vw - 24px)); max-height: min(690px, calc(100vh - 96px)); transform: translateX(-50%); border: 1px solid #34363e; border-radius: 9px; background: #1b1c20; box-shadow: 0 14px 34px rgba(0, 0, 0, .34); overflow: auto; }
.modal-backdrop { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(3,4,6,.62); }
.share-dialog { width: min(520px, 100%); display: grid; gap: 17px; padding: 18px; border: 1px solid #353841; border-radius: 12px; background: #1b1c20; box-shadow: 0 24px 65px rgba(0,0,0,.48); }
.share-dialog .panel-header { min-height: auto; padding: 0; border: 0; }.share-dialog h2 { margin: 0; font-size: 17px; }.share-dialog .panel-header p { margin: 4px 0 0; color: #898c94; font-size: 12px; }.share-dialog fieldset { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }.share-dialog legend { color: #bdbfc5; font-size: 12px; font-weight: 700; }.share-choice-row { display: flex; flex-wrap: wrap; gap: 7px; }.share-choice { position: relative; display: inline-flex; align-items: center; min-height: 34px; padding: 0 10px; border: 1px solid #353841; border-radius: 6px; color: #bfc1c7; background: #15161a; font-size: 12px; cursor: pointer; }.share-choice input { position: absolute; opacity: 0; pointer-events: none; }.share-choice.is-selected { border-color: #7595bd; color: #ecf1f7; background: #24303d; }.share-dialog-actions { display: flex; justify-content: flex-end; }.share-dialog-actions .button { padding: 0 15px; }
.desktop-picker-backdrop { z-index: 12; }
.desktop-source-picker { width: min(860px, 100%); max-height: min(760px, calc(100dvh - 32px)); grid-template-rows: auto auto auto minmax(0, 1fr) auto auto; }
.desktop-picker-tabs { display: flex; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid #30323a; }
.desktop-picker-tabs button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 7px; color: #999ca5; background: transparent; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.desktop-picker-tabs button[aria-selected="true"] { color: #f2f3f5; background: #2b2e36; }
.desktop-picker-status { min-height: 18px; margin: 0; color: #a5a8b0; font-size: 12px; }
.desktop-source-grid { min-height: 220px; overflow: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 12px; padding: 2px; }
.desktop-source-card { min-width: 0; display: grid; gap: 9px; padding: 8px; border: 1px solid #343740; border-radius: 10px; color: #e8e9ec; background: #141519; text-align: left; cursor: pointer; }
.desktop-source-card:hover { border-color: #56606d; background: #191b20; }.desktop-source-card.is-selected { border-color: #86a9d1; box-shadow: 0 0 0 2px rgba(115,153,197,.18); }
.desktop-source-thumbnail { aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; border-radius: 6px; background: #08090b; }
.desktop-source-thumbnail img { width: 100%; height: 100%; object-fit: contain; }.desktop-source-copy { min-width: 0; display: grid; gap: 2px; }.desktop-source-copy strong { overflow: hidden; color: #eeeff2; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.desktop-source-copy small { color: #858994; font-size: 10px; }
.desktop-audio-note { padding: 9px 11px; border-radius: 7px; background: #24242a; }
.desktop-copy-label { display: grid; gap: 7px; color: #bbbfc7; font-size: 12px; font-weight: 700; }.desktop-copy-url { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid #383b45; border-radius: 7px; color: #eceef2; background: #121318; font: inherit; font-size: 12px; }
.profile-popover { position: fixed; z-index: 12; top: 60px; right: 16px; width: min(270px, calc(100vw - 28px)); display: grid; gap: 12px; padding: 12px; border: 1px solid #383a42; border-radius: 10px; background: #1c1d22; box-shadow: 0 18px 42px rgba(0,0,0,.4); }.profile-popover header, .profile-popover header > div { display: flex; align-items: center; gap: 9px; }.profile-popover header { justify-content: space-between; }.profile-popover strong, .profile-popover header span { display: block; }.profile-popover strong { font-size: 13px; }.profile-popover header span { color: #898c94; font-size: 11px; }.profile-actions { display: grid; gap: 5px; }.profile-upload { display: grid; place-items: center; text-align: center; }.profile-logout { color: #e9a4ac; }
.audio-volume-popover { position: fixed; z-index: 16; bottom: 73px; left: 50%; width: min(330px, calc(100vw - 24px)); transform: translateX(-50%); border: 1px solid #34363e; border-radius: 9px; background: #1b1c20; box-shadow: 0 14px 34px rgba(0, 0, 0, .34); }
.audio-volume-popover .popover-close { width: 40px; height: 40px; touch-action: manipulation; }
.remote-volume-fields { display: grid; gap: 12px; padding: 14px; }
.remote-volume-control { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; color: #d1d3d8; font-size: 12px; }
.remote-volume-control output { color: #a8c4e5; font-variant-numeric: tabular-nums; }
.remote-volume-control input { grid-column: 1 / -1; min-height: 20px; padding: 0; accent-color: #9bbce2; }
.settings-fields { display: grid; gap: 7px; padding: 13px; }
.settings-title { margin: 0 0 2px; color: #eeeef0; font-size: 14px; font-weight: 750; }
.settings-fields select { min-height: 37px; }
.setting-check { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: #d2d3d6; font-size: 12px; }
.setting-check input { width: 15px; min-height: 15px; accent-color: #9ab7db; }
.device-note, .diagnostic-revision { margin: 0; color: #888b94; font-size: 11px; line-height: 1.35; }
.screen-audio-route { color: #cfc2a8; }
.diagnostic-revision { color: #aec8ed; }
.audio-meter { display: grid; gap: 5px; padding: 8px 9px; border-radius: 7px; background: #15161a; }
.audio-meter-row { display: flex; justify-content: space-between; color: #b4b6bd; font-size: 11px; }
.audio-meter output, .audio-manual-controls output { color: #91b6e2; font-variant-numeric: tabular-nums; }
.audio-meter meter { width: 100%; height: 8px; }
.audio-meter.is-clipping { box-shadow: inset 0 0 0 1px #a94d59; }
.gate-threshold-marker { position: relative; color: #858995; font-size: 10px; }
.ptt-setting { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 8px; border-radius: 7px; background: #15161a; color: #b9bbc2; font-size: 11px; }
.ptt-setting kbd { min-width: 52px; padding: 5px 7px; border: 1px solid #41444d; border-radius: 5px; color: #eeeef0; background: #23252b; text-align: center; }
.ptt-setting .button { min-height: 30px; padding: 0 9px; font-size: 11px; }
.audio-advanced { margin-top: 4px; border-top: 1px solid #2f3138; padding-top: 9px; }
.audio-advanced summary { color: #c5c7cd; font-size: 12px; font-weight: 700; cursor: pointer; }
.audio-advanced > div { display: grid; gap: 7px; margin-top: 9px; }
.audio-manual-controls { display: grid; gap: 5px; padding: 3px 0; }
.audio-manual-controls label { display: flex; justify-content: space-between; }
.audio-manual-controls input[type="range"] { min-height: 20px; padding: 0; accent-color: #9bbce2; }
.is-hidden { display: none; }
.audio-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 3px; }
.audio-actions .text-button { grid-column: 1 / -1; }
.audio-actions .button { min-height: 36px; font-size: 12px; }

.call-controls { min-height: 62px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 12px max(9px, env(safe-area-inset-bottom)); border-top: 1px solid #27292f; background: #18191d; }
.control { min-height: 37px; border: 0; border-radius: 7px; color: #d9dade; background: transparent; font-size: 12px; font-weight: 700; }
.icon-control { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; }
.icon-control:hover, .control.is-active { background: #2a2c32; }
.control.is-muted { color: #ffb8c0; background: #3b252a; }
.control-share { color: #c3d9ef; background: #22303d; }
.control-share:hover { background: #2a3b4c; }
.control-leave { margin-left: 5px; color: #ffbdc4; }
.control-leave:hover { background: #392329; }
.unread-badge { min-width: 16px; height: 16px; display: inline-grid; place-items: center; border-radius: 8px; padding: 0 4px; color: #191a1d; background: #e9e9ea; font-size: 9px; }
#audio-host { position: fixed; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
:fullscreen .screen-video, .stage:fullscreen .screen-video { height: 100vh; }

@media (max-width: 980px) { .call-workspace.chat-open { grid-template-columns: minmax(0, 1fr) 286px; } .call-main.has-share { grid-template-columns: minmax(0, 1fr) 190px; } .icon-control span { display: none; } .icon-control { width: 38px; justify-content: center; padding: 0; } }
@media (max-width: 760px) { .call-workspace.chat-open { grid-template-columns: minmax(0, 1fr); } .chat-panel { position: fixed; z-index: 4; top: 54px; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); width: min(360px, 100%); border-left: 1px solid #34363e; box-shadow: -12px 0 28px rgba(0, 0, 0, .28); } .screen-share-grid, .screen-share-grid.count-1, .screen-share-grid.count-5, .screen-share-grid.count-6, .screen-share-grid.count-7, .screen-share-grid.count-8 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(132px, 1fr); } .overview-participants { max-height: 92px; overflow: auto; } }
@media (max-width: 760px) { .entry-content, .invite-content { grid-template-columns: 1fr; align-content: center; }.invite-copy { text-align: center; justify-items: center; }.invite-copy h1 { font-size: clamp(34px, 10vw, 48px); }.invite-content { gap: 28px; }.entry-copy { min-height: 0; justify-items: center; text-align: center; padding: 36px 0 14px; }.entry-copy h1 { font-size: clamp(42px, 12vw, 62px); }.entry-copy p { max-width: 470px; }.entry-benefits { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; } }
@media (max-width: 540px) { .landing-shell { align-content: start; padding-top: 24px; } .landing-card { padding: 20px; } .entry-copy { min-height: 130px; }.join-form { grid-template-columns: 1fr; } .call-header { gap: 9px; padding: 0 10px; } .connection-state, .call-account span { display: none; } .copy-link span { display: none; } .copy-link { width: 32px; justify-content: center; padding: 0; } .call-workspace { padding: 6px; } .call-main.has-share { grid-template-columns: minmax(0, 1fr); } .people-rail { display: none; } .participant-stage { padding: 12px; } .participant-grid, .participant-grid.count-2, .participant-grid.count-5, .participant-grid.count-6, .participant-grid.count-7, .participant-grid.count-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .participant-grid .participant { min-height: 130px; padding: 9px; } .participant-grid .participant .avatar { flex-basis: 48px; width: 48px; height: 48px; font-size: 15px; } .participant-grid .participant-action, .participant-grid .speaking-dot { display: none; } .call-controls { justify-content: space-between; padding: 8px; } .icon-control { width: 36px; } .control-leave { margin-left: 0; } .quality { max-width: 80%; } }

/* Reference-led home: real controls over the composition supplied by the user. */
.reference-home { width: 100%; max-width: none; min-height: 100dvh; padding: clamp(28px, 4.2vw, 64px) clamp(28px, 5.1vw, 98px); background: radial-gradient(circle at 33% 48%, rgba(50,79,181,.13), transparent 32%), radial-gradient(circle at 85% 10%, rgba(100,72,217,.13), transparent 29%), radial-gradient(circle at 10% 93%, rgba(78,62,205,.18), transparent 28%), #090d16; }
.reference-home .entry-header { padding: 0; align-self: start; }
.reference-home .brand { font-size: 25px; letter-spacing: .17em; }
.reference-home .account-chip { border: 1px solid #30364a; padding: 6px 12px 6px 6px; background: rgba(23,28,43,.78); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.reference-entry-content { width: min(1740px, 100%); margin: 0 auto; grid-template-columns: minmax(510px, 1fr) minmax(260px, 340px) minmax(500px, 620px); gap: clamp(24px, 3vw, 58px); }
.reference-entry-copy { min-height: 0; align-content: center; gap: 27px; }
.reference-entry-copy h1 { font-size: clamp(48px, 3.35vw, 64px); line-height: 1.02; letter-spacing: -.052em; }
.reference-entry-copy h1 em { color: #716eff; background: linear-gradient(90deg,#7191ff,#8a63ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.reference-entry-copy > p { max-width: 585px; color: #abb3c6; font-size: clamp(16px, 1.05vw, 21px); line-height: 1.55; }
.reference-benefits { grid-template-columns: repeat(4,minmax(110px,1fr)); gap: 26px; max-width: 680px; margin-top: 28px; }
.reference-benefits span { display: grid; align-content: start; gap: 13px; color: #c0c7d8; font-size: 13px; line-height: 1.5; }
.reference-benefits svg { width: 25px; height: 25px; color: #d4dbef; }
.reference-benefits b { font-weight: 520; }
.nexo-orbit { position: relative; width: 100%; aspect-ratio: 1; align-self: center; }
.orbit-ring { position: absolute; inset: 9%; border: 1px solid rgba(122,137,182,.35); border-radius: 50%; box-shadow: inset 0 0 55px rgba(77,79,205,.05); }
.orbit-core { position: absolute; inset: 25%; display: grid; place-items: center; border: 1px solid rgba(120,122,255,.65); border-radius: 50%; color: #f2f2ff; background: radial-gradient(circle at 40% 30%,#20274a 0,#11162c 43%,#080b15 72%); box-shadow: inset -16px -18px 38px rgba(95,73,220,.24), inset 12px 8px 28px rgba(91,126,255,.17), 0 0 36px rgba(92,80,232,.28); font-size: clamp(42px,4vw,64px); font-weight: 700; }
.orbit-node { position: absolute; width: 52px; height: 52px; border: 1px solid rgba(149,164,209,.55); border-radius: 50%; box-shadow: inset 0 0 20px rgba(255,255,255,.08),0 8px 25px rgba(0,0,0,.35); }
.orbit-one { top: 3%; left: 60%; background: #243a73; }.orbit-two { top: 22%; left: 3%; background: #684943; }.orbit-three { right: 0; bottom: 27%; background: #574070; }.orbit-four { left: 21%; bottom: 0; background: #275652; }
.reference-entry-card { width: 100%; min-height: 445px; align-content: start; gap: 0; padding: 0; border: 1px solid #30384e; border-radius: 22px; background: linear-gradient(145deg,rgba(24,31,50,.92),rgba(12,17,30,.96)); box-shadow: 0 34px 90px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.025); overflow: hidden; }
.entry-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 24px 38px 0; }
.entry-tab { position: relative; min-height: 50px; border: 0; border-bottom: 1px solid #30364a; color: #9aa3b8; background: transparent; font-size: 15px; }
.entry-tab.is-active { color: #f4f5fa; }.entry-tab.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #7c6cff; box-shadow: 0 0 13px rgba(114,92,255,.6); }.entry-tab:disabled { cursor: default; }
.entry-card-body { display: grid; gap: 18px; padding: 38px; }.entry-card-body > h2 { display: none; }
.reference-entry-card input { border-color: #30384d; background: rgba(13,18,31,.82); min-height: 56px; }
.reference-entry-card .button { min-height: 56px; }
.reference-entry-card .button-primary { background: linear-gradient(115deg,#545cff,#755aff); box-shadow: 0 8px 24px rgba(86,74,231,.24); }
.reference-entry-card .button-secondary { border: 1px solid #30384d; background: rgba(22,28,43,.7); }
.reference-join { grid-template-columns: 34px minmax(0,1fr) 122px; gap: 0; align-items: center; border: 1px solid #30384d; border-radius: 9px; background: rgba(13,18,31,.82); padding: 5px; }
.reference-join .join-input-icon { display: grid; place-items: center; color: #c4cbdd; }.reference-join input { min-height: 50px; border: 0; background: transparent; }.reference-join .button { min-height: 50px; }
.create-room-entry { display: flex; align-items: center; justify-content: center; gap: 10px; }
.entry-privacy { margin: auto 0 0; padding: 0 38px 26px; color: #747d92; font-size: 11px; text-align: center; }
.reference-footer { display: flex; justify-content: space-between; color: #596176; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }

/* The holder follows the real frame geometry; the stage owns unavoidable free space. */
.focused-share { display: grid; place-items: center; background: #050506; }
.screen-video { max-width: 100%; max-height: 100%; flex: none; border-radius: 7px; background: #020203; box-shadow: 0 0 0 1px rgba(255,255,255,.035),0 10px 36px rgba(0,0,0,.35); }
.screen-video video { display: block; object-fit: contain; }

.audio-section { border-top: 1px solid #2f3138; padding-top: 9px; }.audio-section summary { color: #c5c7cd; font-size: 12px; font-weight: 700; cursor: pointer; }.audio-section > div { display: grid; gap: 8px; margin-top: 10px; }
.unsupported-setting { padding: 5px 7px; border-radius: 5px; background: #17181c; }
.calibration-track { position: relative; height: 9px; overflow: visible; border-radius: 5px; background: #2a2d34; }.calibration-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#526b94,#77b08f,#d89b62); transition: width .08s linear; }.calibration-threshold { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #f2e1a5; box-shadow: 0 0 5px rgba(242,225,165,.4); }.calibration-labels { display: flex; justify-content: space-between; color: #737986; font-size: 9px; }.gate-state { display: inline-flex; align-items: center; gap: 7px; color: #858b96; font-size: 10px; }.gate-state span { width: 7px; height: 7px; border-radius: 50%; background: #737782; }.gate-state.is-open { color: #9fd6b6; }.gate-state.is-open span { background: #72c895; }.gate-state.is-closed span { background: #7a7e88; }

@media (max-width: 1450px) { .reference-entry-content { grid-template-columns: minmax(470px,1fr) 250px minmax(440px,520px); gap: 24px; }.reference-entry-copy h1 { font-size: 58px; }.reference-benefits { gap: 16px; }.orbit-node { width: 44px; height: 44px; } }
@media (max-width: 1120px) { .reference-home { padding: 28px 40px; }.reference-entry-content { grid-template-columns: minmax(0,1fr) minmax(420px,500px); gap: 44px; }.nexo-orbit { display: none; }.reference-entry-copy h1 { font-size: clamp(46px,6vw,64px); }.reference-benefits { grid-template-columns: repeat(2,minmax(130px,1fr)); } }
@media (max-width: 760px) { .reference-home { min-height: 100dvh; padding: 24px 20px; }.reference-entry-content { grid-template-columns: 1fr; align-content: start; gap: 34px; padding: 44px 0; }.reference-entry-copy { justify-items: start; text-align: left; padding: 0; }.reference-entry-copy h1 { font-size: clamp(42px,12vw,62px); }.reference-entry-copy > p { font-size: 15px; }.reference-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 8px; }.reference-entry-card { min-height: 0; }.entry-tabs { padding: 15px 20px 0; }.entry-card-body { padding: 24px 20px; }.entry-privacy { padding: 0 20px 20px; }.reference-footer { display: none; } }
@media (max-width: 480px) { .reference-home .brand { font-size: 20px; }.reference-benefits { gap: 18px 12px; }.reference-join { grid-template-columns: 30px minmax(0,1fr); }.reference-join .button { grid-column: 1 / -1; width: 100%; }.orbit-node { display: none; } }
@media (max-width: 760px) { .desktop-source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.desktop-source-picker { max-height: calc(100dvh - 20px); }.desktop-source-picker .share-dialog-actions { flex-wrap: wrap; } }
@media (max-width: 460px) { .desktop-source-grid { grid-template-columns: 1fr; } }
