/* Desktop polish — better-ui. Flaticon UIcons Regular Rounded, locally bundled. */
body.desktop-native{--cv-ink:#edf0f6;--cv-soft:#99a5b7;--cv-ring:0 0 0 1px oklch(1 0 0 / .08);overflow:auto!important}
body.desktop-native .shell{display:flex!important;align-items:stretch!important;justify-content:flex-start!important;padding:12px!important;min-height:100dvh!important;height:auto!important;box-sizing:border-box;overflow:visible!important}
body.desktop-native .window{width:100%!important;max-width:none!important;margin:0!important;transform:none!important;border-radius:18px!important;box-shadow:0 12px 50px #0004;border-color:#ffffff12}
body.desktop-native .window:not(.screen-theatre):not(.music-open){display:flex!important;flex-direction:column!important;height:calc(100dvh - 24px)!important;min-height:540px!important;max-height:none!important}
body.desktop-native .window>.titlebar{height:62px!important;min-height:62px!important;padding:0 24px!important;gap:18px;flex-shrink:0}
body.desktop-native .titlebar .topright{display:flex;align-items:center;gap:8px;margin-left:auto;min-width:0;flex-shrink:0}
body.desktop-native .titlebar .topright>b{font-size:9px;letter-spacing:1.2px;margin-right:8px}
body.desktop-native .brand-name{font-size:20px!important;letter-spacing:-.7px!important}
.desktop-brand-tag{display:inline-flex;align-items:center;gap:5px;color:#82948f;font-size:9px;letter-spacing:.12em;margin-left:14px;padding-left:14px;border-left:1px solid #ffffff16}
.desktop-brand-tag::before{content:'';width:5px;height:5px;background:#9cc9b9;border-radius:50%}
body.desktop-native .titlebar .desktop-launch{width:auto!important;min-width:0!important;height:36px!important;padding:0 12px!important;gap:7px;border-radius:9px!important;flex-shrink:0;color:#c2d4cc!important;font-size:10px!important;letter-spacing:0!important}
body.desktop-native .window:not(.screen-theatre):not(.music-open)>.content{flex:1 1 auto;min-height:0!important;overflow:auto;overscroll-behavior:contain}
body.desktop-native .window:not(.screen-theatre):not(.music-open) .session.active{display:flex;flex-direction:column;min-height:100%;padding:22px 24px;gap:18px;box-sizing:border-box}
body.desktop-native .window:not(.screen-theatre):not(.music-open) .session.active.has-screen{height:100%;min-height:0;gap:12px;padding:14px 18px}
body.desktop-native .roomline h2{font-size:23px;letter-spacing:-.7px}
body.desktop-native #cvConnection{padding:9px 18px!important;min-height:0!important}
body.desktop-native .window:not(.screen-theatre) .has-screen .roomline{flex-shrink:0;min-height:38px;gap:14px}
body.desktop-native .has-screen .roomline h2{font-size:18px;margin:2px 0}
body.desktop-native .has-screen .roomline .sub{display:none}
body.desktop-native .has-screen .roomline .eyebrow{font-size:8px;letter-spacing:1.5px}
body.desktop-native .window:not(.screen-theatre) #people{display:grid!important;grid-template-columns:repeat(var(--cv-people-count,2),minmax(0,1fr))!important;gap:12px;min-height:0!important;flex-shrink:0}
body.desktop-native .window:not(.screen-theatre) .person{min-width:0;border-radius:14px;transition:background-color 150ms ease-out,border-color 150ms ease-out}
body.desktop-native .session:not(.has-screen) .person{min-height:185px!important;padding:20px 16px!important}
body.desktop-native .session:not(.has-screen) .person .avatar{width:64px!important;height:64px!important}
body.desktop-native .window:not(.screen-theatre) .has-screen .person{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;align-content:center!important;align-items:center!important;gap:3px 10px!important;min-height:82px!important;height:82px!important;max-height:82px!important;padding:9px 12px!important}
body.desktop-native .window:not(.screen-theatre) .has-screen .person .avatar{grid-column:1!important;grid-row:1/4!important;width:36px!important;height:36px!important;margin:0!important}
body.desktop-native .window:not(.screen-theatre) .has-screen .person .name,body.desktop-native .has-screen .desktop-extra-person>strong{grid-column:2;grid-row:1;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.desktop-native .window:not(.screen-theatre) .has-screen .person .role,body.desktop-native .has-screen .desktop-extra-person>small{grid-column:2;grid-row:2;font-size:8px;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.desktop-native .window:not(.screen-theatre) .has-screen .person .userFlags{display:none}
body.desktop-native .window:not(.screen-theatre) .has-screen .person label{grid-column:2;grid-row:3;margin:0!important;gap:6px!important;max-width:100%!important;font-size:8px;justify-content:flex-start!important}
body.desktop-native .has-screen .person label input{width:70px;min-width:25px;flex:1;max-width:110px}
body.desktop-native .window:not(.screen-theatre):not(.music-open) .viewer{position:relative;flex:1 1 auto!important;width:100%!important;min-height:160px!important;height:auto!important;aspect-ratio:auto!important;max-height:none!important;grid-column:auto!important;grid-row:auto!important;padding:8px!important}
body.desktop-native .window:not(.screen-theatre) .viewer .streamGrid{height:100%!important;min-height:140px;gap:8px!important}
body.desktop-native .window:not(.screen-theatre) .viewer .streamTile{min-height:140px!important;height:100%!important;aspect-ratio:auto!important;min-width:0;position:relative;border-radius:10px}
body.desktop-native .viewer .streamTile video{width:100%;height:100%;object-fit:contain;outline:1px solid oklch(1 0 0 / .1);outline-offset:-1px}
body.desktop-native .streamBar{gap:8px;padding:8px 10px!important;align-items:center!important;min-width:0;flex-wrap:wrap;background:linear-gradient(transparent,#090d14e8)!important}
body.desktop-native .streamBar>span{flex:1;min-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}
body.desktop-native .streamBar .streamFullscreen{width:30px!important;height:30px!important;min-width:30px!important;padding:6px!important;font-size:0!important;border-radius:7px!important;background:#141b25cc!important;color:#d9e1eb!important;border:1px solid #ffffff20!important;flex:none}
body.desktop-native .streamBar #screenAudioVolume{order:3;flex:1 0 100%;width:100%;background:none;border:0;padding:0!important;margin:0!important;border-radius:0}
body.desktop-native .streamBar #screenAudioVolume:has(input:disabled){display:none!important}
body.desktop-native .streamBar .shareAudioHeading{display:none}
body.desktop-native .streamBar .shareAudioControls{display:flex;gap:8px;align-items:center;justify-content:flex-end}
body.desktop-native .streamBar .shareAudioControls input{width:90px;max-width:150px;flex:1}
body.desktop-native .streamBar .shareAudioControls output{font-size:9px}
body.desktop-native .viewActions{gap:6px;z-index:5}
body.desktop-native .theaterBtn{display:inline-flex;align-items:center;gap:6px;font-size:9px;padding:7px 9px;border-radius:7px}
body.desktop-native .window>.controls{min-height:70px;padding:12px 20px;gap:14px;flex-shrink:0;border-top:1px solid #ffffff0b}
body.desktop-native .controls .status{min-width:140px;max-width:230px}
body.desktop-native .controls .status small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:215px}
body.desktop-native .controls .buttons{gap:6px;flex-wrap:wrap;justify-content:center}
body.desktop-native .ctrl{height:38px;min-width:38px;padding:0 11px;border-radius:9px;gap:7px;letter-spacing:.2px}
body.desktop-native .ctrl.emphasis{margin-left:4px;background:#45252c;border-color:#8c4855;color:#f3b4bc}
body.desktop-native .shortcut{min-width:75px;font-size:8px}
body.desktop-native .window #bottomChatDock{max-width:none;width:100%;box-sizing:border-box;flex-shrink:0}
body.desktop-native .window #bottomChatDock.open #qChatResizeHandle{height:14px!important;min-height:14px!important;background:#151b25;border-radius:0}
body.desktop-native .window #qChatResizeHandle::before{height:3px;width:38px;background:#778399;transition:background-color 100ms ease-out!important}
body.desktop-native .chatTitle{padding:9px 16px;font-size:9px;letter-spacing:1.2px}
body.desktop-native .chatForm{padding:10px 14px!important}
body.desktop-native .chatForm input{min-height:38px;padding:9px 12px}
/* The message list consumes resized space; the composer stays at the bottom. */
body.desktop-native .window #bottomChatDock.open #chatPane{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden}
body.desktop-native .window #bottomChatDock.open #chatMessages{flex:1 1 0%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain}
body.desktop-native .window #bottomChatDock.open #chatForm,body.desktop-native .window #bottomChatDock.open .chatTitle,body.desktop-native .window #bottomChatDock.open #qChatResizeHandle,body.desktop-native .window #bottomChatDock.open #qFileStage{flex:0 0 auto!important}
body.desktop-native .strip{display:flex;align-items:center;gap:12px;padding:8px 20px;min-height:27px;flex-shrink:0;font-size:8px}
.desktop-icon-credit{font-size:9px;letter-spacing:0;color:#8996a8;text-decoration:none;margin-left:auto}
body.desktop-native .strip #stripRight{margin-left:auto}
body.desktop-native .idle{height:100%;min-height:330px;padding:36px clamp(24px,5vw,76px);gap:24px 42px}
body.desktop-native .idle h1{font-size:clamp(35px,4.1vw,62px);max-width:650px;line-height:1.06;letter-spacing:-2px}
body.desktop-native .idle>p{max-width:520px;line-height:1.8}
body.desktop-native .idle .mark-logo{min-height:240px}
body.desktop-native .idle .btn{display:inline-flex;align-items:center;gap:10px;height:46px;border-radius:10px}
body.desktop-native .overlay{overscroll-behavior:contain;animation:none!important}
body.desktop-native .modal{overscroll-behavior:contain;animation:none!important;transition:opacity 150ms ease-out}
body.desktop-native #shareModal .modal{max-height:calc(100dvh - 32px);padding:22px!important;border-radius:20px;scrollbar-gutter:stable}
.desktop-share-flow{gap:14px}
.desktop-source-tabs{border-radius:13px;padding:5px;border:1px solid #ffffff12}
.desktop-source-tabs button{font:600 12px 'Segoe UI',sans-serif;transition:background-color 100ms ease-out;color:#b7c0ce}
.desktop-sources{overscroll-behavior:contain;max-height:200px;scrollbar-gutter:stable}
.desktop-source{position:relative;min-height:104px;border:1px solid transparent;box-shadow:var(--cv-ring);border-radius:12px;transition:background-color 100ms ease-out,box-shadow 100ms ease-out}
.desktop-source[aria-pressed=true]{border-color:#efb184;box-shadow:0 0 0 1px #efb18420;background:#302720}
.desktop-source[aria-pressed=true]::after{content:'';position:absolute;right:11px;top:11px;width:14px;height:14px;background:#ffc897;mask:url('/icons/check.svg') center/contain no-repeat}
.desktop-source-icon{display:block;font-size:0;color:#8ea5b8;width:28px;height:28px}
.desktop-source[aria-pressed=true] .desktop-source-icon{color:#f2ba90}
.desktop-source-icon::before{content:'';display:block;width:28px;height:28px;background:currentColor;mask:url('/icons/apps.svg') center/contain no-repeat}
#cvSources[aria-labelledby=cvScreensTab] .desktop-source-icon::before{mask-image:url('/icons/screen.svg')}
.desktop-share-flow select{border-color:#637084;border-radius:8px;background:#121720}
.desktop-advanced{border:1px solid transparent;box-shadow:var(--cv-ring);padding:14px;border-radius:12px;background:#121720}
.desktop-advanced summary{font-weight:550;min-height:22px}
.desktop-advanced summary::after{content:'＋';color:#8190a4;margin-left:auto;order:2}
.desktop-advanced[open] summary::after{content:'−'}
.desktop-advanced summary span{margin-left:auto}
.desktop-bitrate{margin-top:16px!important}
.desktop-share-footer .btn{min-height:40px;border-radius:9px}
.desktop-test{border:1px solid transparent;box-shadow:var(--cv-ring);border-radius:11px}
.desktop-test video{outline:1px solid oklch(1 0 0 / .1);outline-offset:-1px;height:180px}
.desktop-test details{padding:8px 12px;font-size:11px;color:#91a0b3;overscroll-behavior:contain}
.desktop-test pre{font-family:ui-monospace,Consolas,monospace;line-height:1.6}
body.desktop-native .music-rail,body.desktop-native .music-queue,body.desktop-native .theaterSidebar{overscroll-behavior:contain}
body.desktop-native:has(.music-open) .shell{height:100dvh!important;padding:12px!important;overflow:hidden!important}
body.desktop-native .window.music-open{grid-template-columns:minmax(0,1fr) minmax(310px,350px)!important;grid-template-rows:62px auto auto minmax(0,1fr) auto auto auto!important;border-radius:18px!important}
body.desktop-native .window.music-open>.titlebar{height:62px!important;min-height:62px!important}
body.desktop-native .window.music-open .session{padding:14px!important;gap:10px!important}
body.desktop-native .window.music-open .session.has-screen .viewer{min-height:160px!important}
body.desktop-native .window.music-open .viewer .streamTile{min-height:130px!important}
body.desktop-native .window.music-open .viewer .streamGrid{min-height:150px!important}
body.desktop-native .window.music-open .idle{min-height:260px!important;padding:24px!important}
body.desktop-native button:not(:disabled){-webkit-tap-highlight-color:transparent}
body.desktop-native button:focus-visible,body.desktop-native summary:focus-visible,body.desktop-native a:focus-visible{outline:2px solid #ffb584;outline-offset:3px}
body.desktop-native input:focus-visible,body.desktop-native select:focus-visible,body.desktop-native textarea:focus-visible{outline:2px solid #ffb584;outline-offset:2px}
body.desktop-native button:active{transform:none!important}
body.desktop-native .person.speaking{border-color:#8bd9b4}
@media(hover:hover){
 .desktop-source:hover{background:#252b35;box-shadow:0 0 0 1px oklch(1 0 0 / .13)}
 .desktop-source[aria-pressed=true]:hover{background:#3a2d23}
 .desktop-source-tabs button:hover{background-color:#ffffff08}
 .desktop-icon-credit:hover{color:#efbd96}
}
@media(prefers-reduced-motion:no-preference){
 body.desktop-native button:not([data-static-motion]){transition-property:scale,background-color,color,border-color,opacity;transition-duration:150ms;transition-timing-function:ease-out}
 body.desktop-native button:not(:disabled):not([data-static-motion]):active{scale:.96}
}
@media(prefers-reduced-motion:reduce){
 body.desktop-native .avatar,body.desktop-native .person,body.desktop-native .modal,body.desktop-native .overlay,body.desktop-native .voip-art *{animation:none!important;transition-property:opacity!important;transition-duration:150ms!important}
 body.desktop-native button{scale:1!important;transition:opacity 150ms ease-out!important}
 body.desktop-native button:hover{transform:none!important}
 body.desktop-native #musicToggle *{transition-property:opacity!important}
 body.desktop-native .overlay{backdrop-filter:none!important}
}
@media(max-width:1050px){
 body.desktop-native .window[data-participants="3"] #people,body.desktop-native .window[data-participants="4"] #people{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.desktop-native .shortcut,body.desktop-native .titlebar .topright>b{display:none}
 body.desktop-native .controls .status{min-width:100px;max-width:160px}
 .desktop-brand-tag{display:none}
 body.desktop-native .titlebar .desktop-launch{font-size:9px!important;padding:0 9px!important}
}
@media(max-width:850px){
 body.desktop-native:has(.music-open) .shell{height:auto!important;overflow:visible!important}
 body.desktop-native .window.music-open{grid-template-columns:minmax(0,1fr)!important;height:auto!important}
 body.desktop-native .window.music-open .music-rail{max-height:600px}
 body.desktop-native .window>.controls{flex-wrap:wrap;justify-content:center;padding:10px}
 body.desktop-native .controls .status{display:none}
 body.desktop-native .window>.titlebar{padding:0 14px!important}
 body.desktop-native .idle{grid-template-columns:1fr;padding:30px 24px}
 body.desktop-native .idle .mark-logo{display:none}
}
@media(max-height:740px){body.desktop-native .window>.titlebar{height:52px!important;min-height:52px!important}body.desktop-native .window>.controls{min-height:58px;padding:9px 14px}body.desktop-native .session:not(.has-screen) .person{min-height:140px!important}body.desktop-native .session:not(.has-screen) .person .avatar{width:48px!important;height:48px!important}}
@media(max-height:740px) and (min-width:851px){body.desktop-native .window.music-open{grid-template-rows:52px auto auto minmax(0,1fr) auto auto auto!important}body.desktop-native .window.music-open>.titlebar{height:52px!important;min-height:52px!important}body.desktop-native .window.music-open .has-screen .person{min-height:54px!important;height:54px!important;max-height:54px!important;padding:5px 9px!important;gap:1px 8px!important}body.desktop-native .window.music-open .session.has-screen .viewer{min-height:140px!important}body.desktop-native .window.music-open .viewer .streamGrid{min-height:0!important}body.desktop-native .window.music-open .viewer .streamTile{min-height:0!important}}
@media(forced-colors:active){.desktop-source,.desktop-advanced,.desktop-test{border-color:ButtonText}.desktop-source[aria-pressed=true]{border:2px solid Highlight}}
