@font-face{font-family:Courier Prime;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/courier-prime-latin-ext-400-normal-B-EsvyE4.woff2)format("woff2"),url(/assets/courier-prime-latin-ext-400-normal-CKOCNFvK.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Courier Prime;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/courier-prime-latin-400-normal-BbyBr73r.woff2)format("woff2"),url(/assets/courier-prime-latin-400-normal-BAlbUm6l.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Courier Prime;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/courier-prime-latin-ext-700-normal-ByMJlNdM.woff2)format("woff2"),url(/assets/courier-prime-latin-ext-700-normal-BIFoAzHx.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Courier Prime;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/courier-prime-latin-700-normal-D1YCjmaD.woff2)format("woff2"),url(/assets/courier-prime-latin-700-normal-CVvp4Sof.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Courier Prime;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/courier-prime-latin-ext-400-italic-BTeyNO-8.woff2)format("woff2"),url(/assets/courier-prime-latin-ext-400-italic-DU0XzPqs.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Courier Prime;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/courier-prime-latin-400-italic-CaR7PCvg.woff2)format("woff2"),url(/assets/courier-prime-latin-400-italic-GR5bBv_9.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Courier Prime;font-style:italic;font-display:swap;font-weight:700;src:url(/assets/courier-prime-latin-ext-700-italic-BzK4HIs4.woff2)format("woff2"),url(/assets/courier-prime-latin-ext-700-italic-DHJjmZA7.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Courier Prime;font-style:italic;font-display:swap;font-weight:700;src:url(/assets/courier-prime-latin-700-italic-CZikIXQl.woff2)format("woff2"),url(/assets/courier-prime-latin-700-italic-Cxv_jV69.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/outfit-latin-ext-300-normal-BYS6Dpvq.woff2)format("woff2"),url(/assets/outfit-latin-ext-300-normal-CMIMshEd.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/outfit-latin-300-normal-CRYTwY6m.woff2)format("woff2"),url(/assets/outfit-latin-300-normal-AWLfuCom.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/outfit-latin-ext-400-normal-5tcqmc2S.woff2)format("woff2"),url(/assets/outfit-latin-ext-400-normal-DHm7mdGe.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/outfit-latin-400-normal-BGsTXAXT.woff2)format("woff2"),url(/assets/outfit-latin-400-normal-DMwTpYkH.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/outfit-latin-ext-500-normal-zeox_O30.woff2)format("woff2"),url(/assets/outfit-latin-ext-500-normal-DrCvqoFD.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/outfit-latin-500-normal-DKnIMDSk.woff2)format("woff2"),url(/assets/outfit-latin-500-normal-ClnHRwRh.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/outfit-latin-ext-600-normal-B85nYjL1.woff2)format("woff2"),url(/assets/outfit-latin-ext-600-normal-CWJcPgd7.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/outfit-latin-600-normal-B7SfZ07L.woff2)format("woff2"),url(/assets/outfit-latin-600-normal-BEfTtDA7.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/outfit-latin-ext-700-normal-CI4iH74K.woff2)format("woff2"),url(/assets/outfit-latin-ext-700-normal-fjS8-Gm7.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/outfit-latin-700-normal-Cu9v6i1X.woff2)format("woff2"),url(/assets/outfit-latin-700-normal-D4itBLBr.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:swap;font-weight:100;src:url(/assets/material-symbols-outlined-latin-100-normal-BHdrYyxA.woff2)format("woff2"),url(/assets/material-symbols-outlined-latin-100-normal-CL6gSVFF.woff)format("woff")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:swap;font-weight:200;src:url(/assets/material-symbols-outlined-latin-200-normal-BDnBFm1o.woff2)format("woff2"),url(/assets/material-symbols-outlined-latin-200-normal-B3gYBZPt.woff)format("woff")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/material-symbols-outlined-latin-300-normal-D2sZOyRk.woff2)format("woff2"),url(/assets/material-symbols-outlined-latin-300-normal-eDmOc9wa.woff)format("woff")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/material-symbols-outlined-latin-400-normal-BhEvR8fk.woff2)format("woff2"),url(/assets/material-symbols-outlined-latin-400-normal-QdgSk6Ss.woff)format("woff")}@font-face{font-family:Material Symbols Rounded;font-style:normal;font-display:swap;font-weight:100;src:url(/assets/material-symbols-rounded-latin-100-normal-qKg281-q.woff2)format("woff2"),url(/assets/material-symbols-rounded-latin-100-normal-DifpXd0c.woff)format("woff")}@font-face{font-family:Material Symbols Rounded;font-style:normal;font-display:swap;font-weight:200;src:url(/assets/material-symbols-rounded-latin-200-normal-BiYWoR2A.woff2)format("woff2"),url(/assets/material-symbols-rounded-latin-200-normal-DfhuxZ_p.woff)format("woff")}@font-face{font-family:Material Symbols Rounded;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/material-symbols-rounded-latin-300-normal-ChSf4f6-.woff2)format("woff2"),url(/assets/material-symbols-rounded-latin-300-normal-Bjms2iBO.woff)format("woff")}@font-face{font-family:Material Symbols Rounded;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/material-symbols-rounded-latin-400-normal-DeOGTW0V.woff2)format("woff2"),url(/assets/material-symbols-rounded-latin-400-normal-BOmly0Oe.woff)format("woff")}.material-symbols-rounded{letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;font-feature-settings:"liga";-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;direction:ltr;font-family:Material Symbols Rounded;font-style:normal;font-weight:400;line-height:1;display:inline-block}.header-material-icon{font-variation-settings:"FILL" 0, "wght" 500, "GRAD" 0, "opsz" 20;font-size:18px}:root{--md-sys-color-primary:#d0bcff;--md-sys-color-on-primary:#381e72;--md-sys-color-primary-container:#4f378b;--md-sys-color-on-primary-container:#eaddff;--md-sys-color-secondary:#ccc2dc;--md-sys-color-on-secondary:#332d41;--md-sys-color-secondary-container:#4a4458;--md-sys-color-on-secondary-container:#e8def8;--md-sys-color-tertiary:#efb8c8;--md-sys-color-on-tertiary:#492532;--md-sys-color-tertiary-container:#633b48;--md-sys-color-on-tertiary-container:#ffd8e4;--md-sys-color-error:#f2b8b5;--md-sys-color-on-error:#601410;--md-sys-color-error-container:#8c1d18;--md-sys-color-on-error-container:#f9dedc;--md-sys-color-surface:#141218;--md-sys-color-surface-dim:#141218;--md-sys-color-surface-bright:#3b383e;--md-sys-color-surface-container-lowest:#0f0d13;--md-sys-color-surface-container-low:#1d1b20;--md-sys-color-surface-container:#211f26;--md-sys-color-surface-container-high:#2b2930;--md-sys-color-surface-container-highest:#36343b;--md-sys-color-on-surface:#e6e1e5;--md-sys-color-surface-variant:#49454f;--md-sys-color-on-surface-variant:#cac4d0;--md-sys-color-background:#141218;--md-sys-color-on-background:#e6e1e5;--md-sys-color-outline:#938f99;--md-sys-color-outline-variant:#49454f;--md-sys-color-inverse-surface:#e6e1e5;--md-sys-color-inverse-on-surface:#313033;--md-sys-color-inverse-primary:#6750a4;--md-sys-elevation-0:none;--md-sys-elevation-1:0px 1px 3px 1px #00000026, 0px 1px 2px 0px #0000004d;--md-sys-elevation-2:0px 2px 6px 2px #00000026, 0px 1px 2px 0px #0000004d;--md-sys-elevation-3:0px 4px 8px 3px #00000026, 0px 1px 3px 0px #0000004d;--md-sys-elevation-4:0px 6px 10px 4px #00000026, 0px 2px 3px 0px #0000004d;--md-sys-elevation-5:0px 8px 12px 6px #00000026, 0px 4px 4px 0px #0000004d;--md-sys-shape-corner-none:0px;--md-sys-shape-corner-extra-small:4px;--md-sys-shape-corner-small:8px;--md-sys-shape-corner-medium:12px;--md-sys-shape-corner-large:16px;--md-sys-shape-corner-extra-large:28px;--md-sys-shape-corner-full:9999px;--header-height:64px;--rail-width:80px;--bottom-nav-height:80px;--sidebar-width:280px;--inspector-width:320px;--bg-workspace:var(--md-sys-color-background);--bg-sidebar:var(--md-sys-color-surface-container-low);--bg-card:var(--md-sys-color-surface-container);--bg-card-hover:var(--md-sys-color-surface-container-high);--text-primary:var(--md-sys-color-on-surface);--text-secondary:var(--md-sys-color-on-surface-variant);--text-muted:var(--md-sys-color-outline);--accent-primary:var(--md-sys-color-primary);--accent-hover:var(--md-sys-color-primary-container);--accent-glow:#d0bcff1f;--border-color:var(--md-sys-color-outline-variant);--border-color-focus:var(--md-sys-color-primary);--script-bg:#1d1b20;--script-text:#e6e1e5;--script-shadow:0 10px 30px #00000059;--font-ui:"Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-script:"Courier Prime", "Courier New", Courier, monospace;--script-layer-sheet:1;--script-layer-ruler:20;--script-layer-floating-toolbar:40;--script-layer-panels:60;--script-layer-navigation:80;--script-layer-menus:100;--md-sys-typescale-display-large:700 3.5rem/4rem var(--font-ui);--md-sys-typescale-display-medium:700 2.8rem/3.25rem var(--font-ui);--md-sys-typescale-display-small:600 2.25rem/2.75rem var(--font-ui);--md-sys-typescale-headline-large:600 2rem/2.5rem var(--font-ui);--md-sys-typescale-headline-medium:600 1.75rem/2.25rem var(--font-ui);--md-sys-typescale-headline-small:600 1.5rem/2rem var(--font-ui);--md-sys-typescale-title-large:600 1.375rem/1.75rem var(--font-ui);--md-sys-typescale-title-medium:600 1rem/1.5rem var(--font-ui);--md-sys-typescale-title-small:600 .875rem/1.25rem var(--font-ui);--md-sys-typescale-body-large:400 1rem/1.5rem var(--font-ui);--md-sys-typescale-body-medium:400 .875rem/1.25rem var(--font-ui);--md-sys-typescale-body-small:400 .75rem/1rem var(--font-ui);--md-sys-typescale-label-large:500 .875rem/1.25rem var(--font-ui);--md-sys-typescale-label-medium:500 .75rem/1rem var(--font-ui);--md-sys-typescale-label-small:500 .6875rem/1rem var(--font-ui);--type-page-title:1.375rem;--type-section-title:.875rem;--type-body:.875rem;--type-label:.75rem;--type-caption:.6875rem;--md-easing-standard:cubic-bezier(.2, 0, 0, 1);--md-easing-emphasized:cubic-bezier(.2, 0, 0, 1);--md-transition:all .2s var(--md-easing-standard)}body.theme-dark{--md-sys-color-primary:#d0bcff;--md-sys-color-on-primary:#381e72;--md-sys-color-primary-container:#4f378b;--md-sys-color-on-primary-container:#eaddff;--md-sys-color-secondary:#ccc2dc;--md-sys-color-on-secondary:#332d41;--md-sys-color-secondary-container:#4a4458;--md-sys-color-on-secondary-container:#e8def8;--md-sys-color-tertiary:#efb8c8;--md-sys-color-on-tertiary:#492532;--md-sys-color-tertiary-container:#633b48;--md-sys-color-on-tertiary-container:#ffd8e4;--md-sys-color-error:#f2b8b5;--md-sys-color-on-error:#601410;--md-sys-color-error-container:#8c1d18;--md-sys-color-on-error-container:#f9dedc;--md-sys-color-surface:#141218;--md-sys-color-surface-dim:#141218;--md-sys-color-surface-bright:#3b383e;--md-sys-color-surface-container-lowest:#0f0d13;--md-sys-color-surface-container-low:#1d1b20;--md-sys-color-surface-container:#211f26;--md-sys-color-surface-container-high:#2b2930;--md-sys-color-surface-container-highest:#36343b;--md-sys-color-on-surface:#e6e1e5;--md-sys-color-surface-variant:#49454f;--md-sys-color-on-surface-variant:#cac4d0;--md-sys-color-background:#141218;--md-sys-color-on-background:#e6e1e5;--md-sys-color-outline:#938f99;--md-sys-color-outline-variant:#49454f;--md-sys-color-inverse-surface:#e6e1e5;--md-sys-color-inverse-on-surface:#313033;--md-sys-color-inverse-primary:#6750a4;--bg-workspace:var(--md-sys-color-background);--bg-sidebar:var(--md-sys-color-surface-container-low);--bg-card:var(--md-sys-color-surface-container);--bg-card-hover:var(--md-sys-color-surface-container-high);--text-primary:var(--md-sys-color-on-surface);--text-secondary:var(--md-sys-color-on-surface-variant);--text-muted:var(--md-sys-color-outline);--accent-primary:var(--md-sys-color-primary);--accent-hover:var(--md-sys-color-primary-container);--accent-glow:#d0bcff1f;--border-color:var(--md-sys-color-outline-variant);--border-color-focus:var(--md-sys-color-primary);--script-bg:#1d1b20;--script-text:#e6e1e5}body.theme-light{--md-sys-color-primary:#6750a4;--md-sys-color-on-primary:#fff;--md-sys-color-primary-container:#eaddff;--md-sys-color-on-primary-container:#21005d;--md-sys-color-secondary:#625b71;--md-sys-color-on-secondary:#fff;--md-sys-color-secondary-container:#e8def8;--md-sys-color-on-secondary-container:#1d192b;--md-sys-color-tertiary:#7d5260;--md-sys-color-on-tertiary:#fff;--md-sys-color-tertiary-container:#ffd8e4;--md-sys-color-on-tertiary-container:#31111d;--md-sys-color-error:#b3261e;--md-sys-color-on-error:#fff;--md-sys-color-error-container:#f9dedc;--md-sys-color-on-error-container:#410e0b;--md-sys-color-surface:#fef7ff;--md-sys-color-surface-dim:#ded8e1;--md-sys-color-surface-bright:#fef7ff;--md-sys-color-surface-container-lowest:#fff;--md-sys-color-surface-container-low:#f7f2fa;--md-sys-color-surface-container:#f3edf7;--md-sys-color-surface-container-high:#ece6f0;--md-sys-color-surface-container-highest:#e6e0e9;--md-sys-color-on-surface:#1d1b20;--md-sys-color-surface-variant:#e7e0ec;--md-sys-color-on-surface-variant:#49454f;--md-sys-color-background:#fef7ff;--md-sys-color-on-background:#1d1b20;--md-sys-color-outline:#79747e;--md-sys-color-outline-variant:#cac4d0;--md-sys-color-inverse-surface:#313033;--md-sys-color-inverse-on-surface:#f4eff4;--md-sys-color-inverse-primary:#d0bcff;--script-bg:#fff;--script-text:#1d1b20;--script-shadow:0 8px 24px #0000000f;--bg-workspace:var(--md-sys-color-background);--bg-sidebar:var(--md-sys-color-surface-container-low);--bg-card:var(--md-sys-color-surface-container);--bg-card-hover:var(--md-sys-color-surface-container-high);--text-primary:var(--md-sys-color-on-surface);--text-secondary:var(--md-sys-color-on-surface-variant);--text-muted:var(--md-sys-color-outline);--accent-primary:var(--md-sys-color-primary);--accent-hover:var(--md-sys-color-primary-container);--accent-glow:#6750a41f;--border-color:var(--md-sys-color-outline-variant);--border-color-focus:var(--md-sys-color-primary)}*{box-sizing:border-box;-webkit-font-smoothing:antialiased;margin:0;padding:0}.m3-startup-screen{z-index:10000;background:radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--md-sys-color-primary) 10%, transparent), transparent 36%), var(--md-sys-color-background);color:var(--md-sys-color-on-background);opacity:1;place-items:center;transition:opacity .5s cubic-bezier(.2,0,0,1),visibility .5s linear;display:grid;position:fixed;inset:0;overflow:hidden}.m3-startup-screen.is-exiting{visibility:hidden;opacity:0}.m3-startup-content{text-align:center;flex-direction:column;align-items:center;gap:28px;padding:36px;animation:.5s cubic-bezier(.2,0,0,1) both m3-startup-content-in;display:flex}.m3-startup-brand{color:var(--md-sys-color-on-background);letter-spacing:-.035em;font-size:clamp(1.4rem,3vw,2rem);font-weight:750}.m3-startup-indicator{background:var(--md-sys-color-primary-container);border-radius:50%;place-items:center;width:72px;height:72px;display:grid;position:relative}.m3-startup-indicator-track{background:var(--md-sys-color-primary);clip-path:polygon(50% 2%,60% 11%,73% 8%,81% 19%,92% 27%,89% 40%,98% 50%,89% 60%,92% 73%,81% 81%,73% 92%,60% 89%,50% 98%,40% 89%,27% 92%,19% 81%,8% 73%,11% 60%,2% 50%,11% 40%,8% 27%,19% 19%,27% 8%,40% 11%);width:48px;height:48px;animation:1.6s cubic-bezier(.4,0,.2,1) infinite m3-contained-indicator}.m3-startup-copy{flex-direction:column;gap:7px;display:flex}.m3-startup-copy strong{letter-spacing:.01em;font-size:.95rem;font-weight:650}.m3-startup-copy span{color:var(--md-sys-color-on-surface-variant);font-size:.78rem}.m3-dashboard-enter{animation:.65s cubic-bezier(.2,0,0,1) both m3-dashboard-fade-in}@keyframes m3-startup-content-in{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes m3-contained-indicator{0%{border-radius:34%;transform:rotate(0)scale(.82)}45%{border-radius:42%;transform:rotate(155deg)scale(1)}75%{border-radius:36%;transform:rotate(285deg)scale(.88)}to{border-radius:34%;transform:rotate(360deg)scale(.82)}}@keyframes m3-dashboard-fade-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.m3-startup-content,.m3-startup-indicator-track,.m3-dashboard-enter{animation:none}.m3-startup-screen{transition-duration:.12s}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:var(--md-sys-color-outline-variant);background-clip:padding-box;border:2px solid #0000;border-radius:100px;transition:background-color .2s}::-webkit-scrollbar-thumb:hover{background-color:var(--md-sys-color-outline)}*{scrollbar-width:thin;scrollbar-color:var(--md-sys-color-outline-variant) transparent}html,body,#root{width:100%;height:100%;overflow:hidden}body{background-color:var(--bg-workspace);color:var(--text-primary);font-family:var(--font-ui);transition:background-color .25s var(--md-easing-standard);font-size:13px;line-height:1.45}.app-container{height:var(--app-layout-height,100vh);zoom:var(--app-layout-scale,1);flex-direction:column;width:100%;display:flex;position:relative;overflow:hidden}.app-body{height:calc(100% - var(--header-height,64px));flex-direction:row;flex-grow:1;width:100%;display:flex;position:relative;overflow:hidden}.sidebar-panel{width:var(--sidebar-width);background-color:var(--bg-sidebar);border-right:1px solid var(--border-color);height:100%;z-index:var(--script-layer-panels);will-change:width;flex-direction:column;flex-shrink:0;transition:none;display:flex;position:relative;overflow:hidden}.sidebar-panel.collapsed{border-right:none;width:0}.inspector-panel{width:var(--inspector-width);background-color:var(--bg-sidebar);border-left:1px solid var(--border-color);height:100%;z-index:var(--script-layer-panels);will-change:width;flex-direction:column;flex-shrink:0;transition:none;display:flex;position:relative;overflow:hidden}.inspector-panel.collapsed{border-left:none;width:0}.panel-toggle-button{z-index:100;width:32px;height:32px;color:var(--text-secondary);background:var(--md-sys-color-surface-container-highest,var(--bg-card));border:1px solid var(--md-sys-color-outline-variant,var(--border-color));cursor:pointer;touch-action:none;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 2px 8px #00000047}.panel-toggle-button:after{content:attr(data-tooltip);z-index:110;width:max-content;max-width:180px;color:var(--md-sys-color-inverse-on-surface,#f5eff7);background:var(--md-sys-color-inverse-surface,#322f35);font:500 11px/1.25 var(--font-ui);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .12s var(--md-easing-standard);border-radius:7px;padding:7px 10px;position:absolute;top:50%;box-shadow:0 4px 12px #00000047}.panel-toggle-button-left:after{right:38px;transform:translateY(-50%)}.panel-toggle-button-right:after{left:38px;transform:translateY(-50%)}.panel-toggle-button:hover:after,.panel-toggle-button:focus-visible:after{opacity:1}.panel-toggle-button:active:after{opacity:0}.panel-toggle-button-left{left:calc(var(--rail-width,80px) + var(--sidebar-width) + 6px)}.panel-toggle-button-right{right:calc(var(--inspector-width) + 6px)}.panel-toggle-button-left.collapsed-peek{left:calc(var(--rail-width,80px) + 6px)}.panel-toggle-button-right.collapsed-peek{right:6px}.panel-toggle-button-left.collapsed-peek:after{left:38px;right:auto}.panel-toggle-button-right.collapsed-peek:after{left:auto;right:38px}.panel-toggle-button:hover,.panel-toggle-button:focus-visible{color:var(--md-sys-color-on-primary);background:var(--md-sys-color-primary);border-color:var(--md-sys-color-primary);box-shadow:0 4px 14px color-mix(in srgb, var(--md-sys-color-primary) 35%, transparent);outline:none;transform:translateY(-50%)scale(1.08)}.panel-resize-edge{z-index:90;cursor:col-resize;touch-action:none;width:10px;position:absolute;top:0;bottom:0}.panel-resize-edge:after{content:"";background:var(--border-color);opacity:.35;width:1px;transition:width .12s var(--md-easing-standard), opacity .12s var(--md-easing-standard), background-color .12s var(--md-easing-standard);position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.panel-resize-edge-left{left:calc(var(--rail-width,80px) + var(--sidebar-width) - 5px)}.panel-resize-edge-right{right:calc(var(--inspector-width) - 5px)}.panel-resize-edge:hover:after,.panel-resize-edge.active:after{background:var(--md-sys-color-primary);opacity:1;width:3px}html.panel-resize-active,html.panel-resize-active *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}.resize-handle{cursor:col-resize;background-color:color-mix(in srgb, var(--md-sys-color-primary) 7%, transparent);z-index:60;pointer-events:auto;touch-action:none;isolation:isolate;width:12px;min-width:12px;height:100%;min-height:100%;transition:background-color .15s var(--md-easing-standard);outline:none;flex-shrink:0;align-self:stretch;display:block;position:relative}.resize-handle:before{content:"";cursor:col-resize;z-index:1;position:absolute;inset:0 -4px}.resize-handle:after{content:"";background:color-mix(in srgb, var(--md-sys-color-primary) 35%, var(--border-color));pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.resize-handle:hover,.resize-handle:active,.resize-handle.active,.resize-handle:focus-visible{background-color:color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent)}.resize-grab{background-color:var(--md-sys-color-primary-container);border:1px solid color-mix(in srgb, var(--md-sys-color-primary) 45%, var(--border-color));z-index:3;pointer-events:none;width:10px;height:64px;transition:width .15s var(--md-easing-standard), height .15s var(--md-easing-standard), background-color .15s var(--md-easing-standard);border-radius:999px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 3px 10px #00000061}.resize-grab:after{content:"";background:radial-gradient(circle, var(--md-sys-color-on-primary-container) 1.5px, transparent 1.8px) center / 3px 7px repeat-y;width:3px;height:28px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.resize-handle:hover .resize-grab,.resize-handle.active .resize-grab,.resize-handle:focus-visible .resize-grab{background-color:var(--md-sys-color-primary);width:12px;height:72px}.resize-handle:hover .resize-grab:after,.resize-handle.active .resize-grab:after,.resize-handle:focus-visible .resize-grab:after{background-image:radial-gradient(circle, var(--md-sys-color-on-primary) 1.5px, transparent 1.8px)}.sidebar-panel.resizing,.inspector-panel.resizing{transition:none!important}.workspace-area{background-color:var(--bg-workspace);flex-direction:column;flex-grow:1;height:100%;display:flex;position:relative;overflow:hidden}.workspace-header{height:var(--header-height,64px);border-bottom:1px solid var(--md-sys-color-outline-variant);background-color:var(--md-sys-color-surface);z-index:var(--script-layer-menus);justify-content:space-between;align-items:center;width:100%;padding:0 16px;display:flex}.revision-controls{border:1px solid var(--border-color);background-color:var(--md-sys-color-surface-container-low);height:36px;color:var(--text-secondary);border-radius:18px;align-items:center;gap:6px;padding:0 6px 0 10px;display:inline-flex}.screenplay-toolbar-menu{align-items:center;display:inline-flex;position:relative}.screenplay-toolbar-popover{z-index:calc(var(--script-layer-menus) + 1);border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);min-width:184px;color:var(--md-sys-color-on-surface);animation:screenplay-toolbar-popover-enter .16s var(--md-easing-standard);border-radius:16px;gap:3px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 10px 28px #00000052}.screenplay-revision-popover{width:216px;max-height:min(420px,100vh - 76px);overflow-y:auto}.screenplay-toolbar-popover>button{min-height:38px;color:var(--md-sys-color-on-surface);font:600 .75rem/1.2 var(--font-ui);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:10px;padding:0 12px;display:grid}.screenplay-toolbar-popover>button:hover{background:color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent)}.screenplay-toolbar-popover>button.active{background:var(--md-sys-color-secondary-container,var(--md-sys-color-primary-container));color:var(--md-sys-color-on-secondary-container,var(--md-sys-color-on-primary-container))}.screenplay-toolbar-popover .material-symbols-rounded{text-align:center;font-size:18px}.screenplay-toolbar-popover-label{color:var(--md-sys-color-on-surface-variant);font:700 .625rem/1 var(--font-ui);letter-spacing:.06em;text-transform:uppercase;padding:6px 12px 5px}.screenplay-toolbar-popover-divider{background:var(--md-sys-color-outline-variant);height:1px;margin:5px 4px}.revision-color-dot{background:var(--revision-color);width:10px;height:10px;box-shadow:0 0 0 3px color-mix(in srgb, var(--revision-color) 18%, transparent);border-radius:50%;justify-self:center}@keyframes screenplay-toolbar-popover-enter{0%{opacity:0;transform:translateY(-4px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.screenplay-lock-controls{gap:6px;margin:0;display:flex}.screenplay-lock-controls button{border:1px solid var(--border-color);background-color:var(--md-sys-color-surface-container-high);min-height:30px;color:var(--text-secondary);font:600 .7rem var(--font-ui);cursor:pointer;border-radius:15px;padding:0 12px}.screenplay-lock-controls button.active{border-color:var(--md-sys-color-primary);background-color:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.element-settings-scrim{z-index:14000;background:#0000008c;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.element-settings-dialog{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-high);width:min(680px,100%);max-height:calc(100vh - 48px);color:var(--text-primary);border-radius:24px;padding:24px;overflow:auto;box-shadow:0 24px 64px #00000059}.element-settings-header{justify-content:space-between;gap:20px;margin-bottom:20px;display:flex}.element-settings-header h2{font-size:1.25rem}.element-settings-header p{color:var(--text-secondary);margin-top:4px;font-size:.8rem}.element-settings-header button{width:32px;height:32px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;font-size:1.5rem}.element-settings-dialog label{color:var(--text-secondary);flex-direction:column;gap:6px;font-size:.75rem;font-weight:600;display:flex}.element-settings-dialog input[type=number],.element-settings-dialog input[type=text],.element-settings-dialog select{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);width:100%;min-height:40px;color:var(--text-primary);font:inherit;border-radius:10px;padding:0 12px}.element-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px;display:grid}.element-settings-toggles{flex-wrap:wrap;gap:20px;margin-top:20px;display:flex}.element-settings-toggles label{flex-direction:row;align-items:center}.revision-select{max-width:130px;color:var(--text-primary);font:600 .75rem var(--font-ui);background:0 0;border:0;outline:0}.revision-select option{background-color:var(--bg-card);color:var(--text-primary)}.revision-add-button{background-color:var(--md-sys-color-primary-container);width:26px;height:26px;color:var(--md-sys-color-on-primary-container);cursor:pointer;border:0;border-radius:50%;font-size:1rem}.workspace-content{scroll-behavior:smooth;flex-grow:1;justify-content:center;padding:20px;display:flex;overflow-y:auto}.workspace-content.ui-workspace{padding:0}.sidebar-header{border-bottom:1px solid var(--border-color);background-color:var(--md-sys-color-surface-container);justify-content:space-between;align-items:center;height:44px;padding:0 14px;display:flex}.brand{color:var(--md-sys-color-primary);align-items:center;gap:8px;font-size:.95rem;font-weight:700;display:flex}.brand-icon{color:var(--md-sys-color-primary)}.sidebar-section{border-bottom:1px solid var(--border-color);flex-direction:column;gap:8px;padding:16px;display:flex}.sidebar-title{text-transform:uppercase;color:var(--text-muted);letter-spacing:.08em;margin-bottom:6px;font-size:.75rem;font-weight:700}.scrollable-content{flex-grow:1;padding:12px;overflow-y:auto}.btn,.m3-btn{background-color:var(--md-sys-color-surface-container-high);border:1px solid var(--md-sys-color-outline);color:var(--md-sys-color-primary);border-radius:var(--md-sys-shape-corner-full,9999px);cursor:pointer;height:40px;min-height:40px;font-family:var(--font-ui);transition:all .2s var(--md-easing-standard);-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;gap:8px;padding:0 20px;font-size:.875rem;font-weight:500;text-decoration:none;display:inline-flex;position:relative;overflow:hidden}.btn:after,.m3-btn:after{content:"";opacity:0;pointer-events:none;background-color:currentColor;transition:opacity .15s;position:absolute;inset:0}.btn:hover:after,.m3-btn:hover:after{opacity:.08}.btn:active:after,.m3-btn:active:after{opacity:.12}.btn:hover,.m3-btn:hover{box-shadow:var(--md-sys-elevation-1)}.btn-primary,.m3-btn-filled{background-color:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary);box-shadow:var(--md-sys-elevation-0);border:none}.btn-primary:hover,.m3-btn-filled:hover{background-color:color-mix(in srgb, var(--md-sys-color-primary) 92%, var(--md-sys-color-on-primary));box-shadow:var(--md-sys-elevation-1)}.m3-btn-tonal{background-color:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container);border:none}.m3-btn-tonal:hover{background-color:color-mix(in srgb, var(--md-sys-color-secondary-container) 92%, var(--md-sys-color-on-secondary-container));box-shadow:var(--md-sys-elevation-1)}.m3-btn-elevated{background-color:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-primary);box-shadow:var(--md-sys-elevation-1);border:none}.m3-btn-elevated:hover{box-shadow:var(--md-sys-elevation-2)}.m3-btn-outlined{border:1px solid var(--md-sys-color-outline);color:var(--md-sys-color-primary);background-color:#0000}.m3-btn-outlined:hover{background-color:color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent)}.m3-btn-text{color:var(--md-sys-color-primary);background-color:#0000;border:none;padding:0 12px}.m3-btn-text:hover{background-color:color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent)}.btn-icon-only{border-radius:var(--md-sys-shape-corner-full,9999px);width:40px;height:40px;padding:0}.btn-flat-icon,.m3-icon-btn{color:var(--md-sys-color-on-surface-variant);border-radius:var(--md-sys-shape-corner-full,9999px);cursor:pointer;width:40px;min-width:40px;height:40px;transition:all .18s var(--md-easing-standard);background:0 0;border:none;justify-content:center;align-items:center;display:inline-flex;position:relative;overflow:hidden}.btn-flat-icon:after,.m3-icon-btn:after{content:"";opacity:0;pointer-events:none;background-color:currentColor;transition:opacity .15s;position:absolute;inset:0}.btn-flat-icon:hover:after,.m3-icon-btn:hover:after{opacity:.08}.btn-flat-icon:active:after,.m3-icon-btn:active:after{opacity:.16}.btn-flat-icon.active,.m3-icon-btn.active{color:var(--md-sys-color-on-secondary-container);background-color:var(--md-sys-color-secondary-container)}.m3-fab{border-radius:var(--md-sys-shape-corner-large,16px);background-color:var(--md-sys-color-primary-container);width:56px;height:56px;color:var(--md-sys-color-on-primary-container);box-shadow:var(--md-sys-elevation-3);cursor:pointer;transition:all .2s var(--md-easing-standard);border:none;justify-content:center;align-items:center;display:inline-flex;position:relative;overflow:hidden}.m3-fab:hover{box-shadow:var(--md-sys-elevation-4);background-color:color-mix(in srgb, var(--md-sys-color-primary-container) 92%, var(--md-sys-color-on-primary-container))}.m3-fab-extended{border-radius:var(--md-sys-shape-corner-large,16px);background-color:var(--md-sys-color-primary-container);height:56px;color:var(--md-sys-color-on-primary-container);box-shadow:var(--md-sys-elevation-3);font-family:var(--font-ui);cursor:pointer;transition:all .2s var(--md-easing-standard);border:none;align-items:center;gap:12px;padding:0 20px;font-size:.875rem;font-weight:500;display:inline-flex;position:relative;overflow:hidden}.m3-fab-extended:hover{box-shadow:var(--md-sys-elevation-4);background-color:color-mix(in srgb, var(--md-sys-color-primary-container) 92%, var(--md-sys-color-on-primary-container))}.m3-card{border-radius:var(--md-sys-shape-corner-large,16px);transition:all .2s var(--md-easing-standard);padding:20px}.m3-card-elevated{background-color:var(--md-sys-color-surface-container-low);box-shadow:var(--md-sys-elevation-1);border:none}.m3-card-elevated:hover{box-shadow:var(--md-sys-elevation-2)}.m3-card-filled{background-color:var(--md-sys-color-surface-container-highest);border:none}.m3-card-outlined{background-color:var(--md-sys-color-surface);border:1px solid var(--md-sys-color-outline-variant)}.m3-chip{border-radius:var(--md-sys-shape-corner-small,8px);border:1px solid var(--md-sys-color-outline);height:32px;color:var(--md-sys-color-on-surface);font-family:var(--font-ui);cursor:pointer;transition:all .18s var(--md-easing-standard);-webkit-user-select:none;user-select:none;background:0 0;align-items:center;gap:8px;padding:0 16px;font-size:.875rem;font-weight:500;display:inline-flex}.m3-chip:hover{background-color:color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent)}.m3-chip.selected,.m3-chip-selected{background-color:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container);border-color:#0000}.input-text,.m3-text-field{background-color:var(--md-sys-color-surface-container);border:1px solid var(--md-sys-color-outline);color:var(--md-sys-color-on-surface);border-radius:var(--md-sys-shape-corner-small,8px);font-family:var(--font-ui);transition:all .2s var(--md-easing-standard);outline:none;height:48px;padding:10px 16px;font-size:.875rem}.input-text:focus,.m3-text-field:focus{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 1px var(--md-sys-color-primary);border-width:2px;padding:9px 15px}.script-list-item{cursor:pointer;transition:var(--md-transition);background-color:#0000;border:none;border-radius:100px;justify-content:space-between;align-items:center;margin-bottom:4px;padding:12px 16px;display:flex}.script-list-item:hover{background-color:#8b5cf60d}.script-list-item.active{background-color:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);font-weight:600}.script-list-item.active .script-list-name{color:var(--md-sys-color-on-primary-container)}.script-list-name{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;flex-grow:1;font-size:.9rem;font-weight:500;overflow:hidden}.script-list-rename-input{border:1px solid var(--md-sys-color-primary);background:var(--md-sys-color-surface-container-lowest);width:100%;min-width:0;color:var(--text-primary);font:inherit;border-radius:5px;outline:none;padding:2px 6px}.script-list-actions{opacity:0;gap:4px;transition:opacity .2s;display:flex}.script-list-item:hover .script-list-actions,.script-list-item.active .script-list-actions{opacity:1}.script-action-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;padding:2px;display:flex}.script-action-btn:hover{color:#ef4444;background-color:#ef44441a}.script-rename-btn:hover{color:var(--accent-primary);background-color:var(--accent-glow)}.script-action-btn:disabled,.script-action-btn:disabled:hover{color:var(--text-muted);cursor:not-allowed;opacity:.38;background:0 0}.nav-item{color:var(--text-secondary);cursor:pointer;border-radius:6px;align-items:flex-start;padding:8px 10px;font-size:.8rem;line-height:1.3;transition:all .2s;display:flex}.nav-item:hover{color:var(--text-primary);background-color:#ffffff0a}.nav-item-num{font-family:var(--font-script);color:var(--accent-primary);flex-shrink:0;width:24px}.nav-item-text{font-family:var(--font-script);text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;flex-grow:1;overflow:hidden}.editor-scroll-container{box-sizing:border-box;flex-direction:column;flex:none;align-items:center;width:100%;min-height:max-content;padding-top:16px;display:flex;position:relative}.script-page-canvas{background-color:var(--script-bg);color:var(--script-text);box-shadow:var(--script-shadow);font-family:var(--font-script);z-index:var(--script-layer-sheet);box-sizing:border-box;border-radius:2px;outline:none;flex:none;margin-bottom:40px;padding:1in 1in 1in 1.5in;font-size:12pt;line-height:1.25;transition:width .2s,min-height .2s;position:relative}body.layout-letter .script-page-canvas{width:8.5in;min-height:11in}body.layout-letter .script-ruler-shell{--ruler-page-width:8.5in;--ruler-writing-left:17.647%;--ruler-writing-right:11.765%;width:864px}body.layout-a4 .script-page-canvas{width:210mm;min-height:297mm}body.layout-a4 .script-ruler-shell{--ruler-page-width:210mm;--ruler-writing-left:18.143%;--ruler-writing-right:12.095%;width:841.701px}.script-element{white-space:pre-wrap;word-break:break-word;box-sizing:border-box;outline:none;margin-top:0;margin-bottom:0;position:relative}.revision-mark{color:var(--revision-color,var(--accent-primary));font-family:var(--font-script);-webkit-user-select:none;user-select:none;pointer-events:none;font-size:12pt;font-weight:700;line-height:1;position:absolute;top:0;left:auto;right:-.35in}.revision-mark-action,.revision-mark-scene-heading,.revision-mark-character,.revision-mark-transition,.revision-mark-shot,.revision-mark-general,.revision-mark-new-act,.revision-mark-sequence,.revision-mark-end-of-act{top:1.25em}.dual-dialogue-revision-wrapper{width:100%;position:relative}.dual-dialogue-revision-mark{top:0;left:auto;right:-.35in}.dual-dialogue-column-left .dual-dialogue-revision-mark{right:calc(-100% - .6in)}.script-element:focus:before{content:"";background-color:var(--accent-primary);opacity:.5;border-radius:2px;width:3px;position:absolute;top:0;bottom:0;left:-20px}.element-scene-heading{text-transform:uppercase;text-align:left;clear:both;padding-top:1.25em;padding-bottom:1.25em;font-weight:700}.element-action{text-align:left;clear:both;padding-top:1.25em;padding-bottom:0}.script-element+.element-action{padding-top:1.25em}.element-character{text-transform:uppercase;text-align:left;clear:both;width:3.5in;margin-left:2in;padding-top:1.25em;padding-bottom:0}.element-parenthetical{text-align:left;clear:both;width:2.5in;margin-left:1.5in;padding-top:0;padding-bottom:0}.element-dialogue{text-align:left;clear:both;width:3.5in;margin-left:1in;padding-top:0;padding-bottom:0}.screenplay-continuation-character{text-transform:uppercase;text-align:left;width:3.5in;margin-left:2in;padding-top:1.25em;font-weight:700}.screenplay-more-marker{text-align:center;-webkit-user-select:none;user-select:none;width:3.5in;margin-left:1in;padding-top:.25em;font-weight:700}.element-transition{text-transform:uppercase;text-align:left;clear:both;width:2.5in;margin-left:4.5in;padding-top:1.25em;padding-bottom:1.25em}.element-shot{text-transform:uppercase;text-align:left;clear:both;padding-top:1.25em;padding-bottom:0}.element-general{text-align:left;clear:both;padding-top:1.25em;padding-bottom:0}.element-dual-dialogue{clear:both;width:100%;max-width:6in;font-family:var(--font-script);box-sizing:border-box;break-inside:avoid;page-break-inside:avoid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:.25in;margin:0;padding-top:.1667in;font-size:12pt;line-height:1;display:grid}.dual-dialogue-column{flex-direction:column;justify-content:flex-start;align-items:center;width:100%;min-width:0;display:flex}.dual-dialogue-column .element-character{text-align:center;width:min(2in,100%);margin:0 auto;padding-top:0;padding-bottom:0;line-height:1}.dual-dialogue-column .element-parenthetical{text-align:left;width:min(2in,100%);margin:0 auto;padding:0;line-height:1}.dual-dialogue-column .element-dialogue{text-align:left;width:min(2.5in,100%);margin:0 auto;padding:0;line-height:1}.element-note{border-left:3px solid var(--accent-primary);color:var(--text-secondary);clear:both;background-color:#8b5cf614;margin:8px 0;padding:8px 12px;font-style:italic}.element-breakdown{border:1px dashed var(--md-sys-color-primary);background-color:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-primary);clear:both;margin:8px 0;padding:8px 0;font-size:11pt}.element-new-act{text-align:center;text-transform:uppercase;clear:both;page-break-before:always;padding-top:2em;padding-bottom:1em;font-weight:700;text-decoration:underline}.element-sequence{text-transform:uppercase;border-bottom:1px solid var(--border-color);clear:both;margin-bottom:.5em;padding-top:1.5em;padding-bottom:.5em;font-weight:700}.element-end-of-act{text-align:center;text-transform:uppercase;clear:both;padding-top:1.5em;padding-bottom:1.5em;font-weight:700}.element-summary{color:var(--text-secondary);clear:both;padding-top:.5em;padding-bottom:.5em;font-size:10pt;font-style:italic}.element-subtitle{text-align:center;clear:both;padding-top:.5em;padding-bottom:.5em;font-size:11pt;font-style:italic}.element-lyric{text-align:left;clear:both;width:3in;margin-left:2.2in;padding-top:.5em;padding-bottom:.5em;font-style:italic}.element-outline-1{color:var(--md-sys-color-primary);clear:both;padding-top:1em;padding-bottom:.5em;font-size:12pt;font-weight:700;text-decoration:underline}.element-outline-2{color:var(--md-sys-color-primary);clear:both;margin-left:.5in;padding-top:.8em;padding-bottom:.4em;font-size:11pt;font-style:italic;font-weight:700}.element-outline-3{color:var(--md-sys-color-primary);clear:both;margin-left:1in;padding-top:.6em;padding-bottom:.3em;font-size:10pt;font-style:italic}.script-element.empty:after{content:attr(data-placeholder);color:var(--text-muted);opacity:.6;pointer-events:none;font-size:11pt;font-style:italic;position:absolute;top:0;left:0}.element-selector-bar{z-index:100;align-items:center;gap:8px;width:fit-content;margin-top:-20px;display:flex;position:sticky;bottom:24px}.toolbar-group{background-color:#1e1e1e;border:1px solid #ffffff14;border-radius:12px;align-items:center;gap:4px;padding:4px;display:flex;box-shadow:0 12px 32px #0006}.selector-btn{color:#fff9;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;transition:all .15s;display:inline-flex}.selector-btn:hover{color:#fff;background-color:#ffffff14}.selector-btn.active{color:#fff;background-color:#ffffff29}.autocomplete-dropdown{background-color:var(--md-sys-color-surface-container-high);border:1px solid var(--border-color);z-index:1000;min-width:180px;max-height:200px;font-family:var(--font-ui);border-radius:8px;padding:6px;list-style:none;position:absolute;overflow-y:auto;box-shadow:0 8px 24px #00000040}.autocomplete-item{cursor:pointer;color:var(--text-secondary);border-radius:6px;justify-content:space-between;padding:8px 12px;font-size:.85rem;transition:all .15s;display:flex}.autocomplete-item:hover,.autocomplete-item.selected{background-color:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.autocomplete-shortcut{opacity:.6;font-size:.75rem}.inspector-tabs{background-color:var(--md-sys-color-surface-container-low);border:1px solid var(--border-color);border-radius:16px;gap:4px;margin:12px;padding:8px;display:flex}.inspector-tab{color:var(--text-secondary);font-size:.72rem;font-family:var(--font-ui);cursor:pointer;text-transform:uppercase;letter-spacing:.04em;transition:var(--md-transition);text-align:center;background:0 0;border:none;border-radius:12px;flex:1;padding:8px 6px;font-weight:700;position:relative}.inspector-tab:hover{color:var(--text-primary);background-color:#8b5cf60a}.inspector-tab.active{color:var(--md-sys-color-on-primary-container);background-color:var(--md-sys-color-primary-container)}.inspector-card{background-color:var(--md-sys-color-surface-container);border:1px solid var(--border-color);transition:var(--md-transition);border-radius:16px;margin-bottom:12px;padding:16px}.inspector-card:hover{background-color:var(--md-sys-color-surface-container-high);box-shadow:0 1px 3px #0000001a}.inspector-card-header{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.inspector-card-title{color:var(--text-primary);text-transform:uppercase;font-size:.92rem;font-weight:700}.inspector-card-meta{color:var(--md-sys-color-primary);font-size:.75rem;font-weight:600}.inspector-card-body{color:var(--text-secondary);font-size:.82rem;line-height:1.4}.profile-editor{flex-direction:column;gap:8px;margin-top:10px;display:flex}.profile-textarea{background-color:var(--md-sys-color-surface-container-low);border:1px solid var(--md-sys-color-outline);color:var(--text-primary);font-size:.85rem;font-family:var(--font-ui);resize:vertical;height:clamp(90px,12vh,120px);min-height:clamp(90px,12vh,120px);transition:var(--md-transition);border-radius:8px;padding:10px 12px}.profile-textarea:focus{border-color:var(--md-sys-color-primary);border-width:2px;outline:none;padding:9px 11px}.beats-outline{grid-template-columns:1fr;gap:16px;padding:4px;display:grid}.index-card{background-color:var(--md-sys-color-surface-container);color:var(--text-primary);border-left:5px solid var(--md-sys-color-primary);border-top:1px solid var(--border-color);border-right:1px solid var(--border-color);border-bottom:1px solid var(--border-color);cursor:grab;transition:var(--md-transition);border-radius:16px;flex-direction:column;gap:8px;min-height:140px;padding:16px;display:flex;position:relative}.index-card:hover{background-color:var(--md-sys-color-surface-container-high);transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.index-card-header{border-bottom:1px dashed var(--border-color);justify-content:space-between;align-items:center;padding-bottom:6px;display:flex}.index-card-title{font-family:var(--font-script);text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;width:80%;color:var(--text-primary);font-size:.8rem;font-weight:700;overflow:hidden}.index-card-num{opacity:.6;color:var(--text-secondary);font-size:.75rem;font-weight:700}.index-card-textarea{color:var(--text-secondary);font-family:var(--font-ui);resize:none;background:0 0;border:none;outline:none;flex-grow:1;width:100%;font-size:.8rem;line-height:1.3}.index-card-actions{justify-content:flex-end;gap:8px;display:flex}.index-card-btn{cursor:pointer;opacity:.5;background:0 0;border:none;padding:2px;display:flex}.index-card-btn:hover{opacity:1}.stats-container{flex-direction:column;gap:16px;display:flex}.stats-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.stat-item{background-color:var(--bg-card);border:1px solid var(--border-color);text-align:center;border-radius:8px;padding:12px}.stat-val{color:var(--accent-primary);margin-top:4px;font-size:1.5rem;font-weight:700}.stat-lbl{color:var(--text-secondary);font-size:.75rem}.chart-bar-container{flex-direction:column;gap:8px;margin-top:10px;display:flex}.chart-bar-row{justify-content:space-between;align-items:center;font-size:.8rem;display:flex}.chart-bar-wrapper{background-color:#ffffff0d;border-radius:4px;flex-grow:1;height:8px;margin:0 10px;overflow:hidden}.chart-bar-fill{background-color:var(--accent-primary);border-radius:4px;height:100%}.export-overlay{background-color:var(--md-sys-color-surface-container-low);z-index:500;flex-direction:column;align-items:center;padding:40px;display:flex;position:absolute;inset:0;overflow-y:auto}.export-control-panel{background-color:var(--md-sys-color-surface-container);border:1px solid var(--border-color);border-radius:16px;flex-direction:column;gap:20px;width:8.5in;margin-bottom:24px;padding:24px;display:flex;box-shadow:0 4px 20px #0003}.export-control-header{justify-content:space-between;align-items:center;gap:16px;width:100%;display:flex}.export-control-title-group{flex-direction:column;gap:4px;display:flex}.export-title{color:var(--text-primary);font-size:1.25rem;font-weight:700}.export-subtitle{color:var(--text-secondary);font-size:.8rem}.export-control-actions{align-items:center;gap:12px;display:flex}.export-metadata-row{border-top:1px solid var(--border-color);grid-template-columns:1.2fr 1fr 2fr;gap:16px;width:100%;padding-top:16px;display:grid}.metadata-field{flex-direction:column;gap:6px;display:flex}.metadata-label{text-transform:uppercase;color:var(--md-sys-color-primary);letter-spacing:.05em;text-align:left;font-size:.72rem;font-weight:700}.export-metadata-row .input-text{width:100%}.export-preview-pages{flex-direction:column;align-items:center;gap:20px;width:100%;display:flex}.export-page{color:#000;box-sizing:border-box;font-family:var(--font-script);page-break-after:always;background-color:#fff;padding:1in 1in 1in 1.5in;font-size:12pt;line-height:1.25;position:relative;overflow:hidden;box-shadow:0 5px 20px #0006}body.layout-letter .export-page{width:8.5in;height:11in}body.layout-a4 .export-page{width:210mm;height:297mm}.export-cover-title{text-align:center;text-transform:uppercase;letter-spacing:.05em;margin-top:3.5in;font-size:24pt;font-weight:400}.export-cover-by{text-align:center;margin-top:.3in;font-size:12pt}.export-cover-author{text-align:center;text-transform:uppercase;margin-top:.1in;font-size:12pt}.export-cover-contact{white-space:pre-wrap;font-size:12pt;line-height:1.3;position:absolute;bottom:1in;left:1.5in}.export-page-number{text-align:right;font-size:12pt;position:absolute;top:.5in;right:1in}.export-page-number.page-number-left{text-align:left;left:1in;right:auto}.export-page-number.page-number-center{text-align:center;left:50%;right:auto;transform:translate(-50%)}.export-page-number.page-number-right{text-align:right;left:auto;right:1in}.screenplay-page-header,.screenplay-page-footer,.scene-continued-top,.scene-continued-bottom{font-family:var(--font-script);color:inherit;-webkit-user-select:none;user-select:none;pointer-events:none;font-size:10pt;line-height:1;position:absolute}.screenplay-page-header{max-width:4.5in;top:.5in;left:1.5in}.screenplay-page-footer{max-width:6in;bottom:.5in;left:1.5in}.scene-continued-top{font-size:9pt;top:.72in;right:1in}.scene-continued-bottom{font-size:9pt;bottom:.72in;right:1in}.keyboard-shortcuts-list{flex-direction:column;gap:8px;display:flex}.shortcut-row{color:var(--text-secondary);justify-content:space-between;font-size:.8rem;display:flex}.shortcut-key{background-color:var(--bg-card-hover);border:1px solid var(--border-color);color:var(--text-primary);border-radius:4px;padding:2px 6px;font-family:monospace;font-size:.75rem}@media print{body{color:#000!important;background-color:#fff!important;height:auto!important;overflow:visible!important}.app-container,.export-overlay{background:#fff!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}.sidebar-panel,.inspector-panel,.workspace-area,.workspace-content,.workspace-header,.export-control-panel,.element-selector-bar,.autocomplete-dropdown,.search-replace-panel{display:none!important}.export-preview-pages{margin:0!important;padding:0!important;display:block!important}.export-page{page-break-after:always!important;page-break-inside:avoid!important;box-shadow:none!important;color:#000!important;background:#fff!important;margin:0!important;padding:1in 1in 1in 1.5in!important;position:relative!important}body.layout-letter .export-page{width:8.5in!important;height:11in!important}body.layout-a4 .export-page{width:210mm!important;height:297mm!important}}.more-menu-popup{z-index:101;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background-color:#1e1e1e;border:1px solid #ffffff14;border-radius:12px;flex-direction:column;gap:2px;min-width:180px;margin-bottom:8px;padding:8px;display:flex;position:absolute;bottom:100%;right:0;box-shadow:0 12px 32px #0006}.more-menu-item{color:#ffffffb3;cursor:pointer;font-size:.85rem;font-family:var(--font-ui);text-align:left;background:0 0;border:none;border-radius:6px;justify-content:flex-start;align-items:center;width:100%;padding:8px 12px;font-weight:500;transition:all .15s;display:flex}.more-menu-item:hover{color:#fff;background-color:#ffffff14}.more-menu-item.active{color:#fff;background-color:#ffffff29}.menu-divider{background-color:#ffffff14;width:100%;height:1px;margin:6px 0}.scene-number-left{font-family:var(--font-script);color:#888;-webkit-user-select:none;user-select:none;pointer-events:none;font-size:12pt;position:absolute;top:1.25em;left:-.6in}.scene-number-right{font-family:var(--font-script);color:#888;-webkit-user-select:none;user-select:none;pointer-events:none;font-size:12pt;position:absolute;top:1.25em;right:-.6in}.script-ruler-shell{z-index:var(--script-layer-ruler);background:color-mix(in srgb, var(--md-sys-color-surface-container) 92%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-sizing:border-box;-webkit-user-select:none;user-select:none;border:0;border-radius:20px;flex-shrink:0;align-self:center;margin-bottom:4px;padding:8px 0;transition:width .2s;position:sticky;top:12px;overflow:hidden;box-shadow:0 6px 18px #00000029}.script-ruler-toolbar{justify-content:space-between;align-items:center;gap:12px;min-height:38px;padding:0 10px 7px;display:flex}.script-ruler-title{align-items:center;gap:9px;min-width:0;display:flex}.script-ruler-title>div{flex-direction:column;min-width:0;display:flex}.script-ruler-title strong{color:var(--text-primary);font:600 12px/1.2 var(--font-ui)}.script-ruler-title span{color:var(--text-muted);font:500 9px/1.2 var(--font-ui)}.script-ruler-icon{width:30px;height:30px;color:var(--md-sys-color-on-primary-container);background:var(--md-sys-color-primary-container);border-radius:10px;flex:none;place-items:center;display:grid}.script-ruler-assist{align-items:center;gap:6px;display:flex}.m3-ruler-chip{height:24px;color:var(--text-secondary);border:1px solid var(--border-color);font:600 9px/1 var(--font-ui);white-space:nowrap;border-radius:8px;align-items:center;gap:4px;padding:0 9px;display:inline-flex}.m3-ruler-chip.selected{color:var(--md-sys-color-on-secondary-container);background:var(--md-sys-color-secondary-container);border-color:#0000}.script-ruler{width:var(--ruler-page-width);min-width:var(--ruler-page-width);box-sizing:border-box;height:38px;box-shadow:none;background:0 0;border:0;border-radius:0;flex:none;align-items:flex-end;margin-inline:0;display:flex;position:relative;left:50%;overflow:visible;transform:translate(-50%)}.script-ruler:after{content:"";background:color-mix(in srgb, var(--text-secondary) 65%, transparent);pointer-events:none;height:1px;position:absolute;bottom:0;left:0;right:0}.script-ruler-unit{z-index:2;color:var(--text-muted);background:var(--md-sys-color-surface-container-high,var(--bg-sidebar));font:600 8px/1.2 var(--font-ui);text-transform:uppercase;border-radius:3px;padding:1px 4px;position:absolute;top:11px;right:7px}.ruler-ticks{width:100%;height:100%;position:relative}.ruler-writing-area{top:0;bottom:0;left:var(--ruler-writing-left);right:var(--ruler-writing-right);background:color-mix(in srgb, var(--md-sys-color-primary) 7%, transparent);border-inline:1px solid color-mix(in srgb, var(--md-sys-color-primary) 25%, transparent);position:absolute}.ruler-inch{width:1in;height:100%;position:absolute;bottom:0}.ruler-inch-label{color:var(--text-secondary);font-size:9px;font-weight:600;font-family:var(--font-ui);position:absolute;top:5px;transform:translate(-50%)}.ruler-tick{background-color:var(--border-color);width:1px;position:absolute;bottom:0}.ruler-tick-major{background-color:var(--text-secondary);height:13px}.ruler-tick-medium{background-color:color-mix(in srgb, var(--text-secondary) 65%, transparent);height:9px}.ruler-tick-minor{background-color:color-mix(in srgb, var(--text-secondary) 40%, transparent);height:5px}.ruler-marker{--marker-color:var(--accent-primary);background-color:var(--marker-color);border:1px solid var(--bg-sidebar);z-index:10;cursor:help;border-radius:50%;width:8px;height:8px;position:absolute;bottom:-1px;transform:translate(-50%,4px)}.ruler-marker:hover,.ruler-marker:focus-visible,.ruler-marker.active{outline:3px solid color-mix(in srgb, var(--marker-color) 24%, transparent);width:10px;height:10px}.ruler-marker-tooltip{z-index:50;width:max-content;max-width:190px;color:var(--md-sys-color-inverse-on-surface,#f5eff7);background:var(--md-sys-color-inverse-surface,#322f35);font:500 10px/1.3 var(--font-ui);text-align:center;pointer-events:none;border-radius:7px;padding:7px 10px;position:absolute;bottom:17px;left:50%;transform:translate(-50%);box-shadow:0 4px 12px #00000040}.ruler-marker-primary{--marker-color:var(--md-sys-color-primary,#6750a4)}.ruler-marker-secondary{--marker-color:#625b71}.ruler-marker-tertiary{--marker-color:#7d5260}.ruler-marker-success{--marker-color:#2e7d5b}.ruler-marker-warning{--marker-color:#9a6700}.focus-mode-active .script-element{opacity:.15;filter:blur(.5px);transition:opacity .3s,filter .3s}.focus-mode-active .element-wrapper.active .script-element,.focus-mode-active .script-element:focus{opacity:1!important;filter:none!important}.focus-mode-active .scene-number-left,.focus-mode-active .scene-number-right{opacity:.15;transition:opacity .3s}.focus-mode-active .element-wrapper.active .scene-number-left,.focus-mode-active .element-wrapper.active .scene-number-right{opacity:.8!important}@media print{.scene-number-left,.scene-number-right{color:#333!important;opacity:1!important}}.script-element.search-match-active{background:color-mix(in srgb, var(--primary-color) 16%, transparent);box-shadow:0 0 0 2px color-mix(in srgb, var(--primary-color) 32%, transparent);border-radius:4px}.search-replace-panel{width:460px;z-index:var(--script-layer-floating-toolbar);border:1px solid color-mix(in srgb, var(--border-color) 75%, var(--accent-primary));background:color-mix(in srgb, var(--md-sys-color-surface-container-high) 92%, transparent);-webkit-backdrop-filter:blur(22px)saturate(1.2);backdrop-filter:blur(22px)saturate(1.2);-webkit-user-select:none;user-select:none;border-radius:18px;flex-direction:column;gap:10px;padding:12px;display:flex;position:fixed;overflow:hidden;box-shadow:0 20px 50px #00000047,0 3px 10px #00000029}.search-command-header{justify-content:space-between;align-items:center;gap:12px;padding:1px 2px 3px;display:flex}.search-command-heading,.search-command-header-actions{align-items:center;gap:9px;display:flex}.search-command-icon{width:34px;height:34px;color:var(--md-sys-color-on-primary-container);background:var(--md-sys-color-primary-container);border-radius:10px;flex:0 0 34px;place-items:center;display:grid}.search-command-heading>div{flex-direction:column;gap:2px;display:flex}.search-command-heading strong{color:var(--text-primary);letter-spacing:-.01em;font-size:.82rem}.search-command-heading span{color:var(--text-muted);font-size:.67rem}.search-drag-zone,.search-command-close{width:32px;height:32px;color:var(--text-muted);background:0 0;border:0;border-radius:9px;place-items:center;padding:0;display:grid}.search-drag-zone{cursor:grab}.search-drag-zone:active{cursor:grabbing}.search-command-close{cursor:pointer}.search-drag-zone:hover,.search-command-close:hover{color:var(--text-primary);background:var(--md-sys-color-surface-container-highest)}.search-command-field,.search-replace-command-row{border:1px solid var(--border-color);min-height:46px;color:var(--text-muted);background:var(--md-sys-color-surface-container-lowest);border-radius:13px;align-items:center;gap:9px;padding:5px 7px 5px 12px;transition:border-color .15s,box-shadow .15s;display:flex}.search-command-field:focus-within{border-color:var(--accent-primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent-primary) 15%, transparent)}.search-command-field.has-error{border-color:var(--md-sys-color-error,#ba1a1a)}.search-command-input-wrap{flex:1;min-width:0}.search-command-field input,.search-replace-command-row input{width:100%;height:32px;color:var(--text-primary);font:500 .82rem/1 var(--font-ui);-webkit-user-select:text;user-select:text;background:0 0;border:0;outline:0;padding:0}.search-results-count{color:var(--text-muted);background:var(--md-sys-color-surface-container-high);white-space:nowrap;pointer-events:none;border-radius:999px;flex:none;padding:4px 7px;font-size:.66rem;font-weight:700}.search-results-count.is-empty{color:var(--md-sys-color-error,#ba1a1a)}.search-inline-nav{gap:2px;display:flex}.search-inline-nav button{width:30px;height:30px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.search-inline-nav button:hover:not(:disabled){color:var(--text-primary);background:var(--md-sys-color-surface-container-high)}.search-inline-nav button:disabled{opacity:.32;cursor:default}.search-pattern-error{color:var(--md-sys-color-error,#ba1a1a);font:600 .72rem/1.3 var(--font-ui);margin:-5px 4px 0}.search-replace-command-row>svg{flex:none}.search-replace-command-row input{flex:1;min-width:0}.search-replace-command-row button{min-height:32px;font:700 .7rem/1 var(--font-ui);cursor:pointer;border:0;border-radius:9px;padding:0 11px}.search-replace-button{color:var(--text-primary);background:var(--md-sys-color-surface-container-high)}.search-replace-all-button{color:var(--md-sys-color-on-primary);background:var(--md-sys-color-primary)}.search-replace-command-row button:hover:not(:disabled){filter:brightness(1.06)}.search-replace-command-row button:disabled{opacity:.36;cursor:default}.search-command-toolbar{justify-content:space-between;align-items:center;gap:10px;padding:1px 2px;display:flex}.search-scope-control{min-width:0;color:var(--text-secondary);font:700 .67rem/1 var(--font-ui);align-items:center;gap:7px;display:flex}.search-scope-control select{border:1px solid var(--border-color);max-width:180px;height:30px;color:var(--text-primary);background:var(--md-sys-color-surface-container-lowest);font:600 .7rem/1 var(--font-ui);border-radius:9px;outline:0;padding:0 8px}.search-advanced-toggle{min-height:30px;color:var(--text-secondary);font:700 .68rem/1 var(--font-ui);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;align-items:center;gap:6px;padding:0 9px;display:flex;position:relative}.search-advanced-toggle:hover,.search-advanced-toggle.active{color:var(--text-primary);border-color:var(--border-color);background:var(--md-sys-color-surface-container-high)}.search-advanced-toggle>span{background:var(--accent-primary);border-radius:50%;width:6px;height:6px}.search-advanced-controls{grid-template-columns:repeat(3,1fr);gap:7px;padding-top:2px;display:grid}.search-advanced-controls button{border:1px solid var(--border-color);min-height:42px;color:var(--text-secondary);background:var(--md-sys-color-surface-container-lowest);font:600 .68rem/1 var(--font-ui);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 9px;display:flex}.search-advanced-controls button strong{font:800 .73rem/1 var(--font-ui)}.search-advanced-controls button:hover{border-color:var(--accent-primary);color:var(--text-primary)}.search-advanced-controls button.active{color:var(--md-sys-color-on-primary-container);background:var(--md-sys-color-primary-container);border-color:#0000}@media (width<=560px){.search-replace-panel{width:calc(100vw - 20px);left:10px!important}.search-command-heading span{display:none}.search-replace-command-row{flex-wrap:wrap}.search-replace-command-row input{flex-basis:calc(100% - 30px)}}.settings-group{flex-direction:column;gap:8px;display:flex}.settings-group.toggle-row{background-color:var(--md-sys-color-surface-container-low);border:1px solid var(--border-color);box-shadow:none;border-radius:12px;flex-direction:row;justify-content:space-between;align-items:center;padding:12px}.settings-group-title{color:var(--text-primary);font-size:.9rem;font-weight:700}.settings-group-desc{color:var(--text-secondary);font-size:.72rem;line-height:1.3}.segmented-control{background-color:var(--md-sys-color-surface-container-low);border:1px solid var(--md-sys-color-outline);border-radius:100px;padding:0;display:flex;overflow:hidden}.segment-btn{border:none;border-right:1px solid var(--md-sys-color-outline);color:var(--text-secondary);font-size:.8rem;font-family:var(--font-ui);cursor:pointer;transition:var(--md-transition);text-align:center;background:0 0;border-radius:0;flex:1;padding:8px 12px;font-weight:600}.segment-btn:last-child{border-right:none}.segment-btn:hover{color:var(--text-primary);background-color:#ffffff0d}body.theme-light .segment-btn:hover{background-color:#0000000d}.segment-btn.active{color:var(--md-sys-color-on-primary-container);background-color:var(--md-sys-color-primary-container);box-shadow:none}.toggle-btn{background-color:var(--md-sys-color-surface-container-high);border:1px solid var(--md-sys-color-outline);color:var(--text-secondary);cursor:pointer;box-shadow:none;transition:var(--md-transition);text-transform:uppercase;border-radius:100px;padding:6px 16px;font-size:.75rem;font-weight:700}.toggle-btn:hover{background-color:var(--md-sys-color-surface-container-highest)}.toggle-btn.active{background-color:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary);border-color:var(--md-sys-color-primary);box-shadow:none}.md-fab{background-color:var(--md-sys-color-primary-container);width:56px;height:56px;color:var(--md-sys-color-on-primary-container);cursor:pointer;z-index:100;transition:transform .2s var(--md-easing-standard), box-shadow .2s var(--md-easing-standard), background-color .2s var(--md-easing-standard);border:none;border-radius:16px;justify-content:center;align-items:center;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 4px 8px #00000026,0 1px 3px #0000004d}.md-fab:hover{background-color:var(--accent-hover);transform:scale(1.05);box-shadow:0 6px 12px #0003,0 2px 4px #0000004d}.md-fab:active{transform:scale(.98)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.navigation-rail{width:var(--rail-width,80px);background-color:var(--md-sys-color-surface);border-right:1px solid var(--md-sys-color-outline-variant);height:100%;z-index:var(--script-layer-navigation);scrollbar-width:none;transition:background-color .2s var(--md-easing-standard);flex-direction:column;flex-shrink:0;align-items:center;gap:8px;padding:12px 0;display:flex;overflow:hidden auto}.navigation-rail::-webkit-scrollbar{display:none}.rail-home,.rail-footer{flex-direction:column;flex:none;align-items:center;gap:8px;width:100%;display:flex}.utility-rail .rail-footer{margin-top:auto}.rail-main{scrollbar-width:none;overscroll-behavior:contain;flex-direction:column;flex:auto;align-items:center;gap:8px;width:100%;min-height:0;display:flex;overflow:hidden auto}.rail-main::-webkit-scrollbar{display:none}.rail-divider{border-radius:var(--md-sys-shape-corner-full,9999px);background-color:var(--md-sys-color-outline-variant);flex:0 0 1px;width:48px;height:1px;margin:4px auto}.rail-item{width:72px;min-width:0;height:auto;color:var(--md-sys-color-on-surface-variant);cursor:pointer;transition:all .18s var(--md-easing-standard);-webkit-user-select:none;user-select:none;background:0 0;border:none;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:4px 0;text-decoration:none;display:flex}.rail-icon{border-radius:var(--md-sys-shape-corner-large,16px);width:56px;height:32px;color:var(--md-sys-color-on-surface-variant);transition:all .2s var(--md-easing-standard);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.rail-icon .material-symbols-rounded{font-variation-settings:"FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;font-size:24px;transition:font-variation-settings .18s,color .18s}.rail-item:hover .rail-icon{background-color:color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent);color:var(--md-sys-color-on-surface)}.rail-item.active .rail-icon{background-color:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}.rail-item.active .material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24}.rail-label{text-align:center;white-space:nowrap;text-overflow:ellipsis;width:100%;font-size:11px;font-weight:500;line-height:14px;font-family:var(--font-ui);color:var(--md-sys-color-on-surface-variant);transition:color .18s var(--md-easing-standard), font-weight .18s var(--md-easing-standard);overflow:hidden}.rail-item.active .rail-label{color:var(--md-sys-color-on-surface);font-weight:700}@media (height<=800px){.navigation-rail{gap:3px;padding-block:8px}.rail-item{height:38px}.rail-home,.rail-footer,.rail-main{gap:2px}.rail-main>.rail-item{flex-basis:38px;min-height:38px}}.export-dropdown-container{position:relative}.export-dropdown-menu{z-index:1000;background-color:var(--md-sys-color-surface-container-high);border:1px solid var(--border-color);border-radius:12px;flex-direction:column;gap:2px;min-width:210px;padding:6px;display:flex;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 8px 30px #0000004d}.export-dropdown-item{color:var(--text-primary);font-family:var(--font-ui);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:12px;width:100%;padding:10px 14px;font-size:.88rem;font-weight:500;transition:background-color .15s,color .15s;display:flex}.export-dropdown-item:hover{background-color:var(--accent-glow);color:var(--accent-primary)}.export-dropdown-backdrop{z-index:999;background:0 0;position:fixed;inset:0}:root{--safe-area-top:env(safe-area-inset-top,0px);--safe-area-bottom:env(safe-area-inset-bottom,0px);--safe-area-left:env(safe-area-inset-left,0px);--safe-area-right:env(safe-area-inset-right,0px)}@media (width<=1024px){.app-body{position:relative}.sidebar-panel{z-index:120;background-color:var(--md-sys-color-surface-container-low);height:100%;position:absolute;top:0;bottom:0;left:0;box-shadow:4px 0 24px #0006}.inspector-panel{z-index:120;background-color:var(--md-sys-color-surface-container-low);height:100%;position:absolute;top:0;bottom:0;right:0;box-shadow:-4px 0 24px #0006}.header-btn{height:34px;padding:0 8px;font-size:.8rem}}@media (width<=768px){.app-container{height:100dvh;overflow:hidden}.app-body{height:calc(100% - var(--header-height,64px) - var(--bottom-nav-height,80px));width:100%}.navigation-rail{width:100%;height:calc(var(--bottom-nav-height,80px) + var(--safe-area-bottom));padding-bottom:var(--safe-area-bottom);box-shadow:var(--md-sys-elevation-2);background-color:var(--md-sys-color-surface-container);border-top:1px solid var(--md-sys-color-outline-variant);z-index:999;-webkit-overflow-scrolling:touch;border-right:none;flex-direction:row;justify-content:space-around;gap:4px;padding:8px 12px;position:fixed;bottom:0;left:0;right:0;overflow:auto hidden}.rail-home,.rail-footer{display:none}.rail-main{flex-direction:row;justify-content:space-around;align-items:center;gap:4px;width:100%}.rail-main>.rail-item,.rail-item{flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:4px;width:auto;min-width:56px;height:64px;padding:4px 6px}.rail-icon{border-radius:var(--md-sys-shape-corner-large,16px);width:64px;height:32px}.rail-icon .material-symbols-rounded{font-size:24px}.rail-label{text-align:center;font-size:11px;font-weight:500;line-height:14px;display:block}.rail-divider{display:none}.sidebar-panel,.inspector-panel{max-width:90vw;width:85vw!important}.script-workspace-viewport{-webkit-overflow-scrolling:touch;padding:12px 6px;overflow-x:auto}.script-page-canvas{margin:0 auto 16px;box-shadow:0 2px 10px #0003;max-width:100%!important}button,input,select,textarea{touch-action:manipulation}}.page-container{flex-direction:column;gap:32px;width:100%;max-width:1200px;min-height:calc(100vh - 56px);margin:0 auto;padding:40px 24px;animation:.4s cubic-bezier(.2,0,0,1) fadeIn;display:flex;overflow-y:auto}@keyframes fadeIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.hero-section{text-align:center;background-color:var(--md-sys-color-surface-container-low);border:1px solid var(--border-color);transition:var(--md-transition);border-radius:24px;flex-direction:column;align-items:center;gap:16px;padding:48px 24px;display:flex}.hero-title{letter-spacing:-.02em;background:linear-gradient(135deg, var(--md-sys-color-primary) 0%, #818cf8 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:4px;font-size:2.5rem;font-weight:800}.hero-subtitle{color:var(--text-secondary);max-width:600px;font-size:1.05rem;line-height:1.6}.dashboard-grid{grid-template-columns:1fr;align-items:start;gap:32px;display:grid}@media (width<=1024px){.dashboard-grid{grid-template-columns:1fr}}.section-card{background-color:var(--md-sys-color-surface-container);border:1px solid var(--border-color);transition:var(--md-transition);border-radius:20px;flex-direction:column;gap:20px;padding:24px;display:flex}.section-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;padding-bottom:14px;display:flex}.section-title{color:var(--text-primary);align-items:center;gap:8px;font-size:1.2rem;font-weight:700;display:flex}.scripts-list-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px;display:grid}.script-card{background-color:var(--md-sys-color-surface);border:1px solid var(--border-color);transition:var(--md-transition);cursor:pointer;border-radius:16px;flex-direction:column;justify-content:space-between;gap:16px;padding:20px;display:flex;position:relative;overflow:hidden}.script-card:before{content:"";background:linear-gradient(90deg, var(--md-sys-color-primary) 0%, #818cf8 100%);opacity:0;width:100%;height:4px;transition:opacity .3s var(--md-easing-standard);position:absolute;top:0;left:0}.script-card:hover{background-color:var(--md-sys-color-surface-container-high);border-color:var(--md-sys-color-primary);transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.script-card:hover:before{opacity:1}.script-card-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.script-card-title{color:var(--text-primary);text-overflow:ellipsis;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:1.1rem;font-weight:700;line-height:1.3;display:-webkit-box;overflow:hidden}.script-card-icon{color:var(--md-sys-color-primary);flex-shrink:0}.script-card-details{flex-direction:column;gap:6px;display:flex}.script-card-author{color:var(--text-secondary);font-size:.85rem}.script-card-date{color:var(--text-muted);font-size:.75rem}.script-card-stats{color:var(--text-secondary);border-top:1px solid var(--border-color);gap:14px;padding-top:12px;font-size:.75rem;display:flex}.script-card-stat{align-items:center;gap:4px;display:flex}.script-card-actions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.import-drag-zone{border:2px dashed var(--md-sys-color-outline);text-align:center;background-color:var(--md-sys-color-surface-container-low);cursor:pointer;transition:var(--md-transition);border-radius:16px;flex-direction:column;align-items:center;gap:12px;padding:32px 20px;display:flex}.import-drag-zone:hover{border-color:var(--md-sys-color-primary);background-color:var(--md-sys-color-surface-container-high)}.import-drag-zone p{color:var(--text-secondary);font-size:.9rem}.insights-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}@media (width<=640px){.insights-grid{grid-template-columns:1fr}}.insight-item{background-color:var(--md-sys-color-surface-container-high);border:1px solid var(--border-color);transition:var(--md-transition);border-radius:12px;flex-direction:column;align-items:center;gap:4px;padding:16px;display:flex}.insight-item:hover{background-color:var(--md-sys-color-surface-container-highest);border-color:var(--md-sys-color-primary)}.insight-val{color:var(--md-sys-color-primary);font-size:1.75rem;font-weight:800}.insight-lbl{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em;font-size:.75rem}.help-layout{grid-template-columns:260px 1fr;align-items:start;gap:32px;display:grid}@media (width<=768px){.help-layout{grid-template-columns:1fr;gap:24px}}.help-navigation{flex-direction:column;gap:8px;padding:8px 0;display:flex}.help-nav-btn{height:48px;color:var(--text-secondary);font-family:var(--font-ui);cursor:pointer;text-align:left;transition:var(--md-transition);-webkit-user-select:none;user-select:none;background:0 0;border:none;border-radius:24px;align-items:center;gap:12px;padding:0 16px;font-size:.88rem;font-weight:600;display:flex;position:relative;overflow:hidden}.help-nav-btn:after{content:"";opacity:0;background-color:currentColor;transition:opacity .15s;position:absolute;inset:0}.help-nav-btn:hover:after{opacity:.08}.help-nav-btn:active:after{opacity:.16}.help-nav-btn.active{background-color:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.help-nav-btn.active svg{color:var(--md-sys-color-on-primary-container)!important}.help-content-card{background-color:var(--md-sys-color-surface-container);border:1px solid var(--border-color);box-shadow:none;animation:fadeIn .3s var(--md-easing-standard);border-radius:24px;min-height:400px;padding:32px}.help-section-title{font-family:var(--font-ui);color:var(--text-primary);letter-spacing:-.01em;margin-bottom:12px;font-size:1.5rem;font-weight:700}.shortcuts-table{border-collapse:collapse;width:100%;font-family:var(--font-ui);margin-top:24px;font-size:.9rem}.shortcuts-table th{text-align:left;color:var(--md-sys-color-primary);border-bottom:2px solid var(--border-color);text-transform:uppercase;letter-spacing:.08em;padding:12px 16px;font-size:.75rem;font-weight:700}.shortcuts-table td{border-bottom:1px solid var(--border-color);color:var(--text-secondary);padding:14px 16px;line-height:1.4}.shortcuts-table tr{transition:background-color .15s}.shortcuts-table tr:hover td{color:var(--text-primary);background-color:#8b5cf605}body.theme-light .shortcuts-table tr:hover td{background-color:#6750a405}kbd{font-family:var(--font-ui);color:var(--text-primary);background-color:var(--md-sys-color-surface-container-high);border:1px solid var(--md-sys-color-outline);border-radius:8px;padding:4px 10px;font-size:.78rem;font-weight:700;display:inline-block;box-shadow:0 1px 2px #00000026}.fountain-cheatsheet-grid{grid-template-columns:1fr;gap:20px;margin-top:24px;display:grid}.cheatsheet-item{background-color:var(--md-sys-color-surface-container-low);border:1px solid var(--border-color);transition:transform .2s var(--md-easing-standard), box-shadow .2s var(--md-easing-standard), border-color .2s var(--md-easing-standard);border-radius:16px;flex-direction:column;gap:12px;padding:20px;display:flex}.cheatsheet-item:hover{border-color:var(--md-sys-color-primary);transform:translateY(-2px);box-shadow:0 4px 12px #0000001f}.cheatsheet-header{font-family:var(--font-ui);color:var(--md-sys-color-primary);font-size:1.05rem;font-weight:700}.cheatsheet-description{font-family:var(--font-ui);color:var(--text-secondary);font-size:.85rem;line-height:1.4}.cheatsheet-code-pair{grid-template-columns:1fr 1fr;gap:16px;margin-top:4px;display:grid}@media (width<=600px){.cheatsheet-code-pair{grid-template-columns:1fr}}.code-snippet{background-color:var(--md-sys-color-surface-container-high);border:1px solid var(--border-color);font-family:var(--font-script);color:var(--text-primary);white-space:pre-wrap;word-break:break-all;border-radius:10px;min-height:48px;padding:12px 14px;font-size:.88rem}.preview-rendered-snippet{background-color:var(--script-bg);border:1px solid var(--border-color);font-family:var(--font-script);color:var(--script-text);white-space:pre-wrap;word-break:break-all;min-height:48px;box-shadow:var(--script-shadow);border-radius:10px;padding:12px 14px;font-size:.88rem}.storymap-info-card{background-color:var(--md-sys-color-surface-container-low);border:1px solid var(--border-color);transition:var(--md-transition);border-radius:16px;align-items:flex-start;gap:16px;padding:20px;display:flex}.storymap-info-card:hover{border-color:var(--md-sys-color-primary);background-color:var(--md-sys-color-surface-container-high)}.storymap-info-icon-container{background-color:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.storymap-info-content h3{font-family:var(--font-ui);color:var(--text-primary);margin-bottom:6px;font-size:1.05rem;font-weight:700}.storymap-info-content p{font-family:var(--font-ui);color:var(--text-secondary);font-size:.85rem;line-height:1.5}.faq-list{flex-direction:column;gap:12px;margin-top:24px;display:flex}.faq-item{background-color:var(--md-sys-color-surface-container-low);border:1px solid var(--border-color);transition:var(--md-transition);border-radius:12px;overflow:hidden}.faq-item.expanded{border-color:var(--md-sys-color-primary);background-color:var(--md-sys-color-surface-container-high);box-shadow:0 2px 8px #00000014}.faq-question-btn{cursor:pointer;text-align:left;width:100%;font-family:var(--font-ui);color:var(--text-primary);transition:var(--md-transition);background:0 0;border:none;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.faq-question-btn:hover{background-color:#8b5cf608}body.theme-light .faq-question-btn:hover{background-color:#6750a408}.faq-question{color:var(--text-primary);margin:0;font-size:.95rem;font-weight:700;line-height:1.4}.faq-chevron{color:var(--md-sys-color-primary);transition:transform .3s var(--md-easing-standard);flex-shrink:0;margin-left:12px}.faq-item.expanded .faq-chevron{transform:rotate(180deg)}.faq-answer-container{max-height:0;transition:max-height .3s var(--md-easing-standard), opacity .3s var(--md-easing-standard);opacity:0;overflow:hidden}.faq-item.expanded .faq-answer-container{opacity:1;max-height:500px}.faq-answer{font-family:var(--font-ui);color:var(--text-secondary);margin:0;padding:0 20px 20px;font-size:.88rem;line-height:1.5}.workspace-split-layout{grid-template-columns:300px 1fr;height:calc(100vh - 56px);display:grid;overflow:hidden}@media (width<=900px){.workspace-split-layout{grid-template-columns:250px 1fr}}.split-sidebar{border-right:1px solid var(--border-color);background-color:var(--bg-sidebar);flex-direction:column;height:100%;display:flex}.sidebar-search-actions{border-bottom:1px solid var(--border-color);flex-direction:column;gap:8px;padding:12px;display:flex}.m3-search-wrapper{width:100%;position:relative}.m3-search-wrapper input{background-color:var(--md-sys-color-surface-container-high);border:1px solid var(--border-color);width:100%;height:34px;color:var(--text-primary);font-size:.78rem;font-family:var(--font-ui);transition:var(--md-transition);border-radius:20px;outline:none;padding-left:34px}.m3-search-wrapper input:focus{border-color:var(--md-sys-color-primary);background-color:var(--md-sys-color-surface);box-shadow:0 0 0 2px var(--accent-glow)}.m3-search-icon{color:var(--text-muted);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.sidebar-list-scroll{flex:1;padding:8px;overflow-y:auto}.m3-list-item{cursor:pointer;transition:var(--md-transition);-webkit-user-select:none;user-select:none;background:0 0;border:none;border-radius:14px;align-items:center;gap:10px;margin-bottom:4px;padding:8px 12px;display:flex;position:relative;overflow:hidden}.m3-list-item:after{content:"";opacity:0;pointer-events:none;background-color:currentColor;transition:opacity .15s;position:absolute;inset:0}.m3-list-item:hover:after{opacity:.06}.m3-list-item:active:after{opacity:.12}.m3-list-item.active{background-color:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);font-weight:600}.m3-list-item.active .m3-list-item-subtitle{color:var(--md-sys-color-on-primary-container);opacity:.8}.m3-list-item-title{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;font-weight:600;overflow:hidden}.m3-list-item.active .m3-list-item-title{color:var(--md-sys-color-on-primary-container)}.m3-list-item-subtitle{color:var(--text-secondary);margin-top:2px;font-size:.67rem}.m3-badge{background-color:var(--md-sys-color-surface-container-high);color:var(--text-secondary);transition:var(--md-transition);border-radius:100px;padding:2px 7px;font-size:.65rem;font-weight:700}.m3-list-item.active .m3-badge{background-color:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.m3-segmented-control{background-color:var(--md-sys-color-surface-container-low);border:1px solid var(--md-sys-color-outline);border-radius:100px;width:fit-content;padding:0;display:flex;overflow:hidden}.m3-segment-btn{border:none;border-right:1px solid var(--md-sys-color-outline);color:var(--text-secondary);font-size:.75rem;font-family:var(--font-ui);cursor:pointer;transition:var(--md-transition);background:0 0;align-items:center;gap:6px;padding:7px 14px;font-weight:700;display:flex;position:relative;overflow:hidden}.m3-segment-btn:after{content:"";opacity:0;background-color:currentColor;transition:opacity .15s;position:absolute;inset:0}.m3-segment-btn:hover:after{opacity:.08}.m3-segment-btn:last-child{border-right:none}.m3-segment-btn.active{background-color:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.m3-segment-btn.active svg{color:var(--md-sys-color-on-primary-container)!important}.details-workspace{background-color:var(--bg-workspace);flex-direction:column;flex:1;gap:16px;padding:20px;display:flex;overflow-y:auto}.details-workspace-header{border-bottom:1px solid var(--border-color);flex-shrink:0;justify-content:space-between;align-items:center;padding-bottom:12px;display:flex}.profile-form-container{width:100%;max-width:850px;animation:fadeIn .35s var(--md-easing-standard);flex-direction:column;gap:20px;margin:0 auto;display:flex}.profile-header-card{border-bottom:1px solid var(--border-color);align-items:center;gap:18px;padding-bottom:18px;display:flex}.profile-avatar-large{border:2px solid var(--md-sys-color-primary);background-color:var(--md-sys-color-surface-container);transition:var(--md-transition);flex-shrink:0;justify-content:center;align-items:center;padding:4px;display:flex}.profile-avatar-large.character{border-radius:50%}.profile-avatar-large.location{border-radius:12px}.profile-avatar-large.character img{border-radius:50%}.profile-avatar-large.location img{border-radius:8px}.profile-header-title-container{flex-direction:column;flex:1;justify-content:center;gap:4px;display:flex}.profile-header-name{text-transform:uppercase;color:var(--text-primary);align-items:center;gap:12px;margin:0;font-size:1.5rem;font-weight:700;display:flex}.profile-header-meta{color:var(--text-secondary);font-size:.78rem}.m3-input-field{background-color:var(--md-sys-color-surface-container-low);border:1px solid var(--border-color);width:100%;color:var(--text-primary);font-family:var(--font-ui);transition:var(--md-transition);box-sizing:border-box;border-radius:12px;outline:none;height:36px;padding:8px 12px;font-size:.82rem}.m3-input-field:focus{border-color:var(--md-sys-color-primary);background-color:var(--md-sys-color-surface);border-width:2px;padding:7px 11px}.m3-textarea-field{background-color:var(--md-sys-color-surface-container-low);border:1px solid var(--border-color);width:100%;color:var(--text-primary);font-family:var(--font-ui);transition:var(--md-transition);resize:vertical;box-sizing:border-box;border-radius:12px;outline:none;height:clamp(80px,11vh,104px);min-height:clamp(80px,11vh,104px);padding:10px 12px;font-size:.82rem}.m3-textarea-field:focus{border-color:var(--md-sys-color-primary);background-color:var(--md-sys-color-surface);border-width:2px;padding:9px 11px}.m3-select-field{background-color:var(--md-sys-color-surface-container-low);border:1px solid var(--border-color);width:100%;color:var(--text-primary);font-family:var(--font-ui);transition:var(--md-transition);cursor:pointer;box-sizing:border-box;border-radius:12px;outline:none;height:36px;padding:8px 12px;font-size:.82rem}.m3-select-field:focus{border-color:var(--md-sys-color-primary);background-color:var(--md-sys-color-surface);border-width:2px}.form-section-title{border-bottom:1px solid var(--border-color);color:var(--md-sys-color-primary);text-transform:uppercase;letter-spacing:.05em;margin-top:16px;margin-bottom:4px;padding-bottom:8px;font-size:.88rem;font-weight:700}.avatar-presets-grid{flex-wrap:wrap;align-items:center;gap:10px;margin-top:6px;display:flex}.avatar-preset-btn{cursor:pointer;transition:var(--md-transition);background-color:#0000;border:2px solid #0000;justify-content:center;align-items:center;padding:3px;display:flex}.avatar-preset-btn:hover{transform:scale(1.1)}.avatar-preset-btn.circle{border-radius:50%}.avatar-preset-btn.rect{border-radius:8px}.avatar-preset-btn.active{border-color:var(--md-sys-color-primary);background-color:var(--accent-glow)}.connection-chip-list{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.connection-chip{background-color:var(--md-sys-color-surface-container-low);border:1px solid var(--border-color);color:var(--text-primary);transition:var(--md-transition);border-radius:8px;align-items:center;gap:8px;padding:6px 12px;font-size:.8rem;display:flex}.connection-chip:hover{border-color:var(--md-sys-color-primary);background-color:var(--md-sys-color-surface-container-high)}.connection-chip-delete{color:var(--text-muted);cursor:pointer;transition:var(--md-transition);background:0 0;border:none;border-radius:4px;align-items:center;padding:2px;display:flex}.connection-chip-delete:hover{color:#ef4444;background-color:#ef44441a}.mindmap-canvas-container{border:1px solid var(--border-color);background-color:var(--md-sys-color-surface-container-low);-webkit-user-select:none;user-select:none;touch-action:none;overscroll-behavior:contain;border-radius:16px;width:100%;height:65vh;min-height:550px;position:relative;overflow:hidden}.mindmap-canvas-content{background-color:var(--md-sys-color-surface-container-lowest);background-image:radial-gradient(var(--border-color) 1.5px, transparent 1.5px);background-size:24px 24px;position:relative}.mindmap-canvas-content.finite-mode{border:2px solid var(--border-color);border-radius:12px;box-shadow:0 10px 30px #0003}.mindmap-canvas-content.infinite-mode{box-shadow:none;background:0 0;border:none;border-radius:0}.mindmap-svg-overlay{pointer-events:none;z-index:1;width:100%;height:100%;position:absolute;top:0;left:0}.mindmap-connection-line{stroke-width:3px;fill:none;pointer-events:visibleStroke;cursor:pointer;transition:stroke .2s,stroke-dasharray .2s}.mindmap-connection-line:hover,.mindmap-connection-line.selected{stroke-width:5px}.mindmap-connection-actions{background-color:var(--md-sys-color-surface-container-high);border:1px solid var(--border-color);pointer-events:auto;border-radius:8px;gap:4px;padding:4px;display:flex;box-shadow:0 4px 10px #00000040}.mindmap-connection-btn{cursor:pointer;color:var(--text-secondary);background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px;transition:all .2s;display:flex}.mindmap-connection-btn:hover{background-color:var(--md-sys-color-surface-container-highest);color:var(--text-primary)}.mindmap-connection-btn.delete:hover{color:#ef4444;background-color:#ef444426}.mindmap-card{background-color:var(--bg-card);z-index:10;cursor:default;border-radius:12px;flex-direction:column;width:240px;min-height:170px;transition:box-shadow .2s,border-color .2s;display:flex;position:absolute;box-shadow:0 6px 16px #00000026}.mindmap-card:hover{box-shadow:0 8px 24px #00000040}.mindmap-card.dragging{z-index:100;opacity:.95;box-shadow:0 12px 32px #00000059}.mindmap-card.media-card{background:var(--md-sys-color-surface-container-lowest);min-height:0}.mindmap-media-card-content{border-radius:inherit;cursor:move;width:100%;height:100%;overflow:hidden}.mindmap-media-card-content img{object-fit:cover;-webkit-user-select:none;user-select:none;pointer-events:none;width:100%;height:100%;display:block}.mindmap-card-header{cursor:move;color:#fff;border-top-left-radius:12px;border-top-right-radius:12px;justify-content:space-between;align-items:center;padding:8px 12px;font-size:.78rem;font-weight:700;display:flex}.mindmap-card-body{flex-direction:column;flex:1;gap:8px;padding:12px;display:flex}.mindmap-card-textarea{resize:none;color:var(--text-secondary);background:0 0;border:none;outline:none;flex:1;width:100%;min-height:60px;font-size:.78rem;line-height:1.4}.mindmap-card-footer{border-top:1px solid var(--border-color);justify-content:space-between;align-items:center;padding:8px 12px;display:flex}.mindmap-color-dot{cursor:pointer;border:1px solid #00000026;border-radius:50%;width:10px;height:10px;transition:transform .1s}.mindmap-color-dot:hover{transform:scale(1.3)}.mindmap-connection-indicator{background-color:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary);z-index:1000;border-radius:20px;align-items:center;gap:8px;padding:6px 16px;font-size:.8rem;font-weight:600;animation:2s infinite pulse;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 12px #00000040}@keyframes pulse{0%{transform:translate(-50%)scale(1)}50%{transform:translate(-50%)scale(1.03)}to{transform:translate(-50%)scale(1)}}.snap-guideline-x{pointer-events:none;z-index:5;border-left:1px dashed #ef4444;width:1px;height:100%;position:absolute;top:0}.snap-guideline-y{pointer-events:none;z-index:5;border-top:1px dashed #ef4444;width:100%;height:1px;position:absolute;left:0}.mindmap-group-box{z-index:2;cursor:default;box-sizing:border-box;background-color:#6366f108;border:2px dashed #6366f166;border-radius:16px;flex-direction:column;display:flex;position:absolute}.mindmap-group-box:hover{background-color:#6366f10d;border-color:#6366f1b3}.mindmap-group-box.selected-group-custom{z-index:8;box-shadow:0 0 0 2px var(--accent-primary), 0 10px 28px #0000002e;border-style:solid}.mindmap-group-header{cursor:move;background-color:#6366f114;border-bottom:1px dashed #6366f133;border-top-left-radius:14px;border-top-right-radius:14px;justify-content:space-between;align-items:center;padding:6px 12px;display:flex}.mindmap-group-title-input{color:var(--text-primary);background:0 0;border:none;border-bottom:1px solid #0000;outline:none;width:80%;font-size:.85rem;font-weight:700}.mindmap-group-title-input:focus{border-bottom-color:var(--border-color)}.mindmap-resize-handle{z-index:120;box-sizing:border-box;touch-action:none;position:absolute}.mindmap-resize-handle.n{cursor:n-resize;height:10px;top:-5px;left:16px;right:16px}.mindmap-resize-handle.s{cursor:s-resize;height:10px;bottom:-5px;left:16px;right:16px}.mindmap-resize-handle.e{cursor:e-resize;width:10px;top:16px;bottom:16px;right:-5px}.mindmap-resize-handle.w{cursor:w-resize;width:10px;top:16px;bottom:16px;left:-5px}.mindmap-resize-handle.nw{cursor:nw-resize;width:14px;height:14px;top:-7px;left:-7px}.mindmap-resize-handle.ne{cursor:ne-resize;width:14px;height:14px;top:-7px;right:-7px}.mindmap-resize-handle.sw{cursor:sw-resize;width:14px;height:14px;bottom:-7px;left:-7px}.mindmap-resize-handle.se{cursor:se-resize;width:14px;height:14px;bottom:-7px;right:-7px}:is(.mindmap-card.selected-card-custom,.mindmap-group-box.selected-group-custom) .mindmap-resize-handle:is(.nw,.ne,.sw,.se){border:1px solid var(--accent-primary);background-color:var(--bg-card);border-radius:3px}:is(.mindmap-card.selected-card-custom,.mindmap-group-box.selected-group-custom) .mindmap-resize-handle:is(.n,.s):after{content:"";background:var(--accent-primary);pointer-events:none;border-radius:999px;width:28px;height:3px;position:absolute;left:50%;transform:translate(-50%)}:is(.mindmap-card.selected-card-custom,.mindmap-group-box.selected-group-custom) .mindmap-resize-handle.n:after{top:3px}:is(.mindmap-card.selected-card-custom,.mindmap-group-box.selected-group-custom) .mindmap-resize-handle.s:after{bottom:3px}:is(.mindmap-card.selected-card-custom,.mindmap-group-box.selected-group-custom) .mindmap-resize-handle:is(.e,.w):after{content:"";background:var(--accent-primary);pointer-events:none;border-radius:999px;width:3px;height:28px;position:absolute;top:50%;transform:translateY(-50%)}:is(.mindmap-card.selected-card-custom,.mindmap-group-box.selected-group-custom) .mindmap-resize-handle.e:after{right:3px}:is(.mindmap-card.selected-card-custom,.mindmap-group-box.selected-group-custom) .mindmap-resize-handle.w:after{left:3px}.connect-dot{background-color:var(--md-sys-color-primary);z-index:140;cursor:crosshair;opacity:0;border:2px solid #fff;border-radius:50%;width:10px;height:10px;transition:opacity .2s,transform .2s,background-color .2s;position:absolute;transform:translate(-50%,-50%)scale(.8);box-shadow:0 2px 6px #0000004d}.mindmap-card:hover .connect-dot,.mindmap-group-box:hover .connect-dot,.mindmap-group-box.selected-group-custom .connect-dot{opacity:1;transform:translate(-50%,-50%)scale(1)}.connect-dot:hover{background-color:var(--accent-primary);transform:translate(-50%,-50%)scale(1.3)}.connect-dot.n{top:-18px;left:50%}.connect-dot.s{top:calc(100% + 18px);left:50%}.connect-dot.e{top:50%;left:calc(100% + 18px)}.connect-dot.w{top:50%;left:-18px}.selection-marquee{border:1.5px dashed var(--accent-primary);z-index:999;pointer-events:none;background-color:#6366f114;border-radius:4px;position:absolute}.mindmap-canvas-container.panning,.mindmap-canvas-container.panning .mindmap-canvas-content{cursor:grabbing!important}.mindmap-canvas-container.resizing-n,.mindmap-canvas-container.resizing-n *{cursor:n-resize!important}.mindmap-canvas-container.resizing-s,.mindmap-canvas-container.resizing-s *{cursor:s-resize!important}.mindmap-canvas-container.resizing-e,.mindmap-canvas-container.resizing-e *{cursor:e-resize!important}.mindmap-canvas-container.resizing-w,.mindmap-canvas-container.resizing-w *{cursor:w-resize!important}.mindmap-canvas-container.resizing-nw,.mindmap-canvas-container.resizing-nw *{cursor:nw-resize!important}.mindmap-canvas-container.resizing-ne,.mindmap-canvas-container.resizing-ne *{cursor:ne-resize!important}.mindmap-canvas-container.resizing-sw,.mindmap-canvas-container.resizing-sw *{cursor:sw-resize!important}.mindmap-canvas-container.resizing-se,.mindmap-canvas-container.resizing-se *{cursor:se-resize!important}.storyboard-page{max-width:1600px}.storyboard-page-header{align-items:center}.storyboard-shell{flex-direction:column;gap:10px;display:flex}.storyboard-page-actions .btn{white-space:nowrap;align-items:center;gap:6px;min-height:32px;display:inline-flex}.template-picker-scrim{z-index:12000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000009e;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.template-picker-panel{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container);border-radius:18px;flex-direction:column;width:min(430px,100%);max-height:min(720px,100vh - 48px);display:flex;overflow:hidden;box-shadow:0 24px 64px #0000006b}.template-picker-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;min-height:62px;padding:0 16px 0 20px;display:flex}.template-picker-header h2{margin:0;font-size:1rem}.template-picker-close{width:36px;height:36px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;padding:0}.template-picker-close:hover{background:var(--md-sys-color-surface-container-high);color:var(--text-primary)}.template-picker-list{scrollbar-width:none;overflow-y:auto}.template-picker-list::-webkit-scrollbar{display:none}.template-picker-group{border-bottom:1px solid var(--border-color);padding:10px 12px 12px}.template-picker-group:last-child{border-bottom:0}.template-picker-group-title{color:var(--text-muted);letter-spacing:.02em;padding:0 8px 5px;font-size:.72rem;font-weight:500}.template-picker-option{width:100%;min-height:34px;color:var(--text-primary);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:8px;padding:6px 8px;display:flex}.template-picker-option:before{content:"•";color:var(--text-muted)}.template-picker-option svg{opacity:0;color:var(--accent-primary);margin-left:auto}.template-picker-option:hover,.template-picker-option:focus-visible{background:var(--md-sys-color-surface-container-high);color:var(--accent-primary);outline:0}.template-picker-option:hover svg,.template-picker-option:focus-visible svg{opacity:1}.storyboard-search-filter{flex:0 300px;width:min(300px,34vw)}.storyboard-workspace{min-width:0;display:block}.storyboard-workspace>.mindmap-canvas-container{background:var(--md-sys-color-surface-container-low);height:72vh;min-height:620px;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--border-color) 55%, transparent);border-radius:18px;padding:0!important}.storyboard-workspace>.mindmap-canvas-container.infinite-canvas{background-color:var(--md-sys-color-surface-container-lowest);background-image:radial-gradient(color-mix(in srgb, var(--text-muted) 28%, transparent) 1px, transparent 1px)}.storyboard-floating-toolbar{z-index:80;pointer-events:auto;flex-direction:column;gap:8px;display:flex;position:absolute;top:50%;right:16px;transform:translateY(-50%)}.storyboard-floating-toolbar-group{border:1px solid color-mix(in srgb, var(--border-color) 85%, transparent);background:color-mix(in srgb, var(--md-sys-color-surface-container-high) 94%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:9px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 8px 22px #0003}.storyboard-floating-toolbar button{border:0;border-bottom:1px solid color-mix(in srgb, var(--border-color) 72%, transparent);width:38px;height:38px;color:var(--text-secondary);cursor:pointer;background:0 0;place-items:center;padding:0;transition:background-color .12s,color .12s;display:grid}.storyboard-floating-toolbar button:last-child{border-bottom:0}.storyboard-floating-toolbar button:hover{background:var(--md-sys-color-surface-container-highest);color:var(--accent-primary)}.storyboard-floating-toolbar button.danger:hover{background:color-mix(in srgb, var(--md-sys-color-error,#ba1a1a) 12%, transparent);color:var(--md-sys-color-error,#ba1a1a)}.storyboard-floating-toolbar button.active{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.storyboard-floating-toolbar button:disabled{opacity:.36;color:var(--text-muted);cursor:not-allowed}.storyboard-floating-toolbar button:disabled:hover{color:var(--text-muted);background:0 0}.storyboard-floating-toolbar button:focus-visible{z-index:1;outline:2px solid var(--accent-primary);outline-offset:-2px;position:relative}.storyboard-bottom-toolbar{z-index:80;border:1px solid color-mix(in srgb, var(--border-color) 85%, transparent);background:color-mix(in srgb, var(--md-sys-color-surface-container-high) 94%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);scrollbar-width:none;pointer-events:auto;border-radius:14px;align-items:center;gap:2px;max-width:calc(100% - 112px);padding:4px;display:flex;position:absolute;bottom:16px;left:50%;overflow-x:auto;transform:translate(-50%);box-shadow:0 10px 28px #0000003d}.storyboard-bottom-toolbar::-webkit-scrollbar{display:none}.storyboard-bottom-toolbar button{min-width:max-content;height:38px;color:var(--text-secondary);font:600 .7rem/1 var(--font-ui);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:0 12px;transition:background-color .12s,color .12s;display:inline-flex}.storyboard-bottom-toolbar button:hover{background:var(--md-sys-color-surface-container-highest);color:var(--accent-primary)}.storyboard-bottom-toolbar button:focus-visible{outline:2px solid var(--accent-primary);outline-offset:-2px}.storyboard-bottom-toolbar button:disabled{color:var(--text-muted);opacity:.36;cursor:not-allowed}.storyboard-canvas-settings-popover{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-high);width:220px;color:var(--text-primary);border-radius:12px;position:absolute;top:0;right:48px;overflow:hidden;box-shadow:0 14px 34px #0000004d}.storyboard-canvas-settings-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:0 8px 0 14px;display:flex}.storyboard-canvas-settings-header strong{font-size:.78rem}.storyboard-floating-toolbar .storyboard-canvas-settings-header button{border:0;border-radius:7px;width:30px;height:30px}.storyboard-canvas-settings-popover>label{border-bottom:1px solid color-mix(in srgb, var(--border-color) 70%, transparent);min-height:42px;color:var(--text-secondary);cursor:pointer;justify-content:space-between;align-items:center;gap:14px;padding:0 14px;font-size:.75rem;font-weight:600;display:flex}.storyboard-canvas-settings-popover>label:last-child{border-bottom:0}.storyboard-canvas-settings-popover input{accent-color:var(--accent-primary)}.storyboard-workspace .mindmap-canvas-content{background-color:var(--md-sys-color-surface-container-lowest);background-image:radial-gradient(color-mix(in srgb, var(--text-muted) 28%, transparent) 1px, transparent 1px);background-size:24px 24px}.storyboard-workspace .mindmap-canvas-content.finite-mode{border:1px solid var(--border-color);border-radius:14px;box-shadow:0 12px 34px #00000024}.storyboard-inspector{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);border-radius:18px;flex-direction:column;min-height:420px;max-height:72vh;display:flex;position:sticky;top:12px;overflow:hidden;box-shadow:0 10px 28px #0000001a}.structure-inspector-slot{flex-direction:column;width:100%;height:100%;min-height:0;display:flex;overflow:hidden}.inspector-panel .storyboard-inspector{width:100%;height:100%;min-height:0;max-height:none;box-shadow:none;border:0;border-radius:0;position:static}.storyboard-inspector-header{border-bottom:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:14px 16px;display:flex}.storyboard-inspector-header>div{flex-direction:column;gap:2px;min-width:0;display:flex}.storyboard-inspector-header span{color:var(--text-muted);letter-spacing:.07em;text-transform:uppercase;font-size:.66rem;font-weight:700}.storyboard-inspector-header strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;overflow:hidden}.storyboard-inspector-content{flex-direction:column;gap:16px;padding:16px;display:flex;overflow-y:auto}.storyboard-field{flex-direction:column;gap:6px;min-width:0;display:flex}.storyboard-field>span,.storyboard-inspector-label{color:var(--text-secondary);font-size:var(--type-label);font-weight:700}.storyboard-field :is(input,textarea,select){border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);width:100%;color:var(--text-primary);border-radius:10px;outline:0}.storyboard-field input,.storyboard-field select{min-height:38px;padding:8px 10px}.storyboard-field textarea{resize:vertical;min-height:118px;padding:10px;line-height:1.55}.storyboard-field :is(input,textarea,select):focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px var(--accent-glow)}.storyboard-field-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.storyboard-inspector-section{flex-direction:column;gap:8px;display:flex}.storyboard-scene-link{border:1px solid var(--border-color);background:var(--md-sys-color-primary-container);width:100%;color:var(--md-sys-color-on-primary-container);cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;display:flex;overflow:hidden}.storyboard-scene-link span{font-size:var(--type-label);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.storyboard-color-row{gap:9px;display:flex}.storyboard-color-row button{cursor:pointer;border:2px solid #0000;border-radius:50%;width:26px;height:26px;padding:0}.storyboard-color-row button.active{border-color:var(--text-primary);box-shadow:0 0 0 2px var(--md-sys-color-surface-container-lowest)}.storyboard-segmented-control{border:1px solid var(--border-color);border-radius:10px;grid-template-columns:repeat(4,1fr);display:grid;overflow:hidden}.storyboard-segmented-control button{border:0;border-right:1px solid var(--border-color);min-height:34px;color:var(--text-secondary);cursor:pointer;background:0 0;justify-content:center;align-items:center;display:flex}.storyboard-segmented-control button:last-child{border-right:0}.storyboard-segmented-control button.active{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.storyboard-asset-actions,.storyboard-inspector-action-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.storyboard-asset-actions .btn,.storyboard-inspector-action-grid .btn{justify-content:center;padding-inline:8px}.storyboard-card-meta{border-top:1px solid var(--border-color);color:var(--text-muted);font-size:var(--type-label);justify-content:space-between;gap:10px;padding-top:12px;display:flex}.storyboard-delete-action{color:var(--md-sys-color-error,#ba1a1a);justify-content:center}.storyboard-inspector-empty{min-height:190px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:20px;display:flex}.storyboard-inspector-empty svg{color:var(--accent-primary);opacity:.75;margin-bottom:4px}.storyboard-inspector-empty strong{color:var(--text-primary);font-size:var(--type-body)}.storyboard-inspector-empty span{max-width:230px;font-size:var(--type-label);line-height:1.45}.storyboard-canvas-toggles label{border-bottom:1px solid var(--border-color);min-height:40px;color:var(--text-secondary);font-size:var(--type-body);justify-content:space-between;align-items:center;gap:12px;display:flex}.storyboard-selection-count{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);border-radius:12px;align-items:baseline;gap:7px;padding:14px;display:flex}.storyboard-selection-count strong{font-size:1.5rem}.storyboard-multi-selection p{color:var(--text-secondary);font-size:var(--type-body);margin:0;line-height:1.5}.storyboard-workspace .mindmap-card{background:var(--md-sys-color-surface-container-lowest);border-radius:14px;transition:left .11s cubic-bezier(.2,0,0,1),top .11s cubic-bezier(.2,0,0,1),width .11s cubic-bezier(.2,0,0,1),height .11s cubic-bezier(.2,0,0,1),opacity .13s,box-shadow .13s,border-color .13s;overflow:visible;transform:translateZ(0);box-shadow:0 5px 16px #00000029;border:1px solid var(--border-color)!important}.storyboard-workspace .mindmap-card:hover{box-shadow:0 10px 28px #00000038}.storyboard-workspace .mindmap-card.selected-card-custom{box-shadow:0 0 0 2px var(--accent-primary), 0 12px 30px #00000038!important}.storyboard-workspace .mindmap-card.dragging,.storyboard-workspace .mindmap-card.resizing,.storyboard-workspace .mindmap-canvas-container[class*=resizing-] .mindmap-card{will-change:left, top, width, height;transition:none!important}.storyboard-workspace .mindmap-card.dragging{transform:translateZ(0)}.storyboard-workspace .mindmap-card-header{letter-spacing:.075em;border-radius:13px 13px 0 0;min-height:34px;padding:8px 11px;font-size:.64rem}.storyboard-workspace .mindmap-card-sequence-title{color:#fff;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.storyboard-workspace .mindmap-card-body{gap:10px;min-height:0;padding:13px;overflow:hidden}.storyboard-workspace .mindmap-card-textarea{min-height:68px;line-height:1.5;overflow:hidden}.storyboard-workspace .mindmap-card-secondary-controls{display:none!important}.storyboard-workspace .mindmap-card-footer{background:var(--md-sys-color-surface-container-low);border-radius:0 0 13px 13px;min-height:38px;padding:7px 10px}.storyboard-workspace .mindmap-card-footer>div:first-child{display:none!important}.storyboard-workspace .mindmap-card-footer>div:last-child{justify-content:flex-end;width:auto;margin-left:auto}.mindmap-card-footer-tag{background:var(--md-sys-color-primary-container);max-width:88px;color:var(--md-sys-color-on-primary-container);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:3px 8px;font-size:.62rem;font-weight:700;line-height:1.2;overflow:hidden}.mindmap-card-footer-tags{flex-wrap:wrap;flex:1;gap:4px;min-width:0;display:flex;overflow:hidden}.storyboard-tag-multiselect{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);border-radius:10px;flex-wrap:wrap;align-items:center;gap:5px;min-height:38px;padding:5px 7px;display:flex}.storyboard-tag-multiselect:focus-within{border-color:var(--accent-primary);box-shadow:0 0 0 2px var(--accent-glow)}.storyboard-tag-multiselect input,.storyboard-field .storyboard-tag-multiselect input{min-width:72px;min-height:24px;color:var(--text-primary);box-shadow:none;background:0 0;border:0;outline:0;flex:1;padding:2px;font-size:.72rem}.storyboard-tag-token{background:var(--md-sys-color-primary-container);min-width:0;color:var(--md-sys-color-on-primary-container);border-radius:999px;align-items:center;gap:3px;padding:3px 5px 3px 7px;font-size:.66rem;font-weight:700;display:inline-flex}.storyboard-tag-token>span{text-overflow:ellipsis;white-space:nowrap;max-width:100px;overflow:hidden}.storyboard-tag-token button{width:18px;height:18px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;display:inline-flex}.storyboard-tag-token button:hover{background:color-mix(in srgb, currentColor 12%, transparent)}.storyboard-tag-multiselect.compact{border-radius:5px;gap:3px;min-height:26px;padding:2px 4px}.storyboard-tag-multiselect.compact .storyboard-tag-token{padding:2px 3px 2px 5px;font-size:.58rem}.storyboard-tag-multiselect.compact .storyboard-tag-token button{width:14px;height:14px}.storyboard-tag-multiselect.compact input{min-width:54px;min-height:20px;font-size:.62rem}.storyboard-inspector-setting-row{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:11px 12px;display:flex}.storyboard-inspector-setting-row>div{flex-direction:column;gap:3px;min-width:0;display:flex}.storyboard-inspector-setting-row small{color:var(--text-muted);font-size:.65rem;line-height:1.35}.storyboard-workspace .mindmap-card-footer .btn{font-size:.68rem!important}.storyboard-workspace .mindmap-group-box{border-style:solid;border-width:1px;border-radius:18px;transition:left .11s cubic-bezier(.2,0,0,1),top .11s cubic-bezier(.2,0,0,1),width .11s cubic-bezier(.2,0,0,1),height .11s cubic-bezier(.2,0,0,1),border-color .13s,background-color .13s}.storyboard-workspace .mindmap-group-box.dragging,.storyboard-workspace .mindmap-group-box.resizing{will-change:left, top, width, height;transition:none}.storyboard-workspace .mindmap-group-header{border-radius:17px 17px 0 0;min-height:36px}.storyboard-workspace .connect-dot{border-color:var(--md-sys-color-surface-container-lowest);width:12px;height:12px;transition:opacity .11s,transform .11s cubic-bezier(.2,0,0,1),background-color .11s,box-shadow .11s}.storyboard-workspace .mindmap-card.selected-card-custom .connect-dot,.storyboard-workspace .mindmap-card:hover .connect-dot{opacity:1}@media (width<=1180px){.storyboard-inspector-content{max-height:520px}}@media (width<=760px){.storyboard-page-actions .storyboard-search-filter{flex-basis:100%;width:100%}.storyboard-workspace>.mindmap-canvas-container{min-height:520px;padding:0!important}.storyboard-floating-toolbar{right:10px}.storyboard-bottom-toolbar{max-width:calc(100% - 76px);bottom:10px}.storyboard-bottom-toolbar button{width:38px;min-width:38px;padding:0}.storyboard-bottom-toolbar button span{display:none}.storyboard-field-grid,.storyboard-asset-actions,.storyboard-inspector-action-grid{grid-template-columns:1fr}}.dashboard-page-container{width:100%;max-width:1400px;min-height:calc(100vh - 44px);color:var(--text-primary);padding:20px}.dashboard-page-container-centered{margin-inline:auto}.scratchpad-page-container{width:100%;max-width:1400px;margin-inline:auto}.dashboard-page-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:16px;width:100%;margin:0 auto 14px;padding-bottom:14px;display:flex}.scene-breakdown-page{margin-inline:auto}.breakdown-page-title{color:var(--accent-primary);align-items:center;gap:10px;margin:0 0 8px;font-size:1.75rem;font-weight:700;display:flex}.breakdown-page-description{color:var(--text-secondary);font-size:.9rem}.breakdown-header-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:8px;display:flex}.breakdown-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.breakdown-summary-card{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);min-height:78px;color:var(--accent-primary);border-radius:14px;align-items:center;gap:13px;padding:16px;display:flex}.breakdown-summary-card div{flex-direction:column;min-width:0;display:flex}.breakdown-summary-card strong{color:var(--text-primary);font-size:1.25rem;line-height:1.1}.breakdown-summary-card span{color:var(--text-secondary);margin-top:4px;font-size:.74rem}.breakdown-intelligence-strip{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);border-radius:14px;grid-template-columns:minmax(140px,.6fr) minmax(200px,1.4fr) minmax(150px,.7fr) minmax(150px,.7fr);align-items:center;gap:18px;min-height:72px;margin-bottom:20px;padding:13px 16px;display:grid}.breakdown-intelligence-strip>div:not(.breakdown-progress){flex-direction:column;min-width:0;display:flex}.breakdown-intelligence-strip span{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.58rem;font-weight:800}.breakdown-intelligence-strip strong{text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.78rem;overflow:hidden}.breakdown-intelligence-strip small{color:var(--text-secondary);margin-top:3px;font-size:.6rem}.breakdown-progress{background:var(--md-sys-color-surface-container-highest);border-radius:9px;height:9px;overflow:hidden}.breakdown-progress span{border-radius:inherit;background:var(--accent-primary);height:100%;transition:width .22s var(--md-easing-standard);display:block}.breakdown-workspace{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);border-radius:18px;grid-template-columns:320px minmax(0,1fr);min-height:620px;display:grid;overflow:hidden}.breakdown-scene-panel{border-right:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);min-width:0}.breakdown-panel-toolbar{border-bottom:1px solid var(--border-color);flex-direction:column;gap:10px;padding:14px;display:flex}.breakdown-search{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-high);height:40px;color:var(--text-muted);border-radius:20px;align-items:center;gap:9px;padding:0 13px;display:flex}.breakdown-search:focus-within{border-color:var(--accent-primary);box-shadow:0 0 0 2px var(--accent-glow)}.breakdown-search input,.breakdown-panel-toolbar select,.breakdown-field-grid input,.breakdown-add-row input,.breakdown-add-row select,.breakdown-item-copy input,.breakdown-quantity input,.breakdown-status-select,.breakdown-section-card textarea{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);color:var(--text-primary);font:inherit;outline:none}.breakdown-search input{background:0 0;border:0;flex:1;min-width:0}.breakdown-panel-toolbar select{border-radius:10px;height:38px;padding:0 11px}.breakdown-scene-list{max-height:680px;padding:8px;overflow-y:auto}.breakdown-scene-item{width:100%;color:var(--text-primary);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;grid-template-columns:30px minmax(0,1fr) 10px;align-items:center;gap:9px;padding:11px 10px;display:grid}.breakdown-scene-item:hover{background:var(--md-sys-color-surface-container-high)}.breakdown-scene-item.active{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.breakdown-scene-number{background:var(--md-sys-color-surface-container-highest);border-radius:50%;place-items:center;width:28px;height:28px;font-size:.72rem;font-weight:700;display:grid}.breakdown-scene-copy{flex-direction:column;min-width:0;display:flex}.breakdown-scene-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.breakdown-scene-copy small{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.66rem;overflow:hidden}.breakdown-status-dot{background:var(--text-muted);border-radius:50%;width:9px;height:9px}.status-locked{--status-color:var(--accent-primary)}.status-not-started{--status-color:var(--text-muted)}.breakdown-status-dot{background:var(--status-color)}.breakdown-no-results,.breakdown-items-empty{color:var(--text-muted);text-align:center;padding:24px;font-size:.78rem}.breakdown-detail-panel{flex-direction:column;gap:16px;min-width:0;padding:22px;display:flex}.breakdown-detail-heading,.breakdown-section-heading{justify-content:space-between;align-items:center;gap:18px;display:flex}.breakdown-eyebrow{color:var(--accent-primary);letter-spacing:.08em;text-transform:uppercase;font-size:.7rem;font-weight:700}.breakdown-detail-heading h3{margin-top:4px;font-size:1.15rem}.breakdown-status-select{border-color:var(--status-color);min-width:132px;height:38px;color:var(--text-primary);border-radius:19px;padding:0 12px;font-weight:700}.breakdown-facts{flex-wrap:wrap;gap:8px;display:flex}.breakdown-facts span{background:var(--md-sys-color-surface-container-high);min-height:30px;color:var(--text-secondary);border-radius:15px;align-items:center;gap:6px;padding:6px 10px;font-size:.72rem;display:inline-flex}.breakdown-section-card{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);border-radius:14px;padding:17px}.breakdown-section-card h4{align-items:center;gap:7px;font-size:.9rem;display:flex}.breakdown-section-heading p{color:var(--text-secondary);margin-top:4px;font-size:.72rem}.breakdown-field-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.breakdown-field-grid label,.breakdown-quantity{color:var(--text-secondary);flex-direction:column;gap:6px;font-size:.68rem;font-weight:700;display:flex}.breakdown-field-grid input,.breakdown-add-row input,.breakdown-add-row select{border-radius:9px;height:40px;padding:0 11px}.breakdown-detected-chips{flex-wrap:wrap;gap:7px;margin-top:13px;display:flex}.breakdown-detected-chips span{border:1px solid var(--border-color);color:var(--text-secondary);border-radius:8px;align-items:center;gap:7px;padding:6px 9px;font-size:.7rem;display:inline-flex}.breakdown-detected-chips strong{color:var(--accent-primary);text-transform:uppercase;font-size:.63rem}.breakdown-add-row{grid-template-columns:180px minmax(160px,1fr) auto;gap:9px;margin-top:14px;display:grid}.breakdown-items-list{flex-direction:column;gap:7px;margin-top:14px;display:flex}.breakdown-item-row{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);border-radius:10px;grid-template-columns:130px minmax(0,1fr) 58px 32px;align-items:center;gap:10px;padding:10px;display:grid}.breakdown-category-chip{color:var(--accent-primary);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:700;overflow:hidden}.breakdown-item-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.breakdown-item-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.breakdown-item-copy input{width:100%;color:var(--text-secondary);background:0 0;border:0;font-size:.68rem}.breakdown-quantity input{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);width:54px;height:32px;color:var(--text-primary);border-radius:8px;padding:0 6px}.breakdown-delete-button{width:32px;height:32px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.breakdown-delete-button:hover{color:#ef4444;background:#dc26261f}.breakdown-section-card textarea{resize:vertical;border-radius:10px;width:100%;min-height:92px;margin-top:12px;padding:11px;line-height:1.45}.breakdown-empty{border:1px dashed var(--border-color);min-height:360px;color:var(--text-muted);border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.breakdown-empty h3{color:var(--text-primary)}.breakdown-empty p{font-size:.82rem}@media (width<=1050px){.breakdown-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.breakdown-workspace{grid-template-columns:260px minmax(0,1fr)}.breakdown-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.breakdown-add-row{grid-template-columns:1fr 1fr}.breakdown-add-row .btn{grid-column:1/-1}.breakdown-item-row{grid-template-columns:110px minmax(0,1fr) 58px 32px}.breakdown-intelligence-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.breakdown-workspace{grid-template-columns:1fr}.breakdown-scene-panel{border-right:0;border-bottom:1px solid var(--border-color)}.breakdown-scene-list{max-height:280px}.breakdown-summary-grid,.breakdown-field-grid{grid-template-columns:1fr}.breakdown-item-row{grid-template-columns:1fr 58px 32px}.breakdown-category-chip{grid-column:1/-1}.breakdown-header-actions{width:100%}.breakdown-header-actions .btn{flex:1}.breakdown-intelligence-strip{grid-template-columns:1fr}}.shot-list-page{margin-inline:auto}.shot-list-page-title{color:var(--accent-primary);align-items:center;gap:10px;margin:0 0 8px;font-size:1.75rem;font-weight:700;display:flex}.shot-list-page-description{color:var(--text-secondary);font-size:.9rem}.shot-list-header-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:8px;display:flex}.shot-list-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.shot-list-summary-card{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);min-height:78px;color:var(--accent-primary);border-radius:14px;align-items:center;gap:13px;padding:16px;display:flex}.shot-list-summary-card div{flex-direction:column;min-width:0;display:flex}.shot-list-summary-card strong{color:var(--text-primary);font-size:1.25rem;line-height:1.1}.shot-list-summary-card span{color:var(--text-secondary);margin-top:4px;font-size:.74rem}.shot-list-intelligence-strip{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);border-radius:14px;grid-template-columns:minmax(140px,.6fr) minmax(200px,1.4fr) minmax(150px,.7fr) minmax(150px,.7fr);align-items:center;gap:18px;min-height:72px;margin-bottom:20px;padding:13px 16px;display:grid}.shot-list-intelligence-strip>div:not(.shot-list-progress){flex-direction:column;min-width:0;display:flex}.shot-list-intelligence-strip span{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.58rem;font-weight:800}.shot-list-intelligence-strip strong{text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.78rem;overflow:hidden}.shot-list-intelligence-strip small{color:var(--text-secondary);margin-top:3px;font-size:.6rem}.shot-list-progress{background:var(--md-sys-color-surface-container-highest);border-radius:9px;height:9px;overflow:hidden}.shot-list-progress span{border-radius:inherit;background:var(--accent-primary);height:100%;transition:width .22s var(--md-easing-standard);display:block}.shot-list-workspace{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);border-radius:18px;grid-template-columns:245px minmax(360px,.9fr) minmax(380px,1.1fr);min-height:650px;display:grid;overflow:hidden}.shot-list-scenes-panel,.shot-list-board{border-right:1px solid var(--border-color);min-width:0}.shot-list-scenes-panel{background:var(--md-sys-color-surface-container-low)}.shot-list-panel-label{border-bottom:1px solid var(--border-color);color:var(--text-muted);letter-spacing:.09em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:8px;padding:17px;font-size:.7rem;font-weight:700;display:flex}.shot-list-panel-label span{color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit}.shot-list-panel-label select{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);max-width:105px;height:29px;color:var(--text-primary);font:600 .59rem var(--font-ui);letter-spacing:normal;text-transform:none;border-radius:8px;outline:0;padding:0 7px}.shot-list-scene-filter-empty{color:var(--text-muted);text-align:center;padding:28px 12px;font-size:.68rem}.shot-list-scenes-scroll{max-height:690px;padding:8px;overflow-y:auto}.shot-list-scene-item{width:100%;color:var(--text-primary);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:11px;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px;display:grid}.shot-list-scene-item:hover{background:var(--md-sys-color-surface-container-high)}.shot-list-scene-item.active{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.shot-list-scene-number{background:var(--md-sys-color-surface-container-highest);border-radius:50%;place-items:center;width:27px;height:27px;font-size:.7rem;font-weight:700;display:grid}.shot-list-scene-item>span:nth-child(2){flex-direction:column;min-width:0;display:flex}.shot-list-scene-item strong{text-overflow:ellipsis;white-space:nowrap;font-size:.74rem;overflow:hidden}.shot-list-scene-item small{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.63rem;overflow:hidden}.shot-list-scene-item em{color:var(--text-muted);font-size:.65rem;font-style:normal}.shot-list-board{background:var(--md-sys-color-surface-container-lowest);flex-direction:column;display:flex}.shot-list-board-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:12px;min-height:84px;padding:15px 16px;display:flex}.shot-list-board-header span{color:var(--accent-primary);text-transform:uppercase;font-size:.65rem;font-weight:700}.shot-list-board-header h3{text-overflow:ellipsis;white-space:nowrap;max-width:300px;margin-top:4px;font-size:.82rem;overflow:hidden}.shot-list-board-actions{gap:6px;display:flex}.shot-list-board-actions .btn{min-height:35px;padding:7px 10px;font-size:.69rem}.shot-list-filters{border-bottom:1px solid var(--border-color);grid-template-columns:minmax(0,1fr) 125px;gap:7px;padding:11px;display:grid}.shot-list-filters label{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-high);height:37px;color:var(--text-muted);border-radius:18px;align-items:center;gap:7px;padding:0 10px;display:flex}.shot-list-filters input{min-width:0;color:var(--text-primary);font:inherit;background:0 0;border:0;outline:0;flex:1;font-size:.72rem}.shot-list-filters select{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);color:var(--text-primary);font:inherit;border-radius:9px;padding:0 8px;font-size:.68rem}.shot-list-cards{flex-direction:column;gap:7px;max-height:650px;padding:9px;display:flex;overflow-y:auto}.shot-list-card{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);color:var(--text-primary);cursor:pointer;text-align:left;border-radius:11px;grid-template-columns:42px minmax(0,1fr) auto 25px;align-items:center;gap:8px;padding:10px;display:grid}.shot-list-card:hover{border-color:var(--accent-primary)}.shot-list-card.active{border-color:var(--accent-primary);background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.shot-list-card-number{color:var(--accent-primary);font-size:.78rem;font-weight:800}.shot-list-card-copy{flex-direction:column;min-width:0;display:flex}.shot-list-card-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.shot-list-card-copy small{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.62rem;overflow:hidden}.shot-list-card-meta{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.shot-list-card-meta small{color:var(--text-muted);font-size:.62rem}.shot-status{background:var(--status-color);color:#fff;border-radius:8px;padding:3px 6px;font-size:.58rem;font-style:normal;font-weight:700}.status-planned{--status-color:#64748b}.status-ready{--status-color:#8b5cf6}.status-cancelled{--status-color:#dc2626}.shot-list-order-actions{flex-direction:column;gap:2px;display:flex}.shot-list-order-actions button{width:23px;height:21px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;display:grid}.shot-list-order-actions button:hover:not(:disabled){background:var(--accent-glow);color:var(--accent-primary)}.shot-list-order-actions button:disabled{opacity:.25;cursor:default}.shot-list-board-empty,.shot-list-editor-empty,.shot-list-empty{min-height:280px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.shot-list-board-empty p,.shot-list-editor-empty p,.shot-list-empty p{font-size:.75rem}.shot-list-empty{border:1px dashed var(--border-color);border-radius:16px;min-height:360px}.shot-list-empty h3{color:var(--text-primary)}.shot-list-editor{background:var(--md-sys-color-surface-container-low);min-width:0;padding:17px;overflow-y:auto}.shot-list-editor-header{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.shot-list-editor-header>div:first-child{flex-direction:column;display:flex}.shot-list-editor-header span{color:var(--text-muted);text-transform:uppercase;font-size:.65rem;font-weight:700}.shot-list-editor-header strong{color:var(--accent-primary);margin-top:3px;font-size:1.1rem}.shot-list-editor-header>div:last-child{gap:5px;display:flex}.shot-list-editor-header button{background:var(--md-sys-color-surface-container-high);width:34px;height:34px;color:var(--text-secondary);cursor:pointer;border:0;border-radius:50%;place-items:center;display:grid}.shot-list-editor-header button:hover{color:var(--accent-primary)}.shot-list-field,.shot-list-field-grid label{color:var(--text-secondary);flex-direction:column;gap:6px;font-size:.66rem;font-weight:700;display:flex}.shot-list-field{margin-bottom:12px}.shot-list-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:12px;display:grid}.shot-list-field input,.shot-list-field select,.shot-list-field textarea,.shot-list-field-grid input,.shot-list-field-grid select{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);width:100%;min-height:38px;color:var(--text-primary);font:inherit;border-radius:9px;outline:0;padding:0 10px;font-size:.72rem}.shot-list-field textarea{resize:vertical;min-height:74px;padding:9px 10px;line-height:1.4}.shot-list-field input:focus,.shot-list-field select:focus,.shot-list-field textarea:focus,.shot-list-field-grid input:focus,.shot-list-field-grid select:focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px var(--accent-glow)}.shot-list-source-badge{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);border-radius:9px;align-items:center;gap:7px;padding:9px;font-size:.67rem;font-weight:700;display:flex}@media (width<=1200px){.shot-list-workspace{grid-template-columns:220px minmax(340px,1fr)}.shot-list-editor{border-top:1px solid var(--border-color);grid-column:1/-1}.shot-list-field-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.shot-list-intelligence-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=850px){.shot-list-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shot-list-workspace{grid-template-columns:1fr}.shot-list-scenes-panel,.shot-list-board{border-right:0;border-bottom:1px solid var(--border-color)}.shot-list-scenes-scroll{max-height:250px}.shot-list-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shot-list-header-actions{width:100%}.shot-list-header-actions .btn{flex:1}.shot-list-intelligence-strip{grid-template-columns:1fr}}@media (width<=560px){.shot-list-summary-grid{grid-template-columns:1fr}.shot-list-board-header{flex-direction:column;align-items:flex-start}.shot-list-filters,.shot-list-field-grid{grid-template-columns:1fr}.shot-list-card{grid-template-columns:40px minmax(0,1fr) 25px}.shot-list-card-meta{grid-column:2;align-items:flex-start}.shot-list-order-actions{grid-area:1/3/span 2}}.shooting-schedule-page{margin-inline:auto}.schedule-page-title{color:var(--accent-primary);align-items:center;gap:10px;margin:0 0 8px;font-size:1.75rem;font-weight:700;display:flex}.schedule-page-description{color:var(--text-secondary);font-size:.9rem}.schedule-header-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:8px;display:flex}.schedule-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.schedule-summary-card{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);min-height:78px;color:var(--accent-primary);border-radius:14px;align-items:center;gap:13px;padding:16px;display:flex}.schedule-summary-card div{flex-direction:column;min-width:0;display:flex}.schedule-summary-card strong{color:var(--text-primary);font-size:1.2rem;line-height:1.1}.schedule-summary-card span{color:var(--text-secondary);margin-top:4px;font-size:.72rem}.schedule-intelligence-strip{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);border-radius:14px;grid-template-columns:minmax(150px,.7fr) minmax(200px,1.4fr) minmax(170px,.8fr) minmax(150px,.7fr);align-items:center;gap:18px;min-height:72px;margin-bottom:20px;padding:13px 16px;display:grid}.schedule-intelligence-strip>div:not(.schedule-progress){flex-direction:column;min-width:0;display:flex}.schedule-intelligence-strip span{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.58rem;font-weight:800}.schedule-intelligence-strip strong{text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.78rem;overflow:hidden}.schedule-intelligence-strip small{color:var(--text-secondary);margin-top:3px;font-size:.6rem}.schedule-intelligence-strip .has-conflict strong,.schedule-intelligence-strip .has-conflict small{color:#d97706}.schedule-progress{background:var(--md-sys-color-surface-container-highest);border-radius:9px;height:9px;overflow:hidden}.schedule-progress span{border-radius:inherit;background:var(--accent-primary);height:100%;transition:width .22s var(--md-easing-standard);display:block}.schedule-workspace{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);border-radius:18px;grid-template-columns:320px minmax(0,1fr);min-height:650px;display:grid;overflow:hidden}.schedule-days-panel{border-right:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);min-width:0}.schedule-panel-title{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:10px;min-height:52px;padding:0 15px;display:flex}.schedule-panel-title span{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;font-size:.7rem;font-weight:700}.schedule-panel-title em{color:var(--accent-primary);font-size:.65rem;font-style:normal}.schedule-day-list{max-height:430px;padding:8px;overflow-y:auto}.schedule-day-item{width:100%;color:var(--text-primary);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:11px;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px;display:grid}.schedule-day-item:hover{background:var(--md-sys-color-surface-container-high)}.schedule-day-item.active{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.schedule-day-index{background:var(--md-sys-color-surface-container-highest);border-radius:50%;place-items:center;width:28px;height:28px;font-size:.7rem;font-weight:800;display:grid}.schedule-day-copy{flex-direction:column;min-width:0;display:flex}.schedule-day-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.schedule-day-copy small{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.62rem;overflow:hidden}.schedule-status{background:var(--status-color);color:#fff;border-radius:8px;padding:3px 6px;font-size:.57rem;font-style:normal;font-weight:700}.status-draft{--status-color:#64748b}.status-confirmed{--status-color:#7c3aed}.status-in-progress{--status-color:#d97706}.status-completed{--status-color:#16a34a}.schedule-day-empty{min-height:170px;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.schedule-day-empty p{font-size:.74rem}.schedule-unscheduled{border-top:1px solid var(--border-color);padding:14px}.schedule-unscheduled h4{color:var(--text-muted);letter-spacing:.07em;text-transform:uppercase;margin-bottom:9px;font-size:.66rem}.schedule-unscheduled>div{grid-template-columns:24px minmax(0,1fr);align-items:center;gap:7px;padding:7px 4px;display:grid}.schedule-unscheduled>div>span{color:var(--accent-primary);font-size:.68rem;font-weight:800}.schedule-unscheduled p{justify-content:space-between;gap:8px;min-width:0;display:flex}.schedule-unscheduled strong{text-overflow:ellipsis;white-space:nowrap;font-size:.69rem;overflow:hidden}.schedule-unscheduled small{color:var(--text-muted);white-space:nowrap;font-size:.62rem}.schedule-detail-panel{flex-direction:column;gap:15px;min-width:0;padding:20px;display:flex}.schedule-detail-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.schedule-detail-header>div:first-child{flex-direction:column;min-width:0;display:flex}.schedule-detail-header>div:first-child span{color:var(--accent-primary);text-transform:uppercase;font-size:.66rem;font-weight:700}.schedule-detail-header>div:first-child input{min-width:280px;color:var(--text-primary);font:700 1.15rem var(--font-ui);background:0 0;border:0;outline:0;margin-top:3px}.schedule-detail-actions{align-items:center;gap:5px;display:flex}.schedule-detail-actions button{background:var(--md-sys-color-surface-container-high);width:34px;height:34px;color:var(--text-secondary);cursor:pointer;border:0;border-radius:50%;place-items:center;display:grid}.schedule-detail-actions button:hover:not(:disabled){color:var(--accent-primary)}.schedule-detail-actions button:disabled{opacity:.3;cursor:default}.schedule-readiness-banner{background:#d9770614;border:1px solid #d977063d;border-radius:11px;flex-wrap:wrap;gap:8px;padding:10px 12px;display:flex}.schedule-readiness-banner.ready{background:#16a34a14;border-color:#16a34a3d}.schedule-readiness-banner span{color:var(--text-secondary);align-items:center;gap:6px;padding:4px 7px;font-size:.64rem;font-weight:700;display:inline-flex}.schedule-readiness-banner span:first-child{color:#d97706}.schedule-readiness-banner.ready span:first-child{color:#16a34a}.schedule-status-select{border:1px solid var(--status-color);background:var(--md-sys-color-surface-container-low);height:36px;color:var(--text-primary);font:700 .7rem var(--font-ui);border-radius:18px;padding:0 11px}.schedule-section-card{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);border-radius:14px;padding:17px}.schedule-section-card h4{font-size:.87rem}.schedule-field-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:13px;display:grid}.schedule-field-grid label{color:var(--text-secondary);flex-direction:column;gap:6px;font-size:.65rem;font-weight:700;display:flex}.schedule-location-field{grid-column:span 2}.schedule-field-grid input,.schedule-assign-row select,.schedule-section-card textarea{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);width:100%;min-height:39px;color:var(--text-primary);font:inherit;border-radius:9px;outline:0;padding:0 10px}.schedule-field-grid input:focus,.schedule-assign-row select:focus,.schedule-section-card textarea:focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px var(--accent-glow)}.schedule-day-metrics{flex-wrap:wrap;gap:7px;margin-top:13px;display:flex}.schedule-day-metrics span{background:var(--md-sys-color-surface-container-high);color:var(--text-secondary);border-radius:14px;align-items:center;gap:6px;padding:6px 9px;font-size:.67rem;display:inline-flex}.schedule-section-heading{justify-content:space-between;gap:12px;display:flex}.schedule-section-heading p{color:var(--text-secondary);margin-top:3px;font-size:.69rem}.schedule-assign-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:13px;display:grid}.schedule-assign-row .btn{min-height:39px}.schedule-scenes-empty{color:var(--text-muted);text-align:center;padding:28px;font-size:.73rem}.schedule-scene-list{flex-direction:column;gap:7px;margin-top:13px;display:flex}.schedule-scene-row{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);border-radius:10px;grid-template-columns:28px minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:10px;display:grid}.schedule-scene-order{background:var(--md-sys-color-surface-container-high);width:27px;height:27px;color:var(--accent-primary);border-radius:50%;place-items:center;font-size:.68rem;font-weight:800;display:grid}.schedule-scene-copy{flex-direction:column;min-width:0;display:flex}.schedule-scene-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.schedule-scene-copy small{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.62rem;overflow:hidden}.schedule-breakdown-state{color:#d97706;white-space:nowrap;background:#d9770621;border-radius:8px;padding:4px 7px;font-size:.59rem;font-weight:700}.schedule-breakdown-state.ready{color:#22c55e;background:#16a34a21}.schedule-scene-actions{gap:3px;display:flex}.schedule-scene-actions button{width:28px;height:28px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.schedule-scene-actions button:hover:not(:disabled){background:var(--accent-glow);color:var(--accent-primary)}.schedule-scene-actions button:disabled{opacity:.25;cursor:default}.schedule-section-card textarea{resize:vertical;min-height:88px;margin-top:12px;padding:10px;line-height:1.4}.schedule-detail-empty,.schedule-empty{min-height:360px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.schedule-detail-empty h3,.schedule-empty h3{color:var(--text-primary)}.schedule-detail-empty p,.schedule-empty p{font-size:.76rem}.schedule-detail-empty>div{gap:8px;margin-top:5px;display:flex}.schedule-empty{border:1px dashed var(--border-color);border-radius:16px}@media (width<=1050px){.schedule-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-workspace{grid-template-columns:270px minmax(0,1fr)}.schedule-field-grid,.schedule-intelligence-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.schedule-header-actions{width:100%}.schedule-header-actions .btn{flex:1}.schedule-workspace{grid-template-columns:1fr}.schedule-days-panel{border-right:0;border-bottom:1px solid var(--border-color)}.schedule-day-list{max-height:270px}.schedule-detail-header{flex-direction:column;align-items:flex-start}.schedule-detail-actions{width:100%}.schedule-status-select{margin-right:auto}.schedule-scene-row{grid-template-columns:28px minmax(0,1fr) auto}.schedule-breakdown-state{grid-column:2}.schedule-scene-actions{grid-area:1/3/span 2}.schedule-intelligence-strip{grid-template-columns:1fr}}@media (width<=560px){.schedule-summary-grid,.schedule-field-grid{grid-template-columns:1fr}.schedule-location-field{grid-column:auto}.schedule-assign-row{grid-template-columns:1fr}.schedule-detail-header>div:first-child input{width:100%;min-width:0}}.budget-planner-page{margin-inline:auto}.budget-page-title{color:var(--accent-primary);align-items:center;gap:10px;margin:0 0 8px;font-size:1.75rem;font-weight:700;display:flex}.budget-page-description{color:var(--text-secondary);font-size:.9rem}.budget-header-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:8px;display:flex}.budget-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px;display:grid}.budget-summary-card{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);min-height:78px;color:var(--accent-primary);border-radius:14px;align-items:center;gap:13px;padding:16px;display:flex}.budget-summary-card.over-budget{color:#dc2626;border-color:#dc262659}.budget-summary-card div{flex-direction:column;min-width:0;display:flex}.budget-summary-card strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:1.15rem;line-height:1.1;overflow:hidden}.budget-summary-card span{color:var(--text-secondary);margin-top:4px;font-size:.7rem}.budget-health-card{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);border-radius:14px;grid-template-columns:minmax(180px,.7fr) minmax(240px,1.5fr) minmax(150px,.6fr);align-items:center;gap:20px;min-height:74px;margin-bottom:20px;padding:13px 16px;display:grid}.budget-health-copy,.budget-largest-category{flex-direction:column;min-width:0;display:flex}.budget-health-copy span,.budget-largest-category span{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.58rem;font-weight:800}.budget-health-copy strong,.budget-largest-category strong{text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.78rem;overflow:hidden}.budget-health-copy small,.budget-largest-category small{color:var(--text-secondary);margin-top:3px;font-size:.6rem}.budget-largest-category{text-align:right}.budget-progress-track{background:var(--md-sys-color-surface-container-highest);border-radius:9px;height:9px;overflow:hidden}.budget-progress-track span{border-radius:inherit;background:var(--accent-primary);height:100%;transition:width .22s var(--md-easing-standard);display:block}.budget-workspace{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);border-radius:18px;overflow:hidden}.budget-toolbar{border-bottom:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);grid-template-columns:minmax(220px,1fr) 180px 145px 112px 135px;align-items:center;gap:8px;min-height:64px;padding:11px 14px;display:grid}.budget-toolbar>label{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);min-width:0;min-height:38px;color:var(--text-muted);border-radius:10px;align-items:center;gap:7px;padding:0 10px;display:flex}.budget-toolbar input,.budget-toolbar select{width:100%;min-width:0;color:var(--text-primary);font:600 .65rem var(--font-ui);background:0 0;border:0;outline:0}.budget-toolbar label>span{color:var(--text-muted);font-size:.58rem;font-weight:700}.budget-toolbar label>em{color:var(--text-muted);font-size:.65rem;font-style:normal}.budget-currency-control,.budget-contingency-control{flex-direction:column;justify-content:center;align-items:stretch!important;gap:1px!important}.budget-contingency-control{position:relative;padding-right:25px!important}.budget-contingency-control>em{position:absolute;bottom:7px;right:10px}.budget-table-scroll{overflow-x:auto}.budget-table-header,.budget-line-item{grid-template-columns:minmax(330px,1.5fr) 58px 100px 105px 100px 110px 34px;align-items:center;gap:9px;min-width:1010px;display:grid}.budget-table-header{border-bottom:1px solid var(--border-color);background:var(--md-sys-color-surface-container-high);min-height:38px;color:var(--text-muted);letter-spacing:.05em;text-transform:uppercase;padding:0 14px;font-size:.58rem;font-weight:800}.budget-line-list{min-height:160px}.budget-line-item{border-bottom:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);min-height:83px;padding:9px 14px}.budget-line-item:hover{background:var(--md-sys-color-surface-container-low)}.budget-item-copy{grid-template-columns:135px minmax(160px,1fr);gap:5px 7px;min-width:0;display:grid}.budget-item-copy>div{grid-column:1/-1;grid-template-columns:135px minmax(160px,1fr);gap:7px;display:grid}.budget-item-copy input,.budget-item-copy select,.budget-number-input,.budget-money-input,.budget-line-status{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);width:100%;min-width:0;height:31px;color:var(--text-primary);font:600 .63rem var(--font-ui);border-radius:7px;outline:0;padding:0 8px}.budget-item-copy input:focus,.budget-item-copy select:focus,.budget-number-input:focus,.budget-money-input:focus,.budget-line-status:focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px var(--accent-glow)}.budget-item-copy>input{font-weight:750}.budget-item-copy>div input{height:26px;color:var(--text-secondary);font-size:.58rem}.budget-number-input,.budget-money-input{text-align:right}.budget-planned-value{color:var(--accent-primary);text-align:right;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;overflow:hidden}.budget-line-status{border-color:var(--status-color)}.budget-line-status.status-estimate{--status-color:#64748b}.budget-line-status.status-approved{--status-color:#7c3aed}.budget-line-status.status-committed{--status-color:#d97706}.budget-line-status.status-paid{--status-color:#16a34a}.budget-delete-button{width:31px;height:31px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.budget-delete-button:hover{color:#dc2626;background:#dc26261a}.budget-filter-empty{min-width:1010px;color:var(--text-muted);text-align:center;padding:48px;font-size:.72rem}.budget-empty{min-height:390px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.budget-empty h3{color:var(--text-primary)}.budget-empty p{max-width:460px;font-size:.74rem}.budget-empty>div{gap:8px;margin-top:5px;display:flex}.budget-footer-grid{background:var(--md-sys-color-surface-container-low);grid-template-columns:minmax(0,1fr) 330px;gap:14px;padding:16px;display:grid}.budget-footer-grid>label{color:var(--text-secondary);flex-direction:column;gap:8px;font-size:.65rem;font-weight:750;display:flex}.budget-footer-grid textarea{border:1px solid var(--border-color);resize:vertical;background:var(--md-sys-color-surface-container-lowest);min-height:145px;color:var(--text-primary);font:inherit;border-radius:10px;outline:0;padding:10px;line-height:1.45}.budget-footer-grid textarea:focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px var(--accent-glow)}.budget-totals-card{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);border-radius:12px;flex-direction:column;gap:9px;padding:13px 15px;display:flex}.budget-totals-card>div{color:var(--text-secondary);justify-content:space-between;align-items:center;gap:12px;font-size:.66rem;display:flex}.budget-totals-card strong{color:var(--text-primary)}.budget-totals-card .budget-total-row{border-block:1px solid var(--border-color);color:var(--text-primary);margin-block:2px;padding-block:9px;font-weight:800}.budget-totals-card .budget-total-row strong{color:var(--accent-primary);font-size:.88rem}.budget-totals-card .positive strong{color:#16a34a}.budget-totals-card .negative strong{color:#dc2626}@media (width<=1100px){.budget-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-toolbar{grid-template-columns:minmax(220px,1fr) 170px 140px}.budget-currency-control,.budget-contingency-control{flex-direction:row;align-items:center!important}.budget-contingency-control>em{position:static}}@media (width<=760px){.budget-header-actions{justify-content:stretch;width:100%}.budget-header-actions .btn{flex:1}.budget-health-card{grid-template-columns:1fr;gap:10px}.budget-largest-category{text-align:left}.budget-toolbar{grid-template-columns:1fr 1fr}.budget-search{grid-column:1/-1}.budget-footer-grid{grid-template-columns:1fr}}@media (width<=560px){.budget-summary-grid,.budget-toolbar{grid-template-columns:1fr}.budget-search{grid-column:auto}.budget-header-actions,.budget-empty>div{flex-direction:column}}.call-sheet-page{margin-inline:auto}.call-sheet-page-title{color:var(--accent-primary);align-items:center;gap:10px;margin:0 0 8px;font-size:1.75rem;font-weight:700;display:flex}.call-sheet-page-description{color:var(--text-secondary);font-size:.9rem}.call-sheet-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.call-sheet-summary-card{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);min-height:78px;color:var(--accent-primary);border-radius:14px;align-items:center;gap:13px;padding:16px;display:flex}.call-sheet-summary-card div{flex-direction:column;min-width:0;display:flex}.call-sheet-summary-card strong{color:var(--text-primary);font-size:1.2rem;line-height:1.1}.call-sheet-summary-card span{color:var(--text-secondary);margin-top:4px;font-size:.72rem}.call-sheet-workspace{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);border-radius:18px;grid-template-columns:310px minmax(0,1fr);min-height:650px;display:grid;overflow:hidden}.call-sheet-list-panel{border-right:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);min-width:0}.call-sheet-panel-title{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:10px;min-height:52px;padding:0 15px;display:flex}.call-sheet-panel-title span{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;font-size:.7rem;font-weight:700}.call-sheet-panel-title em{color:var(--accent-primary);font-size:.65rem;font-style:normal}.call-sheet-list{max-height:670px;padding:8px;overflow-y:auto}.call-sheet-list-item{width:100%;color:var(--text-primary);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:11px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;display:grid}.call-sheet-list-item:hover{background:var(--md-sys-color-surface-container-high)}.call-sheet-list-item.active{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.call-sheet-list-date{background:var(--md-sys-color-surface-container-highest);border-radius:9px;flex-direction:column;justify-content:center;align-items:center;width:34px;min-height:38px;display:flex}.call-sheet-list-date strong{font-size:.8rem;line-height:1}.call-sheet-list-date small{color:var(--text-muted);text-transform:uppercase;margin-top:3px;font-size:.55rem;font-weight:700}.call-sheet-list-copy{flex-direction:column;min-width:0;display:flex}.call-sheet-list-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.74rem;overflow:hidden}.call-sheet-list-copy small{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:.6rem;overflow:hidden}.call-sheet-status{background:var(--status-color);color:#fff;border-radius:8px;padding:4px 7px;font-size:.57rem;font-style:normal;font-weight:700}.call-sheet-status.status-draft{--status-color:#64748b}.call-sheet-status.status-ready{--status-color:#7c3aed}.call-sheet-status.status-sent{--status-color:#16a34a}.call-sheet-list-empty,.call-sheet-detail-empty,.call-sheet-empty{min-height:360px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.call-sheet-list-empty{min-height:230px}.call-sheet-list-empty p,.call-sheet-detail-empty p,.call-sheet-empty p{font-size:.74rem}.call-sheet-detail-empty h3,.call-sheet-empty h3{color:var(--text-primary)}.call-sheet-empty{border:1px dashed var(--border-color);border-radius:16px}.call-sheet-detail-panel{min-width:0;padding:20px}.call-sheet-print-area{flex-direction:column;gap:15px;display:flex}.call-sheet-detail-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.call-sheet-detail-header>div:first-child{flex-direction:column;min-width:0;display:flex}.call-sheet-detail-header>div:first-child span{color:var(--accent-primary);text-transform:uppercase;font-size:.66rem;font-weight:700}.call-sheet-detail-header>div:first-child input{min-width:320px;color:var(--text-primary);font:700 1.15rem var(--font-ui);background:0 0;border:0;outline:0;margin-top:3px}.call-sheet-detail-actions{align-items:center;gap:5px;display:flex}.call-sheet-detail-actions button{background:var(--md-sys-color-surface-container-high);width:34px;height:34px;color:var(--text-secondary);cursor:pointer;border:0;border-radius:50%;place-items:center;display:grid}.call-sheet-detail-actions button:hover:not(:disabled){color:var(--accent-primary)}.call-sheet-detail-actions button:disabled{opacity:.3;cursor:default}.call-sheet-status-select{border:1px solid var(--status-color);background:var(--md-sys-color-surface-container-low);height:36px;color:var(--text-primary);font:700 .7rem var(--font-ui);border-radius:18px;padding:0 11px}.call-sheet-status-select.status-draft{--status-color:#64748b}.call-sheet-status-select.status-ready{--status-color:#7c3aed}.call-sheet-status-select.status-sent{--status-color:#16a34a}.call-sheet-warning{color:#d97706;background:#d977061a;border:1px solid #d9770647;border-radius:10px;align-items:center;gap:8px;padding:10px 12px;font-size:.69rem;font-weight:700;display:flex}.call-sheet-hero-card{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);border-radius:14px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.call-sheet-hero-card>div{border-right:1px solid color-mix(in srgb, var(--md-sys-color-on-primary-container) 14%, transparent);flex-direction:column;min-width:0;padding:15px;display:flex}.call-sheet-hero-card>div:last-child{border-right:0}.call-sheet-hero-card span{letter-spacing:.06em;opacity:.72;text-transform:uppercase;font-size:.6rem;font-weight:700}.call-sheet-hero-card strong{text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:.82rem;overflow:hidden}.call-sheet-section-card{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);border-radius:14px;padding:17px}.call-sheet-section-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.call-sheet-section-heading h4{font-size:.87rem}.call-sheet-section-heading p{color:var(--text-secondary);margin-top:3px;font-size:.69rem}.call-sheet-section-heading .btn{min-height:32px;padding:6px 10px;font-size:.66rem}.call-sheet-count-badge{background:var(--md-sys-color-surface-container-high);color:var(--accent-primary);white-space:nowrap;border-radius:10px;padding:5px 8px;font-size:.62rem;font-weight:800}.call-sheet-field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:14px;display:grid}.call-sheet-field-grid label,.call-sheet-cast-row label{color:var(--text-secondary);flex-direction:column;gap:5px;font-size:.62rem;font-weight:700;display:flex}.call-sheet-wide-field{grid-column:span 2}.call-sheet-field-grid input,.call-sheet-cast-row input,.call-sheet-cast-row select,.call-sheet-notes-grid textarea{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);width:100%;min-height:37px;color:var(--text-primary);font:inherit;border-radius:9px;outline:0;padding:0 9px}.call-sheet-field-grid input:focus,.call-sheet-cast-row input:focus,.call-sheet-cast-row select:focus,.call-sheet-notes-grid textarea:focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px var(--accent-glow)}.call-sheet-logistics-strip{flex-wrap:wrap;gap:7px;margin-top:13px;display:flex}.call-sheet-logistics-strip span{background:var(--md-sys-color-surface-container-high);color:var(--text-secondary);border-radius:14px;align-items:center;gap:6px;padding:6px 9px;font-size:.65rem;display:inline-flex}.call-sheet-cast-list{flex-direction:column;gap:7px;margin-top:13px;display:flex}.call-sheet-cast-row{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);border-radius:10px;grid-template-columns:28px minmax(100px,.8fr) 90px 105px minmax(150px,1.2fr);align-items:end;gap:8px;padding:9px;display:grid}.call-sheet-cast-number{background:var(--md-sys-color-surface-container-high);width:27px;height:27px;color:var(--accent-primary);border-radius:50%;align-self:center;place-items:center;font-size:.67rem;font-weight:800;display:grid}.call-sheet-cast-name{flex-direction:column;align-self:center;min-width:0;display:flex}.call-sheet-cast-name strong{text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;overflow:hidden}.call-sheet-cast-name small{color:var(--text-muted);margin-top:3px;font-size:.6rem}.call-sheet-scenes-table{border:1px solid var(--border-color);border-radius:10px;margin-top:13px;overflow:hidden}.call-sheet-table-header,.call-sheet-scene-row{grid-template-columns:38px minmax(190px,1.2fr) minmax(120px,1fr) 58px 76px;align-items:center;gap:9px;display:grid}.call-sheet-table-header{background:var(--md-sys-color-surface-container-high);min-height:34px;color:var(--text-muted);letter-spacing:.05em;text-transform:uppercase;padding:0 10px;font-size:.58rem;font-weight:800}.call-sheet-scene-row{border-top:1px solid var(--border-color);min-height:52px;padding:8px 10px;font-size:.66rem}.call-sheet-scene-row>strong{color:var(--accent-primary)}.call-sheet-scene-row>div{flex-direction:column;min-width:0;display:flex}.call-sheet-scene-row>div strong{text-overflow:ellipsis;white-space:nowrap;font-size:.69rem;overflow:hidden}.call-sheet-scene-row small{color:var(--text-muted);margin-top:3px;font-size:.59rem}.call-sheet-scene-row>span{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.call-sheet-scene-row em{color:#d97706;text-align:center;background:#d9770621;border-radius:7px;padding:4px 6px;font-size:.56rem;font-style:normal;font-weight:700}.call-sheet-scene-row em.ready{color:#22c55e;background:#16a34a21}.call-sheet-requirements-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:13px;display:grid}.call-sheet-requirements-grid>div{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);border-radius:9px;flex-direction:column;min-width:0;padding:10px;display:flex}.call-sheet-requirements-grid span{color:var(--accent-primary);text-transform:uppercase;font-size:.56rem;font-weight:800}.call-sheet-requirements-grid strong{text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:.68rem;overflow:hidden}.call-sheet-requirements-grid small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.58rem;overflow:hidden}.call-sheet-section-empty{color:var(--text-muted);text-align:center;padding:27px;font-size:.7rem}.call-sheet-notes-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.call-sheet-notes-grid label{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);border-radius:14px;flex-direction:column;padding:14px;display:flex}.call-sheet-notes-grid label>span{color:var(--text-primary);align-items:center;gap:7px;font-size:.72rem;font-weight:800;display:flex}.call-sheet-notes-grid label>span svg{color:var(--accent-primary)}.call-sheet-notes-grid textarea{resize:vertical;min-height:85px;margin-top:10px;padding:9px;line-height:1.4}.call-sheet-print-footer{color:var(--text-muted);justify-content:space-between;padding:10px 2px 0;font-size:.58rem;display:flex}@media (width<=1100px){.call-sheet-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.call-sheet-workspace{grid-template-columns:255px minmax(0,1fr)}.call-sheet-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.call-sheet-cast-row{grid-template-columns:28px minmax(130px,1fr) 90px 105px}.call-sheet-cast-notes{grid-column:2/-1}.call-sheet-requirements-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.call-sheet-workspace{grid-template-columns:1fr}.call-sheet-list-panel{border-right:0;border-bottom:1px solid var(--border-color)}.call-sheet-list{max-height:260px}.call-sheet-detail-header{flex-direction:column;align-items:flex-start}.call-sheet-detail-actions{width:100%}.call-sheet-status-select{margin-right:auto}.call-sheet-hero-card{grid-template-columns:repeat(2,minmax(0,1fr))}.call-sheet-hero-card>div:nth-child(2){border-right:0}.call-sheet-hero-card>div:nth-child(-n+2){border-bottom:1px solid color-mix(in srgb, var(--md-sys-color-on-primary-container) 14%, transparent)}.call-sheet-notes-grid{grid-template-columns:1fr}.call-sheet-scenes-table{overflow-x:auto}.call-sheet-table-header,.call-sheet-scene-row{min-width:650px}}@media (width<=560px){.call-sheet-summary-grid,.call-sheet-field-grid,.call-sheet-requirements-grid{grid-template-columns:1fr}.call-sheet-wide-field{grid-column:auto}.call-sheet-detail-header>div:first-child input{width:100%;min-width:0}.call-sheet-cast-row{grid-template-columns:28px minmax(0,1fr) 90px}.call-sheet-cast-row label:nth-of-type(2),.call-sheet-cast-notes{grid-column:2/-1}.call-sheet-print-footer{flex-direction:column;gap:3px}}@media print{body.call-sheet-print-mode{color:#111!important;background:#fff!important;overflow:visible!important}body.call-sheet-print-mode .workspace-header,body.call-sheet-print-mode .navigation-rail,body.call-sheet-print-mode .sidebar-panel,body.call-sheet-print-mode .inspector-panel,body.call-sheet-print-mode .no-print-call-sheet{display:none!important}body.call-sheet-print-mode .app-container,body.call-sheet-print-mode .app-body,body.call-sheet-print-mode .workspace-area,body.call-sheet-print-mode .workspace-content{background:#fff!important;width:100%!important;height:auto!important;display:block!important;overflow:visible!important}body.call-sheet-print-mode .dashboard-page-container{max-width:none!important;padding:0!important}body.call-sheet-print-mode .call-sheet-workspace{border:0;min-height:0;display:block;overflow:visible}body.call-sheet-print-mode .call-sheet-detail-panel{padding:0}body.call-sheet-print-mode .call-sheet-print-area{color:#111;gap:10px}body.call-sheet-print-mode .call-sheet-section-card,body.call-sheet-print-mode .call-sheet-notes-grid label{break-inside:avoid;background:#fff;border-color:#bbb}body.call-sheet-print-mode input,body.call-sheet-print-mode select,body.call-sheet-print-mode textarea{color:#111!important;box-shadow:none!important;background:0 0!important;border:0!important}body.call-sheet-print-mode .call-sheet-hero-card{color:#111!important;background:#eee!important}body.call-sheet-print-mode .call-sheet-scene-row,body.call-sheet-print-mode .call-sheet-table-header,body.call-sheet-print-mode .call-sheet-cast-row,body.call-sheet-print-mode .call-sheet-requirements-grid>div{background:#fff;border-color:#bbb}}.production-page{width:100%;max-width:1400px;min-height:calc(100vh - 44px);margin-inline:auto;padding:20px}.production-page-header{align-items:flex-start;gap:16px;margin-bottom:12px;padding-bottom:12px}.production-page-header>div:first-child{min-width:0;padding-top:2px}.production-page-title{min-height:26px;color:var(--accent-primary);align-items:center;gap:10px;margin:0;font-size:1.25rem;font-weight:700;line-height:1.2;display:flex}.dashboard-page-header h2{margin-bottom:0!important}.production-page-description{max-width:760px;color:var(--text-secondary);font-size:.9rem;line-height:1.45}.production-page-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:6px;min-height:32px;display:flex}.production-page-actions .btn{min-height:32px}.production-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px;display:grid}.production-summary-grid>div{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);min-height:58px;color:var(--accent-primary);border-radius:14px;align-items:center;gap:10px;padding:10px;display:flex}.production-summary-grid>div>div{flex-direction:column;min-width:0;display:flex}.production-summary-grid>div strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:1.2rem;line-height:1.1;overflow:hidden}.production-summary-grid>div span{color:var(--text-secondary);margin-top:4px;font-size:.72rem}.call-sheet-page .production-summary-grid{margin-bottom:20px}.production-insight-strip{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);border-radius:14px;gap:16px;min-height:56px;margin-bottom:12px;padding:10px 12px}.production-workspace{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);border-radius:18px;min-height:500px;overflow:hidden}.scratchpad-page-container{margin-inline:auto}.scratchpad-workspace{flex-direction:column;min-height:480px;display:flex}.scratchpad-note-panel{border-bottom:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);flex-direction:column;min-width:0;display:flex}.scratchpad-note-toolbar{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:10px;padding:16px;display:flex}.scratchpad-note-toolbar>div:first-child{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.scratchpad-note-toolbar .m3-search-wrapper{width:min(320px,100%)}.scratchpad-note-toolbar strong{font-size:var(--type-section-title)}.scratchpad-note-toolbar>div:first-child span{color:var(--text-muted);font-size:var(--type-label)}.scratchpad-note-list{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;max-height:320px;padding:16px 20px 20px;display:grid;overflow-y:auto}.scratchpad-note-item{border:1px solid var(--border-color);border-top:4px solid var(--note-color);background:color-mix(in srgb, var(--note-color) 7%, var(--bg-card));text-align:left;width:100%;min-height:142px;font:inherit;transition:transform .18s var(--md-easing-standard), box-shadow .18s var(--md-easing-standard), border-color .18s ease;border-radius:15px;align-items:stretch;padding:16px}.scratchpad-note-item:hover,.scratchpad-note-item:focus-visible{border-color:var(--note-color);transform:translateY(-2px);box-shadow:0 9px 20px #0000001f}.scratchpad-note-item.active{border-color:var(--note-color);background:color-mix(in srgb, var(--note-color) 15%, var(--bg-card));box-shadow:0 0 0 2px color-mix(in srgb, var(--note-color) 34%, transparent)}.scratchpad-note-copy{flex-direction:column;flex:1;justify-content:space-between;gap:12px;min-width:0;display:flex}.scratchpad-note-copy .m3-list-item-subtitle{white-space:normal;-webkit-line-clamp:3;-webkit-box-orient:vertical;line-height:1.45;display:-webkit-box;overflow:hidden}.scratchpad-note-card-meta{color:var(--text-muted);white-space:nowrap;justify-content:space-between;align-items:center;gap:8px;font-size:.68rem;font-weight:600;display:flex}.scratchpad-note-item.active .scratchpad-note-card-meta{color:var(--md-sys-color-on-primary-container);opacity:.72}.scratchpad-empty-state{min-height:220px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:24px;display:flex}.scratchpad-empty-state svg{opacity:.45;margin-bottom:5px}.scratchpad-empty-state strong{color:var(--text-secondary);font-size:var(--type-body)}.scratchpad-empty-state span{font-size:var(--type-label)}.scratchpad-editor{background:var(--md-sys-color-surface-container-lowest);flex-direction:column;gap:20px;min-width:0;padding:24px;display:flex}.scratchpad-editor-page{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);border-radius:18px;min-height:610px;overflow:hidden}.scratchpad-editor-page .scratchpad-editor{min-height:610px}.scratchpad-editor-back{flex:none}.scratchpad-find-replace{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-high);border-radius:12px;flex-direction:column;gap:8px;padding:10px;display:flex;box-shadow:0 8px 24px #0000001f}.scratchpad-find-row,.scratchpad-replace-row{align-items:center;gap:7px;display:flex}.scratchpad-find-row input,.scratchpad-replace-row input{border:1px solid var(--border-color);min-width:0;height:34px;color:var(--text-primary);background:var(--bg-card);border-radius:8px;outline:0;flex:1;padding:0 10px}.scratchpad-find-row input:focus,.scratchpad-replace-row input:focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px color-mix(in srgb, var(--accent-primary) 18%, transparent)}.scratchpad-find-row>span{min-width:58px;color:var(--text-muted);text-align:center;white-space:nowrap;font-size:.7rem}.scratchpad-find-row>button{width:32px;height:32px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.scratchpad-find-row>button:hover:not(:disabled){color:var(--text-primary);background:var(--md-sys-color-surface-container-highest)}.scratchpad-find-row>button:disabled{opacity:.38;cursor:default}.scratchpad-editor-header{justify-content:space-between;align-items:flex-end;gap:20px;min-height:58px;display:flex}.scratchpad-editor-header>div:first-child{flex:1;min-width:0}.scratchpad-editor-eyebrow{color:var(--text-muted);font-size:var(--type-label);letter-spacing:.055em;text-transform:uppercase;margin-bottom:5px;font-weight:600;display:block}.scratchpad-title-input{width:100%;color:var(--text-primary);letter-spacing:-.01em;background:0 0;border:0;outline:0;padding:0;font-weight:700;font-size:1.35rem!important}.scratchpad-title-input::placeholder,.scratchpad-textarea::placeholder{color:var(--text-muted)}.scratchpad-editor-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.scratchpad-editor-actions .btn{min-height:40px}.scratchpad-delete-btn{color:var(--md-sys-color-error,#ba1a1a)}.scratchpad-writing-card{border:1px solid var(--border-color);background:var(--bg-card);border-radius:14px;flex-direction:column;flex:1;min-height:450px;display:flex;overflow:hidden}.scratchpad-textarea{resize:none;width:100%;min-height:390px;color:var(--text-primary);background:0 0;border:0;outline:0;flex:1;padding:22px;line-height:1.65!important}.scratchpad-writing-footer{border-top:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:12px 16px;display:flex}.scratchpad-color-picker{align-items:center;gap:8px;display:flex}.scratchpad-color-picker>span,.scratchpad-word-count{color:var(--text-secondary);font-size:var(--type-label);font-weight:600}.scratchpad-color-chip{color:#1b1b1b;cursor:pointer;border:2px solid #0000;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;padding:0;transition:transform .15s,border-color .15s;display:inline-flex}.scratchpad-color-chip:hover{transform:translateY(-1px)scale(1.06)}.scratchpad-color-chip.active{border-color:var(--text-primary);box-shadow:0 0 0 2px var(--bg-card)}.scratchpad-color-chip:focus-visible{outline:2px solid var(--accent-primary);outline-offset:2px}@media (width<=900px){.scratchpad-note-panel{max-height:none}.scratchpad-note-list{min-height:160px}}@media (width<=650px){.scratchpad-note-toolbar{flex-direction:column;align-items:stretch}.scratchpad-note-toolbar .m3-search-wrapper{width:100%}.scratchpad-note-list{grid-template-columns:1fr}.scratchpad-find-row,.scratchpad-replace-row{flex-wrap:wrap}.scratchpad-editor{padding:18px}.scratchpad-editor-header{flex-direction:column;align-items:stretch}.scratchpad-editor-actions,.scratchpad-editor-actions .btn{width:100%}.scratchpad-editor-actions .btn{justify-content:center}.scratchpad-writing-footer{flex-direction:column;align-items:flex-start}.scratchpad-color-picker{flex-wrap:wrap}}.universal-search-page{width:min(1040px,100%);margin-inline:auto}.universal-search-header{flex-direction:column;gap:18px;margin-bottom:22px;display:flex}.universal-search-header h2{color:var(--text-primary);align-items:center;gap:10px;margin:0;font-size:1.55rem;display:flex}.universal-search-header h2 svg{color:var(--accent-primary)}.universal-search-header p{color:var(--text-secondary);margin:6px 0 0}.universal-search-field{border:1px solid var(--border-color);background:var(--bg-card);border-radius:18px;align-items:center;gap:12px;min-height:58px;padding:0 18px;display:flex;box-shadow:0 6px 20px #00000014}.universal-search-field>svg{color:var(--accent-primary);flex:none}.universal-search-field input{min-width:0;color:var(--text-primary);font:500 1rem/1.2 var(--font-ui);background:0 0;border:0;outline:0;flex:1}.universal-search-field>span{color:var(--text-muted);white-space:nowrap;font-size:.75rem}.universal-search-filters{flex-wrap:wrap;gap:8px;display:flex}.universal-search-filters button{border:1px solid var(--border-color);min-height:34px;color:var(--text-secondary);font:600 .73rem/1 var(--font-ui);cursor:pointer;background:0 0;border-radius:999px;padding:0 13px}.universal-search-filters button:hover,.universal-search-filters button.active{color:var(--md-sys-color-on-primary-container);background:var(--md-sys-color-primary-container);border-color:#0000}.universal-search-results{flex-direction:column;gap:9px;display:flex}.universal-search-result{border:1px solid var(--border-color);width:100%;color:var(--text-primary);background:var(--bg-card);text-align:left;cursor:pointer;transition:transform .16s var(--md-easing-standard), border-color .16s ease, box-shadow .16s ease;border-radius:14px;grid-template-columns:42px minmax(0,1fr) auto;align-items:start;gap:13px;padding:15px;display:grid}.universal-search-result:hover,.universal-search-result:focus-visible{border-color:var(--accent-primary);outline:0;transform:translateY(-1px);box-shadow:0 7px 18px #00000017}.universal-search-result-icon{width:40px;height:40px;color:var(--accent-primary);background:color-mix(in srgb, var(--accent-primary) 11%, transparent);border-radius:11px;place-items:center;display:grid}.universal-search-result-icon.kind-note{color:#d97706;background:#f59e0b21}.universal-search-result-icon.kind-production{color:#0f9f8f;background:#14b8a621}.universal-search-result-icon.kind-development{color:#8b5cf6;background:#8b5cf621}.universal-search-result-copy{flex-direction:column;min-width:0;display:flex}.universal-search-result-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;overflow:hidden}.universal-search-result-copy small{color:var(--accent-primary);margin-top:3px;font-size:.68rem;font-weight:600}.universal-search-result-copy p{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;margin:7px 0 0;font-size:.76rem;line-height:1.4;overflow:hidden}.universal-search-kind{color:var(--text-muted);background:var(--md-sys-color-surface-container-high);text-transform:capitalize;border-radius:999px;padding:5px 8px;font-size:.63rem;font-weight:700}.universal-search-empty{min-height:330px;color:var(--text-muted);text-align:center;align-content:center;place-items:center;gap:8px;display:grid}.universal-search-empty svg{opacity:.4}.universal-search-empty h3{color:var(--text-primary);margin:4px 0 0}.universal-search-empty p{margin:0;font-size:.8rem}@media (width<=650px){.universal-search-result{grid-template-columns:38px minmax(0,1fr)}.universal-search-kind{display:none}}.story-development-page .project-details-dashboard{margin-top:0}.story-health-strip{grid-template-columns:minmax(260px,1fr) minmax(220px,.8fr);align-items:center;display:grid}.story-health-strip>div:first-child{flex-direction:column;gap:5px;min-width:0;display:flex}.story-health-strip>div:first-child strong{color:var(--text-primary);align-items:center;gap:6px;font-size:.86rem;display:flex}.story-health-strip>div:first-child span{color:var(--text-secondary);font-size:.75rem;line-height:1.4}.story-health-meter{background:var(--md-sys-color-surface-container-highest);border-radius:999px;height:8px;overflow:hidden}.story-health-meter>span{border-radius:inherit;background:linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));height:100%;transition:width .2s;display:block}.activity-card{border:1px solid var(--border-color);background:var(--bg-card);border-radius:16px;flex-direction:column;gap:14px;padding:24px;display:flex}.activity-card>h3{border-bottom:1px solid var(--border-color);color:var(--text-primary);align-items:center;gap:8px;margin:0;padding-bottom:12px;font-size:1.05rem;font-weight:700;display:flex}.activity-card>h3 svg{color:var(--accent-primary)}.activity-card-description{color:var(--text-secondary);font-size:var(--type-label);margin:0}.activity-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.activity-card-grid>div{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);border-radius:12px;grid-template-rows:auto auto;grid-template-columns:auto 1fr;align-content:center;column-gap:10px;min-width:0;min-height:92px;padding:14px;display:grid}.activity-card-grid svg{color:var(--accent-primary);grid-row:1/span 2;align-self:center}.activity-card-grid strong{min-width:0;color:var(--text-primary);text-overflow:ellipsis;font-size:1.1rem;line-height:1.15;overflow:hidden}.activity-card-grid span{color:var(--text-secondary);font-size:var(--type-label);line-height:1.25}@media (width<=1150px){.activity-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.activity-card-grid{grid-template-columns:1fr}}.story-filter-select{width:100%;min-height:40px}.directory-list-toolbar{border-bottom:0;grid-template-columns:minmax(145px,1fr) auto auto;align-items:center;gap:8px;padding:0;display:grid}.directory-search-filter{background:var(--bg-card);border-radius:20px;grid-template-columns:minmax(0,1fr) 46px;gap:2px;min-width:0;height:40px;display:grid}.directory-search-main{height:40px}.directory-search-main input{background-color:var(--md-sys-color-surface-container-high);border:0;border-radius:20px 5px 5px 20px;height:40px;padding-right:12px}.directory-search-main input:focus{box-shadow:inset 0 0 0 2px var(--md-sys-color-primary)}.directory-filter-segment{background-color:var(--md-sys-color-surface-container-high);height:40px;color:var(--text-secondary);border-radius:5px 20px 20px 5px;place-items:center;transition:background-color .16s,color .16s;display:grid;position:relative;overflow:hidden}.directory-filter-segment:hover{background-color:var(--md-sys-color-surface-container-highest);color:var(--text-primary)}.directory-filter-segment.active{background-color:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}.directory-filter-segment:focus-within{box-shadow:inset 0 0 0 2px var(--md-sys-color-primary)}.directory-filter-select{z-index:1;border-radius:inherit;cursor:pointer;opacity:0;background-color:#0000;border:0;outline:none;width:100%;height:100%;padding:0;position:absolute;inset:0}.directory-filter-select:focus-visible{outline:none}.directory-toolbar-button{white-space:nowrap;gap:5px;width:auto;min-width:68px;height:40px;padding:0 12px}@media (width<=420px){.directory-list-toolbar{grid-template-columns:minmax(130px,1fr) auto auto;gap:6px}.directory-toolbar-button{min-width:40px;padding-inline:10px}.directory-toolbar-button span{display:none}}.story-filter-bar{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-low);border-radius:14px;grid-template-columns:minmax(240px,1fr) minmax(170px,.35fr) minmax(170px,.35fr);gap:10px;margin-bottom:20px;padding:12px;display:grid}.story-filter-bar .m3-search-wrapper,.story-filter-bar .m3-input-field{min-height:40px}.story-empty-filter{border:1px dashed var(--border-color);background:var(--bg-card);min-height:260px;color:var(--text-muted);border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.story-empty-filter strong{color:var(--text-primary)}.story-empty-filter span{font-size:.8rem}.breakdown-detail-panel,.schedule-detail-panel,.call-sheet-detail-panel{gap:16px;padding:20px}.shot-list-editor{padding:20px}.shot-list-board-header{padding:16px 20px}.budget-toolbar{padding:12px 16px}.breakdown-section-card,.schedule-section-card,.call-sheet-section-card{border-radius:14px;padding:16px}.breakdown-panel-toolbar{padding:16px}.schedule-panel-title,.call-sheet-panel-title{min-height:56px;padding-inline:16px}@media (width<=1050px){.production-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.production-page{padding:20px}.production-page-header{flex-direction:column;align-items:stretch}.production-page-actions{justify-content:stretch;width:100%}.production-page-actions .btn{flex:1}.story-health-strip{grid-template-columns:1fr;gap:14px}.story-filter-bar{grid-template-columns:1fr}}@media (width<=560px){.production-page{padding:16px}.production-summary-grid{grid-template-columns:1fr}.production-page-actions{flex-direction:column}.production-page-actions .btn{width:100%}}.settings-page-content{flex-direction:column;gap:20px;width:100%;display:flex}.settings-page-card{border:1px solid var(--border-color);background-color:var(--md-sys-color-surface-container-low);border-radius:12px;padding:20px}.page-setup-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:12px;display:grid}.page-setup-fields label{color:var(--text-secondary);flex-direction:column;gap:6px;font-size:.75rem;font-weight:600;display:flex}.settings-page-input{border:1px solid var(--border-color);background:var(--md-sys-color-surface-container-lowest);width:100%;min-height:40px;color:var(--text-primary);font:inherit;border-radius:10px;padding:0 12px}.page-setup-switches{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin-top:16px;display:grid}.page-setup-switch-row{justify-content:space-between;align-items:center;gap:16px;min-height:44px;display:flex}@media (width<=700px){.page-setup-fields,.page-setup-switches{grid-template-columns:1fr}}.settings-group.settings-control-row{grid-template-columns:minmax(200px,1fr) minmax(360px,480px);align-items:center;gap:14px;padding:12px;display:grid}.settings-control-row>div:first-child{min-width:0}.settings-control-row .connected-button-group{width:100%}.settings-control-row>.m3-switch{justify-self:end}.m3-centered-slider-control{grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:10px;width:100%;display:grid}.m3-centered-slider{min-width:0;height:32px;position:relative}.m3-centered-slider-track,.m3-centered-slider-active{pointer-events:none;border-radius:999px;height:8px;position:absolute;top:50%;transform:translateY(-50%)}.m3-centered-slider-track{background:var(--md-sys-color-surface-container-high);left:0;right:0}.m3-centered-slider-track:before,.m3-centered-slider-track:after{content:"";background:var(--md-sys-color-on-surface-variant);border-radius:50%;width:3px;height:3px;position:absolute;top:50%;transform:translateY(-50%)}.m3-centered-slider-track:before{left:5px}.m3-centered-slider-track:after{right:5px}.m3-centered-slider-active{left:var(--active-start);width:var(--active-width);background:var(--md-sys-color-primary)}.m3-centered-slider-center{top:50%;left:var(--center-position);z-index:2;background:var(--md-sys-color-outline);pointer-events:none;border-radius:999px;width:2px;height:20px;position:absolute;transform:translate(-50%,-50%)}.m3-centered-slider input[type=range]{z-index:3;appearance:none;cursor:ew-resize;background:0 0;width:100%;height:32px;margin:0;position:absolute;inset:0}.m3-centered-slider input[type=range]::-webkit-slider-runnable-track{background:0 0;height:8px}.m3-centered-slider input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--md-sys-color-primary);width:4px;height:28px;box-shadow:0 0 0 4px var(--md-sys-color-surface-container-low);border:0;border-radius:999px;margin-top:-10px}.m3-centered-slider input[type=range]::-moz-range-track{background:0 0;height:8px}.m3-centered-slider input[type=range]::-moz-range-thumb{background:var(--md-sys-color-primary);width:4px;height:28px;box-shadow:0 0 0 4px var(--md-sys-color-surface-container-low);border:0;border-radius:999px}.m3-centered-slider input[type=range]:focus-visible{outline:none}.m3-centered-slider input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--md-sys-color-surface-container-low), 0 0 0 7px color-mix(in srgb, var(--md-sys-color-primary) 24%, transparent)}.m3-centered-slider-value{background:var(--md-sys-color-primary-container);min-width:44px;color:var(--md-sys-color-on-primary-container);font:700 var(--type-label)/1 var(--font-ui);text-align:center;border-radius:12px;padding:5px 8px}.layout-resize-reset{min-height:30px;color:var(--md-sys-color-primary);font:600 var(--type-label) var(--font-ui);cursor:pointer;background:0 0;border:0;border-radius:15px;padding:0 10px}.layout-resize-reset:hover:not(:disabled){background:color-mix(in srgb, var(--md-sys-color-primary) 10%, transparent)}.layout-resize-reset:disabled{color:var(--text-muted);cursor:default;opacity:.55}.layout-resize-configure-control{justify-content:flex-end;align-items:center;gap:12px;width:100%;display:flex}.create-project-dialog-scrim{z-index:20000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000008f;place-items:center;padding:24px;animation:.18s ease-out m3-fade-in;display:grid;position:fixed;inset:0}.create-project-dialog{border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);width:min(720px,100%);height:min(680px,100dvh - 48px);max-height:calc(100dvh - 48px);color:var(--md-sys-color-on-surface);font-family:var(--font-ui);animation:m3-zoom-in .22s var(--md-easing-standard);border-radius:28px;grid-template-rows:auto minmax(0,1fr) auto;display:grid;overflow:hidden;box-shadow:0 24px 72px #0006}.create-project-dialog-header{border-bottom:1px solid var(--md-sys-color-outline-variant);justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px 18px;display:flex}.create-project-dialog-heading{align-items:flex-start;gap:14px;min-width:0;display:flex}.create-project-dialog-icon{background:var(--md-sys-color-primary-container);width:40px;height:40px;color:var(--md-sys-color-on-primary-container);border-radius:13px;flex:none;place-items:center;display:grid}.create-project-dialog-heading h2{margin:1px 0 4px;font-size:1.125rem;line-height:1.25}.create-project-dialog-heading p{max-width:520px;color:var(--md-sys-color-on-surface-variant);margin:0;font-size:.75rem;line-height:1.45}.create-project-dialog-close{width:36px;height:36px;color:var(--md-sys-color-on-surface-variant);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.create-project-dialog-close:hover{background:color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent)}.create-project-dialog-fields{overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-height:0;padding:22px 24px;display:grid;overflow-y:auto}.create-project-dialog-fields::-webkit-scrollbar{width:0;height:0;display:none}.create-project-field{min-width:0;color:var(--md-sys-color-on-surface-variant);font:650 .6875rem/1.2 var(--font-ui);gap:7px;display:grid}.create-project-field-wide{grid-column:1/-1}.create-project-field em{color:var(--md-sys-color-primary);letter-spacing:.04em;text-transform:uppercase;margin-left:6px;font-size:.5625rem;font-style:normal}.create-project-field input,.create-project-field textarea{border:1px solid var(--md-sys-color-outline);background:var(--md-sys-color-surface-container-low);width:100%;min-height:42px;color:var(--md-sys-color-on-surface);font:500 .75rem/1.4 var(--font-ui);transition:border-color .15s var(--md-easing-standard), box-shadow .15s var(--md-easing-standard);border-radius:12px;outline:0;padding:0 13px}.create-project-field textarea{resize:vertical;min-height:72px;padding-top:11px}.create-project-field input:focus,.create-project-field textarea:focus{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 1px var(--md-sys-color-primary)}.create-project-dialog-actions{border-top:1px solid var(--md-sys-color-outline-variant);justify-content:flex-end;gap:8px;padding:14px 24px 18px;display:flex}.create-project-dialog-actions button{min-height:40px;font:700 .75rem/1 var(--font-ui);cursor:pointer;border:0;border-radius:20px;padding:0 20px}.create-project-cancel-button{color:var(--md-sys-color-primary);background:0 0}.create-project-cancel-button:hover{background:color-mix(in srgb, var(--md-sys-color-primary) 10%, transparent)}.create-project-submit-button{background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.create-project-submit-button:disabled{background:color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent);color:color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent);cursor:default}@media (width<=640px){.create-project-dialog-scrim{padding:12px}.create-project-dialog{border-radius:22px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.create-project-dialog-header{padding:18px}.create-project-dialog-fields{grid-template-columns:1fr;padding:18px}.create-project-field-wide{grid-column:auto}.create-project-dialog-actions{padding:12px 18px 16px}}.layout-resize-configure-control>span{color:var(--text-secondary);font:600 var(--type-label)/1 var(--font-ui)}.m3-configure-button{border:1px solid var(--md-sys-color-outline);min-height:34px;color:var(--md-sys-color-primary);font:700 var(--type-label)/1 var(--font-ui);cursor:pointer;background:0 0;border-radius:18px;padding:0 18px}.m3-configure-button:hover{background:color-mix(in srgb, var(--md-sys-color-primary) 10%, transparent)}.layout-resize-toolbar{z-index:10000;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);width:min(700px,100vw - 32px);color:var(--md-sys-color-on-surface);font-family:var(--font-ui);animation:layout-resize-toolbar-enter .22s var(--md-easing-standard);border-radius:28px;gap:12px;padding:16px 18px 14px;display:grid;position:fixed;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 10px 32px #00000057}.layout-resize-toolbar-heading,.layout-resize-toolbar-footer,.layout-resize-toolbar-controls{align-items:center;display:flex}.layout-resize-toolbar-heading{justify-content:space-between;gap:16px}.layout-resize-toolbar-heading>div{gap:2px;display:grid}.layout-resize-toolbar-heading strong{font-size:.875rem;line-height:1.2}.layout-resize-toolbar-heading span,.layout-resize-toolbar-footer>span{color:var(--text-secondary);font-size:.6875rem;line-height:1.25}.layout-resize-toolbar-close{width:34px;height:34px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.layout-resize-toolbar-close:hover{background:color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent);color:var(--text-primary)}.layout-resize-toolbar-controls{gap:14px}.layout-resize-slider-wrap{flex:auto;min-width:220px}.layout-resize-centered-slider{touch-action:none;cursor:grab;outline:none;height:34px;position:relative}.layout-resize-centered-slider:active{cursor:grabbing}.layout-resize-slider-track,.layout-resize-slider-active{pointer-events:none;border-radius:999px;height:8px;position:absolute;top:50%;transform:translateY(-50%)}.layout-resize-slider-track{background:var(--md-sys-color-surface-variant);left:0;right:0}.layout-resize-slider-track:before,.layout-resize-slider-track:after{content:"";background:var(--md-sys-color-on-surface-variant);border-radius:50%;width:3px;height:3px;position:absolute;top:50%;transform:translateY(-50%)}.layout-resize-slider-track:before{left:5px}.layout-resize-slider-track:after{right:5px}.layout-resize-slider-active{left:var(--active-start);width:var(--active-width);background:var(--md-sys-color-primary)}.layout-resize-slider-center{z-index:2;background:var(--md-sys-color-outline);pointer-events:none;border-radius:2px;width:2px;height:18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.layout-resize-slider-thumb{top:50%;left:var(--thumb-position);z-index:3;background:var(--md-sys-color-primary);width:4px;height:28px;box-shadow:0 0 0 4px var(--md-sys-color-surface-container-high);pointer-events:none;border-radius:999px;position:absolute;transform:translate(-50%,-50%)}.layout-resize-centered-slider:focus-visible .layout-resize-slider-thumb{box-shadow:0 0 0 4px var(--md-sys-color-surface-container-high), 0 0 0 7px color-mix(in srgb, var(--md-sys-color-primary) 26%, transparent)}.layout-resize-measurements{color:var(--text-muted);font:600 .5625rem/1 var(--font-ui);grid-template-columns:1fr 1fr 1fr;margin-top:-1px;display:grid}.layout-resize-measurements span:nth-child(2){text-align:center}.layout-resize-measurements span:last-child{text-align:right}.layout-resize-toolbar-value{background:var(--md-sys-color-primary-container);min-width:48px;color:var(--md-sys-color-on-primary-container);font:700 .75rem/1 var(--font-ui);text-align:center;border-radius:14px;padding:7px 9px}.layout-resize-toolbar-reset{min-height:36px;color:var(--md-sys-color-primary);font:700 .6875rem/1 var(--font-ui);cursor:pointer;background:0 0;border:0;border-radius:18px;align-items:center;gap:7px;padding:0 12px;display:flex}.layout-resize-toolbar-reset:hover:not(:disabled){background:color-mix(in srgb, var(--md-sys-color-primary) 10%, transparent)}.layout-resize-toolbar-reset:disabled{color:var(--text-muted);cursor:default;opacity:.55}.layout-resize-toolbar-footer{border-top:1px solid var(--md-sys-color-outline-variant);justify-content:space-between;gap:16px;min-height:40px;padding-top:10px}.layout-resize-toolbar-actions{align-items:center;gap:6px;display:flex}.layout-resize-toolbar-actions button{min-height:36px;font:700 .6875rem/1 var(--font-ui);cursor:pointer;border:0;border-radius:18px;align-items:center;gap:6px;padding:0 16px;display:flex}.layout-resize-toolbar-actions .layout-resize-revert-button{color:var(--md-sys-color-primary);background:0 0}.layout-resize-toolbar-actions .layout-resize-apply-button{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}@keyframes layout-resize-toolbar-enter{0%{opacity:0;transform:translate(-50%,14px)scale(.98)}to{opacity:1;transform:translate(-50%)scale(1)}}@media (width<=640px){.layout-resize-toolbar{border-radius:24px;width:calc(100vw - 20px);padding:14px;bottom:10px}.layout-resize-toolbar-controls{flex-wrap:wrap}.layout-resize-slider-wrap{flex-basis:100%}}.layout-resize-confirmation{z-index:10000;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-inverse-surface,#e6e1e5);width:min(520px,100vw - 48px);min-height:72px;color:var(--md-sys-color-inverse-on-surface,#322f35);font-family:var(--font-ui);animation:layout-resize-confirmation-enter .22s var(--md-easing-standard);border-radius:20px;justify-content:space-between;align-items:center;gap:20px;padding:14px 16px 14px 20px;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 8px 28px #00000047}.layout-resize-confirmation-copy{gap:3px;min-width:0;display:grid}.layout-resize-confirmation-copy strong{font-size:.875rem;line-height:1.25}.layout-resize-confirmation-copy span{color:color-mix(in srgb, currentColor 72%, transparent);font-size:.75rem;line-height:1.35}.layout-resize-confirmation-actions{flex:none;align-items:center;gap:6px;display:flex}.layout-resize-confirmation-actions button{min-height:40px;font:700 .75rem/1 var(--font-ui);cursor:pointer;border:0;border-radius:20px;padding:0 18px}.layout-resize-revert-button{color:var(--md-sys-color-primary-container);background:0 0}.layout-resize-revert-button:hover{background:color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent)}.layout-resize-apply-button{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.layout-resize-apply-button:hover{filter:brightness(1.08)}@keyframes layout-resize-confirmation-enter{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=600px){.layout-resize-confirmation{flex-direction:column;align-items:stretch;gap:12px;width:calc(100vw - 24px);bottom:12px;right:12px}.layout-resize-confirmation-actions{justify-content:flex-end}}.connected-button-group{align-items:stretch;gap:2px;width:100%;display:flex}.connected-button{background-color:var(--md-sys-color-primary-container);min-height:32px;color:var(--md-sys-color-on-primary-container);font-family:var(--font-ui);cursor:pointer;border:0;border-radius:8px;flex:1 1 0;justify-content:center;align-items:center;gap:8px;padding:0 10px;font-size:.74rem;font-weight:600;transition:flex-grow .35s cubic-bezier(.2,0,0,1),border-radius .35s cubic-bezier(.2,0,0,1),background-color .2s,color .2s;display:inline-flex;overflow:hidden}.connected-button:first-child{border-radius:20px 8px 8px 20px}.connected-button:last-child{border-radius:8px 20px 20px 8px}.connected-button.active{background-color:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary);border-radius:20px;flex-grow:1.18}.connected-button:hover{background-color:color-mix(in srgb, var(--md-sys-color-primary-container) 88%, var(--md-sys-color-on-primary-container))}.connected-button.active:hover{background-color:color-mix(in srgb, var(--md-sys-color-primary) 88%, var(--md-sys-color-on-primary))}.connected-button:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}.connected-button-check{flex:none;animation:.25s cubic-bezier(.2,0,0,1) connected-check-enter}.m3-switch{border:2px solid var(--md-sys-color-outline);background-color:var(--md-sys-color-surface-container-highest,var(--bg-card-hover));cursor:pointer;border-radius:14px;flex:none;width:46px;height:28px;padding:0;transition:background-color .2s,border-color .2s;position:relative}.m3-switch-thumb{background-color:var(--md-sys-color-outline);width:14px;height:14px;color:var(--md-sys-color-on-primary-container);border-radius:50%;justify-content:center;align-items:center;transition:left .25s cubic-bezier(.2,0,0,1),width .25s cubic-bezier(.2,0,0,1),height .25s cubic-bezier(.2,0,0,1),background-color .2s;display:flex;position:absolute;top:50%;left:5px;transform:translateY(-50%)}.m3-switch.active{border-color:var(--md-sys-color-primary);background-color:var(--md-sys-color-primary)}.m3-switch.active .m3-switch-thumb{background-color:var(--md-sys-color-on-primary);width:20px;height:20px;color:var(--md-sys-color-primary);left:21px}.m3-switch:hover .m3-switch-thumb{box-shadow:0 0 0 8px color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent)}.m3-switch:focus-visible{outline:2px solid var(--md-sys-color-primary);outline-offset:3px}@keyframes connected-check-enter{0%{opacity:0;transform:scale(.65)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.connected-button,.connected-button-check,.m3-switch,.m3-switch-thumb{transition:none;animation:none}}@media (width<=700px){.settings-group.settings-control-row{flex-direction:column;align-items:stretch;display:flex}.settings-control-row .connected-button-group{width:100%}.settings-control-row>.m3-switch{align-self:flex-end}}.project-metric-chip{border:1px solid var(--border-color);background-color:var(--md-sys-color-surface-container-low);color:var(--text-secondary);border-radius:100px;align-items:center;gap:4px;padding:3px 8px;font-size:.7rem;font-weight:600;display:inline-flex}.project-details-dashboard{grid-template-columns:minmax(340px,1.2fr) 2fr;align-items:start;gap:20px;margin-top:12px;display:grid}.ui-workspace{font-family:var(--font-ui);font-size:var(--type-body);line-height:1.45}.ui-workspace :is(button,input,select,textarea,[contenteditable=true]){line-height:1.4;font-family:var(--font-ui)!important;font-size:var(--type-body)!important}.ui-workspace :is(.dashboard-page-header h2,.production-page-title,.breakdown-page-title,.shot-list-page-title,.schedule-page-title,.budget-page-title,.call-sheet-page-title){letter-spacing:-.015em;line-height:1.2;font-family:var(--font-ui)!important;font-size:var(--type-page-title)!important}.ui-workspace :is(.dashboard-page-header p,.production-page-description,.breakdown-page-description,.shot-list-page-description,.schedule-page-description,.budget-page-description,.call-sheet-page-description,.settings-group-desc){line-height:1.5;font-family:var(--font-ui)!important;font-size:var(--type-body)!important}.ui-workspace :is(.settings-group h3,.settings-group-title,.help-section-title,.section-title,.breakdown-section-card h4,.schedule-section-card h4,.call-sheet-section-card h4,.shot-list-editor h3){line-height:1.35;font-family:var(--font-ui)!important;font-size:var(--type-section-title)!important}.ui-workspace :is(label,small,.metadata-label,.metric-tile-label,.m3-list-item-subtitle,.m3-badge,.pacing-badge,.character-stat-lines,.story-health-strip span,.production-summary-grid>div span,.breakdown-summary-card span,.shot-list-summary-card span,.schedule-summary-card span,.budget-summary-card span,.call-sheet-summary-card span){line-height:1.4;font-family:var(--font-ui)!important;font-size:var(--type-label)!important}.ui-workspace :is(.breakdown-intelligence-strip span,.breakdown-intelligence-strip small,.shot-list-intelligence-strip span,.shot-list-intelligence-strip small,.schedule-intelligence-strip span,.schedule-intelligence-strip small,.budget-health-copy span,.budget-health-copy small,.budget-largest-category span,.budget-largest-category small,.budget-table-header,.call-sheet-panel-title span,.call-sheet-panel-title em,.call-sheet-table-header,.call-sheet-list-copy small,.call-sheet-requirements-grid span,.call-sheet-requirements-grid small,.shot-list-card-copy small,.schedule-day-copy small,.schedule-scene-copy small){line-height:1.35;font-family:var(--font-ui)!important;font-size:var(--type-label)!important}.ui-workspace :is(.breakdown-intelligence-strip strong,.shot-list-intelligence-strip strong,.schedule-intelligence-strip strong,.budget-health-copy strong,.budget-largest-category strong,.shot-list-board-header h3,.schedule-day-copy strong,.call-sheet-list-copy strong){line-height:1.4;font-family:var(--font-ui)!important;font-size:var(--type-body)!important}.ui-workspace :is(.profile-textarea,.treatment-editor){font-family:var(--font-ui)!important;font-size:var(--type-body)!important}@media (width<=950px){.project-details-dashboard{grid-template-columns:1fr;gap:24px}}.cover-preview-container{background-color:var(--md-sys-color-surface-container-lowest);border:1px solid var(--border-color);border-radius:20px;flex-direction:column;align-items:center;gap:16px;padding:24px 16px;display:flex;box-shadow:inset 0 2px 8px #00000026}.cover-preview-label{color:var(--text-secondary);align-self:flex-start;align-items:center;gap:6px;font-size:.72rem;font-weight:700;display:flex}.cover-preview-label svg{color:var(--accent-primary)}.m3-dialog-scrim{z-index:12000;background:#00000094;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.m3-basic-dialog{width:min(620px,100vw - 40px);max-height:calc(100dvh - 48px);color:var(--text-primary);background:var(--md-sys-color-surface-container-high,var(--bg-card));border:1px solid var(--border-color);border-radius:24px;flex-direction:column;animation:.18s cubic-bezier(.2,0,0,1) scaleUp;display:flex;overflow:hidden;box-shadow:0 24px 64px #00000061}.m3-dialog-header{justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 20px 14px;display:flex}.m3-dialog-header h2{margin:0;font-size:1.25rem;font-weight:500}.m3-dialog-header p{color:var(--text-secondary);margin:4px 0 0;font-size:.76rem}.m3-dialog-content{min-height:0;padding:0 20px;overflow:auto}.m3-dialog-actions{justify-content:flex-end;padding:14px 20px 20px;display:flex}.cover-preview-dialog-container{box-shadow:none;padding:16px}.cover-preview-dialog-container .cover-paper-sheet{cursor:default;max-width:min(420px,100%)}.cover-preview-dialog-container .cover-paper-sheet:hover{transform:none}.project-thumbnail-container{background:var(--md-sys-color-surface-container-lowest);border:1px solid var(--border-color);border-radius:20px;flex-direction:column;gap:16px;padding:20px;display:flex}.project-thumbnail-heading{align-items:flex-start;gap:10px;display:flex}.project-thumbnail-heading svg{color:var(--accent-primary);margin-top:2px}.project-thumbnail-heading h3{margin:0;font-size:1rem}.project-thumbnail-heading p{color:var(--text-secondary);margin:3px 0 0;font-size:.75rem}.project-thumbnail-dropzone{aspect-ratio:1;cursor:pointer;background:var(--md-sys-color-surface-container);border:1px dashed var(--border-color);border-radius:16px;place-items:center;transition:border-color .16s,background-color .16s;display:grid;overflow:hidden}.project-thumbnail-dropzone:hover{border-color:var(--accent-primary)}.project-thumbnail-dropzone img{object-fit:contain;object-position:center;width:auto;max-width:100%;height:auto;max-height:100%;display:block}.project-thumbnail-dropzone input,.project-thumbnail-actions input{display:none}.project-thumbnail-placeholder{color:var(--text-secondary);flex-direction:column;align-items:center;gap:6px;display:flex}.project-thumbnail-placeholder strong{color:var(--text-primary);font-size:.85rem}.project-thumbnail-placeholder span{font-size:.7rem}.project-thumbnail-actions{flex-wrap:wrap;gap:8px;display:flex}.project-thumbnail-actions label.btn{cursor:pointer}.project-thumbnail-remove{color:var(--md-sys-color-error,#ba1a1a)}@media (height<=700px){.m3-dialog-scrim{padding:12px}.m3-basic-dialog{max-height:calc(100dvh - 24px)}.m3-dialog-header{padding:16px 20px 12px}.m3-dialog-content{padding:0 20px}.m3-dialog-actions{padding:12px 20px 16px}.cover-preview-dialog-container .cover-paper-sheet{max-width:300px}}.cover-paper-sheet{background-color:var(--script-bg);color:var(--script-text);box-sizing:border-box;text-align:center;cursor:pointer;border:1px solid #0000000f;border-radius:4px;flex-direction:column;width:100%;max-width:220px;padding:0;font-family:Courier New,Courier,monospace;line-height:1.4;transition:transform .2s,box-shadow .2s;display:flex;position:relative;box-shadow:0 12px 32px #00000040;container-type:inline-size}.cover-layout-letter{aspect-ratio:8.5/11;--cover-side-margin:11.76%;--cover-bottom-margin:9.09%;--cover-font-size:1.96cqw}.cover-layout-a4{aspect-ratio:210/297;--cover-side-margin:12.1%;--cover-bottom-margin:8.55%;--cover-font-size:2.02cqw}.cover-paper-sheet:hover{transform:translateY(-2px);box-shadow:0 16px 40px #0000004d}.cover-paper-center-group{top:31.8%;left:var(--cover-side-margin);right:var(--cover-side-margin);flex-direction:column;justify-content:center;align-items:center;width:auto;margin:0;display:flex;position:absolute}.cover-paper-title{font-size:var(--cover-font-size);word-break:break-word;text-transform:uppercase;text-underline-offset:.18em;font-family:Courier New,Courier,monospace;font-weight:400;line-height:1.25;text-decoration:underline;display:block}.cover-paper-subtitle{font-size:var(--cover-font-size);text-transform:uppercase;margin-top:1.25em;font-family:Courier New,Courier,monospace;display:block}.cover-paper-by{font-size:var(--cover-font-size);margin:2.5em 0 1.25em;font-family:Courier New,Courier,monospace;display:block}.cover-paper-author{font-size:var(--cover-font-size);font-family:Courier New,Courier,monospace;font-weight:400;display:block}.cover-paper-contact{bottom:var(--cover-bottom-margin);left:var(--cover-side-margin);right:var(--cover-side-margin);font-size:var(--cover-font-size);text-align:left;text-transform:none;white-space:pre-wrap;word-break:break-word;font-family:Courier New,Courier,monospace;line-height:1.25;position:absolute}.metric-tiles-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.metric-tile{background-color:var(--md-sys-color-surface-container-high);border:1px solid var(--border-color);border-radius:16px;align-items:center;gap:12px;padding:16px;transition:transform .2s cubic-bezier(.2,0,0,1),border-color .2s,box-shadow .2s;display:flex}.metric-tile:hover{border-color:var(--md-sys-color-primary);transform:translateY(-2px);box-shadow:0 6px 16px #0000001f}.metric-tile-icon-wrapper{background-color:var(--md-sys-color-primary-container);width:38px;height:38px;color:var(--md-sys-color-on-primary-container);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.metric-tile-content{flex-direction:column;min-width:0;display:flex}.metric-tile-value{color:var(--text-primary);font-size:1.15rem;font-weight:800;line-height:1.2}.metric-tile-label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.03em;margin-top:2px;font-size:.68rem;font-weight:700}.pacing-meter-container{flex-direction:column;gap:12px;display:flex}.pacing-bar-track{background-color:var(--md-sys-color-surface-container-low);border:1px solid var(--border-color);border-radius:6px;height:12px;display:flex;overflow:hidden}.pacing-bar-dialogue{background:linear-gradient(90deg, var(--md-sys-color-primary), #818cf8);height:100%;transition:width .3s}.pacing-bar-action{background:linear-gradient(90deg,#ec4899,#f43f5e);height:100%;transition:width .3s}.pacing-indicator-labels{justify-content:space-between;font-size:.78rem;font-weight:600;display:flex}.pacing-badge{background-color:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);text-transform:uppercase;letter-spacing:.02em;border-radius:12px;width:fit-content;padding:3px 10px;font-size:.72rem;font-weight:700}.character-stat-row{flex-direction:column;gap:6px;display:flex}.character-stat-info{justify-content:space-between;font-size:.8rem;font-weight:500;display:flex}.character-stat-name{color:var(--text-primary);text-transform:uppercase;letter-spacing:.02em;font-size:.76rem;font-weight:700}.character-stat-lines{color:var(--text-secondary)}.character-bar-track{background-color:var(--md-sys-color-surface-container-low);border:1px solid #ffffff08;border-radius:4px;height:8px;overflow:hidden}.character-bar-fill{background:linear-gradient(90deg, var(--md-sys-color-primary), #818cf8);border-radius:4px;height:100%;transition:width .3s}.cover-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10000;cursor:zoom-out;background-color:#000000d9;justify-content:center;align-items:center;padding:40px;animation:.2s cubic-bezier(.2,0,0,1) fadeIn;display:flex;position:fixed;inset:0}.cover-modal-paper{background-color:var(--script-bg);color:var(--script-text);width:min(680px, var(--cover-modal-height-width), calc(100vw - 80px));box-sizing:border-box;text-align:center;cursor:default;border:1px solid #0000000f;border-radius:6px;flex-direction:column;padding:0;font-family:Courier New,Courier,monospace;line-height:1.45;animation:.3s cubic-bezier(.34,1.56,.64,1) scaleUp;display:flex;position:relative;box-shadow:0 20px 60px #0009;container-type:inline-size}.cover-modal-paper.cover-layout-letter{--cover-modal-height-width:calc((100vh - 80px) * 8.5 / 11)}.cover-modal-paper.cover-layout-a4{--cover-modal-height-width:calc((100vh - 80px) * 210 / 297)}@keyframes scaleUp{0%{opacity:0;transform:scale(.9)translateY(20px)}to{opacity:1;transform:scale(1)translateY(0)}}.cover-modal-center-group{top:31.8%;left:var(--cover-side-margin);right:var(--cover-side-margin);flex-direction:column;justify-content:center;align-items:center;width:auto;margin:0;display:flex;position:absolute}.cover-modal-title{font-size:var(--cover-font-size);word-break:break-word;text-transform:uppercase;text-underline-offset:.18em;font-family:Courier New,Courier,monospace;font-weight:400;line-height:1.25;text-decoration:underline;display:block}.cover-modal-subtitle{font-size:var(--cover-font-size);text-transform:uppercase;margin-top:1.25em;font-family:Courier New,Courier,monospace;display:block}.cover-modal-by{font-size:var(--cover-font-size);margin:2.5em 0 1.25em;font-family:Courier New,Courier,monospace;display:block}.cover-modal-author{font-size:var(--cover-font-size);font-family:Courier New,Courier,monospace;font-weight:400;display:block}.cover-modal-contact{bottom:var(--cover-bottom-margin);left:var(--cover-side-margin);right:var(--cover-side-margin);font-size:var(--cover-font-size);text-align:left;text-transform:none;white-space:pre-wrap;word-break:break-word;font-family:Courier New,Courier,monospace;line-height:1.25;position:absolute}.cover-modal-close-btn{width:40px;height:40px;color:var(--script-text);cursor:pointer;z-index:10001;background-color:#0000000f;border:1px solid #0000001f;border-radius:50%;justify-content:center;align-items:center;transition:background-color .2s,transform .2s;display:flex;position:absolute;top:24px;right:24px}.cover-modal-close-btn:hover{background-color:#0000001f;transform:scale(1.05)}
