@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#f6f7f4;--ink:#1f302d;--muted:#78817c;--line:#e5e9e3;--green:#175448;--pale:#eaf2e8;--lime:#d5e8b8;--white:#fff;--radius:14px;--shadow:0 3px 18px #163b2304}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #74a58b;outline-offset:3px}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:29px;font-weight:750;letter-spacing:-1.1px;line-height:1.35}h2{font-size:16px;font-weight:750}h3{font-size:14px;font-weight:700}.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:32px 20px 0;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;padding-left:12px;font-family:Manrope,sans-serif;font-size:32px;font-weight:800;line-height:1;letter-spacing:-1.5px}.brandmark{position:relative;width:41px;height:44px;display:flex;align-items:center;justify-content:center;background:var(--green);color:white;border-radius:12px;font-size:39px;padding-bottom:10px}.brandmark span{position:absolute;right:4px;top:-11px;color:var(--lime);font-size:43px}.brand-sub{display:block;font:8px 'DM Sans',sans-serif;letter-spacing:2px;margin-top:7px;color:#7f8982}.workspace{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:10px;margin:34px 0 28px;padding:12px 10px;font-size:11px;font-weight:650}.workspace-icon{background:#f0f4ec;padding:7px;border-radius:7px;color:#5b725b;display:flex}.workspace small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:4px}.tiny-dot{width:6px;height:6px;background:#8fb46c;border-radius:50%;margin-left:auto}.nav-label{font-size:9px;letter-spacing:1.5px;color:#9a9f98;margin-left:13px;margin-bottom:12px}nav{display:flex;flex-direction:column;gap:5px}nav a{display:flex;align-items:center;gap:12px;padding:13px 12px;border-radius:8px;color:#69746c;font-size:12px;font-weight:500}nav a.active{color:var(--green);background:#edf3e9;font-weight:700}nav a:hover{background:#f3f5ef}.nav-count{margin-left:auto;background:#e3e9df;border-radius:5px;padding:2px 6px;font-size:10px}.nav-divider{height:1px;background:var(--line);margin:17px 10px}.sidebar-bottom{margin-top:auto;padding-top:28px}.private-note{padding:19px 13px;background:#f6f8f2;border:1px solid #e9eee2;border-radius:12px}.private-note svg{display:block;color:#547e54;margin-bottom:11px;width:24px;height:24px}.private-note strong{font-size:12px}.private-note p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:6px}.help-link{display:flex;align-items:center;gap:10px;font-size:11px;color:#7b837c;padding:24px 8px}.help-link>span:last-child{margin-left:auto}.profile{border-top:1px solid var(--line);padding:19px 0;display:flex;gap:10px;align-items:center}.avatar{width:33px;height:33px;border-radius:50%;background:#eaece1;color:#666d51;display:grid;place-items:center;font-size:11px;font-weight:700}.profile b{font-size:11px}.profile small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.profile button{margin-left:auto}.shell{margin-left:244px}.topbar{height:75px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#ffffffaa}.breadcrumb{font-size:11px;color:#8d948e;display:flex;gap:14px}.breadcrumb b{color:#4a564e;font-weight:500}.top-actions{display:flex;align-items:center;gap:9px;font-size:10px;color:#78827b}.top-actions svg{width:15px;height:15px}.private-pill{display:flex;color:#5a8264}.top-divider{width:1px;height:20px;background:var(--line);margin:0 12px}.text-button,.icon-button{border:0;background:transparent;color:inherit;padding:6px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.icon-button:hover{background:#edf1e8;border-radius:7px}main{max-width:1570px;padding:32px 38px 30px;margin:auto;min-height:calc(100vh - 136px)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px}.eyebrow{font-size:9px;letter-spacing:1.5px;color:#799275;text-transform:uppercase;font-weight:700;margin-bottom:8px}.subtitle{font-size:12px;color:#8a9189;line-height:1.8;margin-top:6px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid #dce2d9;background:#fff;border-radius:8px;padding:11px 15px;font-size:11px;font-weight:600;color:#435349;white-space:nowrap;transition:.18s}.btn svg{width:16px;height:16px}.btn:hover{background:#f1f5ec;border-color:#bccdb8;transform:translateY(-1px)}.btn.primary{background:var(--green);color:white;border-color:var(--green)}.btn.primary:hover{background:#226658}.btn.soft{background:#edf3e8;color:#456840;border-color:#e4ecdb}.btn.danger{background:#fff2f0;border-color:#efd5d1;color:#ad493c}.btn.wide{width:100%}.btn.small{padding:8px 11px;font-size:10px}.row{display:flex;align-items:center;gap:10px}.spaced{justify-content:space-between}.flow-strip{display:flex;align-items:center;gap:24px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px 20px;margin-bottom:24px;box-shadow:var(--shadow)}.flow-step{display:flex;gap:10px;align-items:center;font-size:11px;color:#7f897f}.step-number{height:23px;width:23px;border-radius:50%;border:1px solid #e3e7e0;display:grid;place-items:center;font-size:10px}.flow-step.current{font-weight:650;color:var(--green)}.flow-step.current .step-number{color:#fff;background:var(--green);border-color:var(--green)}.flow-line{height:1px;flex:1;background:#e6eae2;max-width:90px}.flow-secure{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:10px;color:#85917f}.flow-secure svg{width:14px;height:14px}.studio-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(290px,1fr);gap:22px}.panel{border:1px solid var(--line);background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.panel-head{padding:19px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-head h2{font-size:13px}.muted{color:var(--muted)}.micro{font-size:10px}.badge{display:inline-flex;align-items:center;gap:6px;border:1px solid #e4e7df;background:#f5f6f1;color:#7e8778;border-radius:5px;padding:5px 8px;font-size:9px;font-weight:500;white-space:nowrap}.badge::before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%}.badge.good{background:#eff6eb;color:#5f8952;border-color:#e4eddd}.badge.amber{background:#faf6eb;color:#a38a47;border-color:#f1e9ce}.badge.red{background:#fceeea;color:#b84b40;border-color:#f6ded7}.video-wrap{margin:0 14px;aspect-ratio:16/9;position:relative;border-radius:9px;overflow:hidden;background:#112e29;color:#fff;isolation:isolate}.video-wrap:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 90%,#3a66524d,transparent 65%),linear-gradient(130deg,#0c211e,#173a31);z-index:-2}.arch{position:absolute;width:43%;height:107%;border:1px solid #789c5830;border-radius:50% 50% 0 0;left:28.5%;top:14%;z-index:-1;box-shadow:0 0 0 24px #66844c08,0 0 0 25px #789c5814,0 0 0 50px #66844c08,0 0 0 51px #789c5810}.video-wrap video{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;background:#102722}.video-wrap video:not([src]){background:transparent}.video-top{position:absolute;inset:16px 17px auto;display:flex;align-items:center;justify-content:space-between;z-index:3}.video-chip{background:#ffffff12;border:1px solid #ffffff18;border-radius:5px;backdrop-filter:blur(5px);padding:5px 8px;font-size:8px;letter-spacing:.4px;color:#d3dfd3}.video-chip span{width:5px;height:5px;background:#9ab38c;display:inline-block;border-radius:50%;margin-right:5px}.video-brand{position:absolute;right:18px;bottom:17px;z-index:7;font:400 9px/normal 'DM Sans',sans-serif;color:#a3b4a4;white-space:nowrap;pointer-events:none}.video-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.camera-circle{border:1px solid #c3d5b826;width:60px;height:60px;display:grid;place-items:center;border-radius:50%;background:#bfd1b30a;margin-bottom:15px;color:#b8ceac}.camera-circle svg{width:26px;height:26px}.video-placeholder h3{font-size:17px;font-weight:500;color:#eef4e9}.video-placeholder p{font-size:10px;color:#9daf9e;margin:8px 20px 15px;line-height:1.7}.video-placeholder .btn{border-color:#617859;background:#d2e3bc;color:#233f2e;font-size:10px;padding:9px 13px}.video-bottom{position:absolute;bottom:17px;left:18px;font-size:9px;color:#a3b4a4;display:flex;gap:6px;align-items:center}.video-bottom svg{width:12px;height:12px}.video-controls{display:flex;align-items:center;justify-content:space-between;padding:14px 18px}.media-buttons{display:flex;gap:6px}.media-btn{width:34px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid #e5e9e0;border-radius:7px;background:#f7f8f4;color:#697b66}.media-btn.off{color:#bd5b50;background:#fff1ec}.media-btn svg{width:16px;height:16px}.control-label{font-size:10px;color:#9aa191}.caption-panel{display:flex;flex-direction:column;min-height:100%}.caption-head{border-bottom:1px solid var(--line)}.caption-head h2{display:flex;align-items:center;gap:8px}.caption-head svg{width:17px;height:17px;color:#7c9571}.caption-language{display:flex;align-items:center;gap:10px;padding:13px 20px;border-bottom:1px solid #eef0ea;color:#8c9488;font-size:9px}.language-tag{color:#64765b;font-size:10px;font-weight:600}.language-tag span{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:5px;background:#f2f4ed;margin-right:5px}.caption-body{padding:24px 22px;flex:1;min-height:200px;display:flex;flex-direction:column;justify-content:center}.caption-empty{text-align:center;color:#a0a69a}.caption-empty svg{width:30px;height:30px;margin-bottom:13px;color:#99ab8a}.caption-empty h3{font-size:12px;font-weight:500;color:#79886e}.caption-empty p{font-size:10px;line-height:1.8;margin:8px auto 14px;max-width:220px}.sample-label{font-size:9px;letter-spacing:.8px;color:#a1a58d;margin-bottom:12px;text-transform:uppercase}.arabic{font-family:Georgia,serif;font-size:22px;text-align:right;line-height:1.9;color:#65765c}.translation{font-size:16px;line-height:1.75;color:#3d5337;margin-top:15px}.caption-footer{border-top:1px solid var(--line);padding:13px 19px;font-size:9px;display:flex;align-items:center;gap:6px;color:#92998d}.caption-footer svg{width:12px;height:12px}.device-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.device-card{padding:17px 18px;background:#fff;border:1px solid var(--line);border-radius:11px}.device-card h3{font-size:11px;display:flex;align-items:center;gap:8px;margin-bottom:10px}.device-card h3 svg{width:15px;height:15px;color:#78906d}select,input,textarea{width:100%;border:1px solid #dfe5da;border-radius:7px;padding:10px 12px;background:#fcfdf9;color:#53624d;font-size:11px}select{cursor:pointer}input::placeholder,textarea::placeholder{color:#a1a99b}.device-foot{display:flex;justify-content:space-between;align-items:center;margin-top:11px;font-size:9px;color:#98a18e}.meter{display:flex;gap:3px;align-items:center}.meter i{display:block;width:4px;height:10px;border-radius:1px;background:#e3eadb}.meter i.on{background:#82a667}.launch-panel{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f0f3e9;border:1px solid #e2e8d8;border-radius:11px;padding:18px 21px;margin-top:19px}.launch-panel h3{font-size:12px;font-weight:650}.launch-panel p{color:#8a967e;font-size:10px;margin-top:6px}.launch-panel .btn{padding:13px 20px}.receiver-card{margin-top:18px;padding:19px 20px}.receiver-card h3{display:flex;align-items:center;gap:8px;font-size:12px}.receiver-card h3 svg{width:17px;height:17px;color:#738f68}.receiver-card p{font-size:10px;color:#919b89;line-height:1.8;margin:12px 0 16px}.receiver-row{display:flex;align-items:center;justify-content:space-between;background:#f7f9f3;padding:10px 12px;border-radius:7px;font-size:10px;color:#74816b}.info-row{display:flex;gap:12px;align-items:flex-start;margin-top:22px;padding:0 2px;color:#87967c;font-size:10px;line-height:1.8}.info-row svg{width:16px;height:16px;flex-shrink:0;margin-top:2px}.environment-note{font-size:10px;background:#faf6e9;color:#99854e;border:1px solid #eee6cf;padding:10px 14px;border-radius:8px;margin-top:22px;display:flex;align-items:center;gap:8px}.environment-note svg{width:14px;height:14px}footer{max-width:1570px;margin:auto;display:flex;justify-content:space-between;gap:15px;padding:20px 38px;border-top:1px solid var(--line);font-size:9px;color:#9aa18e}footer a{color:#72816a}.page-content{max-width:1000px}.content-pad{padding:24px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.form-field{margin-bottom:18px}.form-field label{display:block;font-size:11px;font-weight:600;margin-bottom:8px}.form-field small{display:block;color:#909b86;font-size:10px;line-height:1.7;margin-top:7px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid #edf0e6}.toggle-row strong{font-size:12px;font-weight:500}.toggle-row small{display:block;color:#899480;font-size:10px;line-height:1.6;margin-top:5px}.switch{appearance:none;width:34px;height:20px;padding:0;border:0;border-radius:12px;background:#d8dfd0;position:relative;cursor:pointer;flex-shrink:0}.switch:checked{background:var(--green)}.switch:before{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:.2s}.switch:checked:before{transform:translateX(14px)}input[type=range]{accent-color:var(--green);padding:0;cursor:pointer}.setting-title{margin-bottom:20px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{color:#8a9581;font-size:9px;font-weight:500;letter-spacing:.8px;text-transform:uppercase;padding:14px 20px;border-bottom:1px solid var(--line);background:#fafbf7}td{padding:19px 20px;border-bottom:1px solid #edf0e7}td small{display:block;color:#949e8a;font-size:10px;margin-top:5px}.empty-state{padding:65px 25px;text-align:center;color:#8a967f}.empty-state>svg{width:38px;height:38px;margin-bottom:18px}.empty-state h2{font-size:17px;color:#53654b}.empty-state p{font-size:12px;line-height:1.9;margin:12px auto 20px;max-width:380px}.glossary-term{font-family:Georgia,serif;font-size:21px;color:#57794d}.search{max-width:280px}.article{line-height:1.9;font-size:13px;color:#72806a}.article h2{margin:24px 0 10px;color:#374c31}.article h2:first-child{margin-top:0}.article li{margin-bottom:9px}.article a{text-decoration:underline;color:var(--green)}.article code{background:#eef2e7;padding:2px 5px;border-radius:4px}.projection-layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(250px,1fr);gap:22px}.projection-screen{margin:0;width:100%}.projection-screen:fullscreen{border-radius:0;width:100vw;height:100vh;aspect-ratio:auto}.subtitle-overlay{position:absolute;bottom:9%;left:7%;right:7%;text-align:center;z-index:5;pointer-events:none}.subtitle-overlay span{display:inline-block;background:#000c;color:#fff;padding:10px 18px;border-radius:7px;font-size:var(--caption-size,28px);line-height:1.4;max-width:100%;white-space:pre-line;text-shadow:0 1px 3px #000}.subtitle-overlay span:empty{display:none}.projection-screen:fullscreen .subtitle-overlay span{font-size:calc(var(--caption-size,30px) * 1.6)}.projection-screen:fullscreen .video-placeholder h3{font-size:32px}.screen-tools{position:absolute;top:56px;right:15px;bottom:auto;z-index:6;display:flex;gap:6px}.screen-tools button{background:#0005;border:1px solid #ffffff28;color:#fff}.projection-settings{padding:23px}.projection-settings h2{margin-bottom:21px}.projection-settings .form-field{margin-top:19px}.connect-box{padding:23px;margin-bottom:20px}.connect-box h2{margin-bottom:16px}.connect-box .row input{max-width:350px;letter-spacing:1px}.stat-row{display:flex;gap:15px;padding:16px 20px;font-size:10px;color:#89977d}.stat-row b{font-weight:500;color:#5f7953}dialog{border:1px solid #d9e1d1;max-width:480px;width:calc(100% - 35px);border-radius:17px;padding:28px;box-shadow:0 25px 90px #132d2629;color:var(--ink)}dialog::backdrop{background:#0b211c66;backdrop-filter:blur(4px)}.dialog-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.dialog-title h2{font-size:20px}.dialog-desc{font-size:12px;line-height:1.8;color:#839078;margin-bottom:23px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.form-error{font-size:12px;color:#ad503d;line-height:1.6;margin-top:12px}.code-box{font-family:monospace;background:#f1f5e9;border:1px dashed #c0d0ac;border-radius:10px;padding:19px;text-align:center;font-size:20px;letter-spacing:2px;margin:20px 0;color:var(--green);overflow-wrap:anywhere}#toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%) translateY(20px);opacity:0;pointer-events:none;background:#193f32;color:white;box-shadow:0 7px 25px #0002;border-radius:10px;padding:14px 22px;font-size:12px;max-width:550px;line-height:1.7;z-index:100;transition:.2s}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.hidden{display:none!important}.caption-history{max-height:290px;overflow:auto}.caption-item{padding:12px 0;border-bottom:1px solid #eef0e7}.caption-item .arabic{font-size:17px}.caption-item .translation{font-size:13px;margin-top:7px}.caption-item time{font-size:9px;color:#9ba58e}.hint{font-size:11px;color:#8a957e;line-height:1.8}.section-space{margin-top:22px}.about-brand{font:800 30px Manrope,sans-serif;color:var(--green);margin-bottom:12px}.live-dot{background:#bd533e!important}.mobile-nav{display:none}.session-active-label{font-size:10px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#78866e}.pulse{animation:pulse 2s infinite}@keyframes pulse{50%{opacity:.45}}@media(min-width:1600px){main{padding-top:40px}.video-placeholder h3{font-size:21px}.video-placeholder p{font-size:12px}.caption-body{min-height:280px}.studio-grid{grid-template-columns:minmax(0,2fr) minmax(320px,1fr)}}@media(max-width:1200px){.sidebar{width:212px;padding-left:13px;padding-right:13px}.shell{margin-left:212px}main{padding:25px}.topbar{padding:0 25px}.studio-grid{grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:16px}.flow-strip{gap:13px}.flow-secure{display:none}.video-placeholder h3{font-size:15px}.video-placeholder p{font-size:9px}.camera-circle{width:42px;height:42px;margin-bottom:10px}.video-placeholder .btn{padding:7px 10px}.caption-body{min-height:170px;padding:18px}.launch-panel{padding:15px}.launch-panel .btn{padding:11px 13px}.device-grid{gap:10px}.device-card{padding:13px}.control-label{display:none}}@media(max-width:980px){.sidebar{width:76px;padding:26px 10px 0}.brand{padding:0;justify-content:center}.brand>span:last-child,.workspace,.nav-label,.private-note,.profile div,.profile .avatar,.help-link,.nav-count{display:none}.brandmark{font-size:35px;width:37px;height:40px}nav{margin-top:37px}nav a{font-size:0;justify-content:center;padding:14px 0;gap:0}nav svg{width:21px;height:21px}nav .nav-divider{margin:15px 5px}.profile button{margin:auto}.shell{margin-left:76px}.studio-grid{grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr)}.topbar{height:65px}.top-actions>span:nth-child(2){display:none}main{padding:24px}.page-heading h1{font-size:25px}.launch-panel{align-items:flex-start;flex-direction:column}.launch-panel .btn{width:100%}.device-grid{grid-template-columns:1fr}.caption-body{min-height:220px}.projection-layout{grid-template-columns:1fr}.projection-settings{display:grid;grid-template-columns:1fr 1fr;gap:10px 25px}.projection-settings h2{grid-column:span 2}}@media(max-width:700px){.sidebar{position:fixed;top:auto;bottom:0;right:0;width:100%;height:62px;display:block;padding:0;border-top:1px solid var(--line);border-right:0}.brand,.sidebar-bottom,.nav-divider{display:none!important}nav{margin:0;display:flex;flex-direction:row;height:100%;justify-content:space-around;gap:0}nav a{font-size:8px;gap:4px;flex-direction:column;padding:8px 5px;border-radius:0;flex:1;white-space:nowrap}nav svg{width:18px;height:18px}.shell{margin:0;padding-bottom:62px}.topbar{padding:0 19px;height:57px}.breadcrumb{font-size:10px;gap:8px}.top-divider{margin:0 4px}.top-actions{gap:2px}main{padding:24px 17px}.page-heading{align-items:flex-start;margin-bottom:20px}.page-heading h1{font-size:24px}.page-heading>.btn{font-size:0;padding:11px}.page-heading>.btn svg{width:18px;height:18px}.subtitle{font-size:11px;max-width:260px}.flow-strip{padding:12px;gap:10px;margin-bottom:18px}.flow-step{font-size:9px;gap:6px}.flow-line{max-width:25px}.step-number{width:18px;height:18px;font-size:9px;flex-shrink:0}.studio-grid{grid-template-columns:1fr}.video-placeholder h3{font-size:16px}.video-placeholder p{font-size:10px}.video-wrap{margin:0 10px}.video-top{inset:12px 12px auto}.video-bottom{bottom:11px;font-size:8px}.video-controls{padding:12px}.device-grid{grid-template-columns:1fr 1fr}.device-card{padding:12px 10px}.device-card select{font-size:10px;padding:9px}.launch-panel{align-items:center;flex-direction:row}.launch-panel .btn{width:auto;font-size:10px}.launch-panel p{font-size:9px}.caption-body{min-height:180px}.receiver-card{margin-top:15px}.settings-grid{grid-template-columns:1fr}.projection-screen{margin:0}.projection-settings{display:block}.connect-box .row{flex-wrap:wrap}.connect-box .row .btn{width:100%}.projection-screen .subtitle-overlay span{font-size:20px}footer{padding:18px;flex-direction:column;text-align:center;font-size:9px;gap:8px}#toast{left:50%;bottom:80px;width:90%}.content-pad{padding:18px}.search{max-width:150px}.table-scroll th,.table-scroll td{padding:14px}.row.wrap{flex-wrap:wrap}.session-active-label{max-width:160px}.environment-note{font-size:9px;align-items:flex-start}.panel-head{padding:17px}}

