:root{--panel1MinW:320px;--sceneDetailMinW:520px;--panel2MinW:780px;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}*{box-sizing:border-box}body{background:#0f1115;color:#eaeef7;margin:0}.app{display:flex;flex-direction:column;height:100vh}.topbar{align-items:center;background:#0c0e13;border-bottom:1px solid #22283a;display:flex;justify-content:space-between;padding:12px 16px}.brand img{display:block;height:auto;max-width:290px;width:auto}.brand{gap:12px}.appBurgerSlot,.brand{align-items:center;display:flex}.hint{font-size:13px;opacity:.7}.main{grid-gap:12px;display:grid;flex:1 1;gap:12px;grid-template-columns:minmax(320px,1fr) minmax(780px,1.1fr);grid-template-columns:minmax(var(--panel1MinW),1fr) minmax(var(--panel2MinW),1.1fr);grid-template-rows:minmax(0,1fr);min-height:0;padding:12px}@media (max-width:980px){.main{grid-auto-rows:minmax(0,1fr);grid-template-columns:1fr}}.panel{background:#121622;border:1px solid #22283a;border-radius:12px}.panel,.panelInner{display:flex;height:100%;min-height:0;min-width:0;overflow:hidden}.panelInner{flex:1 1 auto;flex-direction:column;padding:12px;width:100%}.panelHeader{align-items:center;border-bottom:1px solid #22283a;display:flex;gap:12px;justify-content:space-between;padding-bottom:10px}.panelHeader h2{font-size:16px;margin:0}.panel2Header{align-items:center;border-bottom:1px solid #22283a;display:flex;gap:12px;justify-content:space-between;padding-bottom:23px;padding-top:10px}.panel2Header h2{font-size:16px;margin:0}.panelActions{display:flex;gap:8px}.btn{background:#0c0e13;border:2px solid #2b3550;border-radius:10px;color:#eaeef7;cursor:pointer;padding:8px 10px}.btn:hover{filter:brightness(1.2)}.btn:disabled{cursor:not-allowed;opacity:.5}.btnPrimary{background:#2a3bff;border-color:#2a3bff}.viewToggle{background:#0c0e13;border:1px solid #22283a;border-radius:12px;gap:4px;padding:3px}.viewToggle,.viewToggleBtn{align-items:center;display:inline-flex}.viewToggleBtn{background:#0000;border:1px solid #0000;border-radius:10px;color:#eaeef7;cursor:pointer;height:38px;justify-content:center;transition:background .12s ease,border-color .12s ease,transform .12s ease;width:38px}.viewToggleBtn:hover{background:#121622;border-color:#22283a}.viewToggleBtn:active{transform:translateY(1px)}.viewToggleBtn:disabled{cursor:not-allowed;opacity:.55}.viewToggleBtn.active{background:#39435b;border-color:#6c7ca2;color:#0c0e13}.viewToggleIcon{font-size:18px}.srOnly{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.emptyState{display:grid;min-height:0;padding:265px 18px 18px;place-items:center;text-align:center}.emptyTitle{font-size:16px;font-weight:700;margin-bottom:6px}.emptyText{font-size:14px;line-height:1.4;margin-bottom:32px;max-width:515px;opacity:.75}.meta{display:flex;flex-wrap:wrap;gap:8px;padding:10px 0}.badge{background:#0c0e13;border:1px solid #22283a;border-radius:999px;font-size:12px;opacity:.85;padding:6px 8px}.scriptArea{background:#0c0e13;border:1px solid #22283a;border-radius:10px;color:#eaeef7;flex:1 1;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.45;margin-top:16px;min-height:0;padding:12px;resize:none;width:100%}.scenePanelBody{grid-gap:12px;display:grid;flex:1 1;gap:12px;grid-template-columns:minmax(520px,4fr) minmax(220px,2fr);grid-template-columns:minmax(var(--sceneDetailMinW),4fr) minmax(220px,2fr);min-height:0;padding-top:12px}.sceneList{display:flex;flex-direction:column;gap:8px;min-height:0;min-width:0;overflow:auto}.sceneItem{background:#0c0e13;border:1px solid #22283a;border-radius:12px;color:#eaeef7;cursor:pointer;padding:10px;text-align:left;width:100%}.sceneItem:hover{filter:brightness(1.05)}.sceneItem.active{background-color:#39435b;border-color:#39435b}.sceneItemTop{align-items:flex-start;display:flex;gap:10px;grid-template-columns:44px 1fr;justify-content:space-between;padding-bottom:7px}.sceneIndex{font-size:650;font-weight:700}.sceneTitle{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;line-height:1.2;overflow:hidden}.sceneItemMeta{display:flex;font-size:12px;gap:12px;opacity:.7}.sceneDetail{--sceneTitleRowH:0px;background:#0c0e13;border:1px solid #22283a;border-radius:12px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;min-width:0;overflow:hidden;padding:12px}.sceneDetailScroll{min-height:0;overflow:auto;padding-right:4px}.sceneDetailHeader{display:flex;flex-direction:column;gap:8px;margin-bottom:4px}.sceneDetailTitle{font-size:16px;font-weight:750}.sceneDetailBadges{display:flex;flex-wrap:wrap;gap:8px}.shotEditorBlockFixed{display:flex;flex-direction:column;min-height:0}.shotEditorBlockFixed.isOpen{max-height:320px}.shotEditorBody{flex:1 1 auto;min-height:0;overflow:auto;padding-right:6px;padding-top:10px}.shotEditorHeaderRow{flex:0 0 auto}.shotEditorHeaderLeft{align-items:center;display:flex;gap:10px;min-width:0}.shotEditorToggleBtn{align-items:center;border-radius:10px;display:inline-flex;height:34px;justify-content:center;line-height:1;margin-left:auto;padding:0;width:34px}.lineSceneInstruction{align-items:center;color:#6c7ca2;display:flex;font-size:13px;justify-content:space-between;margin:10px 0 6px;opacity:.75}.sceneExcerptLabel{background:#0c0e13;border:2px solid #39435b;border-radius:999px;padding:6px 8px}.sceneShotEditor{font-size:18px;font-weight:700}.titleTexteAssign{font-size:12px;opacity:.75;padding-bottom:8px}.sceneExcerpt{background:#121622;border:1px solid #22283a;border-radius:10px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12.5px;line-height:1.45;margin:0;padding:12px;white-space:pre-wrap;word-break:break-word}.sceneShotsPlaceholder{border-top:1px solid #22283a;margin-top:12px;padding-top:10px}.sceneDetailActions{align-items:center;display:flex;gap:10px}.sceneDetailActions .rightAction{gap:10px;margin-left:auto}.scenePreviewArea{background:#121622;border:1px solid #22283a;border-radius:10px;color:#eaeef7;flex:1 1;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12.5px;line-height:1.45;min-height:0;padding:12px;resize:none;white-space:pre-wrap;width:100%;word-break:break-word}.sceneShotsBlock{border-top:1px solid #22283a;margin-top:12px;padding-top:10px}.shotList{display:flex;flex-direction:column;gap:8px}.shotItem{background:#0c0e13;border:1px solid #22283a;border-radius:12px;padding:10px}.shotItemTop{align-items:stretch;display:flex;gap:10px}.shotItemMain{flex:1 1;gap:12px;min-width:0}.shotItemMain,.shotNum{align-items:center;display:flex}.shotNum{color:#fff;font-weight:700;opacity:.9}.shotSnippet{color:#fff;line-height:1.35;opacity:.9}.shotItem{cursor:pointer;text-align:left;width:100%}.shotItem.active{border-color:#2a3bff}.shotEditorBlock{border-top:1px solid #22283a;padding-top:10px}.field{min-width:0}.fieldSpan2{grid-column:span 2}.fieldSpan3{grid-column:span 3}.field label{font-size:12px;opacity:.75}.field input,.field select,.field textarea{color:#eaeef7;font-size:13px;padding:10px}.field input,.field select,.field textarea,.shotAssignedText{background:#121622;border:1px solid #22283a;border-radius:10px}.shotAssignedText{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12.5px;line-height:1.45;margin:0;padding:12px;white-space:pre-wrap;word-break:break-word}.shotItemContent{color:#fff;display:flex;flex:1 1;flex-direction:column;gap:6px;min-width:0}.shotItem--classic{height:180px}.shotItem--compact{height:80px}.shotItem--big{height:180px}.shotThumb{background:#ffffff0f;flex:0 0 120px;overflow:hidden;width:120px}.shotThumb img{display:block;height:100%;object-fit:cover;width:100%}.shotThumb.big{width:280px}.shotItem--big .shotTextLine,.shotItem--compact .shotThumb{display:none}.shotDescLine,.shotInfoLine{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modeDropdown{align-items:center;display:inline-flex;position:relative}.modeSelect{background-color:#0c0e13;color:#fff;cursor:pointer;inset:0;opacity:0;position:absolute}.shotItem--compact .shotTextLine{display:none}.shotInfoLine{display:flex;flex-wrap:wrap;gap:6px}.shotTag{background:#121622;border:1px solid #22283a;border-radius:999px;font-size:12px;line-height:1.7;margin-right:5px;padding:2px 8px;white-space:nowrap}.shotTag--empty{opacity:.6}.shotItem--big .shotInfoLine,.shotItem--classic .shotInfoLine,.shotItem--compact .shotInfoLine{max-height:82px}.shotDescLine{line-height:1.25;opacity:.9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shotTextLine{-webkit-line-clamp:3;-webkit-box-orient:vertical;color:grey;display:-webkit-box;line-height:1.35;opacity:.8;overflow:hidden;white-space:pre-wrap;word-break:break-word}.confirmInline{align-items:center;display:flex;gap:10px;justify-content:space-between;line-height:1.2;margin-top:10px;opacity:.9}.scenePreviewRich{background:#121622;border:1px solid #22283a;border-radius:10px;color:#eaeef7;flex:1 1;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12.5px;line-height:1.45;min-height:0;outline:none;overflow:auto;padding:12px;white-space:pre-wrap;width:100%;word-break:break-word}.scenePreviewRich:focus{border-color:#2b3550}.shotMark{--mark-color:#3749bd;background:color-mix(in srgb,var(--mark-color) 22%,#0000);border:1px solid color-mix(in srgb,var(--mark-color) 35%,#0000);border-radius:6px;cursor:pointer;padding:0 1px;transition:background .12s ease,outline-color .12s ease,box-shadow .12s ease,border-color .12s ease}.shotMark:hover{background:color-mix(in srgb,var(--mark-color) 32%,#0000)}.shotMark.active{border-color:color-mix(in srgb,var(--mark-color) 55%,#0000);box-shadow:0 0 0 1px color-mix(in srgb,var(--mark-color) 40%,#0000);outline:2px solid var(--mark-color);outline-offset:1px}.shotMark.active,.shotMark.active:hover{background:color-mix(in srgb,var(--mark-color) 34%,#0000)}.colorRow{flex-wrap:nowrap;min-width:0;overflow:hidden}.colorRow .btn{flex:0 0 auto;white-space:nowrap}.colorInput{background:#121622;border:1px solid #22283a;border-radius:10px;height:34px;padding:0;width:44px}.swatches{display:flex;flex:1 1 auto;flex-wrap:wrap;gap:8px;margin-top:10px;max-width:100%;overflow-x:auto;overflow-y:hidden}.swatchBtn{border:1px solid #ffffff40;border-radius:6px;cursor:pointer;flex:0 0 auto;height:16px;width:16px}.shotColorDot{border:1px solid #ffffff59;border-radius:999px;display:inline-block;height:15px;margin-right:8px;translate:0 1px;width:15px}.panelHeaderLeft{align-items:center;display:flex;gap:8px}.burgerWrap{align-items:center;display:inline-flex;position:relative}.burgerBtn{line-height:1.2;padding:8px 10px}.burgerDropdown{background:#0c0e13;border:1px solid #22283a;border-radius:12px;box-shadow:0 10px 30px #00000059;display:flex;flex-direction:column;gap:4px;left:0;min-width:190px;padding:6px;position:absolute;top:calc(100% + 8px);z-index:50}.burgerItem{align-items:center;background:#0000;border:1px solid #0000;border-radius:10px;color:#eaeef7;cursor:pointer;display:flex;gap:12px;justify-content:space-between;padding:9px 10px;text-align:left;width:100%}.burgerItem:hover{background:#121622;border-color:#22283a}.burgerItem:disabled{cursor:not-allowed;opacity:.45}.burgerItem.danger:hover{border-color:#ff5a5a59}.burgerSep{background:#22283a;height:1px;margin:6px;opacity:.9}.burgerItemLeft{align-items:center;display:flex;gap:10px;min-width:0}.burgerIcon{display:inline-flex;justify-content:center;opacity:.9;width:18px}.burgerLabel{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.burgerRight{font-size:16px;line-height:1;opacity:.65}.burgerItemWrap{position:relative}.burgerSubmenu{background:#0c0e13;border:1px solid #22283a;border-radius:12px;box-shadow:0 10px 30px #00000059;display:flex;flex-direction:column;gap:4px;left:calc(100% + 6px);min-width:220px;padding:6px;position:absolute;top:0;z-index:60}.burgerItem.open{background:#121622;border-color:#22283a}.shotEditorHeaderRow{align-items:center;display:flex;gap:10px;justify-content:flex-start}.shotEditorHeaderRow .sceneExcerptLabel{color:#fff;font-size:20px;font-weight:700;margin:0}.shotNumberPill{align-items:center;background:#121622;border:1px solid #22283a;border-radius:10px;color:#eaeef7;display:inline-flex;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px;justify-content:center;min-width:38px;padding:8px 10px;text-align:center;white-space:nowrap;width:-webkit-fit-content;width:fit-content}.colorRowCompact{gap:8px}.imageRow{align-items:flex-start;display:flex;flex-wrap:nowrap;gap:10px;min-width:0}.imageRow .btn{flex:0 0 auto;white-space:nowrap}.imagePreviewBox{align-items:center;background:#0c0e13;border:1px solid #22283a;display:flex;flex:0 0 auto;height:86px;justify-content:center;overflow:hidden;width:149px}.imagePreviewBox img{display:block;height:auto;object-fit:contain;object-position:center;width:100%}.imagePreviewPlaceholder{font-size:12px;opacity:.6}.sceneTitleRow{align-items:center;background:#222837;border-radius:12px;display:flex;gap:12px;justify-content:space-between;padding:10px 12px;position:-webkit-sticky;position:sticky;top:0;z-index:30}.badgeShots{white-space:nowrap}.sceneDetailActionsSticky{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;position:-webkit-sticky;position:sticky;top:8px;top:calc(var(--sceneTitleRowH, 0px) + 8px);z-index:25}.sceneDetailActionsSticky .confirmInline{margin-top:8px}.shotNumCol{align-items:center;display:flex;flex:0 0 44px;flex-direction:column;font-size:15px;gap:6px;justify-content:space-evenly;width:44px}.shotNumCol .shotColorDot{margin-right:0;translate:0}.shotBigInfo{color:#fff;display:flex;flex:1 1;flex-direction:column;gap:8px;justify-content:center;min-width:0;padding-left:15px}.shotThumb.left{flex:0 0 auto}.shotItem--big{overflow:hidden}.shotItem--big .shotItemTop{align-items:stretch;height:100%}.shotItem--big .shotThumb.big{background-color:initial;border:2px solid #22283a;height:100%;max-height:100%}.shotItem--big .shotThumb.big img{display:block;height:100%;object-fit:cover;width:100%}.shotItem--classic{overflow:hidden}.shotItem--classic .shotItemTop{align-items:stretch;height:100%}.shotItem--classic .shotItemMain{height:100%}.shotItem--classic .shotThumb{background-color:initial;border:2px solid #22283a;flex:0 0 192px;height:108px;max-height:100%;overflow:hidden;width:192px}.shotItem--classic .shotThumb img{display:block;height:100%;object-fit:cover;width:100%}.btnDanger{background-color:#3247ff}.shotItem--big .shotDescLine,.shotItem--big .shotInfoLine{overflow:hidden;text-overflow:clip;white-space:normal;word-break:break-word}.shotItem--big .shotInfoLine{-webkit-box-orient:vertical;-webkit-line-clamp:5;display:-webkit-box}.shotItem--big .shotDescLine{-webkit-line-clamp:6}.shotDescription{background:#121622;border:1px solid #22283a;border-radius:10px;box-sizing:border-box;caret-color:#eaeef7;color:#eaeef7;font-size:13px;line-height:1.35;max-height:190px;min-height:74px;padding:10px;resize:vertical;width:100%}.shotDescription::placeholder{color:#eaeef78c}.shotDescription:focus,.shotDescription:focus-visible{border-color:#22283a;box-shadow:none;outline:none}.shotItem--classic .shotInfoLine,.shotItem--compact .shotInfoLine{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;overflow:hidden;text-overflow:clip;white-space:normal;word-break:break-word}.shotDescriptionBlock{margin-top:8px}.shotEditorSplit{align-items:flex-start;display:flex;margin-top:10px;position:relative}.shotEditorCol{flex:1 1;min-width:0}.shotEditorLeftGrid{grid-gap:10px;display:grid;gap:10px;grid-template-columns:1fr 1fr}.shotEditorRightGrid{grid-gap:10px;display:grid;gap:10px;grid-template-columns:1fr}.imageColumn{display:flex;flex-direction:column;gap:10px;min-width:0}.imageButtonsRow{align-items:center;display:flex;flex-wrap:nowrap;gap:10px}.imageButtonsRow .btn{white-space:nowrap}.BottomShotEditorBlock{margin-top:23px}.shotEditorCol+.shotEditorCol{border-left:1px solid #22283a;margin-left:12px;padding-left:12px}.shotEditorFieldsGrid{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px}.shotEditorAuxGrid{grid-gap:12px;align-items:start;display:grid;gap:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin-top:22px}.imageBlock{align-items:flex-start;display:flex;gap:12px;margin-top:2px}.imageButtonsCol{display:flex;flex:0 0 auto;flex-direction:column;gap:10px}.imageButtonsCol .btn{white-space:nowrap}.shotEditorAuxGrid .field,.shotEditorFieldsGrid .field{display:flex;flex-direction:column;min-width:0}.shotEditorAuxGrid .field>label,.shotEditorFieldsGrid .field>label{display:block;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:root{--shotCtrlH:38px}.shotEditorAuxGrid .field input,.shotEditorAuxGrid .field select,.shotEditorFieldsGrid .field input,.shotEditorFieldsGrid .field select{box-sizing:border-box;height:38px;height:var(--shotCtrlH)}.shotEditorBlock .field textarea{box-sizing:border-box;width:100%}.shotEditorBlock .btn{box-sizing:border-box;height:38px;height:var(--shotCtrlH)}.colorInput{margin-right:11px}.shotEditorTopRow{grid-gap:12px;align-items:start;display:grid;gap:12px;grid-template-columns:2fr 1fr;margin-top:10px}.shotEditorTopDesc,.shotEditorTopHighlight{min-width:0}.shotEditorTopRow .field{display:flex;flex-direction:column;min-width:0}.shotEditorTopRow .field>label{display:block;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shotThumb{display:grid;place-items:center;position:relative}.shotThumbPlaceholder{font-size:12px;opacity:.6;-webkit-user-select:none;user-select:none}.shotThumbActions{display:flex;gap:6px;opacity:0;pointer-events:none;position:absolute;right:8px;top:8px;transition:opacity .12s ease;z-index:2}.shotThumb:hover .shotThumbActions{opacity:1;pointer-events:auto}.shotThumbAction{background:#1d2435;border:1px solid #2b3550;border-radius:8px;cursor:pointer;display:grid;font-size:14px;height:28px;line-height:1;place-items:center;width:28px}.shotThumbAction:hover{filter:brightness(1.15)}.shotThumbAction.disabled{cursor:not-allowed;opacity:.45}.modalOverlay{-webkit-overflow-scrolling:touch;background:#000000a6;overflow:auto;padding:20px}.modalCard{--modalW:660px;background:#0c0e13;border:1px solid #22283a;border-radius:16px;box-shadow:0 10px 30px #00000059;max-height:min(85vh,900px);overscroll-behavior:contain;padding:18px 18px 16px;position:relative;width:min(var(--modalW),95vw)}@supports (height:100dvh){.modalCard{max-height:min(85dvh,900px)}}.modalTitle{font-size:25px;margin:0}.modalBody{flex:1 1 auto;min-height:0}.modalBody a{color:inherit;text-decoration:underline}.modalFooter,.modalHeader,.modalHeaderRow,.storyPdfFooter{flex:0 0 auto}.modalFooter{justify-content:flex-end;margin-top:16px}.modeMenuWrap{position:relative}.modeMenuButton,.modeMenuWrap{align-items:center;display:inline-flex}.modeMenuButton{gap:10px}.modeMenuLabel{opacity:.95}.modeMenuChevron{font-size:12px;opacity:.7;transform:translateY(1px)}.modeMenuPanel{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#14161eeb;border:1px solid #ffffff24;border-radius:14px;box-shadow:0 12px 30px #00000059;padding:6px;position:absolute;right:0;top:calc(100% + 8px);width:250px;z-index:50}.modeMenuItem{align-items:center;background:#0000;border:0;border-radius:12px;color:inherit;cursor:pointer;display:flex;gap:12px;justify-content:space-between;padding:10px;text-align:left;width:100%}.modeMenuItem:hover{background:#ffffff0f}.modeMenuItem.active{background:#ffffff1a}.modeMenuItemLeft{display:flex;flex-direction:column;gap:2px;min-width:0}.modeMenuItemTitle{font-weight:600;line-height:1.1}.modeMenuItemSub{font-size:12px;line-height:1.2;opacity:.75}.modeMenuItemRight{font-weight:700;opacity:.9}.sceneTotals{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#222837e6;border:1px solid #ffffff1f;border-radius:14px;bottom:0;margin-top:auto;padding:10px 12px;position:-webkit-sticky;position:sticky;z-index:10}.sceneTotalsTitle{font-weight:700;letter-spacing:.04em;margin-bottom:8px;opacity:.9}.sceneTotalsRow{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.sceneTotalsRow>span{display:block;line-height:1.2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sceneTotalsRow>span:first-child{text-align:left}.sceneTotalsRow>span:nth-child(2){text-align:center}.sceneTotalsRow>span:nth-child(3){text-align:right}@media (max-width:1100px){.sceneTotalsHeader span{font-size:14px}}.sceneTotalsItemTop{font-size:14px;opacity:.9;overflow-wrap:anywhere;white-space:normal}.sceneTotalsItemValue{font-size:16px;font-weight:800;overflow-wrap:anywhere;white-space:normal}.sceneTotalsItem:first-child{text-align:left}.sceneTotalsItem:nth-child(2){text-align:center}.sceneTotalsItem:nth-child(3){text-align:right}.sceneTotalsHeader span,.sceneTotalsValues span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sceneTotalsRow.isCompact .sceneTotalsItemTop{font-size:14px;min-width:0;overflow:hidden;text-overflow:clip}.sceneTotalsRow.isCompact .sceneTotalsItemTop:after{content:" :";opacity:.85}.sceneTotalsRow.isCompact .sceneTotalsItemValue{overflow:hidden;text-overflow:clip}.sceneTotalsRow.isStacked .sceneTotalsItem{grid-gap:4px;display:grid;gap:4px;grid-template-rows:auto auto}.sceneTotalsRow.isStacked .sceneTotalsItemTop{font-size:14px;opacity:.9;overflow-wrap:anywhere;white-space:normal}.sceneTotalsRow.isStacked .sceneTotalsItemTop:after{content:""}.sceneTotalsRow.isStacked .sceneTotalsItemValue{overflow-wrap:anywhere;white-space:normal}.storyPdfRow{align-items:center;display:flex;gap:12px;margin:10px 0 14px}.storyPdfLabel{font-size:13px;font-weight:700;min-width:140px}.storyPdfSelect{background:#121622;border:1px solid #22283a;color:#eaeef7;flex:0 0 110px;height:38px}.storyPdfGrid{grid-gap:10px 14px;display:grid;gap:10px 14px;grid-template-columns:1fr 1fr;margin-top:8px}.storyPdfCheck{align-items:center;display:inline-flex;font-size:13px;gap:10px;opacity:.95;-webkit-user-select:none;user-select:none}.storyPdfCheck input{height:16px;width:16px}.storyPdfCheckLabel{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12.5px;opacity:.9}.storyPdfFooter{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}.storyPdfInput{background:#121622;border:1px solid #22283a;border-radius:10px;color:#eaeef7;flex:1 1 auto;height:38px;padding:8px 10px}.storyPdfGroups{display:flex;flex-direction:column;gap:10px;margin-top:10px}.storyPdfGroup{background:#121622;border:1px solid #22283a;border-radius:12px;overflow:hidden}.storyPdfGroupHeader{background:#ffffff0f;padding:8px 12px}.storyPdfGroupTitle{font-size:12px;opacity:.9}.storyPdfGroupGrid{grid-gap:10px 14px;display:grid;gap:10px 14px;grid-template-columns:1fr 1fr;padding:10px 12px 12px}.storyPdfGroupSep{background:#ffffff1a;height:2px}.storyPdfSubBlock{background:#0000000a;border:1px solid #00000014;border-radius:12px;margin-top:10px;padding:10px 12px}.storyPdfSubTitle{font-size:13px;font-weight:700;margin-bottom:8px}.storyPdfRadios{grid-gap:8px;display:grid;gap:8px}.storyPdfRadio{align-items:center;display:flex;font-size:14px;gap:10px}.storyPdfHint{font-size:12px;opacity:.7}.storyPdfRowInline{align-items:center;display:flex;gap:10px}.storyPdfInlineLabel{font-size:12px;opacity:.8}.storyPdfSelect{background:#fff;border:1px solid #0000002e;border-radius:10px;flex:1 1;padding:8px 10px}.storyPdfCheck input:disabled+.storyPdfCheckLabel{opacity:.45}.storyPdfSubRow{display:flex;flex-wrap:wrap;gap:12px}.storyPdfSubCol{flex:1 1 240px}.storyPdfNotesSelect{width:56px}.selectLanguage,.storyPdfNotesSelect{background:#111521;border:1px solid #22283a;border-radius:10px;color:#eaeef7;height:34px;padding:4px 6px}.selectLanguage{width:auto}.shotItem--big .shotBigInfo{justify-content:flex-start;min-height:0;overflow:hidden;padding-bottom:4px;padding-top:4px}.shotItem--big .shotInfoLine{--tagRowH:26px;align-content:flex-start;max-height:calc(var(--tagRowH)*4);min-height:var(--tagRowH);overflow:hidden}.shotItem--big .shotDescLine{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-word}@media (max-width:520px){.sceneTotalsRow{grid-template-columns:1fr}.sceneTotalsItem{text-align:left}}.sceneTotalsWrap{min-width:0;position:relative}.sceneTotalsGridBase{display:block}.sceneTotalsValues span{font-weight:800}.sceneTotalsItem,.sceneTotalsItemIcon,.sceneTotalsItemTitle,.sceneTotalsItemValue{min-width:0}.sceneTotalsRow.isCompact .sceneTotalsItem{align-items:baseline;flex-direction:row;gap:6px;overflow:hidden;white-space:nowrap}.sceneTotalsRow.isCompact .sceneTotalsItemIcon{flex:0 0 auto;font-size:14px}.sceneTotalsRow.isCompact .sceneTotalsItemTitle{flex:0 1 auto;font-size:14px;white-space:nowrap}.sceneTotalsRow.isCompact .sceneTotalsItemTitle:after{content:" :";opacity:.85}.sceneTotalsRow.isCompact .sceneTotalsItemValue{flex:0 0 auto;font-size:14px;white-space:nowrap}.sceneTotalsRow.isCompact .sceneTotalsItem:first-child{justify-content:flex-start}.sceneTotalsRow.isCompact .sceneTotalsItem:nth-child(2){justify-content:center}.sceneTotalsRow.isCompact .sceneTotalsItem:nth-child(3){justify-content:flex-end}.sceneTotalsRow.isStacked .sceneTotalsItem{display:flex;flex-direction:column;gap:3px;overflow:visible}.sceneTotalsRow.isStacked .sceneTotalsItemIcon{font-size:18px;line-height:1}.sceneTotalsRow.isStacked .sceneTotalsItemTitle{font-size:12px;opacity:.9;white-space:nowrap}.sceneTotalsRow.isStacked .sceneTotalsItemTitle:after{content:""}.sceneTotalsRow.isStacked .sceneTotalsItemValue{font-size:14px;font-weight:800;white-space:nowrap}.sceneTotalsRow.isStacked .sceneTotalsItem:first-child{align-items:flex-start;text-align:left}.sceneTotalsRow.isStacked .sceneTotalsItem:nth-child(2){align-items:center;text-align:center}.sceneTotalsRow.isStacked .sceneTotalsItem:nth-child(3){align-items:flex-end;text-align:right}.sceneTotalsMeasure{inset:0;opacity:0;pointer-events:none;position:absolute;visibility:hidden}@media (max-width:1020px){.sceneTotals .sceneTotalsRow,.sceneTotalsWrap .sceneTotalsRow{align-items:stretch}.sceneTotals .sceneTotalItem,.sceneTotals .sceneTotalsItem,.sceneTotalsWrap .sceneTotalItem,.sceneTotalsWrap .sceneTotalsItem{align-items:flex-start!important;display:flex!important;flex-direction:column!important;gap:4px;min-width:0}.sceneTotals .sceneTotalLabel,.sceneTotals .sceneTotalsLabel,.sceneTotalsWrap .sceneTotalLabel,.sceneTotalsWrap .sceneTotalsLabel{font-size:12px!important}.sceneTotals .sceneTotalValue,.sceneTotals .sceneTotalsValue,.sceneTotalsWrap .sceneTotalValue,.sceneTotalsWrap .sceneTotalsValue{font-size:14px!important}}.sceneTotalsRow.isCompact .sceneTotalsItem{display:flex;flex-direction:column;gap:3px;overflow:visible}.sceneTotalsRow.isCompact .sceneTotalsItemIcon{font-size:23px;line-height:1}.sceneTotalsRow.isCompact .sceneTotalsItemTitle{font-size:12px;opacity:.9;overflow-wrap:anywhere;white-space:normal}.sceneTotalsRow.isCompact .sceneTotalsItemTitle:after{content:""}.sceneTotalsRow.isCompact .sceneTotalsItemValue{font-size:17px;font-weight:800;overflow-wrap:anywhere;white-space:normal}.sceneTotalsRow.isCompact .sceneTotalsItem:first-child{align-items:flex-start;text-align:left}.sceneTotalsRow.isCompact .sceneTotalsItem:nth-child(2){align-items:center;text-align:center}.sceneTotalsRow.isCompact .sceneTotalsItem:nth-child(3){align-items:flex-end;text-align:right}.shotDeleteRow{align-items:center;display:flex;flex-wrap:nowrap;gap:10px}.shotDeleteRow.hasConfirm button:last-child{margin-left:auto}.settingsCheckboxLabel{align-items:center;cursor:pointer;display:flex;gap:10px;-webkit-user-select:none;user-select:none}.settingsCheckboxLabel input{height:18px;width:18px}.settingsHelp{font-size:12px;line-height:1.35;margin-top:6px;opacity:.75}.settings.alt-title{padding-top:20px}.lockToggle .viewToggleBtn.active{background:#39435b;border-color:#6c7ca2;color:#0c0e13}.scriptArea.isLocked{caret-color:#0000}.viewToggleBtn.dirty{border-color:#2a3bff}.scriptRefreshOptions{display:flex;flex-direction:column;gap:10px}.scriptRefreshOption{align-items:center;background:#0c0e13;border:1px solid #22283a;border-radius:12px;display:flex;gap:10px;padding:10px}.scriptRefreshOptionIcon{font-size:18px;opacity:.9;text-align:center;width:28px}.scriptRefreshOptionText{flex:1 1;min-width:0}.scriptRefreshOptionTitle{font-weight:750}.scriptRefreshOptionDesc{font-size:12px;margin-top:4px;opacity:.75}div.Script.tools{align-items:center;display:inline-flex;gap:4px}div.Script.tools .viewToggleBtn{border-color:#2e3544;color:#0c0e13}:root{--sbSize:12px;--sbPad:6px;--sbRadius:999px;--sbTrack:#ffffff0d;--sbThumb:#2b3550;--sbThumbHover:#39435b;--sbThumbActive:#6c7ca2}*{scrollbar-color:#2b3550 #0000;scrollbar-color:var(--sbThumb) #0000;scrollbar-width:thin}::-webkit-scrollbar{height:12px;height:var(--sbSize);width:12px;width:var(--sbSize)}::-webkit-scrollbar-track{background:#ffffff0d;background:var(--sbTrack);border-radius:999px;border-radius:var(--sbRadius)}::-webkit-scrollbar-track:vertical{margin:6px 0;margin:var(--sbPad) 0}::-webkit-scrollbar-track:horizontal{margin:0 6px;margin:0 var(--sbPad)}::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#2b3550;background-color:var(--sbThumb);border:3px solid #0000;border-radius:999px;border-radius:var(--sbRadius)}::-webkit-scrollbar-thumb:hover{background-color:#39435b;background-color:var(--sbThumbHover)}::-webkit-scrollbar-thumb:active{background-color:#6c7ca2;background-color:var(--sbThumbActive)}::-webkit-scrollbar-corner{background:#0000}.sceneDetailScroll,.sceneList,.scriptArea,.shotEditorBody{scrollbar-gutter:stable}.versionButton{background:#222837;border:none;border-radius:10px;color:inherit;cursor:pointer;font:inherit;opacity:.85;padding:6px 10px}.versionButton:hover{opacity:1}.versionButton:focus-visible{outline:2px solid #ffffff59;outline-offset:2px}.modalOverlay{padding:24px;z-index:9999}.modalCard{background:#111521;border:1px solid #ffffff14;border-radius:18px;box-shadow:0 20px 70px #00000073;display:flex;flex-direction:column;max-height:min(78vh,900px);overflow:hidden}.modalHeader{border-bottom:1px solid #ffffff14;padding:14px 16px}.modalTitle{font-weight:700;letter-spacing:.2px}.modalCloseButton{background:#0000;border:none;color:inherit;font-size:18px;opacity:.8;padding:6px 10px}.modalCloseButton:hover{opacity:1}.modalCloseButton:focus-visible{outline:2px solid #ffffff59;outline-offset:2px}.modalEmpty{opacity:.75}.changelogEntry{background:#ffffff08;border:1px solid #ffffff14;margin-bottom:12px;margin-top:16px;padding:14px 14px 10px}.changelogEntryHeader{margin-bottom:10px}.changelogVersion{font-size:23px}.changelogSection{margin-top:10px}.changelogSectionTitle{font-size:16px;font-weight:700;margin-bottom:6px;opacity:.9}.changelogList{margin:0;opacity:.95;padding-left:18px}.changelogList li{margin:4px 0}.modalCloseButton{border-radius:10px;color:#eaeef7;cursor:pointer;height:34px;line-height:1;position:absolute;right:12px;top:12px}.modalW_about,.modalW_pdf{--modalW:563px}.modalW_changelog{--modalW:830px}.modalW_refresh,.modalW_settings,.scriptRefreshModal{--modalW:660px}.changelogModal .modalHeader{align-items:center;display:flex;gap:14px;justify-content:space-between;padding-right:42px}.changelogModal .modalTitle{font-size:28px;margin:0}.changelogEntry{background:#10131b;border:1px solid #22283a;border-radius:14px;margin:12px 0;padding:12px}.changelogEntryHeader{align-items:baseline;display:flex;gap:12px;justify-content:space-between;margin-bottom:8px}.changelogVersion{font-weight:800}.changelogDate{font-size:12px;opacity:.7}.storyPdfFooter .btn{background-color:#2a3bff;border-color:#2a3bff}.settingsRowSelectPrefix{align-items:center;display:flex;gap:12px;margin:10px 0 14px}.settingSelect{background:#111521;border:1px solid #22283a;border-radius:10px;color:#eaeef7;height:34px;padding:4px 6px;width:auto}.modalOverlay{align-items:center;background:#0000008c;display:flex;inset:0;justify-content:center;position:fixed;z-index:2000}.modalPanel{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0f1115f5;border:1px solid #ffffff24;border-radius:16px;max-height:calc(100vh - 28px);overflow:hidden;width:min(760px,calc(100vw - 28px))}.modalHeader{align-items:center;border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;padding:12px 14px}.modalTitle{font-weight:800}.modalBody{max-height:calc(100vh - 140px);overflow:auto;padding:12px 14px}.helpText{font-size:12px;margin-bottom:10px;opacity:.8}.fieldOrderList{display:flex;flex-direction:column;gap:8px}.fieldOrderRow{align-items:center;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:14px;display:flex;gap:12px;justify-content:space-between;padding:10px}.fieldOrderLeft{min-width:0}.fieldOrderName{font-weight:700}.fieldOrderKey{font-size:11px;opacity:.6}.fieldOrderControls{align-items:center;display:flex;gap:10px}.fieldColor{background:#0000;border:0;height:26px;padding:0;width:34px}.fieldBold{align-items:center;display:inline-flex;font-size:12px;gap:6px;opacity:.9}.fieldBold.disabled{opacity:.4}.modalFooter{align-items:center;border-top:1px solid #ffffff1a;display:flex;justify-content:space-between;padding-bottom:12px;padding-top:20px}
/*# sourceMappingURL=main.9419f7df.css.map*/