:root{--ink:#101914;--ink-soft:#516258;--paper:#f5efe5;--paper-deep:#dfd1bf;--moss:#17251d;--moss-2:#2d4637;--brass:#c98a36;--ember:#a85126;--cyan:#7fd4c4;--cream:#fffaf0;--line:rgba(16,25,20,0.13);--glass:rgba(255,250,240,0.78);--shadow:0 28px 90px rgba(13,22,16,0.2);--focus:0 0 0 4px rgba(127,212,196,0.22);--font-ui:"HarmonyOS Sans SC","MiSans","PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans SC","Source Han Sans SC","Segoe UI",sans-serif;--font-display:"HarmonyOS Sans SC","MiSans","PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans SC","Source Han Sans SC","Segoe UI",sans-serif;--font-mono:"SFMono-Regular","Cascadia Mono","JetBrains Mono",Consolas,"Liberation Mono",monospace}*{box-sizing:border-box}body,html{margin:0;min-height:100%;background:radial-gradient(circle at 12% 6%,rgba(127,212,196,.16),transparent 30rem),radial-gradient(circle at 92% 0,rgba(201,138,54,.24),transparent 28rem),linear-gradient(135deg,#eee4d5,#fbf5eb 48%,#d9cab8);color:var(--ink);font-family:var(--font-ui);font-feature-settings:"kern" 1;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body:before{content:"";position:fixed;inset:0;z-index:-1;opacity:.16;background-image:linear-gradient(90deg,rgba(19,32,23,.2) 1px,transparent 0),linear-gradient(rgba(19,32,23,.16) 1px,transparent 0);background-size:48px 48px;-webkit-mask-image:linear-gradient(180deg,black,transparent 82%);mask-image:linear-gradient(180deg,black,transparent 82%)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.admin-hero h1,.audience-title-card h1,.control-console h1,.hero h1,h1,h2,h3,h4,h5,h6{font-family:var(--font-display);letter-spacing:0}.shell{min-height:100vh;padding:28px}.hero{position:relative;overflow:hidden;border-radius:34px;padding:38px 42px;color:var(--cream);background:linear-gradient(112deg,rgba(13,24,18,.98),rgba(30,54,40,.93)),radial-gradient(circle at 86% 10%,rgba(127,212,196,.28),transparent 20rem),radial-gradient(circle at 95% 72%,rgba(201,138,54,.42),transparent 22rem);box-shadow:var(--shadow)}.hero:after{content:"";position:absolute;pointer-events:none;right:-90px;top:-110px;width:360px;height:360px;border:1px solid rgba(255,247,232,.24);border-radius:999px;box-shadow:inset 0 0 0 52px rgba(255,250,240,.03)}.eyebrow{letter-spacing:.36em;text-transform:uppercase;color:rgba(255,247,232,.72);font-size:13px;font-weight:700}.hero h1{margin:16px 0 12px;max-width:980px;font-size:clamp(42px,6vw,86px);line-height:.94}.hero p{max-width:850px;margin:0;color:rgba(255,247,232,.78);font-size:20px;line-height:1.7}.admin-hero{display:grid;grid-template-columns:minmax(260px,1fr) auto;grid-gap:18px;gap:18px;align-items:end;min-height:auto;padding:24px 28px;border-radius:26px}.admin-hero:after{right:-120px;top:-150px;width:280px;height:280px;opacity:.7}.admin-hero-copy h1{margin:8px 0 6px;max-width:720px;font-size:clamp(28px,4vw,52px);line-height:1.02}.admin-hero-copy p{max-width:none;color:rgba(255,247,232,.72);font-size:15px;line-height:1.55}.admin-hero .eyebrow{font-size:11px;letter-spacing:.28em}.admin-nav{justify-content:flex-end;margin:0;gap:8px}.admin-nav .pill{min-height:36px;padding:0 14px;border-color:rgba(255,247,232,.22);background:rgba(255,250,240,.08);font-size:14px;position:relative;z-index:1}.admin-nav .admin-logout-pill{border-color:rgba(255,213,188,.28);background:rgba(201,99,47,.18);color:#fff3e8;font-weight:900}.admin-nav .admin-logout-pill:hover{border-color:rgba(255,213,188,.44);background:rgba(201,99,47,.28)}.grid{display:grid;grid-template-columns:repeat(12,1fr);grid-gap:24px;gap:24px;margin-top:26px}.card{border:1px solid rgba(19,32,23,.14);border-radius:28px;background:var(--glass);box-shadow:0 20px 60px rgba(48,36,21,.12);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.card:hover{border-color:rgba(45,70,55,.22)}.panel{padding:26px}.span-4{grid-column:span 4}.span-5{grid-column:span 5}.span-7{grid-column:span 7}.span-8{grid-column:span 8}.span-12{grid-column:span 12}.nav{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 0}.button,.pill{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border:1px solid rgba(255,247,232,.24);border-radius:999px;background:rgba(255,247,232,.1);color:var(--cream);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.button:hover,.ghost-button:hover,.pill:hover,.target-toggle:hover{transform:translateY(-1px);box-shadow:0 10px 30px rgba(13,22,16,.12)}.button:disabled,.disabled-link,.ghost-button:disabled{cursor:not-allowed;opacity:.58;transform:none;box-shadow:none}.disabled-link{pointer-events:none}.button.disabled-link,.ghost-button.disabled-link{border-color:rgba(16,25,20,.12);background:rgba(255,250,240,.78);color:rgba(16,25,20,.64);opacity:1}.button.dark{border-color:rgba(19,32,23,.12);background:var(--moss);color:var(--cream)}.button.ember{border-color:transparent;background:linear-gradient(135deg,var(--ember),#c76d35);color:var(--cream)}.button.secondary{border-color:rgba(184,91,39,.22);background:rgba(184,91,39,.1);color:var(--ink)}.ghost-button{min-height:34px;border:1px solid var(--line);border-radius:999px;padding:0 12px;background:rgba(255,255,255,.42);color:var(--ink);cursor:pointer}.ghost-button.danger{border-color:rgba(184,91,39,.26);color:#8a2f17}.status-pill{display:inline-flex;min-height:30px;align-items:center;border-radius:999px;padding:0 10px;background:rgba(216,144,59,.14);color:#7a3b14;font-size:13px;font-weight:800}.section-title{margin:0 0 16px;font-size:28px}.muted{color:var(--ink-soft)}.metric{display:grid;grid-gap:8px;gap:8px}.metric strong{font-size:34px}.admin-dashboard-grid{align-items:stretch}.admin-dashboard-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:18px;gap:18px;align-items:end;overflow:hidden;background:linear-gradient(135deg,rgba(255,250,240,.88),rgba(255,250,240,.68)),radial-gradient(circle at 92% 0,rgba(127,212,196,.18),transparent 22rem)}.admin-dashboard-overview .eyebrow{color:rgba(168,81,38,.82)}.admin-dashboard-overview h2{margin:6px 0 8px;font-size:clamp(28px,3vw,42px);line-height:1.08}.admin-dashboard-overview p{max-width:760px;margin:0;color:var(--ink-soft);line-height:1.65}.admin-overview-chips{display:grid;grid-template-columns:repeat(3,minmax(112px,1fr));grid-gap:10px;gap:10px;min-width:min(520px,100%)}.admin-overview-chips span{display:grid;grid-gap:2px;gap:2px;min-height:70px;align-content:center;border:1px solid rgba(19,32,23,.1);border-radius:20px;padding:12px 14px;background:rgba(255,250,240,.68);color:var(--ink-soft);font-size:13px;font-weight:900;white-space:nowrap}.admin-overview-chips strong{color:var(--ink);font-size:28px;line-height:1}.admin-overview-chips .is-warning{border-color:rgba(184,91,39,.24);background:rgba(255,236,221,.72);color:#8a2f17}.admin-status-card{display:grid;align-content:start;grid-gap:14px;gap:14px}.admin-status-card.is-ok{border-color:rgba(31,110,60,.16)}.admin-status-card.is-warning{border-color:rgba(184,91,39,.24);background:linear-gradient(135deg,rgba(255,250,240,.82),rgba(255,242,230,.72)),var(--glass)}.admin-status-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.admin-status-card-head .section-title{margin:0}.admin-status-card-head>a,.admin-status-card-head>span{flex:0 0 auto;min-height:30px;display:inline-flex;align-items:center;padding:0 10px;border:1px solid rgba(16,25,20,.09);border-radius:999px;background:rgba(255,255,255,.52);color:var(--ink-soft);font-size:12px;font-weight:900}.admin-status-card-head>a:hover{border-color:rgba(16,25,20,.24);background:rgba(255,255,255,.82)}.admin-home-metric strong{color:var(--ink);font-size:clamp(30px,3vw,42px);line-height:1}.admin-room-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px}.admin-room-counts div{min-height:92px;display:grid;align-content:center;grid-gap:6px;gap:6px;padding:12px;border:1px solid rgba(16,25,20,.08);border-radius:18px;background:rgba(255,255,255,.42)}.admin-room-counts strong{font-size:32px;line-height:1}.admin-room-counts span{color:var(--ink-soft);font-size:12px;font-weight:850}.admin-home-guide,.admin-home-list{min-height:260px}.admin-recent-rooms{display:grid;grid-gap:9px;gap:9px}.admin-recent-rooms a{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:4px 12px;gap:4px 12px;padding:12px 13px;border:1px solid rgba(16,25,20,.08);border-radius:16px;background:rgba(255,255,255,.44);transition:border-color .16s ease,background .16s ease,transform .16s ease}.admin-recent-rooms a:hover{border-color:rgba(16,25,20,.22);background:rgba(255,255,255,.74);transform:translateY(-1px)}.admin-recent-rooms span,.admin-recent-rooms strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-recent-rooms strong{font-size:15px}.admin-recent-rooms span{grid-column:1;color:var(--ink-soft);font-size:12px;font-weight:850}.admin-recent-rooms small{grid-row:1/span 2;grid-column:2;align-self:center;color:rgba(16,25,20,.52);font-size:12px;font-weight:900;white-space:nowrap}.admin-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.admin-guide-grid div{min-height:132px;display:grid;align-content:start;grid-gap:8px;gap:8px;padding:14px;border:1px solid rgba(16,25,20,.08);border-radius:18px;background:rgba(255,255,255,.44)}.admin-guide-grid strong{color:var(--ink);font-size:16px}.admin-guide-grid span{color:var(--ink-soft);font-size:13px;line-height:1.6;font-weight:750}.session-row{display:grid;grid-template-columns:1fr auto;grid-gap:18px;gap:18px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.32)}.status{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(216,144,59,.14);color:#7a3b14;font-weight:700}.status.ready{background:rgba(47,143,78,.14);color:#1f6e3c}.status.warn{background:rgba(184,91,39,.14);color:#8a2f17}.control-strip{display:grid;grid-gap:12px;gap:12px}.action-nav,.runtime-banner{align-items:center}.runtime-banner{display:flex;flex-wrap:wrap;gap:10px 14px;padding:13px 15px;border:1px solid rgba(47,143,78,.22);border-radius:18px;background:rgba(47,143,78,.1);color:#1f6e3c}.runtime-banner.error{border-color:rgba(184,91,39,.24);background:rgba(184,91,39,.12);color:#8a2f17}.runtime-banner.warning{border-color:rgba(216,144,59,.34);background:rgba(216,144,59,.1);color:#8a4a17}.runtime-banner em{width:100%;color:inherit;font-style:normal;font-weight:800}.production-runtime-center{overflow:hidden;border:1px solid rgba(16,25,20,.09);background:linear-gradient(135deg,rgba(255,252,245,.96),rgba(247,241,231,.9)),#fffaf1}.runtime-head{align-items:start;gap:18px}.runtime-head .section-title{margin-top:4px}.runtime-head-actions{align-items:center;min-width:min(520px,100%)}.runtime-filter-bar,.runtime-head-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.runtime-generated-at{color:#627166;font-weight:800;white-space:nowrap}.runtime-generated-at,.runtime-health-pill{display:inline-flex;align-items:center;min-height:34px;font-size:12px}.runtime-health-pill{border-radius:999px;padding:0 12px;font-weight:900}.runtime-health-pill.ok{border:1px solid rgba(47,143,78,.18);background:#edf8f1;color:#17633a}.runtime-health-pill.failed{border:1px solid rgba(185,61,49,.18);background:#fff0ec;color:#9b2f20}.filter-chip{border:1px solid rgba(19,48,35,.14);background:rgba(255,255,255,.72);color:#20362a;border-radius:999px;padding:7px 12px;font:inherit;font-weight:850;cursor:pointer;transition:transform .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.filter-chip:hover{border-color:rgba(20,56,39,.3);background:#ffffff;transform:translateY(-1px)}.filter-chip.active{background:#143827;color:#ffffff;border-color:#143827;box-shadow:0 10px 24px rgba(20,56,39,.18)}.runtime-summary-strip{display:grid;grid-template-columns:repeat(8,minmax(108px,1fr));grid-gap:10px;gap:10px;margin:16px 0 12px}.runtime-summary-strip strong{display:grid;grid-gap:2px;gap:2px;min-height:74px;align-content:center;border:1px solid rgba(20,56,39,.1);background:rgba(255,255,255,.56);border-radius:14px;padding:12px 14px;color:#11261b;font-size:22px;box-shadow:0 14px 34px rgba(16,25,20,.06)}.runtime-summary-strip span{color:#66746b;font-size:12px;font-weight:600}.runtime-risk-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px;margin:0 0 12px}.runtime-risk-card{display:grid;grid-gap:5px;gap:5px;min-height:92px;align-content:start;border:1px solid rgba(20,56,39,.1);border-radius:14px;padding:12px;background:rgba(255,255,255,.55)}.runtime-risk-card span{width:-moz-fit-content;width:fit-content;border-radius:999px;padding:3px 8px;background:rgba(20,56,39,.08);color:#244132;font-size:11px;font-weight:900}.runtime-risk-card strong{overflow:hidden;color:#12271c;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.runtime-risk-card small{display:-webkit-box;overflow:hidden;color:#66746b;font-size:12px;font-weight:750;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}.runtime-risk-card.ok{border-color:rgba(47,143,78,.14);background:rgba(237,248,241,.72)}.runtime-risk-card.warning{border-color:rgba(201,138,54,.22);background:rgba(255,246,224,.72)}.runtime-risk-card.failed{border-color:rgba(185,61,49,.22);background:rgba(255,240,236,.72)}.runtime-center-controls{display:grid;grid-template-columns:minmax(300px,1fr) auto;grid-gap:12px;gap:12px;align-items:center;margin:0 0 12px;padding:10px;border:1px solid rgba(19,48,35,.1);border-radius:16px;background:rgba(255,255,255,.5)}.runtime-center-controls label{display:grid;grid-gap:6px;gap:6px;color:#4d5d53;font-size:13px;font-weight:800}.runtime-center-controls input{min-height:40px;border:1px solid rgba(19,48,35,.14);border-radius:999px;padding:0 12px;color:#20362a;background:#ffffff;font:inherit}.runtime-center-controls .filter-chip,.runtime-center-controls .ghost-button{min-height:38px;white-space:nowrap}.runtime-inline-error{border:1px solid rgba(185,61,49,.22);background:#fff5f2;color:#8f2f23;border-radius:14px}.runtime-inline-error,.runtime-inline-note{padding:10px 12px;margin-bottom:12px;font-weight:800}.runtime-inline-note{border:1px solid rgba(47,143,78,.2);background:#f0fbf4;color:#17633a;border-radius:14px}.runtime-bulk-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end;margin:0 0 12px;padding:10px;border:1px solid rgba(19,48,35,.1);border-radius:16px;background:rgba(246,250,247,.74)}.runtime-bulk-selection{display:inline-flex;flex-wrap:wrap;gap:8px;align-items:center;margin-right:auto;color:#4d5d53}.runtime-bulk-selection strong{color:#143827;font-size:18px}.runtime-bulk-selection small{color:#6b786f;font-size:12px;font-weight:800}.runtime-bulk-selection button,.runtime-bulk-toolbar select{min-height:34px;border:1px solid rgba(19,48,35,.14);border-radius:999px;background:#ffffff;color:#20362a}.runtime-bulk-selection button{padding:0 10px;cursor:pointer}.runtime-bulk-toolbar label{display:inline-flex;gap:8px;align-items:center;color:#4d5d53;font-size:13px;font-weight:700}.runtime-bulk-toolbar select{padding:0 28px 0 10px}.runtime-bulk-toolbar .button,.runtime-bulk-toolbar .ghost-button{min-height:34px;border-radius:999px;padding-inline:14px}.runtime-table-wrap{overflow-x:auto;border:1px solid rgba(19,48,35,.1);border-radius:16px;box-shadow:0 18px 48px rgba(16,25,20,.07)}.runtime-matrix-table{width:100%;min-width:1160px;border-collapse:collapse;table-layout:fixed;background:#ffffff}.runtime-matrix-table td,.runtime-matrix-table th{border-bottom:1px solid rgba(19,48,35,.08);padding:11px 12px;text-align:left;vertical-align:top}.runtime-matrix-table th{position:-webkit-sticky;position:sticky;top:0;z-index:1;background:#f5f7f2;color:#4d5d53;font-size:12px;font-weight:900}.runtime-matrix-table .runtime-select-cell{width:42px;text-align:center;vertical-align:middle}.runtime-select-cell input{width:16px;height:16px;accent-color:#143827;cursor:pointer}.runtime-matrix-table td{color:#183428;font-size:13px}.runtime-matrix-table td em,.runtime-matrix-table td small,.runtime-matrix-table td span,.runtime-matrix-table td strong{display:block}.runtime-matrix-table td small,.runtime-matrix-table td span{color:#6b786f;margin-top:3px}.runtime-matrix-table td em{color:#9a3b2e;font-style:normal;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.runtime-risk{width:-moz-fit-content;width:fit-content;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700}.runtime-risk.ok{background:#e9f7ee;color:#17633a}.runtime-risk.warning{background:#fff5d9;color:#7c520d}.runtime-risk.failed{background:#ffe5df;color:#9b2f20}.runtime-row-actions{display:flex;flex-wrap:wrap;gap:6px}.runtime-row-actions a,.runtime-row-actions button{color:#12422d;background:#eef6f1;border-radius:999px;border:1px solid rgba(18,66,45,.08);padding:6px 9px;text-decoration:none;font-weight:700;font-size:.82rem;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background-color .16s ease,color .16s ease,opacity .16s ease,transform .16s ease}.runtime-row-actions a:hover,.runtime-row-actions button:hover{background:#dff0e7;color:#0f3324;transform:translateY(-1px)}.runtime-row-actions button:disabled{cursor:not-allowed;opacity:.46;transform:none}.runtime-row-actions button.danger{color:#9b2f20;background:#ffe5df}.runtime-row-actions .runtime-resource-clear{background:#fff3e8;color:#9a4519}.runtime-row-actions .runtime-resource-clear:hover:not(:disabled){background:#f6dfc9;color:#7f3210}.runtime-pagination{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px;color:#4d5d53;font-size:13px;font-weight:800}.runtime-pagination div{display:inline-flex;gap:8px;align-items:center}.runtime-pagination button{min-height:34px;border:1px solid rgba(19,48,35,.14);border-radius:7px;padding:0 12px;color:#20362a;background:#ffffff;font:inherit;font-weight:800;cursor:pointer}.runtime-pagination button:disabled{cursor:not-allowed;opacity:.5}.runtime-matrix-table .runtime-room-owner{margin-top:5px;color:#4d5d53;line-height:1.35}.runtime-room-owner b{color:#126247;font-weight:900}.runtime-action-dialog-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:24px;background:rgba(9,14,10,.42);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.runtime-action-dialog{width:min(520px,calc(100vw - 32px));overflow:hidden;border:1px solid rgba(16,25,20,.12);border-radius:22px;background:linear-gradient(135deg,rgba(255,252,245,.98),rgba(246,240,229,.98)),#fffaf1;box-shadow:0 34px 110px rgba(9,14,10,.32)}.runtime-action-dialog footer,.runtime-action-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px}.runtime-action-dialog header{border-bottom:1px solid rgba(16,25,20,.09)}.runtime-action-dialog header span{border-radius:999px;padding:5px 10px;background:rgba(20,56,39,.08);color:#244132;font-size:12px;font-weight:900}.runtime-action-dialog.warning header span{background:rgba(201,138,54,.14);color:#8a4617}.runtime-action-dialog.danger header span{background:rgba(185,61,49,.13);color:#9b2f20}.runtime-action-dialog footer button,.runtime-action-dialog header button{min-height:38px;border:1px solid rgba(16,25,20,.12);border-radius:999px;padding:0 15px;background:#ffffff;color:#20362a;font:inherit;font-weight:900;cursor:pointer;transition:transform .16s ease,background-color .16s ease,opacity .16s ease}.runtime-action-dialog footer button:hover,.runtime-action-dialog header button:hover{transform:translateY(-1px)}.runtime-action-dialog-body{display:grid;grid-gap:12px;gap:12px;padding:18px 18px 8px}.runtime-action-dialog-body h3{margin:0;color:#101914;font-size:24px;line-height:1.2}.runtime-action-dialog-body p,.runtime-action-dialog-body small{margin:0;color:#516258;font-weight:780;line-height:1.65}.runtime-action-dialog-body small{border:1px solid rgba(16,25,20,.08);border-radius:14px;padding:10px 12px;background:rgba(255,255,255,.56);font-size:12px}.runtime-action-dialog-body label{display:grid;grid-gap:7px;gap:7px;color:#4d5d53;font-size:12px;font-weight:900}.runtime-action-dialog-body input{min-height:42px;border:1px solid rgba(16,25,20,.14);border-radius:14px;padding:0 12px;background:#ffffff;color:#101914;font:inherit}.runtime-action-dialog-body input:focus{border-color:rgba(127,212,196,.72);box-shadow:var(--focus);outline:none}.runtime-action-dialog footer{justify-content:flex-end;border-top:1px solid rgba(16,25,20,.08);background:rgba(255,255,255,.35)}.runtime-action-dialog footer button.primary{border-color:#143827;background:#143827;color:#ffffff}.runtime-action-dialog footer button.danger{border-color:#a85126;background:#a85126;color:#ffffff}.runtime-action-dialog button:disabled{cursor:not-allowed;opacity:.48;transform:none}@media (max-width:1180px){.runtime-summary-strip{grid-template-columns:repeat(4,minmax(120px,1fr))}.runtime-risk-board{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.runtime-center-controls,.runtime-head{grid-template-columns:1fr}.runtime-filter-bar,.runtime-head-actions{justify-content:flex-start}.runtime-risk-board,.runtime-summary-strip{grid-template-columns:1fr}.runtime-action-dialog-backdrop{padding:12px}.runtime-action-dialog footer{align-items:stretch;flex-direction:column-reverse}}.compact-runtime{margin-top:14px}.operator-feedback{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin-top:12px;padding:15px 18px;border:1px solid rgba(216,144,59,.28);border-radius:18px;background:rgba(216,144,59,.12);color:#7a3b14;font-weight:800}.operator-feedback.live{border-color:rgba(47,143,78,.26);background:rgba(47,143,78,.12);color:#1f6e3c}.operator-feedback.paused{border-color:rgba(216,144,59,.24);background:rgba(216,144,59,.1);color:#8a4617}.operator-feedback.error{border-color:rgba(174,67,49,.26);background:rgba(174,67,49,.1);color:#8b3025}.operator-feedback.ended,.operator-feedback.idle{border-color:rgba(16,36,26,.1);background:rgba(255,244,226,.64);color:#7c5639}.operator-feedback span{font-weight:700}.subtitle-stage{position:relative;overflow:hidden;display:grid;align-items:end;min-height:100vh;padding:6vh 5vw;color:var(--cream);background:radial-gradient(circle at 22% 0,rgba(216,144,59,.3),transparent 32rem),linear-gradient(135deg,#17231b,#243626 58%,#111913)}.subtitle-stage.transparent-screen{padding:3vh 3vw;background:transparent}.subtitle-stage.transparent-screen .subtitle-box{width:min(1280px,var(--viewer-box-width,92vw));border-color:transparent;background:transparent;box-shadow:none}.subtitle-box{width:min(1200px,var(--viewer-box-width,86vw));margin:0 auto;padding:clamp(28px,5vw,64px);border:1px solid rgba(255,247,232,.18);border-radius:36px;background:rgba(18,28,21,.82);box-shadow:0 30px 90px rgba(0,0,0,.32)}.source-text{margin:0 0 22px;font-size:var(--viewer-source-size,clamp(42px,6vw,92px));line-height:1.12;font-weight:900}.source-text,.translation-text{display:-webkit-box;-webkit-line-clamp:var(--viewer-line-clamp,3);-webkit-box-orient:vertical;overflow:hidden}.translation-text{margin:0;color:var(--screen-partial-color,#ffc45f);font-size:var(--viewer-trans-size,clamp(28px,4vw,58px));line-height:1.24}.subtitle-stage .source-text{color:var(--screen-final-color,var(--cream))}.subtitle-roll{display:flex;flex-direction:column;justify-content:flex-end;gap:clamp(12px,2vw,22px)}.subtitle-dual-roll,.subtitle-roll{width:100%;max-height:min(72vh,calc(var(--visible-caption-lines, 3) * 10.5rem));overflow:hidden}.subtitle-dual-roll{display:grid;align-content:end;grid-gap:clamp(10px,1.8vw,20px);gap:clamp(10px,1.8vw,20px);height:100%;scroll-behavior:smooth;transition:max-height .42s cubic-bezier(.2,.8,.2,1)}.subtitle-stage .subtitle-dual-roll{height:min(74vh,calc(var(--visible-caption-lines, 3) * 10rem));max-height:min(74vh,calc(var(--visible-caption-lines, 3) * 10rem))}.subtitle-dual-roll.single-pane{align-content:stretch}.subtitle-pane{display:flex;flex-direction:column;justify-content:flex-end;min-height:0;overflow:hidden}.subtitle-pane-scroll{display:grid;align-content:stretch;min-height:0;max-height:inherit;height:100%;overflow-x:hidden;overflow-y:auto;scroll-behavior:auto;scrollbar-width:none}.subtitle-stage .subtitle-pane-scroll{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 7%,#000 93%,transparent);mask-image:linear-gradient(180deg,transparent 0,#000 7%,#000 93%,transparent)}.subtitle-pane-scroll::-webkit-scrollbar{display:none}.subtitle-pane p{margin:0;overflow-wrap:anywhere;text-wrap:pretty}.subtitle-pane-stack{display:grid;align-content:end;grid-gap:.42em;gap:.42em;min-height:0;width:100%;transform:translateZ(0);transition:transform .58s cubic-bezier(.16,1,.3,1)}.subtitle-dual-roll.single-pane .subtitle-pane{height:100%;max-height:none}.subtitle-dual-roll.single-pane .subtitle-pane-stack{min-height:100%}.caption-fragment{animation:captionRise .48s cubic-bezier(.16,1,.3,1) both;will-change:transform,opacity}.caption-fragment.partial{opacity:.86}.caption-fragment.missing{opacity:.58;font-style:normal}.caption-flow{white-space:pre-wrap;text-shadow:0 .08em .28em rgba(0,0,0,.28)}.caption-flow,.caption-segment{transition:color .32s ease,opacity .32s ease}.caption-segment.partial{opacity:.82}.subtitle-pane-source .caption-segment.final{color:var(--screen-final-color,var(--cream))}.subtitle-pane-source .caption-segment.partial{color:var(--screen-partial-color,#bfe6dd)}.subtitle-pane-translation .caption-segment.final{color:var(--screen-partial-color,#ffc45f)}.subtitle-pane-translation .caption-segment.partial{color:color-mix(in srgb,var(--screen-partial-color,#ffc45f) 78%,var(--screen-final-color,var(--cream)));opacity:.78}.subtitle-pane-source{color:var(--screen-final-color,var(--cream));font-size:var(--viewer-source-size,clamp(42px,6vw,92px));font-weight:900;line-height:var(--viewer-source-line-height,1.16);letter-spacing:0}.subtitle-pane-source,.subtitle-stage .subtitle-pane-source{max-height:calc(var(--source-line-count, 1) * var(--viewer-source-line-height, 1.16) * 1em)}.subtitle-pane-translation{color:var(--screen-partial-color,#ffc45f);font-size:var(--viewer-trans-size,clamp(28px,4vw,58px));font-weight:700;line-height:var(--viewer-trans-line-height,1.34)}.subtitle-pane-translation,.subtitle-stage .subtitle-pane-translation{max-height:calc(var(--translation-line-count, 2) * var(--viewer-trans-line-height, 1.34) * 1em)}.subtitle-stage .subtitle-pane-translation{font-weight:560;letter-spacing:0}.subtitle-pane-translation.missing{color:rgba(255,247,232,.52);font-style:normal}.subtitle-line{display:grid;grid-gap:10px;gap:10px;animation:captionRise .42s cubic-bezier(.2,.8,.2,1) both}.subtitle-line.partial{opacity:.86}.subtitle-line-source,.subtitle-line-translation{margin:0;overflow-wrap:anywhere;text-wrap:pretty;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.subtitle-line-source{color:var(--screen-final-color,var(--cream));font-size:var(--viewer-source-size,clamp(42px,6vw,92px));font-weight:900;line-height:1.1;letter-spacing:0;-webkit-line-clamp:var(--source-line-count,1)}.subtitle-line-translation{color:var(--screen-partial-color,#ffc45f);font-size:var(--viewer-trans-size,clamp(28px,4vw,58px));font-weight:700;line-height:1.22;-webkit-line-clamp:var(--translation-line-count,2)}.subtitle-line-translation.missing{color:rgba(255,247,232,.52);font-style:normal}.subtitle-line.partial .subtitle-line-source{color:var(--screen-partial-color,#bfe6dd)}.timeline-item.partial{border-style:dashed;background:rgba(255,247,232,.42)}.screen-context-menu{position:fixed;z-index:20;display:grid;grid-gap:8px;gap:8px;width:280px;padding:16px;border:1px solid rgba(255,247,232,.18);border-radius:18px;color:var(--cream);background:rgba(10,15,12,.92);box-shadow:0 22px 70px rgba(0,0,0,.38);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.screen-context-menu label{color:rgba(255,247,232,.7);font-size:13px}.screen-context-menu input,.screen-context-menu select{min-height:34px}.screen-canvas{position:relative;min-height:100vh;overflow:hidden;color:#fff7e8;background:transparent;background-position:50%;background-size:cover;-webkit-user-select:none;-moz-user-select:none;user-select:none}body:has(.screen-canvas[data-desktop-projection=true]),html:has(.screen-canvas[data-desktop-projection=true]){background:transparent!important}.screen-stage-background{position:absolute;inset:0;z-index:0;pointer-events:none;background-position:50%;background-size:cover;will-change:opacity}.screen-canvas.transparent-screen{background:transparent}.screen-canvas.preview-mode:after{inset:18px;border:1px dashed rgba(255,247,232,.16);border-radius:30px}.screen-canvas.preview-mode:after,.screen-canvas:before{position:absolute;z-index:1;pointer-events:none;content:""}.screen-canvas:before{inset:0;background:linear-gradient(90deg,rgba(255,247,232,.035) 1px,transparent 0),linear-gradient(0deg,rgba(255,247,232,.025) 1px,transparent 0);background-size:88px 88px;opacity:.34}.screen-canvas[data-has-background-image=true]:before,.transparent-screen:before{display:none}.screen-access-state{position:relative;z-index:2;display:grid;min-height:100vh;place-content:center;grid-gap:20px;gap:20px;padding:8vw;text-align:center;background:radial-gradient(circle at 50% 38%,rgba(191,230,221,.18),transparent 34%),linear-gradient(180deg,rgba(8,19,14,.2),rgba(8,19,14,.78))}.screen-access-state span{color:rgba(255,247,232,.72);font-size:clamp(16px,1.4vw,24px);letter-spacing:.42em;text-transform:uppercase}.screen-access-state h1{margin:0;color:#fff7e8;font-size:clamp(54px,8vw,138px);line-height:1.02;text-shadow:0 24px 80px rgba(0,0,0,.32)}.screen-access-state p{margin:0;color:#bfe6dd;font-size:clamp(22px,2vw,38px)}.screen-caption-box{position:absolute;z-index:2;display:grid;overflow:hidden;border:1px solid transparent;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;transform:translateZ(0);transition:width .18s ease,height .18s ease,padding .18s ease,border-radius .18s ease,border-color .16s ease,background .18s ease,box-shadow .18s ease}.screen-canvas.adjusting .screen-caption-box,.screen-canvas:has(.screen-style-dock) .screen-caption-box:focus-within,.screen-canvas:has(.screen-style-dock) .screen-caption-box:hover,.screen-canvas[data-output-only=false] .screen-caption-box:focus-within,.screen-canvas[data-output-only=false] .screen-caption-box:hover{border-color:rgba(127,212,196,.82);outline:1px dashed rgba(255,247,232,.46);outline-offset:5px;box-shadow:0 0 0 1px rgba(6,17,12,.72),0 0 26px rgba(127,212,196,.22),inset 0 0 0 1px rgba(255,247,232,.08)}.transparent-screen .screen-caption-box{border-color:transparent;background:transparent!important;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.transparent-screen[data-output-only=false] .screen-caption-box:focus-within,.transparent-screen[data-output-only=false] .screen-caption-box:hover,.transparent-screen[data-output-only=false].screen-canvas.adjusting .screen-caption-box{border-color:rgba(127,212,196,.82);outline:1px dashed rgba(255,247,232,.46);outline-offset:5px;box-shadow:0 0 0 1px rgba(6,17,12,.72),0 0 26px rgba(127,212,196,.22),inset 0 0 0 1px rgba(255,247,232,.08)}.screen-caption-box.source,.screen-caption-box.translation{letter-spacing:inherit}.screen-caption-scroll{position:relative;min-height:0;height:100%;max-height:100%;overflow-x:hidden;overflow-y:hidden;contain:paint;scroll-behavior:auto;scrollbar-width:none;overflow-anchor:none;transform:translateZ(0);will-change:transform}.screen-caption-scroll::-webkit-scrollbar{display:none}.screen-caption-lines{white-space:normal;overflow-wrap:break-word;word-break:normal;text-wrap:wrap;text-shadow:0 .08em .32em rgba(0,0,0,.36);animation:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow-anchor:none;transform:translateZ(0);will-change:transform}.screen-caption-lines,.screen-caption-row{display:block;margin:0}.screen-caption-row+.screen-caption-row{margin-top:0}.screen-caption-scroll p{display:block;margin:0;white-space:normal;overflow-wrap:break-word;word-break:normal;text-wrap:wrap;text-shadow:0 .08em .32em rgba(0,0,0,.36);animation:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow-anchor:none}.screen-caption-scroll>p{transform:translateZ(0);will-change:transform}.screen-canvas[data-text-shadow=false] .screen-caption-lines,.screen-canvas[data-text-shadow=false] .screen-caption-scroll p{text-shadow:none}.screen-caption-line{display:inline;margin:0;animation:none;-webkit-backface-visibility:hidden;backface-visibility:hidden}.screen-caption-line.final{opacity:1}.screen-caption-line.partial{opacity:.94}.screen-caption-drag-handle,.screen-caption-resize-handle{position:absolute;z-index:4;border:0;opacity:0;cursor:move}.screen-caption-drag-handle{inset:0;background:transparent}.screen-caption-resize-handle{right:8px;bottom:8px;width:24px;height:24px;border-right:2px solid rgba(255,247,232,.48);border-bottom:2px solid rgba(255,247,232,.48);border-radius:0 0 8px 0;background:transparent;cursor:ew-resize;opacity:0}.screen-canvas.adjusting .screen-caption-resize-handle,.screen-canvas[data-output-only=false] .screen-caption-box:focus-within .screen-caption-resize-handle,.screen-canvas[data-output-only=false] .screen-caption-box:hover .screen-caption-resize-handle{opacity:.8}.screen-canvas[data-output-only=true] .screen-caption-box,.screen-canvas[data-output-only=true] .screen-caption-box:focus-within,.screen-canvas[data-output-only=true] .screen-caption-box:hover{border-color:transparent;outline:none;box-shadow:none;contain:layout paint style;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.screen-canvas[data-desktop-projection=true] .screen-caption-box{transition:none}.screen-canvas[data-desktop-projection=true] .screen-caption-scroll{transform:none;will-change:auto}.screen-canvas[data-output-only=true] .screen-caption-drag-handle,.screen-canvas[data-output-only=true] .screen-caption-resize-handle,.screen-canvas[data-output-only=true] .screen-style-open-button{display:none}.screen-output-login{display:grid;place-items:center;min-height:100vh;padding:32px}.screen-output-login-card{width:min(520px,calc(100vw - 40px));border:1px solid rgba(255,247,232,.16);border-radius:28px;background:rgba(8,18,13,.9);box-shadow:0 24px 80px rgba(0,0,0,.3);color:#fff7e8;display:grid;grid-gap:14px;gap:14px;padding:28px}.screen-output-login-card--quiet{width:auto;min-width:260px;border-color:transparent;background:rgba(8,18,13,.12);box-shadow:none;opacity:.62;padding:18px 22px}.screen-output-login-card--quiet h1{font-size:18px}.screen-output-login-card span{color:#bfe6dd;font-size:12px;letter-spacing:.22em;text-transform:uppercase}.screen-output-login-card h1{font-size:clamp(28px,5vw,46px);margin:0}.screen-output-login-card p,.screen-output-login-card small{color:rgba(255,247,232,.72);line-height:1.7;margin:0}.screen-output-login-card input{border:1px solid rgba(255,247,232,.18);border-radius:16px;background:rgba(255,247,232,.1);color:#fff7e8;font-size:18px;padding:14px 16px}.screen-output-login-card button{border:0;border-radius:999px;background:linear-gradient(135deg,#b85b27,#d8903b);color:#fff7e8;cursor:pointer;font-weight:800;padding:14px 18px}.screen-output-login-card button:disabled{cursor:wait;opacity:.65}.screen-style-open-button{position:fixed;right:24px;bottom:24px;z-index:8;min-height:44px;padding:0 18px;border:1px solid rgba(255,247,232,.16);border-radius:999px;color:#fff7e8;background:rgba(8,18,13,.72);box-shadow:0 18px 50px rgba(0,0,0,.28);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease}.screen-style-open-button:hover{border-color:rgba(127,212,196,.42);background:rgba(13,33,23,.86);box-shadow:0 22px 58px rgba(0,0,0,.34),0 0 24px rgba(127,212,196,.16);transform:translateY(-2px)}.screen-preview-pill{position:fixed;top:22px;left:50%;z-index:10;display:flex;gap:12px;align-items:center;max-width:min(780px,calc(100vw - 44px));padding:12px 18px;border:1px solid rgba(255,247,232,.16);border-radius:999px;color:rgba(255,247,232,.82);background:linear-gradient(135deg,rgba(8,18,13,.78),rgba(19,39,27,.74)),radial-gradient(circle at top right,rgba(216,144,59,.22),transparent 14rem);box-shadow:0 18px 60px rgba(0,0,0,.28);-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);transform:translateX(-50%)}.screen-preview-pill strong{color:#fff7e8;white-space:nowrap}.screen-preview-pill span{font-size:14px}.transparent-screen .screen-style-open-button{opacity:.18}.screen-debug-pill{position:fixed;top:18px;left:18px;z-index:9;padding:9px 14px;border:1px solid rgba(255,247,232,.16);border-radius:999px;color:rgba(255,247,232,.82);background:rgba(8,18,13,.68);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.screen-style-dock{position:fixed;top:18px;right:18px;bottom:92px;z-index:30;display:grid;align-content:start;grid-gap:14px;gap:14px;width:min(860px,calc(100vw - 36px));padding:20px;overflow:auto;border:1px solid rgba(191,230,221,.16);border-radius:30px;color:#fff7e8;background:radial-gradient(circle at 92% 4%,rgba(127,212,196,.22),transparent 18rem),radial-gradient(circle at 0 18%,rgba(184,91,39,.16),transparent 20rem),linear-gradient(150deg,rgba(11,23,17,.98),rgba(5,12,9,.96));box-shadow:0 30px 120px rgba(0,0,0,.52);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.screen-style-dock-header{display:flex;justify-content:space-between;gap:12px;align-items:center}.screen-style-dock-header div{display:grid;grid-gap:4px;gap:4px}.screen-style-dock-header span{color:rgba(191,230,221,.66);font-size:11px;font-weight:900;letter-spacing:.32em}.screen-style-dock-header strong{color:#fff7e8;font-size:24px}.screen-style-bottom-toolbar button,.screen-style-dock-header button,.screen-style-toggle-row button{min-height:38px;padding:0 12px;border:1px solid rgba(255,247,232,.14);border-radius:999px;color:#fff7e8;background:rgba(255,247,232,.08);cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}.screen-custom-font-list button:hover,.screen-file-button:hover,.screen-language-pill-grid button:hover,.screen-preset-grid button:hover,.screen-style-bottom-toolbar button:hover,.screen-style-dock-header button:hover,.screen-style-inline-row button:hover,.screen-style-mini-actions button:hover,.screen-style-tabs button:hover,.screen-style-toggle-row button:hover,.screen-unified-style-grid button:hover,.screen-upload-row button:hover{border-color:rgba(127,212,196,.42);background:rgba(127,212,196,.16);box-shadow:0 10px 28px rgba(0,0,0,.2);transform:translateY(-1px)}.screen-style-bottom-toolbar button.primary{border-color:rgba(47,143,78,.3);color:var(--cream);background:linear-gradient(135deg,#123323,#2f8f4e)}.screen-style-bottom-toolbar button.copy-output{border-color:rgba(127,212,196,.28);color:#fff7e8;background:linear-gradient(135deg,rgba(18,51,35,.98),rgba(47,143,78,.86))}.screen-style-bottom-toolbar button:disabled{cursor:wait;opacity:.68;transform:none}.screen-style-status{margin:0;padding:10px 12px;border:1px solid rgba(255,247,232,.12);border-radius:16px;color:rgba(255,247,232,.74);background:rgba(255,247,232,.08);font-size:13px;line-height:1.45}.screen-style-status.saved{border-color:rgba(47,143,78,.26);color:#bfe6dd}.screen-style-status.error{border-color:rgba(184,91,39,.24);color:#ffbf9a}.screen-style-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.screen-style-summary span{display:grid;grid-gap:3px;gap:3px;min-width:0;padding:10px 12px;border:1px solid rgba(255,247,232,.12);border-radius:16px;background:rgba(255,247,232,.07)}.screen-style-summary strong{overflow:hidden;color:#fff7e8;font-size:14px;font-weight:900;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.screen-style-summary em{color:rgba(255,247,232,.5);font-size:11px;font-style:normal;font-weight:800}.screen-style-summary span.saved strong{color:#bfe6dd}.screen-style-summary span.error strong{color:#ffbf9a}.screen-style-quick-actions{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-gap:7px;gap:7px;padding:8px;border:1px solid rgba(255,247,232,.12);border-radius:18px;background:rgba(255,247,232,.055)}.screen-style-quick-actions button{min-height:36px;padding:0 10px;border:1px solid rgba(255,247,232,.12);border-radius:13px;color:#fff7e8;background:rgba(255,247,232,.08);font-weight:900;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}.screen-style-quick-actions button.copy,.screen-style-quick-actions button.primary{border-color:rgba(127,212,196,.36)}.screen-style-quick-actions button.warning{border-color:rgba(216,144,59,.42);color:#fffaf0;background:rgba(184,91,39,.82)}.screen-style-quick-actions button:disabled{cursor:wait;opacity:.68;transform:none}.screen-style-scope-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.screen-style-scope-grid section{display:grid;grid-template-rows:1fr auto;grid-gap:10px;gap:10px;min-width:0;padding:12px;border:1px solid rgba(255,247,232,.12);border-radius:18px;background:rgba(255,247,232,.06)}.screen-style-scope-grid section.active{border-color:rgba(127,212,196,.42);background:rgba(127,212,196,.12)}.screen-style-scope-grid section.source{border-left-color:rgba(216,239,232,.34)}.screen-style-scope-grid section.translation{border-left-color:rgba(216,144,59,.5)}.screen-style-scope-grid strong{color:#fff7e8;font-size:14px;font-weight:900;line-height:1.2}.screen-style-scope-grid span,.screen-style-scope-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screen-style-scope-grid span{margin-top:4px;color:rgba(255,247,232,.54);font-size:11px;font-weight:800}.screen-style-scope-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.screen-style-scope-actions button,.screen-style-scope-grid section>button{min-height:32px;border:1px solid rgba(255,247,232,.12);border-radius:11px;color:#fff7e8;background:rgba(255,247,232,.08);font-weight:900;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}.screen-style-scope-grid section.active .screen-style-scope-actions button:first-child,.screen-style-scope-grid section.active>button{border-color:rgba(127,212,196,.36)}.screen-style-scope-grid button:disabled{cursor:not-allowed;opacity:.45;transform:none}.screen-style-toast{position:fixed;left:50%;bottom:82px;z-index:90;max-width:min(620px,calc(100vw - 32px));padding:12px 18px;border:1px solid rgba(216,239,232,.3);border-radius:999px;color:#f7fff9;background:rgba(10,28,19,.92);box-shadow:0 16px 44px rgba(0,0,0,.28);-webkit-backdrop-filter:blur(16px) saturate(1.08);backdrop-filter:blur(16px) saturate(1.08);font-size:14px;font-weight:800;line-height:1.4;text-align:center;transform:translateX(-50%);pointer-events:none}.screen-style-toast.saved{border-color:rgba(127,212,196,.36)}.screen-style-toast.error{border-color:rgba(184,91,39,.36);color:#ffcfb5}.screen-style-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:6px;gap:6px;padding:6px;border:1px solid rgba(255,247,232,.12);border-radius:18px;background:rgba(255,247,232,.06)}.screen-style-tabs button{min-height:38px;border:0;border-radius:13px;color:rgba(255,247,232,.76);background:transparent;font-weight:900;cursor:pointer;transition:background .16s ease,color .16s ease,transform .16s ease}.screen-style-tabs button.active{background:linear-gradient(135deg,#bfe6dd,#7fd4c4);box-shadow:0 12px 32px rgba(127,212,196,.18)}.screen-style-panel{display:grid;grid-gap:12px;gap:12px}.screen-style-dock label,.screen-style-fieldset label{color:rgba(255,247,232,.72);font-size:13px;font-weight:800}.screen-style-dock input,.screen-style-dock select{min-height:38px;border:1px solid rgba(191,230,221,.2);border-radius:13px;color:#fff7e8;background:rgba(255,247,232,.08);padding:0 10px}.screen-style-dock select,.screen-style-dock select option{color:#fff7e8;background:#0b1711}.screen-style-dock input[type=range]{accent-color:var(--ember);min-height:26px;background:transparent}.screen-style-dock input[type=color]{min-height:40px;padding:3px;cursor:pointer}.screen-style-fieldset{display:grid;grid-gap:10px;gap:10px;margin:4px 0 0;padding:14px;border:1px solid rgba(255,247,232,.12);border-radius:22px;background:linear-gradient(135deg,rgba(255,247,232,.09),rgba(127,212,196,.04))}.screen-style-fieldset legend{padding:0 8px;color:#bfe6dd;font-weight:800}.preset-fieldset{padding-top:10px}.screen-preset-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:8px;gap:8px}.screen-preset-grid button{display:grid;grid-gap:4px;gap:4px;min-height:66px;padding:8px 10px;border:1px solid rgba(255,247,232,.12);border-radius:16px;color:#fff7e8;text-align:left;background:rgba(255,247,232,.08);cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.screen-preset-grid button:hover{border-color:rgba(127,212,196,.34);background:rgba(127,212,196,.14)}.screen-preset-grid button strong{font-size:13px}.screen-preset-grid button span{color:rgba(255,247,232,.58);font-size:11px;line-height:1.35}.screen-unified-style-grid,.screen-upload-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.screen-upload-hint{display:block;margin-top:-2px;color:rgba(255,247,232,.54);font-size:11px;line-height:1.45}.screen-style-mini-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:7px;gap:7px}.screen-style-background-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.screen-custom-font-list button,.screen-file-button,.screen-style-mini-actions button{min-height:34px;border:1px solid rgba(255,247,232,.12);border-radius:14px;color:#fff7e8;background:rgba(255,247,232,.08);cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.screen-custom-font-list button:hover,.screen-file-button:hover,.screen-style-mini-actions button:hover{border-color:rgba(127,212,196,.42);background:rgba(127,212,196,.15);transform:translateY(-1px)}.screen-style-mini-actions button.active{border-color:rgba(216,239,232,.46);color:#07110c;background:#d8efe8;box-shadow:0 10px 28px rgba(127,212,196,.16)}.screen-style-background-preview{display:grid;grid-template-columns:42px minmax(0,1fr);grid-gap:10px;gap:10px;align-items:center;min-height:46px;padding:8px 10px;border:1px solid rgba(255,247,232,.12);border-radius:14px;background:rgba(255,247,232,.06)}.screen-style-background-preview>span{display:block;width:42px;height:28px;border:1px solid rgba(255,247,232,.22);border-radius:10px;background-image:linear-gradient(45deg,rgba(255,255,255,.18) 25%,transparent 0),linear-gradient(-45deg,rgba(255,255,255,.18) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.18) 0),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.18) 0);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px}.screen-style-background-preview div{display:grid;grid-gap:2px;gap:2px;min-width:0}.screen-style-background-preview strong{color:#fff7e8;font-size:13px}.screen-style-background-preview small{overflow:hidden;color:rgba(255,247,232,.58);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.screen-file-button{display:grid;place-items:center;font-size:13px;font-weight:900}.screen-file-button input{position:absolute;width:1px;height:1px;min-height:0;opacity:0;pointer-events:none}.screen-custom-font-list{display:flex;flex-wrap:wrap;gap:8px}.screen-custom-font-list button{padding:0 12px;color:#bfe6dd}.screen-style-range-grid{display:grid;grid-template-columns:minmax(92px,.42fr) minmax(0,1fr);grid-gap:7px 10px;gap:7px 10px;align-items:center}.screen-style-range-grid label{display:flex;justify-content:space-between;gap:8px;white-space:nowrap}.screen-style-range-grid strong{color:#fff7e8;font-weight:800}.screen-style-inline-row{display:grid;grid-template-columns:minmax(92px,.42fr) minmax(0,1fr);grid-gap:10px;gap:10px;align-items:center}.screen-style-color-row input[type=color]{width:100%}.screen-style-inline-row button{min-height:34px;border:1px solid rgba(47,143,78,.22);border-radius:14px;color:#bfe6dd;background:rgba(127,212,196,.12)}.screen-unified-style-grid button,.screen-upload-row button{min-height:34px;border:1px solid rgba(255,247,232,.12);border-radius:14px;color:#fff7e8;background:rgba(255,247,232,.08)}.screen-upload-row input[type=file]{min-width:0;padding:7px}.screen-style-toggle-row{display:flex;gap:8px}.screen-style-toggle-row button{min-width:42px;font-weight:900}.screen-style-toggle-row button.active{border-color:rgba(47,143,78,.36);color:#07110c;background:#7fd4c4}.screen-style-toggle-row .italic{font-style:italic}.screen-style-toggle-row .underline{text-decoration:underline}.screen-style-hint{margin:0;color:rgba(255,247,232,.6);font-size:13px;line-height:1.5}.screen-font-preview{display:grid;grid-gap:4px;gap:4px;margin:-2px 0 2px;padding:10px 12px;overflow:hidden;border:1px solid rgba(255,247,232,.1);border-radius:14px;color:#ffffff;background:rgba(0,0,0,.22);font-size:20px;line-height:1.25}.screen-font-preview span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screen-font-preview small{color:rgba(191,230,221,.72);font-family:var(--font-ui);font-size:12px}.screen-font-preview.warning{border-color:rgba(216,144,59,.36);background:rgba(216,144,59,.1)}.screen-font-preview.warning small{color:#ffd7aa}.screen-language-pill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.screen-language-pill-grid button{display:grid;grid-gap:2px;gap:2px;min-height:54px;padding:8px 12px;border:1px solid rgba(255,247,232,.12);border-radius:16px;color:#fff7e8;text-align:left;background:rgba(255,247,232,.07);cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.screen-language-pill-grid button.active{border-color:rgba(127,212,196,.52);color:#07110c;background:linear-gradient(135deg,#bfe6dd,#7fd4c4)}.screen-language-pill-grid button span{opacity:.68;font-size:11px;text-transform:uppercase}.screen-style-bottom-toolbar{position:fixed;left:50%;bottom:18px;z-index:34;display:flex;flex-wrap:nowrap;gap:6px;align-items:center;justify-content:center;width:max-content;max-width:calc(100vw - 36px);padding:7px;border:1px solid rgba(255,247,232,.1);border-radius:999px;background:rgba(8,18,13,.82);box-shadow:0 18px 56px rgba(0,0,0,.42);-webkit-backdrop-filter:blur(18px) saturate(1.18);backdrop-filter:blur(18px) saturate(1.18);transform:translateX(-50%)}.screen-style-bottom-toolbar button,.screen-style-bottom-toolbar span{min-height:34px;padding:0 14px;border:1px solid rgba(255,247,232,.12);border-radius:999px;color:rgba(255,247,232,.72);background:rgba(255,247,232,.06);font-size:13px;font-weight:900;line-height:1;white-space:nowrap}.screen-style-bottom-toolbar button{color:#bfe6dd;cursor:pointer}.screen-style-bottom-toolbar button.settings.active{border-color:rgba(127,212,196,.44);background:linear-gradient(135deg,#bfe6dd,#7fd4c4)}.screen-style-dock{top:16px;right:16px;bottom:78px;gap:10px;width:min(820px,calc(100vw - 32px));padding:16px;border-color:rgba(255,255,255,.1);border-radius:24px;color:rgba(255,252,244,.92);background:linear-gradient(145deg,rgba(13,24,18,.98),rgba(5,11,8,.98));box-shadow:0 26px 90px rgba(0,0,0,.48)}.screen-style-dock-header{padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.08)}.screen-style-dock-header span{color:rgba(255,252,244,.42);font-family:inherit;font-size:10px;letter-spacing:.22em}.screen-style-dock-header strong{font-size:20px;line-height:1.1}.screen-style-dock-header button{min-height:34px;padding:0 14px;border-color:rgba(255,255,255,.12);color:rgba(255,252,244,.86);background:rgba(255,255,255,.06)}.screen-style-status{padding:8px 11px;border-radius:13px;font-size:12px}.screen-style-summary{gap:6px}.screen-style-summary span{padding:8px 10px;border-color:rgba(255,255,255,.09);border-radius:13px;background:rgba(255,255,255,.045)}.screen-style-summary strong{color:rgba(255,252,244,.9);font-size:13px}.screen-style-summary em{color:rgba(255,252,244,.46);font-size:10.5px}.screen-style-quick-actions{gap:5px;padding:6px;border-color:rgba(255,255,255,.09);border-radius:15px;background:rgba(255,255,255,.045)}.screen-style-quick-actions button{min-height:34px;padding:0 8px;border-color:rgba(255,255,255,.1);border-radius:11px;color:rgba(255,252,244,.84);background:rgba(255,255,255,.055);font-size:12px}.screen-style-quick-actions button.copy,.screen-style-quick-actions button.primary{border-color:rgba(127,212,196,.34);color:#07110c;background:#d8efe8}.screen-style-scope-grid{gap:6px}.screen-style-scope-grid section{gap:8px;padding:10px;border-color:rgba(255,255,255,.09);border-radius:15px;background:rgba(255,255,255,.045)}.screen-style-scope-grid section.active{border-color:rgba(216,239,232,.34);background:rgba(216,239,232,.085)}.screen-style-scope-grid section.source{box-shadow:inset 3px 0 0 rgba(216,239,232,.18)}.screen-style-scope-grid section.translation{box-shadow:inset 3px 0 0 rgba(216,144,59,.25)}.screen-style-scope-grid strong{color:rgba(255,252,244,.9);font-size:13px}.screen-style-scope-grid span{color:rgba(255,252,244,.48);font-size:10.5px}.screen-style-scope-actions button,.screen-style-scope-grid section>button{min-height:31px;border-color:rgba(255,255,255,.1);color:rgba(255,252,244,.82);background:rgba(255,255,255,.055);font-size:12px}.screen-style-scope-grid section.active .screen-style-scope-actions button:first-child,.screen-style-scope-grid section.active>button{border-color:rgba(127,212,196,.34);color:#07110c;background:#d8efe8}.screen-style-tabs{gap:4px;padding:4px;border-color:rgba(255,255,255,.08);border-radius:15px;background:rgba(255,255,255,.045)}.screen-style-tabs button{min-height:34px;border-radius:11px;color:rgba(255,252,244,.62);font-size:13px}.screen-style-tabs button.active{color:#07110c;background:#d8efe8;box-shadow:none}.screen-style-panel{gap:9px}.screen-style-fieldset{gap:8px;margin-top:2px;padding:12px;border-color:rgba(255,255,255,.09);border-radius:17px;background:rgba(255,255,255,.045)}.screen-style-fieldset legend{color:rgba(216,239,232,.9)}.screen-style-dock label,.screen-style-fieldset label{color:rgba(255,252,244,.68);font-size:12px}.screen-upload-hint{color:rgba(255,252,244,.48);font-size:10.5px}.screen-style-dock input,.screen-style-dock select{min-height:34px;border-color:rgba(255,255,255,.12);border-radius:11px;background:rgba(255,255,255,.07);font-size:12px}.screen-preset-grid{gap:6px}.screen-preset-grid button{min-height:58px;padding:8px;border-color:rgba(255,255,255,.1);border-radius:13px;background:rgba(255,255,255,.055)}.screen-preset-grid button strong{font-size:12px}.screen-preset-grid button span{font-size:10px}.screen-style-mini-actions{gap:5px}.screen-custom-font-list button,.screen-file-button,.screen-style-inline-row button,.screen-style-mini-actions button,.screen-style-toggle-row button,.screen-unified-style-grid button,.screen-upload-row button{min-height:32px;border-color:rgba(255,255,255,.1);border-radius:11px;color:rgba(255,252,244,.82);background:rgba(255,255,255,.055);font-size:12px}.screen-language-pill-grid button.active,.screen-style-mini-actions button.active,.screen-style-toggle-row button.active{border-color:rgba(216,239,232,.42);color:#07110c;background:#d8efe8}.screen-style-bottom-toolbar{bottom:16px;gap:5px;padding:6px;border:1px solid rgba(255,255,255,.12);background:rgba(8,18,13,.9);box-shadow:0 18px 48px rgba(0,0,0,.38);-webkit-backdrop-filter:blur(18px) saturate(1.08);backdrop-filter:blur(18px) saturate(1.08)}.screen-style-bottom-toolbar button{min-height:36px;padding:0 18px;border-color:rgba(255,255,255,.12);border-radius:999px;color:rgba(255,252,244,.86);background:rgba(255,255,255,.075);font-size:13px;letter-spacing:0}.screen-style-bottom-toolbar button.primary{border-color:rgba(255,255,255,.12);color:rgba(255,252,244,.9);background:rgba(255,255,255,.075)}.screen-style-bottom-toolbar button.copy-output{border-color:rgba(127,212,196,.34);color:#07110c;background:#d8efe8}.screen-style-bottom-toolbar button.settings.active{border-color:rgba(216,239,232,.34);color:#07110c;background:#d8efe8}.screen-style-bottom-toolbar button.source-toggle.active{border-color:rgba(216,144,59,.42);color:#fffaf0;background:rgba(184,91,39,.82)}.screen-custom-font-list button:hover,.screen-file-button:hover,.screen-language-pill-grid button:hover,.screen-preset-grid button:hover,.screen-style-bottom-toolbar button:hover,.screen-style-dock-header button:hover,.screen-style-inline-row button:hover,.screen-style-mini-actions button:hover,.screen-style-quick-actions button:hover,.screen-style-scope-actions button:hover,.screen-style-scope-grid section>button:hover,.screen-style-tabs button:hover,.screen-unified-style-grid button:hover,.screen-upload-row button:hover{border-color:rgba(216,239,232,.28);background:rgba(216,239,232,.12);box-shadow:0 10px 24px rgba(0,0,0,.18);transform:translateY(-1px)}.screen-custom-font-list button:active,.screen-file-button:active,.screen-language-pill-grid button:active,.screen-preset-grid button:active,.screen-style-bottom-toolbar button:active,.screen-style-dock-header button:active,.screen-style-inline-row button:active,.screen-style-mini-actions button:active,.screen-style-quick-actions button:active,.screen-style-scope-actions button:active,.screen-style-scope-grid section>button:active,.screen-style-tabs button:active,.screen-unified-style-grid button:active,.screen-upload-row button:active{transform:translateY(0);box-shadow:none}@media (max-width:740px){.screen-style-dock{inset:10px 10px 72px;width:auto;padding:12px;border-radius:20px}.screen-style-summary{grid-template-columns:1fr}.screen-style-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.screen-style-scope-grid{grid-template-columns:1fr}.screen-style-bottom-toolbar{width:calc(100vw - 20px);overflow-x:auto;justify-content:flex-start;border-radius:18px}.screen-style-bottom-toolbar button{flex:0 0 auto;padding:0 14px}}.audience-demo-page .audience-bottom-dock{position:static;width:min(640px,calc(100% - 24px));margin:6px auto 0;padding:0}.demo-audio-console{--demo-audio-progress:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:8px 12px;gap:8px 12px;align-items:center;border-radius:22px;padding:12px;text-align:left}.demo-audio-fallback,.demo-audio-play{width:auto;min-width:148px;min-height:42px;border:0;border-radius:999px;color:#fff7e8;background:#1f7a4d;font-size:15px;font-weight:750;cursor:pointer;transition:transform .16s ease,background .16s ease,box-shadow .16s ease}.demo-audio-status{display:grid;grid-gap:2px;gap:2px;min-width:0}.demo-audio-status span{color:rgba(255,247,232,.62);font-size:12px;font-weight:800;letter-spacing:.08em}.demo-audio-status strong{overflow:hidden;color:#fff7e8;font-size:15px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.demo-audio-progress{grid-column:1/-1;overflow:hidden;height:5px;border-radius:999px;background:rgba(255,247,232,.15)}.demo-audio-progress i{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7fd4c4,#f4c27c);transform:scaleX(var(--demo-audio-progress));transform-origin:left center;transition:transform .18s linear}.demo-audio-console .audio-cta-helper{grid-column:1/-1;text-align:center}.demo-audio-fallback:hover,.demo-audio-play:hover{transform:translateY(-1px);background:#23885a;box-shadow:0 12px 28px rgba(0,0,0,.22)}.demo-audio-fallback{min-height:36px;color:var(--ink);background:rgba(255,247,232,.84)}.demo-audio-fallback:hover{background:rgba(255,247,232,.96)}.demo-screen-mode .screen-caption-box{pointer-events:none}@media (max-width:680px){.audience-demo-page .audience-bottom-dock{width:calc(100% - 16px);margin-top:4px}.demo-audio-console{grid-template-columns:minmax(0,1fr);border-radius:16px;padding:8px;text-align:center}.demo-audio-play{width:100%;min-height:40px;font-size:14px}}.caption-style-editor{display:grid;grid-gap:14px;gap:14px;padding:16px;border:1px solid rgba(19,32,23,.12);border-radius:22px;background:rgba(255,255,255,.34)}.caption-style-editor h3{margin:0;font-size:20px}.screen-style-toggle-row.light button{min-height:38px;padding:0 14px;border:1px solid rgba(19,32,23,.14);border-radius:999px;color:var(--ink);background:rgba(255,255,255,.58)}.screen-style-toggle-row.light button.active{border-color:rgba(47,143,78,.36);color:#0b1a11;background:rgba(127,212,196,.38)}