:root[data-theme=light],:root[data-theme=paper],:root[data-theme=midnight]{--theme-accent-10: color-mix(in srgb, var(--theme-accent) 10%, transparent);--theme-accent-11: color-mix(in srgb, var(--theme-accent) 11%, transparent);--theme-accent-12: color-mix(in srgb, var(--theme-accent) 12%, transparent);--theme-accent-13: color-mix(in srgb, var(--theme-accent) 13%, transparent);--theme-accent-14: color-mix(in srgb, var(--theme-accent) 14%, transparent);--theme-accent-14p12: color-mix(in srgb, var(--theme-accent) 14.12%, transparent);--theme-accent-15: color-mix(in srgb, var(--theme-accent) 15%, transparent);--theme-accent-16: color-mix(in srgb, var(--theme-accent) 16%, transparent);--theme-accent-17: color-mix(in srgb, var(--theme-accent) 17%, transparent);--theme-accent-18: color-mix(in srgb, var(--theme-accent) 18%, transparent);--theme-accent-19: color-mix(in srgb, var(--theme-accent) 19%, transparent);--theme-accent-1p8: color-mix(in srgb, var(--theme-accent) 1.8%, transparent);--theme-accent-20: color-mix(in srgb, var(--theme-accent) 20%, transparent);--theme-accent-22: color-mix(in srgb, var(--theme-accent) 22%, transparent);--theme-accent-23: color-mix(in srgb, var(--theme-accent) 23%, transparent);--theme-accent-24: color-mix(in srgb, var(--theme-accent) 24%, transparent);--theme-accent-25: color-mix(in srgb, var(--theme-accent) 25%, transparent);--theme-accent-26: color-mix(in srgb, var(--theme-accent) 26%, transparent);--theme-accent-27: color-mix(in srgb, var(--theme-accent) 27%, transparent);--theme-accent-28: color-mix(in srgb, var(--theme-accent) 28%, transparent);--theme-accent-2p5: color-mix(in srgb, var(--theme-accent) 2.5%, transparent);--theme-accent-30: color-mix(in srgb, var(--theme-accent) 30%, transparent);--theme-accent-32: color-mix(in srgb, var(--theme-accent) 32%, transparent);--theme-accent-33: color-mix(in srgb, var(--theme-accent) 33%, transparent);--theme-accent-34: color-mix(in srgb, var(--theme-accent) 34%, transparent);--theme-accent-35: color-mix(in srgb, var(--theme-accent) 35%, transparent);--theme-accent-36: color-mix(in srgb, var(--theme-accent) 36%, transparent);--theme-accent-38: color-mix(in srgb, var(--theme-accent) 38%, transparent);--theme-accent-3p5: color-mix(in srgb, var(--theme-accent) 3.5%, transparent);--theme-accent-4: color-mix(in srgb, var(--theme-accent) 4%, transparent);--theme-accent-40: color-mix(in srgb, var(--theme-accent) 40%, transparent);--theme-accent-42: color-mix(in srgb, var(--theme-accent) 42%, transparent);--theme-accent-44: color-mix(in srgb, var(--theme-accent) 44%, transparent);--theme-accent-45: color-mix(in srgb, var(--theme-accent) 45%, transparent);--theme-accent-46: color-mix(in srgb, var(--theme-accent) 46%, transparent);--theme-accent-48: color-mix(in srgb, var(--theme-accent) 48%, transparent);--theme-accent-4p5: color-mix(in srgb, var(--theme-accent) 4.5%, transparent);--theme-accent-5: color-mix(in srgb, var(--theme-accent) 5%, transparent);--theme-accent-50: color-mix(in srgb, var(--theme-accent) 50%, transparent);--theme-accent-52: color-mix(in srgb, var(--theme-accent) 52%, transparent);--theme-accent-54: color-mix(in srgb, var(--theme-accent) 54%, transparent);--theme-accent-55: color-mix(in srgb, var(--theme-accent) 55%, transparent);--theme-accent-56: color-mix(in srgb, var(--theme-accent) 56%, transparent);--theme-accent-58: color-mix(in srgb, var(--theme-accent) 58%, transparent);--theme-accent-5p04: color-mix(in srgb, var(--theme-accent) 5.04%, transparent);--theme-accent-5p5: color-mix(in srgb, var(--theme-accent) 5.5%, transparent);--theme-accent-6: color-mix(in srgb, var(--theme-accent) 6%, transparent);--theme-accent-60: color-mix(in srgb, var(--theme-accent) 60%, transparent);--theme-accent-62: color-mix(in srgb, var(--theme-accent) 62%, transparent);--theme-accent-65: color-mix(in srgb, var(--theme-accent) 65%, transparent);--theme-accent-66: color-mix(in srgb, var(--theme-accent) 66%, transparent);--theme-accent-68: color-mix(in srgb, var(--theme-accent) 68%, transparent);--theme-accent-6p5: color-mix(in srgb, var(--theme-accent) 6.5%, transparent);--theme-accent-7: color-mix(in srgb, var(--theme-accent) 7%, transparent);--theme-accent-70: color-mix(in srgb, var(--theme-accent) 70%, transparent);--theme-accent-72: color-mix(in srgb, var(--theme-accent) 72%, transparent);--theme-accent-74: color-mix(in srgb, var(--theme-accent) 74%, transparent);--theme-accent-7p5: color-mix(in srgb, var(--theme-accent) 7.5%, transparent);--theme-accent-8: color-mix(in srgb, var(--theme-accent) 8%, transparent);--theme-accent-82: color-mix(in srgb, var(--theme-accent) 82%, transparent);--theme-accent-8p5: color-mix(in srgb, var(--theme-accent) 8.5%, transparent);--theme-accent-8p63: color-mix(in srgb, var(--theme-accent) 8.63%, transparent);--theme-accent-9: color-mix(in srgb, var(--theme-accent) 9%, transparent);--theme-accent-92: color-mix(in srgb, var(--theme-accent) 92%, transparent);--theme-border-10: color-mix(in srgb, var(--theme-border) 10%, transparent);--theme-border-11: color-mix(in srgb, var(--theme-border) 11%, transparent);--theme-border-12: color-mix(in srgb, var(--theme-border) 12%, transparent);--theme-border-13: color-mix(in srgb, var(--theme-border) 13%, transparent);--theme-border-14: color-mix(in srgb, var(--theme-border) 14%, transparent);--theme-border-15: color-mix(in srgb, var(--theme-border) 15%, transparent);--theme-border-16: color-mix(in srgb, var(--theme-border) 16%, transparent);--theme-border-18: color-mix(in srgb, var(--theme-border) 18%, transparent);--theme-border-20: color-mix(in srgb, var(--theme-border) 20%, transparent);--theme-border-24: color-mix(in srgb, var(--theme-border) 24%, transparent);--theme-border-25: color-mix(in srgb, var(--theme-border) 25%, transparent);--theme-border-28: color-mix(in srgb, var(--theme-border) 28%, transparent);--theme-border-34: color-mix(in srgb, var(--theme-border) 34%, transparent);--theme-border-4: color-mix(in srgb, var(--theme-border) 4%, transparent);--theme-border-54: color-mix(in srgb, var(--theme-border) 54%, transparent);--theme-border-5p5: color-mix(in srgb, var(--theme-border) 5.5%, transparent);--theme-border-6: color-mix(in srgb, var(--theme-border) 6%, transparent);--theme-border-6p5: color-mix(in srgb, var(--theme-border) 6.5%, transparent);--theme-border-7: color-mix(in srgb, var(--theme-border) 7%, transparent);--theme-border-8: color-mix(in srgb, var(--theme-border) 8%, transparent);--theme-border-8p5: color-mix(in srgb, var(--theme-border) 8.5%, transparent);--theme-border-9: color-mix(in srgb, var(--theme-border) 9%, transparent);--theme-canvas-16: color-mix(in srgb, var(--theme-canvas) 16%, transparent);--theme-canvas-18: color-mix(in srgb, var(--theme-canvas) 18%, transparent);--theme-canvas-22: color-mix(in srgb, var(--theme-canvas) 22%, transparent);--theme-canvas-34: color-mix(in srgb, var(--theme-canvas) 34%, transparent);--theme-canvas-35: color-mix(in srgb, var(--theme-canvas) 35%, transparent);--theme-canvas-38: color-mix(in srgb, var(--theme-canvas) 38%, transparent);--theme-canvas-40: color-mix(in srgb, var(--theme-canvas) 40%, transparent);--theme-canvas-42: color-mix(in srgb, var(--theme-canvas) 42%, transparent);--theme-canvas-45: color-mix(in srgb, var(--theme-canvas) 45%, transparent);--theme-canvas-48: color-mix(in srgb, var(--theme-canvas) 48%, transparent);--theme-canvas-50: color-mix(in srgb, var(--theme-canvas) 50%, transparent);--theme-canvas-52: color-mix(in srgb, var(--theme-canvas) 52%, transparent);--theme-canvas-54: color-mix(in srgb, var(--theme-canvas) 54%, transparent);--theme-canvas-55: color-mix(in srgb, var(--theme-canvas) 55%, transparent);--theme-canvas-56: color-mix(in srgb, var(--theme-canvas) 56%, transparent);--theme-canvas-58: color-mix(in srgb, var(--theme-canvas) 58%, transparent);--theme-canvas-60: color-mix(in srgb, var(--theme-canvas) 60%, transparent);--theme-canvas-62: color-mix(in srgb, var(--theme-canvas) 62%, transparent);--theme-canvas-64: color-mix(in srgb, var(--theme-canvas) 64%, transparent);--theme-canvas-66p67: color-mix(in srgb, var(--theme-canvas) 66.67%, transparent);--theme-canvas-68: color-mix(in srgb, var(--theme-canvas) 68%, transparent);--theme-canvas-70: color-mix(in srgb, var(--theme-canvas) 70%, transparent);--theme-canvas-72: color-mix(in srgb, var(--theme-canvas) 72%, transparent);--theme-canvas-74: color-mix(in srgb, var(--theme-canvas) 74%, transparent);--theme-canvas-74p9: color-mix(in srgb, var(--theme-canvas) 74.9%, transparent);--theme-canvas-76: color-mix(in srgb, var(--theme-canvas) 76%, transparent);--theme-canvas-78: color-mix(in srgb, var(--theme-canvas) 78%, transparent);--theme-canvas-8: color-mix(in srgb, var(--theme-canvas) 8%, transparent);--theme-canvas-80: color-mix(in srgb, var(--theme-canvas) 80%, transparent);--theme-canvas-82: color-mix(in srgb, var(--theme-canvas) 82%, transparent);--theme-canvas-85: color-mix(in srgb, var(--theme-canvas) 85%, transparent);--theme-canvas-85p88: color-mix(in srgb, var(--theme-canvas) 85.88%, transparent);--theme-canvas-86: color-mix(in srgb, var(--theme-canvas) 86%, transparent);--theme-canvas-88: color-mix(in srgb, var(--theme-canvas) 88%, transparent);--theme-canvas-93: color-mix(in srgb, var(--theme-canvas) 93%, transparent);--theme-canvas-94: color-mix(in srgb, var(--theme-canvas) 94%, transparent);--theme-canvas-96: color-mix(in srgb, var(--theme-canvas) 96%, transparent);--theme-canvas-98: color-mix(in srgb, var(--theme-canvas) 98%, transparent);--theme-canvas-99: color-mix(in srgb, var(--theme-canvas) 99%, transparent);--theme-danger-10: color-mix(in srgb, var(--theme-danger) 10%, transparent);--theme-danger-12: color-mix(in srgb, var(--theme-danger) 12%, transparent);--theme-danger-13: color-mix(in srgb, var(--theme-danger) 13%, transparent);--theme-danger-15: color-mix(in srgb, var(--theme-danger) 15%, transparent);--theme-danger-16: color-mix(in srgb, var(--theme-danger) 16%, transparent);--theme-danger-17: color-mix(in srgb, var(--theme-danger) 17%, transparent);--theme-danger-18: color-mix(in srgb, var(--theme-danger) 18%, transparent);--theme-danger-1p92: color-mix(in srgb, var(--theme-danger) 1.92%, transparent);--theme-danger-22: color-mix(in srgb, var(--theme-danger) 22%, transparent);--theme-danger-25: color-mix(in srgb, var(--theme-danger) 25%, transparent);--theme-danger-28: color-mix(in srgb, var(--theme-danger) 28%, transparent);--theme-danger-2p26: color-mix(in srgb, var(--theme-danger) 2.26%, transparent);--theme-danger-30: color-mix(in srgb, var(--theme-danger) 30%, transparent);--theme-danger-32: color-mix(in srgb, var(--theme-danger) 32%, transparent);--theme-danger-34: color-mix(in srgb, var(--theme-danger) 34%, transparent);--theme-danger-35: color-mix(in srgb, var(--theme-danger) 35%, transparent);--theme-danger-36: color-mix(in srgb, var(--theme-danger) 36%, transparent);--theme-danger-38: color-mix(in srgb, var(--theme-danger) 38%, transparent);--theme-danger-3p12: color-mix(in srgb, var(--theme-danger) 3.12%, transparent);--theme-danger-40: color-mix(in srgb, var(--theme-danger) 40%, transparent);--theme-danger-42: color-mix(in srgb, var(--theme-danger) 42%, transparent);--theme-danger-44: color-mix(in srgb, var(--theme-danger) 44%, transparent);--theme-danger-45: color-mix(in srgb, var(--theme-danger) 45%, transparent);--theme-danger-46: color-mix(in srgb, var(--theme-danger) 46%, transparent);--theme-danger-48: color-mix(in srgb, var(--theme-danger) 48%, transparent);--theme-danger-4p08: color-mix(in srgb, var(--theme-danger) 4.08%, transparent);--theme-danger-5: color-mix(in srgb, var(--theme-danger) 5%, transparent);--theme-danger-50: color-mix(in srgb, var(--theme-danger) 50%, transparent);--theme-danger-52: color-mix(in srgb, var(--theme-danger) 52%, transparent);--theme-danger-54: color-mix(in srgb, var(--theme-danger) 54%, transparent);--theme-danger-56: color-mix(in srgb, var(--theme-danger) 56%, transparent);--theme-danger-5p04: color-mix(in srgb, var(--theme-danger) 5.04%, transparent);--theme-danger-5p5: color-mix(in srgb, var(--theme-danger) 5.5%, transparent);--theme-danger-6: color-mix(in srgb, var(--theme-danger) 6%, transparent);--theme-danger-60: color-mix(in srgb, var(--theme-danger) 60%, transparent);--theme-danger-62: color-mix(in srgb, var(--theme-danger) 62%, transparent);--theme-danger-68: color-mix(in srgb, var(--theme-danger) 68%, transparent);--theme-danger-6p24: color-mix(in srgb, var(--theme-danger) 6.24%, transparent);--theme-danger-6p5: color-mix(in srgb, var(--theme-danger) 6.5%, transparent);--theme-danger-7: color-mix(in srgb, var(--theme-danger) 7%, transparent);--theme-danger-72: color-mix(in srgb, var(--theme-danger) 72%, transparent);--theme-danger-8: color-mix(in srgb, var(--theme-danger) 8%, transparent);--theme-danger-82: color-mix(in srgb, var(--theme-danger) 82%, transparent);--theme-info-10: color-mix(in srgb, var(--theme-info) 10%, transparent);--theme-info-11: color-mix(in srgb, var(--theme-info) 11%, transparent);--theme-info-12: color-mix(in srgb, var(--theme-info) 12%, transparent);--theme-info-13: color-mix(in srgb, var(--theme-info) 13%, transparent);--theme-info-14: color-mix(in srgb, var(--theme-info) 14%, transparent);--theme-info-15: color-mix(in srgb, var(--theme-info) 15%, transparent);--theme-info-16: color-mix(in srgb, var(--theme-info) 16%, transparent);--theme-info-17: color-mix(in srgb, var(--theme-info) 17%, transparent);--theme-info-18: color-mix(in srgb, var(--theme-info) 18%, transparent);--theme-info-20: color-mix(in srgb, var(--theme-info) 20%, transparent);--theme-info-22: color-mix(in srgb, var(--theme-info) 22%, transparent);--theme-info-23: color-mix(in srgb, var(--theme-info) 23%, transparent);--theme-info-24: color-mix(in srgb, var(--theme-info) 24%, transparent);--theme-info-25: color-mix(in srgb, var(--theme-info) 25%, transparent);--theme-info-30: color-mix(in srgb, var(--theme-info) 30%, transparent);--theme-info-32: color-mix(in srgb, var(--theme-info) 32%, transparent);--theme-info-36: color-mix(in srgb, var(--theme-info) 36%, transparent);--theme-info-40: color-mix(in srgb, var(--theme-info) 40%, transparent);--theme-info-42: color-mix(in srgb, var(--theme-info) 42%, transparent);--theme-info-44: color-mix(in srgb, var(--theme-info) 44%, transparent);--theme-info-45: color-mix(in srgb, var(--theme-info) 45%, transparent);--theme-info-50: color-mix(in srgb, var(--theme-info) 50%, transparent);--theme-info-52: color-mix(in srgb, var(--theme-info) 52%, transparent);--theme-info-55: color-mix(in srgb, var(--theme-info) 55%, transparent);--theme-info-6: color-mix(in srgb, var(--theme-info) 6%, transparent);--theme-info-6p6: color-mix(in srgb, var(--theme-info) 6.6%, transparent);--theme-info-8: color-mix(in srgb, var(--theme-info) 8%, transparent);--theme-inverse-68: color-mix(in srgb, var(--theme-inverse) 68%, transparent);--theme-mint-10: color-mix(in srgb, var(--theme-mint) 10%, transparent);--theme-mint-11: color-mix(in srgb, var(--theme-mint) 11%, transparent);--theme-mint-11p64: color-mix(in srgb, var(--theme-mint) 11.64%, transparent);--theme-mint-12: color-mix(in srgb, var(--theme-mint) 12%, transparent);--theme-mint-14: color-mix(in srgb, var(--theme-mint) 14%, transparent);--theme-mint-15: color-mix(in srgb, var(--theme-mint) 15%, transparent);--theme-mint-16: color-mix(in srgb, var(--theme-mint) 16%, transparent);--theme-mint-18: color-mix(in srgb, var(--theme-mint) 18%, transparent);--theme-mint-1p92: color-mix(in srgb, var(--theme-mint) 1.92%, transparent);--theme-mint-20: color-mix(in srgb, var(--theme-mint) 20%, transparent);--theme-mint-22: color-mix(in srgb, var(--theme-mint) 22%, transparent);--theme-mint-24: color-mix(in srgb, var(--theme-mint) 24%, transparent);--theme-mint-25: color-mix(in srgb, var(--theme-mint) 25%, transparent);--theme-mint-26: color-mix(in srgb, var(--theme-mint) 26%, transparent);--theme-mint-27: color-mix(in srgb, var(--theme-mint) 27%, transparent);--theme-mint-28: color-mix(in srgb, var(--theme-mint) 28%, transparent);--theme-mint-2p5: color-mix(in srgb, var(--theme-mint) 2.5%, transparent);--theme-mint-3: color-mix(in srgb, var(--theme-mint) 3%, transparent);--theme-mint-30: color-mix(in srgb, var(--theme-mint) 30%, transparent);--theme-mint-32: color-mix(in srgb, var(--theme-mint) 32%, transparent);--theme-mint-34: color-mix(in srgb, var(--theme-mint) 34%, transparent);--theme-mint-35: color-mix(in srgb, var(--theme-mint) 35%, transparent);--theme-mint-36: color-mix(in srgb, var(--theme-mint) 36%, transparent);--theme-mint-38: color-mix(in srgb, var(--theme-mint) 38%, transparent);--theme-mint-3p5: color-mix(in srgb, var(--theme-mint) 3.5%, transparent);--theme-mint-4: color-mix(in srgb, var(--theme-mint) 4%, transparent);--theme-mint-40: color-mix(in srgb, var(--theme-mint) 40%, transparent);--theme-mint-42: color-mix(in srgb, var(--theme-mint) 42%, transparent);--theme-mint-45: color-mix(in srgb, var(--theme-mint) 45%, transparent);--theme-mint-46: color-mix(in srgb, var(--theme-mint) 46%, transparent);--theme-mint-48: color-mix(in srgb, var(--theme-mint) 48%, transparent);--theme-mint-4p5: color-mix(in srgb, var(--theme-mint) 4.5%, transparent);--theme-mint-50: color-mix(in srgb, var(--theme-mint) 50%, transparent);--theme-mint-52: color-mix(in srgb, var(--theme-mint) 52%, transparent);--theme-mint-55: color-mix(in srgb, var(--theme-mint) 55%, transparent);--theme-mint-5p5: color-mix(in srgb, var(--theme-mint) 5.5%, transparent);--theme-mint-6: color-mix(in srgb, var(--theme-mint) 6%, transparent);--theme-mint-62: color-mix(in srgb, var(--theme-mint) 62%, transparent);--theme-mint-68: color-mix(in srgb, var(--theme-mint) 68%, transparent);--theme-mint-6p5: color-mix(in srgb, var(--theme-mint) 6.5%, transparent);--theme-mint-7: color-mix(in srgb, var(--theme-mint) 7%, transparent);--theme-mint-70: color-mix(in srgb, var(--theme-mint) 70%, transparent);--theme-mint-76: color-mix(in srgb, var(--theme-mint) 76%, transparent);--theme-mint-8: color-mix(in srgb, var(--theme-mint) 8%, transparent);--theme-mint-9: color-mix(in srgb, var(--theme-mint) 9%, transparent);--theme-raised-30: color-mix(in srgb, var(--theme-raised) 30%, transparent);--theme-raised-31p37: color-mix(in srgb, var(--theme-raised) 31.37%, transparent);--theme-raised-32: color-mix(in srgb, var(--theme-raised) 32%, transparent);--theme-raised-35: color-mix(in srgb, var(--theme-raised) 35%, transparent);--theme-raised-38: color-mix(in srgb, var(--theme-raised) 38%, transparent);--theme-raised-43p92: color-mix(in srgb, var(--theme-raised) 43.92%, transparent);--theme-raised-94p9: color-mix(in srgb, var(--theme-raised) 94.9%, transparent);--theme-success-10: color-mix(in srgb, var(--theme-success) 10%, transparent);--theme-success-11: color-mix(in srgb, var(--theme-success) 11%, transparent);--theme-success-11p52: color-mix(in srgb, var(--theme-success) 11.52%, transparent);--theme-success-12: color-mix(in srgb, var(--theme-success) 12%, transparent);--theme-success-13: color-mix(in srgb, var(--theme-success) 13%, transparent);--theme-success-14: color-mix(in srgb, var(--theme-success) 14%, transparent);--theme-success-15: color-mix(in srgb, var(--theme-success) 15%, transparent);--theme-success-16: color-mix(in srgb, var(--theme-success) 16%, transparent);--theme-success-28: color-mix(in srgb, var(--theme-success) 28%, transparent);--theme-success-2p16: color-mix(in srgb, var(--theme-success) 2.16%, transparent);--theme-success-2p4: color-mix(in srgb, var(--theme-success) 2.4%, transparent);--theme-success-2p64: color-mix(in srgb, var(--theme-success) 2.64%, transparent);--theme-success-30: color-mix(in srgb, var(--theme-success) 30%, transparent);--theme-success-32: color-mix(in srgb, var(--theme-success) 32%, transparent);--theme-success-34: color-mix(in srgb, var(--theme-success) 34%, transparent);--theme-success-35: color-mix(in srgb, var(--theme-success) 35%, transparent);--theme-success-36: color-mix(in srgb, var(--theme-success) 36%, transparent);--theme-success-38: color-mix(in srgb, var(--theme-success) 38%, transparent);--theme-success-40: color-mix(in srgb, var(--theme-success) 40%, transparent);--theme-success-42: color-mix(in srgb, var(--theme-success) 42%, transparent);--theme-success-44: color-mix(in srgb, var(--theme-success) 44%, transparent);--theme-success-45: color-mix(in srgb, var(--theme-success) 45%, transparent);--theme-success-46: color-mix(in srgb, var(--theme-success) 46%, transparent);--theme-success-50: color-mix(in srgb, var(--theme-success) 50%, transparent);--theme-success-54: color-mix(in srgb, var(--theme-success) 54%, transparent);--theme-success-6: color-mix(in srgb, var(--theme-success) 6%, transparent);--theme-success-7: color-mix(in srgb, var(--theme-success) 7%, transparent);--theme-success-8: color-mix(in srgb, var(--theme-success) 8%, transparent);--theme-success-9: color-mix(in srgb, var(--theme-success) 9%, transparent);--theme-surface-28: color-mix(in srgb, var(--theme-surface) 28%, transparent);--theme-surface-34: color-mix(in srgb, var(--theme-surface) 34%, transparent);--theme-surface-40: color-mix(in srgb, var(--theme-surface) 40%, transparent);--theme-surface-43p92: color-mix(in srgb, var(--theme-surface) 43.92%, transparent);--theme-surface-45: color-mix(in srgb, var(--theme-surface) 45%, transparent);--theme-surface-46: color-mix(in srgb, var(--theme-surface) 46%, transparent);--theme-surface-50: color-mix(in srgb, var(--theme-surface) 50%, transparent);--theme-surface-52: color-mix(in srgb, var(--theme-surface) 52%, transparent);--theme-surface-54: color-mix(in srgb, var(--theme-surface) 54%, transparent);--theme-surface-55: color-mix(in srgb, var(--theme-surface) 55%, transparent);--theme-surface-60: color-mix(in srgb, var(--theme-surface) 60%, transparent);--theme-surface-62: color-mix(in srgb, var(--theme-surface) 62%, transparent);--theme-surface-64: color-mix(in srgb, var(--theme-surface) 64%, transparent);--theme-surface-65: color-mix(in srgb, var(--theme-surface) 65%, transparent);--theme-surface-68: color-mix(in srgb, var(--theme-surface) 68%, transparent);--theme-surface-70: color-mix(in srgb, var(--theme-surface) 70%, transparent);--theme-surface-72: color-mix(in srgb, var(--theme-surface) 72%, transparent);--theme-surface-75: color-mix(in srgb, var(--theme-surface) 75%, transparent);--theme-surface-76: color-mix(in srgb, var(--theme-surface) 76%, transparent);--theme-surface-78: color-mix(in srgb, var(--theme-surface) 78%, transparent);--theme-surface-80: color-mix(in srgb, var(--theme-surface) 80%, transparent);--theme-surface-82: color-mix(in srgb, var(--theme-surface) 82%, transparent);--theme-surface-84: color-mix(in srgb, var(--theme-surface) 84%, transparent);--theme-surface-85: color-mix(in srgb, var(--theme-surface) 85%, transparent);--theme-surface-85p1: color-mix(in srgb, var(--theme-surface) 85.1%, transparent);--theme-surface-86: color-mix(in srgb, var(--theme-surface) 86%, transparent);--theme-surface-86p67: color-mix(in srgb, var(--theme-surface) 86.67%, transparent);--theme-surface-88: color-mix(in srgb, var(--theme-surface) 88%, transparent);--theme-surface-90: color-mix(in srgb, var(--theme-surface) 90%, transparent);--theme-surface-90p2: color-mix(in srgb, var(--theme-surface) 90.2%, transparent);--theme-surface-91: color-mix(in srgb, var(--theme-surface) 91%, transparent);--theme-surface-92: color-mix(in srgb, var(--theme-surface) 92%, transparent);--theme-surface-92p94: color-mix(in srgb, var(--theme-surface) 92.94%, transparent);--theme-surface-94: color-mix(in srgb, var(--theme-surface) 94%, transparent);--theme-surface-96: color-mix(in srgb, var(--theme-surface) 96%, transparent);--theme-surface-97: color-mix(in srgb, var(--theme-surface) 97%, transparent);--theme-surface-98: color-mix(in srgb, var(--theme-surface) 98%, transparent);--theme-surface-98p43: color-mix(in srgb, var(--theme-surface) 98.43%, transparent);--theme-surface-98p5: color-mix(in srgb, var(--theme-surface) 98.5%, transparent);--theme-surface-99: color-mix(in srgb, var(--theme-surface) 99%, transparent);--theme-text-16: color-mix(in srgb, var(--theme-text) 16%, transparent);--theme-text-18: color-mix(in srgb, var(--theme-text) 18%, transparent);--theme-text-1p18: color-mix(in srgb, var(--theme-text) 1.18%, transparent);--theme-text-1p2: color-mix(in srgb, var(--theme-text) 1.2%, transparent);--theme-text-1p4: color-mix(in srgb, var(--theme-text) 1.4%, transparent);--theme-text-2: color-mix(in srgb, var(--theme-text) 2%, transparent);--theme-text-20: color-mix(in srgb, var(--theme-text) 20%, transparent);--theme-text-2p5: color-mix(in srgb, var(--theme-text) 2.5%, transparent);--theme-text-3: color-mix(in srgb, var(--theme-text) 3%, transparent);--theme-text-30: color-mix(in srgb, var(--theme-text) 30%, transparent);--theme-text-33: color-mix(in srgb, var(--theme-text) 33%, transparent);--theme-text-35: color-mix(in srgb, var(--theme-text) 35%, transparent);--theme-text-3p53: color-mix(in srgb, var(--theme-text) 3.53%, transparent);--theme-text-3p92: color-mix(in srgb, var(--theme-text) 3.92%, transparent);--theme-text-42: color-mix(in srgb, var(--theme-text) 42%, transparent);--theme-text-4p5: color-mix(in srgb, var(--theme-text) 4.5%, transparent);--theme-text-5: color-mix(in srgb, var(--theme-text) 5%, transparent);--theme-text-55: color-mix(in srgb, var(--theme-text) 55%, transparent);--theme-text-6: color-mix(in srgb, var(--theme-text) 6%, transparent);--theme-text-60: color-mix(in srgb, var(--theme-text) 60%, transparent);--theme-text-68: color-mix(in srgb, var(--theme-text) 68%, transparent);--theme-text-7: color-mix(in srgb, var(--theme-text) 7%, transparent)}:root[data-theme=light],:root[data-theme=paper]{--theme-canvas: #f3f6fa;--theme-surface: #ffffff;--theme-raised: #e9eef5;--theme-border: #b9c5d4;--theme-text: #17263b;--theme-muted: #4c6077;--theme-subtle: #52667d;--theme-inverse: #ffffff;--theme-accent: #205cb1;--theme-accent-soft: #205cb1;--theme-success: #16734e;--theme-info: #215fa6;--theme-danger: #b52b40;--theme-warning: #89540c;--theme-mint: #08766c;--theme-shadow: #152c48}:root[data-theme=paper]{--theme-canvas: #f4efe5;--theme-surface: #fffcf5;--theme-raised: #ebe3d4;--theme-border: #c6bba5;--theme-text: #382f25;--theme-muted: #685b49;--theme-subtle: #71614d;--theme-accent: #8c4c1c;--theme-accent-soft: #8c4c1c;--theme-info: #365e82;--theme-mint: #28705c}:root[data-theme=midnight]{--theme-canvas: #090f20;--theme-surface: #101c32;--theme-raised: #1c2d49;--theme-border: #3d5275;--theme-text: #edf3ff;--theme-muted: #b4c3da;--theme-subtle: #a0b4d2;--theme-inverse: #0b182b;--theme-accent: #8cbaff;--theme-accent-soft: #bdd5ff;--theme-success: #70d6a6;--theme-info: #8cbaff;--theme-danger: #ff91a2;--theme-warning: #f5c876;--theme-mint: #76d8cb;--theme-shadow: #000000}.ui-theme-picker{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;color:var(--theme-muted, #b4c1bd);font-size:12px}.ui-theme-picker select{width:auto;min-width:112px;min-height:36px;margin:0;padding:7px 26px 7px 10px;border:1px solid var(--theme-border, #3a4849);border-radius:8px;background:var(--theme-surface, #12191a);color:var(--theme-text, #f3efe6);cursor:pointer;font:inherit}.ui-theme-picker select:focus-visible{outline:2px solid var(--theme-accent, #f2a443);outline-offset:3px}.console-topbar .ui-theme-picker{margin-left:auto}@media(max-width:700px){.ui-theme-picker>span{display:none}.ui-theme-picker select{min-width:98px;min-height:44px}}:root[data-theme] .cm-editor .cm-cursor{border-left-color:var(--theme-text, #e8eee9)}:root[data-theme] .cm-editor .cm-content{caret-color:var(--theme-text, #e8eee9)}:root[data-theme]:not([data-theme=dark]) .cm-editor .cm-selectionBackground{background:color-mix(in srgb,var(--theme-accent) 24%,transparent)!important}:root[data-theme]:not([data-theme=dark]) .cm-editor .cm-activeLine,:root[data-theme]:not([data-theme=dark]) .cm-editor .cm-activeLineGutter{background:color-mix(in srgb,var(--theme-accent) 7%,transparent)}:root[data-theme]:not([data-theme=dark]) .cm-editor .cm-searchMatch{background:color-mix(in srgb,var(--theme-warning) 25%,transparent)}:root[data-theme=dark]{--theme-muted: #a0afa9}@media(max-width:900px){:root[data-theme] .app-shell .top-actions{display:flex;margin-left:auto}:root[data-theme] .app-shell .top-actions>:not(.ui-theme-picker){display:none}:root[data-theme] .app-shell .flow-status{display:none}}.client-update-notice{position:fixed;bottom:24px;right:24px;z-index:90;width:min(420px,calc(100vw - 32px));padding:20px;border:1px solid var(--line);border-radius:12px;color:var(--text);background:var(--panel);box-shadow:var(--shadow)}.client-update-notice strong{font-size:16px}.client-update-notice p{margin:8px 0 16px;color:var(--muted);line-height:1.6}.client-update-actions{display:flex;gap:10px}.client-update-actions button{min-height:44px}.client-update-actions button:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}.error-page details{margin:18px 0;color:var(--muted)}.error-page summary{cursor:pointer}.error-page pre{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}@media(max-width:560px){.client-update-notice{right:16px;bottom:16px;padding:16px}}:root{--studio-focus-border: var(--theme-border, #788c80);--studio-focus-ring: var(--theme-text, #91a398);--studio-focus-error: var(--theme-danger, #cf858b);--studio-focus-width: 1px;--studio-focus-offset: 2px}:focus{outline-color:var(--studio-focus-ring)!important;outline-width:var(--studio-focus-width)!important;outline-offset:var(--studio-focus-offset)!important}:focus,.cm-editor.cm-focused,.asset-library-search:focus-within,.generation-prompt-columns>label:focus-within,label.button-like:focus-within{transition-property:color,background-color,border-color,opacity,transform,filter!important}:focus-visible{outline:var(--studio-focus-width) solid var(--studio-focus-ring)!important;outline-offset:var(--studio-focus-offset)!important;box-shadow:none!important}:where(input,textarea,select):focus{box-shadow:none!important}:where(input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset]),textarea,select):focus{border-color:var(--studio-focus-border)!important;outline:none!important;box-shadow:none!important}:where(input,textarea,select)[aria-invalid=true]:focus{border-color:var(--studio-focus-error)!important}.asset-library-search:focus-within,.generation-prompt-columns>label:focus-within{border-color:var(--studio-focus-border)!important;box-shadow:none!important}.generation-prompt-columns>label:has([aria-invalid=true]):focus-within{border-color:var(--studio-focus-error)!important}.cm-editor.cm-focused{outline:var(--studio-focus-width) solid var(--studio-focus-border)!important;outline-offset:-1px!important;box-shadow:none!important}.cm-editor .cm-content:focus{outline:none!important;box-shadow:none!important}label.button-like:focus-within{outline:var(--studio-focus-width) solid var(--studio-focus-ring)!important;outline-offset:var(--studio-focus-offset)!important}.asset-draft-gallery,.asset-image-modal,.settings-video-preview-trigger,.overview-shot-preview-trigger{--studio-focus-offset: -3px}@media(forced-colors:active){:root{--studio-focus-border: Highlight;--studio-focus-ring: Highlight;--studio-focus-error: CanvasText;--studio-focus-width: 2px}:where(input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset]),textarea,select):focus-visible{outline:var(--studio-focus-width) solid Highlight!important}.asset-library-search:focus-within,.generation-prompt-columns>label:focus-within{outline:var(--studio-focus-width) solid Highlight!important;outline-offset:2px!important}.asset-library-search input:focus-visible,.generation-prompt-columns textarea:focus-visible{outline:none!important}}:root{color-scheme:dark;--bg: var(--theme-canvas, #060c16);--canvas: var(--theme-surface, #091321);--panel: var(--theme-surface, #101a2b);--panel-2: var(--theme-surface, #141f32);--panel-3: var(--theme-raised, #1a2740);--panel-soft: var(--theme-raised, #202e46);--line: var(--theme-info, #2b3a55);--line-soft: var(--theme-info-20, rgba(142, 158, 184, .2));--text: var(--theme-text, #f4f7fc);--muted: var(--theme-muted, #95a2b8);--muted-2: var(--theme-muted, #718099);--purple: var(--theme-accent, #8664ed);--purple-2: var(--theme-accent, #b79aff);--purple-soft: var(--theme-accent-18, rgba(134, 100, 237, .18));--blue: var(--theme-info, #63a8ff);--cyan: var(--theme-mint, #52d8d1);--green: var(--theme-success, #4fd592);--yellow: var(--theme-accent, #f2c75a);--red: var(--theme-danger, #ff7380);--orange: var(--theme-danger, #f0734b);--shadow: 0 26px 90px rgba(0, 0, 0, .44);font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;font-synthesis:none}.oidc-page{min-height:100dvh;display:grid;place-items:center;padding:32px 20px;color:var(--text);background:radial-gradient(circle at 78% 18%,var(--theme-mint-10, rgba(45, 204, 190, .1)),transparent 28%),radial-gradient(circle at 18% 78%,var(--theme-accent-12, rgba(245, 166, 57, .12)),transparent 28%),var(--theme-canvas, #070d13)}.oidc-card{width:min(100%,520px);padding:42px;border:1px solid var(--theme-border, #2d3b43);border-radius:22px;background:linear-gradient(145deg,var(--theme-surface-98, rgba(18, 27, 32, .98)),var(--theme-canvas-98, rgba(8, 14, 18, .98)));box-shadow:0 28px 80px #00000061}.oidc-brand{width:60px;height:60px;position:relative;display:grid;place-items:center;margin-bottom:28px;overflow:hidden;border-radius:14px;color:var(--theme-inverse, #111714);background:linear-gradient(145deg,var(--theme-accent, #ffc767),var(--theme-accent, #f2a43c));font-size:29px;font-weight:900}.oidc-brand i{width:31px;height:24px;position:absolute;right:-7px;bottom:-4px;border-radius:50%;background:var(--theme-success, #8bc6a0);transform:rotate(-12deg)}.oidc-eyebrow{margin:0 0 12px;color:var(--theme-mint, #36d3c2);font-size:11px;font-weight:800;letter-spacing:.17em}.oidc-card h1{margin:0;color:var(--theme-text, #f6f3e9);font-size:clamp(28px,5vw,40px);line-height:1.2;letter-spacing:-.035em}.oidc-copy{margin:18px 0 24px;color:var(--theme-muted, #aeb9bd);font-size:15px;line-height:1.75}.oidc-status{min-height:52px;display:flex;align-items:center;gap:11px;margin-bottom:18px;padding:14px 15px;border:1px solid var(--theme-border, #2a3b42);border-radius:12px;color:var(--theme-text, #c6d0d1);background:var(--theme-surface-84, rgba(12, 22, 27, .84));font-size:13px;line-height:1.55}.oidc-status-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:var(--theme-mint, #35cbbb);box-shadow:0 0 0 5px #35cbbb1f}.oidc-status-error{color:var(--theme-danger, #ffaaa8);border-color:var(--theme-danger, #713f47);background:var(--theme-danger-4p08, rgba(72, 25, 34, .34))}.oidc-status-error .oidc-status-dot{background:var(--theme-danger, #ff7775);box-shadow:0 0 0 5px #ff77751f}.oidc-status-redirecting .oidc-status-dot,.oidc-status-checking .oidc-status-dot{animation:oidc-pulse 1.1s ease-in-out infinite alternate}.oidc-login{width:100%;min-height:48px;border:0;border-radius:12px;color:var(--theme-inverse, #101613);background:linear-gradient(135deg,var(--theme-accent, #ffc566),var(--theme-accent, #f3a43a));box-shadow:0 12px 30px #f3a43a33;font-size:15px;font-weight:800;cursor:pointer}.oidc-login:hover{filter:brightness(1.06)}.oidc-login:focus-visible,.oidc-signout:focus-visible{outline:3px solid var(--theme-mint-55, rgba(54, 211, 194, .55));outline-offset:3px}.oidc-card small{display:block;margin-top:18px;color:var(--theme-muted, #79878d);font-size:11px;line-height:1.6}.global-auth-actions{flex:0 0 auto;display:flex;align-items:center}.oidc-signout{min-height:42px;padding:0 16px;border:1px solid var(--theme-border, #34464d);border-radius:10px;color:var(--theme-text, #cbd5d7);background:var(--theme-surface-94, rgba(9, 16, 20, .94));font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer;transition:color .16s ease,border-color .16s ease,background .16s ease}.oidc-signout:hover{color:var(--theme-danger, #ffb3a8);border-color:var(--theme-danger-68, rgba(236, 116, 102, .68));background:var(--theme-danger-18, rgba(150, 54, 48, .18))}.oidc-signout-label-compact{display:none}@keyframes oidc-pulse{to{opacity:.42;transform:scale(.82)}}@media(max-width:620px){.oidc-signout{min-width:52px;padding:0 10px}.oidc-signout-label{display:none}.oidc-signout-label-compact{display:inline}}@media(max-width:560px){.oidc-card{padding:30px 24px}}@media(prefers-reduced-motion:reduce){.oidc-status-dot{animation:none!important}}html,body,#root{margin:0;min-height:100%;background:var(--bg);color:var(--text)}body{min-width:1180px}.error-page{min-height:100vh;display:grid;place-items:center;padding:32px;color:var(--text);background:var(--bg)}button:not(:disabled),label.button-like{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.38}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,label.button-like:focus-within{outline:2px solid var(--purple-2);outline-offset:3px}.app-shell{min-height:100vh;background:radial-gradient(circle at 80% 0%,var(--theme-info-16, rgba(74, 57, 143, .16)),transparent 33%),linear-gradient(145deg,var(--theme-surface, #0a1321) 0%,var(--theme-canvas, #060c16) 62%,var(--theme-surface, #08101c) 100%)}.topbar{position:sticky;top:0;z-index:20;height:74px;display:flex;align-items:center;gap:20px;padding:0 24px;border-bottom:1px solid var(--line-soft);background:var(--theme-surface-96, rgba(7, 12, 23, .96));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand-button{display:flex;align-items:center;gap:12px;min-width:210px;color:var(--text);background:transparent;text-align:left}.brand-button strong{display:block;font-size:21px;letter-spacing:.02em}.brand-button small{display:block;margin-top:2px;color:var(--muted);font-size:10px;letter-spacing:.22em}.brand-mark{position:relative;width:42px;height:42px;display:grid;place-items:center;overflow:hidden;border-radius:13px;color:var(--theme-text, #fff);background:linear-gradient(145deg,var(--theme-info, #4b8af5) 0%,var(--theme-info, #7561e9) 53%,var(--theme-accent, #8f55d8) 100%);box-shadow:0 0 24px #645beb52,inset 0 0 0 2px #ffffff2b;font-size:20px;font-weight:800}.brand-mark:after{content:"";position:absolute;right:-10px;bottom:-10px;width:30px;height:30px;border-radius:50%;background:var(--theme-mint-50, rgba(88, 220, 210, .5))}.flow-status{flex:1;display:flex;justify-content:center;min-width:360px}.flow-nav{display:flex;align-items:center;gap:8px}.flow-nav button{width:38px;height:36px;border-radius:9px;color:var(--theme-text, #dce5f5);background:var(--theme-surface, #121c2e);border:1px solid var(--theme-info, #30405c)}.flow-nav button:hover:not(:disabled){border-color:var(--purple-2);background:var(--theme-raised, #18243a)}.flow-counter{min-width:188px;padding:0 14px;color:var(--muted);font-size:11px;text-align:center}.flow-counter b{color:var(--purple-2);font-size:12px}.flow-counter strong{display:block;margin-top:4px;overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.top-actions{display:flex;align-items:center;gap:10px}.theme-pill,.account-pill{height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:999px;color:var(--theme-text, #cdd6e5);background:var(--theme-surface, #0c1525);font-size:12px;white-space:nowrap}.theme-dot{width:8px;height:8px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 4px #52d8d11f}.account-avatar{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;color:var(--theme-text, #fff);background:linear-gradient(145deg,var(--purple),var(--theme-info, #5079ee));font-size:12px;font-weight:800}.workspace{display:flex;min-height:calc(100vh - 74px)}.sidebar{width:94px;flex:0 0 94px;display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:22px 9px 18px;border-right:1px solid var(--line-soft);background:var(--theme-surface-78, rgba(10, 17, 30, .78))}.sidebar-label{padding:0 0 8px;color:var(--muted-2);font-size:9px;font-weight:800;letter-spacing:.15em;text-align:center;text-transform:uppercase}.sidebar button{min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;border-radius:12px;color:var(--theme-info, #8291aa);background:transparent;font-size:11px;font-weight:700}.sidebar button:hover,.sidebar button.active{color:var(--theme-info, #e4dcff);border-color:var(--theme-info-55, rgba(157, 125, 255, .55));background:linear-gradient(145deg,var(--theme-info-32, rgba(125, 85, 220, .32)),var(--theme-info-16, rgba(74, 60, 131, .16)));box-shadow:0 0 24px #6442c92b}.nav-glyph{min-width:28px;height:24px;display:grid;place-items:center;border:1px solid currentColor;border-radius:7px;font-size:9px;letter-spacing:.05em}.sidebar-foot{margin-top:auto;padding:14px 4px 0;border-top:1px solid var(--line-soft);color:var(--muted-2);font-size:9px;line-height:1.65;text-align:center}.main{flex:1;min-width:0;padding:20px;overflow:hidden}.page{min-height:calc(100vh - 114px);margin:0 auto;padding:28px 30px 44px;overflow:auto;border:1px solid var(--theme-info-20, rgba(126, 148, 190, .2));border-radius:19px;background:var(--theme-surface-54, rgba(7, 13, 24, .54));box-shadow:inset 0 1px #ffffff05}.page.narrow{max-width:920px}.home-page{padding:8px 12px 32px;border-color:transparent;background:transparent;box-shadow:none}.home-stack{min-height:100%}.hero,.home-hero{position:relative;min-height:300px;overflow:hidden;margin-bottom:25px;padding:46px 52px;border:1px solid var(--theme-border, #263650);border-radius:21px;background:linear-gradient(90deg,var(--theme-canvas-98, rgba(5, 11, 22, .98)),var(--theme-surface-85, rgba(10, 16, 32, .85)) 57%,var(--theme-surface-40, rgba(17, 16, 34, .4))),radial-gradient(circle at 80% 40%,var(--theme-info-52, rgba(134, 91, 236, .52)),transparent 23%),linear-gradient(140deg,var(--theme-raised, #15233b),var(--theme-surface, #080d17))}.home-hero:before,.home-hero:after{content:"";position:absolute;right:72px;border:1px solid var(--theme-info-30, rgba(158, 126, 233, .3));transform:rotate(-4deg);pointer-events:none}.home-hero:before{top:43px;width:350px;height:198px;border-radius:17px;background:radial-gradient(circle at 44% 45%,var(--theme-accent-45, rgba(255, 214, 166, .45)),transparent 9%),linear-gradient(145deg,var(--theme-danger-6p24, rgba(87, 45, 62, .52)),var(--theme-surface-94, rgba(8, 18, 35, .94)));box-shadow:0 28px 72px #00000073}.home-hero:after{top:70px;right:106px;width:284px;height:146px;border-radius:10px;background:linear-gradient(90deg,transparent 44%,var(--theme-surface-76, rgba(12, 15, 24, .76)) 45% 55%,transparent 56%),radial-gradient(circle at 30% 50%,var(--theme-accent, #b99074) 0 6%,transparent 7%),radial-gradient(circle at 70% 50%,var(--theme-accent, #caa18c) 0 6%,transparent 7%),linear-gradient(145deg,var(--theme-surface, #201a1d),var(--theme-raised, #3b222b) 45%,var(--theme-raised, #172339))}.hero-copy{position:relative;z-index:2;max-width:620px}.hero-copy h1{margin:0 0 4px;color:var(--theme-text, #f6f0ff);font-family:Georgia,Songti SC,serif;font-size:44px;letter-spacing:-.04em}.hero-copy h2{margin:0 0 16px;color:var(--theme-info, #69cfff);font-size:24px}.hero-copy p{margin:0 0 30px;color:var(--theme-info, #94a2b7);font-size:15px}.hero h1{margin:7px 0 8px;font-size:42px}.hero p{margin:0;color:var(--muted);line-height:1.65}.hero-flow{position:absolute;z-index:3;right:36px;bottom:22px;display:flex;gap:8px;color:var(--theme-text, #d6deeb)}.hero-flow span,.process span{padding:9px 12px;border:1px solid var(--theme-border-13, rgba(255, 255, 255, .13));border-radius:999px;background:var(--theme-surface-84, rgba(16, 23, 37, .84));font-size:11px}.hero-flow i,.process i{align-self:center;color:var(--theme-info, #6e7d96);font-style:normal}.home-section-header,.section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:26px 0 16px}.home-section-header.compact{margin-top:28px}.section-header{margin-top:0;margin-bottom:26px}.home-section-header h2{margin:0;font-size:21px;letter-spacing:-.02em}.home-section-header p,.section-header p{margin:7px 0 0;color:var(--muted);line-height:1.65}.section-header h1{margin:6px 0 0;color:var(--text);font-size:clamp(27px,3vw,39px);letter-spacing:-.04em}.eyebrow{margin-bottom:9px;color:var(--purple-2);font-size:10px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.header-actions,.actions,.button-row,.row-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.actions{justify-content:flex-end;margin-top:18px}.primary,.secondary,.ghost-button,.button-like{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border-radius:10px;font-size:13px;font-weight:750;transition:transform .18s ease,filter .18s ease,border-color .18s ease}.primary{color:var(--theme-text, #fff);background:linear-gradient(135deg,var(--theme-accent, #9e6cff),var(--theme-info, #7045e6));box-shadow:0 10px 28px #8049eb3d}.secondary{color:var(--theme-info, #cbb9ff);background:var(--theme-accent-13, rgba(105, 66, 179, .13));border:1px solid var(--theme-accent, #6e4cae)}.primary:hover:not(:disabled),.secondary:hover:not(:disabled),.ghost-button:hover:not(:disabled),.button-like:hover{filter:brightness(1.12);transform:translateY(-1px)}.process{display:flex;align-items:center;gap:12px;margin:20px 0 30px;padding:15px 18px;border:1px solid var(--line);border-radius:13px;color:var(--muted);background:var(--theme-surface-88, rgba(16, 26, 43, .88))}.process .done{color:var(--green);border-color:var(--theme-success-32, rgba(79, 213, 146, .32));background:var(--theme-success-13, rgba(47, 155, 110, .13))}.project-grid,.card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-card,.view-all-card,.tool-card{min-height:142px;padding:20px;border:1px solid var(--theme-border, #293851);border-radius:16px;color:var(--theme-text, #eef2fb);background:linear-gradient(145deg,var(--theme-surface, #121d30),var(--theme-surface, #0d1524));text-align:left}.project-card:after{content:"▶";position:absolute;right:20px;top:40px;width:54px;height:44px;display:grid;place-items:center;border-radius:12px;color:var(--theme-text-20, rgba(210, 220, 237, .2));background:var(--theme-info-13, rgba(127, 142, 171, .13))}.project-card h3{position:relative;z-index:1;max-width:76%;margin:25px 0 9px;overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.project-card p{margin:0;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.project-card small{display:block;margin-top:13px;color:var(--muted-2)}.project-card:hover,.tool-card:hover,.view-all-card:hover{border-color:var(--theme-info, #7657c6);transform:translateY(-2px)}.view-all-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:var(--theme-text, #b8c4d8);border-style:dashed;text-align:center}.folder-icon{font-size:32px;color:var(--purple-2)}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tool-card{display:flex;align-items:center;gap:14px;min-height:94px}.tool-icon{width:45px;height:45px;display:grid;place-items:center;flex:0 0 45px;border-radius:13px;color:var(--theme-text, #fff);background:linear-gradient(145deg,var(--theme-info, #8d5cff),var(--theme-info, #405de7));font-size:11px;font-weight:800}.tool-icon.cyan{background:linear-gradient(145deg,var(--theme-mint, #37c6ca),var(--theme-info, #3869d7))}.tool-icon.orange{background:linear-gradient(145deg,var(--theme-accent, #e98b57),var(--theme-danger, #d05262))}.panel,.upload-box,.script-preview,.editor-box,.video-config,.video-stage{border:1px solid var(--line);border-radius:14px;background:var(--theme-surface-90, rgba(16, 26, 43, .9));box-shadow:0 10px 28px #0000002e}.panel{padding:24px}.panel h2,.upload-box h2,.script-preview h2,.video-config h2{margin-top:0}.form-panel{display:grid;gap:18px}label{display:grid;gap:8px;color:var(--theme-text, #b4bfd1);font-size:12px;font-weight:700}input,textarea,select,.readonly{width:100%;border:1px solid var(--theme-info, #2c3b56);border-radius:10px;color:var(--theme-text, #eef2fb);background:var(--theme-surface, #091321);outline:none}input,select,.readonly{min-height:44px;padding:0 13px}textarea{min-height:100px;padding:12px 13px;resize:vertical;line-height:1.65}input:focus,textarea:focus,select:focus{border-color:var(--theme-info, #8061e8);box-shadow:0 0 0 3px #8563ed29}.readonly{display:inline-flex;align-items:center;color:var(--muted);background:var(--theme-surface, #121c2e)}fieldset{border:0;padding:0;margin:0}legend{margin-bottom:8px;color:var(--theme-text, #b4bfd1);font-size:12px;font-weight:700}.choice-row{display:flex;flex-wrap:wrap;gap:10px}.choice{min-height:44px;padding:0 15px;border:1px solid var(--theme-info, #2d3d58);border-radius:10px;color:var(--theme-info, #9eacc1);background:var(--theme-surface, #0b1525)}.choice.selected{color:var(--theme-text, #eef2ff);border-color:var(--theme-info, #3a9bd1);background:var(--theme-info-12, #10314b)}.split-panel,.rule-layout,.preview-layout,.editor-layout,.overview-layout,.storyboard-layout,.video-layout,.delivery-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:18px;align-items:stretch}.overview-layout,.storyboard-layout{grid-template-columns:minmax(0,1fr) 390px}.video-layout{grid-template-columns:430px minmax(0,1fr)}.delivery-layout{grid-template-columns:420px minmax(0,1fr)}.upload-box,.script-preview,.editor-box,.video-config,.video-stage{padding:22px}.upload-box{min-height:280px}.doc-icon{width:46px;height:54px;display:grid;place-items:center;border-radius:8px;color:var(--theme-text, #fff);background:var(--theme-info, #5274ef);font-weight:800}.upload-box h2{margin:20px 0 8px;font-size:18px;overflow-wrap:anywhere}.upload-box p,.script-preview p{color:var(--muted);line-height:1.7}.button-like{margin-top:16px}.file-ok{display:block;margin-top:14px;color:var(--green)}.editor-box{padding:0;overflow:hidden}.editor-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 22px;border-bottom:1px solid var(--line-soft)}.editor-head h2{margin:0;font-size:18px}.editor-head span,.editor-head small{color:var(--muted-2);font-size:11px}.editor-box .actions{padding:0 22px 20px}.editor-box .cm-editor{min-height:480px;color:var(--theme-info, #afbdd1);background:var(--theme-surface, #0b1422);font-size:13px}.editor-box .cm-scroller{font-family:SFMono-Regular,Consolas,monospace;overflow:auto}.editor-box .cm-gutters{color:var(--theme-info, #60718b);background:var(--theme-surface, #101b2c);border-right:1px solid var(--theme-border, #263650)}.editor-box .cm-activeLine,.editor-box .cm-activeLineGutter{background:var(--theme-info-11, rgba(110, 84, 198, .11))}.alert{margin-bottom:18px;padding:15px 17px;border-radius:11px;line-height:1.65}.task-status-wrap{width:min(100%,1440px);margin:14px auto 0;padding:0 24px}.task-status-wrap:empty{display:none}.task-status-banner{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}.task-status-banner strong{margin-right:2px}.task-status-banner span{flex:1 1 260px;min-width:0}.task-status-banner .secondary-button{margin-left:auto}.task-status-banner>.task-event-history{flex:0 0 auto;margin:0;padding:0;border-top:0}.task-status-banner>.task-event-history>summary{min-height:36px;padding:0 8px}.task-status-banner>.task-event-history[open]{flex:1 1 100%;margin-top:2px;padding-top:10px;border-top:1px solid var(--line-soft)}.task-failure-banner>.task-failure-message{overflow-wrap:anywhere}.task-failure-banner>.task-event-history[open]{order:1}.task-failure-dismiss{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;min-width:76px;min-height:44px;margin-left:auto;padding:0 12px;border:1px solid currentColor;border-radius:8px;color:inherit;background:transparent;font-size:13px;font-weight:700;cursor:pointer}.task-failure-dismiss:hover{background:var(--line-soft)}.task-failure-dismiss:focus-visible{outline:3px solid var(--purple-2);outline-offset:3px}.task-event-history{flex:1 1 100%;min-width:0;margin-top:2px;padding-top:10px;border-top:1px solid var(--line-soft)}.task-event-history>summary{display:inline-flex;align-items:center;min-height:44px;padding:0 2px;color:inherit;cursor:pointer;font-size:12px;font-weight:700}.task-event-history>summary::marker{color:currentColor}.task-event-history>summary:focus-visible{outline:2px solid var(--purple-2);outline-offset:3px;border-radius:4px}.task-event-history-body{display:grid;gap:8px;max-height:240px;margin-top:8px;overflow:auto}.task-event-history-state{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:12px}.task-event-history-state .ghost-button{min-height:36px;padding:0 11px}.task-event-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}.task-event-row{display:grid;grid-template-columns:minmax(145px,auto) auto minmax(0,1fr);gap:8px;align-items:center;min-height:34px;padding:6px 8px;border:1px solid var(--line-soft);border-radius:7px;color:var(--muted);background:var(--theme-surface-28, rgba(8, 14, 25, .28));font-size:12px}.task-event-row time{color:var(--muted-2);font-variant-numeric:tabular-nums;white-space:nowrap}.task-event-row>span:last-child{min-width:0;overflow-wrap:anywhere}.task-event-row .status{flex:none;min-width:0}.danger-panel{color:var(--theme-danger, #ff9ba5);border:1px solid var(--theme-danger-40, rgba(255, 108, 122, .4));background:var(--theme-danger-16, rgba(162, 45, 61, .16))}.info-panel{color:var(--theme-info, #9bcaff);border:1px solid var(--theme-info-36, rgba(99, 168, 255, .36));background:var(--theme-info-16, rgba(53, 106, 180, .16))}.script-preview{min-height:250px;color:var(--theme-text, #b9c3d3);line-height:1.8}.script-preview.large{min-height:510px;max-height:620px;overflow:auto}.script-preview p{white-space:pre-wrap}.script-preview .matched{margin-left:-7px;padding:8px 11px;border-left:3px solid var(--purple);border-radius:5px;color:var(--theme-text, #f0eaff);background:var(--theme-accent-34, rgba(141, 103, 214, .34))}.loading-panel{min-height:140px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted)}.workspace-setup-panel{min-height:300px;display:flex;flex-direction:column;justify-content:center;padding:42px;border-color:var(--theme-accent-42, rgba(242, 164, 67, .42));background:radial-gradient(circle at 88% 18%,var(--theme-mint-12, rgba(47, 204, 188, .12)),transparent 30%),linear-gradient(145deg,var(--theme-surface-98, rgba(24, 26, 22, .98)),var(--theme-surface-96, rgba(12, 19, 20, .96)))}.workspace-setup-panel h1{margin:0;color:var(--text);font-size:32px;letter-spacing:-.035em}.workspace-setup-panel>p{max-width:650px;margin:16px 0 0;color:var(--muted);line-height:1.75}.workspace-setup-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 18px;margin-top:28px}.workspace-setup-actions small{color:var(--muted-2);line-height:1.6}.workspace-setup-error{margin-top:18px;padding:12px 14px;border:1px solid var(--theme-danger-40, rgba(255, 115, 128, .4));border-radius:8px;color:var(--theme-danger, #ffadb5);background:var(--theme-danger-16, rgba(162, 45, 61, .16))}.spinner{width:17px;height:17px;display:inline-block;border:2px solid var(--theme-info, #31425f);border-top-color:var(--purple-2);border-radius:50%;animation:juling-spin .8s linear infinite}@keyframes juling-spin{to{transform:rotate(360deg)}}.episode-list{display:flex;flex-direction:column;gap:8px;max-height:620px;overflow:auto}.episode-card{display:grid;gap:5px;padding:14px;border:1px solid var(--theme-info, #2b3b56);border-radius:10px;color:var(--theme-muted, #a9b6ca);background:var(--theme-surface, #111a2a);text-align:left}.episode-card strong{color:var(--theme-text, #edf2fb)}.episode-card small{color:var(--muted-2)}.episode-card.selected{padding:13px;border:2px solid var(--theme-info, #7856cf);background:var(--theme-accent-28, rgba(103, 71, 161, .28))}.editor-panel{display:flex;flex-direction:column;min-height:620px}.episode-editor{flex:1;min-height:450px;font-family:SFMono-Regular,Consolas,monospace;line-height:1.75}.editor-status{display:flex;align-items:center;gap:8px}.version-history{margin-top:18px;padding-top:14px;border-top:1px solid var(--line-soft)}.version-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.version-history-head>div{display:grid;gap:4px}.version-history-head small,.history-row small{color:var(--muted-2);font-size:11px}.version-history-body{display:grid;gap:8px;max-height:260px;margin-top:12px;overflow:auto}.history-row{display:grid;grid-template-columns:44px minmax(0,1fr) 55px;gap:8px;align-items:center;width:100%;padding:9px 11px;border:1px solid var(--theme-info, #2c3c57);border-radius:8px;color:var(--theme-muted, #a9b6ca);background:var(--theme-surface, #0e1828);text-align:left;font-size:12px}.history-row:hover,.history-row.selected{border-color:var(--theme-info, #7856cf);background:var(--theme-accent-24, rgba(103, 71, 161, .24))}.history-row span:first-child{color:var(--theme-text, #eef2fb);font-weight:800}.history-row span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-row small{text-align:right}.history-preview{padding:12px;border:1px solid var(--theme-info, #2b3b56);border-radius:8px;color:var(--theme-text, #b7c2d3);background:var(--theme-surface, #121d2f);font-size:12px;line-height:1.65}.history-preview p{max-height:120px;margin:8px 0 0;overflow:auto;white-space:pre-wrap}.history-error{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--red)}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}.step,.check-card{display:grid;gap:10px;padding:20px;border:1px solid var(--theme-info, #2b3b56);border-radius:13px;background:var(--theme-surface, #111b2c)}.step b{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;color:var(--theme-text, #bdc8db);background:var(--theme-raised, #202d45)}.step.active{border-color:var(--theme-info, #8160e0)}.step.done{border-color:var(--theme-success-50, rgba(79, 213, 146, .5));background:var(--theme-success-11, rgba(45, 139, 101, .11))}.step.locked{opacity:.55}.step strong{color:var(--purple-2)}.asset-check-grid,.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.check-card h3{margin:0 0 9px}.check-card strong{font-size:34px}.check-card p,.stat-card span,.stat-card small{color:var(--muted)}.check-card.ready{border-color:var(--theme-success-54, rgba(79, 213, 146, .54));background:var(--theme-success-16, rgba(45, 139, 101, .16))}.stat-card{display:grid;gap:6px;padding:18px 20px}.stat-card strong{font-size:30px;letter-spacing:-.03em}.tab-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:18px;padding:5px;border-bottom:1px solid var(--line-soft)}.tab{padding:11px 14px;border-bottom:2px solid transparent;color:var(--theme-info, #8898b0);background:transparent;font-weight:700}.tab.active{color:var(--theme-text, #eee8ff);border-color:var(--purple-2)}.tab small{margin-left:4px;color:var(--muted-2)}.asset-table{overflow:hidden;border:1px solid var(--theme-info, #2b3b56);border-radius:12px;background:var(--theme-surface, #0f1929)}.asset-head,.asset-row{display:grid;grid-template-columns:1.25fr .8fr 2fr .45fr .9fr;gap:12px;align-items:center;padding:14px 17px}.asset-head{color:var(--theme-info, #8798b0);background:var(--theme-raised, #162239);font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.asset-row{position:relative;min-height:70px;border-top:1px solid var(--line-soft);color:var(--theme-text, #dbe3f1)}.asset-row>span:nth-child(3){overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.asset-speech-panel{grid-column:1 / -1;margin-top:2px;padding:16px}.asset-speech-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.asset-speech-head h3{margin:0}.asset-speech-head p{max-width:760px;margin:6px 0 0}.asset-speech-form{margin-top:14px}.asset-speech-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.asset-speech-result{display:grid;gap:10px;margin-top:14px}.asset-speech-result audio{width:min(100%,620px)}.asset-chip-row{display:flex;flex-wrap:wrap;gap:8px;min-height:28px}.asset-chip{display:inline-flex;align-items:center;padding:5px 9px;border:1px solid var(--theme-info, #2c405c);border-radius:999px;color:var(--theme-info, #b8c6da);background:var(--theme-raised, #152239);font-size:11px}.asset-chip.角色{color:var(--theme-accent, #f1c5ff);border-color:var(--theme-accent, #7253a6);background:var(--theme-accent-22, rgba(114, 68, 157, .22))}.asset-chip.场景{color:var(--theme-success, #91ead3);border-color:var(--theme-mint, #397d78);background:var(--theme-mint-18, rgba(39, 128, 119, .18))}.asset-chip.道具{color:var(--theme-accent, #f1d38b);border-color:var(--theme-accent, #806b37);background:var(--theme-accent-19, rgba(129, 100, 36, .19))}.association-popover{grid-column:1 / -1;margin-top:4px;padding:14px;display:grid;gap:8px;border:1px solid var(--theme-info, #344663);border-radius:10px;background:var(--theme-raised, #16233a)}.check-line{display:flex;align-items:center;gap:8px;color:var(--theme-text, #c2cddd);font-size:12px}.check-line input{width:auto;min-height:0}.asset-add-row{display:flex;gap:8px}.asset-add-row select{flex:1;min-width:0}.shot-column{display:flex;flex-direction:column;gap:10px;min-width:0}.shot-column h2{margin:0 0 8px}.shot-column h2 small{color:var(--muted-2)}.shot-mini,.shot-card{display:grid;gap:6px;width:100%;padding:15px;border:1px solid var(--theme-info, #2b3b56);border-radius:10px;color:var(--theme-text, #edf2fb);background:var(--theme-surface, #111b2c);text-align:left}.shot-mini small,.shot-card span,.shot-card p{color:var(--muted);font-size:12px}.shot-card p{margin:0;line-height:1.55}.shot-card.selected{padding:14px;border:2px solid var(--theme-info, #7856cf);background:var(--theme-accent-28, rgba(103, 71, 161, .28))}.video-config{display:grid;align-content:start;gap:15px}.video-config h2{margin:0}.runtime-engine-card{display:grid;gap:14px;padding:16px;border:1px solid var(--theme-accent-28, rgba(242,164,67,.28));border-radius:12px;background:linear-gradient(145deg,var(--theme-accent-5p5, rgba(242,164,67,.055)),var(--theme-surface-92, rgba(9,16,27,.92)) 42%)}.runtime-engine-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.runtime-engine-head>div{min-width:0;display:grid;gap:4px}.runtime-engine-head strong{color:var(--theme-text, #f4efe6);font-size:15px}.runtime-engine-head span{color:var(--muted);font-size:11px;line-height:1.5}.runtime-engine-badge{flex:0 0 auto;padding:5px 8px;border:1px solid var(--theme-mint-40, rgba(56,204,183,.4));border-radius:999px;color:var(--theme-mint, #8de7d8)!important;background:var(--theme-mint-9, rgba(56,204,183,.09));font-weight:800;white-space:nowrap}.runtime-engine-card>label{display:grid;gap:7px;color:var(--theme-text, #c5d0dd);font-size:11px;font-weight:800}.runtime-engine-card select,.runtime-engine-card input,.runtime-engine-card textarea{min-width:0;min-height:44px}.runtime-engine-message{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:10px 12px;border:1px dashed var(--theme-info, #38465a);border-radius:8px;color:var(--theme-info, #9ba9bd);background:var(--theme-surface-45, rgba(7,13,23,.45));font-size:11px;line-height:1.5}.runtime-engine-message.compact{min-height:36px}.runtime-engine-message.error{color:var(--theme-danger, #ffacb4);border-color:var(--theme-danger-42, rgba(255,105,120,.42));background:var(--theme-danger-7, rgba(255,105,120,.07))}.runtime-engine-message .ghost-button{min-height:36px;flex:0 0 auto}.workflow-runtime-fields{display:grid;gap:13px;padding-top:13px;border-top:1px solid var(--theme-accent-18, rgba(242,164,67,.18))}.workflow-runtime-summary{display:grid;gap:3px}.workflow-runtime-summary strong{color:var(--theme-accent, #ffd28a);font-size:13px}.workflow-runtime-summary span{color:var(--muted);font-size:10px;line-height:1.5}.workflow-runtime-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workflow-runtime-grid>label{min-width:0;display:grid;align-content:start;gap:7px;color:var(--theme-text, #c7d1de);font-size:11px;font-weight:800}.workflow-runtime-grid>label>span{min-width:0;display:grid;gap:2px}.workflow-runtime-grid small{overflow-wrap:anywhere;color:var(--theme-info, #75849a);font-size:9px;font-weight:500}.workflow-runtime-grid textarea{min-height:88px;resize:vertical}.reference-picker{min-width:0;display:grid;gap:12px;padding:15px;border:1px solid var(--theme-border, #2c3b50);border-radius:12px;background:var(--theme-surface-76, rgba(9,16,27,.76))}.reference-picker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.reference-picker-head>div:first-child{min-width:0;display:grid;gap:3px}.reference-picker-head strong{color:var(--theme-text, #f1f3f7);font-size:14px}.reference-picker-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.reference-picker-actions .ghost-button{min-height:36px;padding:0 10px;font-size:10px}.selected-reference-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}.selected-reference-list li{min-width:0;min-height:54px;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 9px;border:1px solid var(--theme-accent-28, rgba(242,164,67,.28));border-radius:9px;background:var(--theme-accent-5p5, rgba(242,164,67,.055))}.selected-reference-list li>span:nth-child(2){min-width:0;display:grid;gap:2px}.selected-reference-list li strong,.selected-reference-list li small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-reference-list li strong{color:var(--theme-text, #eceff5);font-size:11px}.selected-reference-list li small{color:var(--theme-info, #7f8ea4);font-size:9px}.selected-reference-list li>div{display:flex;gap:4px}.reference-order{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;color:var(--theme-inverse, #141006);background:var(--theme-accent, #f2a443);font-size:11px;font-weight:900}.reference-move,.reference-remove{width:44px;min-height:44px;display:grid;place-items:center;padding:0;border:1px solid var(--theme-info, #34445a);border-radius:9px;color:var(--theme-muted, #aab8cb);background:var(--theme-surface, #111c2c)}.reference-remove{color:var(--theme-danger, #ffabb3)}.reference-move:disabled{opacity:.32}.reference-candidate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.reference-candidate{min-width:0;min-height:54px;display:grid;grid-template-columns:31px minmax(0,1fr) 22px;align-items:center;gap:9px;padding:8px 9px;border:1px solid var(--theme-border, #2c3d53);border-radius:9px;color:var(--theme-text, #cbd4e1);background:var(--theme-surface, #101a2a);text-align:left}.reference-candidate:hover{border-color:var(--theme-mint-48, rgba(56,204,183,.48));transform:none}.reference-candidate.selected{border-color:var(--theme-mint-55, rgba(56,204,183,.55));background:var(--theme-mint-9, rgba(56,204,183,.09))}.reference-candidate>span:nth-child(2){min-width:0;display:grid;gap:2px}.reference-candidate strong,.reference-candidate small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference-candidate strong{color:var(--theme-text, #e8edf5);font-size:10px}.reference-candidate small{color:var(--theme-info, #7d8da3);font-size:9px}.reference-candidate i{color:var(--theme-mint, #68dccb);font-size:14px;font-style:normal;font-weight:900;text-align:center}.reference-kind{width:29px;height:29px;display:grid;place-items:center;border:1px solid var(--theme-info, #53637a);border-radius:8px;color:var(--theme-info, #b8c7dc);background:var(--theme-raised, #172338);font-size:10px;font-weight:900}.reference-kind.type-角色,.reference-order.type-角色{color:var(--theme-accent, #f1c8ff);border-color:var(--theme-accent, #7253a6);background:var(--theme-accent-35, rgba(114,68,157,.35))}.reference-kind.type-场景,.reference-order.type-场景{color:var(--theme-mint, #9aeddb);border-color:var(--theme-mint, #397d78);background:var(--theme-mint-30, rgba(39,128,119,.3))}.reference-kind.type-道具,.reference-order.type-道具{color:var(--theme-accent, #f3d58d);border-color:var(--theme-accent, #806b37);background:var(--theme-accent-30, rgba(129,100,36,.3))}.reference-empty{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px dashed var(--theme-info, #39485c);border-radius:9px;color:var(--theme-info, #8898ae);font-size:10px}.reference-empty .secondary-button{min-height:38px;flex:0 0 auto}.reference-capability{display:grid;gap:2px;padding:9px 11px;border-left:3px solid var(--theme-info, #60708a);color:var(--theme-muted, #97a5b8);background:var(--theme-info-10, rgba(71,87,111,.1));font-size:10px;line-height:1.45}.reference-capability.ready{border-left-color:var(--theme-mint, #38ccb7);background:var(--theme-mint-7, rgba(56,204,183,.07))}.reference-capability strong{color:var(--theme-text, #d8e0eb)}.video-stage{min-height:520px;display:grid;place-items:center;align-content:center;gap:18px}.video-placeholder,.video-preview-shell{width:min(100%,620px);aspect-ratio:16 / 9;display:grid;place-items:center;overflow:hidden;border-radius:11px;color:var(--theme-text, #bec9da);background:var(--theme-surface, #080e18)}.video-preview-shell video,.video-stage>video{width:100%;height:100%;object-fit:contain;background:var(--theme-surface, #080e18)}.delivery-summary{display:grid;gap:5px;margin-bottom:12px;padding:14px 16px;border-left:3px solid var(--purple);background:var(--theme-accent-16, rgba(116, 78, 179, .16))}.delivery-summary small{color:var(--muted)}.empty{min-height:230px;display:grid;place-items:center;align-content:center;gap:8px;padding:28px;border:1px dashed var(--theme-info, #3a4a65);border-radius:13px;color:var(--theme-text, #b4c0d2);background:var(--theme-surface-70, rgba(14, 24, 40, .7));text-align:center}.empty-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;color:var(--purple-2);background:var(--theme-accent-20, rgba(121, 78, 199, .2));font-size:26px}.empty h2{margin:7px 0 0;color:var(--theme-text, #eef2fb);font-size:18px}.empty p{max-width:450px;margin:0 0 8px;color:var(--muted)}.status{display:inline-flex;width:fit-content;min-height:26px;align-items:center;padding:0 10px;border:1px solid var(--line);border-radius:999px;color:var(--theme-text, #b9c6da);background:var(--theme-surface-88, rgba(19, 29, 48, .88));font-size:10px;font-weight:800;letter-spacing:.04em}.status.info{color:var(--theme-info, #a9d2ff);border-color:var(--theme-info-42, rgba(99, 168, 255, .42));background:var(--theme-info-20, rgba(73, 113, 186, .2))}.status.success{color:var(--theme-success, #8aefbd);border-color:var(--theme-success-42, rgba(79, 213, 146, .42));background:var(--theme-success-16, rgba(43, 177, 113, .16))}.status.danger{color:var(--theme-danger, #ff9ea8);border-color:var(--theme-danger-46, rgba(255, 115, 128, .46));background:var(--theme-danger-16, rgba(194, 54, 70, .16))}.status.warning{color:var(--theme-accent, #f2d37d);border-color:var(--theme-accent-46, rgba(242, 199, 90, .46));background:var(--theme-accent-15, rgba(171, 124, 37, .15))}.version-list{display:grid;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line-soft)}.version-list.compact{margin:12px 0 16px;padding-top:0;border-top:0}.version-row{display:flex;align-items:center;gap:8px;min-height:28px;font-size:12px}.version-row>span:first-child{min-width:32px;font-weight:700}.version-row small{margin-left:auto;color:var(--green)}.toast{position:fixed;right:28px;bottom:28px;z-index:50;max-width:min(420px,calc(100vw - 56px));padding:13px 17px;border:1px solid var(--theme-info, #394a68);border-radius:10px;color:var(--theme-text, #f3f6ff);background:var(--theme-surface, #121d30);box-shadow:var(--shadow)}.pagination-footer{display:flex;justify-content:center;padding:20px 0 8px}.pagination-footer .secondary-button{min-width:168px}.import-button{margin-top:0}.danger-text{color:var(--red)!important}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:24px;background:#03080cb8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.modal{width:min(560px,calc(100vw - 48px));max-height:min(820px,calc(100vh - 48px));display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--theme-border, #344447);border-radius:12px;color:var(--text);background:var(--theme-surface, #101819);box-shadow:0 28px 90px #0000007a}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 26px 18px;border-top:3px solid var(--jueling-warm);border-bottom:1px solid var(--theme-border, #2b393b)}.modal-header h2{margin:0;color:var(--theme-text, #eef2eb);font-size:24px;letter-spacing:-.03em}.modal-header p{margin:7px 0 0;line-height:1.55}.modal-body{display:grid;gap:18px;overflow:auto;padding:22px 26px}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:16px 26px 22px;border-top:1px solid var(--theme-border, #2b393b)}.close-x{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--theme-border, #3b4b4d);border-radius:7px;color:var(--theme-text, #c2cfca);background:var(--theme-surface, #172122);font-size:22px;line-height:1}.close-x:hover{color:var(--theme-inverse, #151918);border-color:var(--jueling-warm);background:var(--jueling-warm)}.modal .field{display:grid;gap:8px}.modal .field>label{color:var(--theme-text, #c3cfca)}.modal .field select{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.project-directory-backdrop{align-items:start;padding-top:clamp(56px,10vh,112px)}.project-directory{width:min(780px,calc(100vw - 48px))}.directory-toolbar{display:flex;align-items:center;gap:10px;padding:18px 26px 0}.directory-toolbar input{min-width:0;flex:1}.directory-list{min-height:180px;max-height:min(520px,55vh);display:grid;gap:8px;overflow:auto;padding:18px 26px}.directory-row{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:15px 16px;border:1px solid var(--theme-border, #2d3b3d);border-radius:8px;color:var(--theme-text, #e9f0eb);background:var(--theme-surface, #151e1f);text-align:left}.directory-row:hover{border-color:var(--theme-accent-72, rgba(242, 164, 67, .72));background:var(--theme-surface, #1a2524);transform:translateY(-1px)}.directory-row>span:first-child{min-width:0;display:grid;gap:5px}.directory-row strong,.directory-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.directory-row small{color:var(--theme-muted, #82918d)}.directory-meta{display:grid;justify-items:end;gap:6px;flex:0 0 auto}.directory-meta small{color:var(--theme-muted, #92a09b);font-size:11px}.directory-empty{min-height:180px;display:grid;place-items:center;align-content:center;gap:7px;color:var(--theme-text, #b9c6c0);text-align:center}.directory-empty .empty-icon{color:var(--jueling-warm);background:var(--theme-accent-12, rgba(242, 164, 67, .12))}.directory-footer{justify-content:space-between}@media(max-width:1180px){body{min-width:0}.top-actions{display:none}.sidebar{width:78px;flex-basis:78px}.main{padding:14px}.page{padding:22px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-hero:before,.home-hero:after{right:24px;opacity:.5}}@media(max-width:900px){.flow-status{min-width:0}.brand-button{min-width:160px}.flow-counter{min-width:140px}.split-panel,.rule-layout,.preview-layout,.editor-layout,.overview-layout,.storyboard-layout,.video-layout,.delivery-layout{grid-template-columns:1fr}.steps,.asset-check-grid,.stats-grid,.tool-grid,.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-hero{padding:36px}.home-hero:before,.home-hero:after{display:none}.hero-flow{position:static;margin-top:28px;flex-wrap:wrap}.workflow-runtime-grid{grid-template-columns:1fr}}@media(max-width:620px){.topbar{padding:0 14px}.brand-button{min-width:auto}.brand-button small,.flow-counter strong{display:none}.flow-counter{min-width:100px}.sidebar{width:64px;flex-basis:64px;padding-inline:5px}.sidebar-foot,.sidebar-label{display:none}.page{padding:18px;border-radius:14px}.section-header{align-items:flex-start;flex-direction:column}.header-actions{justify-content:flex-start}.project-grid,.steps,.asset-check-grid,.stats-grid,.tool-grid,.card-grid{grid-template-columns:1fr}.asset-head{display:none}.asset-row{grid-template-columns:1fr;gap:8px;padding:16px}.asset-speech-options{grid-template-columns:1fr}.asset-row>span:nth-child(3){white-space:normal}.task-event-row{grid-template-columns:1fr auto}.task-event-row>span:last-child{grid-column:1 / -1}.runtime-engine-head,.runtime-engine-message{align-items:stretch;flex-direction:column}.runtime-engine-badge{width:fit-content}.reference-picker-head,.reference-empty{align-items:stretch;flex-direction:column}.reference-picker-actions{justify-content:flex-start}.reference-candidate-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}:root{--bg: var(--theme-canvas, #050a14);--panel: var(--theme-surface, #0c1424);--panel-2: var(--theme-surface, #111a2b);--panel-3: var(--theme-surface, #151f32);--panel-soft: var(--theme-raised, #182239);--line: var(--theme-border, #26324a);--line-soft: var(--theme-info-18, rgba(139, 151, 180, .18));--text: var(--theme-text, #f5f7ff);--muted: var(--theme-muted, #8c9ab3);--muted-2: var(--theme-muted, #64728b);--purple: var(--theme-accent, #8d5cff);--purple-2: var(--theme-accent, #b18bff);--purple-soft: var(--theme-accent-16, rgba(141, 92, 255, .16));--blue: var(--theme-info, #63a8ff);--cyan: var(--theme-mint, #45d8cf);--green: var(--theme-success, #43d08a);--yellow: var(--theme-accent, #f3c74e);--red: var(--theme-danger, #ff6b7a);--shadow: 0 28px 90px rgba(0, 0, 0, .48)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--theme-canvas, #02050b);color:var(--text);font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif}body{min-width:1440px}button,input,textarea,select{font:inherit}button{border:0}button:not(:disabled),[data-action],[data-go-step]{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--purple-2);outline-offset:2px}.screen-canvas{position:relative;width:1440px;height:1024px;overflow:hidden;background:radial-gradient(circle at 75% 10%,var(--theme-info-12, rgba(109, 75, 202, .12)),transparent 34%),linear-gradient(145deg,var(--theme-surface, #08101e) 0%,var(--theme-canvas, #050a14) 55%,var(--theme-canvas, #060b16) 100%);border:1px solid var(--theme-border-4, rgba(255, 255, 255, .04))}body:not(.all-mode) #app{width:1440px;margin:0 auto}.topbar{position:absolute;inset:0 0 auto 0;z-index:20;height:74px;display:flex;align-items:center;gap:18px;padding:0 24px;border-bottom:1px solid var(--line-soft);background:var(--theme-surface-94, rgba(7, 12, 23, .94));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.back-button,.icon-button{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;color:var(--theme-text, #c9d2e3);background:var(--theme-surface, #0e1727);border:1px solid var(--line);font-size:23px}.brand{display:flex;align-items:center;gap:12px;min-width:195px}.logo-mark{position:relative;width:42px;height:42px;border-radius:13px;background:linear-gradient(150deg,var(--theme-mint, #3cc9d8),var(--theme-info, #356bff) 62%,var(--theme-info, #6c48e8));box-shadow:0 0 24px #4396ff61,inset 0 0 0 2px #fff3}.logo-mark:before,.logo-mark:after{content:"";position:absolute;border-radius:999px}.logo-mark:before{width:15px;height:15px;left:14px;top:7px;background:var(--theme-mint, #9af4ef)}.logo-mark:after{width:26px;height:12px;left:8px;bottom:7px;background:var(--theme-info-6p6, rgba(11, 34, 95, .55))}.brand-name{font-size:24px;font-weight:800;letter-spacing:.02em}.brand-en{margin-left:4px;color:var(--theme-accent, #bf9cff);font-size:12px;font-weight:800;letter-spacing:.24em}.top-spacer{flex:1}.theme-pill,.account-pill,.flow-chip{height:42px;display:inline-flex;align-items:center;gap:9px;padding:0 14px;border-radius:999px;border:1px solid var(--line);color:var(--theme-text, #ccd5e7);background:var(--theme-surface, #0c1423);font-size:13px;white-space:nowrap}.account-avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:var(--theme-text, white);background:linear-gradient(145deg,var(--theme-info, #8d5cff),var(--theme-info, #4b6df1));font-weight:800}.flow-nav button{min-width:38px;height:36px;border-radius:9px;color:var(--theme-text, #dbe2f0);background:var(--theme-surface, #121b2b);border:1px solid var(--theme-info, #2d3a55)}.flow-nav button:disabled{opacity:.35;cursor:not-allowed}.flow-counter{min-width:155px;padding:0 12px;color:var(--theme-info, #9aa8c0);font-size:12px;text-align:center}.side-rail{position:absolute;z-index:15;left:18px;top:92px;bottom:18px;width:76px;display:flex;flex-direction:column;gap:12px;padding:12px 8px;border:1px solid var(--theme-info-22, rgba(137, 94, 224, .22));border-radius:18px;background:var(--theme-surface-82, rgba(11, 18, 33, .82))}.rail-link{min-height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:8px 4px;border-radius:13px;color:var(--theme-info, #76859f);background:transparent;border:1px solid transparent;font-size:12px;font-weight:700}.rail-link .rail-icon{font-size:22px;line-height:1}.rail-link.active{color:var(--theme-info, #d8d0ff);background:linear-gradient(145deg,var(--theme-accent-33, rgba(130, 83, 224, .33)),var(--theme-info-20, rgba(75, 58, 134, .2)));border-color:var(--theme-accent-58, rgba(158, 105, 255, .58));box-shadow:0 0 24px #7543dc3b}.rail-link.bottom{margin-top:auto}.main-view{position:absolute;left:112px;top:92px;right:18px;bottom:18px;min-width:0;overflow:hidden;border:1px solid var(--theme-info-24, rgba(124, 97, 193, .24));border-radius:20px;background:var(--theme-surface-52, rgba(6, 12, 24, .52))}.main-view.home-view{background:transparent;border-color:transparent}.page-scroll{height:100%;overflow:auto;scrollbar-color:var(--theme-accent, #5a477e) transparent}.page-pad{padding:28px 30px}.section-title,.page-title{margin:0;letter-spacing:-.02em}.page-title{font-size:30px}.section-title{font-size:22px}.eyebrow{margin-bottom:10px;color:var(--purple-2);font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.muted{color:var(--muted)}.primary-button,.secondary-button,.ghost-button,.danger-button{min-height:42px;padding:0 20px;border-radius:11px;font-weight:750;transition:transform .16s ease,filter .16s ease,opacity .16s ease}.primary-button{color:var(--theme-text, white);background:linear-gradient(135deg,var(--theme-accent, #9c68ff),var(--theme-info, #7347e8));box-shadow:0 10px 28px #8049eb3d}.secondary-button{color:var(--theme-info, #cbb9ff);background:var(--theme-accent-12, rgba(105, 66, 179, .12));border:1px solid var(--theme-accent, #6e4cae)}.ghost-button{color:var(--theme-text, #b8c3d7);background:var(--theme-surface, #111a2a);border:1px solid var(--line)}.danger-button{color:var(--theme-danger, #ff9da7);background:var(--theme-danger-15, rgba(137, 45, 57, .15));border:1px solid var(--theme-danger-35, rgba(255, 107, 122, .35))}.primary-button:hover,.secondary-button:hover,.ghost-button:hover{filter:brightness(1.12);transform:translateY(-1px)}button:disabled{opacity:.38;cursor:not-allowed;box-shadow:none}.button-row{display:flex;align-items:center;gap:12px}.badge,.status-pill,.count-pill,.asset-chip,.tiny-tag{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.badge,.status-pill,.count-pill{min-height:28px;padding:0 12px;border-radius:999px;border:1px solid var(--line);color:var(--theme-info, #b8c5da);background:var(--theme-surface-88, rgba(19, 29, 48, .88));font-size:12px;font-weight:700}.status-pill.purple,.count-pill.active{color:var(--theme-info, #d9c8ff);border-color:var(--theme-accent, #7b57b7);background:var(--theme-accent-20, rgba(119, 74, 198, .2))}.status-pill.green{color:var(--theme-success, #74efb5);border-color:var(--theme-success-45, rgba(65, 208, 138, .45));background:var(--theme-success-15, rgba(43, 177, 113, .15))}.status-pill.red{color:var(--theme-danger, #ff99a4);border-color:var(--theme-danger-45, rgba(255, 107, 122, .45));background:var(--theme-danger-13, rgba(194, 54, 70, .13))}.home-hero{position:relative;min-height:325px;overflow:hidden;padding:52px 56px;border:1px solid var(--theme-border, #202d45);border-radius:22px;background:linear-gradient(90deg,var(--theme-canvas-98, rgba(4, 11, 24, .98)) 0%,var(--theme-surface-90, rgba(7, 13, 28, .9)) 52%,var(--theme-surface-40, rgba(12, 15, 31, .4)) 100%),radial-gradient(circle at 80% 44%,var(--theme-accent-54, rgba(135, 80, 231, .54)),transparent 22%),linear-gradient(140deg,var(--theme-surface, #111b2f),var(--theme-surface, #080c16))}.home-hero:before,.home-hero:after{content:"";position:absolute;right:86px;border:1px solid var(--theme-info-24, rgba(137, 111, 211, .24));transform:rotate(-4deg)}.home-hero:before{top:58px;width:360px;height:210px;border-radius:16px;background:radial-gradient(circle at 45% 45%,var(--theme-accent-50, rgba(255, 213, 161, .5)),transparent 9%),linear-gradient(145deg,var(--theme-danger-5p04, rgba(91, 49, 61, .42)),var(--theme-surface-94, rgba(9, 20, 38, .94)));box-shadow:0 30px 80px #0006}.home-hero:after{top:84px;right:120px;width:292px;height:155px;border-radius:10px;background:linear-gradient(90deg,transparent 44%,var(--theme-surface-75, rgba(12, 15, 24, .75)) 45% 55%,transparent 56%),radial-gradient(circle at 30% 50%,var(--theme-accent, #b99074) 0 6%,transparent 7%),radial-gradient(circle at 70% 50%,var(--theme-accent, #caa18c) 0 6%,transparent 7%),linear-gradient(145deg,var(--theme-surface, #201a1d),var(--theme-raised, #3b222b) 45%,var(--theme-raised, #172339))}.hero-copy{position:relative;z-index:2;width:590px}.hero-copy h1{margin:0 0 6px;font-family:Georgia,Songti SC,serif;font-size:42px}.hero-copy h2{margin:0 0 16px;color:var(--theme-info, #67ccff);font-size:25px}.hero-copy p{margin:0 0 38px;color:var(--theme-info, #8998b1);font-size:16px}.hero-flow{position:absolute;z-index:3;right:42px;bottom:24px;display:flex;gap:8px;color:var(--theme-text, #d1d8e7)}.hero-flow span{padding:10px 13px;border-radius:999px;background:var(--theme-surface-82, rgba(16, 23, 37, .82));border:1px solid var(--theme-border-13, rgba(255, 255, 255, .13));font-size:11px}.hero-flow i{align-self:center;color:var(--theme-info, #66738b);font-style:normal}.home-section-header{display:flex;align-items:end;justify-content:space-between;margin:28px 0 14px}.project-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.project-card,.view-all-card,.tool-card{min-height:142px;padding:20px;border-radius:16px;background:linear-gradient(145deg,var(--theme-surface, #121b2c),var(--theme-surface, #0d1422));border:1px solid var(--theme-border, #27344d)}.project-card,.view-all-card{color:var(--theme-text, #eef2fb)}.project-card{position:relative;overflow:hidden}.project-card:after{content:"▶";position:absolute;right:22px;top:42px;width:56px;height:45px;display:grid;place-items:center;border-radius:13px;color:var(--theme-text-20, rgba(209, 218, 235, .2));background:var(--theme-info-13, rgba(127, 142, 171, .13))}.project-card h3{position:relative;z-index:1;max-width:78%;margin:26px 0 10px;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-card p{margin:0;color:var(--muted);font-size:12px}.view-all-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--theme-muted, #aeb9cd);border-style:dashed}.view-all-card .folder-icon{font-size:35px}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.tool-card{display:flex;align-items:center;gap:16px;min-height:95px}.tool-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;font-size:22px;background:linear-gradient(145deg,var(--theme-info, #8d5cff),var(--theme-info, #405de7))}.tool-card h4,.tool-card p{margin:0}.tool-card p{margin-top:5px;color:var(--muted);font-size:12px}.modal-backdrop{position:absolute;z-index:80;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:50px;background:#01050cb8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.modal{width:560px;overflow:hidden;border-radius:18px;background:var(--theme-surface, #101929);border:1px solid var(--theme-border, #2a3852);box-shadow:var(--shadow)}.modal.wide{width:900px}.modal.workflow{width:920px}.modal-header{min-height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--line-soft)}.modal-header h2{margin:0;font-size:24px}.close-x{width:38px;height:38px;border-radius:10px;color:var(--theme-info, #99a8c0);background:var(--theme-surface, #111b2c);border:1px solid var(--theme-border, #2b3850);font-size:22px}.modal-body{padding:24px}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:18px 24px;border-top:1px solid var(--line-soft)}.field{display:grid;gap:9px;margin-bottom:18px}.field label{color:var(--theme-muted, #aeb9cc);font-size:13px;font-weight:700}.field input,.field textarea,.select-like,.search-input{width:100%;color:var(--theme-text, #eef2fb);background:var(--theme-surface, #091220);border:1px solid var(--theme-border, #263550);border-radius:11px}.field input,.select-like,.search-input{height:46px;padding:0 14px}.field textarea{min-height:88px;padding:13px 14px;resize:none}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.radio-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.radio-card{min-height:48px;display:flex;align-items:center;justify-content:center;gap:9px;border-radius:10px;color:var(--theme-info, #9ba9be);background:var(--theme-surface, #0a1220);border:1px solid var(--theme-border, #26344e)}.radio-card.selected{color:var(--theme-text, #f0f4ff);background:var(--theme-info-12, #0f293f);border-color:var(--theme-info, #2e9acb)}.radio-dot{width:9px;height:9px;border-radius:50%;border:1px solid var(--theme-info, #75859e)}.radio-card.selected .radio-dot{background:var(--theme-info, #45b9f1);box-shadow:0 0 0 4px #45b9f11f}.drawer-backdrop{position:absolute;z-index:76;top:0;right:0;bottom:0;left:0;background:#01040ab3;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.full-drawer{position:absolute;z-index:78;top:34px;right:34px;bottom:34px;left:34px;display:grid;grid-template-columns:390px 1fr;overflow:hidden;border:1px solid var(--theme-border, #2a344a);border-radius:18px;background:var(--theme-surface, #0b111c);box-shadow:var(--shadow)}.drawer-form{padding:24px;overflow:auto;border-right:1px solid var(--theme-border, #28334a);background:var(--theme-surface, #141d2e)}.drawer-stage{position:relative;padding:24px;overflow:auto}.drawer-close{position:absolute;right:20px;top:18px;z-index:2}.center-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center}.empty-art{position:relative;width:126px;height:106px;margin-bottom:10px}.empty-art:before{content:"＋";position:absolute;left:24px;top:10px;width:82px;height:86px;display:grid;place-items:center;border-radius:20px 20px 28px 28px;color:var(--theme-info, #9272ff);background:linear-gradient(145deg,var(--theme-info, #b8d7ef),var(--theme-text, #d7dfeb));border-top:20px solid var(--theme-info, #7fb4e8);font-size:32px;transform:rotate(-6deg);box-shadow:0 18px 45px #374d8052}.center-empty h2,.center-empty p{margin:0}.center-empty p{color:var(--theme-info, #73829c)}.import-layout,.parser-layout{display:grid;grid-template-columns:340px 1fr;height:100%}.import-sidebar,.parser-sidebar{padding:26px 22px;overflow:auto;border-right:1px solid var(--line-soft);background:var(--theme-surface, #121b2b)}.upload-card{display:grid;gap:16px;margin-top:250px;padding:22px;border:1px solid var(--theme-info, #35405a);border-radius:16px;background:linear-gradient(145deg,var(--theme-info-23, rgba(94, 78, 139, .23)),var(--theme-raised-32, rgba(46, 53, 80, .32)))}.upload-card h3,.upload-card p{margin:0}.upload-card p{color:var(--theme-info, #9aa8bf);font-size:13px}.format-row{display:flex;gap:8px}.format-row span{padding:6px 10px;border-radius:7px;color:var(--theme-info, #8291aa);background:var(--theme-raised, #202a3e);border:1px solid var(--theme-info, #344058);font-size:11px}.editor-panel{display:grid;grid-template-rows:78px 1fr;min-width:0}.editor-toolbar,.page-toolbar{display:flex;align-items:center;gap:10px;padding:0 28px;border-bottom:1px solid var(--line-soft);background:var(--theme-surface-72, rgba(13, 21, 36, .72))}.editor-toolbar h2{margin-right:auto;font-size:19px}.size-switch,.segmented{display:inline-flex;align-items:center;padding:3px;border-radius:10px;background:var(--theme-raised, #1b2537)}.size-switch span,.segmented button{min-width:42px;height:34px;display:grid;place-items:center;border-radius:8px;color:var(--theme-info, #8190a8);background:transparent;font-size:12px;font-weight:700}.size-switch span.active,.segmented button.active{color:var(--theme-text, #f2f5fc);background:var(--theme-raised, #303a4f)}.full-textarea{width:calc(100% - 56px);height:calc(100% - 44px);margin:22px 28px;padding:18px;resize:none;border:0;border-radius:12px;color:var(--theme-info, #aebbd0);background:transparent;line-height:1.72;font-family:SFMono-Regular,Consolas,monospace;font-size:14px}.full-textarea::placeholder{color:var(--theme-info, #6f7f9a)}.file-meta{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;margin:18px 0 8px;padding:13px;border:1px dashed var(--theme-info, #35415a);border-radius:10px}.doc-icon{width:36px;height:42px;display:grid;place-items:center;border-radius:6px;color:var(--theme-text, white);background:var(--theme-info, #5274ef);font-weight:800}.file-meta strong{font-size:13px}.file-stat{color:var(--theme-info, #9fb0c9);font-size:12px}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px;color:var(--theme-info, #8da0bb);font-size:13px;font-weight:750}.plus-mini{width:28px;height:28px;border-radius:8px;color:var(--theme-info, #9fb4d2);background:var(--theme-surface, #152034);border:1px solid var(--theme-border, #2c3a54)}.error-copy{margin:26px 0;color:var(--theme-danger, #ff566b)}.error-copy h3{margin:0 0 10px;font-size:17px}.error-copy p{margin:0;color:var(--theme-info, #9fb0c9);font-size:12px;line-height:1.6}.parser-bottom{position:absolute;left:22px;bottom:24px;width:296px}.parser-bottom p{margin:0 0 10px;color:var(--red);font-size:12px}.parser-bottom button{width:100%}.parser-editor-toolbar{display:flex;align-items:center;gap:8px;padding:14px 22px;border-bottom:1px solid var(--line-soft);background:var(--theme-surface-72, rgba(14, 22, 37, .72))}.parser-editor-toolbar input{width:130px;height:36px;padding:0 10px;border-radius:8px;color:var(--theme-text, #d6ddec);background:var(--theme-surface, #111a2b);border:1px solid var(--theme-border, #26334b);font-size:11px}.parser-editor-toolbar .toolbar-spacer{flex:1}.script-document{height:calc(100% - 65px);padding:26px 30px 60px;overflow:auto;color:var(--theme-muted, #aeb9ca);font-family:SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.8}.script-document p{margin:0 0 5px}.script-document .matched-title{margin-left:-8px;padding:2px 8px;border-radius:5px;background:var(--theme-accent-42, rgba(147, 109, 216, .42))}.rule-card{position:relative;margin-bottom:20px;padding:13px 48px 13px 14px;border:1px solid var(--theme-accent, #7657b2);border-radius:10px;background:var(--theme-accent-22, rgba(116, 78, 179, .22))}.rule-card strong,.rule-card small{display:block}.rule-card small{margin-top:5px;color:var(--theme-info, #8f9cb2)}.rule-card .rule-count{position:absolute;right:14px;top:18px;color:var(--theme-accent, #a16cff);font-weight:800}.episode-preview-list{display:grid;gap:9px;max-height:440px;overflow:auto}.episode-preview-card{padding:13px 14px;border-radius:10px;color:var(--theme-muted, #aeb9ca);background:var(--theme-surface, #111a29);border:1px solid var(--theme-border, #29354b)}.episode-preview-card.active{color:var(--theme-text, white);border-color:var(--theme-info, #7051b1);background:var(--theme-accent-25, rgba(102, 67, 161, .25))}.episode-preview-card span{float:right;color:var(--theme-info, #718098);font-size:11px}.rule-help{margin:2px 0 0;color:var(--theme-info, #718098);font-size:11px}.episode-page{display:grid;grid-template-rows:82px 1fr;height:100%}.page-toolbar{justify-content:space-between}.title-stack p{margin:5px 0 0;color:var(--theme-info, #7f8da5);font-size:12px}.episode-body{display:grid;grid-template-columns:172px 1fr;min-height:0;margin:18px 22px 22px;overflow:hidden;border:1px solid var(--line-soft);border-radius:15px;background:var(--theme-surface-72, rgba(10, 16, 29, .72))}.episode-list{display:flex;flex-direction:column;gap:6px;padding:14px;overflow:auto;border-right:1px solid var(--line-soft)}.episode-list button{min-height:44px;border-radius:10px;color:var(--theme-info, #9aa9bf);background:transparent;font-weight:700}.episode-list button.active{color:var(--theme-info, #d9ceff);background:var(--theme-accent-20, rgba(105, 72, 161, .2));border:1px solid var(--theme-info, #62469c)}.episode-list .add-episode{margin-top:auto;border:1px solid var(--theme-border, #2d3a51);background:var(--theme-surface, #111927)}.episode-editor{display:grid;grid-template-rows:auto 1fr;min-width:0;padding:20px 24px 24px}.episode-editor-head{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:14px}.episode-editor-head h2,.episode-editor-head p{margin:0}.episode-editor-head p{margin-top:4px;color:var(--theme-info, #7f8da4);font-size:12px}.episode-editor textarea{width:100%;height:100%;padding:20px;resize:none;color:var(--theme-muted, #aebacd);background:var(--theme-surface, #101829);border:1px solid var(--theme-accent, #744ab2);border-radius:13px;line-height:1.8}.finalize-summary{display:flex;align-items:center;gap:18px;padding:16px;border-radius:12px;background:var(--theme-info-14, rgba(97, 69, 155, .14));border:1px solid var(--theme-info, #4b3b6f)}.summary-number{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;color:var(--theme-accent, #d7c2ff);background:var(--theme-info-12, #2d2050);font-size:22px;font-weight:800}.precheck-page{height:100%;padding:46px 58px;background:radial-gradient(circle at 75% 35%,var(--theme-info-22, rgba(101, 67, 186, .22)),transparent 34%),linear-gradient(135deg,var(--theme-surface-76, rgba(15, 31, 52, .76)),var(--theme-surface-40, rgba(14, 14, 38, .4)))}.precheck-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:72px;align-items:center;height:100%}.precheck-copy h1{margin:14px 0 20px;font-size:48px;letter-spacing:-.04em}.precheck-copy>p{max-width:650px;color:var(--theme-info, #93a6c2);font-size:16px;line-height:1.9}.steps-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0}.process-step{min-height:128px;padding:20px;border-radius:16px;background:var(--theme-surface, #111a2c);border:1px solid var(--theme-border, #26334a)}.process-step.active{border-color:var(--theme-accent, #7750bc);background:var(--theme-accent-23, rgba(101, 63, 168, .23))}.process-step.complete{border-color:var(--theme-success-40, rgba(47, 190, 129, .4));background:var(--theme-success-14, rgba(31, 142, 103, .14))}.step-number{width:30px;height:30px;display:grid;place-items:center;margin-bottom:14px;border-radius:50%;color:var(--theme-muted, #8f9cb0);background:var(--theme-raised, #263246);font-weight:800}.process-step.active .step-number{color:var(--theme-text, white);background:linear-gradient(145deg,var(--theme-accent, #a66cff),var(--theme-info, #7042e4))}.process-step.complete .step-number{color:var(--theme-text, white);background:var(--theme-success, #16845d)}.process-step h3,.process-step p{margin:0}.process-step p{margin-top:8px;color:var(--theme-info, #7f8da5);font-size:12px}.asset-status-card{padding:28px;border-radius:22px;background:var(--theme-surface-84, rgba(21, 26, 54, .84));border:1px solid var(--theme-info, #354060);box-shadow:var(--shadow)}.status-card-head{display:flex;justify-content:space-between;margin-bottom:20px;color:var(--theme-info, #91a0ba)}.status-card-head strong{color:var(--theme-text, white);font-size:26px}.asset-status-row{display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;margin-top:12px;padding:17px;border-radius:14px;background:var(--theme-danger-3p12, rgba(85, 43, 60, .26));border:1px solid var(--theme-danger-35, rgba(231, 88, 110, .35))}.asset-status-row.ready{background:var(--theme-success-2p16, rgba(32, 112, 84, .18));border-color:var(--theme-success-35, rgba(67, 208, 138, .35))}.status-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:var(--theme-danger, #e1b5c0);background:var(--theme-danger-38, rgba(142, 61, 79, .38))}.asset-status-row.ready .status-icon{color:var(--theme-success, #82efbe);background:var(--theme-success-32, rgba(38, 144, 102, .32))}.asset-status-row h4,.asset-status-row p{margin:0}.asset-status-row p{margin-top:3px;color:var(--theme-info, #77859c);font-size:11px}.asset-page{display:grid;grid-template-rows:78px 1fr;height:100%}.asset-toolbar{display:flex;align-items:center;gap:10px;padding:0 20px;border-bottom:1px solid var(--line-soft)}.asset-tabs{display:flex;gap:8px}.asset-tab{height:40px;min-width:95px;border-radius:10px;color:var(--theme-info, #7e8ca2);background:var(--theme-surface, #111a29);border:1px solid var(--theme-border, #27334a);font-weight:700}.asset-tab.active{color:var(--theme-info, #decfff);background:var(--theme-accent-25, rgba(107, 69, 175, .25));border-color:var(--theme-accent, #7350aa)}.asset-toolbar .search-wrap{flex:1;max-width:330px;margin-left:4px}.asset-toolbar .button-row{margin-left:auto}.asset-content{min-height:0;overflow:auto;padding:20px 22px 34px}.asset-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center}.asset-empty .big-icon{font-size:58px;opacity:.65}.asset-empty h2,.asset-empty p{margin:0}.asset-empty p{color:var(--theme-info, #728099)}.loading-strip{height:5px;overflow:hidden;border-radius:999px;background:var(--theme-raised, #162137)}.loading-strip:after{content:"";display:block;width:45%;height:100%;background:linear-gradient(90deg,transparent,var(--theme-info, #9b6aff),transparent);animation:loading .9s linear infinite}@keyframes loading{0%{transform:translate(-110%)}to{transform:translate(270%)}}.asset-table-head,.asset-row{display:grid;grid-template-columns:160px 120px 150px 1fr 1.25fr 118px 44px;gap:14px;align-items:center}.asset-table-head{padding:0 16px 13px;color:var(--theme-info, #68768d);font-size:11px;font-weight:700}.asset-row{min-height:158px;margin-bottom:12px;padding:16px;border-radius:14px;color:var(--theme-info, #9aa8bd);background:var(--theme-surface, #101827);border:1px solid var(--theme-border, #27334a)}.asset-row h3,.asset-row p{margin:0}.asset-row h3{color:var(--theme-text, #d4dbea);font-size:15px}.asset-row p{margin-top:7px;font-size:11px;line-height:1.55}.thumb{position:relative;overflow:hidden;border-radius:10px;background:var(--theme-raised, #1a2435);border:1px solid var(--theme-info, #354158)}.thumb.person{width:100px;height:76px;background:radial-gradient(circle at 50% 29%,var(--theme-accent, #d3a58c) 0 11%,transparent 12%),radial-gradient(ellipse at 50% 93%,var(--theme-info, #80a4b9) 0 35%,transparent 36%),linear-gradient(145deg,var(--theme-text, #eef1eb),var(--theme-info, #8faab9))}.thumb.hospital{min-height:105px;background:linear-gradient(90deg,transparent 48%,var(--theme-text-18, rgba(255,255,255,.18)) 49% 51%,transparent 52%),linear-gradient(0deg,var(--theme-surface-80, rgba(40, 33, 34, .8)) 0 18%,transparent 19%),repeating-linear-gradient(90deg,var(--theme-surface, #1a2731) 0 14%,var(--theme-raised, #60717a) 15% 18%,var(--theme-surface, #1a2731) 19% 31%)}.thumb.video{width:100%;height:100%;min-height:172px;background:radial-gradient(circle at 50% 58%,var(--theme-text-33, rgba(237, 242, 248, .33)) 0 7%,transparent 8%),linear-gradient(90deg,var(--theme-surface, #101826) 0 25%,transparent 26% 74%,var(--theme-surface, #101826) 75%),linear-gradient(145deg,var(--theme-raised, #334953),var(--theme-surface, #111821) 46%,var(--theme-raised, #3a3031) 72%,var(--theme-surface, #101722))}.thumb.video:after{content:"▶";position:absolute;inset:50% auto auto 50%;width:44px;height:44px;display:grid;place-items:center;transform:translate(-50%,-50%);border-radius:50%;color:var(--theme-text, white);background:var(--theme-canvas-72, rgba(7, 11, 18, .72));border:1px solid var(--theme-border-20, rgba(255,255,255,.2))}.asset-gen-state{display:grid;place-items:center;min-height:530px;color:var(--theme-info, #74829a)}.asset-media-groups{display:grid;gap:22px}.media-group h3{margin:0 0 12px}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.media-card{position:relative;min-height:260px;overflow:hidden;border-radius:14px;background:var(--theme-surface, #121b2c);border:1px solid var(--theme-border, #2c3850)}.media-card .thumb{height:210px;border:0;border-radius:0}.media-card-footer{display:flex;align-items:center;justify-content:space-between;padding:11px 13px}.workflow-body{display:grid;grid-template-columns:270px 1fr;min-height:500px}.workflow-list{display:flex;flex-direction:column;gap:8px;padding:18px;border-right:1px solid var(--line-soft)}.workflow-item{min-height:46px;display:flex;align-items:center;gap:10px;padding:0 12px;border-radius:10px;color:var(--theme-muted, #aeb8ca);background:var(--theme-surface, #111928);border:1px solid transparent}.workflow-item.active{color:var(--theme-text, white);background:var(--theme-accent-30, rgba(109, 72, 176, .3));border-color:var(--theme-accent, #734ead)}.workflow-preview{padding:24px}.workflow-preview h3{margin:0 0 22px}.prompt-preview{height:365px;padding:18px;border-radius:12px;color:var(--theme-info, #708098);background:var(--theme-surface, #0a111e);border:1px solid var(--theme-border, #26334a)}.episode-tabs-row{height:66px;display:flex;align-items:center;gap:8px;padding:0 18px;border-bottom:1px solid var(--line-soft)}.episode-tabs-row button{min-width:72px;height:38px;border-radius:9px;color:var(--theme-info, #7f8da4);background:var(--theme-surface, #111928);border:1px solid var(--theme-border, #27334a);font-weight:700}.episode-tabs-row button.active{color:var(--theme-info, #ddcfff);background:var(--theme-accent-24, rgba(113, 72, 180, .24));border-color:var(--theme-accent, #7752b2)}.overview-body{display:grid;grid-template-columns:350px 1fr;height:calc(100% - 66px)}.script-pane{min-width:0;padding:24px 20px;border-right:1px solid var(--line-soft);background:var(--theme-surface-72, rgba(12, 20, 35, .72))}.script-pane h2,.script-pane p{margin:0}.script-pane .script-copy{height:calc(100% - 82px);margin-top:22px;padding-top:18px;overflow:auto;border-top:1px solid var(--line-soft);color:var(--theme-info, #9aa8bd);font-size:13px;line-height:1.95}.storyboard-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px}.storyboard-empty .big-icon{font-size:64px;opacity:.52}.storyboard-empty h2,.storyboard-empty p{margin:0}.storyboard-workspace{display:grid;grid-template-rows:66px 1fr;height:100%}.storyboard-main{display:grid;grid-template-columns:340px 1fr;min-height:0}.bound-script{padding:18px;overflow:auto;border-right:1px solid var(--line-soft);background:var(--theme-surface-76, rgba(13, 21, 35, .76))}.bound-script h2,.bound-script p{margin:0}.script-block{margin:10px 0;padding:10px 12px;border-left:3px solid transparent;color:var(--theme-info, #8998ae);line-height:1.65;font-size:12px}.script-block.active{color:var(--theme-text, #e2e7f1);border-left-color:var(--theme-info, #559cff);background:var(--theme-info-25, rgba(70, 94, 155, .25));box-shadow:inset 0 0 0 1px #5978bf52}.shot-panel{display:grid;grid-template-rows:70px 1fr;min-width:0}.shot-toolbar{display:flex;align-items:center;gap:9px;padding:0 18px;border-bottom:1px solid var(--line-soft)}.shot-toolbar .button-row{margin-left:auto}.shot-list{position:relative;padding:18px 22px 80px 52px;overflow:auto}.shot-list:before{content:"";position:absolute;left:30px;top:22px;bottom:22px;width:2px;background:var(--theme-info-12, #24405f)}.shot-card{position:relative;display:grid;grid-template-columns:158px 1fr;gap:20px;min-height:210px;margin-bottom:16px;padding:18px;border-radius:16px;color:var(--theme-info, #9ba9be);background:var(--theme-surface, #101827);border:1px solid var(--theme-border, #27344b)}.shot-card:before{content:attr(data-index);position:absolute;left:-44px;top:24px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:var(--theme-text, #c6d2e4);background:var(--theme-raised, #17233a);border:1px solid var(--theme-info, #456488)}.shot-card.active{border-color:var(--theme-accent, #6f4cad);box-shadow:0 0 0 1px #8356d133}.shot-card h3{margin:0 0 12px;color:var(--theme-text, #d8deeb)}.shot-card p{margin:0 0 12px;font-size:12px;line-height:1.65}.shot-time{position:absolute;right:16px;top:16px}.asset-chip-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px;padding-top:13px;border-top:1px solid var(--line-soft)}.asset-chip{min-height:28px;padding:0 10px;border-radius:8px;font-size:11px;border:1px solid}.asset-chip.role{color:var(--theme-info, #77b9ff);border-color:var(--theme-info, #356aa2);background:var(--theme-info-15, rgba(42, 106, 169, .15))}.asset-chip.scene{color:var(--theme-mint, #5ee2ce);border-color:var(--theme-mint, #258e83);background:var(--theme-mint-14, rgba(29, 137, 126, .14))}.asset-chip.prop{color:var(--theme-accent, #f4d359);border-color:var(--theme-accent, #9b7b1d);background:var(--theme-accent-14, rgba(147, 114, 23, .14))}.video-generator{display:grid;grid-template-columns:520px 1fr;height:100%}.video-config{padding:22px;overflow:auto;border-right:1px solid var(--line-soft);background:var(--theme-surface, #141d2d)}.video-results{padding:22px;overflow:auto}.config-title-row{display:grid;grid-template-columns:1fr 95px 90px;gap:8px;margin-bottom:14px}.config-title-row .select-like{display:flex;align-items:center}.reference-strip{display:flex;align-items:center;gap:8px;min-height:88px;padding:12px;overflow:hidden;border-radius:12px;background:var(--theme-surface, #101828);border:1px solid var(--theme-border, #28354c)}.reference-thumb{width:58px;height:58px;flex:0 0 auto;border-radius:9px;border:1px solid var(--theme-info, #40506a);background:radial-gradient(circle at 50% 30%,var(--theme-accent, #d1a088) 0 13%,transparent 14%),linear-gradient(145deg,var(--theme-info, #9bb4c1),var(--theme-raised, #233343) 72%)}.reference-add{display:grid;place-items:center;color:var(--theme-muted, #aeb9cb);font-size:12px;background:var(--theme-raised, #182235)}.prompt-card{margin-top:14px;padding:14px;border-radius:12px;background:var(--theme-surface, #101827);border:1px solid var(--theme-border, #28354c)}.prompt-head{display:flex;justify-content:space-between;margin-bottom:10px;color:var(--theme-muted, #aeb9cb);font-size:12px}.toggle-row{display:flex;gap:16px}.toggle{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:var(--theme-info, #8e9cb1);font-size:11px;font-family:inherit;cursor:pointer}.toggle i{position:relative;width:38px;height:22px;border-radius:999px;background:var(--theme-info-12, #344057)}.toggle i:after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:var(--theme-text, #cbd4e3)}.toggle.on i{background:var(--theme-info, #367acc)}.toggle.on i:after{left:19px;background:var(--theme-text, white)}.prompt-columns{display:grid;grid-template-columns:1fr 1fr;gap:10px}.prompt-box{height:240px;padding:13px;overflow:auto;border-radius:10px;color:var(--theme-muted, #9aa8bb);background:var(--theme-surface, #0b1321);border:1px solid var(--theme-border, #26334b);font-size:11px;line-height:1.75}.config-footer{display:flex;align-items:center;gap:12px;margin-top:14px}.config-footer .select-like{display:flex;align-items:center;flex:1}.result-section{margin-bottom:24px}.result-section h3{margin:0 0 12px}.video-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.video-result-card{position:relative;min-height:295px;overflow:hidden;border-radius:15px;background:var(--theme-surface, #111929);border:1px solid var(--theme-border, #2b3750)}.video-result-card .thumb.video{min-height:238px}.video-result-card .media-card-footer{height:56px}.result-empty,.result-loading{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--theme-info, #748299);border:1px dashed var(--theme-border, #2d394f);border-radius:14px}.spinner{width:44px;height:44px;border:4px solid var(--theme-info-17, rgba(139, 102, 223, .17));border-top-color:var(--theme-info, #9968ff);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.delivery-page{display:grid;grid-template-columns:505px 1fr;height:100%}.delivery-sidebar{display:grid;grid-template-rows:72px 1fr;min-height:0;border-right:1px solid var(--line-soft);background:var(--theme-surface-78, rgba(13, 20, 35, .78))}.delivery-search{display:flex;gap:10px;padding:13px 16px;border-bottom:1px solid var(--line-soft)}.delivery-search input{flex:1;min-width:0}.delivery-list{padding:18px;overflow:auto}.delivery-episode{margin-bottom:24px}.delivery-episode-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.delivery-episode-head h3{margin:0}.shot-thumb-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.delivery-shot{position:relative;min-height:135px;overflow:hidden;border-radius:12px;background:var(--theme-surface, #0e1625);border:1px solid var(--theme-border, #27334a);color:var(--theme-text, #eef2fb)}.delivery-shot.active{border-color:var(--theme-accent, #8b5bd5);box-shadow:0 0 0 1px #945fe33d}.delivery-shot .thumb.video{min-height:135px}.delivery-shot span{position:absolute;left:10px;bottom:8px;z-index:2;font-size:11px;font-weight:800}.empty-shot{display:grid;place-items:center;color:var(--theme-info, #59687e)}.delivery-detail{padding:26px;overflow:auto}.breadcrumb{margin-bottom:16px;color:var(--theme-info, #7d8ba2);font-size:12px;font-weight:700}.player{position:relative;height:450px;overflow:hidden;border-radius:15px;background:var(--theme-canvas, #020407)}.player .vertical-film{position:absolute;left:50%;top:0;width:260px;height:100%;transform:translate(-50%);background:radial-gradient(circle at 50% 70%,var(--theme-text-18, rgba(244, 249, 255, .18)) 0 8%,transparent 9%),repeating-linear-gradient(90deg,var(--theme-surface, #17222c) 0 14%,var(--theme-raised, #687880) 15% 18%,var(--theme-surface, #16212c) 19% 31%),linear-gradient(var(--theme-raised, #3c4c55),var(--theme-surface, #131820));box-shadow:0 0 80px #44667f52}.player-play{position:absolute;left:50%;top:50%;width:68px;height:68px;display:grid;place-items:center;transform:translate(-50%,-50%);border-radius:50%;color:var(--theme-text, white);background:var(--theme-canvas-74, rgba(8, 12, 19, .74));border:1px solid var(--theme-border-18, rgba(255,255,255,.18));font-size:25px}.player-controls{position:absolute;left:18px;right:18px;bottom:14px;display:flex;align-items:center;gap:12px;color:var(--theme-text, white);font-size:11px}.progress{flex:1;height:4px;border-radius:999px;background:var(--theme-text-30, rgba(255, 255, 255, .3))}.progress:before{content:"";display:block;width:12%;height:100%;border-radius:inherit;background:var(--theme-text, white)}.versions-head{display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px}.versions-head h3{margin:0}.version-card{width:230px;overflow:hidden;border-radius:13px;background:var(--theme-surface, #101829);border:1px solid var(--theme-accent, #8053c1)}.version-card .thumb.video{min-height:150px}.version-card p{margin:0;padding:10px 12px;font-size:11px;font-weight:800}.toast{position:absolute;z-index:120;left:50%;bottom:28px;min-width:310px;padding:14px 18px;transform:translate(-50%);border-radius:12px;color:var(--theme-text, #e8fff4);background:var(--theme-success-11p52, rgba(21, 92, 65, .96));border:1px solid var(--theme-success-46, rgba(81, 219, 155, .46));box-shadow:0 18px 55px #0000006b;text-align:center;font-size:13px;font-weight:700}body.all-mode{min-width:4380px;padding:28px;background:var(--theme-canvas, #05070d)}.gallery{display:grid;grid-template-columns:repeat(3,1440px);gap:36px 28px;width:max-content}.gallery-item{width:1440px}.gallery-label{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;color:var(--theme-text, #cdd5e5);background:var(--theme-surface, #111623);border:1px solid var(--theme-border, #30394c);border-bottom:0;border-radius:12px 12px 0 0;font-size:14px;font-weight:700}.gallery-label span:first-child{color:var(--theme-info, #b798ff);letter-spacing:.12em}.gallery-item .screen-canvas{border-radius:0 0 12px 12px}.row-between{display:flex;align-items:center;justify-content:space-between;gap:16px}.stack-8{display:grid;gap:8px}.stack-14{display:grid;gap:14px}.divider{height:1px;margin:18px 0;background:var(--line-soft)}.danger-text{color:var(--red)}.success-text{color:var(--green)}.hidden{display:none!important}:root{--bg: var(--theme-canvas, #090d0e);--panel: var(--theme-surface, #101617);--panel-2: var(--theme-surface, #151d1f);--panel-3: var(--theme-surface, #1a2426);--panel-soft: var(--theme-raised, #202b2d);--line: var(--theme-border, #2b3739);--line-soft: var(--theme-border-12, rgba(218, 229, 222, .12));--text: var(--theme-text, #f3efe6);--muted: var(--theme-muted, #96a29f);--muted-2: var(--theme-muted, #687673);--purple: var(--theme-accent, #f2a443);--purple-2: var(--theme-accent, #ffd28a);--purple-soft: var(--theme-accent-13, rgba(242, 164, 67, .13));--blue: var(--theme-info, #70a9ff);--cyan: var(--theme-mint, #38ccb7);--green: var(--theme-success, #56d59a);--yellow: var(--theme-accent, #f2b95f);--red: var(--theme-danger, #ff766d);--shadow: 0 28px 80px rgba(0, 0, 0, .44);--jueling-ink: var(--theme-canvas, #090d0e);--jueling-surface: var(--theme-surface, #12191a);--jueling-warm: var(--theme-accent, #f2a443);--jueling-warm-soft: var(--theme-accent, #ffd28a);--jueling-mint: var(--theme-mint, #38ccb7)}html,body{background:radial-gradient(circle at 18% -10%,var(--theme-accent-10, rgba(242, 164, 67, .1)),transparent 28%),var(--theme-canvas, #070a0b);color:var(--text);font-family:Avenir Next,PingFang SC,Microsoft YaHei,system-ui,sans-serif}.screen-canvas{background:linear-gradient(var(--theme-text-1p4, rgba(255, 255, 255, .014)) 1px,transparent 1px),linear-gradient(90deg,var(--theme-text-1p4, rgba(255, 255, 255, .014)) 1px,transparent 1px),radial-gradient(circle at 87% 6%,var(--theme-mint-8, rgba(56, 204, 183, .08)),transparent 26%),radial-gradient(circle at 12% 100%,var(--theme-accent-7, rgba(242, 164, 67, .07)),transparent 28%),linear-gradient(145deg,var(--theme-canvas, #0b1011) 0%,var(--theme-canvas, #080c0d) 72%,var(--theme-surface, #0d1112) 100%);background-size:32px 32px,32px 32px,auto,auto,auto;border-color:var(--theme-border-6, rgba(255, 255, 255, .06));box-shadow:inset 0 1px #ffffff08}button:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline-color:var(--jueling-warm-soft)}.topbar{height:78px;padding:0 26px;border-bottom-color:var(--theme-border-10, rgba(220, 232, 225, .1));background:var(--theme-canvas-94, rgba(8, 12, 13, .94));box-shadow:0 12px 40px #00000024}.back-button,.icon-button{border-radius:7px;color:var(--theme-text, #bec9c5);background:var(--theme-surface, #131a1c);border-color:var(--theme-border, #2b3739);box-shadow:inset 0 1px #ffffff06}.brand{gap:11px;min-width:210px}.logo-mark{width:44px;height:44px;overflow:hidden;border-radius:8px;color:var(--theme-inverse, #111515);background:var(--jueling-warm);border:1px solid var(--theme-accent, #ffc774);box-shadow:8px 8px #38ccb726}.logo-mark:before{content:"灵";top:0;right:0;bottom:0;left:0;width:auto;height:auto;display:grid;place-items:center;border-radius:0;color:var(--theme-inverse, #121615);background:transparent;font-family:Songti SC,STSong,serif;font-size:24px;font-weight:800}.logo-mark:after{width:7px;height:7px;left:auto;right:5px;top:5px;bottom:auto;border-radius:50%;background:var(--theme-surface, #0c1111);box-shadow:none}.brand-name{color:var(--theme-text, #f7f1e5);font-family:Songti SC,STSong,serif;font-size:25px;font-weight:700;letter-spacing:.08em}.brand-en{margin-left:8px;color:var(--jueling-mint);font-size:10px;font-weight:700;letter-spacing:.18em}.theme-pill,.account-pill,.flow-chip{height:40px;border-radius:7px;color:var(--theme-muted, #b8c4c0);background:var(--theme-surface, #111719);border-color:var(--theme-border, #293537)}.account-avatar{border-radius:7px;color:var(--theme-inverse, #121615);background:var(--jueling-mint);box-shadow:inset 0 0 0 1px #ffffff47}.flow-nav button{border-radius:6px;color:var(--theme-text, #c9d2ce);background:var(--theme-surface, #151c1e);border-color:var(--theme-border, #303b3d)}.flow-counter{color:var(--theme-muted, #7f8e8a)}.flow-counter strong{color:var(--theme-text, #e9e5dc)}.side-rail{left:18px;top:96px;bottom:18px;width:82px;gap:8px;padding:10px 8px;border-color:var(--theme-border-11, rgba(218, 229, 222, .11));border-radius:10px;background:var(--theme-surface-91, rgba(13, 18, 19, .91));box-shadow:0 22px 60px #00000038}.rail-link{position:relative;min-height:70px;gap:8px;border-radius:6px;color:var(--theme-muted, #6f7e7a);font-weight:650}.rail-link .rail-icon{font-size:20px}.rail-link.active{color:var(--theme-text, #f3efe6);background:var(--theme-surface, #1a2425);border-color:var(--theme-border, #354344);box-shadow:inset 3px 0 var(--jueling-warm),0 8px 24px #0000002e}.main-view{left:118px;top:96px;border-color:var(--theme-border-12, rgba(218, 229, 222, .12));border-radius:12px;background:var(--theme-canvas-68, rgba(10, 15, 16, .68));box-shadow:0 28px 70px #00000029}.page-scroll{scrollbar-color:var(--theme-raised, #52635f) transparent}.page-title,.section-title{color:var(--theme-text, #f5f0e7)}.eyebrow{color:var(--jueling-warm);letter-spacing:.22em}.primary-button,.secondary-button,.ghost-button,.danger-button{min-height:42px;border-radius:6px;font-weight:700}.primary-button{color:var(--theme-inverse, #121615);background:var(--jueling-warm);box-shadow:0 10px 24px #f2a4432e}.secondary-button{color:var(--theme-mint, #85e2d4);background:var(--theme-mint-8, rgba(56, 204, 183, .08));border-color:var(--theme-mint-38, rgba(56, 204, 183, .38))}.ghost-button{color:var(--theme-muted, #b2bfbb);background:var(--theme-surface, #151d1f);border-color:var(--theme-border, #303b3d)}.primary-button:hover,.secondary-button:hover,.ghost-button:hover{filter:brightness(1.06);transform:translateY(-1px)}.badge,.status-pill,.count-pill{min-height:26px;border-radius:4px;color:var(--theme-muted, #aab7b3);background:var(--theme-surface, #171f21);border-color:var(--theme-border, #344143);font-weight:650;letter-spacing:.02em}.status-pill.purple,.count-pill.active{color:var(--theme-accent, #ffd28a);border-color:var(--theme-accent-46, rgba(242, 164, 67, .46));background:var(--theme-accent-10, rgba(242, 164, 67, .1))}.status-pill.green{color:var(--theme-success, #75ddb5);border-color:var(--theme-success-42, rgba(86, 213, 154, .42));background:var(--theme-success-10, rgba(86, 213, 154, .1))}.home-stack{padding:8px 10px 32px}.home-hero{min-height:332px;padding:54px 58px;border:1px solid var(--theme-border, #303a3b);border-left:5px solid var(--jueling-warm);border-radius:10px;background:linear-gradient(90deg,var(--theme-surface-99, rgba(12, 17, 18, .99)) 0%,var(--theme-surface-96, rgba(13, 19, 20, .96)) 52%,var(--theme-surface-46, rgba(12, 18, 19, .46)) 100%),radial-gradient(circle at 78% 36%,var(--theme-accent-28, rgba(242, 164, 67, .28)),transparent 24%),linear-gradient(145deg,var(--theme-surface, #1a2424),var(--theme-canvas, #0b1011));box-shadow:inset 0 1px #ffffff06,0 24px 70px #00000038}.home-hero:before{content:"SCENE 01  ·  READY";top:48px;right:70px;width:360px;height:205px;display:flex;align-items:flex-end;padding:18px;border:1px solid var(--theme-border-20, rgba(243, 239, 230, .2));border-radius:6px;color:var(--theme-text-68, rgba(245, 240, 231, .68));background:linear-gradient(180deg,transparent 60%,var(--theme-canvas-74, rgba(4, 7, 8, .74))),repeating-linear-gradient(135deg,var(--theme-text-6, rgba(255,255,255,.06)) 0 1px,transparent 1px 26px),radial-gradient(circle at 34% 43%,var(--theme-accent-58, rgba(242, 164, 67, .58)),transparent 8%),radial-gradient(circle at 68% 48%,var(--theme-mint-28, rgba(56, 204, 183, .28)),transparent 10%),linear-gradient(145deg,var(--theme-raised, #293332),var(--theme-surface, #111819) 68%);box-shadow:18px 18px #38ccb714,0 30px 70px #00000057;transform:rotate(1.2deg);font-size:11px;font-style:normal;font-weight:700;letter-spacing:.18em}.home-hero:after{content:"●  AI PRODUCTION CONSOLE";top:69px;right:92px;bottom:auto;width:auto;height:auto;padding:8px 11px;border:0;border-radius:4px;color:var(--theme-inverse, #131817);background:var(--jueling-warm);transform:rotate(1.2deg);font-size:10px;font-weight:800;letter-spacing:.1em}.hero-copy{width:610px}.hero-copy h1{margin-bottom:2px;color:var(--theme-text, #f7f0e3);font-family:Songti SC,STSong,Georgia,serif;font-size:58px;font-weight:700;letter-spacing:.08em}.hero-copy h2{margin-bottom:14px;color:var(--jueling-mint);font-size:22px;font-weight:650;letter-spacing:.05em}.hero-copy p{color:var(--theme-muted, #98a5a1)}.hero-flow{right:34px;bottom:23px;gap:6px}.hero-flow span{padding:8px 10px;border-radius:4px;color:var(--theme-text, #bac5c1);background:var(--theme-surface-88, rgba(15, 21, 22, .88));border-color:var(--theme-border, #354143)}.hero-flow i{color:var(--jueling-warm)}.project-card{border-top:2px solid var(--theme-accent-60, rgba(242, 164, 67, .6))}.project-card:after{content:"CONTINUE  →";right:18px;top:auto;bottom:18px;width:auto;height:auto;border-radius:0;color:var(--theme-accent-68, rgba(242, 164, 67, .68));background:transparent;font-size:9px;font-weight:800;letter-spacing:.12em}.modal-backdrop{background:#030607c7;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.modal{border-radius:10px;background:var(--theme-surface, #111819);border-color:var(--theme-border, #344143);box-shadow:0 34px 110px #00000094}.modal-header,.modal-footer{border-color:var(--theme-border-10, rgba(218, 229, 222, .1));background:var(--theme-surface-72, rgba(15, 21, 22, .72))}.field input,.field textarea,.select-like,.search-input,.replace-input,.rule-input{border-radius:6px;color:var(--theme-text, #d9dfdb);background:var(--theme-surface, #0c1213);border-color:var(--theme-border, #303d3f)}.field input:focus,.field textarea:focus,.search-input:focus{border-color:var(--theme-accent-72, rgba(242, 164, 67, .72));box-shadow:0 0 0 3px #f2a44314}.ratio-option,.upload-card,.file-meta,.rule-card,.finalize-summary,.process-step,.asset-status-card,.asset-status-row,.asset-row,.workflow-item,.prompt-preview,.script-block,.shot-card,.reference-strip,.prompt-card,.prompt-box,.result-section,.video-result-card,.delivery-shot,.version-card{border-radius:8px}.import-sidebar,.parser-sidebar,.video-config,.delivery-sidebar,.script-pane,.bound-script{background:var(--theme-surface-92, rgba(16, 23, 24, .92))}.upload-card{border-color:var(--theme-border, #3b494b);background:linear-gradient(135deg,var(--theme-accent-8, rgba(242, 164, 67, .08)),transparent 54%),var(--theme-surface, #172022)}.format-row span,.size-switch,.segmented{border-radius:5px;background:var(--theme-surface, #202a2c)}.size-switch span,.segmented button{border-radius:4px}.size-switch span.active,.segmented button.active{color:var(--theme-inverse, #151918);background:var(--jueling-warm-soft)}.doc-icon{border-radius:4px;color:var(--theme-inverse, #111615);background:var(--jueling-mint)}.plus-mini{border-radius:5px;color:var(--theme-accent, #ffd28a);background:var(--theme-accent-8, rgba(242, 164, 67, .08));border-color:var(--theme-accent-34, rgba(242, 164, 67, .34))}.episode-body{border-radius:8px;background:var(--theme-canvas-80, rgba(11, 16, 17, .8))}.episode-list button,.episode-tabs-row button,.asset-tab{border-radius:5px}.episode-tabs-row button,.episode-list button{color:var(--theme-muted, #879591);background:var(--theme-surface, #141c1e);border-color:var(--theme-border, #2d393b)}.episode-list .add-episode{color:var(--theme-mint, #8adfd3);background:var(--theme-mint-7, rgba(56, 204, 183, .07));border-color:var(--theme-mint-28, rgba(56, 204, 183, .28))}.episode-list button.active,.episode-tabs-row button.active,.asset-tab.active,.workflow-item.active{color:var(--theme-accent, #ffd28a);background:var(--theme-accent-9, rgba(242, 164, 67, .09));border-color:var(--theme-accent-46, rgba(242, 164, 67, .46));box-shadow:inset 3px 0 var(--jueling-warm)}.episode-editor textarea{color:var(--theme-text, #c4ceca);background:var(--theme-surface, #0d1314);border-color:var(--theme-border, #495758);border-radius:7px}.summary-number,.process-step.active .step-number{color:var(--theme-inverse, #141817);background:var(--jueling-warm)}.finalize-summary{background:var(--theme-accent-7, rgba(242, 164, 67, .07));border-color:var(--theme-accent-30, rgba(242, 164, 67, .3));box-shadow:inset 3px 0 var(--jueling-warm)}.precheck-page{background:linear-gradient(var(--theme-text-1p4, rgba(255,255,255,.014)) 1px,transparent 1px),linear-gradient(90deg,var(--theme-text-1p4, rgba(255,255,255,.014)) 1px,transparent 1px),radial-gradient(circle at 78% 34%,var(--theme-mint-11, rgba(56, 204, 183, .11)),transparent 32%),linear-gradient(135deg,var(--theme-surface-80, rgba(15, 22, 23, .8)),var(--theme-canvas-52, rgba(9, 13, 14, .52)));background-size:28px 28px,28px 28px,auto,auto}.process-step{background:var(--theme-surface, #141c1d);border-color:var(--theme-border, #2f3b3d)}.process-step.active{border-color:var(--theme-accent-48, rgba(242, 164, 67, .48));background:var(--theme-accent-8, rgba(242, 164, 67, .08))}.asset-status-card{background:var(--theme-surface-92, rgba(17, 24, 25, .92));border-color:var(--theme-border, #374547)}.asset-toolbar,.editor-toolbar,.page-toolbar,.episode-tabs-row,.shot-toolbar,.delivery-search{border-color:var(--theme-border-10, rgba(218, 229, 222, .1));background:var(--theme-surface-76, rgba(13, 19, 20, .76))}.asset-tab{color:var(--theme-muted, #879591);background:var(--theme-surface, #151d1f);border-color:var(--theme-border, #303c3e)}.asset-row{background:var(--theme-surface, #111819);border-color:var(--theme-border, #2c393b);border-left:3px solid var(--theme-mint-30, rgba(56, 204, 183, .3))}.thumb{border-radius:6px;background:var(--theme-surface, #1b2527);border-color:var(--theme-border, #3a4749)}.loading-strip{background:var(--theme-surface, #192324)}.loading-strip:after{background:linear-gradient(90deg,transparent,var(--jueling-warm),transparent)}.workflow-item{background:var(--theme-surface, #141c1e)}.prompt-preview{background:var(--theme-surface, #0b1112);border-color:var(--theme-border, #2c393b)}.script-block.active{color:var(--theme-text, #eeeae1);border-left-color:var(--jueling-warm);background:var(--theme-accent-8, rgba(242, 164, 67, .08));box-shadow:inset 0 0 0 1px #f2a4432e}.script-block{width:100%;border:1px solid var(--theme-border, #2c383a);border-left:3px solid var(--theme-border, #344143);border-radius:5px;color:var(--theme-muted, #889793);background:var(--theme-surface, #141c1e);text-align:left}.script-block.active{color:var(--theme-text, #eeeae1);border-color:var(--theme-accent-30, rgba(242, 164, 67, .3));border-left-color:var(--jueling-warm);background:var(--theme-accent-8, rgba(242, 164, 67, .08));box-shadow:inset 0 0 0 1px #f2a4432e}.shot-list:before{background:linear-gradient(var(--jueling-warm),var(--theme-mint-30, rgba(56, 204, 183, .3)))}.shot-card{background:var(--theme-surface, #111819);border-color:var(--theme-border, #2d3a3c)}.shot-card:before{border-radius:5px;color:var(--theme-inverse, #111615);background:var(--jueling-warm);border-color:var(--theme-accent, #ffc16d)}.shot-card.active{border-color:var(--theme-accent-62, rgba(242, 164, 67, .62));box-shadow:inset 3px 0 var(--jueling-warm),0 14px 34px #0000002e}.video-config{background:var(--theme-surface, #131b1c)}.reference-strip,.prompt-card,.prompt-box,.result-section{background:var(--theme-surface, #0f1617);border-color:var(--theme-border, #2d3a3c)}.toggle.on{color:var(--theme-inverse, #111615);background:var(--jueling-mint)}.video-result-card,.version-card,.delivery-shot{background:var(--theme-surface, #101718);border-color:var(--theme-border, #2e3b3d)}.delivery-shot.active,.version-card{border-color:var(--theme-accent-58, rgba(242, 164, 67, .58));box-shadow:inset 3px 0 var(--jueling-warm)}.player{border-radius:8px;border:1px solid var(--theme-border, #303c3e);background:var(--theme-canvas, #030606);box-shadow:0 28px 70px #00000052}.player-play{color:var(--theme-inverse, #111615);background:var(--jueling-warm);border-color:var(--theme-accent, #ffc672)}.progress:before{background:var(--jueling-warm)}.toast{border-radius:6px;color:var(--theme-text, #dffff3);background:var(--theme-mint-11p64, rgba(24, 93, 76, .97));border-color:var(--theme-success-46, rgba(75, 220, 172, .46))}body.all-mode{min-width:4432px;background:var(--theme-canvas, #070a0b)}.gallery-label{color:var(--theme-text, #d6ddd9);background:var(--theme-surface, #12191a);border-color:var(--theme-border, #313d3f);border-radius:7px 7px 0 0}.gallery-label span:first-child{color:var(--jueling-warm)}.gallery-item .screen-canvas{border-radius:0 0 7px 7px}.close-x{border-radius:6px;color:var(--theme-muted, #aebbb7);background:var(--theme-surface, #151d1f);border-color:var(--theme-border, #303d3f)}.radio-card{border-radius:6px;color:var(--theme-muted, #96a39f);background:var(--theme-surface, #0d1314);border-color:var(--theme-border, #303c3e)}.radio-card.selected{color:var(--theme-accent, #ffe1ad);background:var(--theme-accent-9, rgba(242, 164, 67, .09));border-color:var(--theme-accent-58, rgba(242, 164, 67, .58));box-shadow:inset 3px 0 var(--jueling-warm)}.radio-card.selected .radio-dot{background:var(--jueling-warm);border-color:var(--jueling-warm-soft);box-shadow:0 0 0 4px #f2a4431f}.drawer-backdrop{background:#030607bd;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.full-drawer{border-radius:10px;background:var(--theme-surface, #0d1314);border-color:var(--theme-border, #344143)}.drawer-form{border-color:var(--theme-border, #303d3f);background:var(--theme-surface, #151d1f)}.drawer-stage{background:radial-gradient(circle at 80% 10%,var(--theme-mint-6, rgba(56,204,183,.06)),transparent 24%),var(--theme-surface, #0d1314)}.empty-art:before{color:var(--theme-inverse, #141817);background:linear-gradient(145deg,var(--theme-accent, #ffd28a),var(--theme-accent, #f2a443));border-top-color:var(--theme-mint, #38ccb7);box-shadow:12px 14px #38ccb71f,0 18px 45px #00000047}.parser-editor-toolbar input{color:var(--theme-text, #d5dcd8);background:var(--theme-surface, #0e1516);border-color:var(--theme-border, #303d3f)}.script-document .matched-title{color:var(--theme-accent, #ffe0ad);background:var(--theme-accent-18, rgba(242, 164, 67, .18));box-shadow:inset 3px 0 var(--jueling-warm)}.rule-card{border-color:var(--theme-accent-48, rgba(242, 164, 67, .48));background:var(--theme-accent-8, rgba(242, 164, 67, .08))}.rule-card .rule-count{color:var(--jueling-warm)}.episode-preview-card{border-radius:6px;color:var(--theme-muted, #a4b0ac);background:var(--theme-surface, #141c1e);border-color:var(--theme-border, #2e3b3d)}.episode-preview-card.active{color:var(--theme-text, #f5f0e7);border-color:var(--theme-accent-52, rgba(242, 164, 67, .52));background:var(--theme-accent-8, rgba(242, 164, 67, .08));box-shadow:inset 3px 0 var(--jueling-warm)}.toggle.on i{background:var(--theme-mint-12, #147f72)}.result-empty,.result-loading{color:var(--theme-muted, #82918d);border-color:var(--theme-border, #344143);border-radius:8px;background:var(--theme-surface-34, rgba(17, 24, 25, .34))}.spinner{border-color:var(--theme-accent-14, rgba(242, 164, 67, .14));border-top-color:var(--jueling-warm)}#root{width:100%;min-width:0;min-height:100vh;margin:0 auto}.app-shell{position:relative;width:100%;min-width:0;height:100vh;min-height:720px;overflow:hidden;background:transparent}html,body{width:100%;min-width:0;overflow-x:hidden}.app-shell>.topbar,.app-shell>.workspace{position:absolute}.app-shell>.topbar{inset:0 0 auto}.app-shell>.workspace{top:0;right:0;bottom:0;left:0}.app-shell .workspace{min-height:0}.app-shell .main{position:absolute;display:flex;flex-direction:column;left:112px;top:92px;right:18px;bottom:18px;min-width:0;overflow:hidden;border:1px solid var(--theme-border, #2f3b3d);border-radius:20px;background:var(--theme-surface-72, rgba(13, 19, 20, .72))}.app-shell .main-view>.page-scroll{flex:1 1 auto;min-height:0;height:auto;overflow:auto}.app-shell .main-view>.task-status-wrap{width:100%;flex:0 0 auto;margin:0;padding:14px 18px 0}.app-shell .main-view>.page-scroll>.page-pad{height:100%;min-height:0;padding:0}.app-shell .main-view>.page-scroll>.page-pad>.page,.app-shell .main-view>.page-scroll>.page-pad>.page.narrow{height:100%;min-height:0;padding:0;background:transparent}.app-shell .main-view>.page-scroll>.page-pad>.page.home-page{padding:8px 12px 32px}.app-shell .main-view.home-view>.page-scroll>.page-pad{padding:0}.app-shell .main-view.home-view>.page-scroll>.page-pad>.page.home-page{height:100%}.app-shell .sidebar{position:absolute;z-index:15;left:18px;top:92px;bottom:18px;width:76px;display:flex;flex-direction:column;gap:12px;padding:12px 8px;border:1px solid var(--theme-border, #303d3f);border-radius:18px;background:var(--theme-surface-90, rgba(13, 19, 20, .9))}.app-shell .sidebar-label,.app-shell .sidebar-foot{display:none}.app-shell .sidebar button{min-height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:8px 4px;border-radius:13px;color:var(--theme-info, #76859f);background:transparent;border:1px solid transparent;font-size:12px;font-weight:700}.app-shell .sidebar button.active{color:var(--theme-accent, #ffe0ad);background:var(--theme-accent-10, rgba(242, 164, 67, .1));border-color:var(--theme-accent-58, rgba(242, 164, 67, .58));box-shadow:inset 3px 0 var(--jueling-warm),0 10px 24px #00000029}.app-shell .nav-glyph{font-size:15px;line-height:1}.app-shell .topbar{height:78px;display:flex;align-items:center;gap:18px;padding:0 26px;border-bottom:1px solid var(--theme-border-10, rgba(220, 232, 225, .1));background:var(--theme-canvas-94, rgba(8, 12, 13, .94));box-shadow:0 12px 40px #00000024}.brand-button{display:flex;align-items:center;gap:11px;min-width:195px;color:var(--text);background:transparent;text-align:left}.brand-button .brand-mark{position:relative;width:42px;height:42px;display:grid;place-items:center;border-radius:8px;color:var(--theme-inverse, #141817);background:linear-gradient(145deg,var(--jueling-warm-soft),var(--jueling-warm));box-shadow:0 8px 20px #f2a44338;font-weight:900}.brand-button strong{display:block;font-size:22px;letter-spacing:.04em}.brand-button small{display:block;margin-top:2px;color:var(--jueling-mint);font-size:10px;font-weight:800;letter-spacing:.18em}.flow-status{flex:1;display:flex;justify-content:center;min-width:0}.flow-nav{display:flex;align-items:center;gap:8px;margin-right:4px}.flow-nav button{min-width:38px;height:36px;border-radius:7px;color:var(--theme-text, #dbe2f0);background:var(--theme-surface, #131a1c);border:1px solid var(--theme-border, #2b3739)}.flow-counter{min-width:210px;padding:0 12px;color:var(--theme-info, #9aa8c0);font-size:12px;text-align:center}.flow-counter b{color:var(--jueling-warm-soft)}.flow-counter strong{display:block;color:var(--theme-text, #f4f6ff);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-actions{display:flex;align-items:center;gap:12px}.theme-pill,.account-pill{height:42px;display:inline-flex;align-items:center;gap:9px;padding:0 14px;border-radius:7px;border:1px solid var(--theme-border, #2b3739);color:var(--theme-text, #ccd5e7);background:var(--theme-surface, #131a1c);font-size:13px;white-space:nowrap}.theme-dot{width:7px;height:7px;border-radius:50%;background:var(--jueling-mint);box-shadow:0 0 0 4px #38ccb71f}.account-avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:var(--theme-inverse, #141817);background:var(--jueling-warm);font-weight:900}.primary,.secondary,.ghost-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 20px;border-radius:6px;font-weight:750;transition:transform .16s ease,filter .16s ease,opacity .16s ease}.primary{color:var(--theme-inverse, #141817);background:var(--jueling-warm);border:1px solid var(--theme-accent, #ffc672);box-shadow:0 10px 28px #f2a4432e}.secondary{color:var(--theme-accent, #ffe0ad);background:var(--theme-accent-9, rgba(242,164,67,.09));border:1px solid var(--theme-accent-46, rgba(242,164,67,.46))}.ghost-button{color:var(--theme-text, #b8c3d7);background:var(--theme-surface, #141c1e);border:1px solid var(--theme-border, #2d393b)}.primary:hover:not(:disabled),.secondary:hover:not(:disabled),.ghost-button:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-1px)}.status{border-radius:5px}.status.info{color:var(--theme-info, #b8c8ff);border-color:var(--theme-info-45, rgba(112,169,255,.45));background:var(--theme-info-18, rgba(67,99,178,.18))}.status.success{color:var(--theme-success, #74efb5);border-color:var(--theme-success-45, rgba(65,208,138,.45));background:var(--theme-success-15, rgba(43,177,113,.15))}.status.danger{color:var(--theme-danger, #ff99a4);border-color:var(--theme-danger-45, rgba(255,107,122,.45));background:var(--theme-danger-13, rgba(194,54,70,.13))}.primary-button{color:var(--theme-inverse, #141817);background:var(--jueling-warm);border:1px solid var(--theme-accent, #ffc672);box-shadow:0 10px 28px #f2a4432e}.secondary-button{color:var(--theme-accent, #ffd28a);background:var(--theme-accent-8, rgba(242, 164, 67, .08));border:1px solid var(--theme-accent-44, rgba(242, 164, 67, .44))}.primary-button:hover:not(:disabled),.secondary-button:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px)}.primary-button:disabled,.secondary-button:disabled{color:var(--theme-muted, #777f7b);background:var(--theme-raised, #252d2d);border-color:var(--theme-border, #3b4544)}.primary-button.is-busy:disabled,.primary.is-busy:disabled{color:var(--theme-inverse, #141817);border-color:var(--theme-accent, #ffc672);cursor:progress;opacity:1;background:linear-gradient(110deg,var(--theme-accent, #e2a14a) 0%,var(--theme-accent, #f8c775) 42%,var(--theme-accent, #ffe1a8) 50%,var(--theme-accent, #f8c775) 58%,var(--theme-accent, #d18c35) 100%);background-size:240% 100%;animation:juling-busy-sweep 1.5s linear infinite;box-shadow:0 10px 30px #f2a4434d}.primary-button.is-busy:disabled:before,.primary.is-busy:disabled:before{content:"";display:inline-block;width:12px;height:12px;margin-right:8px;vertical-align:-1px;border:2px solid var(--theme-border-28, rgba(20, 24, 23, .28));border-top-color:var(--theme-border, #141817);border-radius:50%;animation:juling-spin .7s linear infinite}@keyframes juling-busy-sweep{0%{background-position:120% 0;box-shadow:0 10px 26px #f2a4433d}50%{box-shadow:0 10px 38px #f2a44375}to{background-position:-120% 0;box-shadow:0 10px 26px #f2a4433d}}@media(prefers-reduced-motion:reduce){.primary-button.is-busy:disabled,.primary.is-busy:disabled{animation:none;background:var(--jueling-warm)}.primary-button.is-busy:disabled:before,.primary.is-busy:disabled:before{animation:none}}.main-view,.app-shell .main{border-color:var(--theme-border, #2f3b3d);background:var(--theme-surface-72, rgba(13, 19, 20, .72))}.side-rail,.app-shell .sidebar{border-color:var(--theme-border, #303d3f);background:var(--theme-surface-90, rgba(13, 19, 20, .9))}.rail-link.active,.app-shell .sidebar button.active{color:var(--theme-accent, #ffe0ad);background:var(--theme-accent-10, rgba(242, 164, 67, .1));border-color:var(--theme-accent-58, rgba(242, 164, 67, .58));box-shadow:inset 3px 0 var(--jueling-warm),0 10px 24px #00000029}.rail-link:hover:not(.active),.app-shell .sidebar button:hover:not(.active){color:var(--theme-text, #d9dfdb);background:var(--theme-mint-6, rgba(56, 204, 183, .06));border-color:var(--theme-mint-26, rgba(56, 204, 183, .26))}.episode-tabs-row button.active,.episode-list button.active,.asset-tab.active,.workflow-item.active{color:var(--theme-accent, #ffd28a);background:var(--theme-accent-10, rgba(242, 164, 67, .1));border-color:var(--theme-accent-58, rgba(242, 164, 67, .58));box-shadow:inset 3px 0 var(--jueling-warm)}.shot-card.active,.episode-card.selected,.shot-card.selected{border-color:var(--theme-accent-62, rgba(242, 164, 67, .62));box-shadow:inset 3px 0 var(--jueling-warm),0 12px 30px #00000029}.status-pill.purple,.count-pill.active{color:var(--theme-accent, #ffd28a);background:var(--theme-accent-10, rgba(242, 164, 67, .1));border-color:var(--theme-accent-48, rgba(242, 164, 67, .48))}.select-like:focus,.field input:focus,.field textarea:focus,.search-input:focus,input:focus,textarea:focus,select:focus{border-color:var(--theme-accent-72, rgba(242, 164, 67, .72));box-shadow:0 0 0 3px #f2a4431a}.home-stack{height:100%;overflow:auto;padding:8px 12px 32px}.home-page{background:transparent}.home-hero{border-radius:8px}.home-section-header{margin:28px 0 14px}.project-card,.view-all-card,.tool-card{border-radius:8px;background:linear-gradient(145deg,var(--theme-surface, #151d1e),var(--theme-surface, #101617));border-color:var(--theme-border, #2c383a);box-shadow:inset 0 1px #ffffff05}.project-card{border-top:2px solid var(--theme-accent-60, rgba(242,164,67,.6))}.project-card:hover,.tool-card:hover,.view-all-card:hover{border-color:var(--theme-accent-68, rgba(242,164,67,.68))}.project-card:after{content:"CONTINUE  →";right:18px;top:auto;bottom:18px;width:auto;height:auto;border-radius:0;color:var(--theme-accent-68, rgba(242,164,67,.68));background:transparent;font-size:9px;font-weight:800;letter-spacing:.12em}.tool-icon{border-radius:6px;color:var(--theme-inverse, #111615);background:var(--jueling-mint);box-shadow:6px 6px #f2a4431a}.split-panel,.rule-layout,.preview-layout,.editor-layout,.overview-layout,.storyboard-layout,.video-layout,.delivery-layout{gap:0}.split-panel,.rule-layout,.preview-layout{height:calc(100% - 70px)}.split-panel>:first-child,.rule-layout>:first-child,.preview-layout>:first-child{background:var(--theme-surface, #121b2b);border-right:1px solid var(--line-soft);border-radius:0}.split-panel>:last-child,.rule-layout>:last-child,.preview-layout>:last-child{border-radius:0}.editor-box,.script-preview,.video-config,.video-stage,.panel{border-radius:8px}.episode-card,.shot-card,.history-row{border-radius:5px}.episode-card.selected,.shot-card.selected{border-color:var(--theme-accent-62, rgba(242,164,67,.62));background:var(--theme-accent-8, rgba(242,164,67,.08));box-shadow:inset 3px 0 var(--jueling-warm)}.asset-row{border-radius:8px;border-left:3px solid var(--theme-mint-30, rgba(56,204,183,.3));background:var(--theme-surface, #111819)}.asset-page{display:flex;flex-direction:column;height:100%}.asset-toolbar{display:block;padding:0}.asset-toolbar-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 15px}.asset-toolbar-title{min-width:0}.asset-toolbar-head .eyebrow{margin-bottom:6px}.asset-toolbar-head .page-title{font-size:26px}.asset-toolbar-head .subtle{margin:7px 0 0;max-width:620px}.asset-done-button{flex:0 0 auto;margin-top:8px;white-space:nowrap}.asset-toolbar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:0 22px 16px}.asset-toolbar-actions .asset-tabs{flex:0 0 auto}.asset-tabs{display:flex;gap:4px;padding:3px;border:1px solid var(--theme-border, #2d3a3c);border-radius:9px;background:var(--theme-canvas-60, rgba(9, 14, 15, .6))}.asset-tab{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:34px;min-width:92px;border-color:transparent;background:transparent}.asset-tab:hover:not(.active){color:var(--theme-text, #d9dfdb);background:var(--theme-mint-6, rgba(56, 204, 183, .06))}.asset-tab.active{box-shadow:none}.asset-tab span{min-width:22px;height:19px;display:inline-grid;place-items:center;padding:0 6px;border-radius:999px;color:var(--theme-muted, #93a49e);background:var(--theme-text-7, rgba(218, 229, 222, .07));font-size:10px;font-weight:800;font-variant-numeric:tabular-nums}.asset-tab.active span{color:var(--theme-accent, #ffd28a);background:var(--theme-accent-16, rgba(242, 164, 67, .16))}.asset-toolbar-actions .search-wrap{flex:1 1 180px;max-width:300px;margin-left:0}.asset-toolbar-actions .button-row{flex-wrap:wrap;justify-content:flex-end;margin-left:auto}.asset-toolbar-actions .button-row button{white-space:nowrap}.asset-content{flex:1;min-height:0;overflow:auto;padding:20px 22px 34px}.asset-extraction-progress{margin:14px 22px 0;padding:18px 20px 16px;border:1px solid var(--theme-border, #303d3f);border-left:4px solid var(--theme-mint-70, rgba(56,204,183,.7));border-radius:10px;background:var(--theme-surface, #101718);box-shadow:0 12px 30px #00000024}.asset-extraction-progress.success{border-color:var(--theme-border, #30433d);border-left-color:var(--theme-success, #48c98b);background:linear-gradient(90deg,var(--theme-success-8, rgba(42,151,104,.08)),var(--theme-surface, #101718) 26%)}.asset-extraction-progress.failed{border-color:var(--theme-border, #453236);border-left-color:var(--theme-danger, #dc6370);background:linear-gradient(90deg,var(--theme-danger-8, rgba(117,38,50,.08)),var(--theme-surface, #101718) 25%);box-shadow:0 12px 30px #00000024}.asset-extraction-progress-head{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px}.asset-extraction-state-mark{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--theme-mint-34, rgba(56,204,183,.34));border-radius:50%;background:var(--theme-mint-9, rgba(56,204,183,.09))}.asset-extraction-state-mark span{position:relative;width:10px;height:10px;border-radius:50%;background:var(--jueling-mint);box-shadow:0 0 0 5px #38ccb71a}.asset-extraction-progress.success .asset-extraction-state-mark{border-color:var(--theme-success-42, rgba(72,201,139,.42));background:var(--theme-success-10, rgba(72,201,139,.1))}.asset-extraction-progress.success .asset-extraction-state-mark span{width:15px;height:8px;border:0;border-left:2px solid var(--theme-success, #7de6af);border-bottom:2px solid var(--theme-success, #7de6af);border-radius:0;background:transparent;box-shadow:none;transform:rotate(-45deg) translate(1px,-1px)}.asset-extraction-progress.failed .asset-extraction-state-mark{border-color:var(--theme-danger-46, rgba(220,99,112,.46));background:var(--theme-danger-10, rgba(220,99,112,.1))}.asset-extraction-progress.failed .asset-extraction-state-mark span{width:3px;height:14px;border-radius:999px;background:var(--theme-danger, #ff9ca7);box-shadow:none;transform:translateY(-3px)}.asset-extraction-progress.failed .asset-extraction-state-mark span:after{content:"";position:absolute;left:0;top:18px;width:3px;height:3px;border-radius:50%;background:var(--theme-danger, #ff9ca7)}.asset-extraction-progress-copy{min-width:0}.asset-extraction-progress-head h2{margin:3px 0;color:var(--theme-text, #f3efe6);font-size:18px;line-height:1.35}.asset-extraction-progress-head p{max-width:900px;margin:0;color:var(--theme-muted, #a1b1ac);font-size:12px;line-height:1.6}.asset-extraction-progress-value{display:grid;min-width:104px;justify-items:end;gap:6px;color:var(--theme-mint, #9ee9d8);font-variant-numeric:tabular-nums}.asset-extraction-progress-value strong{padding:6px 10px;border:1px solid var(--theme-mint-34, rgba(56,204,183,.34));border-radius:999px;color:var(--theme-mint, #9ee9d8);background:var(--theme-mint-8, rgba(56,204,183,.08));font-size:12px;line-height:1;letter-spacing:.04em}.asset-extraction-progress-value small{color:var(--theme-muted, #81908c);font-size:10px;white-space:nowrap}.asset-extraction-progress.failed .asset-extraction-progress-value strong{border-color:var(--theme-danger-40, rgba(220,99,112,.4));color:var(--theme-danger, #ffadb5);background:var(--theme-danger-12, rgba(143,42,54,.12))}.asset-extraction-progress progress{width:100%;height:5px;margin:14px 0 0;overflow:hidden;border:0;border-radius:999px;background:var(--theme-surface, #1c2929);accent-color:var(--jueling-mint)}.asset-extraction-progress progress::-webkit-progress-bar{border-radius:999px;background:var(--theme-surface, #1c2929)}.asset-extraction-progress progress::-webkit-progress-value{border-radius:999px;background:linear-gradient(90deg,var(--theme-mint, #27a990),var(--theme-mint, #63d9c3));transition:width .22s ease}.asset-extraction-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:14px;padding:13px 2px;border-top:1px solid var(--theme-border-9, rgba(218,229,222,.09));border-bottom:1px solid var(--theme-border-9, rgba(218,229,222,.09))}.asset-extraction-stages span{display:flex;min-width:0;align-items:center;gap:8px;color:var(--theme-muted, #687773);font-size:11px;font-weight:700;white-space:nowrap}.asset-extraction-stages i{width:24px;height:24px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--theme-border, #344242);border-radius:50%;color:var(--theme-muted, #7b8986);background:var(--theme-surface, #121a1b);font-style:normal;font-size:10px}.asset-extraction-stages span.active{color:var(--theme-text, #dce6e2)}.asset-extraction-stages span.active i{color:var(--theme-inverse, #10201d);border-color:var(--jueling-mint);background:var(--jueling-mint);box-shadow:0 0 0 4px #38ccb714}.asset-extraction-stages span.done{color:var(--theme-mint, #8acbbb)}.asset-extraction-stages span.done i{color:var(--theme-mint, #8ce8d4);border-color:var(--theme-mint-38, rgba(56,204,183,.38));background:var(--theme-mint-9, rgba(56,204,183,.09))}.asset-extraction-stages span.failed{color:var(--theme-danger, #ffb3bb)}.asset-extraction-stages span.failed i{color:var(--theme-text, #fff1f2);border-color:var(--theme-danger-72, rgba(224,91,104,.72));background:var(--theme-danger-45, rgba(172,50,64,.45));box-shadow:0 0 0 4px #e05b6814}.asset-extraction-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-top:12px}.asset-extraction-note{display:grid;min-width:0;gap:9px;color:var(--theme-muted, #84938f);font-size:11px;line-height:1.55}.asset-extraction-safety-note{display:flex;min-width:0;align-items:baseline;flex-wrap:wrap;gap:5px 10px}.asset-extraction-safety-note strong{color:var(--theme-text, #c5d0cc);font-size:11px}.asset-extraction-safety-note span{color:var(--theme-muted, #7d8d88)}.asset-extraction-note code{color:var(--theme-accent, #e4bd75);font-family:inherit}.asset-extraction-details{display:flex;align-items:flex-start;flex-wrap:wrap;gap:4px 16px}.asset-extraction-technical{min-width:0;color:var(--theme-muted, #aab7b3)}.asset-extraction-technical>summary{min-height:36px;display:flex;align-items:center;cursor:pointer;color:var(--theme-muted, #b8c3bf);font-weight:700}.asset-extraction-technical>summary:hover{color:var(--theme-text, #f0ece3)}.asset-extraction-technical code{display:block;max-width:min(720px,calc(100vw - 240px));margin:2px 0 8px;padding:8px 10px;border-left:2px solid var(--theme-danger-50, rgba(220,99,112,.5));color:var(--theme-danger, #b98d92);background:var(--theme-danger-5, rgba(220,99,112,.05));font:10px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.asset-extraction-note .task-event-history{width:fit-content;margin:0;padding:0;border:0;color:var(--theme-muted, #aab7b3)}.asset-extraction-note .task-event-history>summary{min-height:36px}.asset-extraction-note .task-event-history-body{width:min(920px,calc(100vw - 190px))}.asset-extraction-actions{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:8px}.asset-extraction-actions .primary-button,.asset-extraction-actions .ghost-button{min-height:44px;padding:0 16px;white-space:nowrap}.asset-table-head{display:grid;align-items:center;gap:12px;padding:13px 17px;color:var(--theme-muted, #798986);background:var(--theme-surface, #182122);font-size:10px;font-weight:850;letter-spacing:.05em}.asset-table-head,.asset-row{grid-template-columns:1.05fr .82fr 2.35fr .6fr}.asset-row{min-height:236px;align-items:center}.asset-table-head>span:last-child{display:none}.asset-row-name,.asset-row-preview,.asset-row-prompt,.asset-row-episodes{min-width:0}.asset-row-name{display:flex;align-items:center;gap:12px}.asset-row-name h3,.asset-row-name p{margin:0;overflow:hidden;text-overflow:ellipsis}.asset-row-name h3{color:var(--theme-text, #d4dbea);font-size:15px;white-space:nowrap}.asset-row-name p{margin-top:5px;color:var(--theme-muted, #7f8e9a);font-size:11px}.asset-thumb{width:62px;height:58px;display:grid;place-items:center;flex:0 0 auto;color:var(--jueling-mint);background:linear-gradient(145deg,var(--theme-raised, #273737),var(--theme-surface, #111819));border-color:var(--theme-border, #425052);font-size:11px}.asset-preview-placeholder{min-height:118px;display:grid;place-items:center;gap:8px;padding:10px;border:1px dashed var(--theme-border, #465253);border-radius:8px;color:var(--theme-muted, #83918e);background:var(--theme-surface, #152021);font-size:11px;text-align:center}.asset-preview-loading,.asset-preview-error{align-content:center}.asset-preview-error .ghost-button{min-height:34px}.asset-row-prompt{display:grid;align-content:start}.asset-inline-editable{position:relative;min-width:0;border-radius:8px;transition:background .16s ease,box-shadow .16s ease}.asset-inline-editable:hover:not(.is-disabled),.asset-inline-editable:focus-within:not(.is-disabled){background:var(--theme-mint-3p5, rgba(56,204,183,.035));box-shadow:inset 0 0 0 1px #38ccb724}.asset-inline-editable.is-disabled{opacity:.72}.asset-inline-edit-content{min-width:0;padding-right:48px;cursor:text}.asset-inline-edit-content summary,.asset-inline-edit-content button,.asset-inline-edit-content a{cursor:pointer}.asset-inline-edit-trigger{position:absolute;z-index:1;top:4px;right:4px;min-width:38px;min-height:28px;padding:0 8px;border:1px solid var(--theme-mint-28, rgba(56,204,183,.28));border-radius:6px;color:var(--theme-mint, #9fd8ce);background:var(--theme-surface-90, rgba(11,24,24,.9));font-size:10px;font-weight:800;cursor:pointer}.asset-inline-edit-trigger:hover,.asset-inline-edit-trigger:focus-visible{border-color:var(--jueling-amber);color:var(--theme-accent, #fff1d7);outline:none;box-shadow:0 0 0 2px #f2a4431f}.asset-inline-edit-trigger:disabled{border-color:var(--theme-border, #33413f);color:var(--theme-muted, #677772);background:var(--theme-surface-78, rgba(14,21,22,.78));cursor:not-allowed}.asset-inline-editor{min-width:0;display:grid;align-content:start;gap:8px;margin-top:5px;padding:11px;border:1px solid var(--theme-accent-72, rgba(242,164,67,.72));border-radius:8px;background:var(--theme-surface-96, rgba(11,18,19,.96));box-shadow:0 0 0 3px #f2a44312}.asset-inline-editor-head,.asset-inline-editor-meta,.asset-inline-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.asset-inline-editor-head label{color:var(--theme-text, #f1e8d8);font-size:12px;font-weight:850}.asset-inline-editor-head span,.asset-inline-editor-meta{color:var(--theme-muted, #7f918b);font-size:10px}.asset-inline-editor textarea{box-sizing:border-box;width:100%;min-height:168px;padding:10px 11px;border:1px solid var(--theme-border, #3a4949);border-radius:7px;color:var(--theme-text, #e6ece8);background:var(--theme-canvas, #091011);font:inherit;font-size:12px;line-height:1.65;resize:vertical}.asset-inline-editor-prompt textarea{min-height:218px}.asset-inline-editor textarea:focus{border-color:var(--jueling-amber);outline:none;box-shadow:0 0 0 3px #f2a4431a}.asset-inline-editor textarea:disabled{color:var(--theme-muted, #9aa8a3);cursor:wait;opacity:.78}.asset-inline-editor-error{margin:0;padding:7px 9px;border-left:2px solid var(--theme-danger, #dc6370);color:var(--theme-danger, #ffb9c0);background:var(--theme-danger-7, rgba(220,99,112,.07));font-size:10px;line-height:1.5}.asset-inline-editor-actions{justify-content:flex-end}.asset-inline-editor-actions .primary-button,.asset-inline-editor-actions .secondary-button{min-height:34px;padding:0 12px;font-size:11px}.asset-setting-basic{display:grid;gap:7px;padding:12px;border:1px solid var(--theme-border, #2d3a3c);border-radius:8px;background:var(--theme-canvas-34, rgba(7,12,13,.34))}.asset-setting-basic strong{color:var(--theme-text, #e7ede9);font-size:12px}.asset-setting-basic p,.asset-setting-basic small{margin:0;overflow-wrap:anywhere}.asset-setting-basic p{color:var(--theme-muted, #aebbb7);font-size:12px;line-height:1.6}.asset-setting-basic small{color:var(--theme-muted, #778782);font-size:11px;line-height:1.55}.asset-character-profile{overflow:hidden;border:1px solid var(--theme-mint-28, rgba(56,204,183,.28));border-radius:10px;background:linear-gradient(145deg,var(--theme-mint-5p5, rgba(56,204,183,.055)),var(--theme-canvas-72, rgba(9,14,15,.72)))}.asset-character-profile>header{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border-bottom:1px solid var(--theme-border-9, rgba(218,229,222,.09))}.asset-character-profile>header strong{color:var(--theme-text, #dce8e3);font-size:12px}.asset-character-profile>header span{min-height:23px;display:inline-flex;align-items:center;padding:0 8px;border:1px solid var(--theme-mint-28, rgba(56,204,183,.28));border-radius:999px;color:var(--theme-mint, #86d8ca);background:var(--theme-mint-7, rgba(56,204,183,.07));font-size:10px;white-space:nowrap}.asset-profile-grid,.asset-profile-details dl{display:grid;gap:0;margin:0}.asset-profile-grid{padding:5px 12px}.asset-profile-grid>div,.asset-profile-details dl>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:9px;padding:7px 0;border-bottom:1px solid var(--theme-border-6p5, rgba(218,229,222,.065))}.asset-profile-grid>div:last-child,.asset-profile-details dl>div:last-child{border-bottom:0}.asset-profile-grid dt,.asset-profile-details dt{color:var(--theme-accent, #d4ac6c);font-size:10px;font-weight:850;line-height:1.55}.asset-profile-grid dd,.asset-profile-details dd{min-width:0;margin:0;color:var(--theme-muted, #aebbb7);font-size:11px;line-height:1.62;overflow-wrap:anywhere}.asset-profile-details{border-top:1px solid var(--theme-border-8p5, rgba(218,229,222,.085))}.asset-profile-details>summary{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;color:var(--theme-muted, #91aaa4);cursor:pointer;list-style:none;font-size:10px;font-weight:800}.asset-profile-details>summary::-webkit-details-marker{display:none}.asset-profile-details>summary:hover{color:var(--theme-text, #e7eee9);background:var(--theme-mint-4p5, rgba(56,204,183,.045))}.asset-profile-details>summary span{color:var(--theme-muted, #71837e);font-weight:700}.asset-profile-details dl{padding:4px 12px 9px;border-top:1px solid var(--theme-border-5p5, rgba(218,229,222,.055))}.character-asset-table{overflow-x:auto;scrollbar-gutter:stable}.character-asset-table .asset-table-head,.character-asset-table .character-asset-row{min-width:1334px;grid-template-columns:minmax(190px,1fr) minmax(190px,.82fr) minmax(120px,.55fr) minmax(250px,1.22fr) minmax(390px,2fr) minmax(115px,.55fr);gap:16px}.character-asset-table .character-asset-group{min-width:1334px}.scene-asset-table{overflow-x:auto;scrollbar-gutter:stable}.scene-asset-table .asset-table-head,.scene-asset-table .scene-asset-row{min-width:1194px;grid-template-columns:minmax(190px,1fr) minmax(190px,.85fr) minmax(270px,1.3fr) minmax(360px,1.9fr) minmax(115px,.55fr);gap:16px}.scene-asset-table .asset-table-head{position:sticky;top:0;z-index:2}.scene-asset-row .asset-row-name{align-items:flex-start}.scene-asset-row .asset-row-name p{max-width:230px;white-space:normal;line-height:1.45}.scene-asset-row .asset-row-episodes .subtle{max-height:86px;overflow:auto;color:var(--theme-muted, #879792);line-height:1.65;overflow-wrap:anywhere}.prop-asset-table{overflow-x:auto;scrollbar-gutter:stable}.prop-asset-table .asset-table-head,.prop-asset-table .prop-asset-row{min-width:1194px;grid-template-columns:minmax(190px,1fr) minmax(190px,.85fr) minmax(270px,1.3fr) minmax(360px,1.9fr) minmax(115px,.55fr);gap:16px}.prop-asset-table .asset-table-head{position:sticky;top:0;z-index:2}.prop-asset-row .asset-row-name{align-items:flex-start}.prop-asset-row .asset-row-name p{max-width:230px;white-space:normal;line-height:1.45}.prop-asset-row .asset-row-episodes .subtle{max-height:86px;overflow:auto;color:var(--theme-muted, #879792);line-height:1.65;overflow-wrap:anywhere}.character-asset-table .asset-table-head{position:sticky;top:0;z-index:2}.character-asset-row{min-height:236px;padding-block:16px}.character-asset-row .asset-row-name{align-items:flex-start}.character-asset-row .asset-row-name p{display:-webkit-box;max-width:230px;overflow:hidden;white-space:normal;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:4}.asset-row-voice{min-width:0;display:grid;justify-items:stretch;align-content:start;gap:8px}.asset-row-voice button{min-height:40px;padding-inline:10px;font-size:11px}.asset-row-voice small{color:var(--theme-muted, #6f807b);font-size:10px;text-align:center}.asset-character-setting{min-width:0;display:grid;align-content:start;gap:8px;padding:0 8px 8px}.asset-character-setting p,.asset-character-setting small{margin:0;overflow-wrap:anywhere}.asset-character-setting p{display:-webkit-box;color:var(--theme-muted, #aebcb7);font-size:12px;line-height:1.72;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4}.asset-character-setting small{display:-webkit-box;color:var(--theme-muted, #758580);font-size:10px;line-height:1.55;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.asset-state-setting p{display:block;overflow:visible;white-space:pre-wrap;-webkit-line-clamp:unset}.asset-generation-prompt{min-width:0;padding:12px;border-radius:8px;background:var(--theme-canvas-34, rgba(7,12,13,.34))}.asset-generation-prompt p{display:-webkit-box;margin:0;color:var(--theme-muted, #aebbb7);font-size:14px;line-height:1.7;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap;-webkit-box-orient:vertical;-webkit-line-clamp:5}.character-asset-row .asset-row-episodes .subtle{max-height:86px;overflow:auto;color:var(--theme-muted, #879792);line-height:1.65;overflow-wrap:anywhere}.asset-row-episodes{display:grid;justify-items:start;gap:8px}.asset-row-episodes .ghost-button{min-height:34px;padding:0 12px}.asset-table-head{font-size:12px}.asset-row .asset-row-name h3{font-size:16px}.asset-row .asset-row-name p{font-size:13px;line-height:1.6}.asset-row .asset-character-setting p,.asset-row .asset-setting-basic p,.asset-row .asset-profile-grid dd,.asset-row .asset-profile-details dd{font-size:14px;line-height:1.7}.asset-row .asset-profile-grid dt,.asset-row .asset-profile-details dt{font-size:12px;line-height:1.9}.asset-row .asset-character-setting small,.asset-row .asset-profile-details>summary,.asset-row .asset-setting-basic small,.asset-row .asset-row-voice small,.asset-row .asset-row-episodes .subtle,.asset-row .asset-thumb{font-size:12px}.asset-row .asset-row-voice button,.asset-row .asset-media-toggle{font-size:13px}.asset-row .asset-inline-edit-content{padding-right:56px}.asset-row .asset-inline-static{border-radius:8px;transition:background .16s ease,box-shadow .16s ease}.asset-row .asset-inline-static:not(.is-disabled) .asset-inline-edit-content{cursor:text}.asset-row .asset-inline-static:not(.is-disabled):hover{background:var(--theme-mint-3p5, rgba(56,204,183,.035));box-shadow:inset 0 0 0 1px #38ccb724}.asset-row .asset-inline-static .asset-inline-edit-content{padding-right:0}.asset-row .asset-inline-static.is-disabled{opacity:.72}.asset-row .asset-inline-editor textarea{font-size:14px;line-height:1.7}@media(max-width:600px){.asset-row .asset-inline-edit-content{padding-right:0;padding-top:36px}.asset-row .asset-inline-static .asset-inline-edit-content{padding-top:0}}.asset-speech-panel{border-color:var(--theme-mint-32, rgba(56,204,183,.32));background:var(--theme-surface, #101718)}.asset-speech-head h3{color:var(--theme-text, #d4dbea)}.asset-speech-result{color:var(--theme-text, #b9c9c4)}.batch-generate-form{margin:16px 22px 0;border-color:var(--theme-accent-45, rgba(242,164,67,.45));background:var(--theme-surface, #101718)}.batch-generate-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.batch-generate-head h2{margin:0}.batch-generate-grid{display:grid;grid-template-columns:1fr;gap:14px;margin-top:16px}.batch-asset-picker{display:grid;gap:8px;max-height:250px;overflow:auto;padding:10px;border:1px solid var(--theme-border, #2c393b);border-radius:8px;background:var(--theme-surface, #0d1314)}.batch-asset-picker .check-line{align-items:flex-start;padding:10px;border:1px solid transparent;border-radius:6px}.batch-asset-picker .check-line:hover{border-color:var(--theme-accent-35, rgba(242,164,67,.35));background:var(--theme-accent-6, rgba(242,164,67,.06))}.batch-asset-picker .check-line span{display:grid;gap:4px;min-width:0}.batch-asset-picker .check-line small{color:var(--theme-muted, #84918e)}.batch-asset-picker .check-line.excluded{cursor:not-allowed;opacity:.58}.batch-asset-picker .check-line.excluded:hover{border-color:transparent;background:transparent}.batch-asset-picker .check-line.excluded input{cursor:not-allowed}.batch-asset-picker .check-line.excluded small{color:var(--theme-accent, #a68e73)}.batch-asset-picker.batch-asset-picker-horizontal{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));grid-auto-rows:max-content;gap:4px 10px;align-items:stretch;align-content:start;max-height:360px;padding:8px}.batch-asset-picker-horizontal .check-line{box-sizing:border-box;display:flex;align-items:center;gap:10px;min-width:0;min-height:52px;height:auto;margin:0;padding:7px 10px;border-bottom-color:var(--theme-border, #25322d);border-radius:4px;cursor:pointer;color:var(--theme-text, #d3ded7)}.batch-asset-picker-horizontal .check-line>input{flex:0 0 16px;width:16px;height:16px;margin:0;padding:0;accent-color:var(--jueling-warm)}.batch-asset-picker-horizontal .check-line>span{display:flex;flex:1;flex-direction:column;gap:3px}.batch-asset-picker-horizontal .check-line strong{font-size:13px;font-weight:600;line-height:19px;overflow-wrap:anywhere}.batch-asset-picker-horizontal .check-line small{font-size:12px;font-weight:400;line-height:16px;color:var(--theme-muted, #a2b2aa);overflow-wrap:anywhere}.batch-asset-picker-horizontal .check-line:has(input:checked){border-color:var(--theme-accent-25, rgba(242,164,67,.25));background:var(--theme-accent-4p5, rgba(242,164,67,.045));color:var(--theme-text, #e4e9e5)}.batch-asset-picker-horizontal .check-line:has(input:checked) small{color:var(--theme-accent, #d6bc84)}.batch-asset-picker-horizontal .check-line:focus-within{outline:2px solid var(--jueling-warm);outline-offset:-2px}.batch-asset-picker-horizontal .check-line.excluded{opacity:1;color:var(--theme-muted, #96a49d);background:transparent}.batch-asset-picker-horizontal .check-line.excluded small{color:var(--theme-muted, #a2b2aa)}.batch-generate-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-content:start}.batch-generate-options label{display:grid;gap:6px;color:var(--theme-text, #bcc8c4);font-size:12px}.batch-generate-options input,.batch-generate-options select{width:100%;min-height:38px;padding:0 10px;border:1px solid var(--theme-border, #303d3f);border-radius:6px;color:var(--theme-text, #d9dfdb);background:var(--theme-surface, #0c1213)}.batch-generate-options label>small{color:var(--theme-muted, #7f918b);font-size:10px;font-weight:500;line-height:1.5}.project-generation-defaults-note{grid-column:1 / -1;margin:0;padding:8px 10px;border:1px solid var(--theme-accent-24, rgba(217, 168, 72, .24));border-radius:7px;color:var(--theme-muted, #b9c5c1);background:var(--theme-accent-5, rgba(217, 168, 72, .05));font-size:11px;line-height:1.6}.project-generation-defaults-feedback{grid-column:1 / -1;margin:0;color:var(--theme-success, #73c9a7);font-size:11px;line-height:1.6}.batch-model-feedback{grid-column:1 / -1;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid var(--theme-danger-42, rgba(220,99,112,.42));border-radius:7px;color:var(--theme-danger, #efb3ba);background:var(--theme-danger-7, rgba(220,99,112,.07));font-size:11px}.batch-model-feedback .ghost-button{flex:0 0 auto;min-height:34px}.batch-generate-advanced{border:1px dashed var(--theme-border, #33413f);border-radius:8px;background:var(--theme-canvas-50, rgba(9, 14, 15, .5))}.batch-generate-advanced>summary{min-height:42px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:8px 12px;color:var(--theme-muted, #91aaa4);cursor:pointer;font-size:12px;font-weight:700;list-style:none}.batch-generate-advanced>summary::-webkit-details-marker{display:none}.batch-generate-advanced>summary:before{content:"▸";margin-right:8px;color:var(--theme-muted, #71837e)}.batch-generate-advanced[open]>summary:before{content:"▾"}.batch-generate-advanced>summary:hover{color:var(--theme-text, #e7eee9)}.batch-generate-advanced-title{flex:0 0 auto}.batch-generate-advanced-values{display:flex;flex:1 1 520px;flex-wrap:wrap;gap:5px 7px;min-width:0;color:var(--theme-text, #c1cfca);font-weight:500}.batch-generate-advanced-values>span{display:inline-flex;align-items:baseline;gap:4px;max-width:100%;padding:3px 7px;border:1px solid var(--theme-border-28, rgba(92, 123, 113, .28));border-radius:5px;background:var(--theme-surface-55, rgba(22, 36, 33, .55));line-height:1.4;overflow-wrap:anywhere}.batch-generate-advanced-values b{color:var(--theme-success, #7fa99b);font-size:10px;font-weight:700;white-space:nowrap}.batch-generate-advanced .batch-generate-options{padding:4px 12px 12px;border-top:1px solid var(--theme-border-7, rgba(218, 229, 222, .07))}.batch-progress{display:grid;gap:6px;margin-top:16px;padding:12px;border:1px solid var(--theme-border, #2c393b);border-radius:8px;background:var(--theme-surface, #0d1314)}.batch-progress-head,.batch-progress-row{display:grid;grid-template-columns:minmax(120px,1fr) 110px minmax(120px,.8fr);gap:10px;align-items:center}.batch-progress-head{padding-bottom:8px;border-bottom:1px solid var(--theme-border, #273234);color:var(--theme-accent, #ffd28a)}.batch-progress-row{min-height:34px;color:var(--theme-text, #c7d0cc);font-size:12px}.batch-progress-row small{overflow:hidden;color:var(--theme-muted, #83918e);text-overflow:ellipsis;white-space:nowrap}.asset-row-preview{position:relative}.asset-preview-meta{min-height:22px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:3px}.asset-preview-resolution{min-width:0;color:var(--theme-muted, #8d9d98);font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.asset-media-toggle{min-height:20px;margin:0;padding:0 2px;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:11px;line-height:1}.asset-media-toggle.is-final{color:var(--theme-mint, #72dec9)}.asset-media-toggle.is-draft{color:var(--theme-accent, #efbc6f)}.asset-candidate-image{position:relative;width:96px;aspect-ratio:4 / 3;overflow:hidden;border:1px solid var(--theme-border, #344345);border-radius:8px;background:var(--theme-canvas, #0a1011)}.asset-candidate-image img{width:100%;height:100%;display:block;object-fit:contain;background:var(--theme-canvas, #0a1011)}.asset-candidate-image.compact{aspect-ratio:3 / 4}.asset-candidate-image.asset-candidate-image-dialog{width:100%;min-height:180px;aspect-ratio:4 / 3}.asset-image-preview-trigger:not(:disabled){width:100%;height:100%;display:block;padding:0;border:0;background:transparent;cursor:zoom-in}.asset-image-preview-trigger.opens-editor:not(:disabled){cursor:pointer}.asset-image-preview-trigger:hover{filter:brightness(1.05)}.asset-image-preview-trigger:focus-visible{outline:2px solid var(--jueling-amber);outline-offset:-2px}.asset-image-state{width:100%;height:100%;min-height:116px;display:grid;place-items:center;align-content:center;gap:8px;padding:12px;color:var(--theme-muted, #99a7a3);font-size:11px;text-align:center}.asset-image-state strong{color:var(--theme-text, #d5ddda);font-size:12px}.asset-image-state span:not(.spinner){color:var(--theme-muted, #83918e);line-height:1.45}.asset-image-error{background:var(--theme-danger-6, rgba(220,99,112,.06))}.asset-image-error .ghost-button{min-height:34px}.asset-image-status{position:absolute;right:8px;bottom:8px;margin:0;padding:0;border:0;border-radius:0;color:var(--theme-text, #d9e4df);background:transparent;box-shadow:none;font:inherit;font-size:11px;font-weight:850;line-height:1.2;text-shadow:0 1px 3px #000,0 0 8px #000;pointer-events:none}.asset-image-status.is-final{color:var(--theme-mint, #72dec9)}.asset-image-status.is-draft{color:var(--theme-accent, #efbc6f)}.asset-media-popover{position:static;grid-column:1 / -1;display:grid;gap:14px;margin-top:8px;padding:16px;border:1px solid var(--theme-border, #3a494b);border-radius:10px;background:var(--theme-surface, #0e1516);box-shadow:0 22px 58px #0000006b}.asset-generate-overlay{position:fixed;z-index:60;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:24px;background:#040809b8}.asset-preview-generate{width:100%;cursor:pointer;font:inherit;transition:border-color .16s,color .16s,background-color .16s}.asset-preview-generate:hover{border-color:var(--theme-accent-70, rgba(242,164,67,.7));color:var(--theme-accent, #f3c47d);background:var(--theme-surface, #19231f)}.asset-preview-generate:focus-visible{outline:2px solid var(--jueling-amber);outline-offset:2px}.asset-preview-generate strong{font-size:12px;color:var(--theme-text, #bdc9c3)}.asset-preview-generate span{font-size:11px}.asset-generate-dialog{width:min(1120px,96vw);max-height:92vh;display:flex;flex-direction:column;gap:16px;padding:20px;border:1px solid var(--theme-border, #3a494b);border-radius:12px;background:var(--theme-surface, #0e1516);box-shadow:0 26px 68px #00000080;overflow:hidden}.asset-generate-head{display:flex;flex:0 0 auto;align-items:flex-start;justify-content:space-between;gap:16px}.asset-generate-head>div{display:grid;gap:5px}.asset-generate-head h2{margin:0;color:var(--theme-text, #f0ece3);font-size:18px}.asset-generate-head p{margin:0}.asset-generate-body{display:grid;flex:1 1 auto;min-height:0;overflow:auto;padding-right:4px;grid-template-columns:minmax(320px,400px) minmax(0,1fr);gap:20px;align-items:start}.asset-generate-form{display:grid;gap:12px}.asset-generate-form label{display:grid;gap:6px;color:var(--theme-muted, #aeb9b4);font-size:12px;font-weight:700}.asset-generate-form input,.asset-generate-form select,.asset-generate-form textarea{width:100%;padding:9px 11px;border:1px solid var(--theme-border, #2c393b);border-radius:8px;color:var(--theme-text, #e6ece8);background:var(--theme-surface, #11191a);font-size:13px}.asset-generate-form textarea{min-height:168px;line-height:1.6;resize:vertical}.asset-generate-form input:focus,.asset-generate-form select:focus,.asset-generate-form textarea:focus{border-color:var(--jueling-amber);outline:none}.asset-generate-prompt-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.asset-generate-prompt-actions{display:inline-flex;gap:8px}.asset-inherited-identity{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:12px;align-items:stretch;padding:12px;border:1px solid var(--theme-success, #35574c);border-radius:10px;background:linear-gradient(135deg,var(--theme-success-16, rgba(51,111,91,.16)),var(--theme-surface-92, rgba(17,25,26,.92)))}.asset-inherited-identity.is-missing{border-color:var(--theme-accent, #6a4e39);background:linear-gradient(135deg,var(--theme-accent-13, rgba(130,78,40,.13)),var(--theme-surface-92, rgba(17,25,26,.92)))}.asset-inherited-identity-copy{min-width:0;display:grid;align-content:start;gap:5px}.asset-inherited-identity-copy>span{color:var(--theme-success, #83d9bd);font-size:10px;font-weight:800;letter-spacing:.12em}.asset-inherited-identity.is-missing .asset-inherited-identity-copy>span{color:var(--theme-accent, #e7b56e)}.asset-inherited-identity-copy>strong{color:var(--theme-text, #edf5f0);font-size:14px}.asset-inherited-identity-copy>p{margin:0;color:var(--theme-muted, #9eb0a8);font-size:11px;line-height:1.65}.asset-inherited-identity-copy>button{width:max-content;margin-top:3px}.asset-inherited-identity-preview{min-height:104px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--theme-border, #31453f);border-radius:8px;color:var(--theme-accent, #a99072);background:var(--theme-surface, #0b1213);font-size:11px;text-align:center}.asset-inherited-identity-preview .asset-candidate-image{width:100%;height:100%;min-height:104px}.asset-inherited-identity-preview .asset-candidate-image img{height:100%;object-fit:cover}.asset-inheritance-label{display:inline-flex;width:max-content;max-width:100%;margin-bottom:6px;padding:3px 8px;border:1px solid var(--theme-success-34, rgba(93,180,151,.34));border-radius:999px;color:var(--theme-success, #91d8c0);background:var(--theme-success-12, rgba(49,112,91,.12));font-size:10px;line-height:1.4}.asset-generate-media{min-width:0;display:grid;gap:16px}.asset-generate-media-section{display:grid;gap:10px}.asset-generate-media-section h3{margin:0;color:var(--theme-text, #dce4df);font-size:14px}.asset-generate-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;max-height:320px;overflow:auto;padding:2px}.asset-generate-dialog .asset-generate-media-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));max-height:460px}.asset-generate-media-grid .asset-media-card>small{color:var(--theme-muted, #81908c);font-size:11px}.asset-generate-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;margin:0 -20px -20px;padding:14px 20px 16px;border-top:1px solid var(--theme-border, #2b393b);background:var(--theme-surface, #0e1516)}.asset-generate-submit{display:inline-flex;gap:10px;margin-left:auto}@media(max-width:980px){.asset-generate-body{grid-template-columns:1fr}.asset-generate-dialog{max-height:96vh}}@media(max-width:600px){.batch-asset-picker.batch-asset-picker-horizontal{grid-template-columns:1fr}.asset-candidate-image.asset-candidate-image-dialog{min-height:160px}.asset-generate-dialog .asset-generate-media-grid{grid-template-columns:minmax(0,1fr)}.asset-inherited-identity{grid-template-columns:1fr}.asset-inherited-identity-preview{min-height:148px}}.asset-media-popover-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.asset-media-popover-head>div{display:grid;gap:5px}.asset-media-popover-head>div>strong{color:var(--theme-text, #f0ece3);font-size:16px}.asset-media-popover-head small{color:var(--theme-muted, #899894);line-height:1.5}.asset-media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,220px));gap:12px;max-height:min(520px,62vh);overflow:auto;padding:2px}.asset-media-card{min-width:0;display:grid;gap:9px;padding:9px;border:1px solid var(--theme-border, #2c393b);border-radius:9px;background:var(--theme-surface, #11191a)}.asset-media-card.selected{border-color:var(--jueling-amber);box-shadow:0 0 0 1px #f2a4432e;background:var(--theme-accent-6, rgba(242,164,67,.06))}.asset-media-choice{min-height:44px;display:flex;align-items:flex-start;gap:9px;cursor:pointer}.asset-media-choice input{margin-top:4px;accent-color:var(--jueling-amber)}.asset-media-choice span{min-width:0;display:grid;gap:3px}.asset-media-choice strong{color:var(--theme-text, #dce4df);font-size:12px}.asset-media-choice small{overflow:hidden;color:var(--theme-muted, #81908c);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.asset-media-load-error{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--theme-danger-45, rgba(220,99,112,.45));border-radius:7px;color:var(--theme-danger, #efb3ba);background:var(--theme-danger-7, rgba(220,99,112,.07))}@media(max-width:980px){.batch-generate-grid,.batch-generate-options{grid-template-columns:1fr}.asset-table-head{display:none}.asset-row{grid-template-columns:1fr;min-height:0;gap:14px}.character-asset-table .character-asset-group{width:auto;min-width:0}.character-asset-table .character-asset-row,.scene-asset-table .scene-asset-row,.prop-asset-table .prop-asset-row{min-width:0;grid-template-columns:1fr}.asset-row-preview{max-width:360px}.asset-profile-grid>div,.asset-profile-details dl>div{grid-template-columns:86px minmax(0,1fr)}.asset-media-popover{position:static;grid-column:1}.asset-media-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}.import-page,.parser-page,.parser-preview-page,.import-layout,.parser-layout{height:100%}.editor-panel{min-width:0;min-height:0}.react-editor-wrap{min-height:0;overflow:auto;padding:22px 28px}.react-editor-wrap .cm-editor{height:100%;min-height:460px;color:var(--theme-text, #c4ceca);background:var(--theme-surface, #0d1314);font-size:13px}.react-editor-wrap .cm-scroller{overflow:auto;font-family:SFMono-Regular,Consolas,monospace}.react-editor-wrap .cm-gutters{color:var(--theme-muted, #687673);background:var(--theme-surface, #111819);border-right:1px solid var(--theme-border, #2c393b)}.editor-actions{display:flex;justify-content:flex-end;gap:10px;padding:0 28px 20px}.parser-editor-toolbar{flex-wrap:wrap}.parser-editor-document{flex:1;min-height:0;padding:0}.parser-editor-document .cm-editor{min-height:0;height:100%}.rule-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.rule-chip{padding:6px 9px;border:1px solid var(--theme-accent-32, rgba(242,164,67,.32));border-radius:999px;color:var(--theme-accent, #e9b56e);background:var(--theme-accent-8, rgba(242,164,67,.08));font-size:11px}.rule-chip:hover,.rule-chip:focus-visible{border-color:var(--jueling-warm);color:var(--theme-accent, #fff0d2)}.pattern-list{display:flex;flex-direction:column;gap:6px;margin-top:10px}.pattern-row{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:8px 10px;border:1px solid var(--theme-accent-28, rgba(242,164,67,.28));border-radius:8px;background:var(--theme-accent-6, rgba(242,164,67,.06));color:var(--theme-accent, #e9b56e);text-align:left;cursor:pointer}.pattern-row:hover,.pattern-row:focus-visible{border-color:var(--jueling-warm);color:var(--theme-accent, #fff0d2)}.pattern-row.active{border-color:var(--jueling-warm);background:var(--theme-accent-16, rgba(242,164,67,.16));color:var(--theme-accent, #fff0d2);box-shadow:0 0 0 1px #f2a44359}.pattern-main{display:flex;flex-direction:column;gap:2px;min-width:0}.pattern-main strong{font-size:12px}.pattern-main small{font-size:10px;opacity:.72}.pattern-rule-code{display:block;margin-top:4px;padding:5px 6px;border-radius:4px;background:var(--theme-canvas-22, rgba(0,0,0,.22));color:var(--theme-accent, #fff0d2);font-size:11px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.pattern-count{flex:none;min-width:30px;padding:2px 7px;border-radius:999px;background:var(--theme-success-16, rgba(120,200,120,.16));color:var(--theme-success, #9fd89f);font-size:12px;font-weight:600;text-align:center}.pattern-count.zero{background:var(--theme-text-6, rgba(255,255,255,.06));color:var(--theme-text-35, rgba(255,255,255,.35))}.template-download{display:block;margin-top:8px;padding:7px 10px;border:1px dashed var(--theme-accent-40, rgba(242,164,67,.4));border-radius:8px;color:var(--theme-accent, #e9b56e);font-size:12px;text-decoration:none}.template-download:hover{border-color:var(--jueling-warm);color:var(--theme-accent, #fff0d2);background:var(--theme-accent-8, rgba(242,164,67,.08))}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:flex;align-items:center;justify-content:center;background:#06080ea8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-card{width:min(440px,calc(100vw - 32px));padding:18px 20px 16px;border:1px solid var(--theme-accent-35, rgba(242,164,67,.35));border-radius:12px;background:var(--theme-surface, #141824);box-shadow:0 18px 60px #00000080}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.modal-head strong{font-size:15px;color:var(--theme-accent, #ffe3ae)}.modal-close{border:none;background:transparent;color:var(--theme-text-55, rgba(255,255,255,.55));font-size:20px;line-height:1;cursor:pointer}.modal-close:hover{color:var(--theme-text, #fff)}.modal-card .field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.modal-card .field label{font-size:12px;color:var(--theme-text-60, rgba(255,255,255,.6))}.modal-card select.rule-input{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.field-hint{font-size:11px;color:var(--theme-text-42, rgba(255,255,255,.42));line-height:1.5}.modal-preview{margin:4px 0 14px;padding:9px 11px;border-radius:8px;background:var(--theme-accent-8, rgba(242,164,67,.08));font-size:12px;color:var(--theme-accent, #e9b56e)}.modal-preview strong{color:var(--theme-success, #9fd89f)}.modal-warn{margin:0 0 10px;font-size:12px;color:var(--theme-accent, #ff9d7a)}.modal-actions{display:flex;justify-content:flex-end;gap:10px}.parser-preview-page{display:grid;width:100%;max-width:none;grid-template-rows:82px auto 1fr;min-height:0}.parser-preview-body{display:grid;grid-template-columns:270px 1fr;min-height:0;margin:18px 22px 22px;overflow:hidden;border:1px solid var(--line-soft);border-radius:8px;background:var(--theme-surface-72, rgba(10,16,29,.72))}.parser-preview-body .episode-preview-list{min-height:0;overflow:auto;border-right:1px solid var(--line-soft)}.parser-preview-body .script-document{min-height:0;height:auto}.structured-script-document{padding:0 0 56px;color:var(--theme-text, #d9e1dc);background:linear-gradient(180deg,var(--theme-surface-98, rgba(13,20,21,.98)),var(--theme-canvas-96, rgba(10,16,17,.96)));font-family:inherit;font-size:14px;line-height:1.7}.structured-script-empty{display:grid;min-height:320px;place-items:center;color:var(--theme-muted, #87948f)}.structured-script-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 28px;border-bottom:1px solid var(--theme-border, #2b383a);background:var(--theme-surface-96, rgba(15,23,24,.96))}.structured-script-head>div:first-child{min-width:180px}.structured-script-head>div:first-child>span{display:block;margin-bottom:4px;color:var(--theme-accent, #e6a94f);font-size:11px;font-weight:800;letter-spacing:.12em}.structured-script-head h2{margin:0;color:var(--theme-text, #f5f0e7);font-size:25px;line-height:1.3}.structured-script-stats{display:flex;align-items:stretch;justify-content:flex-end;flex-wrap:wrap;gap:8px}.structured-script-stats>span{min-width:90px;padding:9px 12px;border:1px solid var(--theme-border, #303d3f);border-radius:7px;color:var(--theme-text, #e2e8e4);background:var(--theme-surface, #121a1b);font-size:12px;font-weight:750;font-variant-numeric:tabular-nums}.structured-script-stats small{display:block;margin-bottom:2px;color:var(--theme-muted, #7f8d88);font-size:9px;font-weight:700;letter-spacing:.08em}.structured-script-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px 28px 0}.structured-script-summary section{min-width:0;padding:13px 14px;border:1px solid var(--theme-border, #2d3a3c);border-radius:8px;background:var(--theme-surface-88, rgba(19,28,29,.88))}.structured-script-summary section>span{display:block;margin-bottom:8px;color:var(--theme-mint, #8ce1d1);font-size:10px;font-weight:800;letter-spacing:.1em}.structured-script-summary section>div{display:flex;flex-wrap:wrap;gap:6px}.structured-script-summary em{max-width:100%;padding:4px 8px;overflow-wrap:anywhere;border:1px solid var(--theme-mint-20, rgba(56,204,183,.2));border-radius:999px;color:var(--theme-text, #cbd7d2);background:var(--theme-mint-5p5, rgba(56,204,183,.055));font-size:11px;font-style:normal;line-height:1.35}.structured-script-summary .warning{border-color:var(--theme-accent-28, rgba(242,164,67,.28));background:var(--theme-accent-5p5, rgba(242,164,67,.055))}.structured-script-summary .warning>span{color:var(--theme-accent, #f1b65d)}.structured-script-summary .warning em{border-color:var(--theme-accent-24, rgba(242,164,67,.24));color:var(--theme-accent, #e9c994);background:var(--theme-accent-7, rgba(242,164,67,.07))}.structured-scene-list{display:grid;gap:14px;padding:18px 28px 0}.structured-scene{overflow:hidden;border:1px solid var(--theme-border, #2e3b3d);border-radius:10px;background:var(--theme-surface, #11191a);box-shadow:0 12px 28px #00000021}.structured-scene>header{display:flex;align-items:center;gap:14px;min-height:66px;padding:12px 18px;border-bottom:1px solid var(--theme-border, #2b3739);background:linear-gradient(90deg,var(--theme-accent-9, rgba(242,164,67,.09)),var(--theme-accent-1p8, rgba(242,164,67,.018)) 55%,transparent)}.structured-scene>header>div{min-width:0}.structured-scene>header small{display:block;color:var(--theme-muted, #7e8c87);font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.structured-scene>header h3{margin:2px 0 0;color:var(--theme-text, #f1ede4);font-size:17px;line-height:1.35}.scene-time{flex:0 0 auto;min-width:82px;padding:8px 10px;border:1px solid var(--theme-accent-40, rgba(242,164,67,.4));border-radius:6px;color:var(--theme-accent, #ffd18c);background:var(--theme-accent-10, rgba(242,164,67,.1));text-align:center;font-size:12px;font-weight:850;font-variant-numeric:tabular-nums}.scene-paragraphs{display:grid;gap:0;max-width:1120px;padding:6px 18px 12px}.scene-paragraphs p{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;margin:0;padding:13px 4px;border-bottom:1px solid var(--theme-border-9, rgba(218,229,222,.09));color:var(--theme-text, #c5cfca);font-size:13px;line-height:1.75}.scene-paragraphs p:last-child{border-bottom:0}.scene-paragraphs p>span:first-child{align-self:start;padding:3px 6px;border:1px solid var(--theme-border, #354244);border-radius:4px;color:var(--theme-muted, #8e9b96);background:var(--theme-surface, #151e1f);text-align:center;font-size:9px;font-weight:800;letter-spacing:.08em;line-height:1.35}.scene-paragraphs p.dialogue{color:var(--theme-text, #e7e2d8);background:linear-gradient(90deg,var(--theme-mint-5p5, rgba(56,204,183,.055)),transparent 72%)}.scene-paragraphs p.dialogue>span:first-child{border-color:var(--theme-mint-36, rgba(56,204,183,.36));color:var(--theme-mint, #8ce1d1);background:var(--theme-mint-8, rgba(56,204,183,.08))}.scene-copy{min-width:0;overflow-wrap:anywhere}.scene-speaker{display:block;margin-bottom:3px;color:var(--theme-mint, #8ce1d1);font-size:11px;font-weight:850;letter-spacing:.035em;line-height:1.45}@media(max-width:1100px){.structured-script-head{align-items:flex-start;flex-direction:column}.structured-script-stats{justify-content:flex-start}.structured-script-summary{grid-template-columns:1fr}}@media(max-width:760px){.parser-preview-body{grid-template-columns:1fr;overflow:visible}.parser-preview-body .episode-preview-list{max-height:240px;border-right:0;border-bottom:1px solid var(--line-soft)}.structured-script-head,.structured-script-summary,.structured-scene-list{padding-left:16px;padding-right:16px}.scene-paragraphs{padding-inline:12px}.scene-paragraphs p{grid-template-columns:1fr;gap:7px}.scene-paragraphs p>span:first-child{width:max-content}}.rule-card{margin-top:14px;padding:14px;border:1px solid var(--theme-accent-30, rgba(242,164,67,.3));background:var(--theme-accent-7, rgba(242,164,67,.07))}.rule-card .field{margin-bottom:12px}.rule-input{width:100%;height:40px;padding:0 10px;border-radius:6px;color:var(--theme-text, #d9dfdb);background:var(--theme-surface, #0c1213);border:1px solid var(--theme-border, #303d3f)}.subtle{color:var(--muted-2)}.episode-actions{margin-top:14px;justify-content:flex-end}.version-history{margin-top:18px}.precheck-page{height:100%;padding:20px 26px 30px;overflow:auto;background:radial-gradient(circle at 88% 8%,var(--theme-mint-5p5, rgba(56, 204, 183, .055)),transparent 28%)}.precheck-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,390px);gap:36px;align-items:end;padding:24px 28px;border:1px solid var(--theme-border-13, rgba(218, 229, 222, .13));border-radius:12px;background:linear-gradient(110deg,var(--theme-accent-5, rgba(242, 164, 67, .05)),transparent 46%),var(--theme-surface-94, rgba(12, 18, 19, .94))}.precheck-heading{min-width:0}.precheck-heading .eyebrow{color:var(--jueling-warm)}.precheck-heading h1{max-width:18ch;margin:7px 0 8px;font-size:clamp(32px,2.5vw,44px);line-height:1.16;letter-spacing:-.035em;text-wrap:balance}.precheck-heading p{max-width:66ch;margin:0;color:var(--theme-muted, #a1aeaa);font-size:14px;line-height:1.7}.precheck-progress{padding:17px 18px;border:1px solid var(--theme-accent-25, rgba(242, 164, 67, .25));border-radius:9px;background:var(--theme-accent-6p5, rgba(242, 164, 67, .065))}.precheck-progress.complete{border-color:var(--theme-mint-30, rgba(56, 204, 183, .3));background:var(--theme-mint-6p5, rgba(56, 204, 183, .065))}.precheck-progress-meta{display:flex;align-items:center;gap:14px}.precheck-progress-meta>strong{min-width:64px;color:var(--theme-accent, #ffd28a);font-size:30px;line-height:1;font-variant-numeric:tabular-nums}.precheck-progress.complete .precheck-progress-meta>strong{color:var(--theme-mint, #85e2d4)}.precheck-progress-meta>strong span{color:var(--theme-muted, #7f8e89);font-size:16px}.precheck-progress-meta>div{display:grid;min-width:0;gap:3px}.precheck-progress-meta>div span{color:var(--theme-text, #eef2eb);font-size:13px;font-weight:800}.precheck-progress-meta small{color:var(--theme-muted, #8c9995);font-size:11px}.precheck-progress progress{width:100%;height:6px;margin-top:14px;overflow:hidden;border:0;border-radius:999px;background:var(--theme-surface, #202a2b);accent-color:var(--jueling-warm)}.precheck-progress progress::-webkit-progress-bar{border-radius:999px;background:var(--theme-surface, #202a2b)}.precheck-progress progress::-webkit-progress-value{border-radius:999px;background:var(--jueling-warm)}.precheck-progress.complete progress{accent-color:var(--jueling-mint)}.precheck-progress.complete progress::-webkit-progress-value{background:var(--jueling-mint)}.precheck-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr);gap:18px;align-items:start;height:auto;margin-top:18px}.precheck-flow-card,.asset-status-card{min-width:0;border:1px solid var(--theme-border, #2d3a3c);border-radius:11px;background:var(--theme-surface-96, rgba(15, 22, 23, .96));box-shadow:0 18px 44px #0000001f}.precheck-flow-card{padding:20px}.precheck-flow-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:2px 2px 16px;border-bottom:1px solid var(--theme-border-10, rgba(218, 229, 222, .1))}.precheck-flow-head>div{display:grid;gap:4px}.precheck-flow-head>div>span{color:var(--jueling-warm);font-size:10px;font-weight:850;letter-spacing:.13em}.precheck-flow-head h2{margin:0;color:var(--theme-text, #f4efe6);font-size:20px}.precheck-stage{flex:0 0 auto;padding:6px 10px;border:1px solid var(--theme-accent-32, rgba(242, 164, 67, .32));border-radius:999px;color:var(--theme-accent, #ffd28a);background:var(--theme-accent-8, rgba(242, 164, 67, .08));font-size:10px;font-weight:800}.precheck-stage.ready{border-color:var(--theme-mint-34, rgba(56, 204, 183, .34));color:var(--theme-mint, #8ce8d4);background:var(--theme-mint-8, rgba(56, 204, 183, .08))}.precheck-flow-list{display:grid;gap:8px;margin:14px 0 0;padding:0;list-style:none}.precheck-flow-step{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:13px;align-items:center;min-height:68px;padding:11px 13px;border:1px solid var(--theme-border, #2c383a);border-radius:8px;background:var(--theme-surface, #121a1b)}.precheck-flow-step.current{border-color:var(--theme-accent-42, rgba(242, 164, 67, .42));background:linear-gradient(90deg,var(--theme-accent-9, rgba(242, 164, 67, .09)),var(--theme-accent-2p5, rgba(242, 164, 67, .025)))}.precheck-flow-step.complete{border-color:var(--theme-mint-25, rgba(56, 204, 183, .25));background:var(--theme-mint-4, rgba(56, 204, 183, .04))}.precheck-flow-step.locked{opacity:.66}.precheck-step-index{display:grid;width:36px;height:36px;place-items:center;border:1px solid var(--theme-border, #3a4748);border-radius:8px;color:var(--theme-muted, #9daaa6);background:var(--theme-surface, #182122);font-size:12px;font-weight:850;font-variant-numeric:tabular-nums}.precheck-flow-step.current .precheck-step-index{border-color:var(--theme-accent-45, rgba(242, 164, 67, .45));color:var(--theme-inverse, #141817);background:var(--jueling-warm)}.precheck-flow-step.complete .precheck-step-index{border-color:var(--theme-mint-35, rgba(56, 204, 183, .35));color:var(--theme-mint, #8ce8d4);background:var(--theme-mint-10, rgba(56, 204, 183, .1))}.precheck-flow-step>div{display:grid;min-width:0;gap:3px}.precheck-flow-step strong{color:var(--theme-text, #f2eee5);font-size:14px}.precheck-flow-step small{color:var(--theme-muted, #8d9a96);font-size:11px;line-height:1.45}.precheck-step-state{min-width:62px;padding:5px 8px;border:1px solid var(--theme-border, #344143);border-radius:999px;color:var(--theme-muted, #9daba6);background:var(--theme-surface, #172021);text-align:center;font-size:10px;font-weight:800;white-space:nowrap}.precheck-flow-step.current .precheck-step-state{border-color:var(--theme-accent-34, rgba(242, 164, 67, .34));color:var(--theme-accent, #ffd28a);background:var(--theme-accent-7, rgba(242, 164, 67, .07))}.precheck-flow-step.complete .precheck-step-state{border-color:var(--theme-mint-30, rgba(56, 204, 183, .3));color:var(--theme-mint, #8ce8d4);background:var(--theme-mint-7, rgba(56, 204, 183, .07))}.precheck-primary-action{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:14px;padding:15px 16px;border:1px solid var(--theme-accent-24, rgba(242, 164, 67, .24));border-radius:8px;background:var(--theme-accent-5, rgba(242, 164, 67, .05))}.precheck-primary-action>div{display:grid;min-width:0;gap:4px}.precheck-primary-action strong{color:var(--theme-text, #f1ede4);font-size:13px}.precheck-primary-action span{color:var(--theme-muted, #8f9d98);font-size:11px;line-height:1.45}.precheck-primary-action .primary-button{flex:0 0 auto;min-width:142px;min-height:44px}.asset-status-card{padding:20px}.asset-status-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px;padding:2px 2px 14px;border-bottom:1px solid var(--theme-border-10, rgba(218, 229, 222, .1))}.asset-status-head h2{margin:4px 0 0;color:var(--theme-text, #f4efe6);font-size:20px}.asset-status-head>strong{color:var(--theme-muted, #87948f);font-size:17px;font-variant-numeric:tabular-nums}.asset-status-head>strong span{color:var(--jueling-warm-soft);font-size:28px}.asset-status-list{display:grid;gap:8px}.asset-status-row{grid-template-columns:48px minmax(0,1fr) minmax(136px,auto);gap:14px;min-height:78px;margin:0;padding:13px;border-radius:8px;background:var(--theme-surface, #141b1c);border-color:var(--theme-border, #334143)}.asset-status-row.pending{background:linear-gradient(145deg,var(--theme-accent-5, rgba(242, 164, 67, .05)),var(--theme-surface-98, rgba(18, 25, 26, .98)));border-color:var(--theme-accent-22, rgba(242, 164, 67, .22))}.asset-status-row.ready{background:linear-gradient(145deg,var(--theme-mint-8, rgba(56, 204, 183, .08)),var(--theme-surface-98, rgba(18, 27, 27, .98)));border-color:var(--theme-mint-28, rgba(56, 204, 183, .28))}.asset-status-row .status-icon{width:40px;height:40px;color:var(--theme-accent, #ffd28a);background:var(--theme-accent-10, rgba(242, 164, 67, .1));border:1px solid var(--theme-accent-20, rgba(242, 164, 67, .2));font-size:12px;font-weight:850}.asset-status-row.ready .status-icon{color:var(--theme-mint, #8ce8d4);background:var(--theme-mint-10, rgba(56, 204, 183, .1));border-color:var(--theme-mint-24, rgba(56, 204, 183, .24))}.asset-status-copy{min-width:0}.asset-status-title{display:flex;align-items:center;gap:8px}.asset-status-copy h4{color:var(--theme-text, #f3efe6);font-size:14px}.asset-status-title>span{padding:3px 6px;border:1px solid var(--theme-accent-24, rgba(242, 164, 67, .24));border-radius:999px;color:var(--theme-accent, #d8b575);background:var(--theme-accent-6, rgba(242, 164, 67, .06));font-size:9px;font-weight:800;white-space:nowrap}.asset-status-row.ready .asset-status-title>span{border-color:var(--theme-mint-27, rgba(56, 204, 183, .27));color:var(--theme-mint, #8ce8d4);background:var(--theme-mint-7, rgba(56, 204, 183, .07))}.asset-status-copy p{max-width:38ch;margin-top:4px;color:var(--theme-muted, #96a39f);font-size:11px;line-height:1.5}.asset-status-meta{display:flex;min-width:136px;flex-direction:column;align-items:flex-end;justify-content:center;gap:7px}.asset-status-count{color:var(--theme-muted, #b7c2be);font-size:11px;font-variant-numeric:tabular-nums}.readiness-empty-button{width:auto;min-width:136px;min-height:40px;padding:0 12px;white-space:nowrap;word-break:keep-all}.precheck-stats{display:flex;justify-content:space-between;gap:12px;margin-top:13px;padding:13px 3px 0;border-top:1px solid var(--theme-border-10, rgba(218, 229, 222, .1));color:var(--theme-muted, #83918e);font-size:11px}.precheck-stats b{margin-left:4px;color:var(--theme-text, #f3efe6);font-variant-numeric:tabular-nums}@keyframes overview-status-pulse{50%{box-shadow:0 0 0 8px #f2a44300}}.pane-kicker{color:var(--jueling-warm);font-size:10px;font-weight:800;letter-spacing:.16em}.pane-status{flex:0 0 auto;padding:5px 8px;border:1px solid var(--theme-accent-28, rgba(242, 164, 67, .28));border-radius:999px;color:var(--theme-accent, #d8b77c);background:var(--theme-accent-7, rgba(242, 164, 67, .07));font-size:10px;font-weight:800}.pane-status.ready{color:var(--theme-mint, #8ce8d4);border-color:var(--theme-mint-32, rgba(56, 204, 183, .32));background:var(--theme-mint-7, rgba(56, 204, 183, .07))}.overview-page .script-pane .script-copy{overflow-anchor:none}.script-source-highlight{padding:.08em 0;border-radius:3px;color:var(--theme-accent, #fff3d8);background:var(--theme-accent-22, rgba(242, 164, 67, .22));box-shadow:inset 3px 0 #f2a443d1,0 0 0 1px #f2a4431f;-webkit-box-decoration-break:clone;box-decoration-break:clone}@keyframes overview-video-pulse{0%,to{opacity:.35}50%{opacity:1}}.asset-preview-chip{min-width:0;min-height:28px;gap:6px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;line-height:1.2;cursor:zoom-in;transition:border-color .14s ease,color .14s ease,background-color .14s ease,box-shadow .14s ease}.asset-preview-chip>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-preview-chip>svg{width:13px;height:13px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;opacity:.72}.asset-preview-chip:hover,.asset-preview-chip:focus-visible,.asset-preview-chip[aria-describedby]{color:var(--theme-accent, #fff0d2);border-color:var(--theme-accent-72, rgba(242, 164, 67, .72));background:var(--theme-accent-17, rgba(242, 164, 67, .17));box-shadow:0 0 0 2px #f2a4431a}.asset-preview-chip:focus-visible{outline:3px solid var(--jueling-warm-soft);outline-offset:3px}.asset-preview-popover{position:fixed;z-index:2000;width:min(288px,calc(100vw - 24px));padding:10px;border:1px solid var(--theme-accent-50, rgba(242, 164, 67, .5));border-radius:11px;color:var(--theme-text, #e8eee9);background:linear-gradient(155deg,var(--theme-surface-99, rgba(25, 31, 30, .99)),var(--theme-canvas-99, rgba(9, 14, 15, .99)));box-shadow:0 18px 48px #00000085,0 0 0 1px #ffffff06;font-family:inherit;pointer-events:none;transform-origin:center bottom}.asset-preview-popover.scene{border-color:var(--theme-mint-52, rgba(56, 204, 183, .52))}.asset-preview-popover.prop{border-color:var(--theme-accent-50, rgba(242, 185, 95, .5))}.asset-preview-popover[data-placement=below]{transform-origin:center top}.asset-preview-popover[data-positioned=false]{visibility:hidden;opacity:0}.asset-preview-popover[data-positioned=true]{animation:asset-preview-enter .14s ease-out both}.asset-preview-popover-head{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px;padding:2px 2px 9px}.asset-preview-popover-head>div{display:grid;min-width:0;gap:2px}.asset-preview-popover-head span{color:var(--theme-muted, #8f9d98);font-size:9px;font-weight:800;letter-spacing:.12em}.asset-preview-popover-head strong{overflow:hidden;color:var(--theme-text, #fff3df);font-size:13px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.asset-preview-popover-head small{flex:0 0 auto;padding:3px 7px;border:1px solid var(--theme-border-16, rgba(218, 229, 222, .16));border-radius:999px;color:var(--theme-muted, #b7c4be);background:var(--theme-canvas-58, rgba(8, 13, 14, .58));font-size:9px;font-weight:800}.asset-preview-popover-media{display:grid;width:100%;height:160px;place-items:center;overflow:hidden;border:1px solid var(--theme-border-12, rgba(218, 229, 222, .12));border-radius:8px;background:radial-gradient(circle at 50% 44%,var(--theme-raised-30, rgba(46, 61, 59, .3)),var(--theme-canvas-96, rgba(5, 9, 10, .96)))}.asset-preview-popover-media>img{display:block;width:100%;height:100%;object-fit:contain}.asset-preview-popover-state{display:grid;max-width:220px;place-items:center;gap:9px;color:var(--theme-muted, #aebbb6);font-size:11px;line-height:1.45;text-align:center}.asset-preview-popover-state .spinner{width:23px;height:23px}.asset-preview-popover-state>svg{width:30px;height:30px;fill:none;stroke:var(--theme-muted, #71817c);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.asset-preview-popover-state.error{color:var(--theme-accent, #d7b4a7)}.asset-preview-popover-state.error>svg{width:27px;height:27px;stroke:var(--theme-accent, #c88d77)}.asset-preview-popover-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 2px 0;color:var(--theme-muted, #7f8e89);font-size:9px;font-weight:700}@keyframes asset-preview-enter{0%{opacity:0;transform:scale(.975) translateY(3px)}to{opacity:1;transform:scale(1) translateY(0)}}.shot-editor-backdrop{z-index:80}.shot-editor-modal{width:min(760px,calc(100vw - 48px))}.shot-editor-modal .modal-body{gap:20px}.shot-editor-modal textarea{min-height:142px;resize:vertical}.shot-editor-command-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px;border:1px solid var(--theme-border-12, rgba(218, 229, 222, .12));border-radius:8px;background:var(--theme-canvas-48, rgba(8, 13, 14, .48))}.shot-editor-command-row .danger-button{margin-left:auto}.shot-editor-modal .asset-match-editor{display:grid;gap:12px;padding-top:18px;border-top:1px solid var(--theme-border-12, rgba(218, 229, 222, .12))}.shot-editor-modal .asset-add-row{display:flex;gap:8px}.shot-editor-modal .asset-add-row select{min-width:0;flex:1}@media(prefers-reduced-motion:reduce){.asset-preview-chip{transition:none}.asset-preview-popover[data-positioned=true]{animation:none}}@media(max-width:780px){.shot-editor-backdrop{padding:12px}.shot-editor-modal{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.shot-editor-command-row .danger-button{margin-left:0}}.video-page{height:100%}.video-generator{min-height:0}.video-config .config-title-row{grid-template-columns:1fr auto}.video-config .page-title{margin:0}.video-config .prompt-box textarea{width:100%;height:130px;margin-top:10px;padding:10px;resize:none;border-radius:6px;color:var(--theme-text, #c4ceca);background:var(--theme-surface, #0d1314);border:1px solid var(--theme-border, #303d3f)}.video-config .config-options{display:flex;gap:8px;margin-top:14px}.video-config .config-options>label{flex:1;min-width:94px;display:grid;gap:5px;color:var(--muted);font-size:11px}.video-config .config-options .select-like{flex:1;min-width:0;width:100%;height:44px;padding:0 10px;font-size:11px}.video-config .config-options>.option-button{align-self:end;min-height:44px}.video-config .config-footer{justify-content:flex-end}.video-results .result-section h2{margin:0}.video-result-card .thumb.video{display:grid;place-items:center;color:var(--theme-muted, #a8b8b3)}.video-result-card .thumb.video video{width:100%;height:100%;object-fit:contain}.video-result-card.draft{min-height:180px}.export-download{color:var(--theme-inverse, #141817);background:var(--jueling-mint);border:1px solid var(--theme-mint, #72e4d1);border-radius:5px;padding:7px 10px;font-weight:800;text-decoration:none}.export-download:hover{filter:brightness(1.08);transform:translateY(-1px)}.export-retry{min-height:32px;padding:0 10px}.player video{width:100%;height:100%;object-fit:contain;background:var(--theme-canvas, #030606)}.version-card{display:flex;align-items:center;gap:14px;width:100%;padding:12px}.version-card .thumb.video{width:160px;height:100px;min-height:100px;flex:0 0 auto}.version-card>div:nth-child(2){flex:1;min-width:0}@media(max-width:1100px){.asset-toolbar-head{flex-wrap:wrap}.asset-done-button{margin-top:0}.asset-toolbar-actions{justify-content:flex-start}.asset-toolbar-actions .button-row{flex-wrap:wrap;justify-content:flex-start;margin-left:0}.asset-extraction-progress{margin:12px 14px 0;padding:16px}.asset-extraction-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-extraction-footer{align-items:stretch;flex-direction:column}.asset-extraction-actions{justify-content:flex-start}.asset-extraction-note .task-event-history-body{width:calc(100vw - 92px)}.precheck-page{height:auto;min-height:100%;padding:24px}.precheck-hero{grid-template-columns:1fr;gap:18px;align-items:start}.precheck-grid{grid-template-columns:1fr;align-items:start;height:auto}.video-generator,.delivery-shell{grid-template-columns:1fr;overflow:auto}.video-config{border-right:0;border-bottom:1px solid var(--line-soft)}}@media(max-width:640px){.asset-extraction-progress-head{grid-template-columns:38px minmax(0,1fr);align-items:start}.asset-extraction-state-mark{width:38px;height:38px}.asset-extraction-progress-value{grid-column:2;justify-items:start;margin-top:4px}.asset-extraction-actions{display:grid;grid-template-columns:1fr 1fr}.asset-extraction-actions .primary-button,.asset-extraction-actions .ghost-button{width:100%}.asset-extraction-technical code{max-width:calc(100vw - 68px)}.precheck-page{padding:14px}.precheck-hero{padding:20px 18px}.precheck-heading h1{max-width:none;font-size:31px}.precheck-progress-meta{align-items:flex-start}.precheck-flow-card,.asset-status-card{padding:16px}.precheck-flow-step{grid-template-columns:36px minmax(0,1fr)}.precheck-step-state{grid-column:2;width:max-content}.precheck-primary-action{align-items:stretch;flex-direction:column}.precheck-primary-action .primary-button{width:100%}.asset-status-card{padding:18px}.asset-status-row{grid-template-columns:44px minmax(0,1fr);gap:12px}.asset-status-meta{grid-column:2;width:100%;min-width:0;flex-direction:row;align-items:center;justify-content:space-between}.readiness-empty-button{min-width:120px}}.asset-chip{border-radius:4px}.asset-chip.角色{color:var(--theme-accent, #f1c5ff);border-color:var(--theme-accent, #7253a6);background:var(--theme-accent-22, rgba(114,68,157,.22))}.asset-chip.场景{color:var(--theme-success, #91ead3);border-color:var(--theme-mint, #397d78);background:var(--theme-mint-18, rgba(39,128,119,.18))}.asset-chip.道具{color:var(--theme-accent, #f1d38b);border-color:var(--theme-accent, #806b37);background:var(--theme-accent-19, rgba(129,100,36,.19))}.toast{border-radius:6px;color:var(--theme-text, #dffff3);background:var(--theme-mint-11p64, rgba(24,93,76,.97));border-color:var(--theme-success-46, rgba(75,220,172,.46))}.app-shell .main{right:0;bottom:0;border-right:0;border-bottom:0;border-radius:16px 0 0}.app-shell .sidebar{left:14px;bottom:0;border-bottom:0;border-radius:14px 14px 0 0}.asset-chip.role,.asset-chip.角色{color:var(--theme-accent, #ffd28a);border-color:var(--theme-accent-48, rgba(242,164,67,.48));background:var(--theme-accent-12, rgba(242,164,67,.12))}.asset-chip.scene,.asset-chip.场景{color:var(--theme-mint, #85e2d4);border-color:var(--theme-mint-42, rgba(56,204,183,.42));background:var(--theme-mint-11, rgba(56,204,183,.11))}.asset-chip.prop,.asset-chip.道具{color:var(--theme-accent, #f2d49a);border-color:var(--theme-accent-42, rgba(242,185,95,.42));background:var(--theme-accent-12, rgba(242,185,95,.12))}.choice.selected,.radio-card.selected{color:var(--theme-accent, #ffe0ad);border-color:var(--theme-accent-62, rgba(242,164,67,.62));background:var(--theme-accent-12, rgba(242,164,67,.12))}.radio-dot{border-color:var(--theme-border, #687673)}.radio-card.selected .radio-dot{border-color:var(--jueling-warm);background:var(--jueling-warm);box-shadow:inset 0 0 0 3px #12191a}.field input,.field textarea,.search-input,.rule-input,input,textarea,select{color:var(--theme-text, #e8eee9);background:var(--theme-surface, #0d1415);border-color:var(--theme-border, #303d3f)}.field input::placeholder,.field textarea::placeholder,.search-input::placeholder,input::placeholder,textarea::placeholder{color:var(--theme-muted, #75827f)}.panel,.upload-box,.script-preview,.editor-box,.video-config,.video-stage{border-color:var(--theme-border, #2d3a3c);background:var(--theme-surface-94, rgba(16,23,24,.94))}.split-panel>:first-child,.rule-layout>:first-child,.preview-layout>:first-child{background:var(--theme-surface, #111819)}.status.info{color:var(--theme-info, #9ec8ff);border-color:var(--theme-info-42, rgba(112,169,255,.42));background:var(--theme-info-16, rgba(67,99,178,.16))}.video-config .select-like{-webkit-appearance:none;-moz-appearance:none;appearance:none;color:var(--theme-text, #dce7e1);background:var(--theme-surface, #0d1415);border:1px solid var(--theme-border, #303d3f);border-radius:6px}.video-config .select-like:focus-visible,.video-config .option-button:focus-visible,.video-config .toggle:focus-visible{outline:2px solid var(--jueling-warm);outline-offset:2px}.video-config .option-button{cursor:pointer;text-align:left}.video-config .option-button.active{color:var(--theme-accent, #ffcf87);border-color:var(--theme-accent-65, rgba(242,164,67,.65));background:var(--theme-accent-12, rgba(242,164,67,.12))}.video-config .toggle{position:relative;width:48px;height:26px;padding:3px;border:1px solid var(--theme-border, #3a4a4b);border-radius:999px;background:var(--theme-surface, #182223);cursor:pointer}.video-config .toggle i{display:block;width:18px;height:18px;border-radius:50%;background:var(--theme-raised, #73817c);transition:transform .16s ease,background .16s ease}.video-config .toggle i:after{content:none}.video-config .toggle.on{border-color:var(--theme-accent-72, rgba(242,164,67,.72));background:var(--theme-accent-16, rgba(242,164,67,.16))}.video-config .toggle.on i{transform:translate(20px);background:var(--jueling-warm)}.video-config .prompt-box>small{display:block;margin-top:6px;text-align:right}.danger-button{min-height:38px;padding:0 12px;border:1px solid var(--theme-danger-54, rgba(236,116,102,.54));border-radius:6px;color:var(--theme-danger, #ffb3a8);background:var(--theme-danger-18, rgba(150,54,48,.18));cursor:pointer}.danger-button:hover:not(:disabled){border-color:var(--theme-danger-82, rgba(236,116,102,.82));background:var(--theme-danger-30, rgba(150,54,48,.3))}.danger-button:disabled{cursor:not-allowed;opacity:.45}.shot-edit-form{margin-bottom:14px}.shot-edit-form textarea{min-height:120px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(max-width:1460px){html,body{min-width:0}#root,.app-shell{width:100%;min-width:0}.app-shell{height:100vh;min-height:720px}}@media(max-width:900px){.app-shell .topbar{padding:0 14px}.app-shell .top-actions{display:none}.app-shell .sidebar{width:64px}.app-shell .main{left:90px}.flow-counter{min-width:150px}}.app-shell{--bg: var(--jueling-ink);--canvas: var(--theme-surface, #0d1415);--panel: var(--jueling-surface);--panel-2: var(--theme-surface, #151d1f);--panel-3: var(--theme-surface, #1a2426);--panel-soft: var(--theme-raised, #202b2d);--line: var(--theme-border, #2b3739);--line-soft: var(--theme-border-12, rgba(218, 229, 222, .12));--text: var(--theme-text, #f3efe6);--muted: var(--theme-muted, #96a29f);--muted-2: var(--theme-muted, #687673);--purple: var(--jueling-warm);--purple-2: var(--jueling-warm-soft);--purple-soft: var(--theme-accent-13, rgba(242, 164, 67, .13));--cyan: var(--jueling-mint);background:transparent}.app-shell .brand-mark{color:var(--theme-inverse, #141817);background:linear-gradient(145deg,var(--jueling-warm-soft),var(--jueling-warm));box-shadow:0 8px 20px #f2a44338}.app-shell .flow-nav button{color:var(--theme-text, #c9d2ce);background:var(--theme-surface, #151c1e);border-color:var(--theme-border, #303b3d)}.app-shell .flow-nav button:hover:not(:disabled){border-color:var(--jueling-warm-soft);background:var(--theme-surface, #1b2526)}.app-shell .flow-counter b,.app-shell .eyebrow,.app-shell .folder-icon{color:var(--jueling-warm)}.app-shell .account-avatar{color:var(--theme-inverse, #121615);background:var(--jueling-mint)}.app-shell .hero,.app-shell .home-hero{border-color:var(--theme-border, #303a3b);background:linear-gradient(90deg,var(--theme-surface-99, rgba(12,17,18,.99)),var(--theme-surface-96, rgba(13,19,20,.96)) 57%,var(--theme-surface-46, rgba(12,18,19,.46))),radial-gradient(circle at 78% 36%,var(--theme-accent-28, rgba(242,164,67,.28)),transparent 24%),linear-gradient(145deg,var(--theme-surface, #1a2424),var(--theme-canvas, #0b1011))}.app-shell .hero-copy h1{color:var(--theme-text, #f7f0e3)}.app-shell .hero-copy h2{color:var(--jueling-mint)}.app-shell .hero-copy p,.app-shell .hero p{color:var(--theme-muted, #98a5a1)}.app-shell .hero-flow i,.app-shell .process i{color:var(--jueling-warm)}.app-shell .primary{color:var(--theme-inverse, #141817);background:var(--jueling-warm);border-color:var(--theme-accent, #ffc672);box-shadow:0 10px 28px #f2a4432e}.app-shell .secondary{color:var(--theme-accent, #ffd28a);background:var(--theme-accent-8, rgba(242,164,67,.08));border-color:var(--theme-accent-46, rgba(242,164,67,.46))}.app-shell .primary:hover:not(:disabled),.app-shell .secondary:hover:not(:disabled){filter:brightness(1.08)}.app-shell .ghost-button{color:var(--theme-muted, #b2bfbb);background:var(--theme-surface, #151d1f);border-color:var(--theme-border, #303b3d)}.app-shell .asset-image-preview-trigger{cursor:zoom-in}.app-shell .asset-image-status{min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell .asset-media-toggle{min-height:20px;padding:0 2px;border:0;border-radius:0;color:var(--theme-muted, #b2bfbb);background:transparent;box-shadow:none}.app-shell .asset-media-toggle.is-final{color:var(--theme-mint, #72dec9)}.app-shell .asset-media-toggle.is-draft{color:var(--theme-accent, #efbc6f)}.app-shell .asset-media-toggle:hover:not(:disabled){filter:none;transform:none;text-decoration:underline;text-underline-offset:3px}.app-shell .project-card,.app-shell .view-all-card,.app-shell .tool-card{color:var(--theme-text, #eef2eb);background:linear-gradient(145deg,var(--theme-surface, #151d1e),var(--theme-surface, #101617));border-color:var(--theme-border, #2c383a)}.app-shell .project-card:hover,.app-shell .view-all-card:hover,.app-shell .tool-card:hover{border-color:var(--theme-accent-68, rgba(242,164,67,.68))}.app-shell .tool-icon{color:var(--theme-inverse, #111615);background:var(--jueling-mint)}.app-shell label,.app-shell legend{color:var(--theme-muted, #b8c4bf)}.app-shell input,.app-shell textarea,.app-shell select,.app-shell .readonly{color:var(--theme-text, #e8eee9);background:var(--theme-surface, #0d1415);border-color:var(--theme-border, #303d3f)}.app-shell input:focus,.app-shell textarea:focus,.app-shell select:focus{border-color:var(--theme-accent-72, rgba(242,164,67,.72));box-shadow:0 0 0 3px #f2a4431a}.app-shell .choice{color:var(--theme-muted, #aab7b3);background:var(--theme-surface, #141c1e);border-color:var(--theme-border, #303c3e)}.app-shell .choice.selected{color:var(--theme-accent, #ffe0ad);background:var(--theme-accent-12, rgba(242,164,67,.12));border-color:var(--theme-accent-62, rgba(242,164,67,.62))}.app-shell .doc-icon{color:var(--theme-inverse, #111615);background:var(--jueling-mint)}.app-shell .panel,.app-shell .upload-box,.app-shell .script-preview,.app-shell .editor-box,.app-shell .video-config,.app-shell .video-stage{color:var(--theme-text, #dce5df);background:var(--theme-surface-94, rgba(16,23,24,.94));border-color:var(--theme-border, #2d3a3c)}.app-shell .editor-box .cm-editor{color:var(--theme-text, #c4ceca);background:var(--theme-surface, #0d1314)}.app-shell .editor-box .cm-gutters{color:var(--theme-muted, #687673);background:var(--theme-surface, #111819);border-color:var(--theme-border, #2c393b)}.app-shell .script-preview .matched{border-left-color:var(--jueling-warm);color:var(--theme-accent, #ffe0ad);background:var(--theme-accent-18, rgba(242,164,67,.18))}.app-shell .spinner{border-color:var(--theme-accent-14, rgba(242,164,67,.14));border-top-color:var(--jueling-warm)}.app-shell .episode-card,.app-shell .history-row,.app-shell .step,.app-shell .check-card{color:var(--theme-muted, #b7c4be);background:var(--theme-surface, #141c1e);border-color:var(--theme-border, #2f3b3d)}.app-shell .episode-card strong,.app-shell .history-row span:first-child{color:var(--theme-text, #f0ece3)}.app-shell .episode-card.selected,.app-shell .history-row:hover,.app-shell .history-row.selected,.app-shell .step.active{color:var(--theme-accent, #ffe0ad);border-color:var(--theme-accent-62, rgba(242,164,67,.62));background:var(--theme-accent-8, rgba(242,164,67,.08));box-shadow:inset 3px 0 var(--jueling-warm)}.app-shell .step strong,.app-shell .tab.active{color:var(--jueling-warm-soft)}.app-shell .asset-table{background:var(--theme-surface, #101718);border-color:var(--theme-border, #2d3a3c)}.app-shell .asset-head{color:var(--theme-muted, #879591);background:var(--theme-surface, #1a2425)}.app-shell .asset-row{color:var(--theme-text, #dbe3de);background:var(--theme-surface, #111819);border-color:var(--theme-border, #2c393b);border-left-color:var(--theme-mint-30, rgba(56,204,183,.3))}.app-shell .asset-chip.角色,.app-shell .asset-chip.role{color:var(--theme-accent, #ffd28a);border-color:var(--theme-accent-48, rgba(242,164,67,.48));background:var(--theme-accent-12, rgba(242,164,67,.12))}.app-shell .asset-chip.场景,.app-shell .asset-chip.scene{color:var(--theme-mint, #85e2d4);border-color:var(--theme-mint-42, rgba(56,204,183,.42));background:var(--theme-mint-11, rgba(56,204,183,.11))}.app-shell .asset-chip.道具,.app-shell .asset-chip.prop{color:var(--theme-accent, #f2d49a);border-color:var(--theme-accent-42, rgba(242,185,95,.42));background:var(--theme-accent-12, rgba(242,185,95,.12))}.app-shell .info-panel,.app-shell .status.info{color:var(--theme-info, #b8d0ff);border-color:var(--theme-info-42, rgba(112,169,255,.42));background:var(--theme-info-16, rgba(67,99,178,.16))}.app-shell .progress{position:relative;overflow:hidden}.app-shell .progress:before{display:none}.app-shell .progress i{display:block;height:100%;border-radius:inherit;background:var(--jueling-warm);transition:width .16s linear}.app-shell{min-height:100vh;min-height:100dvh}.skip-link{position:fixed;top:-4rem;left:1rem;z-index:1000;padding:10px 14px;border:2px solid var(--jueling-warm-soft);border-radius:8px;color:var(--theme-inverse, #141817);background:var(--jueling-warm);font-weight:800;text-decoration:none;box-shadow:0 8px 24px #0000004d}.skip-link:focus-visible{top:1rem}.app-shell button:focus-visible,.app-shell a:focus-visible,.app-shell input:focus-visible,.app-shell textarea:focus-visible,.app-shell select:focus-visible{outline:3px solid var(--jueling-warm-soft);outline-offset:3px}.app-shell .media-read-error{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px;color:var(--theme-danger, #f4c9c0);border:1px solid var(--theme-danger-48, rgba(255, 126, 104, .48));border-radius:8px;background:var(--theme-danger-18, rgba(154, 54, 42, .18));text-align:center}.app-shell .media-read-error strong{color:var(--theme-accent, #ffd0a0)}.app-shell .media-read-error .secondary-button{margin-top:4px}.app-shell .local-preview-notice{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px;color:var(--theme-text, #c7d8d0);border:1px solid var(--theme-mint-34, rgba(56, 204, 183, .34));border-radius:8px;background:var(--theme-mint-1p92, rgba(31, 109, 96, .16));text-align:center}.app-shell .local-preview-notice strong{color:var(--jueling-mint)}@media(max-width:900px){body{min-width:0}}.combined-playback-backdrop{z-index:80;padding:20px;background:#010507db;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.combined-playback-modal{width:min(1180px,calc(100vw - 40px));height:auto;max-height:calc(100dvh - 40px);border-color:var(--theme-border, #334346);background:linear-gradient(145deg,var(--theme-surface, #101819),var(--theme-canvas, #080e0f) 72%);box-shadow:0 34px 110px #000000b3}.combined-playback-header{min-height:76px;align-items:center;padding:15px 20px;border-top-width:2px}.combined-playback-header>div{min-width:0}.combined-playback-header .pane-kicker{color:var(--jueling-warm);font-size:9px;font-weight:900;letter-spacing:.12em}.combined-playback-header h2{margin-top:3px;font-size:clamp(19px,2vw,25px)}.combined-playback-header p{overflow:hidden;margin:4px 0 0;color:var(--theme-muted, #82908b);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.combined-playback-close{width:40px;height:40px}.combined-playback-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.combined-playback-body{min-height:0;display:grid;gap:10px;overflow-y:auto;padding:14px 20px 18px;overscroll-behavior:contain}.combined-playback-stage{position:relative;width:min(100%,1040px,calc((100dvh - 400px) * 16 / 9));min-width:0;min-height:220px;aspect-ratio:16 / 9;justify-self:center;overflow:hidden;border:1px solid var(--theme-border, #2f3d40);border-radius:10px;background:var(--theme-canvas, #010304);box-shadow:0 18px 54px #0000006b}.combined-playback-stage>video{width:100%;height:100%;display:block;object-fit:contain;background:var(--theme-canvas, #010304)}.combined-playback-stage-badge{position:absolute;top:12px;left:12px;z-index:2;min-height:28px;display:inline-flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--theme-accent-40, rgba(242, 164, 67, .4));border-radius:6px;color:var(--theme-accent, #ffe0ad);background:var(--theme-canvas-82, rgba(8, 14, 15, .82));font-size:10px;font-weight:850;font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);pointer-events:none}.combined-playback-stage-badge em{padding-left:8px;border-left:1px solid currentColor;font-size:8px;font-style:normal;letter-spacing:.03em;opacity:.88}.combined-playback-stage-badge.final{color:var(--theme-success, #92e5bb);border-color:var(--theme-success-40, rgba(86, 213, 154, .4))}.combined-playback-stage-badge.draft{color:var(--theme-accent, #ffe0ad);border-color:var(--theme-accent-48, rgba(242, 164, 67, .48))}.combined-playback-stage-state{width:100%;height:100%;display:grid;place-items:center;align-content:center;gap:8px;padding:28px;color:var(--theme-muted, #84938e);text-align:center}.combined-playback-stage-state .spinner{width:30px;height:30px;border-width:3px}.combined-playback-stage-state strong{color:var(--theme-text, #e4ebe7)}.combined-playback-stage-state span:last-child{max-width:420px;font-size:10px;line-height:1.5}.combined-playback-stage-state.error{color:var(--theme-danger, #f0b2a8);background:var(--theme-danger-12, rgba(139, 45, 38, .12))}.combined-playback-stage-state.error strong{color:var(--theme-danger, #ffd0c8)}.combined-playback-stage-state.error .secondary-button{margin-top:4px}.combined-playback-complete{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:grid;place-items:center;align-content:center;gap:12px;padding:24px;color:var(--theme-text, #edf3ef);background:var(--theme-canvas-72, rgba(3, 8, 9, .72));-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);text-align:center}.combined-playback-complete .primary-button{min-height:42px}.combined-playback-progress{min-height:28px;display:grid;grid-template-columns:auto minmax(120px,1fr) auto;align-items:center;gap:12px;width:min(100%,1040px);justify-self:center;color:var(--theme-muted, #899792);font-size:10px;font-variant-numeric:tabular-nums}.combined-playback-progress>span:first-child{color:var(--theme-accent, #e2bc7f);font-weight:800;white-space:nowrap}.combined-playback-progress>span:last-child{min-width:92px;text-align:right;white-space:nowrap}.combined-playback-progress progress{width:100%;height:5px;overflow:hidden;border:0;border-radius:999px;background:var(--theme-raised, #253032);accent-color:var(--jueling-warm)}.combined-playback-progress progress::-webkit-progress-bar{border-radius:inherit;background:var(--theme-raised, #253032)}.combined-playback-progress progress::-webkit-progress-value{border-radius:inherit;background:linear-gradient(90deg,var(--theme-accent, #d8892f),var(--theme-accent, #ffc36a))}.combined-playback-filmstrip-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:2px}.combined-playback-filmstrip-head>div:first-child{min-width:0;display:flex;align-items:baseline;gap:10px}.combined-playback-filmstrip-head strong{color:var(--theme-text, #e9efeb);font-size:13px}.combined-playback-filmstrip-head span{color:var(--theme-muted, #76847f);font-size:9px}.combined-playback-step-actions{display:flex;gap:6px}.combined-playback-step-actions button{width:34px;height:34px;display:grid;place-items:center;padding:0;border:1px solid var(--theme-border, #344244);border-radius:7px;color:var(--theme-text, #c6d1cc);background:var(--theme-surface, #121a1b)}.combined-playback-step-actions button:hover:not(:disabled){color:var(--theme-inverse, #171a19);border-color:var(--jueling-warm);background:var(--jueling-warm)}.combined-playback-step-actions button:disabled{opacity:.36;cursor:not-allowed}.combined-playback-step-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.combined-playback-filmstrip{min-width:0;display:flex;gap:8px;overflow-x:auto;margin:0;padding:0 0 7px;list-style:none;scrollbar-gutter:stable;scroll-snap-type:x proximity;overscroll-behavior-x:contain}.combined-playback-filmstrip>li{min-width:0;flex:0 0 clamp(168px,19vw,214px);scroll-snap-align:start}.combined-playback-shot{position:relative;width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:82px auto;gap:0 7px;overflow:hidden;padding:5px;border:1px solid var(--theme-border, #2d3a3c);border-radius:8px;color:var(--theme-text, #c5d0cb);background:var(--theme-surface, #0e1516);text-align:left;box-shadow:none;transform:none}.combined-playback-shot:hover:not(:disabled){border-color:var(--theme-border, #4a5a5d);background:var(--theme-surface, #131c1d);transform:none}.combined-playback-shot.active{border-color:var(--theme-accent-82, rgba(242, 164, 67, .82));background:var(--theme-accent-8, rgba(242, 164, 67, .08));box-shadow:inset 0 0 0 1px #f2a4432e}.combined-playback-shot:disabled{opacity:.58;cursor:not-allowed}.combined-playback-thumb-frame,.combined-playback-thumb-placeholder{position:relative;grid-column:1 / -1;width:100%;height:82px;display:grid;place-items:center;overflow:hidden;border-radius:5px;color:var(--theme-muted, #60716b);background:var(--theme-canvas, #040809)}.combined-playback-thumb-frame video{width:100%;height:100%;display:block;object-fit:cover;opacity:0;background:var(--theme-canvas, #040809);transition:opacity .16s ease}.combined-playback-thumb-frame.ready video{opacity:1}.combined-playback-thumb-frame>.spinner{position:absolute;width:20px;height:20px;border-width:2px}.combined-playback-thumb-placeholder svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.combined-playback-thumb-placeholder svg path{fill:currentColor;stroke:none}.combined-playback-thumb-placeholder .spinner{width:20px;height:20px;border-width:2px}.combined-playback-thumb-placeholder.error{color:var(--theme-danger, #c96f61);background:var(--theme-danger-1p92, rgba(119, 38, 32, .16))}.combined-playback-shot-copy{min-width:0;display:grid;gap:2px;padding:7px 2px 2px}.combined-playback-shot-copy strong,.combined-playback-shot-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.combined-playback-shot-copy strong{color:var(--theme-text, #e5ebe7);font-size:10px}.combined-playback-shot-copy small{color:var(--theme-muted, #75837e);font-size:8px}.combined-playback-shot.active .combined-playback-shot-copy strong{color:var(--theme-accent, #ffe0ad)}.combined-playback-shot-status{align-self:center;min-height:21px;display:inline-flex;align-items:center;margin-top:6px;padding:0 6px;border:1px solid var(--theme-border, #374446);border-radius:999px;color:var(--theme-muted, #8e9c97);background:var(--theme-text-2, rgba(255,255,255,.02));font-size:8px;font-variant-numeric:tabular-nums;white-space:nowrap}.combined-playback-shot-status.final{color:var(--theme-success, #83d9ae);border-color:var(--theme-success-30, rgba(86, 213, 154, .3))}.combined-playback-shot-status.draft{color:var(--theme-accent, #efbb6e);border-color:var(--theme-accent-34, rgba(242, 164, 67, .34));background:var(--theme-accent-6, rgba(242, 164, 67, .06))}.combined-playback-shot-status.missing{color:var(--theme-accent, #c88f65);border-color:var(--theme-accent-30, rgba(218, 138, 75, .3))}@media(max-width:900px){.combined-playback-backdrop{padding:8px}.combined-playback-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.combined-playback-header{padding-inline:16px}.combined-playback-body{padding:12px 14px 14px}.combined-playback-stage{width:min(100%,calc((100dvh - 370px) * 16 / 9));min-height:190px}.combined-playback-filmstrip>li{flex-basis:176px}}@media(max-width:640px){.combined-playback-header p{white-space:normal}.combined-playback-stage{width:100%;min-height:170px}.combined-playback-progress{grid-template-columns:1fr auto}.combined-playback-progress>span:first-child{display:none}.combined-playback-filmstrip-head>div:first-child{display:grid;gap:2px}}@media(prefers-reduced-motion:reduce){.delivery-shot-row,.delivery-version-select,.delivery-export-shortcuts button,.combined-playback-thumb-frame video{transition:none}}.settings-reference-image{display:grid;place-items:center;flex:0 0 48px;width:48px;height:56px;overflow:hidden;border-radius:6px;background:var(--theme-canvas, #091011);color:var(--theme-muted, #a9b6b0)}.settings-reference-image img{width:100%;height:100%;object-fit:cover}.reference-asset-editor{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100}.reference-asset-editor .asset-generate-overlay{padding:16px}.reference-asset-feedback{margin:0;color:var(--jueling-amber);overflow-wrap:anywhere}@media(max-width:640px){.reference-asset-editor .asset-generate-body{grid-template-columns:minmax(0,1fr)}.reference-asset-editor .asset-generate-dialog{width:100%;max-height:94dvh;padding:16px}.reference-asset-editor .asset-generate-actions{margin:0 -16px -16px;padding:12px 16px 14px}}.material-picker-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:110;display:grid;place-items:center;padding:20px;background:#030809b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.material-picker{display:flex;flex-direction:column;width:min(1400px,100%);height:min(740px,calc(100dvh - 40px));min-height:0;overflow:hidden;border:1px solid var(--theme-border, #344543);border-radius:20px;background:var(--theme-surface, #0d1516);color:var(--theme-text, #dce7e1);box-shadow:0 24px 80px #0008}.material-picker>header{display:flex;align-items:start;justify-content:space-between;gap:16px;padding:22px 24px 16px;border-bottom:1px solid var(--theme-border, #283735);background:var(--theme-surface, #111b1c)}.material-picker h2{margin:0 0 4px;font-size:22px;color:var(--theme-text, #f4efe5)}.material-picker header p{margin:0;color:var(--theme-muted, #a0afa8);font-size:12px}.material-picker button{font:inherit;cursor:pointer}.material-picker button:disabled{cursor:not-allowed;opacity:.5}.material-picker>nav{display:flex;gap:10px;padding:12px 24px;border-bottom:1px solid var(--theme-border, #283735)}.material-picker>nav button,.material-picker-search button,.material-picker footer>button{min-height:38px;padding:8px 14px;border:1px solid var(--theme-border, #344543);border-radius:12px;color:var(--theme-text, #c9d4cf);background:var(--theme-surface, #101819);font-size:12px;white-space:nowrap}.material-picker>nav button.active{color:var(--theme-accent, #ffd28a);border-color:var(--theme-accent, #a0753f);background:var(--theme-accent-12, rgba(242,164,67,.12))}.material-picker-search{display:flex;align-items:center;gap:10px;padding:18px 24px;border-bottom:1px solid var(--theme-border, #283735)}.material-picker-search input{flex:1;min-width:0;min-height:40px;padding:8px 14px;border:1px solid var(--theme-border, #344543);border-radius:10px;background:var(--theme-canvas, #091112);color:var(--theme-text, #e8eee9);font:inherit;font-size:12px}.material-picker-search>span{flex:0 0 auto;color:var(--theme-muted, #a0afa8);font-size:12px}.material-picker-content{flex:1;min-height:0;overflow-y:auto;padding:18px 24px}.material-picker-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;align-content:start}.material-picker .material-picker-card{position:relative;display:block;min-width:0;width:100%;aspect-ratio:4/3;padding:0;overflow:hidden;border:1px solid var(--theme-border, #344543);border-radius:14px;background:var(--theme-surface, #182223);text-align:left;color:var(--theme-text, #f4efe5)}.material-picker .material-picker-card.selected{border-color:var(--theme-accent, #f2a443);box-shadow:0 0 0 1px #f2a443}.material-picker-card>.settings-reference-image,.material-picker-card>img{display:grid;width:100%;height:100%;border-radius:0;object-fit:cover}.material-picker-card .settings-reference-image img{object-fit:cover}.material-picker-caption{position:absolute;inset:auto 0 0;display:grid;gap:3px;padding:26px 10px 10px;background:linear-gradient(transparent,var(--theme-canvas-94, rgba(4,10,11,.94)));pointer-events:none}.material-picker-caption strong,.material-picker-caption small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-picker-caption strong{font-size:12px}.material-picker-caption small{color:var(--theme-text, #c3ccc7);font-size:11px}.material-picker-check{position:absolute;top:10px;left:10px;width:23px;height:23px;display:grid;place-items:center;border:1px solid var(--theme-border, #afbeb4);border-radius:7px;background:var(--theme-surface-85p1, #172220d9)}.selected>.material-picker-check{color:var(--theme-inverse, #171b19);border-color:var(--theme-accent, #f2a443);background:var(--theme-accent, #f2a443)}.material-picker-remove{position:absolute;top:6px;right:6px;min-width:28px;min-height:28px;border:1px solid var(--theme-border, #73817c);border-radius:7px;background:var(--theme-canvas-85p88, #091112db);color:var(--theme-text, #fff)}.material-picker-empty{display:grid;place-items:center;min-height:200px;color:var(--theme-muted, #a0afa8);font-size:13px}.material-picker-error{margin-bottom:14px;padding:12px;border:1px solid var(--theme-danger, #a45d56);border-radius:8px;color:var(--theme-danger, #ffb3ac);font-size:12px}.material-picker>footer{display:flex;justify-content:end;align-items:center;gap:12px;padding:18px 24px;border-top:1px solid var(--theme-border, #283735);background:var(--theme-canvas, #091112)}.material-picker footer>span{margin-right:auto;font-size:12px;color:var(--theme-muted, #a0afa8)}.material-picker footer>.material-picker-confirm{min-width:128px;color:var(--theme-inverse, #171b19);border-color:var(--theme-accent, #ffc672);background:var(--jueling-warm);font-weight:700}.material-picker button:focus-visible,.material-picker input:focus-visible,.generation-material-dropdown button:focus-visible{outline:2px solid var(--theme-accent, #f2a443);outline-offset:2px}@media(max-width:1100px){.material-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:700px){.material-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.material-picker-search{flex-wrap:wrap}.material-picker-search input{flex-basis:100%}.material-picker-backdrop{padding:8px}.material-picker{height:calc(100dvh - 16px)}.material-picker>header,.material-picker>nav,.material-picker-search,.material-picker-content,.material-picker>footer{padding:12px}}.secondary-button,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:36px;padding:8px 12px;border:1px solid var(--theme-border, #38483f);border-radius:8px;background:var(--theme-surface, #142019);color:var(--theme-text, #c3d0c8);font-family:inherit;font-size:13px;font-weight:500;line-height:18px;box-shadow:none;text-shadow:none;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.secondary-button:hover:not(:disabled),.secondary:hover:not(:disabled){color:var(--theme-accent, #e4c798);background:var(--theme-surface, #20291f);border-color:var(--theme-accent, #8b7147);filter:none;transform:none}.secondary-button:focus-visible,.secondary:focus-visible{outline:2px solid var(--theme-accent, #bd924e);outline-offset:3px}.secondary-button:disabled,.secondary:disabled{color:var(--theme-muted, #728178);background:var(--theme-surface, #152019);border-color:var(--theme-border, #2d3b32);box-shadow:none;cursor:not-allowed}.asset-toolbar-actions .button-row>.secondary-button{height:36px;min-height:36px;padding:0 12px;font-size:13px;font-weight:500}.asset-toolbar-actions .button-row{align-items:center;gap:8px}@media(prefers-reduced-motion:reduce){.secondary-button,.secondary{transition:none}}.asset-generate-model-controls{border-top:1px solid var(--theme-border, #304139);padding-top:16px;display:grid;gap:12px}.asset-generate-model-controls>label{display:grid;gap:7px}.asset-generate-model-controls select{width:100%;height:38px;border:1px solid var(--theme-border, #405147);border-radius:8px;background:var(--theme-surface, #101a16);color:var(--theme-text, #dce6de);padding:0 10px;font-size:13px}.asset-generate-model-bottom{display:flex;align-items:flex-start;gap:12px}.asset-generate-model-bottom>label{flex:1;min-width:0}.asset-generate-model-bottom>button{min-height:38px;margin-top:24px}.asset-generate-model-controls [role=alert]{color:var(--theme-danger, #efaa98);font-size:13px}.batch-generate-resolution{display:grid;gap:7px}.batch-generate-resolution select{width:100%;min-height:38px;border:1px solid var(--theme-border, #405147);border-radius:8px;background:var(--theme-surface, #101a16);color:var(--theme-text, #dce6de);padding:0 10px}.asset-generate-resolution-note,.batch-generate-resolution small{color:var(--theme-muted, #a7b8ac)}.task-details-dialog{width:min(560px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:24px;border:1px solid var(--theme-border, #405147);border-radius:16px;background:var(--theme-surface, #101a16);color:var(--theme-text, #dce6de);text-align:left;box-shadow:0 24px 80px #0008}.task-details-dialog::backdrop{background:#0009;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.task-details-dialog header{position:sticky;top:-24px;z-index:1;display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding:4px 0;background:var(--theme-surface, #101a16)}.task-details-header-actions{display:flex;align-items:center;gap:8px}.task-details-header-actions .secondary-button{white-space:nowrap}.task-details-dialog header small{color:var(--theme-muted, #9aaa9e);font-size:12px}.task-details-dialog h2{font-size:21px;margin:6px 0 0}.task-details-current{padding:18px;border-radius:12px;background:var(--theme-surface, #18261e);border:1px solid var(--theme-border, #34483b)}.task-details-current>div{display:flex;justify-content:space-between;align-items:center}.task-details-current strong{font-size:16px;color:var(--theme-accent, #e1c38d)}.task-details-current span{font-size:13px;color:var(--theme-text, #b7c8bc)}.task-details-current progress{width:100%;height:5px;accent-color:var(--theme-accent, #d1a257);margin-top:14px}.task-details-current p{margin:12px 0 0;font-size:13px;color:var(--theme-muted, #a8bbad);line-height:1.65}.task-details-history{margin-top:18px}.task-details-history summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:12px 0;font-size:14px;list-style:none;border-bottom:1px solid var(--theme-border, #304139)}.task-details-history summary:after{content:"展开";font-size:12px;color:var(--theme-accent, #cdb98f);margin-left:12px}.task-details-history[open] summary:after{content:"收起"}.task-details-history summary span{margin-left:auto;font-size:12px;color:var(--theme-muted, #879e8d)}.task-details-history ol{list-style:none;padding:8px 0 0 15px;margin:0;max-height:340px;overflow:auto}.task-details-history li{position:relative;padding:12px 0 14px 18px;border-left:1px solid var(--theme-border, #3b5041)}.task-details-history li:before{content:"";position:absolute;left:-4px;top:19px;width:7px;height:7px;border-radius:50%;background:var(--theme-raised, #789780)}.task-details-history li:first-child:before{background:var(--theme-accent, #d1a257)}.task-details-history li>div{display:flex;justify-content:space-between;gap:16px}.task-details-history strong{font-size:13px;font-weight:500}.task-details-history time{font-size:11px;color:var(--theme-muted, #8d9e92);font-variant-numeric:tabular-nums}.task-details-history p{font-size:12px;line-height:1.6;color:var(--theme-muted, #9bad9e);margin:7px 0 0}.task-details-dialog summary:focus-visible{outline:2px solid var(--theme-accent, #d1a257);outline-offset:3px}@media(max-width:600px){.task-details-dialog{padding:18px}.task-details-history li>div{flex-direction:column;gap:4px}}.asset-toolbar-title,.overview-title-stack,.precheck-heading,.delivery-heading,.page-toolbar>div:first-child,.section-header>div:first-child,.production-heading>div:first-child{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:4px 16px;min-width:0;flex:1 1 420px}:is(.asset-toolbar-title,.overview-title-stack,.precheck-heading,.delivery-heading,.page-toolbar>div:first-child,.section-header>div:first-child,.production-heading>div:first-child)>.eyebrow{grid-column:1 / -1;margin:0;font-size:9px;line-height:1.2}.page .page-title,.section-header h1,.production-heading h1{max-width:none;margin:0;font-size:20px;line-height:1.35;letter-spacing:-.02em}:is(.asset-toolbar-title,.overview-title-stack,.precheck-heading,.delivery-heading,.page-toolbar>div:first-child,.section-header>div:first-child,.production-heading>div:first-child)>p{min-width:0;max-width:none;margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.asset-toolbar-head,.overview-header,.delivery-commandbar,.page>.page-toolbar,.app-shell .episode-page .page-toolbar{min-height:0;height:auto;padding:2px 22px;align-items:center;flex-direction:row;flex-wrap:wrap;gap:12px 20px}.asset-done-button{margin-top:0}.precheck-hero{padding:16px 22px;gap:20px;align-items:center}.section-header,.production-heading{align-items:center;gap:12px 20px;margin-bottom:16px;flex-direction:row;flex-wrap:wrap}@media(max-width:700px){.asset-toolbar-title,.overview-title-stack,.precheck-heading,.delivery-heading,.page-toolbar>div:first-child,.section-header>div:first-child,.production-heading>div:first-child{grid-template-columns:minmax(0,1fr);flex-basis:auto;width:100%}.page .page-title,.section-header h1,.production-heading h1{font-size:18px}.asset-toolbar-head,.overview-header,.delivery-commandbar,.page>.page-toolbar,.app-shell .episode-page .page-toolbar{padding:12px 16px}}.parser-editor-head{display:flex;align-items:center;gap:12px;padding:12px 14px 10px;border-bottom:1px solid var(--line-soft)}.parser-editor-head strong{font-size:13px;color:var(--theme-text, #f4f6ff)}.parser-editor-head .subtle{white-space:nowrap}.parser-editor-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line-soft)}.parser-editor-toolbar input{min-width:0;flex:0 1 140px}.toolbar-spacer{flex:1 1 auto}.task-failure-banner{padding:8px 12px;margin-bottom:10px;line-height:1.4;font-size:12px;border-radius:8px}.task-failure-banner strong{font-size:12px}.task-failure-banner>.task-event-history>summary{min-height:28px}.task-failure-dismiss{min-height:28px;min-width:0;font-size:12px}.task-failure-dismiss svg{width:12px;height:12px}.task-status-wrap{margin-top:4px}.parser-editor-head{padding:8px 14px 6px}.parser-editor-head .subtle{font-size:11px}.parser-editor-toolbar{padding:6px 14px;gap:6px}.parser-editor-toolbar input{padding:5px 9px;font-size:12px}.parser-editor-toolbar button{min-height:28px;padding:0 12px;font-size:12px;border-radius:7px}.parser-editor-head{padding:4px 14px 3px;gap:10px}.parser-editor-head strong{font-size:12px}.parser-editor-head .subtle{font-size:10px}.parser-editor-head{padding:2px 14px}.parser-editor-head strong{font-size:11px}.parser-editor-toolbar{padding:4px 14px}.parser-editor-toolbar input{padding:3px 8px;font-size:11px}.parser-editor-toolbar button{min-height:24px;padding:0 10px;font-size:11px}.parser-editor-toolbar .subtle{font-size:11px}.parser-editor-toolbar input{min-height:24px;height:24px;padding:0 8px;font-size:11px;border-radius:6px}.parser-editor-toolbar button{min-height:24px;height:24px;padding:0 10px;font-size:11px}.parser-editor-head{line-height:1.3}.parser-editor-head{height:24px;padding:0 14px;box-sizing:border-box}.parser-page .editor-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr)}.parser-page .editor-panel.has-ai-parse-result{grid-template-rows:auto auto auto minmax(0,1fr)}.ai-parse-result{border-bottom:1px solid var(--theme-mint-30, rgba(56,204,183,.3));background:var(--theme-mint-6, rgba(56,204,183,.06));padding:10px 14px;max-height:260px;overflow:auto;color:var(--theme-text, #dcebe7);font-size:13px}.ai-parse-result-head,.ai-parse-result-summary,.ai-parse-result-error{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.ai-parse-result-head strong{font-size:15px;color:var(--theme-accent, #ffd28a)}.ai-parse-result-status{color:var(--theme-success, #9ce5b4);font-size:12px}.ai-parse-result .secondary-button{min-height:30px;padding:4px 10px;font-size:12px}.ai-parse-result p{margin:6px 0}.ai-parse-result-model{color:var(--theme-text, #bfcec7);overflow-wrap:anywhere;font-size:12px}.ai-parse-result-summary b{color:var(--theme-accent, #ffd28a);font-size:17px}.ai-parse-result-summary code{color:var(--theme-success, #9ce5b4);padding:2px 6px;background:var(--theme-mint-10, rgba(56,204,183,.1));border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere}.ai-parse-result-note{color:var(--theme-text, #bfcec7);font-size:12px}.ai-parse-result details{margin-top:6px}.ai-parse-result summary{cursor:pointer;color:var(--theme-text, #dcebe7)}.ai-parse-result-episodes ol{margin:8px 0 0;padding:0;max-height:130px;overflow:auto;list-style:none}.ai-parse-result-episodes li{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-top:1px solid var(--theme-border-14, rgba(187,201,194,.14))}.ai-parse-result-episodes small{color:var(--theme-text, #bfcec7);white-space:nowrap}.ai-parse-result-regex code{display:block;margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere}.ai-parse-result-error{color:var(--theme-danger, #ff9aa2)}.parser-editor-head .parser-header-rule{color:var(--theme-accent, #ffd28a);font-size:11px;font-weight:600;white-space:nowrap}.parser-editor-head .parser-header-task{display:inline-flex;align-items:center;height:20px;box-sizing:border-box;padding:0 6px;border:1px solid var(--theme-mint-35, rgba(56,204,183,.35));border-radius:5px;color:var(--theme-mint, #90dfd3);background:var(--theme-mint-10, rgba(56,204,183,.1));font-size:11px;font-weight:600;white-space:nowrap}.parser-editor-head .parser-header-task[data-status=FAILED],.parser-editor-head .parser-header-task[data-status=EXPIRED]{color:var(--theme-danger, #ff9aa2);border-color:var(--theme-danger-45, rgba(255,115,128,.45));background:var(--theme-danger-12, rgba(255,115,128,.12))}.parser-editor-head .parser-header-task[data-status=READY],.parser-editor-head .parser-header-task[data-status=SUCCEEDED]{color:var(--theme-success, #9ce5b4);border-color:var(--theme-success-40, rgba(79,213,146,.4));background:var(--theme-success-10, rgba(79,213,146,.1))}.parser-editor-head .parser-header-task[data-status=IDLE],.parser-editor-head .parser-header-task[data-status=CANCELED],.parser-editor-head .parser-header-task[data-status=SUPERSEDED]{color:var(--theme-text, #bbc9c2);border-color:var(--theme-border-25, rgba(187,201,194,.25));background:var(--theme-text-6, rgba(187,201,194,.06))}
