.cl-root{--cl-accent: #0f766e;--cl-soft: #ecfdf5;position:relative;width:100%;height:100%;min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;background:#f6f8fb;color:#172033;font:14px/1.5 Inter,system-ui,-apple-system,sans-serif;padding:clamp(16px,3vw,36px) max(clamp(16px,3vw,36px),env(safe-area-inset-right)) max(clamp(16px,3vw,36px),env(safe-area-inset-bottom)) max(clamp(16px,3vw,36px),env(safe-area-inset-left));-webkit-overflow-scrolling:touch}.cl-root *,.cl-root *:before,.cl-root *:after{box-sizing:border-box}.cl-history-toggle,.cl-history button{border:1px solid #d8e0ea;border-radius:8px;background:#fff;color:#334155;cursor:pointer;touch-action:manipulation}.cl-history-toggle{min-height:36px;padding:7px 12px}.cl-history button{min-height:44px;padding:9px 14px}.cl-notice{max-width:1220px;margin:0 auto 14px;padding:10px 14px;border-radius:10px;background:#eef2ff;overflow-wrap:anywhere}.cl-notice[data-type=error]{background:#fef2f2;color:#991b1b}.cl-notice[data-type=warning]{background:#fffbeb;color:#92400e}.cl-notice[data-type=success]{background:#ecfdf5;color:#166534}.cl-grid{max-width:1220px;min-height:min(620px,calc(100dvh - 190px));margin:auto;display:grid;grid-template-columns:minmax(280px,350px) minmax(0,1fr);gap:18px}.cl-setup,.cl-live{min-width:0;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 12px 36px #0f172a0f}.cl-setup{padding:22px}.cl-setup h2{margin:0 0 16px}.cl-setup label{display:grid;gap:6px;margin:0 0 14px;color:#475569;font-weight:600}.cl-setup input,.cl-setup select,.cl-setup textarea{width:100%;min-height:44px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#172033;padding:10px 11px;font:inherit}.cl-setup textarea{min-height:76px;resize:vertical}.cl-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.cl-pwa-card{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px;padding:11px;border:1px solid #99f6e4;border-radius:12px;background:#f0fdfa}.cl-pwa-card[hidden]{display:none}.cl-pwa-card div{min-width:0;display:grid;gap:2px}.cl-pwa-card strong{color:#115e59;font-size:13px}.cl-pwa-card span{color:#47736f;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.cl-pwa-card button{flex:0 0 auto;min-height:40px;border:0;border-radius:9px;background:#0f766e;color:#fff;padding:8px 10px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;touch-action:manipulation}.cl-pwa-card.is-installed{border-color:#bbf7d0;background:#f0fdf4}.cl-pwa-card.is-installed strong{color:#166534}.cl-permission{display:flex;gap:8px;align-items:center;margin:5px 0 14px;color:#64748b}.cl-dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#94a3b8}.cl-dot[data-state=granted]{background:#16a34a}.cl-dot[data-state=denied]{background:#dc2626}.cl-primary{width:100%;min-height:48px;border:0;border-radius:12px;background:var(--cl-accent);color:#fff;padding:13px;font-size:15px;font-weight:750;cursor:pointer;touch-action:manipulation}.cl-primary:disabled{opacity:.55}.cl-primary--stop{background:#b91c1c}.cl-mobile-tip{margin:12px 0 0;color:#64748b;font-size:12px}.cl-live{display:flex;flex-direction:column;overflow:hidden}.cl-live-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:17px 20px;border-bottom:1px solid #e2e8f0}.cl-live-head>div:first-child{flex:0 0 auto;display:flex;align-items:center;white-space:nowrap;word-break:keep-all}.cl-live-head [data-live-status]{white-space:nowrap;word-break:keep-all}.cl-live-actions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:10px}.cl-live-actions .cl-history-toggle{flex:0 0 auto}.cl-status-dot{flex:0 0 auto;display:inline-block;width:10px;height:10px;margin-right:8px;border-radius:50%;background:#94a3b8}.cl-status-dot.is-live{background:#ef4444;box-shadow:0 0 0 5px #fee2e2}.cl-badges{min-width:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.cl-badges span{border-radius:999px;background:#f1f5f9;color:#64748b;padding:4px 8px;font-size:11px}.cl-meter{height:4px;background:#e2e8f0}.cl-meter i{display:block;width:2%;height:100%;background:linear-gradient(90deg,#14b8a6,#22c55e,#eab308);transition:width .12s}.cl-quality{padding:8px 20px;background:#f8fafc;color:#64748b;font-size:12px;overflow-wrap:anywhere}.cl-processing{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 20px;border-top:1px solid #e2e8f0;background:#f8fafc;color:#64748b;font-size:12px}.cl-processing[hidden]{display:none}.cl-processing[data-type=working]{background:#eff6ff;color:#1d4ed8}.cl-processing[data-type=success]{background:#ecfdf5;color:#166534}.cl-processing[data-type=warning]{background:#fffbeb;color:#92400e}.cl-processing[data-type=error]{background:#fef2f2;color:#991b1b}.cl-processing button{flex:0 0 auto;min-height:36px;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;padding:5px 8px;font:inherit;font-weight:700}.cl-transcript{flex:1;min-height:0;overflow:auto;padding:22px;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.cl-empty{height:100%;min-height:320px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;color:#64748b;text-align:center}.cl-empty div{font-size:42px}.cl-empty strong{color:#334155;font-size:18px}.cl-segment{max-width:760px;margin:0 0 18px;padding:0 0 18px;border-bottom:1px solid #edf2f7}.cl-segment time{color:#94a3b8;font-size:11px}.cl-segment p{margin:5px 0}.cl-segment-target{color:#0f172a;font-size:clamp(18px,2.2vw,24px);line-height:1.55}.cl-segment-source{color:#64748b}.cl-history{position:absolute;inset:0 0 0 auto;z-index:20;width:min(440px,100%);overflow:auto;background:#fff;box-shadow:-18px 0 55px #0f172a2e;padding:22px}.cl-history[hidden]{display:none}.cl-history header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid #e2e8f0;padding-bottom:14px}.cl-history h2,.cl-history p{margin:0}.cl-history p{color:#64748b;font-size:12px}.cl-history-list{display:grid;gap:10px;margin-top:16px}.cl-history-item{display:grid;gap:4px;border:1px solid #e2e8f0;border-radius:12px;padding:14px}.cl-history-item span{color:#64748b;font-size:12px}.cl-history-item div{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.cl-history-empty{padding:60px 0;color:#94a3b8;text-align:center}@media (max-width: 1024px){.cl-root{padding:clamp(14px,2.2vw,24px)}.cl-grid{grid-template-columns:minmax(270px,320px) minmax(0,1fr);gap:14px}.cl-setup{padding:18px}.cl-pwa-card button{min-height:44px}}@media (max-width: 760px){.cl-root{padding:10px max(10px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}.cl-grid{min-height:0;grid-template-columns:minmax(0,1fr);gap:12px}.cl-setup{padding:16px;border-radius:15px}.cl-setup input,.cl-setup select,.cl-setup textarea{font-size:16px}.cl-live{min-height:clamp(430px,62dvh,720px);border-radius:15px}.cl-live-head{align-items:flex-start;padding:14px}.cl-badges{justify-content:flex-end}.cl-live-actions{flex-wrap:wrap}.cl-history-toggle{min-height:44px}.cl-quality,.cl-processing{padding-inline:14px}.cl-processing{align-items:flex-start}.cl-processing button{white-space:nowrap}.cl-two{grid-template-columns:minmax(0,1fr);gap:0}.cl-transcript{padding:16px}.cl-segment-target{font-size:19px}.cl-history{position:fixed;inset:0;z-index:1200;width:100%;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}}@media (max-width: 420px){.cl-pwa-card{align-items:stretch;flex-direction:column}.cl-pwa-card button{width:100%;min-height:44px}.cl-live-head{flex-direction:column}.cl-live-actions{width:100%}.cl-badges{flex:1 1 auto;justify-content:flex-start}}@media (max-width: 760px) and (max-height: 520px) and (orientation: landscape){.cl-live{min-height:340px}}@media (prefers-reduced-motion: reduce){.cl-meter i,.cl-transcript{scroll-behavior:auto;transition:none}}@media (prefers-color-scheme: dark){.cl-root{background:#0f172a;color:#e5e7eb}.cl-setup,.cl-live,.cl-history{border-color:#334155;background:#111827}.cl-setup input,.cl-setup select,.cl-setup textarea,.cl-history-toggle,.cl-history button{border-color:#475569;background:#172033;color:#e5e7eb}.cl-live-head,.cl-segment,.cl-history header{border-color:#334155}.cl-quality,.cl-badges span{background:#172033}.cl-segment-target,.cl-empty strong{color:#f8fafc}.cl-pwa-card{border-color:#285e58;background:#102927}.cl-pwa-card strong{color:#99f6e4}.cl-pwa-card span{color:#94a3b8}}
