.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:#08130e;background-position:50%;background-size:cover;-webkit-user-select:none;-moz-user-select:none;user-select:none}.screen-canvas.transparent-screen{background:transparent}.screen-canvas.preview-mode:after{position:absolute;inset:18px;z-index:1;pointer-events:none;content:"";border:1px dashed rgba(255,247,232,.16);border-radius:30px}.screen-canvas:before{position:absolute;inset:0;pointer-events:none;content:"";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;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}.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)}.timeline{display:grid;grid-gap:14px;gap:14px}.timeline-item{padding:20px 24px;border:1px solid rgba(19,32,23,.12);border-radius:22px;background:rgba(255,255,255,.58)}.caption-revision-panel{padding:10px 14px}.caption-revision-console{display:grid;grid-gap:8px;gap:8px}.caption-revision-toolbar{display:grid;grid-template-columns:1fr;grid-gap:8px;gap:8px;align-items:start}.caption-revision-toolbar .section-title{margin-bottom:2px;font-size:clamp(18px,1.75vw,24px);line-height:1.12}.caption-revision-toolbar .eyebrow{margin-bottom:0;font-size:9px}.caption-revision-title-block{display:grid;grid-gap:2px;gap:2px}.caption-revision-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.caption-revision-actions,.caption-revision-language-strip{justify-content:flex-start;align-items:center}.caption-action-row{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px}.caption-revision-action-button,.caption-revision-actions .button,.caption-revision-actions .ghost-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;font-size:13px;line-height:1}.caption-revision-action-button{border-radius:999px;border-color:rgba(19,32,23,.12);color:#19382b;background:rgba(255,255,255,.72);font-weight:850;box-shadow:none}.caption-revision-action-button:hover:not(:disabled){transform:translateY(-1px);border-color:rgba(35,115,77,.26);color:#0f5a35;background:rgba(235,249,240,.9)}.caption-revision-action-button.active{border-color:rgba(35,115,77,.24);color:#0f5a35;background:rgba(127,212,196,.2)}.caption-language-switcher{display:inline-grid;grid-template-columns:minmax(76px,auto) 34px minmax(76px,auto) auto;gap:6px;align-items:center;border:1px solid rgba(19,32,23,.12);border-radius:999px;padding:4px;background:rgba(255,255,255,.72)}.caption-language-pill{display:inline-flex;align-items:center;gap:6px;min-height:28px;border-radius:999px;padding:0 10px;color:#5f6b63;white-space:nowrap}.caption-language-pill em{color:inherit;font-size:10px;font-style:normal;font-weight:900}.caption-language-pill strong{max-width:112px;overflow:hidden;color:inherit;font-size:12px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.caption-language-pill.active{color:#103224;background:rgba(127,212,196,.28)}.caption-language-pill.source.active{color:#8a3e1c;background:rgba(255,236,211,.92)}.caption-language-all,.caption-language-swap-button{min-width:30px;min-height:28px;border:1px solid rgba(19,32,23,.1);border-radius:999px;color:#19382b;background:rgba(255,255,255,.58);font-size:13px;font-weight:950;cursor:pointer}.caption-language-all.active,.caption-language-all:hover,.caption-language-swap-button:hover:not(:disabled){color:#fffaf0;background:#102017}.caption-language-targets{display:inline-flex;flex-wrap:wrap;gap:5px}.caption-language-targets button{min-height:34px;border:1px solid rgba(19,32,23,.1);border-radius:999px;padding:0 10px;color:#19382b;background:rgba(255,255,255,.66);font-size:12px;font-weight:900;cursor:pointer}.caption-language-targets button.active,.caption-language-targets button:hover{border-color:rgba(35,115,77,.26);color:#0f5a35;background:rgba(127,212,196,.22)}.caption-language-route{display:grid;grid-template-columns:auto auto auto;grid-gap:8px;gap:8px;align-items:center;width:-moz-fit-content;width:fit-content;max-width:100%;border:1px solid rgba(19,32,23,.1);border-radius:18px;padding:6px 8px;background:rgba(255,255,255,.62)}.caption-language-route-head{display:grid;grid-gap:2px;gap:2px;min-width:112px}.caption-language-route-head strong{color:#102017;font-size:13px;font-weight:950}.caption-language-route-head span{max-width:160px;color:#5f6b63;font-size:11px;font-weight:700;white-space:nowrap}.caption-language-route-preview{gap:6px;margin-top:0}.caption-language-route-preview .language-route-pill{min-width:96px;padding:6px 9px;border-radius:13px}.caption-language-route-preview .language-route-pill.active{border-color:rgba(35,115,77,.32);box-shadow:0 8px 20px rgba(35,115,77,.08)}.caption-language-route-preview .language-route-pill b{max-width:96px;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.caption-language-route-preview .language-route-pill small{min-height:12px}.caption-language-route-preview>i{width:22px;font-size:18px}.caption-language-route-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px}.caption-language-route-actions .caption-language-main-swap{min-height:34px;padding:0 12px;font-size:12px;white-space:nowrap}.caption-language-route .caption-language-targets{justify-content:flex-start;gap:6px}.caption-language-route .language-target-button{min-height:32px;padding:4px 9px}.caption-language-route .language-target-button strong{font-size:12px}.caption-language-route .language-target-button small{font-size:10px}.caption-editor-shortcut-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:10px;gap:10px;align-items:center;border:1px solid rgba(47,143,78,.28);border-radius:12px;padding:8px 12px;color:#123a28;background:linear-gradient(135deg,rgba(127,212,196,.28),rgba(255,250,240,.72));box-shadow:0 14px 34px rgba(31,74,45,.08)}.caption-editor-shortcut-banner.dirty{border-color:rgba(191,96,35,.42);background:linear-gradient(135deg,rgba(255,236,211,.94),rgba(127,212,196,.18))}.caption-editor-shortcut-banner div{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline;min-width:0}.caption-editor-shortcut-banner strong{color:#0f5a35;font-size:15px;font-weight:850}.caption-editor-shortcut-banner span{color:var(--ink-soft);font-size:12px;font-weight:700}.caption-editor-shortcut-banner em{justify-self:end;border-radius:999px;padding:5px 10px;color:#8a3e1c;font-size:12px;font-style:normal;font-weight:800;white-space:nowrap;background:rgba(255,236,211,.9)}.caption-sync-pill{display:inline-flex;align-items:center;min-height:32px;border:1px solid rgba(47,143,78,.22);border-radius:999px;padding:0 12px;color:#1e6a3a;font-size:13px;font-weight:800;background:rgba(127,212,196,.2)}.caption-sync-pill.error{border-color:rgba(191,96,35,.32);color:#8a3e1c;background:rgba(255,236,211,.72)}.caption-record-room-status{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;min-height:30px;padding:0 2px;color:var(--ink-soft);font-size:13px;font-weight:780}.caption-record-room-status strong{color:var(--ink);font-size:15px;font-weight:900}.caption-record-room-status span{color:#0f5a35}.caption-record-room-status em{color:#8a3e1c;font-style:normal;font-weight:800}.caption-revision-layout{display:grid;grid-template-columns:minmax(260px,.42fr) minmax(0,1fr);grid-gap:18px;gap:18px;min-height:600px}.caption-record-list-panel{display:grid;align-content:start;grid-gap:12px;gap:12px;min-width:0}.caption-record-search{display:grid;grid-template-columns:minmax(220px,560px) auto minmax(120px,max-content);grid-gap:8px;gap:8px;align-items:center}.caption-record-search input{min-width:0;min-height:34px;border:1px solid rgba(19,32,23,.12);border-radius:999px;padding:0 12px;color:var(--ink);background:rgba(255,255,255,.58);font-size:13px}.caption-record-search input:focus{border-color:rgba(127,212,196,.75);box-shadow:var(--focus);outline:none}.caption-record-count,.caption-record-search span{color:var(--ink-soft);font-size:12px;font-weight:800}.caption-record-search-wide{max-width:none}.caption-record-toolbar{justify-content:stretch}.caption-record-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.caption-record-actions .caption-revision-action-button{min-height:34px;padding-inline:14px}.caption-export-date-select{min-height:34px;max-width:150px;border:1px solid rgba(19,32,23,.12);border-radius:999px;background:rgba(255,255,255,.82);color:#19382b;padding:0 28px 0 12px;font-size:13px;font-weight:850;outline:none}.caption-export-date-select:disabled{opacity:.58}.caption-history-load-more{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:11px 13px;border:1px solid #d9e8ef;border-radius:12px;background:#f7fbfd;color:#607d8e;font-size:13px}.caption-record-count{justify-self:end;white-space:nowrap}.caption-flow-list{display:grid;grid-gap:6px;gap:6px}.caption-flow-row{overflow:hidden;border:1px solid rgba(19,32,23,.12);border-radius:10px;background:rgba(255,255,255,.52);transform-origin:top center;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease,transform .24s ease,opacity .24s ease;will-change:transform,opacity}.caption-flow-row.partial{border-color:rgba(55,98,78,.12);background:rgba(235,244,235,.52)}.caption-flow-row.final{background:rgba(255,255,255,.66);animation:caption-finalize-slide .32s cubic-bezier(.19,1,.22,1)}.caption-flow-row.active{border-color:rgba(191,96,35,.32);background:rgba(255,246,232,.72);box-shadow:0 8px 20px rgba(88,46,20,.06)}@keyframes caption-finalize-slide{0%{opacity:.78;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.caption-flow-row.final{animation:none}}.caption-flow-read{border:0;text-align:left;color:var(--ink);background:transparent;cursor:pointer}.caption-flow-editable,.caption-flow-read{display:grid;grid-template-columns:104px minmax(0,1fr);grid-gap:8px;gap:8px;width:100%;padding:7px 10px}.caption-flow-readonly{cursor:default}.caption-flow-meta{display:flex;flex-wrap:wrap;align-content:flex-start;gap:5px}.caption-flow-meta span{border-radius:999px;padding:3px 7px;color:#244435;font-size:10px;font-weight:750;background:rgba(127,212,196,.2)}.caption-flow-meta span:first-child{color:#8a3e1c;background:rgba(255,236,211,.86)}.caption-flow-meta .caption-latest-badge{color:#0f5a35;background:rgba(127,212,196,.4)}.caption-flow-meta .caption-row-sync{color:#1e6a3a;background:rgba(127,212,196,.28)}.caption-flow-meta .caption-row-sync.dirty{color:#8a3e1c;background:rgba(255,236,211,.92)}.caption-flow-meta .caption-row-sync.empty{visibility:hidden}.caption-flow-lines{display:grid;grid-gap:3px;gap:3px;min-width:0}.caption-flow-line{display:grid;grid-template-columns:78px 38px minmax(0,1fr);grid-gap:7px;gap:7px;align-items:baseline;min-width:0;margin:0}.caption-flow-line em,.caption-flow-line span{display:inline-flex;justify-content:center;border-radius:999px;padding:2px 7px;color:#235340;font-size:10px;font-style:normal;font-weight:750;background:rgba(127,212,196,.18)}.caption-flow-line.source em,.caption-flow-line.source span{color:#8a3e1c;background:rgba(255,236,211,.82)}.caption-flow-line strong{min-width:0;overflow:hidden;font-size:15px;font-weight:500;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.caption-flow-line.source strong{font-size:16px;font-weight:560}.caption-flow-line.editable{align-items:center}.caption-flow-line textarea{width:100%;min-height:28px;max-height:72px;resize:none;field-sizing:content;overflow:auto;border:1px solid transparent;border-radius:7px;padding:3px 7px;color:var(--ink);background:rgba(255,255,255,.18);font:inherit;font-size:15px;font-weight:500;line-height:1.3;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.caption-flow-line.source textarea{font-size:16px;font-weight:560}.caption-flow-line textarea:hover{border-color:rgba(19,32,23,.12);background:rgba(255,255,255,.38)}.caption-flow-line textarea:focus{border-color:rgba(127,212,196,.8);background:rgba(255,255,255,.78);box-shadow:var(--focus);outline:none}.caption-flow-line textarea.dirty{border-color:rgba(191,96,35,.34);background:rgba(255,236,211,.36)}.caption-flow-row-state{display:flex;flex-wrap:wrap;grid-column:2;gap:8px;color:var(--ink-soft);font-size:12px;font-weight:800}.caption-flow-row-state .dirty{color:#8a3e1c;font-weight:950}.caption-pagination{display:flex;justify-content:center;align-items:center;gap:10px;padding-top:2px}.caption-pagination span{color:var(--ink-soft);font-size:13px;font-weight:900}.caption-lexicon-manager-backdrop{place-items:start center;overflow:hidden;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}.caption-lexicon-manager{display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-gap:12px;gap:12px;width:min(920px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:hidden;padding:18px}.caption-lexicon-manager-head{margin:-18px -18px 0;border-bottom:1px solid rgba(19,32,23,.08);padding:16px 18px 12px;border-radius:24px 24px 0 0;background:rgba(255,250,240,.98)}.caption-lexicon-manager-body{display:grid;grid-template-columns:168px minmax(0,1fr);grid-gap:12px;gap:12px;min-height:0;overflow:hidden}.caption-lexicon-tabs{display:grid;align-content:start;grid-gap:8px;gap:8px}.caption-lexicon-tabs button{display:grid;grid-gap:2px;gap:2px;justify-items:start;min-height:54px;border:1px solid rgba(19,32,23,.12);border-radius:14px;padding:8px 12px;color:#19382b;background:rgba(255,255,255,.66);cursor:pointer}.caption-lexicon-tabs button strong{color:inherit;font-size:14px;font-weight:950}.caption-lexicon-tabs button span{color:inherit;opacity:.72;font-size:12px;font-weight:850}.caption-lexicon-tabs button.active{border-color:rgba(31,110,73,.42);color:#fffaf0;background:#102017}.caption-lexicon-editor{display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-gap:10px;gap:10px;min-width:0;min-height:0}.caption-lexicon-editor-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border:1px solid rgba(47,143,78,.18);border-radius:16px;padding:10px 12px;background:rgba(235,249,240,.72)}.caption-lexicon-editor-title div{display:grid;grid-gap:3px;gap:3px}.caption-lexicon-editor-title strong{color:#103224;font-size:15px;font-weight:950}.caption-lexicon-editor-title em,.caption-lexicon-editor-title span{color:var(--ink-soft);font-size:12px;font-style:normal;font-weight:800}.caption-lexicon-bulk-textarea{width:100%;min-height:min(30dvh,280px);max-height:42dvh;height:100%;border:1px solid rgba(19,32,23,.14);border-radius:18px;padding:14px 16px;color:var(--ink);background:rgba(255,255,255,.82);font-size:16px;line-height:1.58;resize:vertical}.caption-language-all:focus,.caption-language-swap-button:focus,.caption-language-targets button:focus,.caption-lexicon-bulk-textarea:focus{border-color:rgba(127,212,196,.75);box-shadow:var(--focus);outline:none}.caption-lexicon-manager-actions{margin:0 -18px -18px;border-top:1px solid rgba(19,32,23,.08);padding:12px 18px 16px;border-radius:0 0 24px 24px;background:rgba(255,250,240,.98)}.caption-lexicon-menu{position:fixed;z-index:80;display:grid;grid-gap:8px;gap:8px;width:280px;border:1px solid rgba(19,32,23,.16);border-radius:14px;padding:12px;background:rgba(255,250,240,.98);box-shadow:0 18px 42px rgba(31,22,12,.2)}.caption-lexicon-menu strong{overflow:hidden;color:var(--ink);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.caption-lexicon-menu span{color:var(--ink-soft);font-size:12px;font-weight:800}.caption-lexicon-menu-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.caption-lexicon-menu-actions button{min-height:32px;border:1px solid rgba(19,32,23,.1);border-radius:10px;color:var(--ink);font-size:13px;font-weight:900;background:rgba(255,255,255,.62);cursor:pointer}.caption-lexicon-menu-actions button:hover:not(:disabled){border-color:rgba(127,212,196,.55);background:rgba(127,212,196,.2)}.caption-lexicon-target-form{display:grid;grid-gap:8px;gap:8px;border-top:1px solid rgba(19,32,23,.1);padding-top:8px}.caption-lexicon-target-form label{display:grid;grid-gap:5px;gap:5px}.caption-lexicon-target-form label span{color:#8a3e1c;font-size:12px;font-weight:900}.caption-lexicon-target-form input{min-height:36px;border:1px solid rgba(19,32,23,.14);border-radius:10px;padding:0 10px;color:var(--ink);background:rgba(255,255,255,.76)}.caption-lexicon-target-form input:focus{border-color:rgba(127,212,196,.75);box-shadow:var(--focus);outline:none}.caption-lexicon-target-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:7px;gap:7px}.caption-lexicon-target-actions .button,.caption-lexicon-target-actions .ghost-button{min-height:34px;padding:0 10px}.caption-lexicon-target-form em{color:var(--ink-soft);font-size:12px;font-style:normal;font-weight:800}.caption-live-strip{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);grid-gap:14px;gap:14px}.caption-live-card{display:grid;grid-gap:8px;gap:8px;min-height:126px;border:1px solid rgba(19,32,23,.12);border-radius:20px;padding:16px 18px;text-align:left;color:var(--ink);background:rgba(255,255,255,.54);cursor:pointer}.caption-live-card.current{border-color:rgba(47,143,78,.24);background:linear-gradient(135deg,rgba(127,212,196,.2),rgba(255,255,255,.58))}.caption-live-card.current.final{border-color:rgba(191,96,35,.34);background:linear-gradient(135deg,rgba(255,236,211,.88),rgba(255,255,255,.6))}.caption-live-card:disabled{cursor:default;opacity:.68}.caption-live-card span{color:var(--ink-soft);font-size:13px;font-weight:900}.caption-live-card strong{font-size:clamp(18px,2vw,25px);line-height:1.48}.caption-live-card em,.caption-live-card strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.caption-live-card em{color:#235340;font-style:normal;line-height:1.5}.caption-record-list{display:grid;align-content:start;grid-gap:10px;gap:10px;max-height:68vh;overflow:auto;padding-right:8px}.caption-record-item{display:grid;grid-gap:8px;gap:8px;width:100%;border:1px solid rgba(19,32,23,.12);border-radius:18px;padding:14px;text-align:left;color:var(--ink);background:rgba(255,255,255,.54);cursor:pointer}.caption-record-item.active{border-color:rgba(191,96,35,.44);background:rgba(255,236,211,.82);box-shadow:0 14px 36px rgba(88,46,20,.1)}.caption-record-item em,.caption-record-item span{color:var(--ink-soft);font-size:12px;font-style:normal}.caption-record-item strong{font-size:15px;line-height:1.55}.caption-record-item em,.caption-record-item strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.caption-editor-panel{display:grid;align-content:start;grid-gap:16px;gap:16px;border:1px solid rgba(19,32,23,.12);border-radius:24px;padding:20px;background:rgba(255,255,255,.48)}.caption-editor-meta{display:flex;flex-wrap:wrap;gap:10px}.caption-editor-meta span{border-radius:999px;padding:7px 12px;color:#224033;background:rgba(127,212,196,.22)}.caption-edit-field{display:grid;grid-gap:8px;gap:8px}.caption-edit-field span{color:var(--ink-soft);font-size:14px;font-weight:800}.caption-edit-field textarea{width:100%;resize:vertical;border:1px solid rgba(19,32,23,.14);border-radius:18px;padding:14px 16px;color:var(--ink);background:rgba(255,255,255,.66);line-height:1.65}.caption-edit-field textarea:focus{border-color:rgba(127,212,196,.75);box-shadow:var(--focus);outline:none}.caption-translation-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.caption-empty-state{display:grid;min-height:260px;place-items:center;border:1px dashed rgba(19,32,23,.18);border-radius:22px;color:var(--ink-soft)}.form-message.warning{border-color:rgba(191,96,35,.22);color:#8a3e1c;background:rgba(255,236,211,.64)}.controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.button-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.button-row.right{justify-content:flex-end}.field{display:grid;grid-gap:8px;gap:8px}.field.span-2{grid-column:1/-1}.field label{color:var(--ink-soft);font-size:14px;font-weight:700}.field input,.field select{width:100%;min-height:46px;border:1px solid var(--line);border-radius:15px;padding:0 14px;background:rgba(255,255,255,.54);color:var(--ink)}.field input:focus,.field select:focus,.field textarea:focus{border-color:rgba(127,212,196,.75);box-shadow:var(--focus);outline:none}.cover-uploader{display:grid;grid-gap:12px;gap:12px}.cover-preview{display:grid;align-content:end;grid-gap:6px;gap:6px;min-height:190px;overflow:hidden;padding:22px;border:1px solid rgba(19,32,23,.14);border-radius:24px;color:var(--cream);background:linear-gradient(135deg,rgba(18,32,25,.92),rgba(62,84,62,.72)),radial-gradient(circle at 82% 18%,rgba(127,212,196,.3),transparent 18rem);background-position:50%;background-size:cover;box-shadow:inset 0 0 0 1px rgba(255,247,232,.08)}.cover-preview span{color:rgba(255,247,232,.7);font-size:13px;letter-spacing:.14em;text-transform:uppercase}.cover-preview strong{max-width:520px;font-size:clamp(22px,4vw,42px);line-height:1.02}.cover-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.cover-actions input[type=file]{max-width:min(100%,420px);padding:10px}.qr{display:grid;place-items:center;width:168px;height:168px;border-radius:24px;background:linear-gradient(90deg,var(--ink) 10px,transparent 10px) 0 0 /28px 28px,linear-gradient(var(--ink) 10px,transparent 10px) 0 0 /28px 28px,var(--cream);color:var(--cream);font-weight:900}.checklist{display:grid;grid-gap:10px;gap:10px}.check-row{display:grid;grid-template-columns:auto 1fr auto;grid-gap:10px;gap:10px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.36)}.check-row em{color:var(--ink-soft);font-style:normal}.check-row.detail{background:rgba(255,255,255,.24)}.dot{width:11px;height:11px;border-radius:999px}.dot.ok{background:#2f8f4e;box-shadow:0 0 0 5px rgba(47,143,78,.12)}.dot.warn{background:var(--brass);box-shadow:0 0 0 5px rgba(216,144,59,.16)}.room-flow{display:flex;justify-content:space-between;gap:14px;margin-top:18px;padding:16px;border-radius:18px;color:var(--cream);background:linear-gradient(120deg,var(--moss),var(--moss-2))}.room-flow.compact{margin-top:10px;padding:12px 14px;font-size:14px}.runtime-error{margin:14px 0 0;padding:12px 14px;border-radius:16px;background:rgba(184,91,39,.12);color:#8a2f17;font-weight:800}.production-plan-panel{background:radial-gradient(circle at 80% 0,rgba(127,212,196,.16),transparent 22rem),linear-gradient(145deg,rgba(255,250,240,.92),rgba(239,232,218,.78))}.panel-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.plan-health-card{display:grid;grid-gap:6px;gap:6px;min-width:210px;padding:18px;border:1px solid rgba(19,32,23,.1);border-radius:22px;background:rgba(255,255,255,.46)}.plan-health-card strong{font-size:28px;line-height:1}.plan-health-card span{color:var(--ink-soft);font-size:13px}.plan-step-grid,.track-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));grid-gap:12px;gap:12px;margin-top:18px}.plan-step,.track-card{display:grid;grid-gap:7px;gap:7px;min-height:130px;padding:16px;border:1px solid rgba(19,32,23,.1);border-radius:20px;background:rgba(255,255,255,.46)}.plan-step span,.track-card span{width:-moz-fit-content;width:fit-content;padding:4px 9px;border-radius:999px;color:#1f6e3c;font-size:12px;font-weight:900;background:rgba(47,143,78,.12)}.plan-step strong,.track-card strong{font-size:18px}.plan-step p,.track-card em,.track-card p{margin:0;color:var(--ink-soft);font-size:13px;line-height:1.55}.track-card em{font-style:normal}.plan-step.pending span,.plan-step.warning span,.track-card.publishing span,.track-card.waiting span{color:#8a4a17;background:rgba(216,144,59,.14)}.plan-step.blocked span,.track-card.error span{color:#8a2f17;background:rgba(184,91,39,.13)}.plan-warning-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.plan-warning-list span{padding:8px 11px;border-radius:999px;color:#8a4a17;background:rgba(216,144,59,.12);font-size:13px;font-weight:800}.language-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-gap:12px;gap:12px}.language-chip{display:grid;grid-gap:4px;gap:4px;min-height:104px;padding:14px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.3)}.language-chip.on{border-color:rgba(184,91,39,.48);background:rgba(216,144,59,.14)}.language-chip small,.language-chip span{color:var(--ink-soft)}.prompt-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:14px;gap:14px}.prompt-card{display:grid;grid-gap:8px;gap:8px;padding:18px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.36)}.prompt-card.active{border-color:rgba(184,91,39,.5);box-shadow:inset 0 0 0 1px rgba(184,91,39,.28)}.prompt-card p,.prompt-card small{margin:0;color:var(--ink-soft)}.voice-output-page{--voice-bg:#edf3f6;--voice-panel:#ffffff;--voice-line:#d6e1e6;--voice-line-strong:#bccbd3;--voice-text:#16242b;--voice-muted:#6d7d86;--voice-cyan:#129ee7;--voice-green:#20b985;--voice-orange:#ff8752;min-height:100vh;min-height:100dvh;padding:12px;background:var(--voice-bg);color:var(--voice-text);font-family:Microsoft YaHei UI,PingFang SC,Noto Sans CJK SC,sans-serif}.voice-output-console{display:grid;grid-gap:10px;gap:10px;width:min(1600px,100%);min-height:calc(100dvh - 24px);margin:0 auto}.voice-output-controls,.voice-output-header,.voice-output-live{border:1px solid var(--voice-line);border-radius:8px;background:var(--voice-panel);box-shadow:0 6px 18px rgba(41,69,82,.07)}.voice-output-header{display:grid;grid-template-columns:minmax(260px,.65fr) minmax(560px,1.35fr);grid-gap:16px;gap:16px;align-items:center;min-height:68px;padding:8px 12px}.voice-output-brand{display:flex;gap:11px;align-items:center;min-width:0}.voice-output-brand-mark{display:grid;flex:0 0 46px;width:46px;height:46px;place-items:center;overflow:hidden;border:1px solid #c8e8f7;border-radius:8px;background:#e8f7ff}.voice-output-brand-mark img{width:36px;height:36px;object-fit:contain}.voice-output-brand>div{min-width:0}.voice-output-brand .eyebrow{margin:0;color:var(--voice-cyan);font-size:10px;font-weight:800;letter-spacing:0}.voice-output-brand h1{margin:1px 0 2px;color:var(--voice-text);font-size:20px;line-height:1.15;letter-spacing:0}.voice-output-brand p{margin:0;overflow:hidden;color:var(--voice-muted);font-size:11px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.voice-output-status{display:grid;grid-template-columns:auto auto minmax(140px,1fr) minmax(360px,auto);grid-gap:9px;gap:9px;align-items:center;min-width:0;min-height:38px;border:1px solid #dce6ea;border-radius:6px;padding:5px 7px 5px 10px;background:#f7fafb}.voice-output-status.active{border-color:#a8e3cf;background:#effbf7}.voice-output-playing-dot,.voice-output-status-dot{width:9px;height:9px;border:2px solid #ffe2e2;border-radius:50%;background:#dc5a5a}.voice-output-playing-dot.active,.voice-output-status.active .voice-output-status-dot{border-color:#cff4e5;background:var(--voice-green)}.voice-output-status>strong{color:#1e3038;font-size:13px;white-space:nowrap}.voice-output-status-message{min-width:0;overflow:hidden;border-left:1px solid #dce6ea;padding-left:9px;color:var(--voice-muted);font-size:11px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.voice-output-status-row{display:flex;gap:5px;justify-content:flex-end;min-width:0}.voice-output-status-row span{overflow:hidden;border:1px solid #d9e5ea;border-radius:999px;padding:4px 7px;background:#ffffff;color:#52666f;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.voice-output-grid{display:grid;grid-template-columns:370px minmax(0,1fr);grid-gap:10px;gap:10px;min-height:0}.voice-output-controls{display:grid;grid-gap:9px;gap:9px;align-content:start;min-width:0;padding:11px}.voice-output-control-heading,.voice-output-list-heading,.voice-output-now>div:first-child,.voice-output-section-title{display:flex;gap:8px;align-items:center;justify-content:space-between}.voice-output-control-heading>div,.voice-output-list-heading>div{display:grid;grid-gap:1px;gap:1px}.voice-output-control-heading strong,.voice-output-list-heading strong{color:#1c3039;font-size:14px}.voice-output-control-heading span,.voice-output-list-heading span,.voice-output-section-title span{color:var(--voice-muted);font-size:10px;font-weight:650}.voice-output-state-badge{border:1px solid #d4dfe4;border-radius:999px;padding:3px 7px;background:#f5f8f9;color:#687a83!important}.voice-output-state-badge.active{border-color:#a8e3cf;background:#eaf9f3;color:#147357!important}.voice-output-toggle-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:7px;gap:7px}.voice-output-keep-awake,.voice-output-switch{display:flex;gap:8px;align-items:center;min-width:0;min-height:52px;border:1px solid #d7e2e7;border-radius:6px;padding:7px 8px;background:#f7fafb;cursor:pointer;transition:border-color .16s ease,background .16s ease}.voice-output-keep-awake.enabled,.voice-output-switch.enabled{border-color:#a8e3cf;background:#effbf7}.voice-output-keep-awake input,.voice-output-switch input{position:absolute;width:1px;height:1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.voice-output-switch-track{position:relative;flex:0 0 36px;width:36px;height:20px;border-radius:999px;background:#c7d3d9;transition:background .18s ease}.voice-output-keep-awake:before,.voice-output-switch-thumb{position:absolute;width:16px;height:16px;border-radius:50%;background:#ffffff;box-shadow:0 1px 4px rgba(26,52,64,.25);transition:transform .18s ease}.voice-output-switch-thumb{top:2px;left:2px}.voice-output-switch.enabled .voice-output-switch-track{background:var(--voice-green)}.voice-output-switch.enabled .voice-output-switch-thumb{transform:translateX(16px)}.voice-output-switch input:focus-visible+.voice-output-switch-track{outline:3px solid rgba(18,158,231,.18);outline-offset:2px}.voice-output-keep-awake{position:relative;padding-left:50px}.voice-output-keep-awake:after{position:absolute;left:8px;width:36px;height:20px;border-radius:999px;background:#c7d3d9;content:""}.voice-output-keep-awake:before{z-index:1;top:17px;left:10px;content:""}.voice-output-keep-awake.enabled:after{background:var(--voice-green)}.voice-output-keep-awake.enabled:before{transform:translateX(16px)}.voice-output-keep-awake>span,.voice-output-switch-copy{display:grid;grid-gap:1px;gap:1px;min-width:0}.voice-output-keep-awake strong,.voice-output-switch-copy strong{color:#243942;font-size:12px}.voice-output-keep-awake small,.voice-output-switch-copy small{overflow:hidden;color:var(--voice-muted);font-size:9px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.voice-output-control-section{display:grid;grid-gap:7px;gap:7px;border:1px solid #dce6ea;border-radius:7px;padding:9px;background:#fbfcfd}.voice-output-section-title{padding-bottom:2px}.voice-output-section-title strong{color:#304650;font-size:12px}.voice-output-segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:3px;gap:3px;border:1px solid #d7e2e7;border-radius:6px;padding:3px;background:#f1f5f7}.voice-output-segmented button{min-height:30px;border:0;border-radius:4px;background:transparent;color:#52666f;font-size:11px;font-weight:750;cursor:pointer}.voice-output-segmented button.active{background:#253840;color:#ffffff;box-shadow:0 2px 7px rgba(37,56,64,.14)}.voice-output-segmented button:disabled{cursor:not-allowed;opacity:.45}.voice-output-mode-hint{margin:-1px 1px 0;color:#9a5b3c;font-size:10px;font-weight:650;line-height:1.35}.voice-output-controls .field{display:grid;grid-gap:4px;gap:4px;min-width:0}.voice-output-controls .field>span,.voice-output-readonly-field>span{color:#5f737d;font-size:10px;font-weight:750}.voice-output-controls select{width:100%;min-height:34px;border:1px solid #cfdae0;border-radius:6px;padding:0 9px;background:#ffffff;color:#1b3039;color-scheme:light;font-size:12px;font-weight:700;outline:none}.voice-output-controls select:focus{border-color:#64bee6;box-shadow:0 0 0 3px rgba(18,158,231,.1)}.voice-output-readonly-field{display:grid;grid-gap:2px;gap:2px;border:1px solid #d7e2e7;border-radius:6px;padding:7px 9px;background:#f3f8fa}.voice-output-readonly-field strong{overflow:hidden;color:#243942;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.voice-output-readonly-field small{color:var(--voice-muted);font-size:9px}.voice-output-two{display:grid;grid-template-columns:.8fr 1.2fr;grid-gap:7px;gap:7px;align-items:end}.voice-output-rate-field>span{display:flex;justify-content:space-between}.voice-output-rate-field>span strong{color:var(--voice-cyan)}.voice-output-controls input[type=range]{width:100%;height:34px;margin:0;accent-color:var(--voice-cyan)}.voice-output-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px}.voice-output-actions .button{min-width:0;min-height:33px;border-radius:6px;padding:0 7px;font-size:11px;font-weight:750;white-space:nowrap}.voice-output-actions .button.secondary{border:1px solid #cbd8de;background:#ffffff;color:#293e48}.voice-output-actions .button.secondary:hover{border-color:#8fc9e2;background:#eff8fc}.voice-output-actions .button.dark{border:1px solid #263940;background:#263940;color:#ffffff}.voice-output-metrics{display:grid;grid-gap:0;gap:0;margin:0;overflow:hidden;border:1px solid #dce6ea;border-radius:7px;background:#f7fafb}.voice-output-metrics div{display:grid;grid-template-columns:76px minmax(0,1fr);grid-gap:7px;gap:7px;padding:6px 8px;border-top:1px solid #e3eaed}.voice-output-metrics div:first-child{border-top:0}.voice-output-metrics dd,.voice-output-metrics dt{min-width:0;margin:0;overflow:hidden;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.voice-output-metrics dt{color:var(--voice-muted)}.voice-output-metrics dd{color:#304650}.voice-output-live{display:grid;grid-template-rows:auto auto minmax(0,1fr);grid-gap:8px;gap:8px;min-width:0;min-height:calc(100dvh - 102px);padding:11px}.voice-output-now{display:grid;grid-gap:9px;gap:9px;min-height:112px;border:1px solid #bee3f2;border-radius:7px;padding:13px 15px;background:#eefaff;box-shadow:inset 4px 0 0 #22a8e3}.voice-output-now>div:first-child{justify-content:flex-start}.voice-output-now strong{color:#405d69;font-size:11px}.voice-output-now em{margin-left:auto;border:1px solid #cce5f0;border-radius:999px;padding:3px 7px;background:rgba(255,255,255,.72);color:#66808b;font-size:10px;font-style:normal;font-weight:700}.voice-output-now p{margin:auto 0 0;color:#172c35;font-size:clamp(18px,2vw,28px);font-weight:750;line-height:1.34;overflow-wrap:anywhere;text-wrap:pretty}.voice-output-list-heading{min-height:34px;border-bottom:1px solid #dce6ea;padding:0 4px 7px}.voice-output-list-heading>span{border:1px solid #d8e4e9;border-radius:999px;padding:3px 7px;background:#f7fafb}.voice-output-caption-list{display:grid;align-content:start;grid-gap:7px;gap:7px;min-height:0;overflow-y:auto;padding-right:3px;scrollbar-color:#9fc9da #edf3f6;scrollbar-width:thin}.voice-output-caption-list::-webkit-scrollbar{width:7px}.voice-output-caption-list::-webkit-scrollbar-track{border-radius:999px;background:#edf3f6}.voice-output-caption-list::-webkit-scrollbar-thumb{border-radius:999px;background:#9fc9da}.voice-output-caption{display:grid;grid-gap:5px;gap:5px;border:1px solid #dce6ea;border-radius:7px;padding:9px 11px;background:#fbfcfd}.voice-output-caption.final{border-color:#bfe4d8;background:#f4fbf8;box-shadow:inset 3px 0 0 var(--voice-green)}.voice-output-caption-meta{display:flex;justify-content:space-between;gap:10px;color:#788991;font-size:9px;font-weight:700}.voice-output-caption p{margin:0;line-height:1.4;overflow-wrap:anywhere}.voice-output-caption .source{color:#455b65;font-size:13px;font-weight:650}.voice-output-caption .translation{color:#17313c;font-size:16px;font-weight:750}.voice-output-empty{display:grid;min-height:220px;place-items:center;border:1px dashed #c7d8df;border-radius:7px;background:#f8fafb;color:#7a8b93;font-size:13px;font-weight:700}@media (max-width:1080px){.voice-output-header{grid-template-columns:minmax(220px,.5fr) minmax(0,1.5fr)}.voice-output-status{grid-template-columns:auto auto minmax(0,1fr)}.voice-output-status-row{grid-column:1/-1;justify-content:flex-start}.voice-output-grid{grid-template-columns:340px minmax(0,1fr)}}@media (max-width:820px){.voice-output-page{padding:8px}.voice-output-console{min-height:calc(100dvh - 16px);gap:8px}.voice-output-grid,.voice-output-header{grid-template-columns:1fr}.voice-output-header{gap:8px}.voice-output-status{grid-template-columns:auto auto minmax(0,1fr)}.voice-output-grid{display:flex;flex-direction:column}.voice-output-live{order:1;width:100%;min-height:52dvh}.voice-output-controls{order:2;width:100%}.voice-output-caption-list{max-height:48dvh}}@media (max-width:520px){.voice-output-page{padding:6px}.voice-output-controls,.voice-output-header,.voice-output-live{border-radius:7px}.voice-output-header{padding:8px}.voice-output-brand-mark{flex-basis:40px;width:40px;height:40px}.voice-output-brand-mark img{width:31px;height:31px}.voice-output-brand h1{font-size:17px}.voice-output-brand p{max-width:70vw}.voice-output-status{gap:6px}.voice-output-status-message{font-size:10px}.voice-output-status-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.voice-output-status-row span{text-align:center}.voice-output-controls,.voice-output-live{padding:9px}.voice-output-now{min-height:94px;padding:11px 12px}.voice-output-now p{font-size:18px}.voice-output-list-heading>div span{display:none}.voice-output-toggle-row{grid-template-columns:1fr}.voice-output-keep-awake,.voice-output-switch{min-height:48px}.voice-output-keep-awake:before{top:15px}.voice-output-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.voice-output-actions .button.dark{grid-column:1/-1}.voice-output-caption .source{font-size:12px}.voice-output-caption .translation{font-size:15px}}@media (prefers-reduced-motion:reduce){.voice-output-keep-awake:before,.voice-output-switch-thumb{transition:none}}