:root{--nav:#0f172a;--bg:#f3f7fc;--blue:#1d4ed8;--border:#d8e2ef;--text:#07152b}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text);font-size:16px}.topbar{background:var(--nav);color:white;padding:16px 34px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-size:22px;font-weight:900}.topbar nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.topbar a,.topbar span{color:white;text-decoration:none;font-weight:800}.container{width:96%;margin:22px auto}h1{font-size:34px}.card{background:white;border:1px solid var(--border);border-radius:14px;padding:20px;margin-bottom:18px;box-shadow:0 4px 14px rgba(15,23,42,.06)}.narrow{max-width:560px}.hero{background:linear-gradient(120deg,#172554,#1d4ed8);color:white;border-radius:14px;padding:28px;margin-bottom:18px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gridform{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;align-items:end}label{font-weight:800;display:block;margin-bottom:6px}input,select,textarea{width:100%;padding:10px;border:1px solid var(--border);border-radius:9px}textarea{min-height:200px}button,.btn{background:var(--blue);color:white;border:none;border-radius:9px;padding:10px 14px;font-weight:900;text-decoration:none;cursor:pointer}.danger{background:#dc2626!important}.inline{display:inline}.table{width:100%;border-collapse:collapse;background:white}.table th,.table td{border:1px solid var(--border);padding:10px;text-align:left}.alert{background:#fee2e2;color:#991b1b;border:1px solid #fecaca;padding:12px;border-radius:10px}.success{background:#dcfce7;color:#166534;border:1px solid #86efac;padding:12px;border-radius:10px}.softbox{background:#eef2ff;border:1px solid #c7d2fe;border-radius:10px;padding:10px;margin-top:10px}.dropdown{position:relative}.dropdown-content{display:none;position:absolute;background:white;min-width:240px;box-shadow:0 10px 30px rgba(0,0,0,.2);z-index:99;border-radius:10px;padding:8px}.dropdown-content a{color:#0f172a!important;display:block;padding:9px}.dropdown:hover .dropdown-content{display:block}.nav-icon{position:relative;font-size:20px}.badge-count{position:absolute;top:-10px;right:-14px;background:#ef4444;border-radius:999px;color:white;font-size:12px;padding:2px 6px}.meeting-room{background:#eaf1fb;border-radius:18px;padding:12px;display:grid;gap:12px}.main-video-panel{background:#020617;border-radius:14px;min-height:480px;position:relative;overflow:hidden}.main-video-panel video{width:100%;height:480px;object-fit:cover}.video-label,.floating-info{position:absolute;background:rgba(0,0,0,.75);color:white;border-radius:8px;padding:6px 10px}.video-label{left:12px;bottom:12px}.floating-info{left:16px;top:16px;background:white;color:#07152b}.participant-videos{display:flex;gap:10px;overflow:auto}.video-tile{background:#1e293b;border-radius:10px;width:150px;height:100px;position:relative;color:white;overflow:hidden;flex:none}.video-tile video{width:100%;height:100%;object-fit:cover}.video-tile span{position:absolute;left:6px;bottom:6px;background:rgba(0,0,0,.65);border-radius:8px;padding:3px 6px}.side-view{grid-template-columns:2fr 1fr}.side-view .participant-videos{flex-direction:column;max-height:480px}.side-view .video-tile{width:100%;height:130px}.gallery-view{grid-template-columns:1fr}.gallery-view .main-video-panel{display:none}.gallery-view .participant-videos{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.gallery-view .video-tile{width:100%;height:220px}.speaker-view{grid-template-columns:1fr}.speaker-view .participant-videos{height:120px}.webinar-shell{display:grid;grid-template-columns:25% 75%;gap:18px}.webinar-left{min-height:800px;max-height:calc(100vh - 120px);overflow-y:auto;position:sticky;top:10px}.speaker-video{width:98%;aspect-ratio:3/2;border:4px solid var(--blue);border-radius:14px;background:#0b1324;overflow:hidden}.speaker-video video{width:100%;height:100%;object-fit:cover}.participant-strip{display:flex;gap:10px;overflow:auto}.ptile{width:1in;height:1in;background:#1e293b;color:white;border-radius:10px;display:flex;align-items:center;justify-content:center}.pill{display:inline-block;border-radius:999px;background:#eef2ff;color:#1d4ed8;padding:6px 12px;font-weight:900}.pill.red{background:#fee2e2;color:#dc2626}.pill.green{background:#dcfce7;color:#166534}@media(max-width:900px){.topbar{align-items:flex-start;flex-direction:column}.grid2,.grid3,.gridform,.webinar-shell,.side-view{grid-template-columns:1fr}.webinar-left{position:static;max-height:none}.main-video-panel,.main-video-panel video{min-height:320px;height:320px}.side-view .participant-videos{flex-direction:row}.side-view .video-tile{width:150px;height:100px}h1{font-size:30px}}


/* v76 restored meeting UI and feature cards */
.compact-card{padding:14px 18px;margin-bottom:10px}.meeting-control-title{display:flex;justify-content:space-between;align-items:center}.meeting-control-title h2{margin:0}.meeting-control-title p{margin:4px 0 0;color:#64748b}.round-toggle{width:44px;height:44px;border-radius:14px;background:#fff;color:#0f172a;border:1px solid var(--border);font-size:20px}.meeting-action-bar{display:flex;align-items:center;justify-content:space-between;gap:16px}.action-group{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.action-separator{width:1px;min-height:42px;background:#cbd5e1;flex:1;max-width:1px}.icon-btn{background:transparent!important;color:#1d4ed8!important;border:none;width:38px;height:38px;border-radius:999px;font-size:22px;padding:0;display:inline-flex;align-items:center;justify-content:center}.icon-btn:hover{background:#eaf1fb!important}.icon-btn.active,.record-dot.active{background:#dbeafe!important;color:#dc2626!important}.record-dot{color:#dc2626!important}.view-switch{display:flex;gap:10px;align-items:center}.view-btn{background:#fff;color:#0f172a;border:1px solid var(--border);padding:8px 14px}.view-btn.active{background:#1d4ed8;color:white}.panel-window{z-index:20;box-shadow:0 10px 26px rgba(0,0,0,.18);border:2px solid #0f172a}.hidden-panel{display:none}.panel-close{position:absolute;right:10px;top:8px;width:28px;height:28px;border-radius:999px;background:#475569!important;padding:0}.floating-users{position:absolute;right:18%;top:20px;background:#fff;color:#07152b;border-radius:14px;padding:14px;min-width:280px}.floating-controls{position:absolute;right:20px;top:20px;background:#fff;color:#07152b;border-radius:14px;padding:14px;width:280px}.floating-controls button{display:block;width:100%;margin:8px 0}.floating-chat{position:absolute;right:20px;bottom:20px;background:#fff;color:#07152b;border-radius:14px;padding:14px;width:300px}.floating-chat input{margin:8px 0}.chat-box{height:180px;border:1px solid var(--border);border-radius:8px;padding:10px;overflow:auto}.floating-records{position:absolute;right:20px;top:95px;background:#fff;color:#07152b;border-radius:14px;padding:14px;width:280px}.floating-qa{position:absolute;right:330px;bottom:20px;background:#fff;color:#07152b;border-radius:14px;padding:14px;width:300px}.floating-link{position:absolute;left:20px;bottom:20px;background:#fff;color:#07152b;border-radius:14px;padding:14px;max-width:420px}.active-user-row{display:flex;justify-content:space-between;gap:10px;border:1px solid var(--border);padding:10px;border-radius:10px;margin:8px 0}.status-pill{background:#dcfce7;color:#166534;border-radius:999px;padding:3px 8px}.muted{color:#64748b}.bottom-control-card{display:flex;gap:10px;align-items:center}.icon-square{width:48px;height:44px;padding:0}.video-tile .tile-cam,.video-tile .tile-mic{position:absolute;right:6px;width:28px;height:24px;padding:0;font-size:12px}.video-tile .tile-cam{top:6px}.video-tile .tile-mic{top:34px}.feature-hero{background:linear-gradient(120deg,#172554,#1d4ed8);color:#fff}.secondary{background:#475569!important}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:18px}.feature-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px;box-shadow:0 4px 14px rgba(15,23,42,.06)}.feature-icon{width:42px;height:42px;border-radius:12px;background:#eef2ff;display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:12px}.role-summary h2{margin-top:0}
@media(max-width:1100px){.feature-grid{grid-template-columns:repeat(2,1fr)}.floating-users,.floating-controls,.floating-chat,.floating-records,.floating-qa{position:static;width:auto;margin:10px}.meeting-action-bar{align-items:flex-start}.action-separator{display:none}}
@media(max-width:700px){.feature-grid{grid-template-columns:1fr}.action-group{gap:8px}.icon-btn{width:34px;height:34px;font-size:18px}.bottom-control-card{flex-wrap:wrap}}


/* v78 unified control bar and recording fix */
.unified-control-card{padding:0!important;overflow:hidden}.meeting-control-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--border)}.unified-action-bar{box-shadow:none!important;border:none!important;border-radius:0!important;margin:0!important}.hidden{display:none!important}.panel-window{position:absolute}.panel-window .panel-close{position:absolute!important;right:10px!important;top:10px!important;z-index:5}.floating-controls,.floating-records,.floating-chat,.floating-qa,.floating-users,.floating-info,.floating-link{padding-top:38px!important}.record-status{background:#eef2ff;border:1px solid #c7d2fe;border-radius:8px;padding:8px;margin-bottom:8px}.record-mini-player{width:100%;height:110px;background:#111;border-radius:8px;margin-top:8px}.record-row{border:1px solid var(--border);border-radius:8px;padding:8px;margin:6px 0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.record-row a{color:#1d4ed8;font-weight:700}.record-row button{padding:5px 8px}.icon-btn.record-dot.active{background:#fee2e2!important;color:#dc2626!important}.meeting-action-bar.hidden{display:none!important}


/* v79 image-instruction fixes: one top control bar, correct panel close position, recording UX */
.meeting-onebar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:12px 18px!important;
    margin-bottom:10px;
}
.view-left,.control-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.control-right{margin-left:auto}.meeting-onebar .action-separator{height:34px;width:1px;min-height:34px;background:#cbd5e1;margin:0 10px;flex:none;display:inline-block}
.panel-window{position:absolute!important;padding:46px 14px 14px!important;border:2px solid #0f172a!important;z-index:40!important}
.panel-window .panel-close{position:absolute!important;right:10px!important;top:10px!important;width:30px!important;height:30px!important;line-height:30px!important;border-radius:999px!important;background:#475569!important;color:#fff!important;padding:0!important;text-align:center!important;z-index:50!important}
.floating-controls{right:18px!important;top:18px!important}.floating-records{right:18px!important;top:112px!important}.floating-chat{right:18px!important;bottom:18px!important}.floating-qa{right:330px!important;bottom:18px!important}.floating-users{right:270px!important;top:18px!important}.floating-info{left:18px!important;top:18px!important}
.gallery-view .participant-videos{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;width:100%;max-height:none!important}.gallery-view .video-tile{width:100%!important;height:230px!important}.gallery-view .video-tile.camera-on{border:3px solid #1d4ed8}
.side-view .participant-videos .video-tile.camera-on{border:2px solid #1d4ed8}
.record-dot.active,#bottomRecordBtn.active{background:#fee2e2!important;color:#dc2626!important}.meeting-toast{position:fixed;left:50%;top:90px;transform:translateX(-50%);background:#0f172a;color:#fff;padding:12px 18px;border-radius:999px;z-index:9999;box-shadow:0 10px 30px rgba(0,0,0,.24);font-weight:700}
@media(max-width:900px){.meeting-onebar{align-items:flex-start;flex-direction:column}.control-right{margin-left:0}.floating-controls,.floating-records,.floating-chat,.floating-qa,.floating-users,.floating-info,.floating-link{position:static!important;width:auto!important;margin:10px 0!important}.gallery-view .video-tile{height:180px!important}}
.content-builder{display:grid;grid-template-columns:25% 75%;gap:18px;align-items:start}.content-sections{min-height:600px;max-height:calc(100vh - 180px);overflow:auto;position:sticky;top:12px}.content-detail{min-height:600px}.section-pill{border:1px solid var(--border);background:#f8fafc;border-radius:10px;padding:12px;margin-bottom:10px}.preview-section{min-height:120px}.image-placeholder,.chart-placeholder{background:#eef2ff;border:1px dashed #94a3b8;border-radius:12px;padding:28px;text-align:center;white-space:pre-wrap}.caption{color:#475569;font-style:italic;font-size:14px;margin-top:8px}.presentation-section{font-size:20px;line-height:1.5}@media(max-width:900px){.content-builder{grid-template-columns:1fr}.content-sections{position:static;min-height:auto}}
/* v82 webinar live content presentation restoration */
.webinar-live-header{display:flex;align-items:center;justify-content:space-between;gap:16px;}
.presentation-mode{grid-template-columns:25% 75%;align-items:start;}
.compact-card{padding:16px;}
.content-presentation-panel{min-height:820px;overflow-y:auto;}
.section-list{display:flex;flex-direction:column;gap:8px;}
.section-link{display:block;text-decoration:none;border:1px solid var(--border);border-radius:10px;padding:10px;background:#f8fafc;color:#0f172a;font-weight:800;}
.section-link span{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:999px;background:#dbeafe;color:#1d4ed8;margin-right:8px;}
.active-section{border-color:#1d4ed8;background:#eef2ff;}
.content-title-card h1{margin-top:0;}
.live-content-section{min-height:360px;}
.presentation-text{font-size:22px;line-height:1.5;white-space:pre-wrap;}
.presentation-table th,.presentation-table td{font-size:18px;padding:14px;}
.image-placeholder,.chart-placeholder{min-height:260px;background:#eef2ff;border:1px dashed #93c5fd;border-radius:12px;padding:24px;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800;color:#1d4ed8;}
.caption{font-style:italic;color:#475569;margin-top:14px;}
.mini-section{border:1px solid var(--border);border-radius:10px;padding:12px;margin-bottom:10px;background:#f8fafc;}
.muted{color:#64748b;}
.btn.small{padding:8px 12px;font-size:14px;}
@media(max-width:900px){.webinar-live-header{flex-direction:column;align-items:flex-start}.presentation-mode{grid-template-columns:1fr}.content-presentation-panel{min-height:auto}}

/* v85 meeting start list action table */
.meeting-action-table th,
.meeting-action-table td {
    vertical-align: top;
}
.action-cell {
    white-space: nowrap;
}
.action-form {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.btn-small {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
}
.status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e8eef8;
    color: #1e3a8a;
    font-weight: 800;
    font-size: 13px;
}
.status-running { background: #dcfce7; color: #166534; }
.status-scheduled { background: #e0f2fe; color: #075985; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-ended { background: #e5e7eb; color: #374151; }
@media (max-width: 900px) {
    .meeting-action-table { min-width: 980px; }
    .card { overflow-x: auto; }
}

/* v86 Full screen exit support */
#meetingRoom:fullscreen {
    width: 100vw;
    height: 100vh;
    padding: 14px;
    overflow: auto;
    background: #eaf1fb;
}
#meetingRoom:fullscreen .main-video-panel {
    min-height: calc(100vh - 80px);
}
#meetingRoom:fullscreen .main-video-panel video {
    height: calc(100vh - 80px);
}
#exitFullScreenBtn {
    background: #dc2626 !important;
    color: #fff !important;
}
/* v88 Webinar main camera promotion */
.main-camera-frame{position:relative;}
.camera-name-badge{position:absolute;left:10px;bottom:10px;background:rgba(0,0,0,.72);color:#fff;border-radius:999px;padding:5px 10px;font-weight:800;}
.selected-main-camera{outline:3px solid #16a34a;}
.webinar-camera-tile button{font-size:12px;padding:4px 6px;margin:2px;}

/* v89 webinar AV refinement */
.clean-icons .icon-only,
.icon-only {
    background: transparent !important;
    border: 0 !important;
    color: #1d4ed8 !important;
    box-shadow: none !important;
    padding: 4px 6px !important;
    min-width: 28px;
    min-height: 28px;
    border-radius: 999px;
    font-size: 18px;
    line-height: 1;
}
.clean-icons .icon-only:hover,
.icon-only:hover {
    background: rgba(29,78,216,.08) !important;
}
.icon-only.off {
    color: #dc2626 !important;
    opacity: .75;
}
.icon-only.record-on {
    color: #dc2626 !important;
}
.audience-self-camera {
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    border: 2px solid #1d4ed8;
    position: relative;
    margin-bottom: 8px;
}
.audience-self-camera video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tiny-control-row {
    justify-content: flex-start;
    gap: 6px;
    margin-top: 4px;
}
.small-muted {
    color: #475569;
    font-size: 13px;
    margin-top: 8px;
}
.joined-camera-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
}
.joined-camera-list .ptile {
    width: 96px;
    height: 96px;
    flex: 0 0 auto;
    background: #1e293b;
    color: #fff;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.joined-camera-list .ptile video,
.joined-camera-list .mini-video-surface {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.joined-camera-list .ptile span {
    position: absolute;
    left: 4px;
    bottom: 4px;
    background: rgba(0,0,0,.72);
    color: #fff;
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 11px;
    max-width: 88px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.tiny-under-controls {
    position: absolute;
    right: 2px;
    top: 2px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tiny-under-controls button {
    background: rgba(29,78,216,.85) !important;
    color: white !important;
    border: 0 !important;
    padding: 2px 4px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    min-width: 22px;
}
.empty-camera-list {
    width: 100%;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
}
.webinar-toast-box {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.webinar-toast {
    background: #0f172a;
    color: #fff;
    border-left: 5px solid #1d4ed8;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 12px 32px rgba(15,23,42,.25);
    max-width: 360px;
}
.pill.gray {
    background: #e5e7eb !important;
    color: #374151 !important;
}
@media(max-width:900px){
    .joined-camera-list .ptile{width:82px;height:82px;}
    .clean-icons .icon-only,.icon-only{font-size:16px;min-width:26px;}
}


/* v90 icon-only AV/recording controls for speaker and audience */
.clean-icons .icon-only,
.icon-only,
.icon-btn,
.icon-square,
.panel-icon-action,
.speaker-action-row button,
.tiny-control-row button,
.tile-cam,
.tile-mic {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #1d4ed8 !important;
    min-width: 34px;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    border-radius: 999px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}
.clean-icons .icon-only:hover,
.icon-only:hover,
.icon-btn:hover,
.icon-square:hover,
.panel-icon-action:hover,
.speaker-action-row button:hover,
.tiny-control-row button:hover,
.tile-cam:hover,
.tile-mic:hover {
    background: rgba(29,78,216,.10) !important;
}
.icon-only.record-on,
.record-dot,
#recordToggleBtn,
#recordBtn,
#bottomRecordBtn,
#panelRecordBtn {
    color: #dc2626 !important;
}
.panel-icon-action.danger,
.bottom-control-card .danger {
    color: #dc2626 !important;
    background: transparent !important;
}
.floating-controls .inline {
    display: inline-flex;
}
.floating-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.floating-controls h3 {
    flex: 0 0 100%;
}
.floating-controls .panel-close {
    position: absolute;
    top: 10px;
    right: 10px;
}
.bottom-control-card {
    display: flex;
    gap: 10px;
    align-items: center;
}


/* v91 webinar join after schedule + clean transparent action icons */
.speaker-action-row .no-bg-action,
.no-bg-action,
.restore-main-icon {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #1d4ed8 !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border-radius: 999px !important;
}
.speaker-action-row .no-bg-action:hover,
.no-bg-action:hover,
.restore-main-icon:hover {
    background: transparent !important;
    transform: scale(1.1);
}
#recordToggleBtn.no-bg-action { color: #dc2626 !important; }
.webinar-inline-notice {
    background: #eff6ff;
    border: 1px solid #93c5fd;
    color: #1e3a8a;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 12px 0;
    font-weight: 800;
}
.recorded-webinar-video {
    width: 100%;
    min-height: 360px;
    background: #020617;
    border-radius: 14px;
}
.recorded-session-card { border-left: 5px solid #1d4ed8; }
.speaker-waiting-overlay{position:fixed;inset:0;background:rgba(2,6,23,.68);z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}.speaker-waiting-card{background:#fff;border-radius:18px;box-shadow:0 20px 60px rgba(0,0,0,.35);max-width:560px;text-align:center;padding:34px;border:1px solid #d8e2ef}.speaker-waiting-card h2{font-size:32px;margin:0 0 12px}.speaker-waiting-card p{font-size:18px;color:#475569}.webinar-join-card button:disabled{background:#94a3b8!important;cursor:not-allowed}.early-wait-box{font-size:17px}


/* v94 webinar audience/speaker audio behaviour */
.audio-unlock-btn{display:none;background:transparent!important;border:0!important;color:#1d4ed8!important;font-weight:800;padding:4px 0!important;margin-top:6px;box-shadow:none!important;}
.audio-unlock-btn.show{display:inline-block;}
.question-list{margin-top:10px;max-height:160px;overflow:auto;}
.question-item{background:#f8fafc;border:1px solid #dbeafe;border-radius:10px;padding:8px;margin-bottom:6px;font-size:14px;}
.speaker-action-row .icon-only,.tiny-control-row .icon-only{background:transparent!important;box-shadow:none!important;border:0!important;}
.audience-self-panel .small-muted{line-height:1.35;}


.webinar-recording-list-panel{margin-top:16px}
.recording-panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.smartmeet-toast{position:fixed;right:20px;bottom:20px;background:#0f172a;color:#fff;padding:14px 18px;border-radius:12px;z-index:99999;box-shadow:0 10px 30px rgba(0,0,0,.25);font-weight:700}
.icon-only-action{background:transparent!important;border:none!important;box-shadow:none!important;padding:6px!important;font-size:20px!important;cursor:pointer}


/* v96 speaker audio broadcast and strict camera separation */
.no-bg-action,.icon-only.no-bg-action,.speaker-action-row button,.tiny-control-row button{background:transparent!important;border:0!important;box-shadow:none!important;color:#0f172a!important;padding:4px 6px!important;min-width:auto!important;font-size:20px!important;line-height:1!important}
.speaker-action-row .record-on{color:#dc2626!important}
.audience-only-camera{display:flex!important;align-items:center;justify-content:center;overflow:hidden}
.audience-only-camera .mini-video-surface{width:100%;height:100%;background:#1e293b;border-radius:8px;overflow:hidden}
.audience-only-camera video{width:100%;height:100%;object-fit:cover}
.audio-unlock-btn{display:none;background:#16a34a!important;color:white!important;border-radius:999px!important;margin-top:8px!important}
.audio-unlock-btn.show{display:inline-flex!important}
.webinar-inline-notice{position:sticky;top:0;z-index:999;background:#dbeafe;border:1px solid #93c5fd;color:#0f172a;border-radius:12px;padding:12px;margin:8px 0;font-weight:700}

/* v97 simple webinar broadcast layout: speaker in main view; audience cameras in scrollable list */
.joined-camera-list{max-height:260px;overflow-y:auto;overflow-x:hidden;display:flex;flex-wrap:wrap;align-content:flex-start;gap:10px;padding-right:4px;}
.joined-camera-list .empty-camera-list{width:100%;color:#64748b;font-size:13px;padding:10px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;}
.joined-camera-list .ptile{width:96px;height:96px;flex:0 0 96px;}
.speaker-video video#speakerVideo{background:#0b1324;}

/* SmartMeet v99: simple webinar broadcast layout like reference image */
.webinar-live-header{background:linear-gradient(135deg,#07172f,#102548);color:#fff;border:0;display:flex;align-items:center;justify-content:space-between;gap:12px}
.webinar-shell.presentation-mode{display:grid;grid-template-columns:360px minmax(0,1fr);gap:18px;align-items:start}
.webinar-left{display:flex;flex-direction:column;gap:14px;max-height:calc(100vh - 120px);overflow:auto;padding-right:8px}
.webinar-right{display:flex;flex-direction:column;gap:14px}
.compact-card h2{margin-top:0;color:#0b1730}.main-camera-frame{position:relative;border:5px solid #075bea;border-radius:18px;overflow:hidden;background:#071225;min-height:210px;box-shadow:0 8px 24px rgba(7,91,234,.18)}
.main-camera-frame video{display:block;width:100%;height:240px;object-fit:cover;background:#071225}.camera-name-badge{position:absolute;left:12px;bottom:12px;background:rgba(0,0,0,.78);color:#fff;border-radius:18px;padding:6px 12px;font-weight:800}.speaker-video-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;color:#dbeafe;background:linear-gradient(135deg,rgba(7,18,37,.92),rgba(15,23,42,.85));font-weight:800;padding:20px}.pill.green{background:#d1fae5;color:#047857;border-radius:999px;padding:7px 14px;font-weight:900}.audio-unlock-btn{display:none;margin:10px 0 4px;background:#0b5fff;color:#fff;border:0;border-radius:12px;padding:10px 14px;font-weight:800;cursor:pointer}.audio-unlock-btn.show{display:inline-flex!important}.participant-strip.joined-camera-list{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;padding:10px 4px 14px;scrollbar-width:thin}.webinar-camera-tile{flex:0 0 115px;position:relative;background:#111827;border-radius:12px;overflow:hidden;min-height:110px;box-shadow:0 8px 20px rgba(15,23,42,.12)}.webinar-camera-tile video{width:115px;height:95px;object-fit:cover;background:#1f2937}.webinar-camera-tile span{position:absolute;left:6px;bottom:7px;background:rgba(0,0,0,.72);color:#fff;border-radius:10px;padding:2px 6px;font-size:12px;font-weight:800}.tiny-under-controls{position:absolute;right:5px;top:5px}.content-title-card,.live-content-section,.all-content-list{min-height:120px}.live-content-section{min-height:360px}.presentation-text{font-size:24px;line-height:1.6}.question-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}.question-item{padding:10px 12px;border:1px solid #dbe4f0;border-radius:12px;background:#f8fbff}.empty-camera-list{color:#64748b;padding:10px}.webinar-inline-notice{position:sticky;top:8px;z-index:20;background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af;border-radius:12px;padding:10px 14px;margin-bottom:10px;font-weight:700}.webinar-inline-notice.hidden{display:none}@media(max-width:900px){.webinar-live-header{border-radius:0;margin:0}.webinar-shell.presentation-mode{display:flex;flex-direction:column}.webinar-left{max-height:none;overflow:visible;width:100%}.webinar-right{width:100%}.main-camera-frame video{height:220px}.compact-card{border-radius:18px}.participant-strip.joined-camera-list{max-width:100%;overflow-x:auto}.webinar-camera-tile{flex-basis:105px}.webinar-camera-tile video{width:105px;height:90px}.presentation-text{font-size:20px}}


/* v100 automatic recording and speaker-controlled content scroll */
.content-presentation-panel[data-scroll-sync="speaker-controlled"] { scroll-behavior: auto; }
.smartmeet-auto-record-panel { position: fixed; inset: 0; z-index: 99999; background: rgba(15,23,42,.55); display: flex; align-items: center; justify-content: center; padding: 18px; }
.smartmeet-auto-record-card { width: min(520px, 96vw); background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.25); padding: 24px; border: 1px solid #dbe7ff; }
.smartmeet-auto-record-card h2 { margin: 0 0 10px; color: #0f172a; }
.smartmeet-auto-record-card p { margin: 0 0 16px; color: #334155; line-height: 1.5; }
.smartmeet-auto-record-card button { width: 100%; border: 0; border-radius: 12px; padding: 14px 16px; background: #1455e8; color: #fff; font-weight: 800; font-size: 16px; cursor: pointer; }
.smartmeet-auto-record-card small { display: block; margin-top: 10px; color: #64748b; }
@media (max-width: 720px) { .smartmeet-auto-record-card { padding: 18px; } }

/* v102 clean webinar top actions */
.live-top-action{display:inline-flex!important;align-items:center;justify-content:center;min-width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);font-size:18px;text-decoration:none;cursor:pointer;color:#fff;margin-left:4px}
.live-top-action:hover{background:rgba(255,255,255,.18)}
.share-top-action{font-family:inherit;padding:0 8px}
.webinar-live-header{margin-top:0}
@media(max-width:900px){.live-top-action{min-width:30px;height:30px;font-size:15px}.topbar nav{gap:8px;flex-wrap:wrap}.hello{font-size:14px}}

/* v103 compact webinar presentation heading */
.webinar-live-header{margin-bottom:14px;padding:28px 30px!important;border-radius:18px!important}
.webinar-live-header h1{margin:0 0 12px;font-size:34px}
.webinar-live-header p{margin:0;font-size:17px}
.webinar-live-header .pill{margin-left:8px}
.speaker-live-dot{float:right;font-size:14px;color:#16a34a;font-weight:900;margin-top:4px}
.compact-title-card{min-height:auto!important;padding:22px 28px!important;margin-bottom:0!important}
.presentation-heading-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #dbe4f0;padding-bottom:12px;margin-bottom:14px}
.presentation-heading-row h1{margin:0!important;font-size:28px}
.presentation-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.small-pill{font-size:14px;padding:8px 16px!important;white-space:nowrap}
.heading-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:46px;height:42px;border-radius:12px;border:1px solid #cbd5e1;background:#f8fbff;text-decoration:none;font-size:20px;cursor:pointer;box-shadow:0 4px 10px rgba(15,23,42,.06)}
.heading-icon-btn:hover{background:#eef5ff;transform:translateY(-1px)}
.content-icon{border-color:#a78bfa;background:#f5f3ff}.recording-icon{border-color:#93c5fd;background:#eff6ff}.screen-share-icon{border-color:#86efac;background:#f0fdf4;color:#047857}
.content-meta-line{margin:0!important;font-size:16px;line-height:1.5}
.webinar-shell.presentation-mode{gap:14px!important}.webinar-right{gap:12px!important}.compact-card{padding:18px!important}.compact-card h2{margin-top:0;margin-bottom:12px}.live-content-section{min-height:400px!important;padding:30px 28px!important}.live-content-section h2{font-size:30px;margin-top:0}.presentation-text{font-size:26px!important;line-height:1.55!important}
@media(max-width:900px){.webinar-live-header{padding:18px!important}.webinar-live-header h1{font-size:28px}.presentation-heading-row{align-items:flex-start;flex-direction:column}.presentation-heading-actions{justify-content:flex-start;gap:8px}.small-pill{font-size:12px;padding:7px 11px!important}.heading-icon-btn{width:42px;height:38px;font-size:18px}.compact-title-card{padding:18px!important}.content-meta-line{font-size:14px}.speaker-live-dot{float:none;margin-left:8px}.live-content-section{min-height:340px!important}.presentation-text{font-size:21px!important}}


/* v104: presentation/live view top bar shows only End Webinar action. */
.end-webinar-nav{
    background:#dc2626;
    color:#fff!important;
    border:1px solid #b91c1c;
    border-radius:10px;
    padding:10px 18px;
    font-weight:800;
    text-decoration:none;
}
.end-webinar-nav:hover{background:#b91c1c;color:#fff!important;}

/* v105: participant control lockdown */
.hidden-for-participant { display: none !important; }
.viewer-status-icons .disabled-view-icon { cursor: default; opacity: .75; pointer-events: none; }
.participant-readonly-section { cursor: default; pointer-events: none; opacity: .95; }
#audienceMicBtn[disabled] { opacity: .55; cursor: not-allowed; }

/* v106: End Webinar is speaker/host only and shown as compact icon in presentation mode. */
.end-webinar-icon{
    display:inline-flex;align-items:center;justify-content:center;
    width:42px;height:42px;border-radius:12px;
    background:#dc2626;color:#fff!important;border:1px solid #b91c1c;
    font-size:20px;font-weight:900;text-decoration:none;line-height:1;
    box-shadow:0 6px 14px rgba(220,38,38,.22);
}
.end-webinar-icon:hover{background:#b91c1c;color:#fff!important;transform:translateY(-1px);}


/* v107: Written Q&A matrix and end webinar confirmation */
.question-entry-row{display:flex;gap:8px;align-items:center;margin-bottom:12px}.question-entry-row input{flex:1;min-width:0}.question-matrix-wrap{overflow:auto;max-height:260px;border:1px solid #dbe4f0;border-radius:12px;background:#fff}.question-matrix-table{width:100%;border-collapse:collapse;font-size:13px}.question-matrix-table th,.question-matrix-table td{padding:9px 10px;border-bottom:1px solid #eef2f7;text-align:left;vertical-align:top}.question-matrix-table th{background:#f8fbff;color:#0f172a;font-weight:800;position:sticky;top:0}.empty-qna{text-align:center;color:#64748b}.qstatus{display:inline-flex;padding:4px 8px;border-radius:999px;font-weight:800;font-size:12px}.qstatus-new{background:#dbeafe;color:#1d4ed8}.qstatus-pending{background:#fef3c7;color:#b45309}.qstatus-answered{background:#dcfce7;color:#15803d}.detail-icon-btn{border:1px solid #cbd5e1;background:#f8fbff;border-radius:8px;cursor:pointer;padding:5px 8px}.smartmeet-modal{position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:9999;display:flex;align-items:center;justify-content:center;padding:18px}.smartmeet-modal.hidden{display:none}.smartmeet-modal-card{width:min(720px,96vw);background:#fff;border-radius:18px;padding:24px;box-shadow:0 18px 40px rgba(15,23,42,.25)}.question-detail-body{background:#f8fbff;border:1px solid #dbe4f0;border-radius:12px;padding:14px;margin-bottom:14px}.question-answer-panel{display:grid;gap:8px;margin-bottom:14px}.question-answer-panel.hidden{display:none}.question-answer-panel select,.question-answer-panel textarea{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:10px;font:inherit}@media(max-width:900px){.question-matrix-table{font-size:12px}.question-matrix-table th,.question-matrix-table td{padding:7px}.question-entry-row{flex-direction:column;align-items:stretch}}


/* v108 meeting schedule duration and compact aligned fields */
.meeting-schedule-form{display:grid;grid-template-columns:160px 1fr;gap:12px 18px;align-items:center;}
.meeting-schedule-form .field-row{display:contents;}
.meeting-schedule-form label{margin:0;font-weight:900;}
.meeting-schedule-form input{max-width:100%;}
.schedule-inline-row{grid-column:1 / -1;display:grid;grid-template-columns:160px minmax(150px,1fr) minmax(130px,1fr) 95px 110px minmax(190px,1fr);gap:10px 12px;align-items:center;margin-top:4px;}
.schedule-inline-row .field-row{display:contents;}
.schedule-action-row{grid-column:2 / 3;display:flex;justify-content:flex-start;margin-top:2px;}
.schedule-action-row button{min-width:260px;}
#calculatedEndTime{background:#f8fafc;font-weight:800;color:#334155;}
@media(max-width:900px){.meeting-schedule-form{grid-template-columns:1fr;}.meeting-schedule-form .field-row{display:block;}.meeting-schedule-form label{margin-bottom:6px;}.schedule-inline-row{grid-column:auto;grid-template-columns:1fr;}.schedule-inline-row .field-row{display:block;}.schedule-action-row{grid-column:auto;}.schedule-action-row button{width:100%;}}

/* v109: Duration as one label with selectable hours/minutes; tighter date/time/end-time row */
.compact-time-row{
    grid-template-columns: minmax(270px,1fr) minmax(220px,.8fr) minmax(430px,1.35fr) minmax(300px,1fr);
    gap:10px 12px;
    align-items:center;
}
.schedule-field-pair{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:8px;
    align-items:center;
    min-width:0;
}
.schedule-field-pair label{
    white-space:nowrap;
    margin:0;
    font-weight:900;
}
.schedule-field-pair input,
.schedule-field-pair select{
    width:100%;
    min-width:0;
    border:1px solid #cbd5e1;
    border-radius:10px;
    padding:10px 12px;
    font:inherit;
    background:#fff;
}
.duration-pair{grid-template-columns:auto 1fr;}
.duration-selects{
    display:grid;
    grid-template-columns:minmax(110px,.9fr) minmax(140px,1fr) auto;
    gap:8px;
    align-items:center;
    min-width:0;
}
.duration-hint{
    white-space:nowrap;
    font-size:12px;
    font-weight:800;
    color:#2563eb;
    background:#eff6ff;
    border:1px solid #bfdbfe;
    border-radius:999px;
    padding:7px 10px;
}
.end-pair{grid-template-columns:auto minmax(170px,1fr);}
.time-pair{grid-template-columns:auto minmax(130px,1fr);}
@media(max-width:1100px){
    .compact-time-row{grid-template-columns:1fr 1fr;}
}
@media(max-width:700px){
    .compact-time-row{grid-template-columns:1fr;}
    .schedule-field-pair{grid-template-columns:88px 1fr;}
    .duration-selects{grid-template-columns:1fr 1fr;}
    .duration-hint{grid-column:1 / -1;text-align:center;}
}

/* v110: compact meeting ID/passcode/host row, meeting link, copy detail, and email invite after save */
.meeting-schedule-v110 .title-row{display:contents;}
.meeting-id-pass-host-row{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns: minmax(260px,1fr) minmax(220px,.8fr) minmax(260px,1fr);
    gap:10px 14px;
    align-items:center;
}
.meeting-link-email-row{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns: minmax(520px,1.4fr) minmax(300px,.8fr);
    gap:10px 14px;
    align-items:center;
}
.copy-input-group{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;}
.secondary-btn,.copy-detail-btn{background:#475569!important;color:#fff!important;}
.v110-actions{gap:10px;align-items:center;flex-wrap:wrap;}
.copy-status{font-weight:900;color:#166534;background:#dcfce7;border:1px solid #86efac;border-radius:999px;padding:6px 10px;min-height:30px;display:inline-flex;align-items:center;}
.copy-status:empty{display:none;}
.table-copy-link{font-size:13px;padding:6px 8px;border-radius:7px;min-width:260px;background:#f8fafc;}
@media(max-width:1100px){
    .meeting-id-pass-host-row,.meeting-link-email-row{grid-template-columns:1fr;}
}
@media(max-width:700px){
    .copy-input-group{grid-template-columns:1fr;}
    .v110-actions button{width:100%;}
}

/* v111 duplicate prevention and edit schedule */
.schedule-alert{grid-column:1/-1;padding:10px 14px;border-radius:10px;margin-bottom:10px;font-weight:800}
.schedule-alert.error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.schedule-alert.success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}
.edit-meeting-btn{padding:7px 12px;border-radius:8px;background:#2563eb;color:#fff;border:0;font-weight:800;cursor:pointer}
.v110-actions .secondary-btn,.meeting-schedule-v111 .secondary-btn{background:#64748b;color:#fff;border:0}
/* v113 meeting transcription */
.compact-transcription-form select,
.compact-transcription-form textarea{width:100%;padding:10px;border:1px solid #d6e1f3;border-radius:10px;}
.realtime-transcription-card textarea{width:100%;margin-top:12px;padding:12px;border:1px solid #d6e1f3;border-radius:10px;}
.transcription-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0;}
.transcription-toolbar input{max-width:220px;padding:10px;border:1px solid #d6e1f3;border-radius:10px;}
.btn-primary,.btn-secondary{border:0;border-radius:10px;padding:10px 16px;font-weight:800;cursor:pointer;}
.btn-primary{background:#2454db;color:#fff;}.btn-secondary{background:#4b5563;color:#fff;}


/* v115: Reliable floating controller close fix.
   Some panel classes (e.g., .floating-controls) set display:flex later in the CSS,
   so .hidden-panel must use !important to actually hide the panel after clicking X. */
.hidden-panel, .panel-window.hidden-panel {
    display: none !important;
}
.panel-close {
    cursor: pointer !important;
}

/* v117: participants toggle side panel and compact participant camera view */
.participant-side-panel{background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px;box-shadow:0 4px 14px rgba(15,23,42,.06);min-height:220px;align-self:start}.participant-panel-header{display:flex;align-items:center;justify-content:space-between}.participant-panel-header h3,.participant-videos-panel h3{margin:0 0 10px}.panel-close-inline{background:#475569!important;width:30px;height:30px;border-radius:999px;padding:0}.participant-list-matrix{border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-bottom:12px}.participant-list-head,.participant-list-row{display:grid;grid-template-columns:1.3fr .8fr .8fr .6fr;gap:6px;align-items:center;padding:8px;border-bottom:1px solid var(--border);font-size:14px}.participant-list-head{font-weight:900;background:#f8fafc}.participant-list-row:last-child{border-bottom:none}.role-pill{background:#eef2ff;color:#1d4ed8}.participant-side-cameras{display:grid;grid-template-columns:repeat(2, minmax(80px,1fr));gap:10px}.side-camera-tile{width:100%!important;height:90px!important}.camera-filter-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.filter-btn{padding:9px 10px}.meeting-room.participants-open{grid-template-columns:2fr 1fr}.meeting-room.participants-open .participant-videos-panel{grid-column:1 / 2}.participant-videos-panel{background:#eaf1fb;border-radius:12px;padding:8px}.speaker-view .participant-videos-panel .video-tile{width:80px!important;height:60px!important}.speaker-view .participant-videos-panel .video-tile span,.gallery-view .video-tile span{font-size:11px;line-height:1.1}.gallery-view .participant-videos{display:grid!important;grid-template-columns:repeat(auto-fill,80px)!important;gap:8px!important}.gallery-view .video-tile{width:80px!important;height:60px!important}.camera-off-filter .video-tile.camera-on{display:none!important}.only-video-on-filter .video-tile:not(.camera-on){display:none!important}@media(max-width:900px){.meeting-room.participants-open{grid-template-columns:1fr}.participant-side-panel{order:2}.participant-videos-panel{order:3}.camera-filter-actions{grid-template-columns:1fr}.participant-list-head,.participant-list-row{grid-template-columns:1fr .8fr .8fr .6fr;font-size:12px}.side-camera-tile{height:76px!important}}


/* v118: Gallery is a dedicated view only; all joined users appear there. Speaker view shows joined participants below the speaker in a scrollable strip. */
.speaker-view .participant-videos-panel{
    display:block!important;
    max-height:145px;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
}
.speaker-view .participant-videos{
    display:flex!important;
    gap:10px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding-bottom:8px;
    min-height:112px;
}
.speaker-view .participant-videos .video-tile[data-role="Host"]{
    display:none!important;
}
.speaker-view .participant-videos-panel .video-tile{
    width:120px!important;
    height:100px!important;
    min-width:120px!important;
    min-height:100px!important;
}
.gallery-view .main-video-panel{
    display:none!important;
}
.gallery-view .participant-videos-panel{
    display:block!important;
}
.gallery-view .participant-videos-panel h3::after{
    content:' (All Participants)';
}
.gallery-view .participant-videos{
    display:grid!important;
    grid-template-columns:repeat(auto-fill,minmax(120px,1fr))!important;
    gap:12px!important;
    width:100%!important;
    max-height:none!important;
    overflow:visible!important;
}
.gallery-view .participant-videos .video-tile{
    display:block!important;
    width:100%!important;
    min-width:120px!important;
    height:100px!important;
    min-height:100px!important;
}
.gallery-view .participant-videos .video-tile[data-role="Host"]{
    display:block!important;
}
.side-view .participant-videos-panel .video-tile{
    min-width:120px!important;
    height:100px!important;
}
@media(max-width:900px){
    .gallery-view .participant-videos{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))!important;}
    .gallery-view .participant-videos .video-tile{height:100px!important;}
}


/* v119: restore proper Speaker/Gallery behavior similar to Zoom/Teams. */
.meeting-room.speaker-view{
    grid-template-columns:1fr!important;
}
.meeting-room.speaker-view .main-video-panel{
    width:100%!important;
    height:80vh!important;
    min-height:520px!important;
    max-height:80vh!important;
}
.meeting-room.speaker-view .main-video-panel video{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}
.meeting-room.speaker-view .participant-videos-panel{
    display:block!important;
    width:100%!important;
    max-height:150px!important;
    overflow:hidden!important;
    background:#eaf1fb;
}
.participant-panel-title-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}
.meeting-room.speaker-view .participant-videos{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:10px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:4px 0 10px!important;
    min-height:112px!important;
}
.meeting-room.speaker-view .participant-videos .video-tile[data-role="Host"]{
    display:none!important;
}
.meeting-room.speaker-view .participant-videos .video-tile{
    width:120px!important;
    height:100px!important;
    min-width:120px!important;
    min-height:100px!important;
}

/* Gallery: all joined participants only after clicking Gallery; adaptive tile ratio with paging when minimum tile size is reached. */
.meeting-room.gallery-view{
    grid-template-columns:1fr!important;
}
.meeting-room.gallery-view .main-video-panel{
    display:none!important;
}
.meeting-room.gallery-view .participant-videos-panel{
    display:block!important;
    width:100%!important;
    min-height:80vh!important;
    background:#eaf1fb;
}
.meeting-room.gallery-view #participantVideosTitle::after{
    content:' - Gallery View';
}
.meeting-room.gallery-view .participant-videos{
    display:grid!important;
    gap:12px!important;
    width:100%!important;
    height:calc(80vh - 95px)!important;
    min-height:520px!important;
    overflow:hidden!important;
    align-content:start!important;
}
.meeting-room.gallery-view .participant-videos .video-tile{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:120px!important;
    min-height:100px!important;
}
.meeting-room.gallery-view .participant-videos .video-tile.gallery-hidden-page{
    display:none!important;
}
.gallery-pager{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:800;
}
.gallery-pager.hidden-panel{display:none!important;}
.pager-btn{
    background:#1d4ed8!important;
    color:#fff!important;
    border:0!important;
    border-radius:8px!important;
    padding:7px 12px!important;
    font-weight:900!important;
}
.pager-btn:disabled{
    background:#94a3b8!important;
    cursor:not-allowed!important;
}
@media(max-width:900px){
    .meeting-room.speaker-view .main-video-panel{
        height:70vh!important;
        min-height:360px!important;
    }
    .meeting-room.gallery-view .participant-videos-panel{
        min-height:70vh!important;
    }
    .meeting-room.gallery-view .participant-videos{
        height:calc(70vh - 95px)!important;
        min-height:360px!important;
    }
}

/* v120: clean full-screen meeting room. Navigation removed in Room.cshtml. */
body.meeting-fullscreen-body{
    margin:0!important;
    width:100vw!important;
    height:100vh!important;
    overflow:hidden!important;
    background:#eaf1fb!important;
}
.meeting-stage-shell{
    position:relative!important;
    width:100vw!important;
    height:100vh!important;
    overflow:hidden!important;
    background:#eaf1fb!important;
}
.meeting-room-v120{
    position:absolute!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    padding:0!important;
    margin:0!important;
    border-radius:0!important;
    background:#eaf1fb!important;
    display:grid!important;
    gap:0!important;
}
.meeting-room-v120 .main-video-panel{
    border-radius:0!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    background:#020617!important;
}
.meeting-room-v120 .main-video-panel video{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    object-fit:cover!important;
}
.meeting-room-v120 .video-label{z-index:5;}
.meeting-controlbar-v120{
    position:fixed!important;
    left:50%!important;
    top:12px!important;
    transform:translateX(-50%) translateY(-140%)!important;
    width:calc(100vw - 48px)!important;
    max-width:1900px!important;
    z-index:5000!important;
    background:rgba(255,255,255,.96)!important;
    backdrop-filter:blur(10px)!important;
    border:1px solid #d8e2ef!important;
    border-radius:14px!important;
    box-shadow:0 10px 28px rgba(15,23,42,.16)!important;
    transition:transform .22s ease, opacity .22s ease!important;
    opacity:0!important;
}
.meeting-controlbar-v120.visible,
.meeting-controlbar-v120.pinned{
    transform:translateX(-50%) translateY(0)!important;
    opacity:1!important;
}
.meeting-controlbar-v120 .view-left,
.meeting-controlbar-v120 .control-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.meeting-controlbar-v120 .control-right{margin-left:auto;}
.meeting-controlbar-v120 .icon-btn.active,
.meeting-controlbar-v120 .view-btn.active{box-shadow:0 0 0 2px rgba(37,99,235,.18);}
.meeting-controlbar-v120.hidden-by-user{transform:translateX(-50%) translateY(-140%)!important;opacity:0!important;}

/* Speaker view: speaker uses the full available screen; joined list is small overlay/strip below speaker and scrollable. */
.meeting-room-v120.speaker-view{
    grid-template-columns:1fr!important;
    grid-template-rows:1fr!important;
}
.meeting-room-v120.speaker-view .main-video-panel{
    grid-column:1!important;
    grid-row:1!important;
}
.meeting-room-v120.speaker-view .participant-videos-panel{
    position:absolute!important;
    left:18px!important;
    right:18px!important;
    bottom:18px!important;
    width:auto!important;
    max-height:150px!important;
    min-height:0!important;
    background:rgba(234,241,251,.72)!important;
    border-radius:14px!important;
    padding:10px 12px!important;
    overflow:hidden!important;
    z-index:20!important;
    backdrop-filter:blur(8px)!important;
}
.meeting-room-v120.speaker-view .participant-videos-panel h3{margin:0 0 8px!important;color:#07152b!important;}
.meeting-room-v120.speaker-view .participant-videos{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:10px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    height:100px!important;
    min-height:100px!important;
    padding:0 0 6px!important;
}
.meeting-room-v120.speaker-view .participant-videos .video-tile[data-user]{
    display:block!important;
    width:120px!important;
    min-width:120px!important;
    height:90px!important;
    min-height:90px!important;
}
.meeting-room-v120.speaker-view .participant-videos .video-tile[data-user]:first-child{
    display:none!important;
}

/* Gallery view: fills the whole screen; JavaScript decides columns/rows/page. */
.meeting-room-v120.gallery-view{
    grid-template-columns:1fr!important;
    grid-template-rows:1fr!important;
}
.meeting-room-v120.gallery-view .main-video-panel{display:none!important;}
.meeting-room-v120.gallery-view .participant-side-panel{display:none!important;}
.meeting-room-v120.gallery-view .participant-videos-panel{
    position:absolute!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    min-height:0!important;
    background:#eaf1fb!important;
    border-radius:0!important;
    padding:16px!important;
    overflow:hidden!important;
}
.meeting-room-v120.gallery-view .participant-panel-title-row{
    height:44px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
}
.meeting-room-v120.gallery-view .participant-videos{
    display:grid!important;
    gap:10px!important;
    width:100%!important;
    height:calc(100vh - 64px)!important;
    min-height:0!important;
    overflow:hidden!important;
    align-content:center!important;
    justify-content:center!important;
}
.meeting-room-v120.gallery-view .participant-videos .video-tile{
    width:100%!important;
    height:100%!important;
    min-width:120px!important;
    min-height:100px!important;
    display:block!important;
    border-radius:12px!important;
}
.meeting-room-v120.gallery-view .participant-videos .video-tile.gallery-hidden-page{display:none!important;}

/* Side-by-side: 80/20 default, both panels full height, resizable via CSS resize. */
.meeting-room-v120.side-view{
    grid-template-columns:minmax(45vw, 80vw) minmax(220px, 20vw)!important;
    grid-template-rows:1fr!important;
}
.meeting-room-v120.side-view .main-video-panel{
    grid-column:1!important;
    height:100vh!important;
    resize:horizontal!important;
}
.meeting-room-v120.side-view .participant-videos-panel{
    grid-column:2!important;
    height:100vh!important;
    min-height:0!important;
    background:#eaf1fb!important;
    border-radius:0!important;
    overflow:hidden!important;
    padding:12px!important;
    resize:horizontal!important;
}
.meeting-room-v120.side-view .participant-videos{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    height:calc(100vh - 62px)!important;
    padding-right:6px!important;
}
.meeting-room-v120.side-view .participant-videos .video-tile{
    width:100%!important;
    min-width:180px!important;
    height:120px!important;
    min-height:120px!important;
}
.meeting-room-v120.side-view .participant-videos .video-tile[data-user]:first-child{display:none!important;}

/* Optional joined participant matrix shown only when the participant icon opens it. */
.meeting-room-v120 .participant-side-panel{
    position:absolute!important;
    right:18px!important;
    top:82px!important;
    width:min(430px, calc(100vw - 36px))!important;
    max-height:calc(100vh - 110px)!important;
    overflow:auto!important;
    z-index:3000!important;
}
.meeting-room-v120:not(.participants-open) .participant-side-panel{display:none!important;}
.meeting-room-v120.participants-open .participant-side-panel{display:block!important;}
.meeting-room-v120.gallery-view.participants-open .participant-side-panel{display:block!important;}
.panel-window{z-index:4500!important;}
.meeting-toast{position:fixed;right:18px;bottom:18px;background:#0f172a;color:white;padding:10px 14px;border-radius:10px;z-index:6000;}
@media(max-width:900px){
    .meeting-controlbar-v120{width:calc(100vw - 16px)!important;top:8px!important;}
    .meeting-room-v120.side-view{grid-template-columns:1fr!important;grid-template-rows:70vh 30vh!important;}
    .meeting-room-v120.side-view .main-video-panel{grid-column:1!important;grid-row:1!important;height:70vh!important;resize:none!important;}
    .meeting-room-v120.side-view .participant-videos-panel{grid-column:1!important;grid-row:2!important;height:30vh!important;resize:none!important;}
    .meeting-room-v120.speaker-view .participant-videos-panel{left:8px!important;right:8px!important;bottom:8px!important;}
}


/* v121: clean full-screen meeting room corrections */
html, body.meeting-fullscreen-body{
    width:100%!important;
    height:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#eaf1fb!important;
}
.meeting-stage-shell{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
}
.meeting-room-v121{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    background:#eaf1fb!important;
}
.meeting-room-v121 .main-video-panel,
.meeting-room-v121 .participant-videos-panel{
    box-shadow:none!important;
}
.meeting-room-v121.speaker-view{
    display:block!important;
}
.meeting-room-v121.speaker-view .main-video-panel{
    position:absolute!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    border-radius:0!important;
    background:#020617!important;
}
.meeting-room-v121.speaker-view .main-video-panel video{
    width:100vw!important;
    height:100vh!important;
    object-fit:cover!important;
}
/* Speaker joined strip is hidden by default; use the strip icon to show/hide it. */
.meeting-room-v121.speaker-view .participant-videos-panel{
    display:none!important;
    position:absolute!important;
    left:12px!important;
    right:12px!important;
    bottom:12px!important;
    width:auto!important;
    max-height:138px!important;
    height:138px!important;
    padding:8px 10px!important;
    border-radius:14px!important;
    overflow:hidden!important;
    background:rgba(234,241,251,.76)!important;
    backdrop-filter:blur(8px)!important;
    z-index:25!important;
}
.meeting-room-v121.speaker-view.show-speaker-strip .participant-videos-panel{
    display:block!important;
}
.meeting-room-v121.speaker-view .participant-panel-title-row{
    height:24px!important;
    margin:0!important;
}
.meeting-room-v121.speaker-view .participant-videos{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:10px!important;
    height:96px!important;
    min-height:96px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 0 4px!important;
}
.meeting-room-v121.speaker-view .participant-videos .video-tile[data-user]{
    display:block!important;
    flex:0 0 128px!important;
    width:128px!important;
    height:92px!important;
    min-width:128px!important;
    min-height:92px!important;
}
.meeting-room-v121.speaker-view .participant-videos .video-tile[data-user]:first-child{
    display:none!important;
}
/* Gallery fills the full screen. One joined user becomes full screen. */
.meeting-room-v121.gallery-view{
    display:block!important;
}
.meeting-room-v121.gallery-view .main-video-panel,
.meeting-room-v121.gallery-view .participant-side-panel{
    display:none!important;
}
.meeting-room-v121.gallery-view .participant-videos-panel{
    position:absolute!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    min-height:100vh!important;
    padding:0!important;
    margin:0!important;
    border-radius:0!important;
    background:#eaf1fb!important;
    overflow:hidden!important;
}
.meeting-room-v121.gallery-view .participant-panel-title-row{
    position:absolute!important;
    top:10px!important;
    left:10px!important;
    right:10px!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    z-index:70!important;
    pointer-events:none!important;
}
.meeting-room-v121.gallery-view #participantVideosTitle{
    display:none!important;
}
.meeting-room-v121.gallery-view .gallery-pager{
    pointer-events:auto!important;
    margin-left:auto!important;
    background:rgba(255,255,255,.86)!important;
    border-radius:999px!important;
    padding:6px 8px!important;
    box-shadow:0 6px 18px rgba(15,23,42,.18)!important;
}
.meeting-room-v121.gallery-view .participant-videos{
    position:absolute!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    min-height:100vh!important;
    padding:0!important;
    margin:0!important;
    display:grid!important;
    align-content:stretch!important;
    justify-content:stretch!important;
    overflow:hidden!important;
    background:#eaf1fb!important;
}
.meeting-room-v121.gallery-view .participant-videos .video-tile{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:120px!important;
    min-height:100px!important;
    border-radius:0!important;
    border:1px solid rgba(37,99,235,.35)!important;
    overflow:hidden!important;
    background:#0f172a!important;
}
.meeting-room-v121.gallery-view .participant-videos .video-tile video{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}
.meeting-room-v121.gallery-view .participant-videos .video-tile.gallery-hidden-page{
    display:none!important;
}
.meeting-room-v121.gallery-view .participant-videos .video-tile.gallery-third-center{
    border-radius:0!important;
}
/* Side-by-side: default 80/20, full-height, resizable participant panel. */
.meeting-room-v121.side-view{
    display:grid!important;
    grid-template-columns:minmax(50vw,80vw) minmax(240px,20vw)!important;
    grid-template-rows:100vh!important;
    width:100vw!important;
    height:100vh!important;
}
.meeting-room-v121.side-view .main-video-panel{
    grid-column:1!important;
    width:100%!important;
    height:100vh!important;
    border-radius:0!important;
    resize:horizontal!important;
    overflow:hidden!important;
}
.meeting-room-v121.side-view .participant-videos-panel{
    grid-column:2!important;
    width:100%!important;
    height:100vh!important;
    padding:8px!important;
    border-radius:0!important;
    overflow:hidden!important;
    background:#eaf1fb!important;
    resize:horizontal!important;
}
.meeting-room-v121.side-view .participant-panel-title-row{
    height:32px!important;
}
.meeting-room-v121.side-view .participant-videos{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    height:calc(100vh - 44px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
}
.meeting-room-v121.side-view .participant-videos .video-tile{
    width:100%!important;
    height:118px!important;
    min-height:118px!important;
    border-radius:10px!important;
}
.meeting-room-v121.side-view .participant-videos .video-tile[data-user]:first-child{
    display:none!important;
}
.meeting-room-v121 .video-label{
    z-index:40!important;
}
.meeting-controlbar-v120{
    top:8px!important;
    width:calc(100vw - 20px)!important;
    max-width:none!important;
    padding:8px 12px!important;
    z-index:7000!important;
}
.panel-window{z-index:7200!important;}
@media(max-width:900px){
    .meeting-room-v121.side-view{grid-template-columns:1fr!important;grid-template-rows:72vh 28vh!important;}
    .meeting-room-v121.side-view .main-video-panel{grid-row:1!important;height:72vh!important;resize:none!important;}
    .meeting-room-v121.side-view .participant-videos-panel{grid-row:2!important;height:28vh!important;resize:none!important;}
}


/* v122: Meeting room final full-screen corrections requested by user.
   - Speaker view fills 100% width and 100% height.
   - No panels below speaker view.
   - Joined participant list is only a floating overlay opened from bottom-left icon or toolbar participants icon.
   - Gallery fills entire screen with Zoom/Teams-like adaptive grid.
*/
.meeting-room-v122,
.meeting-room-v122.speaker-view,
.meeting-room-v122.gallery-view,
.meeting-room-v122.side-view{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    background:#eaf1fb!important;
    overflow:hidden!important;
}
.meeting-room-v122.speaker-view{display:block!important;}
.meeting-room-v122.speaker-view .main-video-panel{
    position:absolute!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#020617!important;
    overflow:hidden!important;
    box-shadow:none!important;
}
.meeting-room-v122.speaker-view .main-video-panel video{
    width:100vw!important;
    height:100vh!important;
    object-fit:cover!important;
    display:block!important;
}
.meeting-room-v122.speaker-view .participant-videos-panel{
    display:none!important;
}
.meeting-room-v122.speaker-view.show-speaker-strip .participant-videos-panel{
    display:none!important;
}
.floating-participant-toggle{
    position:fixed!important;
    left:16px!important;
    bottom:16px!important;
    z-index:7600!important;
    width:48px!important;
    height:48px!important;
    border-radius:999px!important;
    border:1px solid rgba(255,255,255,.45)!important;
    background:rgba(15,23,42,.88)!important;
    color:#fff!important;
    font-size:22px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-shadow:0 10px 28px rgba(15,23,42,.35)!important;
    cursor:pointer!important;
}
.floating-participant-toggle.active{background:#1d4ed8!important;}
.meeting-room-v122 .participant-side-panel{
    position:fixed!important;
    left:16px!important;
    bottom:76px!important;
    width:min(420px,calc(100vw - 32px))!important;
    max-height:min(70vh,620px)!important;
    overflow:auto!important;
    z-index:7500!important;
    background:rgba(255,255,255,.96)!important;
    backdrop-filter:blur(10px)!important;
    border:1px solid rgba(148,163,184,.55)!important;
    border-radius:16px!important;
    box-shadow:0 16px 40px rgba(15,23,42,.25)!important;
    padding:14px!important;
}
.meeting-room-v122:not(.participants-open) .participant-side-panel{display:none!important;}
.meeting-room-v122.participants-open .participant-side-panel{display:block!important;}

.meeting-room-v122.gallery-view{display:block!important;}
.meeting-room-v122.gallery-view .main-video-panel,
.meeting-room-v122.gallery-view .participant-side-panel{display:none!important;}
.meeting-room-v122.gallery-view .participant-videos-panel{
    position:absolute!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    padding:0!important;
    margin:0!important;
    border-radius:0!important;
    background:#eaf1fb!important;
    overflow:hidden!important;
    box-shadow:none!important;
}
.meeting-room-v122.gallery-view .participant-panel-title-row{
    position:absolute!important;
    top:12px!important;
    right:12px!important;
    z-index:70!important;
    height:0!important;
    pointer-events:none!important;
}
.meeting-room-v122.gallery-view #participantVideosTitle{display:none!important;}
.meeting-room-v122.gallery-view .gallery-pager{
    pointer-events:auto!important;
    background:rgba(255,255,255,.88)!important;
    border-radius:999px!important;
    padding:6px 8px!important;
    box-shadow:0 8px 22px rgba(15,23,42,.18)!important;
}
.meeting-room-v122.gallery-view .participant-videos{
    position:absolute!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    display:grid!important;
    gap:0!important;
    padding:0!important;
    margin:0!important;
    align-content:stretch!important;
    justify-content:stretch!important;
    background:#eaf1fb!important;
    overflow:hidden!important;
}
.meeting-room-v122.gallery-view .participant-videos .video-tile{
    width:100%!important;
    height:100%!important;
    min-width:120px!important;
    min-height:100px!important;
    border-radius:0!important;
    border:1px solid rgba(37,99,235,.35)!important;
    background:#020617!important;
    overflow:hidden!important;
}
.meeting-room-v122.gallery-view .participant-videos .video-tile video{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    display:block!important;
}
.meeting-room-v122.gallery-view .participant-videos .video-tile.gallery-hidden-page{display:none!important;}
.meeting-room-v122.gallery-view .participant-videos .video-tile.gallery-third-center{grid-column:1 / span 2!important;justify-self:center!important;width:50%!important;}

.meeting-room-v122.side-view{
    display:grid!important;
    grid-template-columns:minmax(50vw,80vw) minmax(240px,20vw)!important;
    grid-template-rows:100vh!important;
}
.meeting-room-v122.side-view .main-video-panel{
    grid-column:1!important;
    width:100%!important;
    height:100vh!important;
    border-radius:0!important;
    resize:horizontal!important;
    overflow:hidden!important;
    background:#020617!important;
}
.meeting-room-v122.side-view .main-video-panel video{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}
.meeting-room-v122.side-view .participant-videos-panel{
    grid-column:2!important;
    width:100%!important;
    height:100vh!important;
    padding:8px!important;
    border-radius:0!important;
    overflow:hidden!important;
    background:#eaf1fb!important;
    resize:horizontal!important;
}
.meeting-room-v122.side-view .participant-videos{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    height:calc(100vh - 44px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
}
.meeting-room-v122.side-view .participant-videos .video-tile{
    width:100%!important;
    height:118px!important;
    min-height:118px!important;
    border-radius:10px!important;
}
.meeting-room-v122.side-view .participant-videos .video-tile[data-user]:first-child{display:none!important;}
.meeting-room-v122 .video-label{z-index:60!important;}
.meeting-controlbar-v120{z-index:7800!important;}
@media(max-width:900px){
    .meeting-room-v122.side-view{grid-template-columns:1fr!important;grid-template-rows:72vh 28vh!important;}
    .meeting-room-v122.side-view .main-video-panel{grid-row:1!important;height:72vh!important;resize:none!important;}
    .meeting-room-v122.side-view .participant-videos-panel{grid-row:2!important;height:28vh!important;resize:none!important;}
}


/* v123: final meeting-room correction requested.
   - Speaker video uses 100% width and 100% height with no panel/blank area below.
   - Participant camera strip is not displayed below speaker by default.
   - Floating bottom-left participant icon opens a compact camera view overlay above the icon.
   - Gallery and side-by-side views remain full-screen and adaptive.
*/
.meeting-room-v123,
.meeting-room-v123.speaker-view,
.meeting-room-v123.gallery-view,
.meeting-room-v123.side-view{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    min-width:100vw!important;
    min-height:100vh!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    overflow:hidden!important;
    background:#020617!important;
    border:0!important;
    border-radius:0!important;
}
.meeting-room-v123.speaker-view{display:block!important;}
.meeting-room-v123.speaker-view .main-video-panel{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    min-height:100vh!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#020617!important;
    overflow:hidden!important;
}
.meeting-room-v123.speaker-view .main-video-panel video{
    width:100vw!important;
    height:100vh!important;
    min-width:100vw!important;
    min-height:100vh!important;
    object-fit:cover!important;
    display:block!important;
    background:#020617!important;
}
.meeting-room-v123.speaker-view .video-label{
    position:fixed!important;
    left:12px!important;
    bottom:18px!important;
    z-index:7650!important;
}
.meeting-room-v123.speaker-view .participant-videos-panel{
    display:none!important;
}
.meeting-room-v123.speaker-view.participants-camera-open .participant-videos-panel{
    display:block!important;
    position:fixed!important;
    left:16px!important;
    bottom:78px!important;
    width:min(460px,calc(100vw - 32px))!important;
    max-height:min(38vh,260px)!important;
    min-height:0!important;
    margin:0!important;
    padding:10px!important;
    border-radius:14px!important;
    border:1px solid rgba(148,163,184,.5)!important;
    background:rgba(15,23,42,.84)!important;
    backdrop-filter:blur(12px)!important;
    box-shadow:0 16px 40px rgba(0,0,0,.45)!important;
    z-index:7580!important;
    overflow:hidden!important;
}
.meeting-room-v123.speaker-view.participants-camera-open .participant-panel-title-row{
    height:26px!important;
    margin:0 0 8px 0!important;
    color:#fff!important;
}
.meeting-room-v123.speaker-view.participants-camera-open #participantVideosTitle{
    display:block!important;
    margin:0!important;
    font-size:15px!important;
    color:#fff!important;
}
.meeting-room-v123.speaker-view.participants-camera-open .gallery-pager{display:none!important;}
.meeting-room-v123.speaker-view.participants-camera-open .participant-videos{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    width:100%!important;
    height:118px!important;
    min-height:118px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 2px 6px!important;
}
.meeting-room-v123.speaker-view.participants-camera-open .participant-videos .video-tile[data-joined="true"]{
    display:block!important;
    flex:0 0 140px!important;
    width:140px!important;
    min-width:140px!important;
    height:104px!important;
    min-height:104px!important;
    border-radius:10px!important;
    overflow:hidden!important;
    background:#0f172a!important;
}
.meeting-room-v123.speaker-view.participants-camera-open .participant-videos .video-tile video{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}
.meeting-room-v123 .floating-participant-toggle{
    position:fixed!important;
    left:16px!important;
    bottom:16px!important;
    z-index:7700!important;
}
.meeting-room-v123.speaker-view:not(.participants-camera-open) .participant-videos-panel{
    display:none!important;
}
.meeting-room-v123.gallery-view{display:block!important;background:#020617!important;}
.meeting-room-v123.gallery-view .main-video-panel,
.meeting-room-v123.gallery-view .participant-side-panel{display:none!important;}
.meeting-room-v123.gallery-view .participant-videos-panel{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#020617!important;
    overflow:hidden!important;
    box-shadow:none!important;
    display:block!important;
}
.meeting-room-v123.gallery-view .participant-panel-title-row{
    position:fixed!important;
    top:10px!important;
    right:10px!important;
    height:0!important;
    z-index:7700!important;
    pointer-events:none!important;
}
.meeting-room-v123.gallery-view #participantVideosTitle{display:none!important;}
.meeting-room-v123.gallery-view .gallery-pager{
    pointer-events:auto!important;
    background:rgba(255,255,255,.9)!important;
    border-radius:999px!important;
    padding:6px 8px!important;
    box-shadow:0 8px 22px rgba(15,23,42,.24)!important;
}
.meeting-room-v123.gallery-view .participant-videos{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    display:grid!important;
    gap:0!important;
    padding:0!important;
    margin:0!important;
    align-content:stretch!important;
    justify-content:stretch!important;
    background:#020617!important;
    overflow:hidden!important;
}
.meeting-room-v123.gallery-view .participant-videos .video-tile[data-joined="true"]{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:120px!important;
    min-height:100px!important;
    border-radius:0!important;
    border:1px solid rgba(37,99,235,.35)!important;
    background:#020617!important;
    overflow:hidden!important;
}
.meeting-room-v123.gallery-view .participant-videos .video-tile video{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}
.meeting-room-v123.gallery-view .participant-videos .video-tile.gallery-hidden-page{display:none!important;}
.meeting-room-v123.gallery-view .participant-videos .video-tile.gallery-third-center{grid-column:1 / span 2!important;justify-self:center!important;width:50%!important;}
.meeting-room-v123.side-view{
    display:grid!important;
    grid-template-columns:minmax(50vw,80vw) minmax(240px,20vw)!important;
    grid-template-rows:100vh!important;
    background:#020617!important;
}
.meeting-room-v123.side-view .main-video-panel{
    grid-column:1!important;
    width:100%!important;
    height:100vh!important;
    border:0!important;
    border-radius:0!important;
    resize:horizontal!important;
    overflow:hidden!important;
    background:#020617!important;
}
.meeting-room-v123.side-view .main-video-panel video{width:100%!important;height:100%!important;object-fit:cover!important;}
.meeting-room-v123.side-view .participant-videos-panel{
    grid-column:2!important;
    width:100%!important;
    height:100vh!important;
    padding:8px!important;
    border-radius:0!important;
    overflow:hidden!important;
    background:#eaf1fb!important;
    resize:horizontal!important;
}
.meeting-room-v123.side-view .participant-videos{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    height:calc(100vh - 44px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
}
.meeting-room-v123.side-view .participant-videos .video-tile[data-joined="true"]{
    width:100%!important;
    height:118px!important;
    min-height:118px!important;
    border-radius:10px!important;
}
.meeting-room-v123.side-view .participant-videos .video-tile[data-user]:first-child{display:none!important;}
.meeting-room-v123 .participant-side-panel{
    position:fixed!important;
    right:16px!important;
    top:74px!important;
    width:min(430px,calc(100vw - 32px))!important;
    max-height:min(70vh,620px)!important;
    z-index:7550!important;
}
.meeting-room-v123:not(.participants-open) .participant-side-panel{display:none!important;}
.meeting-room-v123.participants-open .participant-side-panel{display:block!important;}
.meeting-controlbar-v120{z-index:7800!important;}
@media(max-width:900px){
    .meeting-room-v123.side-view{grid-template-columns:1fr!important;grid-template-rows:72vh 28vh!important;}
    .meeting-room-v123.side-view .main-video-panel{grid-row:1!important;height:72vh!important;resize:none!important;}
    .meeting-room-v123.side-view .participant-videos-panel{grid-row:2!important;height:28vh!important;resize:none!important;}
    .meeting-room-v123.speaker-view.participants-camera-open .participant-videos-panel{left:10px!important;right:10px!important;bottom:74px!important;width:auto!important;}
}


/* v124: Speaker view final correction.
   Requested: Speaker view full screen, no white/light panel below, no extra panels below speaker.
   Participant camera list appears only as a floating overlay above the bottom-left participant icon.
   Other features from v123 preserved.
*/
html, body.meeting-fullscreen-body{
    margin:0!important;
    padding:0!important;
    width:100%!important;
    height:100%!important;
    overflow:hidden!important;
    background:#020617!important;
}
.meeting-stage-shell{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#020617!important;
}
.meeting-room-v124,
.meeting-room-v124.speaker-view,
.meeting-room-v124.gallery-view,
.meeting-room-v124.side-view{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    min-width:100vw!important;
    min-height:100vh!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    overflow:hidden!important;
    background:#020617!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
}
.meeting-room-v124.speaker-view{display:block!important;}
.meeting-room-v124.speaker-view .main-video-panel{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    min-width:100vw!important;
    min-height:100vh!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#020617!important;
    overflow:hidden!important;
}
.meeting-room-v124.speaker-view .main-video-panel video{
    position:absolute!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    min-width:100vw!important;
    min-height:100vh!important;
    object-fit:cover!important;
    display:block!important;
    background:#020617!important;
}
.meeting-room-v124.speaker-view .video-label{
    position:fixed!important;
    left:12px!important;
    bottom:18px!important;
    z-index:7650!important;
}
/* Remove the white/light panel below speaker by fully hiding participant strip until explicitly opened. */
.meeting-room-v124.speaker-view .participant-videos-panel{
    display:none!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    padding:0!important;
    margin:0!important;
    height:auto!important;
    min-height:0!important;
}
/* Floating participant camera overlay only when button is clicked. */
.meeting-room-v124.speaker-view.participants-camera-open .participant-videos-panel{
    display:block!important;
    position:fixed!important;
    left:16px!important;
    bottom:76px!important;
    width:min(460px,calc(100vw - 32px))!important;
    max-height:min(38vh,260px)!important;
    min-height:0!important;
    margin:0!important;
    padding:10px!important;
    border-radius:14px!important;
    border:1px solid rgba(148,163,184,.55)!important;
    background:rgba(15,23,42,.86)!important;
    backdrop-filter:blur(12px)!important;
    box-shadow:0 16px 40px rgba(0,0,0,.45)!important;
    z-index:7580!important;
    overflow:hidden!important;
}
.meeting-room-v124.speaker-view.participants-camera-open .participant-panel-title-row{
    height:26px!important;
    margin:0 0 8px 0!important;
    color:#fff!important;
}
.meeting-room-v124.speaker-view.participants-camera-open #participantVideosTitle{
    display:block!important;
    margin:0!important;
    font-size:15px!important;
    color:#fff!important;
}
.meeting-room-v124.speaker-view.participants-camera-open .gallery-pager{display:none!important;}
.meeting-room-v124.speaker-view.participants-camera-open .participant-videos{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    width:100%!important;
    height:118px!important;
    min-height:118px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 2px 6px!important;
    background:transparent!important;
}
.meeting-room-v124.speaker-view.participants-camera-open .participant-videos .video-tile[data-joined="true"]{
    display:block!important;
    flex:0 0 140px!important;
    width:140px!important;
    min-width:140px!important;
    height:104px!important;
    min-height:104px!important;
    border-radius:10px!important;
    overflow:hidden!important;
    background:#0f172a!important;
}
.meeting-room-v124.speaker-view.participants-camera-open .participant-videos .video-tile video{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}
.meeting-room-v124 .floating-participant-toggle{
    position:fixed!important;
    left:16px!important;
    bottom:16px!important;
    z-index:7700!important;
}
/* Gallery and side-by-side keep v123 behavior, under v124 class. */
.meeting-room-v124.gallery-view{display:block!important;background:#020617!important;}
.meeting-room-v124.gallery-view .main-video-panel,
.meeting-room-v124.gallery-view .participant-side-panel{display:none!important;}
.meeting-room-v124.gallery-view .participant-videos-panel{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#020617!important;
    overflow:hidden!important;
    box-shadow:none!important;
    display:block!important;
}
.meeting-room-v124.gallery-view .participant-panel-title-row{
    position:fixed!important;
    top:10px!important;
    right:10px!important;
    height:0!important;
    z-index:7700!important;
    pointer-events:none!important;
}
.meeting-room-v124.gallery-view #participantVideosTitle{display:none!important;}
.meeting-room-v124.gallery-view .gallery-pager{
    pointer-events:auto!important;
    background:rgba(255,255,255,.9)!important;
    border-radius:999px!important;
    padding:6px 8px!important;
    box-shadow:0 8px 22px rgba(15,23,42,.24)!important;
}
.meeting-room-v124.gallery-view .participant-videos{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    display:grid!important;
    gap:0!important;
    padding:0!important;
    margin:0!important;
    align-content:stretch!important;
    justify-content:stretch!important;
    background:#020617!important;
    overflow:hidden!important;
}
.meeting-room-v124.gallery-view .participant-videos .video-tile[data-joined="true"]{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:120px!important;
    min-height:100px!important;
    border-radius:0!important;
    border:1px solid rgba(37,99,235,.35)!important;
    background:#020617!important;
    overflow:hidden!important;
}
.meeting-room-v124.gallery-view .participant-videos .video-tile video{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}
.meeting-room-v124.gallery-view .participant-videos .video-tile.gallery-hidden-page{display:none!important;}
.meeting-room-v124.gallery-view .participant-videos .video-tile.gallery-third-center{grid-column:1 / span 2!important;justify-self:center!important;width:50%!important;}
.meeting-room-v124.side-view{
    display:grid!important;
    grid-template-columns:minmax(50vw,80vw) minmax(240px,20vw)!important;
    grid-template-rows:100vh!important;
    background:#020617!important;
}
.meeting-room-v124.side-view .main-video-panel{
    grid-column:1!important;
    width:100%!important;
    height:100vh!important;
    border:0!important;
    border-radius:0!important;
    resize:horizontal!important;
    overflow:hidden!important;
    background:#020617!important;
}
.meeting-room-v124.side-view .main-video-panel video{width:100%!important;height:100%!important;object-fit:cover!important;}
.meeting-room-v124.side-view .participant-videos-panel{
    grid-column:2!important;
    width:100%!important;
    height:100vh!important;
    padding:8px!important;
    border-radius:0!important;
    overflow:hidden!important;
    background:#eaf1fb!important;
    resize:horizontal!important;
}
.meeting-room-v124.side-view .participant-videos{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    height:calc(100vh - 44px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
}
.meeting-room-v124.side-view .participant-videos .video-tile[data-joined="true"]{
    width:100%!important;
    height:118px!important;
    min-height:118px!important;
    border-radius:10px!important;
}
.meeting-room-v124.side-view .participant-videos .video-tile[data-user]:first-child{display:none!important;}
.meeting-room-v124 .participant-side-panel{
    position:fixed!important;
    right:16px!important;
    top:74px!important;
    width:min(430px,calc(100vw - 32px))!important;
    max-height:min(70vh,620px)!important;
    z-index:7550!important;
}
.meeting-room-v124:not(.participants-open) .participant-side-panel{display:none!important;}
.meeting-room-v124.participants-open .participant-side-panel{display:block!important;}
@media(max-width:900px){
    .meeting-room-v124.side-view{grid-template-columns:1fr!important;grid-template-rows:72vh 28vh!important;}
    .meeting-room-v124.side-view .main-video-panel{grid-row:1!important;height:72vh!important;resize:none!important;}
    .meeting-room-v124.side-view .participant-videos-panel{grid-row:2!important;height:28vh!important;resize:none!important;}
    .meeting-room-v124.speaker-view.participants-camera-open .participant-videos-panel{left:10px!important;right:10px!important;bottom:74px!important;width:auto!important;}
}


/* v125 live transcription */
.live-transcript-box{max-height:220px;overflow:auto;background:#f8fbff;border:1px solid #d9e4f5;border-radius:10px;padding:10px;font-size:14px;line-height:1.5}
.transcript-line{padding:6px 0;border-bottom:1px solid #edf2fb}
.transcript-line:last-child{border-bottom:none}
.transcript-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.floating-transcript{right:90px;top:90px;width:min(460px,90vw)}
.webinar-transcript-card{max-height:360px;overflow:auto}

/* v126 realtime transcription editor: mixed English/Bengali, editable, copyable */
.smart-transcript-panel .transcript-grid{display:grid;grid-template-columns:minmax(130px,180px) 1fr;gap:10px;align-items:center;margin-bottom:10px}
.current-speaker-box{border:1px solid #d9e4f5;background:#f8fbff;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:4px}
.current-speaker-box strong{font-size:16px;color:#0f172a}
.transcript-label{font-weight:800;margin:8px 0 5px;display:block}
.transcript-edit-box{width:100%;min-height:120px;max-height:260px;resize:vertical;border:1px solid #d9e4f5;border-radius:10px;padding:10px;font-size:14px;line-height:1.5;background:#fff;color:#07152b}
.transcript-audio-preview{width:100%;margin:8px 0}
.speaker-tag{display:inline-block;background:#eef2ff;color:#1d4ed8;border-radius:999px;padding:2px 8px;font-weight:800;margin-left:6px}
.floating-transcript.smart-transcript-panel{width:min(540px,92vw)!important;right:72px!important;top:88px!important;max-height:min(78vh,720px)!important;overflow:auto!important}
@media(max-width:800px){.smart-transcript-panel .transcript-grid{grid-template-columns:1fr}.floating-transcript.smart-transcript-panel{left:10px!important;right:10px!important;top:80px!important;width:auto!important}}

/* v128: Fix live transcription panel visibility without changing meeting layout/features */
.floating-transcript.smart-transcript-panel:not(.hidden-panel),
#liveTranscriptPanel.smart-transcript-panel:not(.hidden-panel){
    display:block!important;
    background:#ffffff!important;
    color:#07152b!important;
    border:2px solid #0f172a!important;
    border-radius:14px!important;
    padding:46px 16px 16px!important;
    box-shadow:0 18px 42px rgba(15,23,42,.24)!important;
    z-index:9000!important;
}
#liveTranscriptPanel.smart-transcript-panel *{visibility:visible!important;opacity:1;box-sizing:border-box;}
#liveTranscriptPanel.smart-transcript-panel h3{margin:0 0 12px!important;color:#07152b!important;}
#liveTranscriptPanel.smart-transcript-panel input,
#liveTranscriptPanel.smart-transcript-panel textarea,
#liveTranscriptPanel.smart-transcript-panel .live-transcript-box{display:block!important;}
#liveTranscriptPanel.smart-transcript-panel .transcript-grid{display:grid!important;grid-template-columns:minmax(150px,190px) 1fr!important;gap:10px!important;align-items:start!important;}
#liveTranscriptPanel.smart-transcript-panel .transcript-controls{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important;}
#liveTranscriptPanel.smart-transcript-panel .transcript-edit-box{background:#fff!important;color:#07152b!important;border:1px solid #d9e4f5!important;}
#liveTranscriptPanel.smart-transcript-panel .live-transcript-box{background:#f8fbff!important;color:#07152b!important;min-height:70px!important;}
.transcript-interim{margin:6px 0;padding:8px 10px;border:1px dashed #93c5fd;border-radius:10px;background:#eff6ff;color:#1e3a8a;font-style:italic;}
@media(max-width:800px){#liveTranscriptPanel.smart-transcript-panel .transcript-grid{grid-template-columns:1fr!important;}}


/* v130: restore webinar module scrolling from v107 and prevent layout lock. */
html.webinar-scroll-restored-v130, body.webinar-scroll-restored-v130{height:auto!important;min-height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;}
body.webinar-scroll-restored-v130 .container{overflow:visible!important;}
body.webinar-scroll-restored-v130 .webinar-shell.presentation-mode{align-items:start!important;}
body.webinar-scroll-restored-v130 .webinar-left{max-height:calc(100vh - 130px)!important;overflow-y:auto!important;overflow-x:hidden!important;position:sticky!important;top:8px!important;scrollbar-width:thin;}
body.webinar-scroll-restored-v130 .webinar-right, body.webinar-scroll-restored-v130 .content-presentation-panel{max-height:none!important;overflow:visible!important;}
body.webinar-scroll-restored-v130 .live-content-section{min-height:400px!important;}
.smart-transcript-panel{background:#fff!important;color:#07152b!important;border:1px solid #d8e2ef!important;}
.smart-transcript-panel .live-transcript-box{display:block!important;min-height:120px;max-height:260px;overflow:auto;background:#f8fbff;border:1px solid #d8e2ef;border-radius:10px;padding:10px;color:#07152b;}
.smart-transcript-panel .transcript-edit-box{min-height:120px!important;background:#fff!important;color:#07152b!important;}
.transcript-line{border-bottom:1px solid #e5edf7;padding:6px 0;line-height:1.4;}
.transcript-interim{background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;padding:6px;margin-bottom:6px;color:#9a3412;}
.speaker-tag{font-weight:900;color:#1d4ed8;margin-left:8px;}
.status-pill{display:inline-block;border-radius:999px;background:#e0ecff;color:#1d4ed8;padding:5px 10px;font-weight:800;}
@media(max-width:900px){body.webinar-scroll-restored-v130 .webinar-left{position:static!important;max-height:none!important;overflow:visible!important;}body.webinar-scroll-restored-v130 .webinar-shell.presentation-mode{display:flex!important;flex-direction:column!important;}}

/* v132 multi-user meeting media */
.video-tile .camera-off-avatar{display:none;position:absolute;inset:0;align-items:center;justify-content:center;font-size:clamp(2rem,7vw,5rem);font-weight:800;color:#fff;background:#172238;z-index:1}
.video-tile.camera-off .camera-off-avatar{display:flex}
.video-tile.remote-participant video{width:100%;height:100%;object-fit:cover;background:#050b1c}
.video-tile.needs-audio-gesture::after{content:'Tap for audio';position:absolute;top:8px;left:8px;background:#fff;color:#111;padding:4px 8px;border-radius:12px;z-index:4;font-size:12px}
