/* NyxVid reference skin. Scoped to the command workspace: existing SFU layouts,
   moderation controls and twelve-person calls keep their own geometry. */
body.nyx-luxury{--nyx-green:#37efab;--nyx-accent:#37efab;--nyx-champagne:#d9eee6;--nyx-ink:#000;--lux-muted:#7f9691;background:#000!important;color:#f0f8f5}
.nyx-luxury .app{display:grid!important;grid-template-columns:210px minmax(0,1fr)!important;max-width:1720px!important;margin:auto!important;min-height:100dvh;background:#000!important;gap:0!important}
.nyx-luxury .sidebar{display:flex!important;position:sticky!important;inset:0 auto auto 0!important;width:auto!important;height:100dvh!important;max-height:100dvh!important;overflow:auto;padding:26px 14px!important;border-right:1px solid #1d302b!important;background:linear-gradient(165deg,#05241b,#020d09 55%,#000)!important;box-shadow:24px 0 70px #0df70704}
.nyx-luxury .sidebar .brand{margin:0 8px 24px}.nyx-luxury .sidebar .brand b,.nyx-luxury .sidebar>.eyebrow{display:none!important}.nyx-luxury .sidebar .brandMark{width:30px;height:30px}.nyx-luxury .sidebar .brand>span{color:#effff7;letter-spacing:-.04em;font-size:23px}
.nyx-luxury .sidebar .navbtn{min-height:44px;margin:2px 0;padding:11px 12px;border:1px solid transparent;border-radius:9px;color:#a7bab3;font-size:12px;font-weight:500;background:transparent;text-align:left}.nyx-luxury .sidebar .navbtn svg{width:19px;height:19px;color:#5ccfa0}.nyx-luxury .sidebar .navbtn.active{color:#45ecb3;background:linear-gradient(100deg,#16ae7840,#142c2533);border-color:#42ffad25;box-shadow:inset 3px 0 #37efab,0 0 24px #21d99808}.nyx-luxury .sidebar .create{color:#59efb9;border:1px solid #27ab7944;background:#0d34258c;margin-top:20px}.nyx-luxury .sidebar .sidebottom{margin-top:auto}
.nyx-luxury main.phone-container{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;min-width:0;background:#000!important}.nyx-luxury main.phone-container>header,.nyx-luxury #mobileNav,.nyx-luxury #nyxPersistentPlayer,.nyx-luxury #nyxTrialBanner{display:none!important}.nyx-luxury #content{padding:0!important;margin:0!important;max-width:none!important;min-width:0}
.lux-workspace{padding:0 25px 30px!important;min-width:0;color:#e9f4ef;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:13px}.lux-workspace *{box-sizing:border-box}.lux-header{height:85px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:transparent!important;border:0!important;padding:0!important;position:relative!important;gap:15px}.lux-heading h1{font-size:20px;font-weight:450;letter-spacing:-.04em;margin:0}.lux-heading small{display:block;margin-top:7px;color:#72958a;font-size:8px;letter-spacing:.22em}.lux-brand{display:none;text-decoration:none;color:#fff;align-items:center;gap:7px}.lux-brand img{width:23px;height:23px}.lux-header-actions{display:flex;gap:5px;align-items:center}.lux-button{border:1px solid #31504666;color:#65e6b6;background:#071712a6;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:42px;min-height:42px;padding:9px;cursor:pointer;font:inherit;flex-shrink:0;transition:background .18s,border-color .18s}.lux-button:hover{background:#12382a;border-color:#39efaa8c}.lux-button:focus-visible,.lux-tile:focus-visible,.lux-more:focus-visible{outline:2px solid #4beeb5;outline-offset:4px}.lux-button svg{width:22px;height:22px;flex-shrink:0}.lux-header-actions .lux-button{background:#0a1110;border-color:#26322e70;color:#b9c9c3;min-width:38px;min-height:38px}.lux-header-actions .lux-button:last-child{border-color:#3cecad70;border-radius:50%;color:#3cecad}
.lux-grid{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(160px,.45fr) minmax(340px,1.3fr);grid-template-areas:'cash monitor monitor' 'omni omni selection';gap:14px;align-items:stretch}.lux-panel{min-width:0;border:1px solid #3c514b69;border-radius:14px;background:linear-gradient(135deg,#11191d,#0b1515 90%);box-shadow:inset 0 1px #c3ffe805,0 10px 30px #0006;overflow:hidden;padding:14px;position:relative}.lux-panel-heading{display:flex;align-items:center;justify-content:space-between;min-height:23px;margin-bottom:12px;gap:10px}.lux-panel-heading h2{font-size:11px;letter-spacing:.035em;font-weight:550;color:#dfebe7;margin:0;text-transform:uppercase}.lux-panel-heading .lux-button{border:0;background:none;color:#728c83;min-height:24px;min-width:24px;padding:1px}.lux-panel-heading svg{width:15px;height:15px}.lux-muted{color:var(--lux-muted,#7f9691);font-size:11px;line-height:1.65}.lux-cash{grid-area:cash;min-height:305px}.lux-money{font-size:27px;color:#61e4af;font-weight:500;font-variant-numeric:tabular-nums;display:block;letter-spacing:-.04em;margin:10px 0}.lux-financial small{color:#7b998c;font-size:10px}.lux-chart-empty{height:155px;margin-top:17px;border-left:1px solid #36504444;border-bottom:1px solid #36504444;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#39504444 calc(25% - 1px),#39504444 25%);position:relative}.lux-chart-empty:after{content:'Aucun historique de courbe disponible';position:absolute;inset:0;display:grid;place-items:center;color:#597368;font-size:10px}
.lux-monitor{grid-area:monitor;min-height:305px}.lux-monitor-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(115px,.4fr);gap:13px;min-height:235px}.lux-stage{position:relative;min-width:0;min-height:235px;border:1px solid #3deaa34d;border-radius:11px;overflow:hidden;background:#000;isolation:isolate;outline-offset:-3px}.lux-screen{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(ellipse at 70% 10%,#072e2c66,transparent 65%),#030706}.lux-screen>svg{width:45px;height:45px;color:#238e68}.lux-screen>p{margin:15px;text-align:center}.lux-screen video,.lux-screen iframe{width:100%;height:100%;max-width:100%;border:0;object-fit:contain;background:#000}.lux-caption{position:absolute;left:12px;right:65px;bottom:12px;pointer-events:none;text-shadow:0 2px 15px #000}.lux-caption strong{color:#55f3b9;font-size:13px}.lux-caption p{font-size:11px;line-height:1.5;margin:5px 0 0;max-height:3em;overflow:hidden}.lux-action-stack{position:absolute;right:9px;top:40px;display:grid;gap:8px;padding:7px;border:1px solid #b2ffe51a;background:linear-gradient(130deg,#8aa3a51c,#132821b5);border-radius:14px;backdrop-filter:blur(16px);box-shadow:0 8px 25px #0003}.lux-action-stack .lux-button{border:0;background:transparent;flex-direction:column;padding:4px;min-width:31px;min-height:35px;gap:3px}.lux-action-stack svg{width:23px;height:23px}.lux-action-stack small{font-size:9px;color:#d5e5df;line-height:1.3}.lux-action-stack [aria-pressed=true] svg{fill:#34f4a9;stroke:#34f4a9;filter:drop-shadow(0 0 8px #23fa9f80)}.lux-paging{display:none}.lux-preview-comments,.lux-download-button{display:none}.lux-live-side{display:flex;flex-direction:column;gap:10px;min-width:0}.lux-live-status{border:1px solid #28423b;border-radius:10px;padding:12px;background:#ffffff02;min-height:112px;display:flex;flex-direction:column;gap:9px}.lux-live-status strong{font-size:13px;font-weight:500}.lux-live-status small{font-size:10px;color:#759488;line-height:1.6}.lux-live-dot{color:#33dca0;font-size:17px}.lux-live-side>.lux-button{width:100%;justify-content:flex-start;min-height:40px;font-size:10px;overflow:hidden}.lux-live-side .lux-button span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.lux-studio-button{background:#11473244}
.lux-omni{grid-area:omni;min-height:287px}.lux-collections{display:grid;grid-template-columns:1fr 1fr;gap:18px}.lux-collections section{min-width:0}.lux-collections h3{font-size:9px;font-weight:500;letter-spacing:.08em;color:#bbcdc6;margin:0 0 9px}.lux-short-grid,.lux-cinema-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.lux-cinema-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lux-tile{min-width:0;border:0;background:transparent;padding:0;text-align:left;color:#d7e8df;cursor:pointer;display:flex;flex-direction:column;gap:5px}.lux-tile-art{width:100%;aspect-ratio:3/4;border:1px solid #267b746b;border-radius:9px;overflow:hidden;background:linear-gradient(150deg,#0d242b,#0b0f17);position:relative;display:grid;place-items:center;box-shadow:inset 0 0 25px #3fcdff06}.lux-cinema-grid .lux-tile-art{aspect-ratio:16/10}.lux-tile-art img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.lux-play{font-size:28px;color:#7ba6a0;z-index:1;text-shadow:0 0 15px #000}.lux-tile>strong{font-size:10px;line-height:1.5;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}.lux-tile>small{font-size:9px;color:#758f82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.lux-tile.selected .lux-tile-art{border-color:#40e5ae;box-shadow:0 0 15px #38eaae20}.lux-more{border:1px solid #31524666;background:#0b2820;color:#7bba9e;padding:7px 11px;border-radius:8px;font:inherit;font-size:10px;margin-top:12px;cursor:pointer}.lux-more[hidden]{display:none}
.lux-selection{grid-area:selection}.lux-selection-brand{font-size:10px;color:#a0beb0;margin:0 0 12px}.lux-selection-body{border:1px solid #304b425e;border-radius:10px;background:#819aa509;padding:18px;min-height:185px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.lux-selection-body>svg{width:40px;height:40px;color:#32d3ac;filter:drop-shadow(0 0 12px #32d3ac33)}.lux-selection-body>.lux-button{margin-top:8px}.lux-mobile-host,.lux-mobile-navigation{display:none}.lux-dialog{max-width:600px;width:min(92vw,600px);max-height:85dvh;overflow:auto;color:#e5f5eb;background:#0b1717f5;border:1px solid #479d7c80;border-radius:20px;padding:25px;box-shadow:0 15px 100px #000c;backdrop-filter:blur(20px)}.lux-dialog::backdrop{background:#000b;backdrop-filter:blur(8px)}.lux-dialog h2{font-size:19px;margin:0 45px 20px 0}.lux-close{position:absolute;right:15px;top:15px;transform:rotate(45deg)}.lux-dialog textarea{width:100%;min-height:70px;background:#0007;border:1px solid #355b4c;border-radius:12px;color:#fff;padding:12px;margin:15px 0}.lux-comment-list{max-height:45dvh;overflow:auto}.lux-comment-list article{border-bottom:1px solid #ffffff0c;padding:12px 0}.lux-comment-list strong{color:#72d2aa;font-size:12px}.lux-comment-list p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.lux-product{border:1px solid #2b5948;border-radius:13px;padding:16px;margin:12px 0;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.lux-product>svg{width:28px;height:28px;color:#3bedad}.lux-heart-pulse svg{animation:lux-heart .5s ease-out}@keyframes lux-heart{50%{transform:scale(1.25);filter:drop-shadow(0 0 12px #2effa9)}}
@media(min-width:1600px){.lux-workspace{padding:0 36px 35px!important}.lux-header{height:100px!important}.lux-grid{gap:19px}.lux-cash,.lux-monitor{min-height:365px}.lux-monitor-body,.lux-stage{min-height:290px}.lux-panel{padding:19px}.lux-panel-heading h2{font-size:12px}.lux-chart-empty{height:205px}}
@media(min-width:901px) and (max-width:1180px){.nyx-luxury .app{grid-template-columns:175px minmax(0,1fr)!important}.lux-workspace{padding:0 16px 25px!important}.lux-grid{grid-template-columns:minmax(210px,.85fr) minmax(0,1.2fr);grid-template-areas:'cash monitor' 'omni selection'}.lux-monitor-body{grid-template-columns:1fr}.lux-live-side{display:none}.lux-collections{grid-template-columns:1fr}.lux-short-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.lux-tile-art{aspect-ratio:3/4}.lux-cinema-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){body.nyx-luxury{overflow:hidden;overscroll-behavior-y:none}.nyx-luxury .app{display:block!important;min-height:100dvh;max-width:none!important}.nyx-luxury .sidebar{display:none!important}.lux-workspace{padding:0!important;min-height:100dvh;max-width:560px;margin:auto;position:relative;background:#000}.lux-header{height:58px!important;padding:0 15px!important;gap:10px}.lux-brand{display:flex;font-size:18px;letter-spacing:-.04em}.lux-heading{display:none}.lux-header-actions .lux-button{background:transparent;border:0;min-width:32px;min-height:38px;color:#c8d7d0;padding:5px}.lux-header-actions .lux-button:last-child{display:none}.lux-header-actions svg{width:19px;height:19px}.lux-grid{display:none}.lux-mobile-host{display:block;height:calc(100dvh - 118px - env(safe-area-inset-bottom,0px));padding:0 10px}.lux-stage{height:100%;min-height:300px;border-radius:16px;border:1px solid #193b2e;touch-action:pan-y;position:relative}.lux-screen{bottom:185px;background:#020706}.lux-screen video{object-fit:cover}.lux-caption{left:13px;right:85px;bottom:191px;z-index:2;text-shadow:0 1px 10px #000,0 1px 3px #000}.lux-caption strong{font-size:14px;font-weight:600}.lux-caption p{font-size:12px;margin:5px 0;line-height:1.5}.lux-action-stack{top:auto;bottom:200px;right:9px;padding:10px 4px;gap:15px;width:57px;border-radius:17px;background:linear-gradient(130deg,#97a5a62b,#0c281d9c);border-color:#b4ddc538;backdrop-filter:blur(18px)}.lux-action-stack .lux-button{min-height:40px;padding:3px;gap:8px}.lux-action-stack svg{width:29px;height:29px;stroke:#4aefb1;filter:drop-shadow(0 0 7px #2be99444)}.lux-action-stack small{font-size:12px}.lux-preview-comments{display:flex;position:absolute;left:10px;right:10px;bottom:59px;height:121px;flex-direction:column;gap:8px;padding:12px;border:1px solid #859d952a;border-radius:12px;background:linear-gradient(120deg,#84939215,#172523bb);backdrop-filter:blur(12px);overflow:auto}.lux-preview-comments:empty:before{content:'Commentaires';color:#668e7d;font-size:11px}.lux-comment-preview{display:grid;grid-template-columns:26px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;min-height:37px;align-items:center}.lux-avatar{grid-row:1/3;width:25px;height:25px;border:1px solid #5b7d6a;border-radius:50%;background:#304038;color:#b3c9bd;display:grid;place-items:center;font-size:11px}.lux-comment-preview strong{font-size:10px;color:#6fbe99;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lux-comment-preview p{margin:2px 0 0;font-size:10px;color:#bdcfc4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lux-download-button{position:absolute;display:flex;left:10px;right:10px;bottom:9px;min-height:41px;border-radius:10px;background:linear-gradient(120deg,#0a5b3a9c,#204f46b8);border:1px solid #41daa783;color:#b7f3d8;box-shadow:inset 0 0 12px #63efb31a,0 0 12px #39e6a525;font-size:14px}.lux-download-button svg{width:20px;height:20px}.lux-mobile-navigation{display:flex;position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,560px);height:calc(60px + env(safe-area-inset-bottom,0px));padding:4px 12px calc(4px + env(safe-area-inset-bottom,0px));align-items:center;justify-content:space-between;background:#000;z-index:30;border-top:1px solid #12261c}.lux-mobile-navigation .lux-button{color:#6b7f73;background:transparent;border:0;min-width:47px;min-height:44px}.lux-mobile-navigation .lux-button[aria-current=page]{color:#39e7a0}.lux-mobile-navigation .lux-button[aria-current=page] svg{fill:#36d99b2b}.lux-mobile-navigation svg{width:22px;height:22px}.lux-paging{display:flex;position:absolute;top:8px;left:8px;gap:5px;opacity:.65}.lux-paging .lux-button{width:31px;min-width:31px;min-height:31px;height:31px;padding:6px;background:#00160b88;border-color:#59b48e33}.lux-paging .lux-previous{transform:rotate(180deg)}}
@media(max-height:650px) and (max-width:900px){.lux-screen{bottom:140px}.lux-caption{bottom:145px}.lux-action-stack{bottom:155px;gap:8px}.lux-preview-comments{height:76px}}
@media(prefers-reduced-motion:reduce){.lux-workspace *,.lux-dialog *{animation:none!important;transition:none!important}}
.lux-chart{margin-top:12px}.lux-chart svg{width:100%;height:155px;display:block;overflow:visible}.lux-chart>small{font-size:9px;color:#648573}
/* Last in the cascade: older page-wide header/nav rules must not leak here. */
body.nyx-luxury #content.lux-workspace{padding:0 25px 30px!important}
body.nyx-luxury .lux-header{margin:0!important;background:#000!important;border:0!important;box-shadow:none!important}
body.nyx-luxury .lux-heading h1{font-size:19px;font-weight:450;letter-spacing:-.035em}
body.nyx-luxury .lux-panel-heading{height:25px!important;min-height:25px!important;margin:0 0 12px!important;padding:0!important;position:static!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.nyx-luxury .sidebar .navbtn.active{background:linear-gradient(100deg,#16ae7840,#142c2533)!important;color:#45ecb3!important;border-color:#42ffad25!important;box-shadow:inset 3px 0 #37efab,0 0 24px #21d99808!important}
.lux-nav-more{margin-top:12px;border-top:1px solid #31574444;padding-top:10px}.lux-nav-more summary{padding:12px;color:#6eae95;font-size:12px;cursor:pointer}.lux-caption strong{color:#55f3b9!important}
body.nyx-luxury .lux-mobile-navigation{margin:0!important;gap:0!important;max-width:100vw!important;width:min(100vw,560px)!important;left:50%!important;transform:translateX(-50%)!important;box-sizing:border-box!important}
@media(max-width:900px){body.nyx-luxury #content.lux-workspace{padding:0!important}.lux-mobile-navigation .lux-button{flex:0 0 20%;min-width:0;max-width:20%;padding:8px!important}}
.lux-selection-body.lux-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:0;border:0;background:transparent;align-items:stretch}.lux-product-card{min-width:0;padding:12px 8px;background:linear-gradient(140deg,#1a3039,#101d23);border:1px solid #405855;border-radius:10px;display:flex;flex-direction:column;gap:14px;align-items:center}.lux-product-card>svg{width:40px;height:40px;color:#49e3da;filter:drop-shadow(0 0 12px #1feaf65c)}.lux-product-card strong{font-size:10px;overflow-wrap:anywhere}.lux-product-card .lux-button{margin-top:auto}
:root{--nyx-accent:#37efab;--nyx-green:#37efab;--neon-green:#37efab;--nyx-champagne:#d9eee6;--nyx-ink:#000;--bg:#000;--lime:#37efab;--purple:#24c69a}
@media(max-width:900px){.lux-grid{display:contents!important}.lux-cash,.lux-omni,.lux-selection{display:none!important}.lux-monitor,.lux-monitor-body{display:contents!important}.lux-monitor>.lux-panel-heading,.lux-live-side{display:none!important}.lux-stage{height:calc(100dvh - 118px - env(safe-area-inset-bottom,0px));min-height:0!important;width:calc(100% - 20px);margin:0 10px}.lux-mobile-host{display:none!important}}
body.nyx-luxury{margin:0!important;padding:0!important}.nyx-luxury .app{padding:0!important}.nyx-luxury main.phone-container{min-height:100dvh!important}

/* The legacy premium shell also targets every nested header. Scope by the
   workspace ID so those rules cannot insert a monitor heading above the reel. */
html body.nyx-luxury{background:#000!important}
body.nyx-luxury .app .sidebar{background:linear-gradient(165deg,#05241b,#020d09 55%,#000)!important}
body.nyx-luxury #content.lux-workspace .lux-header,
body.nyx-luxury #content.lux-workspace .lux-panel-heading{background:transparent!important;border:0!important;box-shadow:none!important}
body.nyx-luxury .sidebar .brandMark{border-radius:0!important;box-shadow:none!important}
body.nyx-luxury .sidebar>.create{background:#0d3425!important;color:#59efb9!important;border:1px solid #27ab7944!important}
@media(max-width:900px){
  /* One viewport, three rows: browser chrome changes dvh, never the amount of
     space reserved for playback, selection and the bottom navigation. The same
     iframe stays mounted when rotating or resizing the browser. */
  body.nyx-luxury .app{height:100dvh!important;min-height:0!important;overflow:hidden!important}
  body.nyx-luxury main.phone-container{height:100dvh!important;min-height:0!important;padding:0!important;overflow:hidden!important}
  body.nyx-luxury #content.lux-workspace{display:grid!important;grid-template-rows:calc(58px + env(safe-area-inset-top,0px)) minmax(0,1fr) calc(60px + env(safe-area-inset-bottom,0px));height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow:hidden!important;background:#000!important;gap:0!important}
  body.nyx-luxury #content.lux-workspace>.lux-header{grid-row:1;height:100%!important;min-height:0!important;padding:env(safe-area-inset-top,0px) 15px 0!important}
  body.nyx-luxury #content .lux-monitor>.lux-panel-heading,
  body.nyx-luxury .nyxQuietFooter{display:none!important}
  body.nyx-luxury #content .lux-stage{grid-row:2;align-self:stretch;height:100%!important;min-height:0!important;max-height:100%!important;box-sizing:border-box!important;overflow:hidden!important}
  body.nyx-luxury #content .lux-mobile-navigation{grid-row:3;position:relative!important;inset:auto!important;left:auto!important;bottom:auto!important;transform:none!important;width:100%!important;max-width:100%!important;height:100%!important;min-height:0!important;background:#000!important}
  body.nyx-luxury #content .lux-screen{bottom:clamp(112px,25dvh,185px)}
  body.nyx-luxury #content .lux-caption{bottom:calc(clamp(112px,25dvh,185px) + 6px)}
  body.nyx-luxury #content .lux-action-stack{bottom:calc(clamp(112px,25dvh,185px) + 15px)}
  body.nyx-luxury #content .lux-preview-comments{height:clamp(48px,calc(25dvh - 64px),121px);bottom:59px}
  body.nyx-luxury #content .lux-download-button{bottom:9px}
}
@media(max-width:900px) and (max-height:450px){
  /* In landscape there is not enough height for three vertically stacked
     actions: keep every control visible in a compact horizontal glass tray. */
  body.nyx-luxury #content .lux-action-stack{top:8px;bottom:auto;display:flex;width:auto;gap:6px;padding:4px}
  body.nyx-luxury #content .lux-action-stack .lux-button{min-height:32px;gap:2px}
  body.nyx-luxury #content .lux-action-stack svg{width:22px;height:22px}
}
