.cspv3f-video-panel{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:16px;margin:16px 0}.cspv3f-video-panel-portal{align-items:start}.cspv3f-video-panel-patient{grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr)}.cspv3f-video-box{border:1px solid #d1d5db;border-radius:18px;padding:18px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.06)}.cspv3f-video-box-main{grid-column:span 1}.cspv3f-video-box-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.cspv3f-video-box-head h2,.cspv3f-video-box-head h3,.cspv3f-video-box-head h4{margin:0}.cspv3f-video-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}.cspv3f-video-room-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cspv3f-video-room-meta-4{grid-template-columns:repeat(4,minmax(0,1fr))}.cspv3f-video-page-wrap{max-width:1280px;margin:24px auto;padding:0 16px}.cspv3f-video-page-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;box-shadow:0 1px 3px rgba(0,0,0,.06)}.cspv3f-video-page-shell{padding:20px}.cspv3f-video-iframe{width:100%;min-height:78vh;border:0;border-radius:14px;background:#111}.cspv3f-video-shortcode-placeholder{padding:16px;border:1px dashed #94a3b8;border-radius:12px;background:#f8fafc}.cspv3f-video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.cspv3f-video-log-list{margin:0;padding-left:18px}.cspv3f-video-settings-page .form-table th{width:240px}.cspv3f-frontend-card .cspv3f-video-panel{margin-top:12px}.cspv3f-video-list{margin:0;padding-left:18px}.cspv3f-video-list-tight li{margin-bottom:8px}.cspv3f-video-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;background:#eff6ff;color:#1d4ed8}.cspv3f-video-pill-live,.cspv3f-video-pill-ready{background:#dcfce7;color:#166534}.cspv3f-video-pill-waiting,.cspv3f-video-pill-running,.cspv3f-video-pill-starting,.cspv3f-video-pill-stopping{background:#fef3c7;color:#92400e}.cspv3f-video-pill-ended,.cspv3f-video-pill-expired,.cspv3f-video-pill-cancelled,.cspv3f-video-pill-failed{background:#e5e7eb;color:#374151}.cspv3f-video-meta-line,.cspv3f-video-subtle{color:#64748b}.cspv3f-video-status{font-weight:700}.cspv3f-video-status-live{color:#166534}.cspv3f-video-status-waiting{color:#92400e}.cspv3f-video-stack{display:grid;gap:12px}.cspv3f-video-field label{display:block;font-weight:600;margin-bottom:6px}.cspv3f-video-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:0 0 16px}.cspv3f-video-summary-card{border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:14px}.cspv3f-video-summary-card strong{display:block;font-size:22px;line-height:1.2}.cspv3f-video-summary-card span{display:block;color:#64748b;margin-top:4px}.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}@media(max-width:1100px){.cspv3f-video-panel,.cspv3f-video-panel-patient,.cspv3f-video-room-meta,.cspv3f-video-room-meta-4{grid-template-columns:1fr 1fr}.cspv3f-video-iframe{min-height:65vh}}@media(max-width:820px){.cspv3f-video-panel,.cspv3f-video-panel-patient,.cspv3f-video-room-meta,.cspv3f-video-room-meta-4{grid-template-columns:1fr}.cspv3f-video-iframe{min-height:58vh}}@media(max-width:640px){.cspv3f-video-page-wrap{padding:0 10px}.cspv3f-video-iframe{min-height:54vh}.cspv3f-video-box-head{flex-direction:column;align-items:flex-start}.cspv3f-video-actions .button{width:100%;text-align:center;justify-content:center}}

.cspv3f-video-page-wrap-room{max-width:none;margin:0;padding:12px;background:#07152d;min-height:100vh}
.cspv3f-video-page-shell-room{max-width:100%;min-height:calc(100vh - 24px);display:grid;grid-template-rows:auto 1fr auto;background:#0b1f3c;color:#fff;border-color:#183154}
.cspv3f-video-shell-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.08)}
.cspv3f-video-shell-header h2{margin:0;color:#fff}
.cspv3f-video-shell-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cspv3f-video-canvas-shell-page{padding:10px}
.cspv3f-video-canvas-shell-page .cspv3f-video-iframe{min-height:calc(100vh - 160px);border-radius:18px}
.cspv3f-video-route-help{padding:10px 14px;border-top:1px solid rgba(255,255,255,.08);color:#cbd5e1;font-size:13px}
body .cspv3f-video-screen-btn{min-height:42px;border-radius:999px;background:#1d4ed8;color:#fff;border-color:#1d4ed8}
body .cspv3f-video-screen-btn:hover{background:#1e40af;color:#fff}
@media(max-width:820px){.cspv3f-video-page-shell-room{min-height:100vh}.cspv3f-video-shell-header{flex-direction:column;align-items:flex-start}.cspv3f-video-canvas-shell-page .cspv3f-video-iframe{min-height:70vh}}


.cspv3f-local-preview-card{margin:16px 0 14px;padding:14px;border:1px solid #dbe4f0;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff)}
.cspv3f-local-preview-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}
.cspv3f-local-preview-shell{position:relative;overflow:hidden;border-radius:16px;background:#0f172a;min-height:180px}
.cspv3f-local-preview-video{display:block;width:100%;height:240px;object-fit:cover;background:#020617}
.cspv3f-local-preview-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.cspv3f-video-mobile-open-room.is-mobile-primary{background:#16a34a;border-color:#16a34a;color:#fff}
.cspv3f-video-control-dock{position:sticky;bottom:0;z-index:4;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);padding-top:10px}
.cspv3f-video-player{position:sticky;top:90px}
.cspv3f-video-canvas-shell iframe{min-height:560px}
@media(max-width:820px){
  .cspv3f-video-player{top:72px}
  .cspv3f-video-canvas-shell iframe{min-height:68vh}
  .cspv3f-video-inline-frame-head,.cspv3f-local-preview-head{flex-direction:column;align-items:flex-start}
  .cspv3f-video-screen-tools,.cspv3f-local-preview-actions,.cspv3f-video-control-dock{display:flex;flex-wrap:wrap;gap:8px}
  .cspv3f-video-screen-tools .button,.cspv3f-local-preview-actions .button,.cspv3f-video-control-dock .button{flex:1 1 calc(50% - 8px);justify-content:center;text-align:center}
}

.cspv3f-video-callout{margin:0 0 12px;padding:12px 14px;border-radius:14px;font-size:13px;font-weight:600}.cspv3f-video-callout-success{background:#ecfdf5;color:#166534;border:1px solid #bbf7d0}


.cspv3f-video-box-luxury{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border-color:#dbeafe;box-shadow:0 18px 45px rgba(15,23,42,.08)}
.cspv3f-video-call-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.cspv3f-video-call-persona{display:flex;align-items:center;gap:12px;min-width:0}
.cspv3f-video-avatar-badge{width:46px;height:46px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f172a,#2563eb);color:#fff;font-weight:800;box-shadow:0 12px 28px rgba(37,99,235,.22)}
.cspv3f-video-call-persona h3{margin:0;font-size:20px;line-height:1.15}
.cspv3f-video-luxury-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}
.cspv3f-video-luxury-strip div{padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.86);border:1px solid #dbeafe;box-shadow:0 6px 18px rgba(15,23,42,.04)}
.cspv3f-video-luxury-strip strong{display:block;font-size:11px;letter-spacing:.03em;text-transform:uppercase;color:#64748b;margin-bottom:5px}
.cspv3f-video-luxury-strip span{display:block;font-weight:700;color:#0f172a}
.cspv3f-video-placeholder-luxury{background:radial-gradient(circle at top,#eff6ff 0%,#e2e8f0 65%,#cbd5e1 100%)}
.cspv3f-video-overlay-controls-labeled{gap:10px;flex-wrap:wrap}
.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn{min-width:74px;min-height:66px;padding:10px 12px;border-radius:18px;display:inline-flex;flex-direction:column;gap:5px;justify-content:center;align-items:center;background:rgba(15,23,42,.9);color:#fff;border:1px solid rgba(255,255,255,.08);box-shadow:0 16px 30px rgba(15,23,42,.18)}
.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn em{font-style:normal;font-size:11px;font-weight:700;letter-spacing:.02em}
.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn .dashicons{font-size:20px;width:20px;height:20px}
.cspv3f-video-route-help-inline{margin-top:12px;padding:12px 14px;border:1px solid #dbeafe;border-radius:14px;background:#eff6ff;color:#1e3a8a}
.cspv3f-video-page-shell-luxury{background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)}
.cspv3f-video-shell-header-luxury{margin-bottom:14px}
@media(max-width:820px){.cspv3f-video-luxury-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.cspv3f-video-call-topbar{flex-direction:column;align-items:flex-start}.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn{min-width:70px;flex:1 1 calc(33.333% - 10px)}}
@media(max-width:520px){.cspv3f-video-avatar-badge{width:42px;height:42px;border-radius:14px}.cspv3f-video-call-persona h3{font-size:18px}.cspv3f-video-luxury-strip{grid-template-columns:1fr 1fr;gap:8px}.cspv3f-video-overlay-controls-labeled{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn{width:100%;min-width:0;min-height:62px;border-radius:16px}}

/* v0.27.0 video recovery: incoming call banner, better room sizing, app-like controls */
.cspv3f-incoming-call-banner{display:flex;align-items:center;gap:14px;margin:14px 0 18px;padding:14px 16px;border-radius:22px;background:linear-gradient(135deg,#07152d,#0b4ea2 55%,#10b981);color:#fff;box-shadow:0 22px 55px rgba(11,78,162,.24);border:1px solid rgba(255,255,255,.18)}
.cspv3f-incoming-call-banner strong{display:block;font-size:18px;line-height:1.2}.cspv3f-incoming-call-banner span{display:block;color:rgba(255,255,255,.86);font-size:13px;margin-top:3px}.cspv3f-incoming-call-pulse{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.16);box-shadow:0 0 0 0 rgba(255,255,255,.55);animation:cspv3fCallPulse 1.35s infinite}.cspv3f-incoming-call-pulse .dashicons{font-size:26px;width:26px;height:26px}.cspv3f-incoming-call-actions{margin-left:auto;display:flex;gap:10px;flex-wrap:wrap}.cspv3f-incoming-call-actions .button{border-radius:999px;min-height:42px;padding:8px 18px;font-weight:800}.cspv3f-incoming-call-actions .button:not(.button-primary){background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.22);color:#fff}@keyframes cspv3fCallPulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.52)}70%{box-shadow:0 0 0 16px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
.cspv3f-video-stage{position:relative;border-radius:24px;overflow:hidden;background:#020617}.cspv3f-video-stage-canvas{min-height:520px;background:#020617}.cspv3f-video-stage-canvas iframe{display:block;width:100%;height:620px;min-height:620px;border:0;background:#020617}.cspv3f-video-placeholder{min-height:420px;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff}.cspv3f-video-placeholder-main{max-width:420px;padding:22px}.cspv3f-video-placeholder-main .dashicons{display:block;margin:0 auto 12px;font-size:42px;width:42px;height:42px;opacity:.94}.cspv3f-video-placeholder-main strong{display:block;font-size:24px;margin-bottom:8px}.cspv3f-video-placeholder-main small{display:block;font-size:14px;line-height:1.6;color:rgba(255,255,255,.82)}.cspv3f-video-overlay-controls{position:absolute;left:18px;right:18px;bottom:18px;z-index:5;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn{background:rgba(15,23,42,.92);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.14);text-decoration:none}.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn-success{background:linear-gradient(135deg,#16a34a,#22c55e)}.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn-danger{background:linear-gradient(135deg,#dc2626,#ef4444)}.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn-primary{background:linear-gradient(135deg,#0b4ea2,#2563eb)}
@media(max-width:820px){.cspv3f-incoming-call-banner{position:sticky;top:8px;z-index:30;align-items:flex-start}.cspv3f-incoming-call-actions{width:100%;margin-left:0}.cspv3f-incoming-call-actions .button{flex:1;text-align:center}.cspv3f-video-stage-canvas{min-height:74vh}.cspv3f-video-stage-canvas iframe{height:74vh;min-height:74vh}.cspv3f-video-placeholder{min-height:64vh}.cspv3f-video-overlay-controls{left:10px;right:10px;bottom:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn{min-height:58px;border-radius:18px}.cspv3f-video-under-meta,.cspv3f-video-luxury-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cspv3f-video-panel{gap:10px}.cspv3f-video-box{padding:12px;border-radius:20px}.cspv3f-video-route-help-inline{font-size:12px}}
@media(max-width:520px){.cspv3f-video-stage{border-radius:20px;margin-left:-2px;margin-right:-2px}.cspv3f-video-stage-canvas iframe{height:72vh;min-height:72vh}.cspv3f-video-placeholder{min-height:58vh}.cspv3f-video-luxury-strip div{padding:10px;border-radius:14px}.cspv3f-video-luxury-strip span{font-size:13px}.cspv3f-incoming-call-banner{border-radius:18px;padding:12px}.cspv3f-incoming-call-pulse{width:46px;height:46px;border-radius:15px}.cspv3f-incoming-call-banner strong{font-size:16px}}

/* v0.28.0 luxury video controls and mobile sizing */
.cspv3f-video-stage{box-shadow:0 30px 80px rgba(2,8,23,.22);border:1px solid rgba(255,255,255,.22)}
.cspv3f-video-stage-canvas iframe{width:100%!important;min-height:70vh!important;height:70vh!important;object-fit:cover;background:#020617}.cspv3f-video-placeholder{min-height:62vh!important}
.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn{border-radius:22px!important;background:linear-gradient(180deg,rgba(15,23,42,.96),rgba(30,41,59,.94))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 18px 38px rgba(2,8,23,.3)!important}.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn-success{background:linear-gradient(135deg,#16a34a,#22c55e)!important}.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn-danger{background:linear-gradient(135deg,#dc2626,#ef4444)!important}.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn-primary{background:linear-gradient(135deg,#0b4ea2,#38bdf8)!important}
.cspv3f-incoming-call-banner{box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 28px 70px rgba(11,78,162,.28)}.cspv3f-incoming-call-actions .button-primary{background:linear-gradient(135deg,#16a34a,#22c55e)!important;border-color:#16a34a!important}.cspv3f-incoming-call-actions .button:not(.button-primary){background:linear-gradient(135deg,#991b1b,#ef4444)!important;color:#fff!important;border-color:rgba(255,255,255,.18)!important}
@media(max-width:820px){.cspv3f-video-stage-canvas iframe{height:78vh!important;min-height:78vh!important}.cspv3f-video-placeholder{min-height:68vh!important}.cspv3f-video-overlay-controls{grid-template-columns:repeat(4,minmax(0,1fr))!important}.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn{min-height:60px!important;min-width:0!important}.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn em{font-size:10px!important}}
@media(max-width:520px){.cspv3f-video-stage{border-radius:24px!important}.cspv3f-video-stage-canvas iframe{height:76vh!important;min-height:76vh!important}.cspv3f-video-overlay-controls{grid-template-columns:repeat(3,minmax(0,1fr))!important}.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn{min-height:58px!important;padding:8px!important}}

/* v0.30.0 real video-flow recovery */
.cspv3f-video-panel-portal{display:block!important;max-width:100%;}
.cspv3f-video-box-main{width:100%;}
.cspv3f-video-stage{border-radius:28px!important;background:#020617!important;border:1px solid rgba(15,23,42,.22)!important;overflow:hidden!important;}
.cspv3f-video-stage-canvas{min-height:640px!important;background:#020617!important;}
.cspv3f-video-stage-canvas iframe{display:block!important;width:100%!important;height:640px!important;min-height:640px!important;border:0!important;border-radius:0!important;background:#020617!important;}
.cspv3f-video-overlay-controls{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;background:#030712!important;padding:18px 20px!important;margin:0!important;display:flex!important;gap:12px!important;align-items:center!important;justify-content:flex-start!important;}
.cspv3f-video-placeholder{min-height:470px!important;border-radius:0!important;}
.cspv3f-video-placeholder-split{display:grid!important;grid-template-columns:1.3fr 1fr!important;align-items:center!important;gap:18px!important;padding:24px!important;}
.cspv3f-video-stage-thumbs{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:100%;}
.cspv3f-video-thumb{min-height:130px;border-radius:22px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;text-align:center;padding:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.16)}
.cspv3f-video-route-help-inline{display:none!important;}
.cspv3f-video-under-meta{display:none!important;}
.cspv3f-video-luxury-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-bottom:18px!important;}
.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn{width:auto!important;min-width:76px!important;text-decoration:none!important;}
.cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn em{display:block!important;}
.cspv3f-video-callout{margin:0!important;border-radius:0!important;border-left:0!important;border-right:0!important;}
@media(max-width:900px){
  .cspv3f-video-stage-canvas{min-height:72vh!important;}
  .cspv3f-video-stage-canvas iframe{height:72vh!important;min-height:72vh!important;}
  .cspv3f-video-placeholder{min-height:60vh!important;}
  .cspv3f-video-placeholder-split{grid-template-columns:1fr!important;}
  .cspv3f-video-overlay-controls{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:12px!important;}
  .cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn{min-width:0!important;min-height:62px!important;}
}
@media(max-width:520px){
  .cspv3f-video-luxury-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .cspv3f-video-stage{border-radius:24px!important;margin-left:-4px;margin-right:-4px;}
  .cspv3f-video-stage-canvas iframe{height:70vh!important;min-height:70vh!important;}
  .cspv3f-video-overlay-controls{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .cspv3f-video-overlay-controls-labeled .cspv3f-icon-btn{border-radius:18px!important;padding:8px 6px!important;}
}
