:root { --video-bg:#000; --video-ink:#fff; --video-dim:rgb(0 0 0 / .28); --video-scrim:rgb(0 0 0 / .6); --video-scrim-strong:rgb(0 0 0 / .8); }
.workspace-sidebar>.brand { font-size:15px; white-space:nowrap; }
#plan-badge { text-transform:none; }
@media (max-width:540px) { #plan-badge { display:none; } }
.tab-pane { display:none; }
.tab-pane.active { display:block; }
.stepper-input { width:7ch; min-width:64px; appearance:textfield; -moz-appearance:textfield; }
.stepper-input::-webkit-outer-spin-button,.stepper-input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.modal-wide { width:min(980px,calc(100vw - 24px)); }
.modal-footer { position:sticky; bottom:0; padding:14px 20px; border-top:1px solid var(--border); background:var(--surface); }
.modal-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.modal-body h4 { margin:18px 0 10px; font-family:var(--font-mono); font-size:11px; font-weight:500; letter-spacing:.11em; text-transform:uppercase; color:var(--text-3); }
.modal-body h4:first-child { margin-top:0; }
.modal-scroll { max-height:220px; overflow-y:auto; }
.modal-scroll-tall { max-height:420px; overflow-y:auto; border-radius:var(--radius); }
.form-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 16px; align-items:start; }
.form-two>.form-wide { grid-column:1 / -1; }
.field-fill { align-self:end; }
.table-footer { margin-top:14px; }
.toolbar-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.toolbar-end { margin-left:auto; display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.search-input { width:min(320px,100%); }
.is-clickable { cursor:pointer; }
.data-table tbody tr.is-clickable:hover td { background:var(--surface-2); }
.data-table .cell-actions { display:flex; gap:6px; justify-content:flex-end; }
.data-table .col-wrap { display:block; min-width:200px; white-space:normal; }
.cell-stack { display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; }
.log-list { display:grid; }
.log-row { display:flex; justify-content:space-between; gap:12px; padding:7px 0; border-bottom:1px solid var(--border); font-size:13px; }
.log-row:last-child { border-bottom:0; }
.log-row-main { color:var(--text-3); min-width:0; overflow-wrap:anywhere; }
.log-row-main strong { color:var(--text); font-weight:600; }
.log-row-side { text-align:right; color:var(--text-3); overflow-wrap:anywhere; }
.notice-slot:not(:empty) { margin-bottom:20px; }
.pricing-grid.plan-editor { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:none; }
.plan-editor .price-card { gap:14px; }
.plan-editor-blurb { color:var(--text-2); font-size:13px; line-height:1.7; }
.plan-total { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:8px 16px; padding-top:18px; border-top:1px solid var(--border); }
.plan-total .price-total { font-size:1.6rem; }
.plan-total small { font-size:.85rem; font-weight:500; color:var(--text-3); }
.market-switch { display:grid; gap:8px; margin-bottom:18px; }
.market-switch .field-hint { margin:0; }
.pass-state,.pass-offer,.pass-other { display:grid; gap:10px; padding-top:14px; border-top:1px solid var(--border); }
.pass-state-text,.pass-offer-text,.pass-other-text { margin:0; color:var(--text-2); font-size:13px; line-height:1.6; }
.pass-state-text .badge { margin-right:4px; }
.pass-offer-text strong { color:var(--text); }
.pass-offer>.button,.pass-state>.button-row,.pass-other>.button-row { justify-self:start; }
.pass-state>.field-hint,.pass-other>.field-hint { margin:0; }
.billing-fee-note { margin-top:16px; }
.danger-panel { border-color:color-mix(in srgb,var(--danger) 35%,var(--border)); }
.danger-panel .panel-title { color:var(--danger); }
.session-list { display:grid; }
.session-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; padding:12px 0; border-bottom:1px solid var(--border); }
.session-row:first-child { padding-top:0; }
.session-row:last-child { border-bottom:0; padding-bottom:0; }
.session-device { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-weight:600; }
.session-meta { color:var(--text-3); font-size:13px; }
.account-layout { margin-bottom:20px; }
.overview-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; align-items:start; }
.overview-grid>.panel { margin:0; min-width:0; }
.pricing-grid.pricing-grid-two { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:880px; }
.price-card .price-amount.is-pending { font-size:1.1rem; font-weight:500; color:var(--text-3); letter-spacing:0; }
.home-hero .hero-title { font-size:clamp(40px,5.4vw,72px); text-wrap:balance; }
.flow-step p { margin-top:10px; }
.auth-fine-print a { color:var(--text-2); }
.auth-entry-page .auth-card h1:has(+ .auth-lead) { margin-bottom:12px; }
.auth-entry-page .auth-card .auth-lead { margin-top:0; margin-bottom:28px; font-size:14px; }
.auth-entry-page .auth-result h1 { margin-bottom:6px; }
.segmented { display:inline-flex; flex-wrap:wrap; border:1px solid var(--border-strong); border-radius:var(--radius-small); overflow:hidden; background:var(--surface); }
.segmented button { min-height:34px; padding:6px 12px; border:0; border-right:1px solid var(--border); background:none; color:var(--text-2); font:inherit; font-size:.85rem; font-weight:600; cursor:pointer; }
.segmented button:last-child { border-right:0; }
.segmented button:hover { background:var(--surface-2); color:var(--text); }
.segmented button:focus-visible { outline:none; box-shadow:inset 0 0 0 2px var(--accent); }
.segmented button[aria-pressed="true"],.segmented button[aria-selected="true"] { background:var(--accent-soft); color:var(--accent-text); }
.segmented button:disabled { opacity:.5; cursor:not-allowed; }
.chips { display:flex; flex-wrap:wrap; gap:8px; }
.chip { display:inline-flex; align-items:center; gap:8px; min-height:34px; padding:5px 14px; border:1px solid var(--border-strong); border-radius:999px; background:var(--surface); color:var(--text-2); font:inherit; font-size:.85rem; font-weight:600; cursor:pointer; }
.chip:hover { background:var(--surface-2); color:var(--text); }
.chip:focus-visible { outline:none; box-shadow:var(--focus); }
.chip[aria-pressed="true"] { border-color:var(--accent); background:var(--accent-soft); color:var(--accent-text); }
.chip small { font-family:var(--font-mono); font-size:10px; font-weight:500; letter-spacing:.06em; text-transform:uppercase; color:var(--text-3); }
.chip[aria-pressed="true"] small { color:var(--accent-text); }
.code-block { margin:0; padding:12px 14px; border:1px solid var(--border); border-radius:var(--radius-small); background:var(--bg); color:var(--text); font-family:var(--font-mono); font-size:12px; line-height:1.6; overflow-x:auto; white-space:pre; }
.doc-list { margin:0; padding-left:18px; color:var(--text-2); font-size:.9rem; line-height:1.8; }
.doc-list strong { color:var(--text); }
.inline-form { display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px; }
.inline-form .field { flex:1 1 280px; }
.ingest-summary { margin-bottom:20px; grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr)); }
.stat-value small { margin-left:4px; font-size:.7em; font-weight:500; color:var(--text-3); }
.ingest-detail-head + .segmented { margin-bottom:18px; }
.modal-section { padding-top:20px; border-top:1px solid var(--border); }
.modal-section:first-child { padding-top:0; border-top:0; }
.modal-body .stack>h4 { margin:0 0 -6px; }
.ingest-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr)); gap:16px; }
.ingest-card { display:flex; flex-direction:column; gap:12px; min-width:0; padding:20px; border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); }
.ingest-card.is-inactive { opacity:.72; }
.ingest-top { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.ingest-top>div:first-child { min-width:0; }
.ingest-name { font-size:1.05rem; font-weight:650; overflow-wrap:anywhere; }
.ingest-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:2px; color:var(--text-3); font-size:12.5px; }
.ingest-rate-row { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; }
.ingest-rate { font-family:var(--font-mono); font-variant-numeric:tabular-nums; font-size:22px; font-weight:600; line-height:1.1; }
.ingest-rate small { margin-left:4px; font-size:12px; font-weight:500; color:var(--text-3); }
.ingest-notice { font-size:13px; line-height:1.7; color:var(--text-3); }
.ingest-notice.is-warning { color:var(--warning); }
.ingest-card .button-row { margin-top:auto; padding-top:2px; }
.type-tag { padding:1px 7px; border-radius:5px; background:var(--surface-3); color:var(--text); font-family:var(--font-mono); font-size:11px; letter-spacing:.04em; text-transform:uppercase; }
.ingest-detail-head { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-bottom:14px; }
.ingest-detail-head .mono { color:var(--text-2); }
.modal-actions .action-start { margin-right:auto; }
.watch-page { min-height:100dvh; }
.watch-root { flex:1; display:flex; flex-direction:column; min-height:100dvh; }
.watch-head { display:flex; align-items:center; gap:10px; padding:12px 16px; font-size:13px; color:var(--text-3); }
.watch-head strong { color:var(--text); font-weight:600; }
.watch-stage { flex:1; min-height:0; display:flex; align-items:center; justify-content:center; padding:0 8px 8px; }
.watch-stage>div { width:100%; max-width:1600px; }
.watch-error { padding:40px; text-align:center; color:var(--text-2); font-size:14px; }
.log-entries { list-style:none; margin:0; padding:0; border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); overflow:hidden; }
.log-entry { display:grid; grid-template-columns:150px 190px minmax(0,1fr); gap:6px 16px; align-items:start; padding:12px 16px; border-bottom:1px solid var(--border); font-size:13px; }
.log-entry:last-child { border-bottom:0; }
.log-entry.is-new { animation:log-flash 2.4s ease-out; }
@keyframes log-flash { from { background:var(--accent-soft); } to { background:transparent; } }
.log-entry-time { display:flex; flex-direction:column; gap:2px; font-variant-numeric:tabular-nums; }
.log-entry-time time { color:var(--text); font-weight:600; }
.log-entry-time .muted { font-size:12px; }
.log-entry-event { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.log-entry-main { display:flex; flex-direction:column; gap:2px; min-width:0; overflow-wrap:anywhere; }
.log-entry-detail { color:var(--text-3); }
.log-entry-result.is-failed { color:var(--danger); }
.log-status { margin:12px 0; font-size:13px; }
.logs-ingest { width:auto; min-width:180px; }
.chart-card { min-width:0; padding:14px 16px 10px; border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); }
.chart-grid { display:grid; gap:12px; }
.health-controls { display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; }
.health-custom { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.health-custom .input { width:auto; }
.health-custom .field-label { font-size:.8rem; color:var(--text-3); }
.health-session { max-width:560px; }
.health-live>*+* { margin-top:12px; }
.health-facts { display:flex; flex-wrap:wrap; gap:6px 18px; margin:0; font-size:13px; color:var(--text-3); }
.health-facts strong { color:var(--text); font-weight:600; }
.chart-head { display:flex; align-items:flex-start; justify-content:space-between; gap:6px 10px; margin-bottom:6px; flex-wrap:wrap; }
.chart-title { font-size:13px; font-weight:600; color:var(--text); padding-top:3px; }
.chart-note { font-size:12px; line-height:1.6; color:var(--text-3); margin:0 0 6px; }
.chart-legend { display:flex; gap:2px 4px; flex-wrap:wrap; }
.chart-legend-item { display:inline-flex; align-items:center; gap:6px; min-height:26px; padding:3px 8px; border:1px solid transparent; border-radius:var(--radius-small); background:none; color:var(--text-2); font:inherit; font-size:12px; cursor:pointer; }
.chart-legend-item:hover { background:var(--surface-2); color:var(--text); }
.chart-legend-item:focus-visible { outline:none; box-shadow:var(--focus); }
.chart-legend-item[aria-pressed="false"] { color:var(--text-3); text-decoration:line-through; }
.chart-legend-item[aria-pressed="false"] .chart-swatch { opacity:.35; }
.chart-swatch { display:inline-block; width:9px; height:9px; border-radius:2px; background:var(--tone,var(--text-3)); flex:none; }
.tone-accent { --tone:var(--accent); }
.tone-info { --tone:var(--info); }
.tone-warning { --tone:var(--warning); }
.tone-danger { --tone:var(--danger); }
.tone-success { --tone:var(--success); }
.tone-neutral { --tone:var(--text-2); }
.tone-muted { --tone:var(--text-3); }
.chart-box { position:relative; width:100%; height:190px; }
.chart-box canvas { position:absolute; inset:0; width:100%; height:100%; display:block; touch-action:pan-y; cursor:crosshair; }
.chart-tip { position:absolute; top:4px; left:var(--tip-x,0); pointer-events:none; background:color-mix(in srgb,var(--bg) 94%,transparent); border:1px solid var(--border); border-radius:6px; padding:5px 8px; font-size:11.5px; line-height:1.5; white-space:nowrap; z-index:3; font-variant-numeric:tabular-nums; }
.chart-tip-time { color:var(--text-3); margin-bottom:2px; }
.chart-tip-row { display:flex; align-items:center; gap:6px; }
.chart-overlay { position:absolute; inset:0; z-index:4; display:flex; align-items:center; justify-content:center; gap:10px; padding:0 16px; text-align:center; font-size:13px; color:var(--text-2); background:color-mix(in srgb,var(--surface) 55%,transparent); pointer-events:none; }
.chart-overlay.is-loading { background:color-mix(in srgb,var(--surface) 75%,transparent); }
.spark { width:100%; height:38px; display:block; color:var(--accent); }
.spark-live { color:var(--accent); }
.spark-low { color:var(--warning); }
.spark-dead { color:var(--danger); }
.ro-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; align-items:start; grid-auto-flow:dense; }
.ro-grid>.panel { margin:0; min-width:0; }
.ro-span-2 { grid-column:span 2; }
.ro-span-full { grid-column:1 / -1; }
.ro-panel-head { flex-direction:row; align-items:flex-start; justify-content:space-between; gap:10px 14px; }
.ro-panel-titles { display:flex; flex-direction:column; gap:4px; min-width:0; }
.ro-panel-head>.button { flex:none; }
.ro-body { display:flex; flex-direction:column; gap:14px; min-width:0; }
.ro-body>.loading { padding:8px 0; }
.ro-locked { max-width:640px; }
.ro-note { margin:0; color:var(--text-3); font-size:.88rem; line-height:1.7; }
.ro-note.is-error { color:var(--danger); }
.ro-error { margin:0; color:var(--danger); font-size:.88rem; }
.ro-error:empty { display:none; }
.ro-status-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.ro-stats { display:flex; flex-direction:column; gap:12px; }
.ro-head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 12px; }
.ro-head-sources { margin-top:6px; }
.ro-label { color:var(--text-3); font-size:.85rem; }
.ro-toggles { display:flex; flex-wrap:wrap; gap:12px 24px; }
.ro-auto-status { color:var(--text-3); font-size:.85rem; }
.ro-auto-status.is-ok { color:var(--success); }
.ro-log-scroll { max-height:260px; overflow-y:auto; }
.ro-color { width:96px; padding:4px; }
.ro-scene-tabs-wrap { position:relative; min-width:0; max-width:100%; }
.ro-scene-tabs-wrap::after { content:""; position:absolute; top:0; right:0; bottom:0; width:28px; pointer-events:none; background:linear-gradient(to right,transparent,var(--surface)); opacity:0; transition:opacity .15s; }
.ro-scene-tabs-wrap.has-more::after { opacity:1; }
.ro-scene-tabs .chip:disabled { opacity:.6; cursor:default; }
.ro-dest-table { table-layout:fixed; }
.ro-col-label { width:28%; }
.ro-col-url { width:42%; }
.ro-col-actions { width:30%; }
.ro-dest-table td { overflow:hidden; text-overflow:ellipsis; }
.ro-dest-table td.ro-dest-url { color:var(--text-3); font-size:.8rem; white-space:normal; overflow-wrap:anywhere; }
.ro-dest-table td.ro-dest-actions { text-align:right; white-space:nowrap; }
.ro-dest-actions .button+.button { margin-left:6px; }
.ro-quota-row { display:flex; flex-direction:column; gap:6px; }
.ro-quota { width:100%; height:8px; border:0; border-radius:4px; background:var(--surface-3); appearance:none; -webkit-appearance:none; overflow:hidden; }
.ro-quota::-webkit-progress-bar { background:var(--surface-3); }
.ro-quota::-webkit-progress-value { background:var(--accent); }
.ro-quota::-moz-progress-bar { background:var(--accent); }
.ro-quota[data-level="high"]::-webkit-progress-value { background:var(--warning); }
.ro-quota[data-level="high"]::-moz-progress-bar { background:var(--warning); }
.ro-quota[data-level="full"]::-webkit-progress-value { background:var(--danger); }
.ro-quota[data-level="full"]::-moz-progress-bar { background:var(--danger); }
.ro-files-table .ro-file-name { max-width:240px; overflow:hidden; text-overflow:ellipsis; font-family:var(--font-mono); font-size:.85em; }
.ro-src-list { display:flex; flex-direction:column; gap:8px; }
.ro-src-card { display:flex; align-items:center; gap:6px; padding:8px 10px; border:1px solid var(--border); border-radius:var(--radius-small); background:var(--bg); }
.ro-src-card.is-hidden { opacity:.55; }
.ro-src-card .button { flex:none; }
.ro-src-card .button-icon { min-width:38px; min-height:38px; }
.ro-src-eye[aria-pressed="true"] { border-color:var(--accent); color:var(--accent-text); }
.ro-src-mid { flex:1; min-width:0; display:flex; flex-direction:column; line-height:1.25; }
.ro-src-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:600; font-size:.9rem; }
.ro-src-kind { color:var(--text-3); font-size:.72rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ro-preview { position:relative; width:100%; max-width:640px; aspect-ratio:16 / 9; margin:0 auto 14px; background:var(--video-bg); border:1px solid var(--border); border-radius:var(--radius-small); overflow:hidden; }
.ro-preview img { display:block; width:100%; height:100%; object-fit:contain; }
.ro-preview-box { position:absolute; left:var(--box-x,0px); top:var(--box-y,0px); width:var(--box-w,0px); height:var(--box-h,0px); border:2px solid var(--accent); box-shadow:0 0 0 9999px var(--video-dim); box-sizing:border-box; pointer-events:none; }
.ro-preview-hint { position:absolute; left:8px; bottom:6px; padding:2px 7px; border-radius:4px; background:var(--video-scrim-strong); color:var(--accent-text); font-size:11px; pointer-events:none; }
.ro-guide { position:absolute; background:var(--warning); pointer-events:none; z-index:3; }
.ro-guide-v { top:0; bottom:0; left:var(--guide-x,0px); width:1px; }
.ro-guide-h { left:0; right:0; top:var(--guide-y,0px); height:1px; }
.ro-preview,.ro-preview img { -webkit-touch-callout:none; -webkit-user-select:none; user-select:none; -webkit-user-drag:none; }
.ro-preview[data-draggable] { touch-action:none; cursor:move; }
.ro-preview.ro-dragging img { opacity:.55; }
.ro-preview.ro-dragging .ro-preview-box { border-width:3px; }
.ro-drag-chip { position:absolute; top:8px; left:50%; transform:translateX(-50%); padding:3px 10px; border-radius:6px; background:var(--video-scrim-strong); color:var(--video-ink); font-size:12px; font-weight:700; pointer-events:none; z-index:4; }
.ro-edit-pos { display:flex; gap:16px; align-items:stretch; flex-wrap:wrap; }
.ro-nudge-pad { display:grid; grid-template-columns:repeat(3,40px); grid-template-rows:repeat(3,36px); gap:6px; flex-shrink:0; }
.ro-nudge { padding:0; font-size:15px; line-height:1; touch-action:manipulation; }
.ro-nudge:active { background:var(--surface-3); }
.ro-xy-stack { flex:1; min-width:150px; display:flex; flex-direction:column; justify-content:space-between; gap:8px; }
.ro-scale-field { display:flex; flex-direction:column; gap:6px; }
.ro-scale-row { display:flex; align-items:center; gap:10px; }
.ro-scale-step { min-width:44px; flex-shrink:0; font-size:18px; line-height:1; padding:0; }
.ro-scale-row input[type=range] { -webkit-appearance:none; appearance:none; flex:1; min-width:0; height:8px; border-radius:4px; background:var(--border); touch-action:pan-x; padding:0; border:none; box-shadow:none; }
.ro-scale-row input[type=range]::-webkit-slider-thumb { -webkit-appearance:none; width:24px; height:24px; border-radius:50%; background:var(--accent); cursor:pointer; }
.ro-scale-row input[type=range]::-moz-range-thumb { width:24px; height:24px; border:none; border-radius:50%; background:var(--accent); cursor:pointer; }
.ro-crop-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px 12px; }
.ro-crop-grid .stepper { width:100%; }
.ro-crop-grid .stepper-input { flex:1; width:auto; min-width:0; }
.ro-desktop-bar { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.ro-desktop-frame { display:block; width:100%; max-width:1280px; aspect-ratio:16 / 10; min-height:300px; margin-inline:auto; border:0; border-radius:var(--radius-small); }
.ro-desktop-frame.is-mobile { max-width:none; height:100%; min-height:0; aspect-ratio:auto; border-radius:0; transform-origin:0 0; transform:translate(var(--pan-x,0px),var(--pan-y,0px)) scale(var(--zoom,1)); }
.ro-desktop-mobile { position:fixed; inset:0; z-index:500; display:flex; flex-direction:column; background:var(--video-bg); }
.ro-desktop-mobile .ro-desktop-bar { margin-bottom:0; padding:10px 12px; flex-shrink:0; background:var(--surface); border-bottom:1px solid var(--border); }
.ro-desktop-hint { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 12px; flex-shrink:0; background:var(--video-scrim-strong); color:var(--video-ink); font-size:12px; }
.ro-desktop-hint-close { flex-shrink:0; padding:0; border:none; background:none; color:var(--video-ink); font-size:16px; line-height:1; cursor:pointer; }
.ro-desktop-viewport { position:relative; flex:1 1 auto; overflow:hidden; background:var(--video-bg); }
.ro-desktop-pan { position:absolute; inset:0; display:none; z-index:2; touch-action:none; cursor:grab; }
.ro-desktop-pan.active { display:block; }
.ro-zoombar { display:flex; align-items:center; gap:6px; }
.ro-zoom-label { font-size:12px; min-width:44px; text-align:center; color:var(--text-3); }
@media (max-width:1280px) {
  .ro-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:860px) {
  .ro-grid { grid-template-columns:minmax(0,1fr); }
  .ro-span-2 { grid-column:1 / -1; }
  .ro-nudge-pad { grid-template-columns:repeat(3,52px); grid-template-rows:repeat(3,52px); gap:8px; }
  .ro-scene-tabs { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
  .ro-scene-tabs::-webkit-scrollbar { display:none; }
  .ro-scene-tabs .chip { min-height:44px; padding:10px 16px; font-size:15px; flex-shrink:0; }
  .ro-scale-step { min-height:44px; }
  .modal-body .ro-preview { position:sticky; top:0; z-index:5; }
  .ro-dest-table,.ro-dest-table tbody,.ro-dest-table tr,.ro-dest-table td { display:block; width:auto; }
  .ro-dest-table thead,.ro-dest-table colgroup { display:none; }
  .ro-dest-table tr { padding:10px 12px; border-bottom:1px solid var(--border); }
  .ro-dest-table tr:last-child { border-bottom:0; }
  .ro-dest-table td { padding:3px 0; max-width:100%; border-bottom:0; white-space:normal; }
  .ro-dest-table td.ro-dest-actions { display:flex; gap:8px; margin-top:8px; }
  .ro-dest-table td.ro-dest-actions .button { flex:1; min-height:44px; }
  .ro-dest-actions .button+.button { margin-left:0; }
  .ro-toggles { flex-direction:column; align-items:flex-start; gap:12px; }
}
@media (max-width:860px) {
  .form-two,.overview-grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:720px) {
  .pricing-grid.pricing-grid-two,.pricing-grid.plan-editor { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:760px) {
  .log-entry { grid-template-columns:minmax(0,1fr); }
  .log-entry-time { flex-direction:row; flex-wrap:wrap; align-items:baseline; gap:4px 10px; }
}
@media (prefers-reduced-motion:reduce) { .log-entry.is-new { animation:none; } }
.pv-wrap { position:relative; background:var(--video-bg); border-radius:var(--radius-small); overflow:hidden; }
.pv-wrap video { display:block; width:100%; aspect-ratio:16 / 9; background:var(--video-bg); }
.pv-wrap:fullscreen { border-radius:0; }
.pv-wrap:fullscreen video { height:100%; aspect-ratio:auto; }
.pv-status { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding:0 24px; background:var(--video-scrim); color:var(--text-2); font-size:13px; text-align:center; pointer-events:none; }
.pv-controls { position:absolute; left:0; right:0; bottom:0; display:flex; align-items:center; gap:12px; padding:8px 16px 12px; background:linear-gradient(transparent,var(--video-scrim-strong)); opacity:0; transition:opacity .15s; }
.pv-wrap.pv-controls-visible .pv-controls { opacity:1; }
.pv-controls button { display:flex; align-items:center; justify-content:center; padding:4px; border:0; border-radius:var(--radius-small); background:none; color:var(--text); cursor:pointer; }
.pv-controls button:hover { color:var(--accent); }
.pv-controls button:focus-visible { outline:none; box-shadow:var(--focus); }
.pv-controls svg { width:24px; height:24px; fill:currentColor; filter:drop-shadow(0 1px 2px var(--video-scrim-strong)); }
.pv-spacer { flex:1; }
.pv-volpct { min-width:34px; flex-shrink:0; color:var(--text); font-size:11px; font-variant-numeric:tabular-nums; text-shadow:0 1px 2px var(--video-scrim-strong); }
.pv-vol { --vol-fill:100%; -webkit-appearance:none; appearance:none; width:92px; height:16px; flex-shrink:0; border:0; padding:0; background:transparent; vertical-align:middle; cursor:pointer; outline:none; }
.pv-vol[hidden],.pv-volpct[hidden] { display:none; }
.pv-vol::-webkit-slider-runnable-track { height:5px; border-radius:3px; background:linear-gradient(to right,var(--accent) 0%,var(--accent) var(--vol-fill),var(--surface-3) var(--vol-fill),var(--surface-3) 100%); }
.pv-vol::-webkit-slider-thumb { -webkit-appearance:none; appearance:none; width:14px; height:14px; margin-top:-4.5px; border-radius:50%; border:2px solid var(--accent); background:var(--text); box-shadow:0 1px 3px var(--video-scrim-strong); cursor:pointer; }
.pv-vol::-moz-range-track { height:5px; border-radius:3px; background:var(--surface-3); }
.pv-vol::-moz-range-progress { height:5px; border-radius:3px; background:var(--accent); }
.pv-vol::-moz-range-thumb { width:14px; height:14px; border-radius:50%; border:2px solid var(--accent); background:var(--text); box-shadow:0 1px 3px var(--video-scrim-strong); cursor:pointer; }
.pv-vol:focus-visible::-webkit-slider-thumb { box-shadow:var(--focus); }
.pv-vol:focus-visible::-moz-range-thumb { box-shadow:var(--focus); }
.pv-note { margin-top:6px; color:var(--text-3); font-size:11px; }