.projection-screen:fullscreen .screen-tools{opacity:0;transition:opacity .2s}.projection-screen:fullscreen:hover .screen-tools,.projection-screen:fullscreen:focus-within .screen-tools{opacity:1}.projection-screen:fullscreen .video-top,.projection-screen:fullscreen .video-bottom{display:none}.subtitle-overlay span{overflow-wrap:anywhere}
.admin-grid{max-width:1160px;align-items:start}.admin-grid .setting-title h2,.admin-grid h2.setting-title{display:flex;align-items:center;gap:9px}.admin-grid h2 svg{width:18px;height:18px;color:#739165}.admin-note{margin:0 0 23px}.admin-note .btn{margin-left:auto}.inline-link{display:inline-block;font-size:11px;color:var(--green);text-decoration:underline;margin-top:10px}.inline-check{display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.7;margin:15px 0}.inline-check input{width:15px;height:15px;accent-color:var(--green)}.service-detail{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--line);font-size:11px}.service-detail span{color:var(--muted)}.service-detail strong{font-size:11px;font-weight:550;text-align:right}.user-table td,.user-table th{padding:13px 8px}.user-table td{font-size:11px}.user-table td small{overflow-wrap:anywhere}.setup-container{max-width:940px;margin:auto}.setup-checks{display:flex;flex-wrap:wrap;gap:9px;margin:23px 0}.setup-step{display:flex;align-items:flex-start;gap:13px;margin:8px 0 22px}.setup-step .step-number{background:var(--green);color:#fff;flex-shrink:0;width:28px;height:28px;margin-top:1px}.setup-step h2{font-size:15px;margin-bottom:8px}.setup-container .content-pad{padding:30px}.setup-container .settings-grid{gap:8px 22px}.setup-container .dialog-actions{margin-top:25px}.room-actions{flex-wrap:wrap}.expiry-label{font-size:11px;color:#789069;line-height:1.8}.admin-shortcut{margin-top:14px}@media(max-width:700px){nav a[data-page=administration]{font-size:7px}.admin-note{flex-wrap:wrap}.setup-container .content-pad{padding:20px}.admin-grid .setting-title{flex-wrap:wrap}.user-table td,.user-table th{padding:10px 5px}.setup-checks .badge{font-size:9px}}

/* Diagnostics et confirmations de la page Paramètres uniquement */
.pref-save-status{margin:15px 0 7px;padding:11px 13px;border:1px solid #cbd6cd;border-radius:10px;color:#315e48;background:#f4f8f3;font-size:13px;line-height:1.5}
.pref-save-status.saved{border-color:#a6cdb5;color:#24563b;background:#eef8f1}
.pref-save-status.save-failed{border-color:#e7b2b2;color:#9c3434;background:#fff2f2}
.service-check-detail{display:block;margin-top:6px;max-width:370px;line-height:1.45;color:#697e77;overflow-wrap:anywhere}
.settings-grid .toggle-row .badge{align-self:center;white-space:normal;text-align:center;min-width:90px}

/* ULUM Windows: caption overlay on v1.4.0 receiver without modifying WebRTC media. */
#ulum-windows-caption {
  position:absolute;left:6%;right:6%;bottom:9%;z-index:30;
  padding:.5em .85em;border-radius:10px;
  background:rgba(2,7,13,.88);color:#fff;
  font-size:clamp(19px,2.5vw,39px);font-weight:700;
  text-align:center;line-height:1.28;white-space:pre-wrap;
  overflow-wrap:anywhere;text-shadow:0 2px 3px #000;
  pointer-events:none;
}
#ulum-windows-caption:empty{display:none}

/* ULUM LIVE v1.5.0 — transcription opt-in; keeps studio and receiver layouts. */
.transcript-panel{margin-top:16px;padding:18px 20px;overflow:visible}
.transcript-panel h2{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--green)}
.transcript-panel h2 svg{width:19px;height:19px}
.transcript-panel>.hint{margin:10px 0;max-width:700px}
.transcript-panel .form-field{max-width:550px;margin-top:13px}
.transcript-panel .form-field label{display:block;margin-bottom:7px}
.transcript-panel .form-field select{width:100%}
.transcript-panel .inline-check{align-items:flex-start;margin:12px 0;font-size:12px;color:#304b3f}
.transcript-panel .consent-check{padding:12px 13px;background:#f5f8f2;border:1px solid #e0e8dd;border-radius:8px}
.transcript-panel .consent-check input{margin-top:2px;flex-shrink:0}
.transcript-panel .transcript-hint{font-size:10px}
.transcript-status{font-size:11px;color:#466b55;padding:10px 12px;background:#f4f7f3;border-left:3px solid #8ba887;border-radius:5px;min-height:35px;line-height:1.5}
.transcript-history{max-height:178px;overflow:auto;margin-top:10px}
.transcript-line{display:flex;align-items:flex-start;gap:10px;padding:9px 0;border-bottom:1px solid #edf0e9;line-height:1.55;font-size:12px;overflow-wrap:anywhere;white-space:pre-wrap}
.transcript-line small{font-size:9px;color:#8e9a92;flex-shrink:0;margin-top:2px}
#ulum-host-caption{position:absolute;bottom:9%;left:6%;right:6%;z-index:30;padding:.5em .85em;border-radius:10px;background:#02070de0;color:#fff;font-size:clamp(18px,2.5vw,38px);text-align:center;font-weight:700;line-height:1.3;white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:none}
#ulum-host-caption:empty{display:none}
@media(max-width:700px){.transcript-panel{padding:16px}.transcript-panel .row{flex-wrap:wrap}.video-brand{bottom:11px;right:12px;font-size:8px}.video-bottom{max-width:calc(100% - 115px)}.projection-screen .screen-tools{top:48px;right:12px}}

/* ULUM LIVE 1.6 — télévision: overlay inside the same 16:9 video and fullscreen root. */
.ulum-tv-caption{
  position:absolute;
  z-index:35;
  left:5%;right:5%;bottom:7.3%;
  display:flex;justify-content:center;align-items:flex-end;
  text-align:center;pointer-events:none;direction:ltr;
}
.ulum-tv-caption:not(.is-visible){display:none}
.ulum-tv-caption-text{
  display:inline-block;max-width:100%;
  padding:.35em .7em;
  border-radius:5px;
  background:rgba(0,0,0,.78);
  color:#fff;
  font-family:Arial,Helvetica,sans-serif;
  font-size:clamp(15px,2.1vw,29px);font-weight:700;
  line-height:1.36;letter-spacing:.005em;
  text-shadow:0 1px 2px #000;
  white-space:pre-wrap;overflow-wrap:anywhere;
  box-decoration-break:clone;-webkit-box-decoration-break:clone;
  max-height:29vh;overflow:hidden;
}
.projection-screen:fullscreen .ulum-tv-caption,
.video-wrap:fullscreen .ulum-tv-caption{bottom:7%;left:7%;right:7%}
.projection-screen:fullscreen .ulum-tv-caption-text,
.video-wrap:fullscreen .ulum-tv-caption-text{font-size:clamp(24px,3vw,56px);max-height:35vh}
.audience-caption-mode{padding:12px 14px;border:1px solid #dce8d7;background:#f4f8f1;color:#265743;border-radius:8px;line-height:1.6;font-size:12px}
@media(max-width:700px){.ulum-tv-caption{bottom:8%;left:4%;right:4%}.ulum-tv-caption-text{font-size:clamp(13px,3.6vw,20px);padding:.25em .5em}}
/* Neutralize the 1.4/1.5 legacy full-width opaque overlay on the new TV captions. */
#ulum-windows-caption.ulum-tv-caption,
#ulum-host-caption.ulum-tv-caption{
  padding:0;border:0;border-radius:0;background:transparent;
  text-shadow:none;font-size:inherit;font-weight:normal;color:inherit;
}
#ulum-windows-caption.ulum-tv-caption,
#ulum-host-caption.ulum-tv-caption{left:5%;right:5%;bottom:7.3%;z-index:35}
.projection-screen:fullscreen #ulum-windows-caption.ulum-tv-caption,
.video-wrap:fullscreen #ulum-host-caption.ulum-tv-caption{bottom:7%;left:7%;right:7%}

/* v1.7.0: dialect selector follows the existing responsive studio styling. */
.transcript-panel #arabic-dialect{width:100%;min-height:41px;max-width:550px;padding:9px 12px;border-radius:8px;border:1px solid #c8d8cc;background:#fff;color:#203c31;font-size:13px;line-height:1.4}
.transcript-panel #arabic-dialect:focus-visible{outline:3px solid #6baf95;outline-offset:2px}
.dialect-help{font-size:11px;line-height:1.6;color:#516e60;margin-top:7px}

/* ULUM LIVE v1.8.0 — under-video caption appearance selected by the presenter. */
.video-wrap {container-type:inline-size}
#ulum-host-caption .ulum-tv-caption-text,
#ulum-windows-caption .ulum-tv-caption-text {
  font-size:clamp(12px,var(--ulum-tv-font,3.2cqw),84px);
  color:var(--ulum-tv-color,#ffffff);
  background:var(--ulum-tv-bg,rgba(0,0,0,.78));
  text-shadow:0 2px 5px #000b,0 1px 2px #000;
  padding:.3em .65em;
  transition:background-color .12s,color .12s,font-size .12s;
}
#ulum-host-caption.caption-without-background .ulum-tv-caption-text,
#ulum-windows-caption.caption-without-background .ulum-tv-caption-text {
  background:transparent;
  text-shadow:0 2px 7px #000,0 1px 3px #000,0 0 10px #0009;
}
.subtitle-style-panel {margin:18px 0 16px;padding:16px;border:1px solid #dce7dc;border-radius:12px;background:#f8faf7}
.subtitle-style-heading {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.subtitle-style-heading h3 {font-size:13px;display:flex;align-items:center;gap:8px;color:#225b47}
.subtitle-style-heading h3 svg {width:18px;height:18px}
.subtitle-style-panel > .hint {margin:8px 0 14px;font-size:11px;line-height:1.5;color:#536f60}
.subtitle-style-controls {display:grid;grid-template-columns:minmax(160px,1fr) 115px auto;align-items:end;gap:16px}
.subtitle-style-controls label {color:#354d3e;font-size:11px;font-weight:650}
.subtitle-style-size label {display:flex;justify-content:space-between;gap:8px;align-items:center}
.subtitle-style-size label strong {font-variant-numeric:tabular-nums;color:#1f604d;font-size:15px}
.subtitle-style-size input {width:100%;display:block;margin:10px 0 5px;accent-color:#225b47}
.subtitle-style-color input {display:block;width:100%;height:40px;padding:4px;border:1px solid #c6d7cb;border-radius:8px;background:#fff;margin-top:7px;cursor:pointer}
.subtitle-style-background {display:flex!important;align-items:center;gap:8px;min-height:40px;margin:0!important;white-space:nowrap;cursor:pointer}
.subtitle-style-background input {accent-color:#175448;width:17px;height:17px}
.subtitle-style-preview {background:linear-gradient(135deg,#142923,#456055);border-radius:10px;min-height:100px;padding:9px 12px 16px;margin-top:14px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:12px}
.subtitle-style-preview-label {align-self:flex-start;color:#d9e9dc9c;font-size:9px;letter-spacing:1.1px;font-weight:650}
.subtitle-style-sample-text {display:inline-block;max-width:100%;font-weight:700;font-family:Arial,Helvetica,sans-serif;text-align:center;line-height:1.3;overflow-wrap:anywhere;border-radius:5px;padding:4px 10px}
.subtitle-style-actions {display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
@media(max-width:640px){.subtitle-style-controls {grid-template-columns:1fr 95px;gap:14px}.subtitle-style-background {grid-column:1 / -1}.subtitle-style-panel {padding:13px}}

/* v2.0.0 · presenter capacity is read-only, assigned by the platform administrator. */
.admin-assigned-limit{display:flex;align-items:flex-start;flex-direction:column;gap:7px;border:1px solid #dce3e9;border-radius:12px;padding:14px 16px;background:var(--bg)}
.admin-assigned-limit strong{font-size:1.2rem;color:var(--ink)}
.admin-assigned-limit small{color:#536575;line-height:1.5}

/* Ulum Live v2.1.0 — informative API pricing comparison for administrators. */
.ai-pricing-panel{grid-column:1/-1;overflow:visible}
.ai-pricing-panel .setting-title{margin-bottom:12px}
.ai-pricing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.ai-pricing-provider{border:1px solid #e1e9dd;background:#f9fbf7;border-radius:12px;padding:19px;min-width:0}
.ai-pricing-provider h3{font-size:15px;color:#234f43;margin-bottom:10px}
.pricing-model-name{font-size:12px;font-weight:700;color:#2b3f35;overflow-wrap:anywhere;line-height:1.6}
.pricing-tariff-list{font-size:12px;color:#365c49;line-height:1.8;margin:9px 0}
.ai-pricing-provider small{color:#718276;line-height:1.6;font-size:11px;display:block}
.pricing-simulator{border:1px solid #e1e9dd;border-radius:12px;padding:19px;background:#fff}
.pricing-simulator h3{font-size:14px;color:#234f43;margin-bottom:18px}
.pricing-inputs{display:grid;grid-template-columns:repeat(5,minmax(115px,1fr));gap:12px}
.pricing-inputs label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:600;color:#56685a}
.pricing-inputs input,.pricing-inputs select{width:100%;min-width:0;padding:10px;border-radius:8px;border:1px solid #d3ded2;background:#fff;color:#1c3528}
.pricing-scenario-detail{margin:17px 0 12px;font-size:11px;color:#59725e}
.pricing-estimates{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pricing-result{padding:15px;border:1px solid #dce6d9;border-radius:10px;display:flex;flex-direction:column;gap:9px;background:#f8faf6;min-width:0}
.pricing-result span{font-size:11px;color:#607260;font-weight:600}
.pricing-result strong{font-family:Manrope,sans-serif;color:#1b5440;font-size:24px;line-height:1.3;font-variant-numeric:tabular-nums}
.pricing-result small{font-size:10px;color:#758579;line-height:1.6;overflow-wrap:anywhere}
.pricing-recommendation{font-size:12px;margin:16px 0;line-height:1.7;font-weight:650;color:#315e48}
.pricing-sources{display:flex;flex-wrap:wrap;gap:8px 18px;margin:17px 0 10px}
.pricing-sources a{font-size:11px;color:#27634e;text-decoration:underline;text-underline-offset:3px}
.ai-quality-note{margin-top:19px}
@media(max-width:1000px){.pricing-inputs{grid-template-columns:repeat(3,minmax(115px,1fr))}}
@media(max-width:650px){.ai-pricing-grid,.pricing-estimates{grid-template-columns:1fr}.pricing-inputs{grid-template-columns:repeat(2,minmax(100px,1fr))}.pricing-result strong{font-size:22px}}



/* Ulum Live Web v2.3.1 — plein écran bord à bord pour l'intervenant et l'auditoire.
 * Escape est pris en charge nativement par la Fullscreen API du navigateur.
 * Object-fit: cover remplit la surface (un recadrage est possible si ratios différents).
 * Tous les overlays restent dans le même conteneur fullscreen, sans re-encoder la vidéo. */
.video-wrap:fullscreen,
.video-wrap:-webkit-full-screen{
  position:fixed!important;inset:0!important;
  display:block!important;width:100vw!important;height:100vh!important;
  width:100dvw!important;height:100dvh!important;
  max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;border:0!important;
  border-radius:0!important;aspect-ratio:auto!important;
  overflow:hidden!important;background:#000!important;
}
.video-wrap:fullscreen video,
.video-wrap:-webkit-full-screen video{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center center;
  background:#000!important;
}
/* Marque conservée en bas à droite, même en plein écran. */
.video-wrap:fullscreen .video-brand,
.video-wrap:-webkit-full-screen .video-brand{
  bottom:18px;right:20px;left:auto;top:auto;
  max-width:calc(100% - 40px);font-size:clamp(10px,1.05vw,15px);
  white-space:nowrap;overflow:visible;text-overflow:clip;
}
/* En petit aperçu, empêche la marque et la légende de se chevaucher. */
.video-wrap .video-brand{max-width:calc(100% - 32px);white-space:nowrap;}
@container (max-width:630px){
  .video-bottom{bottom:31px;max-width:calc(100% - 32px);}
  .video-brand{bottom:11px;right:12px;}
}
/* Les commandes de réception sont accessibles en plein écran au survol/au focus. */
.projection-screen:fullscreen .screen-tools,
.projection-screen:-webkit-full-screen .screen-tools{
  top:20px;right:20px;bottom:auto;z-index:50;
}
/* Les sous-titres et la marque doivent rester sur la vidéo en mode projection. */
.video-wrap:fullscreen .ulum-tv-caption,
.video-wrap:-webkit-full-screen .ulum-tv-caption{
  z-index:35;left:6%;right:6%;bottom:7%;
}
.video-wrap:fullscreen .video-placeholder,
.video-wrap:-webkit-full-screen .video-placeholder{height:100%;}
@media (max-width:600px){
  .video-wrap:fullscreen .video-brand,
  .video-wrap:-webkit-full-screen .video-brand{right:12px;bottom:12px;font-size:10px;}
}

/* v2.3.2 — lien d'invitation : lecteur de conférence immersif, sans navigation du site. */
body.direct-audience{margin:0;background:#000;overflow:hidden}
body.direct-audience .sidebar,body.direct-audience .topbar,body.direct-audience footer{display:none!important}
body.direct-audience .shell{margin:0!important;padding:0!important;min-height:100dvh}
body.direct-audience main#main{margin:0!important;padding:0!important;max-width:none!important;width:100vw;height:100dvh;min-height:0;overflow:hidden}
.direct-player{position:relative;width:100%;height:100%;background:#000}
.direct-player .direct-video{position:relative;width:100%;height:100%;margin:0!important;border-radius:0!important;aspect-ratio:auto!important;background:#000!important}
.direct-player .direct-video video{object-fit:cover;object-position:center center}
.direct-player .direct-video .video-top{inset:16px 20px auto}
.direct-player .direct-video .video-bottom{bottom:18px;left:20px}
.direct-player .direct-video .video-brand{right:20px;bottom:18px;max-width:calc(100% - 50px)}
.direct-player .direct-tools{position:absolute;top:58px;right:18px;bottom:auto;z-index:50;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;opacity:1;max-width:min(90vw,470px)}
.direct-player .direct-tools .btn{color:#fff;background:#07100cab;border:1px solid #ffffff48;backdrop-filter:blur(6px)}
.direct-player .direct-tools .btn:hover{background:#163b32}
.direct-feedback{position:absolute;z-index:42;top:50%;left:50%;transform:translate(-50%,-50%);max-width:min(520px,90vw);width:max-content;text-align:center;color:#fff;border-radius:15px;padding:22px 26px;background:#08120fe0;box-shadow:0 15px 60px #0008;line-height:1.6;pointer-events:auto}
.direct-feedback strong{font-size:clamp(14px,2vw,20px);font-weight:700}
.direct-feedback p{margin:7px 0 0;font-size:clamp(11px,1.3vw,14px);color:#d8e5dc}
.direct-feedback .btn{margin-top:14px}
.direct-feedback.hidden{display:none!important}
@media(max-width:650px){
 .direct-player .direct-tools{top:48px;right:10px;gap:5px;max-width:calc(100% - 20px)}
 .direct-player .direct-tools .btn{font-size:10px;padding:7px 9px}
 .direct-player .direct-video .video-top{inset:10px 10px auto}
 .direct-player .direct-video .video-bottom{bottom:32px;left:12px}
 .direct-player .direct-video .video-brand{right:12px;bottom:12px}
 .direct-feedback{padding:17px 18px}
}

/* v2.4.0 - plusieurs relais ICE, configuration par fournisseur. */
.ice-row{border:1px solid #dfe9de;border-radius:11px;padding:15px;margin:13px 0;background:#fafcf8}.ice-row strong{font-size:12px;overflow-wrap:anywhere}.ice-row textarea{width:100%;min-height:60px;resize:vertical}.ice-row input:not([type=checkbox]),.ice-row select{width:100%}.ice-row .row{align-items:center}.ice-row .form-field{margin-top:12px}.ice-row .inline-check{margin:10px 0}

/* Ulum Live 2.5.0: Stripe abonnements individuel / établissement */
.stripe-admin{grid-column:1 / -1}.stripe-admin h3{margin-top:14px;margin-bottom:12px}.stripe-price-list{display:flex;flex-direction:column;gap:9px;margin:15px 0}.stripe-price-row{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:12px;align-items:center;background:#f6f8f5;border:1px solid #e4ebe4;border-radius:9px;padding:11px}.stripe-price-row b{font-size:12px}.stripe-price-row small{display:block;font-size:10px;color:#708077;margin-top:4px}.stripe-price-row input,.stripe-org select,.stripe-admin input,.stripe-admin select{min-width:0;max-width:100%;width:100%;border:1px solid #d8e3d9;border-radius:7px;padding:10px;background:white;color:#233b31}.stripe-org-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:12px;margin-top:13px}.stripe-org{padding:14px;border:1px solid #e4ebe4;border-radius:10px;background:#f8faf7}.stripe-org .row select{flex:1;min-width:120px}.stripe-member-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.stripe-member-list>span{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11px;color:#526456}.stripe-offer-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.stripe-plan-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:15px}.stripe-plan{padding:18px;background:#f8faf7;border:1px solid #e4ebe4;border-radius:11px;min-width:0}.stripe-plan h3{color:var(--green);margin-bottom:8px}.stripe-plan .hint{margin:7px 0}.stripe-plan .row{margin-top:14px}.stripe-plan select{width:100%;max-width:100%;padding:10px;border:1px solid #d8e3d9;border-radius:7px}.stripe-admin hr{border:0;border-top:1px solid var(--line)}@media(max-width:980px){.stripe-offer-columns{grid-template-columns:1fr}}@media(max-width:650px){.stripe-price-row{grid-template-columns:1fr}.stripe-admin{grid-column:auto}.stripe-plan .row{flex-wrap:wrap}}

/* VoiceStream 3.0 — identité de marque, sans changer le moteur du lecteur. */
.brand .brand-name{font-size:24px;letter-spacing:-1.05px;line-height:.95;white-space:nowrap}
.brand .brand-name .brand-sub{letter-spacing:3.1px;font-size:9px;margin-top:7px;color:#397781}
.brand .brandmark{padding-bottom:4px;font-size:25px;font-weight:800;background:#0c2939}
.brand .brandmark span{color:#63e4dc;top:-11px}
@media(max-width:360px){.video-brand{font-size:8px;right:8px}}

/* v3.1 · catalogue Stripe automatisé */
.stripe-sync-row{display:grid;grid-template-columns:minmax(200px,1.8fr) minmax(110px,1fr) minmax(110px,1fr);align-items:center;gap:12px}
.stripe-price-field{display:flex;flex-direction:column;gap:5px;color:var(--muted,var(--text-muted,#667));font-size:12px}
.stripe-price-field input{width:100%;min-width:0;color:var(--ink,#14202e);background:var(--white,#fff)}
.stripe-sync-ids{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--muted,var(--text-muted,#667));overflow-wrap:anywhere}
@media(max-width:720px){.stripe-sync-row{grid-template-columns:1fr 1fr}.stripe-sync-row>span{grid-column:1/-1}}


/* VoiceStream v3.2 : paramètres administrateur explicites et lisibles. */
.admin-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:11px;margin:5px 0 24px}
.admin-shortcuts a{display:flex;align-items:center;gap:10px;padding:15px 13px;text-decoration:none;background:var(--surface,#fff);border:1px solid var(--line);border-radius:13px;color:var(--ink);min-width:0}
.admin-shortcuts a:hover,.admin-shortcuts a:focus-visible{border-color:var(--green);outline-offset:2px;background:var(--surface-hover,#f7faf8)}
.admin-shortcuts a svg{width:22px;height:22px;flex:none;color:var(--green)}
.admin-shortcuts a span{display:flex;flex-direction:column;gap:4px;min-width:0}
.admin-shortcuts a strong{font-size:12px;font-weight:650;line-height:1.3}
.admin-shortcuts a small{font-size:10px;color:var(--muted);line-height:1.4}
.admin-settings-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px;padding:9px;border:1px solid var(--line);border-radius:14px;background:var(--surface,#fff)}
.admin-settings-tab{display:inline-flex;gap:7px;align-items:center;justify-content:center;border-radius:9px;padding:10px 13px;text-decoration:none;font-size:12px;font-weight:650;color:var(--muted);border:1px solid transparent;min-height:41px}
.admin-settings-tab svg{height:17px;width:17px}
.admin-settings-tab:hover,.admin-settings-tab:focus-visible{border-color:var(--line);color:var(--ink)}
.admin-settings-tab.active{color:var(--ink);background:var(--background,#f0f6f3);border-color:var(--green)}
.admin-settings-description{font-size:12px;color:var(--muted);margin:0 0 20px}
.admin-tab-content{max-width:1160px}
.admin-tab-content .stripe-admin{grid-column:1/-1}
nav a.nav-admin-settings{font-weight:650}
@media(max-width:700px){.admin-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-settings-tab{flex:1 1 auto}nav a[data-page=administration],nav a[data-page=admin-parametres]{font-size:12px!important}}
@media(max-width:420px){.admin-shortcuts{grid-template-columns:1fr}.admin-settings-tab{padding:8px}}
/* L'entrée supplémentaire ne doit pas pousser les commandes hors écran. */
.sidebar{overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}

/* VoiceStream v3.3 : abonnements établissement en libre-service et changement d'offre */
.billing-org-onboarding { margin: 18px 0; padding: 20px; border: 1px solid var(--line,#d9e3dd); border-radius: 16px; background: var(--surface-soft,#f7faf7); display: grid; gap: 12px; }
.billing-org-onboarding h3 { margin: 0; }
.billing-org-onboarding .form-field { width: min(100%,460px); }
.billing-org-onboarding input { width: 100%; }
.billing-org-onboarding button { justify-self: start; }
.billing-create-hint { border: 1px dashed #bacbc2; border-radius: 14px; padding: 14px 16px; color: var(--muted,#667770); background: var(--surface-soft,#f7faf7); }
.billing-double-warning { padding: 12px 15px; border-left: 3px solid #a27b39; background: rgba(162,123,57,.08); border-radius: 8px; }
.stripe-plan-current { border-color: #7fafa3 !important; background: rgba(53,118,98,.04); }
.stripe-plan .row.spaced { gap: 8px; flex-wrap: wrap; }
.stripe-plan .row.spaced h3 { margin: 0; }
@media (max-width: 640px){ .billing-org-onboarding { padding: 14px; } .billing-org-onboarding button { width: 100%; justify-self: stretch; } }

/* v3.4 · essai gratuit encadré */
.billing-trial-notice { padding:13px 16px; border:1px solid var(--border,#dce8e4); border-radius:14px; background:var(--surface-soft,#f2f7f5); line-height:1.6; }
.billing-trial-inline { margin:9px 0; padding:10px 12px; font-size:0.9rem; line-height:1.5; border-left:3px solid #16796e; border-radius:8px; background:var(--surface-soft,#f1f7f5); color:inherit; }
.billing-trial-admin { border:1px solid var(--border,#dce8e4); border-radius:15px; padding:16px; background:var(--surface-soft,#f2f7f5); }
.billing-trial-admin h3 { margin:0 0 8px; }
.billing-trial-admin .form-field input { min-width:0; width:100%; }

/* VoiceStream 3.5 — deux sous-titres synchronisés dans le même lecteur. */
.subtitle-language-settings{border:1px solid var(--line);border-radius:12px;padding:16px;margin:12px 0;background:#f7faf7;display:grid;gap:10px}
.subtitle-language-settings .form-field{min-width:0}
.subtitle-target-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.subtitle-language-settings select{width:100%;min-width:0;border:1px solid #d5e4db;border-radius:8px;padding:11px;background:#fff;color:var(--ink)}
.ulum-tv-caption-text.subtitle-multiple{display:flex;flex-direction:column;align-items:center;gap:.20em;max-height:38%;font-size:min(var(--ulum-tv-font,2.4vw),clamp(13px,2vw,29px));padding:.25em .55em}
.subtitle-language-row{display:flex;max-width:100%;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:.40em;line-height:1.24;overflow-wrap:anywhere;unicode-bidi:plaintext}
.subtitle-language-tag{font-size:.47em;text-transform:uppercase;letter-spacing:.07em;opacity:.82;background:#18372dc9;padding:.2em .5em;border-radius:.35em;white-space:nowrap}
.subtitle-language-text{max-width:100%;unicode-bidi:plaintext}
.video-wrap:fullscreen .ulum-tv-caption-text.subtitle-multiple{max-height:44vh;font-size:clamp(18px,2.5vw,39px)}
.direct-video .ulum-tv-caption-text.subtitle-multiple{max-height:45vh}
@media(max-width:700px){.subtitle-target-grid{grid-template-columns:1fr}.subtitle-language-settings{padding:12px}.ulum-tv-caption-text.subtitle-multiple{font-size:clamp(12px,3.2vw,19px);max-height:42vh}.subtitle-language-tag{font-size:.55em}}

/* VoiceStream 3.6 · distinct Standard and Premium IA catalog */
.billing-tier-chooser{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0 20px;padding:14px;border:1px solid var(--border,#d9e4e0);border-radius:14px;background:var(--panel,#fff)}
.billing-tier-chooser .hint{flex-basis:100%;margin:2px 0 0}
.billing-catalog-heading{font-size:1.05rem;font-weight:700;margin:22px 0 10px;padding:9px 12px;border-left:3px solid #18a999;background:rgba(24,169,153,.08);border-radius:4px}
@media(max-width:600px){.billing-tier-chooser .btn{width:100%;justify-content:center}}

/* VoiceStream 3.7 · tarifs Premium et sélection des modèles administrateur */
.billing-model-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.billing-model-card{display:flex;flex-direction:column;gap:10px;align-items:stretch;min-width:0;background:#f5f9f7;border:1px solid #e0e9e6;border-radius:12px;padding:14px}
.billing-model-card .btn{align-self:flex-start}
.billing-model-card input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}
.billing-tier-price-group{border:1px solid #dce6e1;border-radius:13px;padding:12px 16px;margin:15px 0;background:#fff}
.billing-tier-price-group.premium{border-color:#aacfc9;background:#f4faf8}
.billing-tier-price-group .billing-catalog-heading{margin-top:4px}
.billing-tier-price-group .stripe-price-row{grid-template-columns:minmax(130px,1.4fr) minmax(110px,1fr) minmax(110px,1fr) minmax(150px,1.2fr)}
.stripe-price-pending{font-weight:700;color:#865909!important}
.billing-sync-buttons .btn{max-width:100%;white-space:normal;text-align:center}
@media(max-width:1040px){.billing-model-grid{grid-template-columns:1fr}.billing-tier-price-group .stripe-price-row{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-tier-price-group .stripe-price-row>span:first-child,.billing-tier-price-group .stripe-sync-ids{grid-column:1/-1}}
@media(max-width:580px){.billing-tier-price-group{padding:10px}.billing-tier-price-group .stripe-price-row{grid-template-columns:1fr}.billing-tier-price-group .stripe-price-row>span:first-child,.billing-tier-price-group .stripe-sync-ids{grid-column:auto}.billing-sync-buttons .btn{width:100%}}

.billing-tier-price-group summary.billing-catalog-heading{cursor:pointer;list-style-position:inside;user-select:none}
.billing-tier-price-group summary.billing-catalog-heading:focus-visible{outline:2px solid #1b847a;outline-offset:3px}
.billing-tier-price-group:not([open]){padding-bottom:12px}
.billing-tier-price-group:not([open]) summary.billing-catalog-heading{margin-bottom:0}

/* VoiceStream 3.8 — Premium Stripe auto-sync status */
.billing-premium-autosync{margin:16px 0 18px;padding:17px 19px;border:1px solid #c8dfd5;border-radius:12px;background:#eff7f3}
.billing-premium-autosync .inline-check{margin:0;align-items:flex-start}
.billing-premium-autosync .hint{margin-top:8px}
.billing-premium-status{margin-top:9px;font-size:12px;font-weight:650;color:#1b6550}
@media(max-width:700px){.billing-premium-autosync{padding:14px}}
