.pf-corrections{display:flex;flex-direction:column;gap:var(--sp-md)}.pf-group{border:1px solid var(--line);border-radius:var(--r);padding:var(--sp-sm) var(--sp-md);background:var(--bg-2)}.pf-group-head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-sm);margin-bottom:6px}.pf-group-head h4{margin:0;font-size:13px;font-weight:600;color:var(--dim)}.pf-items{list-style:none;margin:0;padding:0;gap:8px}.pf-item,.pf-items{display:flex;flex-direction:column}.pf-item{gap:2px}.pf-item-main{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;cursor:pointer}.pf-before{text-decoration:line-through;color:var(--red)}.pf-after{color:var(--lime);font-weight:500}.pf-arrow{color:var(--dim)}.pf-reason{margin:0 0 0 24px}.pf-item-unresolved{opacity:.6}.pf-item-unresolved .pf-item-main{cursor:default}.pf-unresolved-note{margin:0 0 0 24px;color:var(--amber)}.my-texts-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end}.my-texts-toolbar .my-texts-search{flex:1 1 260px;min-width:200px}.my-texts-toolbar-field{display:grid;grid-gap:5px;gap:5px;font-family:var(--mono);font-size:10px;color:var(--faint);text-transform:uppercase}.my-texts-toolbar-field select{min-width:100px}.my-texts-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.chip-btn{padding:5px 11px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--dim);font-size:12px;cursor:pointer;transition:border-color .12s,color .12s,background .12s}.chip-btn:hover{color:var(--fg);border-color:var(--line-strong,var(--line))}.chip-btn.is-active{background:var(--accent);border-color:var(--accent);color:var(--on-accent,#fff)}.my-texts-table .my-text-row{cursor:pointer}.my-text-title{display:block;max-width:46ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:560px){.table-cards .my-text-title{max-width:none;overflow:visible;white-space:normal;overflow-wrap:anywhere}}.my-text-drawer-backdrop{justify-content:flex-end;align-items:stretch;padding:0}.my-text-drawer{width:560px;max-width:96vw;height:100%;background:var(--bg-2);border-left:1px solid var(--line);display:flex;flex-direction:column;box-shadow:var(--popover-shadow)}.mtd-head{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line)}.mtd-who{flex:1 1;min-width:0}.mtd-title{font-weight:620;font-size:15px;overflow-wrap:anywhere}.mtd-chips{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:7px}.mtd-body{flex:1 1;overflow-y:auto;padding:6px 18px 24px;gap:6px}.mtd-body,.mtd-section{display:flex;flex-direction:column}.mtd-section{padding:16px 0;border-bottom:1px solid var(--line-soft);gap:12px}.mtd-section:last-child{border-bottom:none}.mtd-section-title{margin:0;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--faint);font-weight:650}.mtd-params{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px 12px;gap:8px 12px;margin:0}.mtd-param{min-width:0}.mtd-param dt{font-family:var(--mono);font-size:10px;color:var(--faint);text-transform:uppercase}.mtd-param dd{margin:3px 0 0;overflow-wrap:anywhere;font-size:13px}.mtd-section .readonly-content{max-height:340px;overflow-y:auto}.mtd-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:14px 18px;border-top:1px solid var(--line);background:var(--bg-2)}.content-generation-page .generation-flow-strip{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.video-flow-strip .video-flow-all{box-shadow:inset 0 0 0 1px var(--board-line)}.video-flow-strip button.generation-flow-step{border:0;font:inherit;text-align:left;color:var(--board-ink);cursor:pointer;width:100%}.video-flow-strip .generation-flow-step.active{background:var(--board-cell);box-shadow:inset 3px 0 0 var(--board-amber)}.video-flow-strip .generation-flow-step.active span{color:var(--board-amber)}.video-flow-strip .generation-flow-step.active b{color:var(--board-ink)}.video-flow-strip .generation-flow-step.active small{color:var(--dim)}.video-flow-strip .generation-flow-step.active:hover{background:color-mix(in srgb,var(--board-cell) 70%,var(--board-ink))}.video-flow-strip .generation-flow-step.selected{background:var(--board-amber);color:var(--board-amber-ink)}.video-flow-strip .generation-flow-step.selected b,.video-flow-strip .generation-flow-step.selected small,.video-flow-strip .generation-flow-step.selected span{color:var(--board-amber-ink)}.video-flow-strip .generation-flow-step.selected:hover{background:var(--board-amber)}.video-rows-table table{min-width:900px;table-layout:fixed;width:100%}.video-rows-table td{vertical-align:top}.video-rows-table td:first-child,.video-rows-table th:first-child{width:40px}.video-rows-table td:nth-child(2),.video-rows-table th:nth-child(2){width:240px}.video-rows-table td:nth-child(3),.video-rows-table th:nth-child(3){width:72px}.video-rows-table td:nth-child(4),.video-rows-table td:nth-child(5),.video-rows-table th:nth-child(4),.video-rows-table th:nth-child(5){width:150px}.video-rows-table td:nth-child(6),.video-rows-table th:nth-child(6){width:248px}.video-row-title{display:block;font-weight:500}.video-rows-table .sub{display:block;color:var(--dim);font-size:12px;margin-top:2px}.video-rows-table .form-err{font-size:12px}.video-row-own{display:block;font-size:12px;margin-top:2px;color:var(--amber)}.video-bulk-bar,.video-plan-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.video-plan-summary{border-bottom:1px solid var(--line-soft)}.video-plan-summary .pchip{border:1px solid var(--line);border-radius:100px;padding:3px 10px;font-size:11px;color:var(--dim)}.video-plan-summary .btn{margin-left:auto}.inline-field{display:flex;align-items:center;gap:8px}.inline-field select{width:auto;min-width:180px}@media (max-width:560px){.video-rows-table.table-cards table{min-width:0;width:100%;table-layout:auto}.video-rows-table.table-cards td,.video-rows-table.table-cards th{width:auto}.video-row-actions{width:100%}.video-bulk-bar .btn,.video-row-actions .btn{flex:1 1;min-height:44px}.inline-field{width:100%}.inline-field select{width:100%;min-width:0}.video-plan-summary .btn{margin-left:0;width:100%;min-height:44px}}.my-videos-page,.video-order-tool{display:flex;flex-direction:column;gap:16px}.video-order-tool .panel-b{display:flex;flex-direction:column;gap:14px}.video-order-tool .field{margin-bottom:0}.video-order-tool .form-err{margin:0}.video-order-stages{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.video-order-tool .page-head .video-order-stages{margin-left:auto;padding-bottom:3px}.video-order-stage{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--faint)}.video-order-stage-dot{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-family:var(--mono);font-size:10px;border:1px solid var(--line);background:var(--bg-2)}.video-order-stage.is-done{color:var(--lime)}.video-order-stage.is-done .video-order-stage-dot{border-color:var(--lime);color:var(--lime)}.video-order-stage.is-active{color:var(--txt);font-weight:500}.video-order-stage.is-active .video-order-stage-dot{border-color:var(--accent);background:var(--accent);color:var(--accent-fg)}.seg-group{display:flex;flex-wrap:wrap;gap:6px}.video-order-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-gap:16px;gap:16px;align-items:start}.video-order-form-main,.video-order-form-side{display:flex;flex-direction:column;gap:14px;min-width:0}.video-order-form-side{position:-webkit-sticky;position:sticky;top:12px}.video-order-frame-preview{display:flex;align-items:flex-end;gap:8px;margin-top:8px}.video-order-form-side .video-order-frame-preview{flex-direction:column;align-items:flex-start;margin-top:0}.video-order-form-side .video-order-frame{height:150px}.video-order-frame{height:64px;border:1px dashed var(--faint);border-radius:4px;background:var(--media-gradient)}.video-order-frame[data-ratio="9:16"]{aspect-ratio:9/16}.video-order-frame[data-ratio="16:9"]{aspect-ratio:16/9}.video-order-frame[data-ratio="1:1"]{aspect-ratio:1}.video-order-presenters{display:grid;grid-template-columns:repeat(auto-fill,120px);grid-gap:8px;gap:8px}.video-order-presenter{padding:6px;text-align:left;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--bg-2);color:inherit;font:inherit;cursor:pointer;display:flex;flex-direction:column;gap:5px}.video-order-presenter:hover{border-color:var(--faint)}.video-order-presenter.is-active{border-color:var(--accent);border-width:2px;padding:5px}.video-order-presenter img{width:100%;border-radius:4px;display:block}.video-order-presenter-blank{height:70px;border-radius:4px;background:var(--bg-3)}.video-order-presenter-name{font-size:12px}.video-order-estimate{display:flex;flex-direction:column;gap:4px;background:var(--bg-2);border:1px solid var(--line);border-radius:var(--r-sm);padding:12px 16px}.video-order-estimate-amount{font-size:14px}.video-order-estimate-amount b{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.video-order-scenes{display:flex;flex-direction:column;gap:8px}.video-order-scene{display:grid;grid-template-columns:64px minmax(0,1fr);grid-gap:12px;gap:12px;border:1px solid var(--line);border-radius:var(--r-sm);padding:12px;background:var(--bg-2)}.video-order-scene-no{font-family:var(--mono);font-size:11px;color:var(--faint);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:1.4}.video-order-scene p{margin:0}.video-order-scene-visual{margin-top:6px;font-size:12px;color:var(--dim)}.video-order-script-raw{white-space:pre-wrap;font:inherit;margin:0;color:var(--dim)}.video-order-render-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-start;border-top:1px solid var(--line-soft);padding-top:12px}.video-order-render-bar .actions{order:-1}.video-order-tool .panel-b.video-order-waiting{flex-direction:row;align-items:center;gap:10px}.video-order-tool .panel-b.video-order-result{align-items:center}.video-order-result-main{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;max-width:520px;min-width:0}.video-order-result-main[data-ratio="9:16"]{max-width:300px}.video-order-result-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:100%;margin-top:4px}.video-order-result-actions .btn{flex:1 1;min-width:130px;max-width:200px;justify-content:center;min-height:36px}.video-order-stage-frame{width:100%;max-width:520px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--board-bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px;text-align:center}.video-order-stage-frame[data-ratio="16:9"]{aspect-ratio:16/9}.video-order-stage-frame[data-ratio="1:1"]{aspect-ratio:1}.video-order-stage-frame[data-ratio="9:16"]{aspect-ratio:9/16;max-width:300px}.video-order-tool .panel-b>.video-order-stage-frame{margin-inline:auto}.video-order-stage-frame-title{margin:0;font-size:14px;font-weight:600}.video-order-stage-frame .sub{max-width:34ch}.storyboard-collapsible[hidden]{display:none}.storyboard-toggle{border:0;background:none;padding:0;font:inherit;color:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:6px}.storyboard-toggle:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:3px}.storyboard-toggle:before{content:"";width:0;height:0;flex:none;border:5px solid transparent;border-left:5px solid var(--faint);margin-left:2px;transition:rotate .15s ease}.storyboard-toggle[aria-expanded=true]:before{rotate:90deg}@media (prefers-reduced-motion:reduce){.storyboard-toggle:before{transition:none}}.storyboard-shot{position:relative;overflow:hidden;border-radius:4px;background:var(--board-bg);isolation:isolate;--storyboard-subs-color:var(--overlay-fg);--storyboard-title-color:var(--overlay-fg)}.storyboard-shot[data-ratio="9:16"]{aspect-ratio:9/16}.storyboard-shot[data-ratio="16:9"]{aspect-ratio:16/9}.storyboard-shot[data-ratio="1:1"]{aspect-ratio:1}.storyboard-shot-bg{position:absolute;inset:0;background:var(--media-gradient) center/cover no-repeat}.storyboard-shot-bg[data-image=on]{background-color:var(--board-bg)}.storyboard-shot-presenter{position:absolute;left:50%;bottom:0;translate:-50% 0;height:62%;aspect-ratio:5/6;opacity:.9}.storyboard-shot-presenter:after,.storyboard-shot-presenter:before{content:"";position:absolute;background:var(--presenter-ink)}.storyboard-shot-presenter:before{left:29%;top:8%;width:42%;aspect-ratio:1;border-radius:50%}.storyboard-shot-presenter:after{left:6%;right:6%;bottom:0;height:52%;border-radius:50% 50% 0 0/70% 70% 0 0}.storyboard-shot-cut{inset:0;place-items:center;text-align:center;color:var(--clip-ink);font-size:15px}.storyboard-shot-cut,.storyboard-shot-over{position:absolute;display:grid;background:var(--clip-fill) center/cover no-repeat;font-family:var(--mono)}.storyboard-shot-over{right:6%;top:6%;width:38%;aspect-ratio:16/9;border-radius:3px;border:1px solid var(--line-soft);place-items:center;color:var(--clip-ink);font-size:10px}.storyboard-shot-logo{position:absolute;border-radius:3px;background:var(--accent) center/contain no-repeat;color:var(--accent-fg);display:grid;place-items:center;font-family:var(--mono);font-size:8px;letter-spacing:.04em;aspect-ratio:5/2}.storyboard-shot[data-logo-size=s] .storyboard-shot-logo{width:18%}.storyboard-shot[data-logo-size=m] .storyboard-shot-logo{width:26%}.storyboard-shot[data-logo-size=l] .storyboard-shot-logo{width:36%}.storyboard-shot[data-logo-corner=tl] .storyboard-shot-logo{top:5%;left:5%}.storyboard-shot[data-logo-corner=tr] .storyboard-shot-logo{top:5%;right:5%}.storyboard-shot[data-logo-corner=bl] .storyboard-shot-logo{bottom:5%;left:5%}.storyboard-shot[data-logo-corner=br] .storyboard-shot-logo{bottom:5%;right:5%}.storyboard-shot-subs{position:absolute;left:6%;right:6%;text-align:center;line-height:1.25;font-weight:600;color:var(--storyboard-subs-color);text-shadow:0 1px 2px rgba(0,0,0,.65)}.storyboard-shot[data-subs-pos=bottom] .storyboard-shot-subs{bottom:7%}.storyboard-shot[data-subs-pos=middle] .storyboard-shot-subs{top:50%;translate:0 -50%}.storyboard-shot[data-subs-pos=top] .storyboard-shot-subs{top:7%}.storyboard-shot[data-subs-size=s] .storyboard-shot-subs{font-size:6px}.storyboard-shot[data-subs-size=m] .storyboard-shot-subs{font-size:8px}.storyboard-shot[data-subs-size=l] .storyboard-shot-subs{font-size:10px}.storyboard-shot[data-ratio="9:16"]{--storyboard-lift:17%}.storyboard-shot[data-ratio="1:1"]{--storyboard-lift:24%}.storyboard-shot[data-ratio="16:9"]{--storyboard-lift:35%}.storyboard-shot[data-logo=on][data-logo-corner=bl][data-subs-pos=bottom] .storyboard-shot-subs,.storyboard-shot[data-logo=on][data-logo-corner=br][data-subs-pos=bottom] .storyboard-shot-subs{bottom:var(--storyboard-lift)}.storyboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-gap:14px;gap:14px;align-items:start}.storyboard-col,.storyboard-side{display:flex;flex-direction:column;gap:10px;min-width:0}.storyboard-side{position:-webkit-sticky;position:sticky;top:12px}.storyboard-body{padding-top:0}.storyboard-fit{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.storyboard-fit span{min-width:0}.storyboard-script{border:1px solid var(--line);border-radius:var(--r-sm);background:var(--bg-2);padding:8px 12px}.storyboard-script summary{cursor:pointer;font-size:12px;color:var(--dim)}.storyboard-script summary:hover{color:var(--txt)}.storyboard-script-b{margin:10px 0;white-space:pre-wrap;font:inherit;font-size:12px;line-height:1.5;color:var(--dim);max-height:260px;overflow:auto}.storyboard-strip{display:flex;align-items:flex-start;gap:8px;overflow-x:auto;padding:2px 2px 8px;scroll-snap-type:x proximity;overscroll-behavior-x:contain}.storyboard-strip::-webkit-scrollbar{height:7px}.storyboard-strip::-webkit-scrollbar-thumb{background:var(--line);border-radius:4px}.storyboard-tile{flex:0 0 92px;scroll-snap-align:start;display:flex;flex-direction:column;gap:4px;padding:4px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--bg-2);color:inherit;font:inherit;text-align:left;cursor:pointer}.storyboard-tile:hover{border-color:var(--faint)}.storyboard-tile.is-active{flex:0 0 176px;border-color:var(--accent);border-width:2px;padding:3px}.storyboard-tile.is-active .storyboard-shot-subs{font-size:11px}.storyboard-tile.is-active .storyboard-shot-logo{font-size:10px}.storyboard-tile.is-active .storyboard-shot-cut{font-size:22px}.storyboard-tile:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.storyboard-add{flex:0 0 18px;align-self:stretch;min-height:64px;display:flex;align-items:center;justify-content:center;padding:0;border:1px dashed var(--line);border-radius:var(--r-sm);background:transparent;color:var(--faint);font:inherit;font-size:14px;line-height:1;cursor:pointer}.storyboard-add:hover{border-color:var(--accent);color:var(--accent)}.storyboard-add:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.storyboard-add:disabled{opacity:.45;cursor:not-allowed}.storyboard-tile-head{display:flex;align-items:baseline;gap:5px;font-family:var(--mono);font-size:9.5px;color:var(--faint);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.storyboard-tile-no{color:var(--txt)}.storyboard-guess{font-style:italic}.storyboard-tile-marks{display:flex;gap:3px;min-height:5px}.storyboard-mark{width:5px;height:5px;border-radius:50%;background:var(--accent)}.storyboard-mark.is-image{background:var(--lime)}.storyboard-editor{display:flex;flex-direction:column;gap:10px;min-width:0}.storyboard-scene-text{max-width:var(--measure-text);min-height:62px;font-size:12.5px}.storyboard-note{margin:0}.storyboard-file,.storyboard-note{font-size:11.5px;color:var(--faint)}.storyboard-file{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-insert{display:grid;grid-template-columns:34px minmax(0,1fr) auto;grid-gap:8px;gap:8px;align-items:center;padding:5px 6px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--bg)}.storyboard-insert-thumb{aspect-ratio:1;border-radius:3px;display:grid;place-items:center;font-size:12px;background:var(--clip-fill) center/cover no-repeat;color:var(--clip-ink)}.storyboard-insert-body{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:0}.storyboard-insert-name{font-size:11.5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-insert select{min-height:26px;padding:1px 5px;font-size:11px;width:auto}.storyboard-insert-secs,.storyboard-insert-sound{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px;color:var(--faint)}.storyboard-insert-secs input{width:56px;min-height:26px;padding:1px 5px;font-size:11px}.storyboard-remove{border:0;background:none;color:var(--faint);cursor:pointer;font-size:13px;line-height:1;padding:3px 5px;border-radius:3px}.storyboard-remove:hover:not(:disabled){color:var(--txt);background:var(--bg-3)}.storyboard-remove:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.storyboard-styling{display:flex;flex-direction:column;min-width:0}.storyboard-field{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:8px;gap:8px;align-items:center;padding:7px 0;border-top:1px solid var(--line-soft)}.storyboard-field-l{font-size:11.5px;color:var(--dim)}.storyboard-field-c{display:flex;justify-content:flex-end;gap:5px;align-items:center;flex-wrap:wrap;min-width:0}.storyboard-card{border:1px solid var(--line);border-radius:var(--r);background:var(--bg-2);margin-bottom:9px}.storyboard-card-h{display:flex;align-items:center;gap:8px;padding:8px 10px;font-size:12px;font-weight:600}.storyboard-card-h .toggle{margin-left:auto}.storyboard-card-b{display:flex;flex-direction:column;min-width:0;padding:0 10px 8px;border-top:1px solid var(--line-soft)}.storyboard-card-b>.storyboard-field:first-child{border-top:0}.storyboard-seg{display:inline-flex;border:1px solid var(--line);border-radius:var(--r-sm);overflow:hidden}.storyboard-seg button{padding:4px 9px;font-size:11px;line-height:1.5;min-height:28px;cursor:pointer;background:var(--bg-2);color:var(--dim);border:0;border-left:1px solid var(--line);font-family:inherit}.storyboard-seg button:first-child{border-left:0}.storyboard-seg button:hover:not(:disabled){color:var(--txt)}.storyboard-seg button.is-on{background:var(--accent);color:var(--accent-fg)}.storyboard-seg button:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}.storyboard-corners{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:4px;gap:4px;width:72px}.storyboard-corner{position:relative;aspect-ratio:16/10;border:1px solid var(--line);border-radius:3px;background:var(--bg-2);cursor:pointer;padding:0}.storyboard-corner:hover:not(:disabled){border-color:var(--faint)}.storyboard-corner:after{content:"";position:absolute;width:34%;height:22%;border-radius:2px;background:var(--faint)}.storyboard-corner[data-corner=tl]:after{top:14%;left:12%}.storyboard-corner[data-corner=tr]:after{top:14%;right:12%}.storyboard-corner[data-corner=bl]:after{bottom:14%;left:12%}.storyboard-corner[data-corner=br]:after{bottom:14%;right:12%}.storyboard-corner.is-active{border-color:var(--accent);border-width:2px}.storyboard-corner.is-active:after{background:var(--accent)}.storyboard-corner:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.storyboard-range{display:flex;align-items:center;gap:6px;width:100%}.storyboard-range input[type=range]{flex:1 1;min-width:0;accent-color:var(--accent)}.storyboard-range output{font-family:var(--mono);font-size:10.5px;color:var(--faint);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;min-width:32px;text-align:right}.storyboard-swatch{width:20px;height:20px;border-radius:50%;border:1px solid var(--line);cursor:pointer;padding:0}.storyboard-swatch.is-active{border-color:var(--accent);border-width:2px}.storyboard-swatch:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.storyboard-pick{width:26px;height:26px;padding:0;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--bg-2);cursor:pointer}.storyboard-pick::-webkit-color-swatch-wrapper{padding:2px}.storyboard-pick::-webkit-color-swatch{border:0;border-radius:3px}.storyboard-pick::-moz-color-swatch{border:0;border-radius:3px}.storyboard-pick:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.storyboard-lock{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:6px 0 0;font-size:11px;color:var(--dim);border:1px dashed var(--faint);border-radius:var(--r-sm);padding:8px 10px;background:var(--bg)}.storyboard-lock p{margin:0}.storyboard-picker-body{display:flex;flex-direction:column;gap:12px}.storyboard-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));grid-gap:8px;gap:8px;list-style:none;margin:0;padding:0;max-height:320px;overflow:auto}.storyboard-picker[data-kind=audio]{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.storyboard-picker[data-kind=audio] .storyboard-picker-thumb{aspect-ratio:auto;height:44px}.storyboard-picker-cell{position:relative}.storyboard-picker-x{position:absolute;top:3px;right:3px}.storyboard-picker-item,.storyboard-picker-x{background:var(--bg-2);border:1px solid var(--line)}.storyboard-picker-item{display:flex;flex-direction:column;gap:5px;width:100%;padding:5px;border-radius:var(--r-sm);color:inherit;font:inherit;text-align:left;cursor:pointer}.storyboard-picker-item:hover{border-color:var(--faint)}.storyboard-picker-item:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.storyboard-picker-thumb{aspect-ratio:16/9;border-radius:3px;display:grid;place-items:center;font-size:16px;background:var(--clip-fill) center/cover no-repeat;color:var(--clip-ink)}.storyboard-picker-name{font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-edge-thumb{flex:0 0 auto;width:40px;aspect-ratio:16/9;border-radius:3px;display:grid;place-items:center;font-size:12px;background:var(--clip-fill) center/cover no-repeat;color:var(--clip-ink)}.storyboard-edge-preview{margin:0 0 7px auto;width:min(260px,100%)}.storyboard-edge-preview img{display:block;width:100%;height:auto;border-radius:6px}.storyboard-picker-item:disabled{cursor:default;opacity:.55}.storyboard-picker-state{font-size:10.5px;color:var(--faint);font-family:var(--mono)}.storyboard-picker-audio{display:block;width:100%;height:32px;margin-top:5px}.storyboard-picker-video{display:block;width:100%;max-height:180px;margin-top:5px;border-radius:6px;background:#000}.storyboard-generator{display:flex;flex-direction:column;gap:10px;min-width:0}.storyboard-generator textarea{font-size:12.5px}.storyboard-generator .storyboard-field{border-top:0;padding-top:0}.storyboard-generator-busy{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:28px 12px}.storyboard-generator-busy p{margin:0}.storyboard-generator-preview{display:block;width:100%;max-height:min(52vh,420px);border-radius:8px;background:#000;object-fit:contain}.my-videos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-gap:12px;gap:12px}.my-video-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--bg-2)}.my-video-thumb{display:grid;place-items:center;background:var(--media-gradient);border-bottom:1px solid var(--line-soft);min-height:120px}.my-video-body{display:flex;flex-direction:column;gap:8px;padding:12px;flex:1 1}.my-video-body h2{margin:0;font-size:14px;font-weight:600}.my-video-meta{margin:0;font-family:var(--mono);font-size:11px;color:var(--faint);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.my-video-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}@media (max-width:820px){.storyboard-layout,.video-order-form-layout{grid-template-columns:minmax(0,1fr)}.storyboard-side,.video-order-form-side{position:static}}@media (max-width:720px){.video-order-tool .page-head .video-order-stages{margin-left:0;width:100%;padding-bottom:0}}@media (max-width:560px){.my-video-actions,.video-order-render-bar .actions{width:100%}.my-video-actions .btn,.video-order-render-bar .btn{flex:1 1;min-height:44px}.storyboard-seg button{min-height:44px}.storyboard-corner{min-height:40px}.storyboard-corners{width:132px}.storyboard-swatch{width:36px;height:36px}.storyboard-pick{width:40px;height:40px}.storyboard-insert{grid-template-columns:34px minmax(0,1fr)}.storyboard-insert select,.storyboard-insert-secs input{min-height:40px}}.storyboard-shot-title{position:absolute;left:6%;right:6%;text-align:center;font-weight:700;line-height:1.15;color:var(--storyboard-title-color);text-shadow:0 1px 2px rgba(0,0,0,.85);overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.storyboard-shot[data-title=off] .storyboard-shot-title{display:none}.storyboard-shot[data-title-pos=top] .storyboard-shot-title{top:8%}.storyboard-shot[data-title-pos=middle] .storyboard-shot-title{top:50%;transform:translateY(-50%)}.storyboard-shot[data-title-pos=bottom] .storyboard-shot-title{bottom:14%}.storyboard-shot[data-title-size=s] .storyboard-shot-title{font-size:9px}.storyboard-shot[data-title-size=m] .storyboard-shot-title{font-size:12px}.storyboard-shot[data-title-size=l] .storyboard-shot-title{font-size:15px}.video-order-cancelled-script{margin:8px 0 0;padding:10px 12px;max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:8px;background:var(--bg-2);font-family:var(--mono);font-size:12px;line-height:1.5;color:var(--fg);white-space:pre-wrap;overflow-wrap:anywhere}.media-library{display:grid;grid-gap:16px;gap:16px}.media-library-filters{display:flex;flex-wrap:wrap;gap:6px}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));grid-gap:12px;gap:12px;list-style:none;margin:0;padding:0}.media-card{display:grid;grid-gap:8px;gap:8px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--panel);min-width:0}.media-card-thumb{display:grid;place-items:center;width:100%;aspect-ratio:16/9;border:1px solid var(--line);border-radius:8px;background-color:var(--bg);background-size:cover;background-position:50%;color:var(--dim);font-size:24px;cursor:pointer;padding:0}.media-card-thumb:hover{border-color:var(--acc)}.media-card-body{display:grid;grid-gap:4px;gap:4px;min-width:0}.media-card-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-card-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.media-usage{display:grid;grid-gap:8px;gap:8px;list-style:none;margin:0;padding:0}.media-usage li{display:grid;grid-gap:2px;gap:2px;padding-bottom:8px;border-bottom:1px solid var(--line)}.media-usage li:last-child{border-bottom:0;padding-bottom:0}.media-preview-modal{max-width:860px;width:100%;max-height:90vh;overflow:auto}.admin-hub{display:grid;grid-gap:var(--sp-lg);gap:var(--sp-lg);grid-template-columns:repeat(auto-fit,minmax(300px,1fr));align-items:start}.admin-hub-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.admin-hub-link{display:flex;align-items:flex-start;gap:11px;padding:9px 10px;border-radius:var(--r-sm);color:var(--txt);transition:background .16s}.admin-hub-link:hover{background:var(--bg-3);text-decoration:none}.admin-hub-link:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.admin-hub-icon{flex:0 0 auto;display:block;line-height:0;padding-top:2px;color:var(--dim)}.admin-hub-icon svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8}.admin-hub-text{min-width:0;display:flex;flex-direction:column;gap:2px}.admin-hub-text strong{font-size:13.5px;font-weight:600;line-height:1.25}.admin-hub-hint{font-size:12px;line-height:1.35;color:var(--dim);text-wrap:pretty}.webinar-registrations-table.table-scroll table{min-width:1540px;table-layout:fixed;width:100%}.webinar-registrations-table.table-scroll td:first-child,.webinar-registrations-table.table-scroll th:first-child{width:150px}.webinar-registrations-table.table-scroll td:nth-child(2),.webinar-registrations-table.table-scroll th:nth-child(2){width:160px}.webinar-registrations-table.table-scroll td:nth-child(3),.webinar-registrations-table.table-scroll th:nth-child(3){width:230px}.webinar-registrations-table.table-scroll td:nth-child(4),.webinar-registrations-table.table-scroll th:nth-child(4){width:150px}.webinar-registrations-table.table-scroll td:nth-child(5),.webinar-registrations-table.table-scroll th:nth-child(5){width:130px}.webinar-registrations-table.table-scroll td:nth-child(6),.webinar-registrations-table.table-scroll th:nth-child(6){width:310px}.webinar-registrations-table.table-scroll td:nth-child(7),.webinar-registrations-table.table-scroll th:nth-child(7){width:140px}.webinar-registrations-table.table-scroll td:nth-child(8),.webinar-registrations-table.table-scroll th:nth-child(8){width:150px}.webinar-registrations-table.table-scroll td:nth-child(9),.webinar-registrations-table.table-scroll th:nth-child(9){width:120px}.providers-registry{display:flex;flex-direction:column}.prv-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:var(--sp-md);gap:var(--sp-md);margin-bottom:var(--sp-lg)}.prv-sum{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid var(--line);border-radius:var(--r);background:var(--bg-2);cursor:pointer;text-align:left;font-family:inherit;color:inherit;transition:.14s;min-width:0}.prv-sum:hover{border-color:var(--faint);background:var(--bg-3)}.prv-sum:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.prv-sum.on{border-color:var(--accent);background:var(--accent-soft)}.prv-sum.on .prv-sum-lbl:after{content:" · фильтр";color:var(--accent-fg);opacity:.75}.prv-sum-mark{width:26px;height:26px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;font-size:12px;line-height:1;border:1px solid}.prv-sum-mark.ok{color:var(--lime);border-color:color-mix(in srgb,var(--lime) 40%,transparent);background:var(--lime-soft)}.prv-sum-mark.unknown{color:var(--faint);border-color:var(--line);background:var(--bg-3)}.prv-sum-mark.warning{color:var(--amber);border-color:color-mix(in srgb,var(--amber) 40%,transparent);background:var(--amber-soft)}.prv-sum-mark.error{color:var(--red);border-color:color-mix(in srgb,var(--red) 40%,transparent);background:var(--red-soft)}.prv-sum-txt{min-width:0}.prv-sum-val{display:block;font-family:var(--disp);font-weight:700;font-size:20px;line-height:1.1}.prv-sum-lbl{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:var(--faint);margin-top:3px}@media (max-width:1024px){.prv-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.prv-summary{grid-template-columns:1fr;gap:var(--sp-sm)}}.prv-table.table-scroll table{min-width:1040px;table-layout:fixed;width:100%}.prv-table.table-scroll td:first-child,.prv-table.table-scroll th:first-child{width:194px}.prv-table.table-scroll td:nth-child(2),.prv-table.table-scroll th:nth-child(2){width:132px}.prv-table.table-scroll td:nth-child(3),.prv-table.table-scroll th:nth-child(3){width:126px}.prv-table.table-scroll td:nth-child(4),.prv-table.table-scroll th:nth-child(4){width:158px}.prv-table.table-scroll td:nth-child(5),.prv-table.table-scroll th:nth-child(5){width:150px}.prv-table.table-scroll td:nth-child(6),.prv-table.table-scroll th:nth-child(6){width:96px}.prv-table.table-scroll td:last-child,.prv-table.table-scroll th:last-child{width:184px;text-align:right}.prv-row{cursor:pointer}.prv-row:hover{background:var(--bg-2)}.prv-row:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}.prv-row.off .prv-name{color:var(--dim)}.prv-cell{display:flex;align-items:center;gap:11px;min-width:0}.prv-mark{width:4px;align-self:stretch;min-height:34px;border-radius:2px;flex:0 0 auto}.prv-mark-generation{background:var(--cyan)}.prv-mark-semantic{background:var(--accent)}.prv-mark-media{background:var(--lime)}.prv-mark-storage{background:var(--dim)}.prv-mark-publisher{background:var(--focus)}.prv-id{display:flex;flex-direction:column;gap:1px;min-width:0}.prv-name{font-weight:560}.prv-code,.prv-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prv-code{font-size:11px;color:var(--faint)}.prv-key{display:flex;flex-direction:column;gap:2px;min-width:0}.prv-key-src{font-family:var(--mono);font-size:11.5px;font-weight:600}.prv-key-src.db{color:var(--lime)}.prv-key-src.env{color:var(--cyan)}.prv-key-fp,.prv-key-src.missing{color:var(--faint)}.prv-key-fp{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prv-role{font-size:12.5px}.prv-role.default{font-weight:620}.prv-role.disabled{color:var(--faint)}.pdr-mark{width:4px;align-self:stretch;border-radius:2px;flex:0 0 auto}.pdr-title{font-weight:620;font-size:15px}.pdr-code,.pdr-title{overflow-wrap:anywhere}.pdr-code{font-size:11.5px;color:var(--faint);margin-top:2px}.pdr-close{background:none;border:1px solid var(--line);border-radius:var(--r-sm);color:var(--dim);cursor:pointer;width:32px;height:32px;flex:0 0 auto;display:grid;place-items:center;font-size:16px;line-height:1;transition:.14s}.pdr-close:hover{color:var(--txt);border-color:var(--dim);background:var(--bg-3)}.pdr-close:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.pdr-kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px 12px;gap:10px 12px;margin:0}.pdr-kv div{min-width:0}.pdr-kv dt{font-family:var(--mono);font-size:10px;color:var(--faint);text-transform:uppercase;letter-spacing:.06em}.pdr-kv dd{margin:3px 0 0;overflow-wrap:anywhere;font-size:12.5px}.pdr-kv dd.mono{font-size:11.5px}.pdr-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}.pdr-switch-txt{min-width:0}.pdr-switch-txt b{display:block;font-size:13px;font-weight:600}.pdr-switch-txt span{display:block;font-size:11.5px;color:var(--faint);margin-top:2px}.pdr-radio{display:inline-flex;flex:0 0 auto;font-size:12.5px;color:var(--dim)}.pdr-actions,.pdr-radio{align-items:center;gap:8px}.pdr-actions{display:flex;flex-wrap:wrap}.pdr-actions .hint{flex:1 1 180px;min-width:0}.pdr-secret-grid{display:grid;grid-template-columns:1fr;grid-gap:10px;gap:10px}.pdr-secret-grid .field{margin-bottom:0}.provider-config-grid input,.provider-config-grid select,.provider-config-grid textarea{min-width:0}.pdr-textarea{min-height:320px;font-size:12px;line-height:1.5}@media (max-width:560px){.pdr-kv{grid-template-columns:1fr}.pdr-close{width:44px;height:44px}.pdr-textarea{min-height:220px}}.prompts-manager{display:flex;flex-direction:column}.prm-matrix.table-scroll table{min-width:680px}.prm-cell{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.prm-check{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--dim);min-height:44px}.prm-check input:disabled+span{opacity:.45}.prm-table.table-scroll table{min-width:900px;table-layout:fixed}.prm-table.table-scroll td:first-child,.prm-table.table-scroll th:first-child{width:250px}.prm-table.table-scroll td:nth-child(2),.prm-table.table-scroll th:nth-child(2){width:404px}.prm-table.table-scroll td:nth-child(3),.prm-table.table-scroll th:nth-child(3){width:96px}.prm-table.table-scroll td:last-child,.prm-table.table-scroll th:last-child{width:150px}.prm-row{cursor:pointer}.prm-row:hover{background:var(--bg-2)}.prm-row:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}.prm-purpose{display:flex;flex-direction:column;gap:1px;min-width:0}.prm-purpose b{font-weight:560}.prm-purpose .prv-code{white-space:normal;overflow:visible;overflow-wrap:anywhere;line-height:1.35}.prm-preview{font-size:12px;color:var(--dim);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.prm-len{font-size:11px;color:var(--faint)}@media (max-width:560px){.prm-matrix.table-scroll.table-cards table,.prm-table.table-scroll.table-cards table,.prv-table.table-scroll.table-cards table{min-width:0;width:100%;table-layout:auto}.prm-matrix.table-scroll.table-cards tbody td,.prm-table.table-scroll.table-cards tbody td,.prv-table.table-scroll.table-cards tbody td{width:auto;text-align:left}.prv-table.table-scroll.table-cards .user-row-actions{justify-content:flex-start}.providers-registry .users-toolbar{flex-direction:column;align-items:stretch}.providers-registry .users-toolbar .user-search-input{min-width:0;flex:1 1 auto}.providers-registry .users-toolbar-field select{min-width:0;width:100%}}