.rtc-page{color:#193558;max-width:1440px;margin:auto;font-size:14px}.rtc-head{display:flex;align-items:center;gap:12px;margin-bottom:20px}.rtc-head-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:10px;background:#347bfa;color:#fff;flex:none}.rtc-head-icon svg{width:26px;height:26px}.rtc-head h1{font-size:24px;margin:0 0 6px}.rtc-page p{color:#69809d;line-height:1.7;margin:8px 0}.rtc-head p{margin:0}.rtc-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.rtc-tabs button{padding:8px 18px!important}.rtc-tabs [aria-selected=true]{background:#347bfa!important;color:#fff!important;border-color:#347bfa!important}.rtc-panel{background:white;border:1px solid #e1e9f4;border-radius:10px;padding:20px;margin-bottom:16px;min-width:0}.rtc-panel h2{font-size:17px;margin:0 0 12px}.rtc-provider-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rtc-provider-grid .rtc-panel{height:100%;box-sizing:border-box}.rtc-tag{display:inline-block;border-radius:5px;padding:3px 8px;background:#edf4ff;color:#2464c8;font-size:12px}.rtc-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;margin:16px 0}.rtc-page label{display:flex;flex-direction:column;gap:6px;color:#4a627f;font-size:13px;min-width:0}.rtc-page input:not([type=checkbox]),.rtc-page select,.rtc-page textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid #dce5f1;border-radius:6px;padding:9px;background:#fff;color:#193558;font:inherit}.rtc-page textarea{min-height:74px;resize:vertical}.rtc-page .rtc-check{display:flex;flex-direction:row;align-items:center;gap:8px}.rtc-page .rtc-check input{width:16px!important;height:16px;flex:none}.rtc-page details{margin-top:12px}.rtc-page summary{cursor:pointer;color:#3474c8;padding:8px 0;font-size:13px}.rtc-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:16px}.rtc-page button{min-height:34px!important;padding:7px 12px!important;border-radius:6px!important;font-size:13px!important;cursor:pointer}.rtc-page button:disabled{opacity:.5;cursor:not-allowed}.rtc-page button.primary{background:#347bfa!important;color:white!important;border-color:#347bfa!important}.rtc-page button.rtc-danger{color:#bb3248;border-color:#efc8cf}.rtc-feedback{min-height:21px;white-space:pre-wrap;overflow-wrap:anywhere;color:#5b7190!important}.rtc-feedback[data-error=true]{color:#b53246!important}.rtc-info{background:#f2f7ff;border:1px solid #dce9fc;border-radius:7px;padding:12px 14px;color:#4c6789;line-height:1.7;font-size:13px}.rtc-room-tools{display:grid;grid-template-columns: minmax(220px,1fr) auto;gap:12px;align-items:end;margin-bottom:16px}.rtc-session-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:16px}.rtc-media{height:230px;background:#10223c;color:#a6bad5;display:grid;place-items:center;border-radius:8px;overflow:hidden;position:relative}.rtc-media video{width:100%;height:100%;object-fit:contain}.rtc-media>div{width:100%;height:100%}.rtc-obs{margin-top:14px}.rtc-obs label{margin:10px 0}.rtc-obs input{font-family:monospace!important}.rtc-table{overflow:auto}.rtc-table table{border-collapse:collapse;width:100%;min-width:420px}.rtc-table th,.rtc-table td{text-align:left;padding:11px 10px;border-bottom:1px solid #e9eff7;font-size:13px}.rtc-table th{background:#f2f6fc;color:#617b9c}.rtc-table td button{margin:2px}.rtc-empty{padding:28px;text-align:center;color:#8394ab}.rtc-status-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}.rtc-page [hidden]{display:none!important}.rtc-page a{color:#246bd2}.rtc-page button:focus-visible,.rtc-page input:focus-visible,.rtc-page select:focus-visible{outline:3px solid #a8caff;outline-offset:2px}.rtc-session-error{overflow-wrap:anywhere}
@media(max-width:950px){.rtc-provider-grid,.rtc-session-grid{grid-template-columns:1fr}}@media(max-width:600px){.rtc-panel{padding:14px}.rtc-fields{grid-template-columns:1fr}.rtc-head h1{font-size:20px}.rtc-head{align-items:flex-start}.rtc-room-tools{grid-template-columns:1fr}.rtc-actions button{flex:1 1 auto}.rtc-page{max-width:100%}.rtc-media{height:200px}}
/* H5 is scoped to the added controls, preserving the 9:16 player. */
.rtc-viewer-entry{position:absolute;right:12px;top:92px;z-index:32;border:1px solid #ffffff55;background:#244f91dd;color:#fff;border-radius:22px;padding:9px 14px;font:13px 'PingFang SC',sans-serif}.rtc-viewer-dialog{border:0;border-radius:14px;padding:0;width:min(420px,94vw);max-height:88dvh;color:#193558;box-shadow:0 20px 80px #10223c55}.rtc-viewer-dialog::backdrop{background:#10223c88}.rtc-viewer-inner{display:flex;flex-direction:column;max-height:88dvh}.rtc-viewer-heading,.rtc-viewer-footer{display:flex;align-items:center;gap:8px;padding:14px 16px;flex:none}.rtc-viewer-heading{justify-content:space-between;border-bottom:1px solid #e8eff7}.rtc-viewer-heading h2{font-size:17px;margin:0}.rtc-viewer-body{padding:0 16px;overflow:auto;overscroll-behavior:contain}.rtc-viewer-dialog button{border:1px solid #d9e4f2;border-radius:7px;background:white;color:#2a65b6;padding:9px 12px;font-size:13px;cursor:pointer}.rtc-viewer-dialog button.primary{background:#347bfa;color:#fff;border-color:#347bfa}.rtc-viewer-videos{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rtc-viewer-videos>div,.rtc-viewer-videos>video{width:100%;height:180px;object-fit:contain;background:#142841;border-radius:8px;overflow:hidden}.rtc-viewer-videos>div video{width:100%;height:100%;object-fit:contain}.rtc-viewer-dialog p{font-size:13px;line-height:1.7;color:#667e9b;overflow-wrap:anywhere}.rtc-viewer-dialog [hidden]{display:none!important}.rtc-viewer-footer{flex-wrap:wrap;border-top:1px solid #e8eff7}.rtc-viewer-dialog label{display:flex;gap:8px;align-items:center;font-size:14px;margin:14px 0}
body.referencePage #content .rtc-head{height:auto;min-height:0;position:static;justify-content:flex-start;padding:0;border:0;background:transparent;margin-bottom:20px}body.referencePage #content .rtc-head h1{display:flex;gap:12px;align-items:center;padding:0;margin:0 0 8px;font-size:24px;line-height:1.4}body.referencePage #content .rtc-head p{margin-left:58px}body.referencePage #content .rtc-title-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;background:#347bfa;color:white;border-radius:6px}body.referencePage #content .rtc-title-icon svg{width:20px;height:20px}body.referencePage #content .rtc-panel h2{display:flex;gap:9px;align-items:center;padding:0;min-height:30px;font-size:17px}body.referencePage #content .rtc-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px;padding:0;background:transparent}body.referencePage #content .rtc-tabs button{width:auto!important;flex:0 0 auto;color:#3263a4;background:#fff;border:1px solid #dce5f1}body.referencePage #content .rtc-tabs button[aria-selected=true]{color:#fff!important;background:#347bfa!important}@media(max-width:600px){body.referencePage #content .rtc-head h1{font-size:20px}body.referencePage #content .rtc-head p{margin-left:0}}
.rtc-viewer-videos [data-local]>video{width:100%;height:100%;object-fit:contain}
/* The watch engine positions page-level header/footer absolutely; dialog regions must stay in normal flow. */
dialog.rtc-viewer-dialog .rtc-viewer-heading,dialog.rtc-viewer-dialog .rtc-viewer-footer{position:static;inset:auto;width:auto;height:auto;min-height:0;margin:0;background:transparent;box-sizing:border-box;transform:none;z-index:auto}dialog.rtc-viewer-dialog .rtc-viewer-heading{padding:14px 16px;justify-content:space-between}dialog.rtc-viewer-dialog .rtc-viewer-footer{padding:14px 16px;justify-content:flex-start}dialog.rtc-viewer-dialog .rtc-viewer-heading h2{position:static;margin:0;color:#193558;line-height:1.5}dialog.rtc-viewer-dialog .rtc-viewer-heading button{position:static;margin:0;transform:none}dialog.rtc-viewer-dialog .rtc-viewer-body{min-height:0;box-sizing:border-box}dialog.rtc-viewer-dialog .rtc-viewer-inner{min-height:0}
/* Workflow layout: real states first, OBS steps in order, secondary actions separate. */
body.referencePage #content .rtc-session-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}body.referencePage #content .rtc-session-summary>div{background:#f6f9ff;border:1px solid #e2ebf8;border-radius:8px;padding:12px 14px;min-width:0}body.referencePage #content .rtc-session-summary small{display:block;color:#7489a3;font-size:12px;line-height:1.6;margin-bottom:5px}body.referencePage #content .rtc-session-summary strong{display:block;font-size:14px;line-height:1.6;overflow-wrap:anywhere}body.referencePage #content .rtc-workflow{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e1e9f4;border-radius:8px;overflow:hidden;margin-top:14px}body.referencePage #content .rtc-workflow>section{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:16px;background:#fff;min-width:0}body.referencePage #content .rtc-workflow>section+section{border-left:1px solid #e1e9f4}body.referencePage #content .rtc-step{display:grid;place-items:center;align-self:start;width:26px;height:26px;border-radius:50%;color:white;background:#347bfa;font-size:13px;font-weight:700}body.referencePage #content .rtc-workflow h3{display:flex;align-items:center;gap:6px;font-size:15px;margin:2px 0 8px;padding:0;line-height:1.5}body.referencePage #content .rtc-workflow h3>span{display:flex;color:#347bfa}body.referencePage #content .rtc-workflow h3 svg{width:17px;height:17px}body.referencePage #content .rtc-workflow p{font-size:13px;margin:0;line-height:1.7}body.referencePage #content .rtc-workflow .rtc-actions{margin-top:12px}body.referencePage #content .rtc-session-secondary{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid #e9eff7;padding-top:14px;margin-top:16px}body.referencePage #content .rtc-small{font-size:12px;margin-bottom:0}body.referencePage #content .rtc-table td{overflow-wrap:anywhere}.rtc-page .rtc-table table{min-width:0}.rtc-page [data-section=tasks] .rtc-table table{min-width:600px}
@media(max-width:700px){body.referencePage #content .rtc-session-summary{grid-template-columns:1fr;gap:8px}body.referencePage #content .rtc-session-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px}body.referencePage #content .rtc-session-summary small{margin:0;flex:none}body.referencePage #content .rtc-session-summary strong{text-align:right}body.referencePage #content .rtc-workflow{grid-template-columns:1fr}body.referencePage #content .rtc-workflow>section+section{border-left:0;border-top:1px solid #e1e9f4}body.referencePage #content .rtc-session-secondary button{flex:1 1 auto}body.referencePage #content .rtc-requests-table thead{display:none}body.referencePage #content .rtc-requests-table tbody{display:grid;gap:8px}body.referencePage #content .rtc-requests-table tr{display:grid;grid-template-columns:1fr auto;border:1px solid #e1e9f4;border-radius:8px;padding:10px;gap:4px 8px}body.referencePage #content .rtc-requests-table td{padding:0;border:0}body.referencePage #content .rtc-requests-table td:nth-child(2){font-size:12px;color:#7185a0;text-align:right}body.referencePage #content .rtc-requests-table td:last-child{grid-column:1/-1;display:flex;gap:6px;margin-top:8px}body.referencePage #content .rtc-requests-table td:last-child:empty{display:none}}
