.script-modal-title{font-size:15px;font-weight:700;color:var(--theme-ink);line-height:20px}.script-modal-subtitle{margin-top:4px;font-size:12px;color:var(--theme-muted);font-weight:400}.script-modal-footer{display:flex;justify-content:flex-end;gap:8px}.script-editor-fields{display:grid;gap:18px;max-height:min(640px,68vh);overflow-y:auto}.script-field-label{color:var(--theme-muted);font-size:13px;line-height:1.4;font-weight:500;margin-bottom:8px}.script-title-field{display:grid;gap:2px}.script-title-field .script-field-label{margin-bottom:0}.script-input{width:100%;min-width:0;border:1px solid var(--theme-line);border-radius:8px;outline:0;padding:8px 10px;background:rgba(0,0,0,0);color:var(--theme-ink);font-size:13px;box-sizing:border-box}.script-input:focus{border-color:var(--theme-accent);box-shadow:0 0 0 3px var(--theme-accent-soft)}.script-input:disabled{opacity:1;cursor:default;color:var(--theme-muted)}.script-display-value{min-height:64px;box-sizing:border-box;padding:0;color:var(--theme-ink-2);font-size:13px;line-height:22px;white-space:pre-wrap;overflow-wrap:anywhere}.script-title-display{min-height:0;padding:0;color:var(--theme-ink);font-weight:500}.script-shot-list{display:grid;gap:16px;max-height:none;overflow-y:visible;padding:0;background:rgba(0,0,0,0)}.script-editor-dialog .scene-keyframe-preview.is-placeholder{box-sizing:border-box;border:1px solid var(--theme-line);background:var(--theme-surface)}.script-shot{display:grid;grid-template-columns:1fr;gap:8px;padding:14px;align-items:start;border:0;border-radius:14px;background:var(--theme-surface-2)}.script-shot-heading{display:flex;align-items:center;gap:12px;min-width:0}.script-shot-summary{min-width:0;max-width:100%;gap:4px;color:var(--theme-ink)}.script-shot-summary>span{font-size:11px;font-weight:500;line-height:16px}.script-shot-purpose{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.script-shot-time{flex-shrink:0;color:var(--theme-muted);font-size:14px;font-weight:330;line-height:22px;white-space:nowrap}.script-shot-preview-placeholder{min-height:154px;box-sizing:border-box;border:1px dashed var(--theme-line-2);border-radius:10px;padding:16px;background:radial-gradient(circle at 75% 20%,rgba(77,95,247,.18),transparent 34%),linear-gradient(145deg,var(--theme-surface-2),var(--theme-bg));color:var(--theme-muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.script-shot-preview-placeholder b{color:var(--theme-ink-2);font-size:12px}.script-shot-preview-placeholder small{font-size:10px;line-height:1.45}.script-scenes-label{display:flex;align-items:center}.script-trash{height:28px;border-radius:8px;background:var(--theme-surface-2);color:var(--theme-muted);border:1px solid var(--theme-line);cursor:pointer;display:grid;place-items:center;font-size:16px;padding:0 8px}.script-trash:hover{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.28);color:#ef4444}.script-add-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:8px;font-size:12px;font-weight:700;cursor:pointer;border:1px solid var(--theme-line);background:var(--theme-surface-2);color:var(--theme-ink-2);margin-top:12px}.script-add-btn:hover{background:var(--theme-accent-soft);border-color:var(--theme-line-2);color:var(--theme-accent)}.script-btn{padding:7px 16px;border-radius:8px;font-size:14px;font-weight:500;border:1px solid var(--theme-line);cursor:pointer}.script-btn-default{background:var(--theme-surface-2);color:var(--theme-ink-2)}.script-btn-default:hover{background:var(--theme-accent-soft);border-color:var(--theme-line-2);color:var(--theme-accent)}.script-btn-primary{background:var(--theme-ink);color:var(--theme-surface);border-color:var(--theme-ink)}.script-btn-primary:hover{background:var(--theme-ink-2);border-color:var(--theme-ink-2)}.script-btn:disabled{background:var(--theme-line);color:var(--theme-muted);border-color:var(--theme-line);cursor:not-allowed;opacity:.7}html[data-theme=dark] .script-shot{background:var(--theme-surface-2)!important}html[data-theme=dark] .script-btn-primary,html[data-theme=dark] .script-input,html[data-theme=dark] .script-modal-title,html[data-theme=dark] .script-shot-main textarea{color:var(--theme-ink)!important}html[data-theme=dark] .script-field-label,html[data-theme=dark] .script-input:disabled,html[data-theme=dark] .script-modal-subtitle,html[data-theme=dark] .script-shot-main textarea::placeholder,html[data-theme=dark] .script-shot-main textarea:disabled{color:var(--theme-muted)!important}html[data-theme=dark] .script-add-btn,html[data-theme=dark] .script-btn-default,html[data-theme=dark] .script-input,html[data-theme=dark] .script-shot-main textarea,html[data-theme=dark] .script-trash{background:var(--theme-surface)!important;border-color:var(--theme-line)!important;color:var(--theme-ink-2)!important}html[data-theme=dark] .script-input{background:rgba(0,0,0,0)!important;border-color:var(--theme-line-2)!important;color:var(--theme-ink)!important}html[data-theme=dark] .script-shot-main textarea{background:var(--theme-surface)!important;border-color:var(--theme-line-2)!important;color:var(--theme-ink)!important}html[data-theme=dark] .script-input:focus,html[data-theme=dark] .script-shot-main textarea:focus{border-color:var(--theme-accent)!important;box-shadow:0 0 0 3px var(--theme-accent-soft)!important}html[data-theme=dark] .script-trash:hover{background:rgba(248,113,113,.16)!important;border-color:rgba(248,113,113,.45)!important;color:#fca5a5!important}html[data-theme=dark] .script-add-btn:hover,html[data-theme=dark] .script-btn-default:hover{background:var(--theme-surface-3)!important;border-color:var(--theme-line-2)!important;color:var(--theme-accent)!important}html[data-theme=dark] .script-btn-primary,html[data-theme=dark] .script-btn-primary:hover{background:var(--theme-accent)!important;border-color:var(--theme-accent)!important;color:var(--theme-bg)!important}html[data-theme=dark] .script-btn-primary:disabled{background:var(--theme-line)!important;border-color:var(--theme-line)!important;color:var(--theme-muted)!important}html[data-theme=dark] .script-shot-list::-webkit-scrollbar-thumb{background:var(--theme-line-2);border-radius:999px}.creative-direction{box-sizing:border-box;display:flex;min-width:0;height:96px;min-height:96px;max-height:96px;flex-direction:column;gap:4px;align-self:stretch;padding:7px 12px;overflow:hidden;border:1px solid var(--theme-line-2);border-radius:12px;background:rgba(0,0,0,0)}.creative-direction.is-highlighted{border-color:var(--theme-accent)}@media(prefers-reduced-motion:no-preference){.creative-direction{transition:border-color .16s ease}}.creative-direction-header{display:flex;min-width:0;min-height:24px;align-items:center;justify-content:space-between;gap:12px}.creative-direction-header-action{display:inline-grid;width:24px;height:24px;flex:0 0 24px;place-items:center;padding:0;border:0;border-radius:6px;background:rgba(0,0,0,0);color:var(--theme-ink-2);cursor:pointer}.creative-direction-header-action:hover{background:var(--theme-surface-2);color:var(--theme-ink)}.creative-direction-header-action:focus-visible{outline:2px solid var(--theme-accent);outline-offset:1px}.creative-direction-header-actions{display:inline-flex;flex:0 0 auto;align-items:center;gap:2px}.creative-direction-label{color:var(--theme-ink-2);font-size:12px;font-weight:500;line-height:16px}.creative-direction-sentence{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:color-mix(in srgb,var(--theme-ink) 14%,transparent) rgba(0,0,0,0);scrollbar-width:thin}.creative-direction-sentence::-webkit-scrollbar{width:6px}.creative-direction-sentence::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.creative-direction-sentence::-webkit-scrollbar-thumb{border-radius:999px;background:color-mix(in srgb,var(--theme-ink) 14%,transparent)}.creative-direction-sentence::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb,var(--theme-ink) 22%,transparent)}.creative-direction-sentence{display:block;min-width:0;height:54px;min-height:54px;flex:0 0 54px;color:var(--theme-ink);font-size:13px;line-height:26px;transition:background-color .12s ease,box-shadow .12s ease}.creative-direction-sentence.is-whole-selected{border-radius:6px;outline:0;background:color-mix(in srgb,var(--theme-accent) 12%,transparent);box-shadow:none}.creative-direction-static-field{position:relative;display:inline-grid;min-width:1ch;max-width:100%;height:26px;align-items:center;vertical-align:middle}.creative-direction-static-field.is-wrapping{display:inline;min-width:0;max-width:none;height:auto;padding:0 1px;outline:0;caret-color:var(--theme-accent);line-height:26px;overflow-wrap:anywhere;white-space:pre-wrap}.creative-direction-static-field.is-wrapping:empty:before{content:"​"}.creative-direction-static-input,.creative-direction-static-sizer{grid-area:1/1;min-width:1ch;padding:0 1px;font:inherit;line-height:26px;white-space:pre}.creative-direction-static-sizer{overflow:hidden;color:rgba(0,0,0,0);visibility:hidden}.creative-direction-static-input{position:absolute;inset:0;min-width:0;width:100%;color:var(--theme-ink);caret-color:var(--theme-accent)}.creative-direction-input,.creative-direction-static-input{box-sizing:border-box;height:26px;border:0;outline:0;background:rgba(0,0,0,0)}.creative-direction-input{color:var(--theme-accent);font:inherit;font-weight:400;line-height:26px}.creative-direction-field{display:inline-flex;min-width:0;height:26px;flex:0 0 auto;align-items:center;color:var(--theme-accent);vertical-align:baseline}.creative-direction-field.is-text{position:relative;top:2px;max-width:100%;flex:0 1 auto}.creative-direction-field.is-text.is-wrapping{display:inline-flex;max-width:100%;height:26px;min-height:26px;align-items:baseline;vertical-align:baseline}.creative-direction-inline-input-shell{position:relative;display:inline-grid;width:max-content;min-width:10ch;max-width:min(360px,100%);height:26px;min-height:26px;vertical-align:baseline}.creative-direction-inline-input,.creative-direction-inline-input-sizer{box-sizing:border-box;grid-area:1/1;min-width:10ch;max-width:360px;height:26px;min-height:26px;margin:0;padding:0 1px;border:0;font:inherit;line-height:26px;white-space:pre}.creative-direction-inline-input-sizer{overflow:hidden;color:rgba(0,0,0,0);visibility:hidden}.creative-direction-inline-input{position:absolute;inset:0;width:100%;height:26px;outline:0;background:rgba(0,0,0,0);caret-color:var(--theme-accent);color:var(--theme-accent)}.creative-direction-inline-input::placeholder{color:var(--theme-muted);opacity:1}.creative-direction-bracket{flex:0 0 auto;color:color-mix(in srgb,var(--theme-accent) 72%,var(--theme-muted));font-weight:400}.creative-direction-select-shell{max-width:100%;flex:0 0 auto;margin-inline:2px}.creative-direction-select-shell,.creative-direction-template-text{display:inline-flex;height:26px;align-items:center;vertical-align:middle}.creative-direction-template-text{line-height:26px}.creative-direction-focus-control{display:inline-flex;max-width:100%;height:26px;align-items:center;vertical-align:middle}.creative-direction-focus-control.is-other{color:var(--theme-accent)}.creative-direction-focus-control.is-reference-input{margin-inline:2px;color:var(--theme-accent)}.creative-direction-focus-menu{display:inline-grid;width:24px;height:26px;flex:0 0 24px;place-items:center;padding:0;border:0;border-radius:6px;background:rgba(0,0,0,0);color:var(--theme-accent);cursor:pointer}.creative-direction-focus-menu:hover{background:var(--theme-accent-soft)}.creative-direction-focus-menu:focus-visible{outline:2px solid color-mix(in srgb,var(--theme-accent) 24%,transparent);outline-offset:1px}.creative-direction-focus-menu[aria-expanded=true] svg{transform:rotate(180deg)}.creative-direction-focus-menu svg{transition:transform .16s ease}.creative-direction-select{box-sizing:border-box;display:inline-flex;align-items:center;padding:0;border:0;border-radius:6px;color:var(--theme-accent);font:inherit;cursor:pointer;white-space:nowrap}.creative-direction-select,.creative-direction-select .creative-direction-select-tag{max-width:100%;height:26px;background:rgba(0,0,0,0);line-height:26px;vertical-align:baseline}.creative-direction-select .creative-direction-select-tag{position:relative;gap:4px;min-height:26px;padding:0 6px;overflow:hidden;font-size:13px}.creative-direction-select .creative-direction-select-tag:before{position:absolute;z-index:0;inset:3px 0;border-radius:6px;background:var(--theme-accent-soft);content:"";transition:background-color .16s ease}.creative-direction-select .creative-direction-select-tag>span,.creative-direction-select .creative-direction-select-tag>svg{position:relative;z-index:1}.creative-direction-select .creative-direction-select-tag>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creative-direction-select svg{width:12px;height:12px;flex:0 0 12px;transition:transform .16s ease}.creative-direction-select:hover .creative-direction-select-tag:before{background:color-mix(in srgb,var(--theme-accent) 16%,transparent)}.creative-direction-select.is-unselected{color:var(--theme-ink-2)}.creative-direction-select.is-unselected .creative-direction-select-tag:before{background:var(--theme-surface-2)}.creative-direction-select:focus-visible{outline:2px solid color-mix(in srgb,var(--theme-accent) 24%,transparent);outline-offset:1px}.creative-direction-select[aria-expanded=true] svg{transform:rotate(180deg)}.creative-direction-dropdown .ant-dropdown-menu{box-sizing:border-box;max-width:calc(100vw - 32px)!important;padding:6px!important;border:1px solid var(--theme-line,#e5e7eb)!important;border-radius:16px!important;background:var(--theme-surface,#fff)!important;box-shadow:var(--theme-shadow)!important;--rc-virtual-list-scrollbar-bg:color-mix(in srgb,var(--theme-ink) 14%,transparent)}.creative-direction-dropdown .ant-dropdown-menu,.creative-direction-dropdown .ant-dropdown-menu .rc-virtual-list-holder{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--theme-ink) 14%,transparent) rgba(0,0,0,0)}.creative-direction-dropdown .ant-dropdown-menu .rc-virtual-list-holder::-webkit-scrollbar,.creative-direction-dropdown .ant-dropdown-menu::-webkit-scrollbar{width:6px;height:6px}.creative-direction-dropdown .ant-dropdown-menu .rc-virtual-list-holder::-webkit-scrollbar-track,.creative-direction-dropdown .ant-dropdown-menu::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.creative-direction-dropdown .ant-dropdown-menu .rc-virtual-list-holder::-webkit-scrollbar-thumb,.creative-direction-dropdown .ant-dropdown-menu::-webkit-scrollbar-thumb{border-radius:999px;background:color-mix(in srgb,var(--theme-ink) 14%,transparent)}.creative-direction-dropdown .ant-dropdown-menu .rc-virtual-list-holder::-webkit-scrollbar-thumb:hover,.creative-direction-dropdown .ant-dropdown-menu::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb,var(--theme-ink) 22%,transparent)}.creative-direction-dropdown .ant-dropdown-menu .rc-virtual-list-scrollbar{background:rgba(0,0,0,0)!important}.creative-direction-dropdown .ant-dropdown-menu .rc-virtual-list-scrollbar-vertical{width:6px!important}.creative-direction-dropdown .ant-dropdown-menu .rc-virtual-list-scrollbar-horizontal{height:6px!important}.creative-direction-dropdown .ant-dropdown-menu .rc-virtual-list-scrollbar-thumb{border-radius:999px!important}.creative-direction-dropdown .ant-dropdown-menu .rc-virtual-list-scrollbar-thumb-moving,.creative-direction-dropdown .ant-dropdown-menu .rc-virtual-list-scrollbar-thumb:hover{--rc-virtual-list-scrollbar-bg:color-mix(in srgb,var(--theme-ink) 22%,transparent)}.creative-direction-dropdown .ant-dropdown-menu{min-width:132px;max-height:min(352px,100vh - 32px);overflow-y:auto}.creative-direction-dropdown .ant-dropdown-menu-item{box-sizing:border-box!important;height:44px;min-height:44px!important;padding:12px!important;border-radius:10px!important;color:var(--theme-ink-2)!important;font-size:14px!important;line-height:20px!important}.creative-direction-dropdown .ant-dropdown-menu-item:hover{background:var(--theme-surface-2)!important}.creative-direction-dropdown .ant-dropdown-menu-item.is-selected{background:var(--theme-surface-2,#f7f7f8)!important;color:var(--theme-ink)!important}.creative-direction-option{display:flex;width:100%;min-width:0;align-items:center;justify-content:space-between;gap:16px}.creative-direction-option>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creative-direction-option>svg{width:14px;height:14px;flex:0 0 14px}.creative-direction-input-shell{position:relative;display:inline-grid;min-width:1ch;max-width:180px;height:26px;align-items:center;overflow:hidden}.creative-direction-field.is-wide .creative-direction-input-shell{max-width:280px}.creative-direction-input-sizer{min-width:1ch;max-width:inherit;padding:0 2px;overflow:hidden;color:rgba(0,0,0,0);font:inherit;line-height:26px;visibility:hidden;white-space:pre}.creative-direction-input{position:absolute;inset:0;width:100%;min-width:0;padding:0 2px}.creative-direction-input::placeholder{color:var(--theme-muted);opacity:1}html[data-theme=dark] .creative-direction-freeform,html[data-theme=dark] .creative-direction-input{color-scheme:dark}.creative-direction-freeform{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:color-mix(in srgb,var(--theme-ink) 14%,transparent) rgba(0,0,0,0);scrollbar-width:thin}.creative-direction-freeform::-webkit-scrollbar{width:6px}.creative-direction-freeform::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.creative-direction-freeform::-webkit-scrollbar-thumb{border-radius:999px;background:color-mix(in srgb,var(--theme-ink) 14%,transparent)}.creative-direction-freeform::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb,var(--theme-ink) 22%,transparent)}.creative-direction-freeform{box-sizing:border-box;width:100%;height:54px;min-height:54px;padding:0;border:0;outline:0;resize:none;background:rgba(0,0,0,0);color:var(--theme-ink);font:inherit;font-size:13px;line-height:20px}.creative-direction-freeform.is-whole-selected{border-radius:6px;outline:0;background:color-mix(in srgb,var(--theme-accent) 12%,transparent);box-shadow:none}.creative-direction-freeform::placeholder{color:var(--theme-muted);opacity:1}.creative-direction-dialog-editor{position:relative;display:flex;min-height:176px;align-items:stretch}.creative-direction-dialog-editor.has-reset .creative-direction-freeform,.creative-direction-dialog-editor.has-reset .creative-direction-sentence{padding-right:52px}.creative-direction-dialog-editor .creative-direction-dialog-reset{position:absolute;z-index:1;top:12px;right:12px}.creative-direction-dialog-editor .creative-direction-sentence{box-sizing:border-box;width:100%;height:auto;min-height:176px;flex:1 1 auto;padding:16px;border:1px solid var(--theme-line);border-radius:12px;font-size:13px;line-height:26px}.creative-direction-dialog-editor .creative-direction-field{height:26px}.creative-direction-dialog-editor .creative-direction-field.is-text{min-width:0;max-width:100%}.creative-direction-dialog-editor .creative-direction-input-shell{width:auto;max-width:280px;height:26px}.creative-direction-dialog-editor .creative-direction-input,.creative-direction-dialog-editor .creative-direction-input-sizer{line-height:26px}.creative-direction-dialog-editor .creative-direction-input{height:26px}.creative-direction-dialog-editor .creative-direction-freeform{box-sizing:border-box;width:100%;height:auto;min-height:176px;padding:16px;overflow-x:hidden;overflow-y:auto;border:1px solid var(--theme-line);border-radius:12px;font-size:13px;line-height:24px}