.ai-budget-usage{padding:16px;border:1px solid var(--ui-border, #27313e);border-radius:8px;background:var(--ui-panel, #11161e)}.ai-budget-usage h3{margin:0 0 14px;font-size:13px}.ai-budget-usage>p{margin:8px 0 0;font-size:12px}.ai-budget-periods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ai-budget-period{display:grid;gap:9px;min-width:0;padding:12px;border:1px solid var(--ui-border, #27313e);border-radius:6px;background:var(--ui-background, #080b10)}.ai-budget-period p{margin:0;color:var(--ui-muted, #9aa7b7);font-size:11px;line-height:1.45}.ai-budget-period strong{display:block;margin-top:2px;color:var(--ui-text, #edf2f7);font-size:18px;font-weight:650}.ai-budget-progress{height:6px;overflow:hidden;border-radius:999px;background:var(--ui-border, #27313e)}.ai-budget-progress>span{display:block;height:100%;min-width:0;border-radius:inherit;background:var(--ui-primary, #2a86e6);transition:width .16s ease}@media(max-width:700px){.ai-budget-periods{grid-template-columns:1fr}}.modal-backdrop.cloud-project-backdrop{z-index:180;padding:4px;box-sizing:border-box;grid-template-columns:minmax(0,1fr)}.cloud-workspace-page{display:flex;grid-area:1 / 1;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;border-radius:0;background:#f8fafc}.cloud-project-panel,.cloud-project-panel *{box-sizing:border-box}.cloud-project-panel{display:flex;flex-direction:column;width:calc(100vw - 8px);min-width:0;max-width:none;height:calc(100dvh - 8px);max-height:none;overflow:hidden;overscroll-behavior:contain;padding:12px 14px;border:1px solid #ccd6de;border-radius:12px;background:#f8fafc;color:#233342;box-shadow:0 24px 80px #0004;font:14px/1.5 system-ui,sans-serif}.cloud-workspace-page .cloud-project-panel{width:100%;height:100%;border:0;border-radius:0!important;box-shadow:none}.cloud-project-panel h2{margin:0;font-size:18px;line-height:30px}.cloud-project-panel h3{margin:0 0 10px;font-size:18px}.cloud-project-panel h4{margin:18px 0 8px}.cloud-project-panel p{margin:6px 0 12px}.cloud-project-panel button,.cloud-project-panel input,.cloud-project-panel select{font:inherit;border:1px solid #c4d0da;border-radius:8px;padding:9px 12px;color:inherit;background:#fff}.cloud-project-panel button{cursor:pointer}.cloud-project-panel button:hover:not(:disabled){background:#e8f1f8;border-color:#7496b0}.cloud-project-panel button:disabled{opacity:.5;cursor:default}.cloud-project-panel button:focus-visible,.cloud-project-panel input:focus-visible,.cloud-project-panel select:focus-visible{outline:3px solid #4b9ac9;outline-offset:2px}.cloud-project-panel label{display:grid;gap:5px;font-weight:600}.cloud-project-header,.cloud-project-toolbar,.cloud-member,.cloud-version{display:flex;align-items:center;justify-content:space-between;gap:8px}.cloud-project-header{min-height:32px;margin-bottom:6px}.cloud-project-header>button{width:32px;height:30px;padding:6px;border-color:transparent;background:transparent}.cloud-eyebrow{color:#59768b;font-size:11px;letter-spacing:.13em;font-weight:700}.cloud-project-toolbar{justify-content:flex-start;flex-wrap:wrap;gap:6px}.cloud-project-toolbar>input.cloud-project-search{flex:0 1 230px;width:230px;min-width:120px}.cloud-project-toolbar>button{display:inline-flex;align-items:center;gap:6px}.cloud-project-toolbar>input,.cloud-project-toolbar>button{min-height:34px;padding:6px 9px}.cloud-view-switch{display:flex;align-items:center;gap:2px;padding:2px;border:1px solid #c4d0da;border-radius:8px;background:#fff}.cloud-project-panel .cloud-view-switch>button{display:grid;place-items:center;width:30px;height:28px;min-height:0;padding:5px;border:0;border-radius:5px;background:transparent}.cloud-project-panel .cloud-view-switch>button[aria-pressed=true]{color:#174d70;background:#dfeaf3}.cloud-project-panel .cloud-view-switch>button:focus-visible{outline-width:2px;outline-offset:-1px}.cloud-grid-view-icon{display:grid;grid-template-columns:repeat(2,5px);gap:2px}.cloud-grid-view-icon>i{width:5px;height:5px;border:1.5px solid currentColor;border-radius:1px}.cloud-storage-usage{display:grid;min-width:132px;padding:3px 9px;border-left:1px solid #d4dde4;color:#63798a;font-size:10px;line-height:1.15;white-space:nowrap}.cloud-storage-usage strong{color:#334c5e;font-size:11px;font-weight:650}.cloud-folder-create-form{display:flex;align-items:end;gap:8px;margin-top:12px;padding:12px;border:1px solid #d6e0e7;border-radius:10px;background:#fff}.cloud-folder-create-form label{flex:1}.cloud-create-location{max-width:320px;padding:0 4px 10px;overflow:hidden;color:#63798a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.cloud-project-filters{display:flex;gap:4px;margin:7px 0 3px;flex-wrap:wrap}.cloud-project-filters button{padding:5px 9px}.cloud-project-filters button{border-color:transparent;background:transparent}.cloud-project-filters [aria-pressed=true]{background:#dfeaf3;color:#174d70}.cloud-folder-navigation{display:flex;align-items:center;gap:3px;min-height:32px;margin:0 0 4px;overflow-x:auto}.cloud-folder-navigation button{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:5px 8px;border-color:transparent;background:transparent}.cloud-folder-navigation button.is-drop-target{color:#175f89;border-color:#599fc8;background:#e5f3fb}.cloud-breadcrumb-part{display:inline-flex;align-items:center;gap:3px}.cloud-breadcrumb-part>.ui-icon{width:13px;height:13px;color:#7b8e9c}.cloud-folder-navigation .cloud-folder-icon{width:21px;height:18px}.cloud-project-layout{display:grid;flex:1 1 auto;grid-template-columns:minmax(0,1fr) minmax(320px,380px);gap:10px;min-height:0;overflow:hidden}.cloud-project-list{position:relative;display:grid;grid-template-columns:repeat(auto-fill,126px);grid-auto-rows:132px;align-content:start;gap:6px;min-width:0;min-height:0;padding:5px;overflow:auto;border:1px solid transparent;border-radius:9px;-webkit-user-select:none;user-select:none}.cloud-project-list.is-list{grid-template-columns:minmax(0,1fr);grid-auto-rows:50px;gap:2px}.cloud-project-list.is-current-drop-target{border-color:#599fc8;background:#eaf4fa}.cloud-project-panel button.cloud-project-card,.cloud-project-panel button.cloud-folder-card{position:relative;display:grid!important;grid-template-columns:1fr;grid-template-rows:78px auto;align-content:start;justify-items:center;gap:5px;width:126px;min-width:0;height:132px;min-height:0;padding:9px 8px;overflow:hidden;border-color:transparent;background:transparent;box-shadow:none;text-align:center}.cloud-project-card>span:nth-child(2),.cloud-folder-card>span:nth-child(2){display:grid;align-content:start;gap:4px;width:100%;min-width:0;text-align:center}.cloud-project-card strong,.cloud-folder-card strong{display:-webkit-box;overflow:hidden;font-size:13px;line-height:1.25;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.cloud-project-card small,.cloud-member small,.cloud-help{color:#63798a;font-size:12px}.cloud-project-card>span:nth-child(2) small,.cloud-folder-card>span:nth-child(2) small{overflow:hidden;font-size:10px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.cloud-item-list-meta{display:none}.cloud-scenario-icon{position:relative;display:block;width:60px;height:76px;color:#5fa5cf}.cloud-scenario-icon>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.cloud-scenario-paper{fill:#f9fcfe;stroke:currentColor;stroke-width:2}.cloud-scenario-fold{fill:#dceef8;stroke:currentColor;stroke-linejoin:round;stroke-width:2}.cloud-scenario-lines{fill:none;stroke:#a8bfcd;stroke-linecap:round;stroke-width:2}.cloud-scenario-icon-pages,.cloud-scenario-icon-date{position:absolute;left:9px;right:9px;overflow:hidden;color:#29485b;font:700 9px/1 system-ui,sans-serif;text-align:center;text-overflow:ellipsis;white-space:nowrap}.cloud-scenario-icon-pages{bottom:16px}.cloud-scenario-icon-date{bottom:7px;color:#668092;font-size:7px;font-weight:600}.cloud-folder-icon{display:block;width:68px;height:58px;color:#d8a63e}.cloud-folder-icon>svg{width:100%;height:100%;overflow:visible}.cloud-folder-icon path:first-child{fill:#e8b94e;stroke:#b78224;stroke-linejoin:round;stroke-width:2}.cloud-folder-icon path:last-child{fill:none;stroke:#f7d983;stroke-width:2}.cloud-project-card.is-dragging,.cloud-folder-card.is-dragging{opacity:.48}.cloud-project-panel button.cloud-folder-card.is-drop-target{border-color:#54a8d8;background:#e5f3fb;box-shadow:0 0 0 2px #54a8d844 inset}.cloud-project-panel button.cloud-project-card.is-selected,.cloud-project-panel button.cloud-folder-card.is-selected{border-color:#599fc8;background:#eef6fc;box-shadow:0 0 0 1px #599fc833 inset}.cloud-selection-rectangle{position:absolute;z-index:3;display:block;pointer-events:none;border:1px solid #4b9ac9;border-radius:3px;background:#4b9ac926}.cloud-project-panel .cloud-project-list.is-list button.cloud-project-card,.cloud-project-panel .cloud-project-list.is-list button.cloud-folder-card{grid-template-columns:42px minmax(0,1fr);grid-template-rows:1fr;align-items:center;justify-items:start;gap:10px;width:100%;height:50px;padding:5px 9px;text-align:left}.cloud-project-list.is-list .cloud-scenario-icon{width:30px;height:39px;justify-self:center}.cloud-project-list.is-list .cloud-scenario-icon-pages,.cloud-project-list.is-list .cloud-scenario-icon-date{display:none}.cloud-project-list.is-list .cloud-folder-icon{width:38px;height:32px;justify-self:center}.cloud-project-list.is-list .cloud-project-card>span:nth-child(2),.cloud-project-list.is-list .cloud-folder-card>span:nth-child(2){align-content:center;text-align:left}.cloud-project-list.is-list .cloud-project-card strong,.cloud-project-list.is-list .cloud-folder-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cloud-project-list.is-list .cloud-item-list-meta{display:block}.cloud-explorer-context-layer{position:fixed;z-index:500;inset:0}.cloud-explorer-context-menu{position:fixed;display:grid;width:220px;padding:5px;border:1px solid #b9c8d3;border-radius:9px;background:#fff;box-shadow:0 14px 38px #17273338}.cloud-project-panel .cloud-explorer-context-menu button{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;width:100%;padding:8px 9px;border:0;background:transparent;text-align:left}.cloud-explorer-context-menu .cloud-folder-icon{width:22px;height:19px}.cloud-explorer-context-menu .ui-icon{width:17px;height:17px;justify-self:center}.cloud-project-panel .cloud-explorer-context-menu .cloud-context-delete{margin-top:4px;border-top:1px solid #dce4eb;border-radius:0 0 6px 6px;color:#a33232}.cloud-project-detail{min-height:0;overflow:auto;border:1px solid #dce4eb;border-radius:10px;background:#fff;padding:16px}.cloud-project-detail h3{overflow-wrap:anywhere}.cloud-folder-properties{text-align:center}.cloud-folder-properties>.cloud-folder-icon{width:84px;height:68px;margin:4px auto 8px}.cloud-folder-properties>p{color:#63798a}.cloud-folder-properties dl{display:grid;gap:0;margin:18px 0;text-align:left}.cloud-folder-properties dl>div{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,1.5fr);gap:12px;padding:9px 0;border-bottom:1px solid #dce4eb}.cloud-folder-properties dt{color:#63798a}.cloud-folder-properties dd{margin:0;overflow-wrap:anywhere;text-align:right}.cloud-project-properties{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:10px}.cloud-project-properties>.cloud-scenario-icon{width:43px;height:54px}.cloud-project-properties>.cloud-scenario-icon .cloud-scenario-icon-pages{bottom:11px;font-size:7px}.cloud-project-properties>.cloud-scenario-icon .cloud-scenario-icon-date{bottom:5px;font-size:6px}.cloud-project-properties-heading{min-width:0}.cloud-project-properties-heading h3{margin:0;font-size:16px}.cloud-project-properties-heading>span{color:#63798a;font-size:12px}.cloud-project-properties>.primary-button{padding:7px 10px}.cloud-project-property-actions{display:flex;align-items:center;gap:6px}.cloud-project-property-actions>button{padding:7px 9px}.cloud-project-properties dl{grid-column:1 / -1;display:grid;gap:0;margin:8px 0 0}.cloud-project-properties dl>div{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,1.45fr);gap:10px;padding:7px 0;border-bottom:1px solid #dce4eb}.cloud-project-properties dt{color:#63798a}.cloud-project-properties dd{margin:0;overflow-wrap:anywhere;text-align:right;font-weight:600}.cloud-compact-alert{padding:8px 10px;border-radius:7px;background:#fff3d8;color:#765414;font-size:12px}.cloud-empty{padding:32px 12px;color:#657b8c;text-align:center}.cloud-create-form,.cloud-invitations,.cloud-current{margin-top:18px;padding:18px;border:1px solid #a7c7dc;border-radius:12px;background:#edf6fc}.cloud-create-form button,.cloud-current button{margin:5px 8px 0 0}.cloud-invitations-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.cloud-invitations-heading h3{margin:0}.cloud-invitations-heading>span{color:#63798a;font-size:12px;white-space:nowrap}.cloud-invitations>div:not(.cloud-invitations-heading){display:flex;align-items:center;gap:8px;margin-top:10px}.cloud-invitations>div:not(.cloud-invitations-heading)>span{display:grid;flex:1;gap:2px;min-width:0}.cloud-invitations small{color:#63798a;font-size:12px}.cloud-member{margin:10px 0;padding-bottom:10px;border-bottom:1px solid #dde5eb}.cloud-member>span{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}.cloud-member>div{display:flex;gap:5px}.cloud-project-panel .cloud-member button,.cloud-project-panel .cloud-member select{padding:5px;font-size:12px}.cloud-invite-form{display:grid;gap:10px;margin:18px 0}.cloud-contact-required{margin:14px 0;padding:10px;border:1px solid #d6e0e7;background:#f7fafc}.cloud-contact-required p{margin-top:0;color:#63798a;font-size:12px}.cloud-contacts-layer{position:fixed;z-index:540;inset:0;display:grid;place-items:center;padding:20px;background:#14212c73}.cloud-contacts-panel{display:flex;flex-direction:column;width:min(920px,100%);max-height:min(760px,calc(100dvh - 40px));padding:18px;overflow:auto;border:1px solid #c5d0d8;border-radius:10px;background:#f8fafc;box-shadow:0 20px 58px #1526344d}.cloud-contacts-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.cloud-contacts-panel>header h3{margin:0}.cloud-contacts-panel>header p{margin:2px 0 0;color:#63798a;font-size:12px}.cloud-contacts-panel>header>button{display:grid;place-items:center;width:32px;height:32px;padding:6px}.cloud-contact-request-form{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:8px;margin:16px 0;padding-bottom:16px;border-bottom:1px solid #dce4eb}.cloud-contact-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cloud-contact-columns>section{min-width:0;padding:10px;border:1px solid #dce4eb;background:#fff}.cloud-contact-columns h4{display:flex;justify-content:space-between;gap:8px;margin:0 0 8px;font-size:14px}.cloud-contact-columns h4 span{color:#63798a;font-weight:500}.cloud-contact-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-top:1px solid #e4ebf0}.cloud-contact-row>span{display:grid;min-width:0}.cloud-contact-row strong,.cloud-contact-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cloud-contact-row small,.cloud-contact-empty{color:#63798a;font-size:11px}.cloud-contact-row>div{display:flex;gap:4px}.cloud-project-panel .cloud-contact-row button{flex:0 0 auto;padding:5px 7px;font-size:11px}.cloud-contact-remove-confirm{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:10px;border:1px solid #e1b8b8;background:#fff5f5}.cloud-contact-remove-confirm p{margin:0}.cloud-contact-remove-confirm>div{display:flex;gap:6px}.cloud-project-panel details{padding:14px 0}.cloud-project-panel summary{cursor:pointer;font-weight:600}.cloud-version{padding:10px 0;font-size:12px}.cloud-notice{padding:14px;background:#e5f1fa;border-radius:8px}.cloud-delete-confirm-layer{position:fixed;z-index:520;inset:0;display:grid;place-items:center;padding:20px;background:#14212c73}.cloud-delete-confirm{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;width:min(430px,100%);padding:18px;border:1px solid #c5d0d8;border-radius:12px;background:#fff;box-shadow:0 20px 58px #1526344d}.cloud-delete-confirm>.ui-icon{width:21px;height:21px;color:#a33232}.cloud-delete-confirm h3{margin:0;font-size:17px}.cloud-delete-confirm p,.cloud-delete-confirm>div{grid-column:1 / -1}.cloud-delete-confirm p{color:#566c7c}.cloud-delete-confirm>div{display:flex;justify-content:flex-end;gap:8px}.cloud-project-panel .cloud-delete-button{border-color:#a63a3a;background:#a63a3a;color:#fff}.cloud-project-panel .cloud-delete-button:hover:not(:disabled){border-color:#8c2c2c;background:#8c2c2c}.cloud-current{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-height:112px;contain:layout}.cloud-current-summary{min-width:0}.cloud-current-summary>strong,.cloud-current-summary>span{display:block}.cloud-current-summary>p{min-height:18px;margin-bottom:0}.cloud-current-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;max-width:560px}.cloud-current-actions>button{margin:0}.cloud-menu-status{max-width:35vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-button{white-space:nowrap}.theme-dark .cloud-workspace-page,.theme-dark .cloud-project-panel{background:#20282f;color:#e1e9ee;border-color:#405563}.theme-dark .cloud-project-panel button,.theme-dark .cloud-project-panel input,.theme-dark .cloud-project-panel select,.theme-dark .cloud-project-detail,.theme-dark .cloud-folder-create-form{background:#29353e;border-color:#435663}.theme-dark .cloud-project-panel .cloud-view-switch{background:#1f2a33;border-color:#3d5262}.theme-dark .cloud-project-panel .cloud-view-switch>button{border:0;background:transparent;color:#aebfca}.theme-dark .cloud-project-panel .cloud-view-switch>button:hover:not(:disabled){border-color:transparent;background:#2c3f4c;color:#dbeaf3}.theme-dark .cloud-project-panel .cloud-view-switch>button[aria-pressed=true]{background:#2d5269;color:#e5f4fc}.theme-dark .cloud-storage-usage{border-color:#3d4f5c;color:#9caeb9}.theme-dark .cloud-storage-usage strong{color:#d1e2ec}.theme-dark .cloud-project-panel button:hover:not(:disabled),.theme-dark .cloud-project-card.is-selected,.theme-dark .cloud-project-filters [aria-pressed=true]{background:#314b5d;color:#c8e9fb}.app-shell.theme-dark .cloud-project-panel .cloud-project-list{display:grid;align-content:start;gap:6px;padding:5px;border:1px solid transparent;background:transparent}.app-shell.theme-dark .cloud-project-panel .cloud-project-list.is-icons{grid-template-columns:repeat(auto-fill,126px);grid-auto-rows:132px}.app-shell.theme-dark .cloud-project-panel .cloud-project-list.is-list{grid-template-columns:minmax(0,1fr);grid-auto-rows:50px;gap:2px}.app-shell.theme-dark .cloud-project-panel .cloud-project-list.is-current-drop-target{border-color:#54a8d8;background:#233540}.app-shell.theme-dark .cloud-project-panel .is-icons button.cloud-project-card,.app-shell.theme-dark .cloud-project-panel .is-icons button.cloud-folder-card{display:grid!important;grid-template-columns:1fr;grid-template-rows:78px auto;gap:5px;width:126px;height:132px;min-height:0;padding:9px 8px;border:1px solid transparent;background:transparent;border-radius:9px;box-shadow:none}.app-shell.theme-dark .cloud-project-panel .is-list button.cloud-project-card,.app-shell.theme-dark .cloud-project-panel .is-list button.cloud-folder-card{border:1px solid transparent;background:transparent;border-radius:7px;box-shadow:none}.app-shell.theme-dark .cloud-project-panel button.cloud-project-card:hover:not(:disabled),.app-shell.theme-dark .cloud-project-panel button.cloud-folder-card:hover:not(:disabled){border-color:#3e5666;background:#273945}.app-shell.theme-dark .cloud-project-panel .cloud-project-card.is-selected,.app-shell.theme-dark .cloud-project-panel .cloud-folder-card.is-selected{border-color:#54a8d8;background:#283f4e;box-shadow:0 0 0 1px #54a8d855 inset}.app-shell.theme-dark .cloud-project-panel .cloud-folder-card.is-drop-target{border-color:#54a8d8;background:#283f4e}.theme-dark .cloud-scenario-paper{fill:#263946}.theme-dark .cloud-scenario-fold{fill:#31556a}.theme-dark .cloud-scenario-icon-pages{color:#d3ecfa}.theme-dark .cloud-scenario-icon-date{color:#9db8c8}.theme-dark .cloud-explorer-context-menu{border-color:#4b5f6d;background:#29353e;box-shadow:0 14px 38px #0008}.theme-dark .cloud-folder-properties dl>div,.theme-dark .cloud-project-properties dl>div,.theme-dark .cloud-project-panel .cloud-explorer-context-menu .cloud-context-delete{border-color:#40505c}.theme-dark .cloud-project-properties-heading>span,.theme-dark .cloud-project-properties dt{color:#a3b8c7}.theme-dark .cloud-compact-alert{background:#4a3d22;color:#f0d698}.theme-dark .cloud-contact-required,.theme-dark .cloud-contacts-panel,.theme-dark .cloud-contact-columns>section{background:#29353e;border-color:#435663}.theme-dark .cloud-contacts-panel>header p,.theme-dark .cloud-contact-row small,.theme-dark .cloud-contact-empty,.theme-dark .cloud-contact-columns h4 span,.theme-dark .cloud-contact-required p{color:#a3b8c7}.theme-dark .cloud-contact-request-form,.theme-dark .cloud-contact-row{border-color:#40505c}.theme-dark .cloud-contact-remove-confirm{border-color:#7a4b4b;background:#442d2d}.theme-dark .cloud-delete-confirm{border-color:#4b5f6d;background:#29353e;box-shadow:0 20px 58px #0009}.theme-dark .cloud-delete-confirm p{color:#aec0cb}.theme-dark .cloud-create-form,.theme-dark .cloud-invitations,.theme-dark .cloud-current,.theme-dark .cloud-notice{background:#253d4c;border-color:#44657a}.theme-dark .cloud-invitations-heading>span,.theme-dark .cloud-invitations small{color:#a3b8c7}.theme-dark .cloud-project-card small,.theme-dark .cloud-member small,.theme-dark .cloud-help,.theme-dark .cloud-empty,.theme-dark .cloud-eyebrow{color:#a3b8c7}@media(max-width:980px){.cloud-project-panel{overflow:auto}.cloud-project-layout{flex:0 0 auto;grid-template-columns:1fr;overflow:visible}.cloud-project-list{min-height:360px}.cloud-project-detail{max-height:460px}.cloud-current{grid-template-columns:1fr}.cloud-current-actions{justify-content:flex-start;max-width:none}.cloud-contact-columns{grid-template-columns:1fr}}@media(max-width:760px){.modal-backdrop.cloud-project-backdrop{padding:2px}.cloud-project-panel{width:calc(100vw - 4px);height:calc(100dvh - 4px);padding:8px}.cloud-project-toolbar{align-items:stretch}.cloud-project-toolbar>*{flex:1 1 45%}.cloud-project-toolbar>input.cloud-project-search{flex:0 1 180px;width:180px}.cloud-project-list{grid-template-columns:repeat(auto-fill,116px);grid-auto-rows:128px}.cloud-project-panel button.cloud-project-card,.cloud-project-panel button.cloud-folder-card{width:116px;height:128px}.cloud-folder-create-form{align-items:stretch;flex-direction:column}.cloud-create-location{max-width:none;padding-bottom:0}.cloud-menu-status{max-width:28vw;font-size:11px}.cloud-contact-request-form{grid-template-columns:1fr}}@media screen{.app-shell.theme-dark .file-menu>.whiteboard-menu-item{justify-content:space-between;gap:12px}.whiteboard-workspace{min-width:0;min-height:0;overflow:hidden;background:var(--bg)}.scene-whiteboard{display:grid;grid-template-rows:minmax(0,1fr);width:100%;height:100%;min-height:0;overflow:hidden;color:var(--text);background:var(--surface-1);font-family:var(--font-ui);animation:whiteboard-page-in var(--fast) var(--ease)}.whiteboard-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:82px;padding:14px 18px;border-bottom:1px solid var(--divider)}.whiteboard-header>div:first-child{display:grid;gap:2px;min-width:0}.whiteboard-header h2{margin:0;color:var(--text);font-size:20px;font-weight:650;letter-spacing:-.35px}.whiteboard-header p{margin:0;overflow:hidden;color:var(--text-3);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.whiteboard-eyebrow{color:var(--text-3);font:9px/1.2 var(--font-mono);letter-spacing:.1em;text-transform:uppercase}.whiteboard-header-actions{display:flex;align-items:center;gap:6px}.app-shell.theme-dark .whiteboard-header-actions button{width:auto;min-width:0;min-height:30px;padding:0 9px;color:var(--text-2);background:var(--surface-2);border:1px solid var(--border);font-size:11px}.whiteboard-header-actions kbd{margin-left:8px;color:var(--text-3);font:9px var(--font-mono)}.app-shell.theme-dark .whiteboard-header-actions .whiteboard-close{width:30px;padding:0}.whiteboard-canvas{position:relative;display:grid;grid-template-columns:repeat(3,minmax(270px,1fr));gap:12px;min-height:0;padding:12px;overflow-x:auto;overflow-y:hidden;background:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),var(--bg);background-size:24px 24px;-webkit-user-select:none;user-select:none}.whiteboard-column{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:270px;min-height:0;overflow:hidden;background:#0f141af0;border:1px solid var(--border);border-radius:var(--r-md);box-shadow:var(--shadow-1)}.whiteboard-column>header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:10px 12px;border-bottom:1px solid var(--divider)}.whiteboard-column>header>div{display:grid;gap:2px}.whiteboard-column h3{margin:0;color:var(--text);font-size:13px;font-weight:650}.whiteboard-column>header span{color:var(--text-3);font-size:10px}.app-shell.theme-dark .whiteboard-act-description{width:auto;height:auto;min-height:0;justify-content:flex-start;padding:0;color:var(--text-3);background:transparent;border:0;font-size:10px;font-weight:400;text-align:left}.app-shell.theme-dark .whiteboard-act-description:hover:not(:disabled){color:var(--text-2);background:transparent;transform:none}.app-shell.theme-dark .whiteboard-act-description-input{width:min(180px,100%);height:24px;min-height:24px;padding:0 6px;font-size:10px}.whiteboard-column>header strong{display:grid;min-width:25px;height:23px;place-items:center;padding:0 6px;color:var(--text-2);background:var(--surface-3);border:1px solid var(--border);border-radius:999px;font-size:10px;font-weight:600}.whiteboard-column-actions{display:flex;align-items:center;gap:5px}.app-shell.theme-dark .whiteboard-column-actions button{width:25px;min-width:25px;height:25px;min-height:25px;padding:0;color:var(--text-3);background:transparent;border-color:transparent;opacity:.25}.whiteboard-column:hover .whiteboard-column-actions button,.whiteboard-column-actions button:focus-visible{opacity:1}.app-shell.theme-dark .whiteboard-column-actions button:hover:not(:disabled){color:var(--error);background:#f05b6514;border-color:#f05b6547}.whiteboard-column ol{min-height:0;margin:0;padding:10px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;list-style:none;scrollbar-gutter:stable}.app-shell.theme-dark .whiteboard-add-scene{width:calc(100% - 20px);height:32px;min-height:32px;margin:0 10px 10px;color:var(--text-2);background:transparent;border:1px dashed #3a4655}.app-shell.theme-dark .whiteboard-add-scene:hover:not(:disabled){color:var(--accent-hover);background:#4699f30f;border-color:#6eb3ff8c}.whiteboard-add-scene .ui-icon{width:14px;height:14px}.whiteboard-scene-card{position:relative;display:grid;gap:5px;min-height:88px;margin:0 0 6px;padding:8px 9px;color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-left:3px solid var(--border);border-radius:var(--r-md);box-shadow:0 1px 5px #0000002e;cursor:grab;transition:opacity var(--fast) var(--ease),background var(--fast) var(--ease),border-color var(--fast) var(--ease),box-shadow var(--fast) var(--ease),transform var(--fast) var(--ease)}.whiteboard-scene-card:hover{background:var(--surface-hover);border-color:#394758;transform:translateY(-1px)}.whiteboard-scene-card.is-selected{background:var(--surface-selected);border-color:#6eb3ffa3;box-shadow:inset 2px 0 0 var(--accent),0 0 0 1px #4699f31f}.whiteboard-scene-card.is-dragging{opacity:.28;border-style:dashed;cursor:grabbing;transform:scale(.985)}.whiteboard-scene-card.has-color-blue{border-left-color:var(--accent)}.whiteboard-scene-card.has-color-amber{border-left-color:var(--amber)}.whiteboard-scene-card.has-color-green{border-left-color:var(--success)}.whiteboard-scene-card.has-color-red{border-left-color:var(--error)}.whiteboard-scene-card.has-color-orange{border-left-color:#f08b3d}.whiteboard-scene-card.has-color-pink{border-left-color:#f06b9b}.whiteboard-scene-card.has-color-violet{border-left-color:#9c79e8}.whiteboard-scene-card.has-color-turquoise{border-left-color:#34c9c2}.whiteboard-scene-card.is-drop-before:before,.whiteboard-scene-card.is-drop-after:after,.whiteboard-drop-tail.is-active:before{position:absolute;z-index:4;right:2px;left:2px;height:2px;background:var(--accent);border-radius:999px;box-shadow:0 0 0 3px #4699f31f,0 0 12px #4699f35c;content:"";animation:whiteboard-drop-in var(--fast) var(--ease)}.whiteboard-scene-card.is-drop-before:before{top:-6px}.whiteboard-scene-card.is-drop-after:after{bottom:-6px}.whiteboard-card-topline{display:flex;align-items:center;gap:6px;min-width:0}.whiteboard-scene-number{color:var(--accent-hover);font:10px var(--font-mono)}.whiteboard-scene-pages{margin-left:auto;color:var(--text-3);font:9px var(--font-mono);white-space:nowrap}.whiteboard-scene-tag{max-width:150px;overflow:hidden;padding:2px 6px;color:var(--text-2);background:var(--surface-3);border:1px solid var(--border);border-radius:999px;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.app-shell.theme-dark .whiteboard-card-topline button{width:25px;min-width:25px;height:25px;min-height:25px;margin-left:0;padding:0;color:var(--text-3);background:transparent;border-color:transparent;opacity:0}.whiteboard-scene-card:hover .whiteboard-card-topline button,.whiteboard-scene-card:focus-within .whiteboard-card-topline button,.whiteboard-scene-card.is-selected .whiteboard-card-topline button{opacity:1}.whiteboard-scene-card h4{flex:1 1 auto;min-width:0;margin:0;overflow:hidden;color:var(--text);font:700 12px/1.3 var(--font-mono);text-transform:uppercase;overflow-wrap:anywhere;text-overflow:ellipsis;white-space:nowrap}.whiteboard-scene-card>p{display:-webkit-box;min-height:35px;padding-right:122px;margin:0;overflow:hidden;color:var(--text-2);font-size:12.5px;line-height:1.4;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.whiteboard-scene-card>p.is-empty{color:var(--text-3);font-style:italic}.whiteboard-card-actions{position:absolute;right:8px;bottom:6px;display:flex;align-items:center;gap:3px}.app-shell.theme-dark .whiteboard-card-actions button{width:25px;min-width:25px;height:25px;min-height:25px;padding:0;color:var(--text-3);background:transparent;border-color:transparent}.whiteboard-card-actions button .ui-icon{width:16px;height:16px}.app-shell.theme-dark .whiteboard-card-actions button:hover:not(:disabled){color:var(--text);background:var(--surface-hover);border-color:var(--border)}.app-shell.theme-dark .whiteboard-card-actions button.is-danger:hover:not(:disabled){color:var(--error);background:#f05b6514;border-color:#f05b6547}.whiteboard-card-editor{display:grid;gap:9px;cursor:default;-webkit-user-select:text;user-select:text}.whiteboard-card-editor label{display:grid;gap:4px;min-width:0;color:var(--text-2);font-size:9px}.app-shell.theme-dark .whiteboard-card-editor :is(input,textarea){width:100%;min-height:30px;padding:6px 8px;font-size:11px}.app-shell.theme-dark .whiteboard-card-editor textarea{min-height:64px;resize:vertical}.app-shell.theme-dark .whiteboard-card-editor .whiteboard-color-select .ui-select-trigger{min-height:30px;padding:0 8px;font-size:11px}.whiteboard-card-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:8px}.whiteboard-column-empty{display:grid;min-height:84px;place-items:center;padding:16px;color:var(--text-3);border:1px dashed var(--border);border-radius:var(--r-md);font-size:10px;text-align:center;pointer-events:none}.whiteboard-drop-tail{position:relative;height:12px}.whiteboard-drop-tail.is-active:before{top:4px}.whiteboard-selection-box{position:fixed;z-index:90;background:#4699f31f;border:1px solid var(--focus);border-radius:3px;box-shadow:0 0 16px #4699f326;pointer-events:none}.whiteboard-context-menu{position:fixed;z-index:110;display:grid;width:204px;padding:6px;color:var(--text);background:var(--surface-3);border:1px solid var(--border);border-radius:var(--r-md);box-shadow:var(--shadow-2);animation:whiteboard-menu-in var(--menu) var(--ease)}.app-shell.theme-dark .whiteboard-context-menu button{justify-content:flex-start;width:100%;min-height:30px;padding:0 8px;color:var(--text-2);background:transparent;border:0;font-size:11px;text-align:left}.whiteboard-context-menu hr{width:100%;height:1px;margin:5px 0;background:var(--divider);border:0}.app-shell.theme-dark .whiteboard-context-menu button.is-danger{color:#ffadb4}@keyframes whiteboard-page-in{0%{opacity:.55}to{opacity:1}}@keyframes whiteboard-menu-in{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}@keyframes whiteboard-drop-in{0%{opacity:0;transform:scaleX(.72)}to{opacity:1;transform:scaleX(1)}}}@media screen and (max-width:900px){.whiteboard-canvas{grid-template-columns:repeat(3,minmax(250px,1fr));gap:8px;padding:8px}}@media(prefers-reduced-motion:reduce){.scene-whiteboard,.whiteboard-context-menu,.whiteboard-scene-card{animation:none;transition:none}}@media print{.whiteboard-workspace{display:none}}@media screen{.breakdown-workspace{grid-area:1/1;display:grid;grid-template-columns:240px minmax(300px,.72fr) minmax(500px,1.28fr);min-width:0;min-height:0;overflow:hidden;color:var(--text);background:var(--surface-1);font-family:var(--font-ui)}.breakdown-scene-list{display:grid;grid-template-rows:46px auto minmax(0,1fr);min-width:0;min-height:0;background:var(--surface-2);border-right:1px solid var(--border)}.breakdown-scene-list>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px;border-bottom:1px solid var(--divider)}.breakdown-scene-list h2{margin:0;font-size:12px;font-weight:650}.breakdown-scene-list>header>span,.breakdown-category>header>span:last-of-type{min-width:22px;padding:2px 6px;border-radius:999px;color:var(--text-3);background:var(--surface-3);font:9px var(--font-mono);text-align:center}.breakdown-scene-rows{display:grid;align-content:start;gap:2px;min-height:0;overflow-y:auto;padding:6px 8px}.breakdown-scene-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:stretch;width:100%;min-height:38px;border:1px solid transparent;border-radius:var(--r-md);background:transparent;color:var(--text-2);transition:color var(--fast) var(--ease),border-color var(--fast) var(--ease),background var(--fast) var(--ease)}.breakdown-scene-row:hover{border-color:var(--divider);background:var(--surface-hover);color:var(--text)}.breakdown-scene-row.is-selected{border-color:#285d88;color:var(--text);background:var(--surface-selected);box-shadow:inset 2px 0 0 var(--accent)}.app-shell.theme-dark .breakdown-scene-select{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;width:100%;height:auto;min-height:36px;padding:6px 4px 6px 8px;border:0;border-radius:var(--r-md) 0 0 var(--r-md);color:inherit;background:transparent;text-align:left}.app-shell.theme-dark .breakdown-scene-select:hover{background:transparent}.breakdown-scene-select>span{color:var(--accent-hover);font:9px var(--font-mono);letter-spacing:.04em}.breakdown-scene-select>strong{overflow:hidden;font:600 10px var(--font-mono);text-overflow:ellipsis;white-space:nowrap}.breakdown-scene-select>small{color:var(--text-3);font:9px var(--font-mono)}.app-shell.theme-dark .breakdown-scene-open{display:grid;width:30px;min-width:30px;height:100%;min-height:36px;padding:0;place-items:center;border:0;border-radius:0 var(--r-md) var(--r-md) 0;color:var(--text-3);background:transparent}.app-shell.theme-dark .breakdown-scene-open:hover{color:var(--accent-hover);background:transparent}.breakdown-scene-open .ui-icon{width:13px;height:13px}.breakdown-scene-tools{display:grid;gap:6px;padding:7px 8px;border-bottom:1px solid var(--divider)}.breakdown-scene-search-row{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:5px}.breakdown-scene-search{position:relative;min-width:0}.app-shell.theme-dark .breakdown-scene-search input{width:100%;height:36px;min-height:36px;padding:0 38px 0 11px;border:1px solid var(--border);border-radius:var(--r-md);color:var(--text);background:var(--surface-1);font-size:12px;transition:border-color var(--fast) var(--ease),background var(--fast) var(--ease),box-shadow var(--fast) var(--ease)}.app-shell.theme-dark .breakdown-scene-search input:hover{border-color:#354153;background:var(--surface-2)}.app-shell.theme-dark .breakdown-scene-search input:focus{border-color:var(--accent);background:var(--surface-1);box-shadow:0 0 0 2px #2a8ee62e}.breakdown-scene-search input::placeholder{color:var(--text-3);opacity:1}.breakdown-scene-search input::-webkit-search-cancel-button{display:none;appearance:none}.app-shell.theme-dark .breakdown-scene-search>button{position:absolute;top:4px;right:4px;display:grid;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;place-items:center;border:0;color:var(--text-3);background:transparent}.app-shell.theme-dark .breakdown-scene-search>button:hover{color:var(--text);background:var(--surface-hover)}.breakdown-scene-search>button .ui-icon{width:12px;height:12px}.breakdown-filter-wrap{position:relative}.app-shell.theme-dark .breakdown-filter-wrap>button{position:relative;display:grid;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;place-items:center;border-color:var(--border);color:var(--text-3);background:var(--surface-1)}.app-shell.theme-dark .breakdown-filter-wrap>button:hover{border-color:#354153;color:var(--text);background:var(--surface-hover)}.app-shell.theme-dark .breakdown-filter-wrap>button.is-active{border-color:var(--accent);color:var(--accent-hover);background:var(--surface-selected)}.breakdown-filter-wrap>button .ui-icon{width:14px;height:14px}.breakdown-filter-wrap>button>span{position:absolute;top:-4px;right:-4px;display:grid;min-width:15px;height:15px;padding:0 3px;place-items:center;border:2px solid var(--surface-2);border-radius:999px;color:#fff;background:var(--accent);font:7px var(--font-mono)}.breakdown-filter-panel{position:absolute;z-index:70;top:calc(100% + 5px);left:0;display:grid;gap:10px;width:min(310px,calc(100vw - 16px));max-width:calc(100vw - 16px);max-height:min(520px,calc(100vh - 210px));padding:10px;overflow-y:auto;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-3);box-shadow:var(--shadow-2)}.breakdown-filter-panel h3{margin:0 0 6px;color:var(--text-3);font:9px var(--font-mono);letter-spacing:.08em;text-transform:uppercase}.breakdown-filter-panel p{margin:4px 0;color:var(--text-3);font-size:10px}.breakdown-filter-acts{display:flex;flex-wrap:wrap;gap:4px}.app-shell.theme-dark .breakdown-filter-acts button{min-height:26px;height:26px;padding:0 8px;font-size:10px}.app-shell.theme-dark .breakdown-filter-acts button.is-selected{border-color:var(--accent);color:var(--text);background:var(--surface-selected)}.breakdown-filter-categories{display:grid;gap:3px}.breakdown-filter-categories>div{overflow:hidden;border:1px solid var(--divider);border-radius:var(--r-sm);background:var(--surface-2)}.breakdown-filter-categories>div.is-open{border-color:var(--border)}.app-shell.theme-dark .breakdown-filter-category-button{display:grid;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:7px;width:100%;height:31px;min-height:31px;padding:0 8px;border:0;border-radius:0;color:var(--text-2);background:transparent;text-align:left}.app-shell.theme-dark .breakdown-filter-category-button:hover{background:var(--surface-hover)}.breakdown-filter-category-button .ui-icon{width:12px;height:12px;transform:rotate(-90deg);transition:transform var(--fast) var(--ease)}.is-open>.breakdown-filter-category-button .ui-icon{transform:rotate(0)}.breakdown-filter-category-button strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.breakdown-filter-category-button span{color:var(--text-3);font:8px var(--font-mono)}.breakdown-filter-elements{display:grid;gap:1px;max-height:220px;padding:3px;overflow-y:auto;border-top:1px solid var(--divider)}.app-shell.theme-dark .breakdown-filter-elements>button{display:grid;grid-template-columns:14px minmax(0,1fr) 14px;align-items:center;gap:8px;width:100%;height:auto;min-height:36px;padding:4px 7px;border-color:transparent;background:transparent;text-align:left}.app-shell.theme-dark .breakdown-filter-elements>button:hover{background:var(--surface-hover)}.app-shell.theme-dark .breakdown-filter-elements>button.is-selected{color:var(--text);background:var(--surface-selected)}.breakdown-filter-elements i{width:12px;height:12px;border:1px solid var(--border);border-radius:3px;background:var(--surface-3)}.breakdown-filter-elements span{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.breakdown-filter-elements .ui-icon{opacity:0}.breakdown-filter-elements .is-selected .ui-icon{color:var(--accent-hover);opacity:1}.app-shell.theme-dark .breakdown-clear-filters{width:100%;min-height:28px;height:28px;color:var(--text-2);font-size:10px}.breakdown-filter-chips{display:flex;flex-wrap:wrap;gap:4px}.app-shell.theme-dark .breakdown-filter-chips button{display:flex;align-items:center;gap:4px;min-width:0;height:22px;min-height:22px;padding:0 5px 0 7px;border-color:var(--accent);border-radius:999px;color:var(--text-2);background:var(--surface-selected);font-size:8px}.breakdown-filter-chips .ui-icon{width:10px;height:10px}.breakdown-no-results{margin:18px 10px;color:var(--text-3);font-size:10px;line-height:1.5;text-align:center}.breakdown-scene-preview{position:relative;display:grid;grid-template-rows:minmax(0,1fr);min-width:0;min-height:0;border-right:1px solid var(--border);background:var(--surface-2)}.breakdown-preview-scene-number{position:absolute;z-index:5;top:12px;left:14px;color:var(--accent-hover);font:650 9px var(--font-mono);letter-spacing:.08em;text-transform:uppercase}.breakdown-preview-actions{position:absolute;z-index:5;top:8px;right:8px;display:flex;align-items:center}.breakdown-preview-zoom{display:flex;align-items:center;overflow:hidden;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-1)}.app-shell.theme-dark .breakdown-preview-zoom>button{display:grid;min-width:24px;width:24px;height:24px;min-height:24px;padding:0;place-items:center;border:0;border-radius:0;color:var(--text-2);background:transparent;font:600 11px var(--font-ui)}.app-shell.theme-dark .breakdown-preview-zoom>button:hover:not(:disabled){color:var(--text);background:var(--surface-hover)}.app-shell.theme-dark .breakdown-preview-zoom>button:disabled{color:var(--disabled);opacity:.6}.app-shell.theme-dark .breakdown-preview-zoom>.breakdown-preview-zoom-value{width:42px;min-width:42px;border-right:1px solid var(--divider);border-left:1px solid var(--divider);color:var(--text-3);font:8px var(--font-mono)}.breakdown-preview-scroll{min-height:0;padding:14px;overflow:auto}.breakdown-preview-page{box-sizing:border-box;width:100%;max-width:500px;min-height:100%;margin:0 auto;padding:42px 44px 80px;border:1px solid var(--border);border-radius:var(--r-sm);color:var(--text);background:var(--surface-1);box-shadow:var(--shadow-1);font-family:var(--ui-screenplay);font-size:11px;line-height:1.35;-webkit-user-select:none;user-select:none}.breakdown-preview-page p{min-height:15px;margin:0 0 13px;white-space:pre-wrap;overflow-wrap:anywhere}.breakdown-preview-page p[data-scenario-type=SCENE_HEADING]{margin-top:17px;font-weight:700;text-transform:uppercase}.breakdown-preview-page p[data-scenario-type=SCENE_HEADING]:first-child{margin-top:0}.breakdown-preview-page p[data-scenario-type=CHARACTER]{width:56%;margin:0 0 0 36%;font-weight:700;text-transform:uppercase}.breakdown-preview-page p[data-scenario-type=PARENTHETICAL]{width:50%;margin:0 0 0 28%}.breakdown-preview-page p[data-scenario-type=DIALOGUE]{width:68%;margin:0 0 13px 18%}.breakdown-preview-page p[data-scenario-type=TRANSITION]{width:68%;margin-left:auto;font-weight:700;text-align:right;text-transform:uppercase}.breakdown-preview-page p[data-scenario-ending=true]{margin-top:18px;font-weight:700;text-align:center;text-decoration:underline}.breakdown-preview-page .breakdown-preview-empty{color:var(--text-3);font-family:var(--font-ui);font-size:10px;line-height:1.5;text-align:center}.breakdown-preview-word{border-radius:2px;cursor:grab;transition:color 90ms var(--ease),background 90ms var(--ease),box-shadow 90ms var(--ease);-webkit-user-select:none;user-select:none}.breakdown-preview-word:hover{background:#2a8ee61f;box-shadow:0 0 0 1px #2a8ee62e}.breakdown-preview-word:active{cursor:grabbing}.breakdown-preview-word.is-selected{color:#fff;background:var(--accent);box-shadow:0 0 0 1px var(--accent)}.breakdown-sheet{min-width:0;min-height:0;overflow-y:auto;background:var(--bg)}.app-shell.theme-dark .breakdown-auto-color-toggle{display:flex;align-items:center;gap:7px;height:30px;min-height:30px;padding:0 8px;border-color:var(--border);color:var(--text-2);background:var(--surface-2);font-size:9px}.breakdown-auto-color-toggle>i{position:relative;display:block;width:27px;height:16px;border:1px solid var(--border);border-radius:999px;background:var(--surface-1);transition:border-color var(--fast) var(--ease),background var(--fast) var(--ease)}.breakdown-auto-color-toggle>i>b{position:absolute;top:2px;left:2px;width:10px;height:10px;border-radius:50%;background:var(--text-3);transition:transform var(--fast) var(--ease),background var(--fast) var(--ease)}.breakdown-auto-color-toggle>i.is-on{border-color:var(--accent);background:var(--surface-selected)}.breakdown-auto-color-toggle>i.is-on>b{background:var(--accent-hover);transform:translate(11px)}.workspace-bottom-actions{display:flex;align-items:center;flex:none}.app-shell.theme-dark .workspace-bottom-actions .breakdown-auto-color-toggle{height:28px;min-height:28px}.breakdown-categories{display:block;padding:16px}.breakdown-table-head{display:grid;grid-template-columns:minmax(190px,240px) minmax(0,1fr);min-height:34px;border:1px solid var(--border);border-radius:var(--r-md) var(--r-md) 0 0;background:var(--surface-3)}.breakdown-table-head>span{display:flex;align-items:center;padding:0 12px;color:var(--text-3);font:9px var(--font-mono);letter-spacing:.08em;text-transform:uppercase}.breakdown-table-head>span:first-child{border-right:1px solid var(--divider)}.breakdown-category{position:relative;display:grid;grid-template-columns:minmax(190px,240px) minmax(0,1fr);min-width:0;border:1px solid var(--border);border-top:0;border-radius:0;background:var(--surface-2);box-shadow:none;transition:border-color var(--fast) var(--ease),background var(--fast) var(--ease),transform var(--fast) var(--ease)}.breakdown-category:last-child{border-radius:0 0 var(--r-md) var(--r-md)}.breakdown-category:hover{background:#131a23}.breakdown-category:before,.breakdown-category:after{position:absolute;z-index:5;right:4px;left:4px;height:3px;border-radius:999px;background:var(--accent);box-shadow:0 0 0 3px #4699f321;opacity:0;transform:scaleX(.82);transition:opacity .1s var(--ease),transform .14s var(--ease);pointer-events:none;content:""}.breakdown-category:before{top:-2px}.breakdown-category:after{bottom:-2px}.breakdown-category.is-drop-before:before,.breakdown-category.is-drop-after:after{opacity:1;transform:scaleX(1)}.breakdown-category.is-dragging{opacity:.42;background:var(--surface-selected)}.breakdown-category.is-word-drop-target{border-color:var(--accent);background:#132b448c;box-shadow:inset 0 0 0 1px #2a8ee647}.breakdown-category:has(.breakdown-drag-handle:active){transform:scale(.995)}.breakdown-category>header{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr) auto 28px;align-items:center;gap:6px;align-content:start;min-height:48px;padding:9px 6px 9px 10px;border-right:1px solid var(--divider);border-bottom:0}.breakdown-drag-handle{color:var(--text-3);cursor:grab;font-size:17px;line-height:1}.app-shell.theme-dark .breakdown-category>header input{height:28px;min-height:28px;padding:0 6px;border-color:transparent;background:transparent;font-size:11px;font-weight:650}.app-shell.theme-dark .breakdown-category>header input:hover{border-color:var(--border)}.app-shell.theme-dark .breakdown-category>header button,.app-shell.theme-dark .breakdown-item button,.app-shell.theme-dark .breakdown-add-item>button{width:28px;min-width:28px;height:28px;min-height:28px;padding:0;border-color:transparent;background:transparent;color:var(--text-3)}.app-shell.theme-dark .breakdown-category>header button:hover,.app-shell.theme-dark .breakdown-item button:hover{color:var(--error)}.breakdown-category-close-wrap{position:relative}.breakdown-category-close-menu{grid-column:1 / -1;display:grid;grid-template-columns:1fr;gap:5px;width:100%;margin-top:3px;padding:7px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-1);box-shadow:0 5px 16px #00000038}.breakdown-category-close-menu>div{grid-column:1 / -1;padding:3px 5px 5px}.breakdown-category-close-menu>div>strong{display:block;overflow:hidden;color:var(--text);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.breakdown-category-close-menu>div>small{display:block;margin-top:2px;color:var(--text-3);font-size:8px;line-height:1.35}.app-shell.theme-dark .breakdown-category>header .breakdown-category-close-menu>button{display:grid;grid-template-columns:15px minmax(0,1fr);align-items:center;justify-content:stretch;gap:6px;width:100%;min-width:0;height:auto;min-height:48px;padding:7px;border-color:var(--border);color:var(--text-2);background:var(--surface-2);font-size:10px;text-align:left}.app-shell.theme-dark .breakdown-category>header .breakdown-category-close-menu>button:hover{color:var(--text);background:var(--surface-hover)}.breakdown-category-close-menu button>.ui-icon{width:14px;height:14px;color:var(--text-3)}.breakdown-category-close-menu button span{min-width:0}.breakdown-category-close-menu button span strong{display:block;font-size:9px}.breakdown-category-close-menu button span small{display:block;margin-top:2px;color:var(--text-3);font-size:7px;line-height:1.3}.app-shell.theme-dark .breakdown-category>header .breakdown-category-close-menu>button.breakdown-category-close-cancel{display:block;min-height:26px;height:26px;padding:0 7px;border-color:transparent;color:var(--text-3);background:transparent;text-align:center}.breakdown-items{position:relative;display:grid;align-content:start;gap:0;min-width:0;padding:4px 8px}.breakdown-category.is-word-drop-target .breakdown-items:after{position:absolute;z-index:3;right:8px;bottom:2px;left:8px;height:2px;border-radius:999px;background:var(--accent);box-shadow:0 0 0 3px #2a8ee624;pointer-events:none;content:""}.breakdown-item,.breakdown-add-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:4px;min-height:36px;padding:3px 0}.breakdown-item{grid-template-columns:28px minmax(0,1fr) 28px;padding-left:0}.breakdown-item+.breakdown-item,.breakdown-item+.breakdown-add-item{border-top:1px solid var(--divider)}.app-shell.theme-dark .breakdown-item input,.app-shell.theme-dark .breakdown-add-item input{height:30px;min-height:30px;border-color:transparent;background:transparent}.app-shell.theme-dark .breakdown-item input:hover,.app-shell.theme-dark .breakdown-add-item input:hover{border-color:var(--border);background:var(--surface-1)}.app-shell.theme-dark .breakdown-add-item input{color:var(--text-2)}.breakdown-color-wrap{position:relative;display:grid;place-items:center}.app-shell.theme-dark .breakdown-item .breakdown-color-marker{display:block;width:18px;min-width:18px;height:18px;min-height:18px;padding:0;border:3px solid var(--border);border-radius:5px;background:var(--surface-3);box-shadow:0 0 0 1px #00000038;transition:transform var(--fast) var(--ease),box-shadow var(--fast) var(--ease),filter var(--fast) var(--ease)}.app-shell.theme-dark .breakdown-item .breakdown-color-marker:hover:not(:disabled){color:inherit;background:var(--surface-3);box-shadow:0 0 0 2px #2a8ee647;filter:brightness(1.12);transform:scale(1.08)}.app-shell.theme-dark .breakdown-item .breakdown-color-marker:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.breakdown-color-editor{position:absolute;z-index:60;top:31px;left:0;display:grid;gap:9px;width:250px;padding:10px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-3);box-shadow:var(--shadow-2)}.breakdown-color-preview{height:18px;border:3px solid var(--border);border-radius:5px;background:var(--surface-3)}.breakdown-color-editor label{display:grid;gap:5px;color:var(--text-2);font-size:9px}.breakdown-color-editor input[type=range]{width:100%;height:12px;padding:0;border:0;background:linear-gradient(90deg,#ef6674,#e5b33e,#4cc38a,#2a8ee6,#9b6bea,#ef6674);appearance:none}.breakdown-color-editor input[type=range]::-webkit-slider-thumb{width:12px;height:18px;border:2px solid var(--text);border-radius:4px;background:transparent;box-shadow:0 0 0 1px #000;appearance:none;cursor:ew-resize}.breakdown-color-editor>div:last-child{display:flex;gap:4px}.app-shell.theme-dark .breakdown-color-editor button{width:auto;min-width:0;height:28px;min-height:28px;padding:0 7px;border-color:var(--border);color:var(--text-2);background:var(--surface-2);font-size:9px}.app-shell.theme-dark .breakdown-color-editor button:hover{color:var(--text);background:var(--surface-hover)}.breakdown-category:has(.breakdown-smart-type){z-index:45}.breakdown-add-item:focus-within{z-index:46}.breakdown-smart-type{position:fixed!important;z-index:180;right:auto;width:min(280px,calc(100vw - 24px));min-width:0;max-height:min(310px,calc(100vh - 120px));overflow-y:auto}.breakdown-smart-type .smart-type-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;overflow:hidden}.breakdown-smart-type .smart-type-heading span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breakdown-smart-type .smart-type-heading small{color:var(--text-3);font:8px var(--font-mono)}.app-shell.theme-dark .breakdown-smart-type>button{display:grid;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:7px;width:100%;text-align:left}.breakdown-smart-type>button i{width:12px;height:12px;border:1px solid var(--border);border-radius:3px;background:var(--surface-2)}.breakdown-smart-type>button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breakdown-smart-type-empty{margin:0;padding:8px;color:var(--text-3);font-size:9px;line-height:1.4}.breakdown-add-category{display:flex;align-items:center;gap:6px;padding:0 16px 18px}.breakdown-add-category{flex-wrap:wrap}.breakdown-add-category input{max-width:320px}.breakdown-empty{grid-column:1 / -1;display:grid;place-items:center;align-content:center;min-height:100%;color:var(--text-3);text-align:center}.breakdown-empty .ui-icon{width:36px;height:36px;color:var(--accent)}.breakdown-empty h2{margin:14px 0 4px;color:var(--text);font-size:15px}.breakdown-empty p{margin:0;font-size:11px}@media(max-width:900px){.breakdown-workspace{grid-template-columns:190px minmax(260px,.72fr) minmax(440px,1.28fr);overflow-x:auto}.breakdown-table-head,.breakdown-category{grid-template-columns:minmax(150px,190px) minmax(0,1fr)}.breakdown-preview-page{padding:34px 28px 64px}}}@media screen{.workspace-page-stack>.technical-breakdown-workspace{grid-area:1 / 1;min-width:0;min-height:0}.technical-breakdown-workspace{position:relative;z-index:0;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;background:var(--bg);color:var(--text);font-family:var(--font-ui)}.technical-toolbar{position:relative;z-index:25;display:flex;align-items:center;gap:7px;min-width:0;min-height:48px;padding:7px 12px;border-bottom:1px solid var(--border);background:var(--surface-2);grid-row:1}.technical-search-tools{position:relative;display:flex;align-items:center;gap:6px}.technical-search-field{position:relative;width:min(390px,34vw);min-width:230px}.app-shell.theme-dark .technical-search-field input{width:100%;height:36px;min-height:36px;padding:0 38px 0 11px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-1);font-size:12px;transition:border-color var(--fast) var(--ease),background var(--fast) var(--ease),box-shadow var(--fast) var(--ease)}.app-shell.theme-dark .technical-search-field input:hover{border-color:#354153;background:var(--surface-2)}.app-shell.theme-dark .technical-search-field input:focus{border-color:var(--accent);background:var(--surface-1);box-shadow:0 0 0 2px #2a8ee62e}.technical-search-field input::placeholder{color:var(--text-3);opacity:1}.technical-search-field input::-webkit-search-cancel-button{display:none;appearance:none}.app-shell.theme-dark .technical-search-field button{position:absolute;top:4px;right:4px;display:grid;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;place-items:center;border:0;background:transparent;color:var(--text-3)}.app-shell.theme-dark .technical-search-field button:hover{color:var(--text);background:var(--surface-hover)}.technical-search-field button .ui-icon{width:12px;height:12px}.technical-filter-logic-section{display:grid;gap:5px}.technical-filter-toggle-row{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);align-items:center;gap:7px;min-height:32px;padding:4px 7px;border:1px solid var(--divider);border-radius:var(--r-sm);background:var(--surface-2)}.technical-filter-toggle-row>span{color:var(--text-3);font-size:9px;white-space:nowrap}.technical-filter-toggle-row>span:first-child{text-align:right}.technical-filter-toggle-row>span:last-child{text-align:left}.technical-filter-toggle-row>span.is-active{color:var(--text);font-weight:650}.technical-filter-toggle-row>span small{color:inherit;font:8px var(--font-mono)}.app-shell.theme-dark .technical-filter-toggle-row>button{position:relative;width:34px;min-width:34px;height:18px;min-height:18px;padding:0;border:1px solid var(--border);border-radius:999px;background:var(--surface-1)}.app-shell.theme-dark .technical-filter-toggle-row>button:hover{border-color:var(--accent)}.technical-filter-toggle-row>button i{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:var(--text-3);transition:left var(--fast) var(--ease),background var(--fast) var(--ease)}.technical-filter-toggle-row>button[aria-checked=true] i{left:18px;background:var(--accent-hover)}.technical-category-action{position:relative}.app-shell.theme-dark .technical-scene-panel-toggle{display:grid;width:30px;min-width:30px;height:30px;min-height:30px;padding:0;place-items:center;border-color:transparent;color:var(--text-3);background:transparent}.app-shell.theme-dark .technical-scene-panel-toggle:hover{color:var(--text);background:var(--surface-hover)}.app-shell.theme-dark .technical-scene-panel-toggle.is-active{border-color:var(--accent);color:var(--accent-hover);background:var(--surface-selected)}.technical-scene-panel-toggle .ui-icon{width:14px;height:14px}.technical-add-category-popover{position:absolute;top:calc(100% + 6px);right:0;z-index:80;width:270px;padding:10px;border:1px solid #344153;border-radius:var(--r-md);background:var(--surface-3);box-shadow:var(--shadow-2)}.technical-add-category-popover label{display:grid;gap:6px}.technical-add-category-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:9px}.technical-hidden-column-count{display:grid;min-width:17px;height:17px;margin-left:1px;padding:0 5px;place-items:center;border-radius:999px;color:var(--accent-hover);background:var(--surface-selected);font:9px var(--font-mono)}.technical-hidden-columns{display:grid;gap:3px;margin-top:10px;padding-top:9px;border-top:1px solid var(--divider)}.technical-hidden-columns h3{margin:0 0 3px;color:var(--text-3);font-size:9px;font-weight:650;letter-spacing:.06em;text-transform:uppercase}.app-shell.theme-dark .technical-hidden-columns>button{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:7px;width:100%;min-height:30px;padding:0 7px;border-color:transparent;background:transparent;color:var(--text-2);text-align:left}.app-shell.theme-dark .technical-hidden-columns>button:hover{background:var(--surface-hover);color:var(--text)}.technical-hidden-columns>button .ui-icon{width:13px;height:13px;color:var(--text-3)}.technical-hidden-columns>button small{color:var(--accent-hover);font-size:9px}.technical-selection-summary{margin-left:auto;color:var(--text-3);font-size:10px;white-space:nowrap}.technical-selection-actions,.technical-undo-actions{display:flex;align-items:center;gap:4px}.technical-undo-actions{padding-left:6px;border-left:1px solid var(--divider)}.app-shell.theme-dark :is(.technical-selection-actions,.technical-undo-actions) button{height:28px;min-height:28px;padding:0 8px;background:transparent;border-color:transparent;color:var(--text-2);font-size:10px}.technical-view-notice{z-index:10;display:flex;align-items:center;gap:8px;min-height:34px;padding:4px 12px;border-bottom:1px solid var(--border);background:#4699f30e;color:var(--text-2);font-size:11px}.technical-view-notice .ui-icon{color:var(--accent-hover)}.technical-view-notice span{flex:1}.app-shell.theme-dark .technical-view-notice button{height:25px;min-height:25px;border-color:transparent;background:transparent;color:var(--accent-hover);font-size:10px}.technical-workspace-body{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;min-height:0;overflow:hidden}.technical-workspace-body.has-scene-panel{grid-template-columns:minmax(280px,var(--technical-scene-panel-width)) 6px minmax(460px,1fr);overflow-x:auto}.technical-workspace-body>.breakdown-scene-preview{min-width:280px;border-right:0}.technical-scene-panel-resizer{position:relative;z-index:22;width:6px;min-width:6px;min-height:0;cursor:col-resize;background:var(--surface-2);border-right:1px solid var(--border);border-left:1px solid var(--border);transition:background var(--fast) var(--ease),border-color var(--fast) var(--ease)}.technical-scene-panel-resizer:hover,.technical-scene-panel-resizer:active{border-color:var(--accent);background:var(--surface-selected)}.technical-table-region{display:flex;flex-direction:column;min-width:460px;min-height:0;overflow:hidden}.technical-table-scroll{flex:1;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;background:linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px) 0 0 / 40px 40px,var(--bg)}.technical-table{width:max-content;min-width:100%;padding-bottom:36px}.technical-grid-row{position:relative;display:grid;grid-template-columns:var(--technical-grid);width:max-content;min-width:100%}.technical-header-row{position:sticky;top:0;z-index:20;height:38px;border-bottom:1px solid #344153;background:var(--surface-2);box-shadow:0 1px 4px #0003}.technical-corner-cell,.technical-column-header{position:sticky;top:0;display:flex;align-items:center;min-width:0;border-right:1px solid var(--divider);color:var(--text-2);font-size:10px;font-weight:650;letter-spacing:.035em;text-transform:uppercase;-webkit-user-select:none;user-select:none}.technical-corner-cell{left:0;z-index:23;justify-content:center;background:var(--surface-2)}.technical-column-header{gap:5px;padding:0 30px 0 10px}.technical-column-header>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.technical-column-header>small{color:var(--accent-hover);font-size:12px}.technical-column-header>.ui-icon{width:12px;height:12px;color:var(--accent-hover)}.technical-column-header.is-column-drop-target:before{position:absolute;inset:3px auto 3px -2px;width:3px;border-radius:2px;background:var(--accent);box-shadow:0 0 0 1px var(--surface-2);content:""}.technical-column-header.is-column-drop-end:after{position:absolute;inset:3px -2px 3px auto;width:3px;border-radius:2px;background:var(--accent);box-shadow:0 0 0 1px var(--surface-2);content:""}.app-shell.theme-dark .technical-header-menu-button{position:absolute;right:5px;width:24px;min-width:24px;height:24px;min-height:24px;padding:0;border:0;background:transparent;color:var(--text-3);opacity:0}.technical-column-header:hover .technical-header-menu-button,.technical-header-menu-button[aria-expanded=true]{opacity:1}.technical-column-resizer{position:absolute;top:0;right:-3px;z-index:4;width:7px;height:100%;cursor:col-resize}.technical-column-resizer:hover:after{position:absolute;top:4px;bottom:4px;left:3px;width:2px;border-radius:2px;background:var(--accent);content:""}.technical-column-menu{position:absolute;top:32px;right:4px;z-index:90;display:grid;gap:4px;width:270px;padding:8px;border:1px solid #344153;border-radius:var(--r-md);background:var(--surface-3);box-shadow:var(--shadow-2);color:var(--text);text-align:left;text-transform:none;letter-spacing:0}.technical-column-menu form,.technical-column-menu label{display:grid;gap:5px}.technical-column-menu form{grid-template-columns:minmax(0,1fr) auto;align-items:end}.technical-column-menu form label{min-width:0}.app-shell.theme-dark .technical-column-menu :is(input,button){height:30px;min-height:30px;font-size:11px}.app-shell.theme-dark .technical-column-menu>button{width:100%;justify-content:flex-start;border:0;background:transparent;color:var(--text-2)}.technical-column-menu-row{display:grid;grid-template-columns:1fr 1fr;gap:4px}.technical-column-menu hr{width:100%;height:1px;margin:3px 0;border:0;background:var(--divider)}.app-shell.theme-dark .technical-column-menu .is-danger{color:#ff8a92}.technical-scene-group{min-width:100%}.technical-scene-header{position:sticky;left:0;z-index:9;display:flex;align-items:center;gap:10px;width:calc(100vw - 8px);min-width:520px;height:40px;padding:0 12px 0 6px;border-top:1px solid #344153;border-bottom:1px solid var(--divider);background:#18212b;color:var(--text-2)}.technical-scene-group:first-of-type .technical-scene-header{border-top:0}.app-shell.theme-dark .technical-scene-header>button:first-child{width:28px;min-width:28px;height:28px;min-height:28px;padding:0;border:0;background:transparent;color:var(--text-3)}.technical-scene-header>button:first-child .ui-icon{transition:transform var(--fast) var(--ease)}.technical-scene-header>button:first-child[aria-expanded=true] .ui-icon{transform:rotate(90deg)}.technical-scene-header strong{display:flex;align-items:baseline;gap:9px;max-width:min(600px,45vw);overflow:hidden;color:var(--text);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.technical-scene-header strong span{color:var(--accent-hover);font:650 9px var(--font-mono);letter-spacing:.07em}.technical-scene-header>span{color:var(--text-3);font-size:10px;white-space:nowrap}.technical-scene-header>span b{color:var(--text-2);font-weight:600}.app-shell.theme-dark .technical-scene-header>button:last-child{height:26px;min-height:26px;margin-left:auto;padding:0 8px;background:transparent;border-color:var(--border);color:var(--text-2);font-size:10px}.technical-scene-header.is-shot-drop-end:after,.technical-shot-row.is-shot-drop-before:before,.technical-shot-row.is-shot-drop-after:after{position:absolute;right:8px;left:8px;z-index:14;height:3px;border-radius:3px;background:var(--accent);box-shadow:0 0 0 1px var(--bg),0 0 10px #4699f38c;content:"";pointer-events:none}.technical-scene-header.is-shot-drop-end:after{bottom:-2px}.technical-shot-row.is-shot-drop-before:before{top:-2px}.technical-shot-row.is-shot-drop-after:after{bottom:-2px}.technical-shot-row{min-height:58px;border-bottom:1px solid var(--divider);background:var(--surface-1);transition:background var(--fast) var(--ease)}.technical-shot-row:hover{background:var(--surface-hover)}.technical-shot-row.is-selected{background:var(--surface-selected)}.technical-row-tools{position:sticky;left:0;z-index:8;display:flex;align-items:center;justify-content:center;min-width:0;border-right:1px solid var(--divider);background:inherit}.technical-drag-handle{color:var(--text-3);font-size:15px;cursor:grab;opacity:.58;-webkit-user-select:none;user-select:none}.technical-shot-row:hover .technical-drag-handle,.technical-shot-row.is-selected .technical-drag-handle{opacity:1}.technical-drag-handle:active{cursor:grabbing}.technical-row-quick-actions{position:absolute;top:50%;left:46px;z-index:15;display:none;gap:2px;padding:3px;border:1px solid #344153;border-radius:6px;background:var(--surface-3);box-shadow:var(--shadow-1);transform:translateY(-50%)}.technical-row-tools:hover .technical-row-quick-actions{display:flex}.app-shell.theme-dark .technical-row-quick-actions button{width:24px;min-width:24px;height:24px;min-height:24px;padding:0;border:0;background:transparent;color:var(--text-2)}.technical-cell{position:relative;display:flex;align-items:center;min-width:0;min-height:58px;padding:6px 9px;border-right:1px solid var(--divider);outline:none;color:var(--text-2);font-size:11px;cursor:default}.technical-cell:focus{box-shadow:inset 0 0 0 2px var(--focus)}.technical-cell.is-cell-selected{z-index:2;background:#4699f329;box-shadow:inset 0 0 0 1px #6eb3ffb8}.technical-cell.is-cell-selected.is-active-cell{z-index:3;background:#4699f338;box-shadow:inset 0 0 0 2px var(--accent-hover)}.technical-cell.is-cell-cut:after{position:absolute;inset:2px;border:1px dashed var(--accent-hover);border-radius:3px;content:"";pointer-events:none}.technical-cell.is-editing{z-index:12;padding:4px;box-shadow:inset 0 0 0 2px var(--focus)}.technical-cell-description,.technical-cell-dialogue,.technical-cell-notes{align-items:flex-start;padding-top:10px}.technical-cell-value{display:-webkit-box;max-width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;line-height:1.45}.technical-cell-value.is-empty{color:var(--text-disabled)}.technical-cell.is-content-adapted .technical-cell-value{display:block;overflow:visible;-webkit-line-clamp:unset}.app-shell.theme-dark .technical-cell-expand{position:absolute;right:2px;bottom:2px;display:grid;width:17px;min-width:17px;height:17px;min-height:17px;padding:0;place-items:center;border:0;border-radius:4px;color:var(--accent-hover);background:var(--surface-3);box-shadow:0 0 0 1px var(--border);font:10px/1 var(--font-mono)}.app-shell.theme-dark .technical-cell-expand:hover{color:#fff;background:var(--accent)}.technical-cell-context-menu{position:fixed;z-index:180;width:200px;padding:5px;border:1px solid #344153;border-radius:var(--r-md);background:var(--surface-3);box-shadow:var(--shadow-2)}.app-shell.theme-dark .technical-cell-context-menu>button{width:100%;min-height:31px;height:31px;justify-content:flex-start;border:0;background:transparent;color:var(--text-2);font-size:10px}.app-shell.theme-dark .technical-cell-context-menu>button:hover{color:var(--text);background:var(--surface-hover)}.technical-cell-context-menu .ui-icon{width:12px;height:12px}.technical-clipboard-notice{position:absolute;top:56px;right:12px;z-index:90;display:flex;align-items:center;gap:7px;max-width:min(480px,calc(100% - 24px));min-height:32px;padding:7px 10px;border:1px solid rgba(76,195,138,.44);border-radius:var(--r-md);color:var(--text-2);background:var(--surface-3);box-shadow:var(--shadow-2);font-size:10px}.technical-clipboard-notice.is-error{border-color:#f05b658c;color:#ffb1b8}.technical-clipboard-notice .ui-icon{width:13px;height:13px;flex:none}.technical-plan-number{color:var(--accent-hover);font:650 11px var(--font-mono)}.app-shell.theme-dark .technical-scene-select{height:30px;min-height:30px;width:100%;min-width:0;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--text-2);font:11px var(--font-ui);text-overflow:ellipsis}.app-shell.theme-dark .technical-scene-select:hover,.app-shell.theme-dark .technical-scene-select:focus{border-color:var(--border);background:var(--surface-2)}.technical-cell-editor{position:relative;width:100%}.app-shell.theme-dark .technical-cell-editor>input{height:36px;min-height:36px;border-color:var(--focus);background:var(--surface-2);font-size:11px}.technical-smart-type{position:absolute;top:calc(100% + 4px);left:0;z-index:120;display:grid;width:min(300px,70vw);max-height:244px;overflow:auto;padding:6px;border:1px solid #344153;border-radius:var(--r-md);background:var(--surface-3);box-shadow:var(--shadow-2)}.technical-smart-type-title{display:flex;justify-content:space-between;padding:4px 7px 7px;color:var(--text-3);font:9px var(--font-mono);text-transform:uppercase;letter-spacing:.06em}.technical-dialogue-smart-type{width:min(390px,76vw)}.technical-dialogue-smart-type .technical-smart-type-title>span{display:flex;align-items:center;gap:6px}.technical-dialogue-smart-type .technical-smart-type-title .ui-icon{width:12px;height:12px;color:var(--accent-hover)}.app-shell.theme-dark .technical-dialogue-smart-type>button{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;height:auto;min-height:52px;padding:7px 8px;align-items:start}.technical-dialogue-smart-type>button>.ui-icon{width:14px;height:14px;margin-top:2px;color:var(--text-3)}.technical-dialogue-smart-type>button>span{display:grid;gap:3px;min-width:0;text-align:left}.technical-dialogue-smart-type>button strong{overflow:hidden;color:var(--accent-hover);font:650 8px var(--font-mono);letter-spacing:.06em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.technical-dialogue-smart-type>button em{display:-webkit-box;overflow:hidden;color:var(--text-2);font-size:10px;font-style:normal;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}.app-shell.theme-dark .technical-smart-type>button{width:100%;height:29px;min-height:29px;justify-content:flex-start;border:0;background:transparent;color:var(--text-2);font-weight:400}.app-shell.theme-dark .technical-smart-type>button:hover{background:var(--surface-selected);color:var(--text)}.technical-image-cell{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:46px}.app-shell.theme-dark .technical-thumbnail{width:100%;height:46px;min-height:46px;padding:0;overflow:hidden;border:1px solid var(--border);border-radius:5px;background:#090d12}.technical-thumbnail img{width:100%;height:100%;object-fit:cover}.technical-image-actions{position:absolute;right:3px;bottom:3px;display:none;gap:2px;padding:2px;border-radius:5px;background:#0a0e13e6}.technical-image-cell:hover .technical-image-actions{display:flex}.app-shell.theme-dark .technical-image-actions button{width:23px;min-width:23px;height:23px;min-height:23px;padding:0;border:0;background:transparent;color:var(--text-2)}.app-shell.theme-dark .technical-add-image{height:28px;min-height:28px;padding:0 8px;border-style:dashed;background:transparent;color:var(--text-3);font-size:10px}.technical-scene-empty{position:relative;left:44px;width:calc(100vw - 88px);height:48px;margin:8px 0;border:1px dashed var(--border);background:transparent;color:var(--text-3)}.technical-empty-state{grid-row:2 / 4;display:grid;place-content:center;justify-items:center;gap:8px;min-height:0;padding:32px;color:var(--text-3);text-align:center}.technical-empty-state>.ui-icon{width:42px;height:42px;color:var(--text-disabled)}.technical-empty-state h2{margin:5px 0 0;color:var(--text);font-size:16px}.technical-empty-state p{margin:0;font-size:12px}.technical-image-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:28px;background:#030508d1;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.technical-image-modal figure{display:grid;grid-template-rows:minmax(0,1fr) auto;max-width:min(1200px,95vw);max-height:90vh;margin:0;overflow:hidden;border:1px solid #344153;border-radius:var(--r-lg);background:var(--surface-2);box-shadow:var(--shadow-3)}.technical-image-modal img{max-width:100%;max-height:calc(90vh - 48px);object-fit:contain;background:#05080c}.technical-image-modal figcaption{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:6px 8px 6px 14px;color:var(--text-2);font-size:11px}.app-shell.theme-dark .technical-image-modal figcaption button{width:30px;min-width:30px;height:30px;min-height:30px;padding:0;border:0;background:transparent}@media(max-width:1100px){.technical-selection-summary{display:none}.technical-toolbar{flex-wrap:wrap;overflow:visible}.technical-search-tools{flex:1;min-width:min(100%,320px)}.technical-search-field{width:auto;min-width:170px;flex:1}}}:root{font-family:Inter,Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:#1f2528;background:#d8dde1;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0}button,input,textarea{font:inherit}input,textarea{color:inherit}.app-shell{position:relative;display:grid;grid-template-rows:34px 36px minmax(0,1fr);height:100%;overflow:hidden}.document-zoom{width:fit-content;margin:0 auto;zoom:var(--document-zoom, 1)}.menu-bar{position:sticky;top:0;z-index:11;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 18px;color:#273137;background:#eef1f3;border-bottom:1px solid #c5ccd1;-webkit-user-select:none;user-select:none}.menu-bar nav{display:flex;align-items:center;gap:22px;font-size:13px}.file-menu-container{position:relative;height:34px}.menu-button{height:34px;padding:0;color:inherit;background:transparent;border:0;cursor:default}.menu-button:hover,.menu-button[aria-expanded=true]{color:#0f4d78}.file-menu{position:absolute;top:32px;left:-10px;z-index:30;width:224px;padding:5px;background:#fff;border:1px solid #aeb8bf;box-shadow:0 8px 22px #1f252838}.initial-recovery-shell{display:grid;grid-template-rows:minmax(0,1fr);place-items:center;background:var(--surface-1)}.initial-recovery-screen{display:grid;justify-items:center;gap:12px;color:var(--text-3);font-size:12px;letter-spacing:.01em}.initial-recovery-screen img{opacity:.92}.app-shell.has-no-workspace-toolbar{grid-template-rows:34px 0 minmax(0,1fr)}.file-menu-branch{position:relative}.file-menu-branch>button[aria-expanded=true]{color:#fff;background:#2d628c}.file-menu-branch>button .ui-icon{margin-left:auto}.file-submenu{position:absolute;top:-6px;left:calc(100% - 2px);z-index:31;width:218px;padding:5px;background:#fff;border:1px solid #aeb8bf;box-shadow:0 8px 22px #1f252838}.ai-top-menu{width:210px}.cover-menu{width:390px;max-height:calc(100vh - 50px);padding:14px;overflow-y:auto;cursor:default}.cover-menu h2,.cover-menu h3{margin:0 0 10px;color:#33414a;font-size:14px}.cover-menu h3{margin-top:14px;padding-top:12px;border-top:1px solid #dbe1e4;font-size:12px;text-transform:uppercase}.cover-menu label{display:grid;gap:4px;margin-bottom:9px;color:#65717a;font-size:11px;font-weight:700}.cover-menu input{width:100%;min-width:0;height:30px;padding:5px 7px;color:#20272c;background:#fff;border:1px solid #bac4ca;border-radius:3px;font-size:13px;font-weight:400}.cover-menu .cover-visibility-toggle{display:flex;align-items:center;gap:9px;min-height:45px;margin:0 0 12px;padding:7px 9px;color:#536069;background:#f7f9fa;border:1px solid #d5dde2;border-radius:4px;cursor:pointer;font-size:12px;font-weight:700;transition:color .12s ease,background .12s ease,border-color .12s ease}.cover-menu .cover-visibility-toggle:hover{background:#edf4f8;border-color:#c4d9e7}.cover-menu .cover-visibility-toggle:has(input:checked){color:#214f70;background:#e6f1f7;border-color:#9fc4da}.cover-menu .cover-visibility-toggle>span{display:grid;gap:2px}.cover-menu .cover-visibility-toggle small{color:#73818a;font-size:10px;font-weight:500}.cover-menu .cover-visibility-toggle input[type=checkbox]{appearance:none;display:grid;width:17px;min-width:17px;height:17px;min-height:17px;margin:0;padding:0;place-content:center;background:#fff;border:1px solid #9eabb3;border-radius:4px;cursor:pointer}.cover-menu .cover-visibility-toggle input[type=checkbox]:before{width:8px;height:5px;content:"";border-bottom:2px solid #fff;border-left:2px solid #fff;opacity:0;transform:translateY(-1px) rotate(-45deg)}.cover-menu .cover-visibility-toggle input[type=checkbox]:checked{background:#2d628c;border-color:#2d628c}.cover-menu .cover-visibility-toggle input[type=checkbox]:checked:before{opacity:1}.cover-menu .cover-visibility-toggle input[type=checkbox]:focus-visible{outline:2px solid #6faed3;outline-offset:2px}.cover-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.cover-menu footer{display:flex;justify-content:flex-end;gap:8px;margin-top:5px}.cover-menu footer button{display:inline-flex;width:auto;padding:7px 10px;border:1px solid #aeb8bf;border-radius:3px}.file-menu button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:7px 8px;color:#20272c;background:transparent;border:0;font-size:13px;text-align:left}.recent-scenarios-heading{margin:6px 10px 3px;color:#64717a;font-size:11px;font-weight:700;text-transform:uppercase}.recent-scenario-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-menu button:hover{color:#fff;background:#2d628c}.file-menu kbd{margin-left:22px;color:#68747b;font-family:inherit;font-size:11px}.file-menu button:hover kbd{color:inherit}.file-menu hr{height:1px;margin:4px 3px;background:#dbe1e4;border:0}.menu-bar p{margin:0;color:#63707a;font-size:12px}.formatting-toolbar{position:relative;z-index:10;display:flex;align-items:center;gap:3px;padding:0 18px;background:#f8fafb;border-bottom:1px solid #cfd7dc}.formatting-toolbar button{display:grid;width:28px;height:27px;place-items:center;padding:0;color:#28343a;background:transparent;border:1px solid transparent;border-radius:3px;cursor:default}.formatting-toolbar button:hover,.formatting-toolbar button.is-active{background:#dceaf3;border-color:#a8c3d4}.scenario-comment-anchor{background:linear-gradient(to bottom,transparent 3%,rgba(245,204,74,.14) 3%,rgba(245,204,74,.14) 96%,transparent 96%);-webkit-box-decoration-break:clone;box-decoration-break:clone;cursor:pointer}.scenario-comment-anchor.is-active,.scenario-comment-anchor:hover{background:linear-gradient(to bottom,transparent 3%,rgba(255,185,45,.28) 3%,rgba(255,185,45,.28) 96%,transparent 96%)}.comment-inline-button{position:absolute;z-index:35;display:grid;width:26px;height:26px;place-items:center;padding:0;color:#4d3b12;background:#fff8de;border:1px solid #cba343;border-radius:50%;box-shadow:0 2px 7px #1f252833;font-size:13px}.comment-margin{position:absolute;z-index:25;top:0;left:0;width:0;pointer-events:none}.comment-margin-card{position:absolute;width:156px;padding:6px;pointer-events:auto;background:#fffdf5;border:1px solid #d7b55b;border-left:3px solid #bc8614;border-radius:4px;box-shadow:0 5px 16px #1f25282b}.comment-margin-card.is-active{background:#fff5d8;border-color:#a97714}.comment-margin-card.is-expanded{width:260px;padding:10px}.comment-preview{display:-webkit-box;width:100%;padding:0;overflow:hidden;color:#26333a;background:transparent;border:0;font-size:11px;line-height:1.3;text-align:left;-webkit-box-orient:vertical;-webkit-line-clamp:2}.comment-margin-card.is-expanded .comment-preview{display:block;overflow:visible;font-size:12px;-webkit-line-clamp:unset}.comment-margin-card footer{display:flex;justify-content:flex-end;gap:5px;margin-top:6px}.comment-margin-card footer button{padding:3px 6px;background:#fff;border:1px solid #d1c08a;border-radius:3px;font-size:10px}.comments-panel{position:absolute;z-index:40;top:70px;right:12px;bottom:12px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);width:min(340px,calc(100vw - 24px));padding:12px;color:#26333a;background:#fff;border:1px solid #aeb8bf;border-radius:6px;box-shadow:0 12px 32px #1f252847}.comments-panel header,.comment-card footer{display:flex;align-items:center;justify-content:space-between}.comments-panel h2{margin:0;font-size:16px}.comments-panel header button{border:0;background:transparent;font-size:20px}.comments-filters{display:flex;gap:5px;margin:10px 0}.comments-filters button{padding:4px 7px;border:1px solid #c7d0d6;border-radius:3px;background:#eef2f4;font-size:11px}.comments-filters button.is-active{color:#fff;background:#2d628c;border-color:#2d628c}.comments-search{width:100%;padding:7px;border:1px solid #c7d0d6;border-radius:4px;font-size:12px}.comments-list{min-height:0;margin-top:10px;overflow:auto}.comment-card{padding:9px;margin-bottom:9px;background:#f5f7f8;border:1px solid #d5dde2;border-left:3px solid #d2a33c;border-radius:4px}.comment-card.is-active{background:#fff8e8;border-color:#bd8a1e}.comment-card.is-resolved{opacity:.72;border-left-color:#70858f}.comment-card-anchor{max-width:100%;padding:0;overflow:hidden;color:#1e5c84;background:transparent;border:0;font-size:11px;font-style:italic;text-align:left;text-overflow:ellipsis;white-space:nowrap}.comment-message{position:relative;padding:7px 0;border-bottom:1px solid #dfe5e8}.comment-message p{margin:0 0 4px;font-size:13px;white-space:pre-wrap}.comment-message small{display:block;color:#64717a;font-size:10px}.comment-message button,.comment-card>button,.comment-card footer button{margin:5px 5px 0 0;padding:3px 5px;color:#40515a;background:#fff;border:1px solid #c7d0d6;border-radius:3px;font-size:10px}.comment-card textarea,.comment-composer textarea{width:100%;min-height:54px;margin-top:8px;padding:7px;resize:vertical;border:1px solid #c7d0d6;border-radius:4px;font-size:12px}.empty-comments{padding:20px 0;color:#64717a;text-align:center;font-size:12px}.comment-composer{display:grid;gap:12px;width:min(440px,100%);padding:18px;color:#20272c;background:#fff;border:1px solid #aeb8bf;border-radius:6px;box-shadow:0 18px 48px #1f252847}.comment-composer h2,.comment-composer p{margin:0}.comment-composer p{color:#64717a;font-size:12px;font-style:italic}.comment-composer footer{display:flex;justify-content:flex-end;gap:8px}.comment-composer footer button{padding:7px 10px;color:#26333a;background:#eef2f4;border:1px solid #c7d0d6;border-radius:4px}.comment-composer footer .primary-button{color:#fff;background:#2d628c;border-color:#2d628c}.workspace{min-width:0;padding:44px;overflow:auto}.document-canvas{--page-width: 210mm;--page-height: 297mm;--page-gap: 24px;--page-margin-top: 25.4mm;--page-margin-right: 25.4mm;--page-margin-bottom: 25.4mm;--page-margin-left: 38.1mm;position:relative;width:var(--page-width);min-height:calc(var(--page-count) * var(--page-height) + (var(--page-count) - 1) * var(--page-gap));margin:0 auto}.page-sheets{position:absolute;inset:0;display:grid;align-content:start;gap:var(--page-gap);pointer-events:none}.page-sheet{position:relative;width:var(--page-width);height:var(--page-height);background:#fff;border:1px solid #c7cdd1;box-shadow:0 10px 32px #1f25282b}.page-sheet span{position:absolute;right:var(--page-margin-right);bottom:10mm;color:#747b80;font-family:Courier New,Courier,monospace;font-size:10pt}.editor-layer{position:absolute;z-index:1;top:var(--page-margin-top);left:var(--page-margin-left);width:calc(var(--page-width) - var(--page-margin-left) - var(--page-margin-right))}.editor-layer.has-cover-page{top:calc(var(--page-height) + var(--page-gap) + var(--page-margin-top))}.cover-page{position:absolute;z-index:1;width:var(--page-width);height:var(--page-height);padding:0 var(--page-margin-right) 0 var(--page-margin-left);color:#111;font-family:Courier New,Courier,monospace}.cover-page h1{max-width:150mm;margin:118mm auto 0;font-size:18pt;line-height:1.2;text-align:center;text-transform:uppercase}.cover-credits{display:grid;gap:4mm;margin:18mm 0 0;font-size:11pt;line-height:1.25;text-align:center}.cover-credits span:nth-child(odd){font-size:10pt}.cover-primary-details{display:grid;gap:1.5mm;margin:8mm 0 0;font-size:10pt;line-height:1.15;text-align:center}.cover-details,.cover-contact{position:absolute;bottom:25.4mm;display:grid;gap:1.5mm;margin:0;font-size:10pt;line-height:1.15}.cover-details{left:var(--page-margin-left);text-align:left}.cover-contact{right:var(--page-margin-right);text-align:right}.scenario-editor{counter-reset:scene;min-height:calc(var(--page-height) - var(--page-margin-top) - var(--page-margin-bottom));color:#111;font-family:Courier New,Courier,monospace;font-size:12pt;line-height:1;outline:none;white-space:pre-wrap}.scenario-editor p{position:relative;min-height:16px;margin:0 0 16px;padding-top:var(--page-break-before, 0)}.page-continuation{display:inline-block;width:100%;height:var(--continuation-spacer);vertical-align:top;pointer-events:none}.page-continuation-marker{position:absolute;right:0;top:var(--continuation-marker-top);color:#59666e;font-family:Courier New,Courier,monospace;font-size:10pt}.page-continuation-dialogue .page-continuation-marker{right:7mm}.scenario-editor p[data-scenario-type=SCENE_HEADING]{position:relative;margin-top:16px;font-weight:700;text-transform:uppercase;counter-increment:scene}.scenario-editor p[data-scenario-type=SCENE_HEADING]:before,.scenario-editor p[data-scenario-type=SCENE_HEADING]:after{position:absolute;top:var(--page-break-before, 0);color:#59666e;content:counter(scene);font-weight:700}.scenario-editor p[data-scenario-type=SCENE_HEADING]:before{right:calc(100% + 7mm)}.scenario-editor p[data-scenario-type=SCENE_HEADING]:after{left:calc(100% + 7mm)}.scenario-editor p[data-scenario-type=ACTION]{width:100%}.scenario-editor p[data-scenario-ending=true]{margin-top:24px;font-weight:700;text-align:center;text-decoration:underline}.scenario-context-menu{position:absolute;z-index:80;min-width:132px;padding:5px;background:#fff;border:1px solid #aeb8bf;box-shadow:0 8px 22px #1f252838}.scenario-context-menu button{display:block;width:100%;padding:7px 8px;color:#20272c;background:transparent;border:0;font-size:13px;text-align:left}.scenario-context-menu button:hover{color:#fff;background:#2d628c}.scenario-editor p[data-scenario-type=CHARACTER]{width:76mm;margin-bottom:0;margin-left:55mm;font-weight:700;text-transform:uppercase}.scenario-editor p[data-scenario-type=DIALOGUE]{width:86mm;margin-bottom:16px;margin-left:25mm}.scenario-editor p[data-scenario-type=PARENTHETICAL]{width:60mm;margin-bottom:0;margin-left:40mm}.scenario-editor p[data-scenario-type=TRANSITION]{width:70mm;margin-left:auto;font-weight:700;text-align:right;text-transform:uppercase}.scenario-editor p.is-empty:before{float:left;height:0;color:#8b969d;content:attr(data-placeholder);pointer-events:none}.smart-type{position:absolute;z-index:9;display:grid;width:250px;overflow:hidden;background:#fff;border:1px solid #aeb8bf;border-radius:4px;box-shadow:0 8px 24px #1f252838}.smart-type-heading{display:flex;align-items:center;justify-content:space-between;padding:6px 9px;color:#65717a;background:#f2f4f5;border-bottom:1px solid #dce1e4;font-size:11px;font-weight:600}.smart-type-heading kbd{padding:1px 5px;color:#64717a;background:#fff;border:1px solid #cbd2d6;border-bottom-width:2px;border-radius:3px;font-family:inherit;font-size:10px}.smart-type button{width:100%;padding:7px 10px;color:#20272c;background:transparent;border:0;border-bottom:1px solid #edf0f2;font-family:Courier New,Courier,monospace;font-size:11pt;font-weight:700;text-align:left;cursor:default}.smart-type button:last-child{border-bottom:0}.smart-type button.is-selected{color:#fff;background:#2d628c}.paragraph-action-cluster{position:absolute;z-index:22;display:grid;width:max-content;gap:4px;align-items:start;justify-items:start}.transition-action-cluster{z-index:23}.paragraph-action-cluster>.ai-inline-button,.paragraph-action-cluster>.transition-inline-button,.paragraph-action-cluster>.ai-popover,.paragraph-action-cluster>.transition-popover{position:relative;inset:auto;transform:none}.ai-inline-button{position:absolute;z-index:18;display:grid;width:calc(30px * var(--ai-scale, 1));height:calc(22px * var(--ai-scale, 1));place-items:center;color:#20313b;background:#fff;border:1px solid #b8c3ca;border-radius:3px;box-shadow:0 5px 16px #1f25282e;cursor:default;font-size:calc(10px * var(--ai-scale, 1));font-weight:700;line-height:1;transform:translateY(-50%)}.ai-paragraph-highlight{position:absolute;z-index:2;pointer-events:none;background:#414f580f}.ai-inline-button:hover{color:#fff;background:#2d628c;border-color:#2d628c}.ai-inline-button.is-busy{color:#fff;background:#2d628c;border-color:#2d628c;font-size:10px;font-weight:700}.transition-inline-button{position:absolute;z-index:18;min-width:calc(72px * var(--ai-scale, 1));height:calc(22px * var(--ai-scale, 1));padding:0 7px;color:#20313b;background:#fff;border:1px solid #b8c3ca;border-radius:3px;box-shadow:0 5px 16px #1f25282e;cursor:default;font-size:calc(9px * var(--ai-scale, 1));font-weight:700;line-height:1;transform:translateY(-50%)}.transition-inline-button:hover{color:#fff;background:#2d628c;border-color:#2d628c}.transition-popover{position:absolute;z-index:22;width:190px;overflow:hidden;background:#fff;border:1px solid #aeb8bf;border-radius:4px;box-shadow:0 8px 24px #1f252838}.transition-popover-heading{padding:7px 10px;color:#65717a;background:#f2f4f5;border-bottom:1px solid #dce1e4;font-size:11px;font-weight:700}.transition-popover>button{display:block;width:100%;padding:8px 10px;color:#20272c;background:transparent;border:0;border-bottom:1px solid #edf0f2;font-size:12px;text-align:left;cursor:default}.transition-popover>button:hover{color:#fff;background:#2d628c}.transition-custom-form{display:flex;gap:5px;padding:8px}.transition-custom-form input{min-width:0;flex:1;padding:6px 7px;color:#20272c;background:#fff;border:1px solid #c5cdd2;border-radius:3px;font-size:12px}.transition-custom-form button{padding:6px 8px;color:#fff;background:#2d628c;border:0;border-radius:3px;cursor:pointer;font-size:11px;font-weight:700}.transition-custom-form button:disabled{opacity:.45;cursor:default}.ai-popover{position:absolute;z-index:22;width:220px;overflow:hidden;background:#fff;border:1px solid #aeb8bf;border-radius:4px;box-shadow:0 8px 24px #1f252838}.ai-popover-heading{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;color:#65717a;background:#f2f4f5;border-bottom:1px solid #dce1e4;font-size:11px;font-weight:700}.ai-popover-heading small{font-size:10px;font-weight:600}.ai-popover button{display:block;width:100%;padding:8px 10px;color:#20272c;background:transparent;border:0;border-bottom:1px solid #edf0f2;font-size:13px;text-align:left;cursor:default}.ai-popover button:last-child{border-bottom:0}.ai-popover button:hover{color:#fff;background:#2d628c}.modal-backdrop{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:34px;background:#11181c61}.ai-settings-panel{display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr) auto;gap:14px;width:min(920px,100%);height:min(780px,calc(100vh - 68px));min-height:0;padding:18px;overflow:hidden;color:#20272c;background:#fff;border:1px solid #aeb8bf;border-radius:6px;box-shadow:0 18px 48px #1f252847}.text-replacements-panel{display:flex;flex-direction:column;gap:14px;width:min(680px,100%);height:min(680px,calc(100vh - 68px));min-height:0;padding:18px;overflow:hidden;background:#fff;border:1px solid #aeb8bf;border-radius:6px;box-shadow:0 18px 48px #1f252847}.find-replace-panel{display:grid;gap:14px;width:min(460px,100%);padding:18px;color:#20272c;background:#fff;border:1px solid #aeb8bf;border-radius:6px;box-shadow:0 18px 48px #1f252847}.pdf-export-panel{display:grid;gap:16px;width:min(500px,100%);padding:18px;color:#20272c;background:#fff;border:1px solid #aeb8bf;border-radius:6px;box-shadow:0 18px 48px #1f252847}.pdf-export-panel header,.pdf-export-panel footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.pdf-export-panel h2,.pdf-export-panel p{margin:0}.pdf-export-panel h2{font-size:18px}.pdf-export-panel header p,.pdf-export-panel small{color:#64717a;font-size:12px}.pdf-export-panel fieldset{display:grid;gap:7px;margin:0;padding:10px;border:1px solid #d5dde2;border-radius:5px}.pdf-export-panel legend{padding:0 4px;color:#48545c;font-size:12px;font-weight:700}.pdf-export-panel fieldset label{display:flex;align-items:center;gap:9px;min-height:35px;padding:0 10px;color:#536069;background:#f7f9fa;border:1px solid transparent;border-radius:4px;cursor:pointer;font-size:13px;font-weight:600;transition:color .12s ease,background .12s ease,border-color .12s ease}.pdf-export-panel fieldset label:hover{background:#edf4f8;border-color:#c4d9e7}.pdf-export-panel fieldset label:has(input:checked){color:#214f70;background:#e6f1f7;border-color:#9fc4da}.pdf-export-panel fieldset input[type=checkbox]{appearance:none;display:grid;width:17px;height:17px;margin:0;flex:0 0 17px;place-content:center;background:#fff;border:1px solid #9eabb3;border-radius:4px;cursor:pointer}.pdf-export-panel fieldset input[type=checkbox]:before{width:8px;height:5px;content:"";border-bottom:2px solid #fff;border-left:2px solid #fff;opacity:0;transform:translateY(-1px) rotate(-45deg)}.pdf-export-panel fieldset input[type=checkbox]:checked{background:#2d628c;border-color:#2d628c}.pdf-export-panel fieldset input[type=checkbox]:checked:before{opacity:1}.pdf-export-panel fieldset input[type=checkbox]:focus-visible{outline:2px solid #6faed3;outline-offset:2px}.pdf-translation-field{display:grid;gap:6px;color:#48545c;font-size:12px;font-weight:700}.pdf-translation-field select,.pdf-translation-field input{width:100%;padding:8px 9px;color:#20272c;background:#f8fafb;border:1px solid #c7d0d6;border-radius:4px;font-size:13px}.pdf-custom-language-entry{display:flex;gap:6px}.pdf-custom-language-entry button,.pdf-language-chip button{border:0;cursor:pointer}.pdf-custom-language-entry button{padding:7px 10px;color:#fff;background:#2d628c;border-radius:4px;font-size:12px;font-weight:700}.pdf-saved-languages{display:grid;gap:5px;padding-top:2px;color:#64717a;font-size:11px;font-weight:600}.pdf-saved-languages>div{display:flex;flex-wrap:wrap;gap:5px}.pdf-language-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 4px 3px 7px;color:#31536b;background:#e5f0f6;border:1px solid #c2d9e8;border-radius:999px;font-size:11px;font-weight:700}.pdf-language-chip button{display:grid;width:16px;height:16px;padding:0;place-items:center;color:#31536b;background:transparent;border-radius:50%;font-size:15px;line-height:1}.pdf-language-chip button:hover{color:#fff;background:#2d628c}.pdf-export-panel footer button{padding:7px 10px;color:#26333a;background:#eef2f4;border:1px solid #c7d0d6;border-radius:4px;cursor:default}.pdf-export-panel .primary-button{color:#fff;background:#2d628c;border-color:#2d628c}.workspace-pdf-export-panel{width:min(760px,calc(100vw - 32px));max-height:min(820px,calc(100vh - 32px));overflow-y:auto}.workspace-pdf-options-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.workspace-pdf-options-grid>label{display:grid;gap:6px;color:#48545c;font-size:11px;font-weight:700}.workspace-pdf-options-grid select{width:100%;min-height:35px}.workspace-pdf-content-options{min-height:0}.workspace-pdf-option-actions{display:flex;justify-content:flex-end;gap:5px}.workspace-pdf-option-actions button{min-height:26px;padding:0 8px;color:#536069;background:transparent;border:1px solid #c7d0d6;border-radius:4px;font-size:10px}.workspace-pdf-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:235px;overflow-y:auto;padding-right:3px}.workspace-pdf-check-grid label>span{display:grid;min-width:0}.workspace-pdf-check-grid label>span small{font-size:9px;font-weight:500}.workspace-pdf-switches{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-pdf-preview-summary{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;padding:9px 11px;color:#536069;background:#f5f8fa;border:1px solid #d5dde2;border-radius:5px}.workspace-pdf-preview-summary>.ui-icon{width:22px;height:22px;color:#2d628c;justify-self:center}.workspace-pdf-preview-summary>div{display:grid;gap:2px}.workspace-pdf-preview-summary strong{color:#26333a;font-size:12px}.workspace-pdf-preview-summary span{font-size:11px}.workspace-pdf-preview-summary>small{max-width:240px;text-align:right}.pdf-import-panel{width:min(560px,calc(100vw - 32px))}.pdf-import-dropzone{display:grid;gap:9px;justify-items:center;padding:32px 20px;color:#64717a;background:#f7f9fa;border:1px dashed #9eabb3;border-radius:8px;text-align:center}.pdf-import-dropzone.has-file{color:#214f70;background:#e6f1f7;border-color:#2d628c}.pdf-import-dropzone strong{font-size:15px}.pdf-import-dropzone button,.pdf-import-manual-help button{padding:7px 10px;color:#26333a;background:#eef2f4;border:1px solid #c7d0d6;border-radius:4px;cursor:pointer}.pdf-import-manual-help{display:grid;gap:8px;padding:12px;color:#536069;background:#fff8e8;border:1px solid #ead7a2;border-radius:6px;font-size:13px}.pdf-import-manual-help p{line-height:1.4}.pdf-import-manual-help>div{display:flex;gap:8px;flex-wrap:wrap}.pdf-import-panel .form-error{color:#a6342b;font-size:13px}.ai-missing-key-backdrop{z-index:60;background:#080e1275}.ai-missing-key-panel{width:min(560px,calc(100vw - 32px));padding:20px;color:#26333a;background:#fff;border:1px solid #c7d0d6;border-radius:8px;box-shadow:0 18px 50px #00000047}.ai-missing-key-panel header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.ai-missing-key-panel h2{margin:0;font-size:18px}.ai-missing-key-panel header p{margin:5px 0 0;color:#64717a;font-size:13px}.ai-missing-key-panel ol{display:grid;gap:8px;margin:0 0 16px;padding-left:22px;color:#536069;font-size:13px;line-height:1.4}.ai-missing-key-panel a{color:#2d628c}.ai-missing-key-field{display:grid;gap:6px;color:#536069;font-size:13px;font-weight:700}.ai-missing-key-field input{width:100%;box-sizing:border-box;padding:9px 10px;color:#26333a;background:#f7f9fa;border:1px solid #b9c5cc;border-radius:4px;font:inherit}.ai-missing-key-panel footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.ai-missing-key-panel footer button{padding:7px 10px;color:#26333a;background:#eef2f4;border:1px solid #c7d0d6;border-radius:4px;cursor:pointer}.ai-missing-key-panel footer .primary-button{color:#fff;background:#2d628c;border-color:#2d628c}.theme-dark .ai-missing-key-panel{color:#e7edf1;background:#20272c;border-color:#45545d;box-shadow:0 18px 50px #0000008c}.theme-dark .ai-missing-key-panel header p,.theme-dark .ai-missing-key-panel ol{color:#b4c0c7}.theme-dark .ai-missing-key-panel a{color:#85c1e5}.theme-dark .ai-missing-key-field{color:#c8d2d8}.theme-dark .ai-missing-key-field input{color:#e7edf1;background:#29343a;border-color:#50616b}.theme-dark .ai-missing-key-panel footer button{color:#e7edf1;background:#303c43;border-color:#50616b}.pdf-export-panel button:disabled{opacity:.6}.help-panel{display:grid;gap:16px;width:min(680px,100%);max-height:min(760px,90vh);padding:20px;overflow:auto;color:#20272c;background:#fff;border:1px solid #aeb8bf;border-radius:6px;box-shadow:0 18px 48px #1f252847}.help-panel header{display:flex;align-items:center;justify-content:space-between;gap:16px}.help-panel h2,.help-panel h3,.help-panel p{margin:0}.help-panel h2{font-size:19px}.help-panel header p{margin-top:3px;color:#64717a;font-size:12px}.help-panel section{display:grid;gap:6px}.help-panel h3{color:#2d628c;font-size:14px}.help-panel section>p,.help-panel li{color:#3f4c53;font-size:13px;line-height:1.45}.help-panel ol{display:grid;gap:4px;margin:0;padding-left:20px}.help-panel kbd{padding:1px 4px;background:#f0f3f5;border:1px solid #c7d0d6;border-radius:3px;font-family:inherit;font-size:11px}.help-panel a{color:#1e5c84}.help-panel code{font-size:11px}.account-license-panel{display:grid;gap:16px;width:min(560px,100%);max-height:calc(100vh - 68px);max-height:calc(100dvh - 68px);overflow-y:auto;overscroll-behavior:contain;padding:20px;color:#20272c;background:#fff;border:1px solid #aeb8bf;border-radius:6px;box-shadow:0 18px 48px #1f252847}.account-license-panel header{display:flex;align-items:center;justify-content:space-between;gap:16px}.account-license-panel h2,.account-license-panel p{margin:0}.account-license-panel h2{font-size:19px}.account-license-panel header p{margin-top:3px;color:#64717a;font-size:12px}.account-license-loading,.account-license-error{color:#536069;font-size:13px}.account-license-error{color:#9d2116}.account-license-details{display:grid;gap:14px}.account-license-details dl{display:grid;gap:0;margin:0;border:1px solid #d5dde2;border-radius:5px;overflow:hidden}.account-license-details dl>div{display:grid;grid-template-columns:minmax(145px,.8fr) minmax(0,1.2fr);gap:12px;padding:9px 11px;border-bottom:1px solid #dce3e7;font-size:13px}.account-license-details dl>div:last-child{border-bottom:0}.account-license-details dt{color:#64717a;font-weight:700}.account-license-details dd{margin:0;color:#26333a;overflow-wrap:anywhere}.account-license-details>p{color:#536069;font-size:12px;line-height:1.45}.account-license-section{display:grid;gap:8px;padding:11px;border:1px solid #d5dde2;border-radius:5px}.account-license-section h3,.account-license-section p{margin:0}.account-license-section h3{color:#2d628c;font-size:14px}.account-license-section p,.account-license-section li{color:#536069;font-size:13px}.account-license-section ul{display:grid;gap:4px;margin:0;padding-left:20px}.account-license-section button,.account-license-details footer button,.account-local-test button,.account-auth-tabs button,.account-auth-form button{padding:8px 10px;color:#26333a;background:#eef2f4;border:1px solid #c7d0d6;border-radius:4px;cursor:pointer}.account-license-details footer{display:flex;justify-content:flex-end}.account-local-test{display:grid;gap:7px;padding:11px;color:#5d4610;background:#fff8e8;border:1px solid #ead7a2;border-radius:5px;font-size:13px}.account-local-test p{margin:0}.account-local-test>div{display:flex;gap:6px}.account-auth-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:4px}.account-auth-tabs button.is-active{color:#fff;background:#2d628c;border-color:#2d628c}.account-auth-form{display:grid;gap:11px}.account-auth-form label{display:grid;gap:5px;color:#48545c;font-size:12px;font-weight:700}.account-auth-form input{width:100%;padding:8px 9px;color:#20272c;background:#f8fafb;border:1px solid #c7d0d6;border-radius:4px;font-size:13px}.account-auth-form .account-password-recovery{justify-self:end;margin-top:-5px;padding:0;color:#2d628c;background:transparent;border:0;font-size:12px;text-decoration:underline}.account-auth-form .primary-button{color:#fff;background:#2d628c;border-color:#2d628c}.account-license-message{padding:8px 10px;color:#31536b;background:#e5f0f6;border-radius:4px;font-size:12px}.studio-section{gap:14px;padding:16px}.studio-section-heading,.studio-summary,.studio-members-heading,.studio-live-card,.studio-member,.studio-invitation-row,.studio-invitation-history>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.studio-section-heading>div,.studio-summary>div,.studio-live-card>div,.studio-member-identity,.studio-invitation-row>div{display:grid;min-width:0;gap:3px}.studio-section-heading p,.studio-summary p,.studio-live-card span,.studio-member-identity span,.studio-invitation-row span,.studio-muted{color:#64717a;font-size:12px}.studio-role-badge,.studio-active-indicator{flex:0 0 auto;padding:4px 8px;color:#205f42;background:#e3f3ea;border:1px solid #b9ddc8;border-radius:999px;font-size:11px;font-weight:700}.studio-empty-state{display:grid;gap:4px;padding:18px;color:#536069;background:#f7f9fa;border:1px dashed #c7d0d6;border-radius:7px;text-align:center}.studio-switcher{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.studio-switcher button{display:grid;justify-items:start;gap:3px;text-align:left}.studio-switcher button span{color:#64717a;font-size:11px}.studio-switcher button.is-active{color:#fff;background:#2d628c;border-color:#2d628c}.studio-switcher button.is-active span{color:#dcecf6}.studio-detail{display:grid;gap:14px}.studio-summary{padding:14px;background:#f7f9fa;border:1px solid #d5dde2;border-radius:7px}.studio-summary h4,.studio-members-heading h4,.studio-invitations-received h4{margin:0;color:#26333a;font-size:14px}.studio-live-card{flex-wrap:wrap;padding:12px 14px;background:#edf5fa;border:1px solid #c5dce9;border-radius:7px}.studio-live-card>p,.studio-live-card .studio-conflict{flex-basis:100%}.studio-live-card>button{color:#fff;background:#2d628c;border-color:#2d628c}.studio-conflict{display:grid;gap:8px;padding:10px;background:#fff5e8;border-radius:5px}.studio-members-heading{padding-top:2px}.studio-members-heading>span{min-width:24px;padding:2px 7px;color:#536069;background:#eef2f4;border-radius:999px;font-size:11px;text-align:center}.studio-members-list{display:grid;gap:7px}.studio-member{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) auto;padding:10px;background:#fff;border:1px solid #dce3e7;border-radius:7px}.studio-member-avatar{display:grid;width:34px;height:34px;place-items:center;color:#31536b;background:#e5f0f6;border-radius:50%;font-size:11px;font-weight:800}.studio-member-identity strong{overflow:hidden;color:#26333a;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.studio-member-identity strong span{color:#64717a;font-weight:500}.studio-member-menu summary,.studio-management-panel>summary{padding:7px 9px;color:#31536b;border-radius:4px;cursor:pointer;font-size:12px;font-weight:700;list-style-position:inside}.studio-member-menu>div{position:absolute;z-index:2;top:48px;right:10px;display:grid;min-width:210px;gap:10px;padding:12px;background:#fff;border:1px solid #c7d0d6;border-radius:6px;box-shadow:0 10px 28px #1f25282e}.studio-member-menu label{display:grid;gap:5px;color:#48545c;font-size:11px;font-weight:700}.studio-member-menu select,.studio-management-panel select{width:100%;padding:8px;color:#26333a;background:#f8fafb;border:1px solid #c7d0d6;border-radius:4px}.account-license-section .studio-danger-button{color:#9d2116;background:#fff4f2;border-color:#e8bbb5}.studio-management-panel{border-top:1px solid #dce3e7}.studio-management-panel>summary{padding:12px 0 4px}.studio-management-panel .account-auth-form{padding-top:10px}.studio-inline-actions{display:flex;gap:6px}.account-license-section .studio-text-button{padding-inline:4px;color:#536069;background:transparent;border-color:transparent}.studio-invitations-received,.studio-invitation-history{display:grid;gap:8px}.studio-invitation-row,.studio-invitation-history>div{padding:9px 10px;background:#f7f9fa;border-radius:5px}.studio-invitation-history span{color:#536069;font-size:12px;overflow-wrap:anywhere}.studio-message{padding:9px 10px;color:#31536b!important;background:#e5f0f6;border-radius:5px}.find-replace-panel header,.find-replace-panel footer,.find-replace-panel footer>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.find-replace-panel h2,.find-replace-panel p{margin:0}.find-replace-panel h2{font-size:18px}.find-replace-panel p{margin-top:3px;color:#64717a;font-size:12px}.find-replace-panel label{display:grid;gap:6px;color:#48545c;font-size:12px;font-weight:700}.find-replace-panel input{width:100%;padding:8px 9px;color:#20272c;background:#f8fafb;border:1px solid #c7d0d6;border-radius:4px;font-size:13px;font-weight:400}.find-replace-panel .find-match-case{display:flex;align-items:center;gap:7px;font-weight:400}.find-replace-panel .find-match-case input{width:auto;margin:0}.find-replace-panel footer button{padding:7px 10px;color:#26333a;background:#eef2f4;border:1px solid #c7d0d6;border-radius:4px;cursor:default}.find-replace-panel .primary-button{color:#fff;background:#2d628c;border-color:#2d628c}.text-replacements-panel header,.text-replacements-panel footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.shortcut-toggle{margin-left:auto;padding:7px 10px;color:#8a321d;background:#fff4ef;border:1px solid #e6b9aa;border-radius:4px;cursor:default;font-size:12px;font-weight:700}.shortcut-toggle.is-enabled{color:#1f5e43;background:#eef8f1;border-color:#a8cfb3}.text-replacements-panel h2,.text-replacements-panel p{margin:0}.text-replacements-panel h2{font-size:18px}.text-replacements-panel header p{margin-top:3px;color:#64717a;font-size:12px}.text-replacement-list{display:grid;min-height:0;overflow:auto;flex:1 1 auto;align-content:start;border:1px solid #d5dde2;border-radius:5px}.text-replacement-toolbar{display:flex;align-items:center;gap:10px}.text-replacement-toolbar input{min-width:0;flex:1;padding:8px 9px;color:#20272c;background:#f8fafb;border:1px solid #c7d0d6;border-radius:4px;font-size:13px}.text-replacement-columns,.text-replacement-item{display:grid;grid-template-columns:minmax(120px,.55fr) minmax(0,1.45fr) 30px;gap:8px;align-items:center;padding:5px 8px;border-bottom:1px solid #dce3e7}.text-replacement-columns{position:sticky;top:0;z-index:1;padding-top:7px;padding-bottom:7px;color:#48545c;background:#eef2f4;font-size:12px;font-weight:700}.text-replacement-item input{width:100%;min-width:0;padding:6px 8px;color:#20272c;background:#f8fafb;border:1px solid #c7d0d6;border-radius:4px;font-size:13px;font-weight:400}.text-replacement-item button,.add-text-replacement,.text-replacements-panel footer button{padding:7px 10px;color:#26333a;background:#eef2f4;border:1px solid #c7d0d6;border-radius:4px;cursor:default}.text-replacement-item button{width:28px;height:28px;padding:0;color:#8a321d;background:transparent;border-color:transparent;font-size:20px;line-height:1}.text-replacement-item button:hover{color:#fff;background:#ae452f;border-color:#ae452f}.text-replacement-error{margin:0 0 8px;padding:8px 10px;color:#9d2116;background:#fff0ed;border:1px solid #f1b7ae;border-radius:4px;font-size:12px}.add-text-replacement{color:#1e5c84;white-space:nowrap}.empty-text-replacements{padding:18px;color:#64717a;text-align:center}.text-replacements-panel .primary-button{color:#fff;background:#2d628c;border-color:#2d628c}.ai-settings-panel header,.ai-settings-panel footer,.prompt-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.ai-settings-panel h2,.ai-settings-panel p{margin:0}.ai-settings-panel h2{font-size:18px}.ai-settings-panel p{margin-top:3px;color:#64717a;font-size:12px}.ai-settings-panel label{display:grid;gap:6px;color:#48545c;font-size:12px;font-weight:700}.ai-key-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.ai-key-heading button{padding:3px 6px;color:#1e5c84;background:transparent;border:1px solid #9eb7c8;border-radius:4px;cursor:default;font-size:11px;font-weight:700}.ai-key-help{padding:10px 12px;color:#36434a;background:#f1f7fa;border:1px solid #c5d8e3;border-radius:5px;font-size:12px;line-height:1.4}.ai-key-help strong{display:block;margin-bottom:5px}.ai-key-help ol{margin:0;padding-left:19px}.ai-key-help p{margin-top:7px}.ai-key-help a{color:#1e5c84}.ai-settings-panel input,.ai-settings-panel textarea{width:100%;padding:8px 9px;color:#20272c;background:#f8fafb;border:1px solid #c7d0d6;border-radius:4px;font-size:13px;font-weight:400}.ai-settings-panel textarea{resize:vertical}.panel-close-button,.prompt-editor-heading button,.prompt-editor-item button,.ai-settings-panel footer button{padding:7px 10px;color:#26333a;background:#eef2f4;border:1px solid #c7d0d6;border-radius:4px;cursor:default}.panel-close-button{width:30px;height:30px;padding:0;font-size:20px;line-height:1}.prompt-editor-heading{color:#48545c;font-size:12px;font-weight:700}.prompt-editor-heading>div{display:grid;gap:2px}.prompt-editor-heading small{color:#64717a;font-size:11px;font-weight:400}.prompt-editor{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(0,1.3fr);min-height:0;border:1px solid #d5dde2;border-radius:5px;overflow:hidden}.prompt-editor-list{display:grid;min-height:0;overflow:auto;align-content:start;border-right:1px solid #d5dde2;background:#f4f7f8}.prompt-editor-list-item{display:grid;gap:3px;width:100%;padding:11px 12px;color:#26333a;background:transparent;border:0;border-bottom:1px solid #dce3e7;text-align:left;cursor:default}.prompt-editor-list-item strong,.prompt-editor-list-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prompt-editor-list-item strong{font-size:13px}.prompt-editor-list-item span{color:#64717a;font-size:11px;font-weight:400}.prompt-editor-list-item:hover,.prompt-editor-list-item.is-selected{color:#fff;background:#2d628c}.prompt-editor-list-item:hover span,.prompt-editor-list-item.is-selected span{color:#e6f1f7}.prompt-editor-item{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;min-height:0;padding:14px;background:#fff}.prompt-editor-item button{justify-self:end;font-size:12px}.prompt-instruction-editor{display:grid;align-content:start;gap:9px;min-height:0}.prompt-instruction-field{min-height:0}.prompt-instruction-input{width:100%;min-height:150px;padding:8px 9px;overflow:auto;color:#20272c;background:#f8fafb;border:1px solid #c7d0d6;border-radius:4px;font-family:inherit;font-size:13px;font-weight:400;line-height:1.35;outline:none;white-space:pre-wrap}.prompt-instruction-input:focus{border-color:#2d628c;box-shadow:0 0 0 2px #2d628c26}.prompt-instruction-text{white-space:pre-wrap}.response-only-ghost{color:#87939a;-webkit-user-select:none;user-select:none;white-space:pre-wrap}.response-only-toggle{justify-self:start!important;width:fit-content;padding:7px 10px!important;color:#26333a;background:#eef2f4;border:1px solid #c7d0d6;border-radius:4px;cursor:default}.response-only-toggle.is-active,.ai-settings-panel .primary-button{color:#fff;background:#2d628c;border-color:#2d628c}.theme-dark{color:#dce3e7;background:#101315}.theme-dark .menu-bar{color:#d9e0e4;background:#1a2024;border-color:#323b41}.theme-dark .formatting-toolbar{background:#1e2428;border-color:#3e4a51}.theme-dark .formatting-toolbar button{color:#e0e7eb}.theme-dark .formatting-toolbar button:hover,.theme-dark .formatting-toolbar button.is-active{background:#29455a;border-color:#52728a}.theme-dark .menu-button:hover,.theme-dark .menu-button[aria-expanded=true]{color:#7cc5ee}.theme-dark .menu-bar p{color:#a8b5bd}.theme-dark .workspace{background:#101315}.theme-dark .page-sheet{background:#252a2e;border-color:#454f56;box-shadow:0 10px 32px #0000006b}.theme-dark .page-sheet span{color:#9ca9b0}.theme-dark .scenario-editor{color:#f1f4f5}.theme-dark .scenario-editor p.is-empty:before{color:#829099}.theme-dark .file-menu,.theme-dark .smart-type,.theme-dark .ai-popover,.theme-dark .transition-popover,.theme-dark .ai-settings-panel,.theme-dark .cover-menu,.theme-dark .text-replacements-panel{background:#242a2e;border-color:#4d5960;box-shadow:0 8px 24px #00000073}.theme-dark .comments-panel,.theme-dark .comment-composer{color:#e0e7eb;background:#242a2e;border-color:#4d5960}.theme-dark .comment-inline-button{color:#f0d990;background:#3d341e;border-color:#8c7435}.theme-dark .comment-margin-card{color:#e0e7eb;background:#362f1d;border-color:#876b28}.theme-dark .comment-margin-card.is-active{background:#443819}.theme-dark .comment-preview{color:#e0e7eb}.theme-dark .comment-margin-card footer button{color:#e0e7eb;background:#303940;border-color:#70633e}.theme-dark .comment-card{background:#1d2327;border-color:#435058}.theme-dark .comment-card.is-active{background:#38311e;border-color:#917221}.theme-dark .comments-search,.theme-dark .comment-card textarea,.theme-dark .comment-composer textarea{color:#f1f4f5;background:#1a2024;border-color:#4d5960}.theme-dark .comment-message small,.theme-dark .empty-comments,.theme-dark .comment-composer p{color:#b6c3ca}.theme-dark .comment-message button,.theme-dark .comment-card>button,.theme-dark .comment-card footer button,.theme-dark .comments-filters button,.theme-dark .comment-composer footer button{color:#e0e7eb;background:#303940;border-color:#4d5960}.theme-dark .find-replace-panel,.theme-dark .pdf-export-panel{color:#e0e7eb;background:#242a2e;border-color:#4d5960;box-shadow:0 8px 24px #00000073}.theme-dark .pdf-export-panel header p,.theme-dark .pdf-export-panel small{color:#b6c3ca}.theme-dark .pdf-export-panel legend,.theme-dark .pdf-translation-field{color:#c5d0d6}.theme-dark .pdf-export-panel fieldset{border-color:#435058}.theme-dark .pdf-export-panel fieldset label{color:#cbd5da;background:#1f272c}.theme-dark .pdf-export-panel fieldset label:hover{background:#263641;border-color:#416e87}.theme-dark .pdf-export-panel fieldset label:has(input:checked){color:#d4ebf7;background:#234358;border-color:#4783a5}.theme-dark .pdf-export-panel fieldset input[type=checkbox]{background:#161c20;border-color:#697982}.theme-dark .pdf-translation-field select,.theme-dark .pdf-translation-field input{color:#f1f4f5;background:#1a2024;border-color:#4d5960}.theme-dark .pdf-saved-languages{color:#b6c3ca}.theme-dark .pdf-language-chip{color:#b8d8e9;background:#223c4d;border-color:#38627a}.theme-dark .pdf-language-chip button{color:#b8d8e9}.theme-dark .pdf-export-panel footer button{color:#e0e7eb;background:#303940;border-color:#4d5960}.theme-dark .pdf-export-panel .primary-button{color:#fff;background:#2d628c;border-color:#2d628c}.theme-dark .workspace-pdf-options-grid>label{color:#c5d0d6}.theme-dark .workspace-pdf-option-actions button{color:#cbd5da;border-color:#4d5960}.theme-dark .workspace-pdf-option-actions button:hover{color:#fff;background:#303940}.theme-dark .workspace-pdf-preview-summary{color:#b6c3ca;background:#1f272c;border-color:#435058}.theme-dark .workspace-pdf-preview-summary strong{color:#e0e7eb}.theme-dark .workspace-pdf-preview-summary>.ui-icon{color:#73b9e1}@media(max-width:720px){.workspace-pdf-options-grid,.workspace-pdf-check-grid,.workspace-pdf-switches{grid-template-columns:1fr}.workspace-pdf-preview-summary{grid-template-columns:30px minmax(0,1fr)}.workspace-pdf-preview-summary>small{grid-column:2;max-width:none;text-align:left}}.theme-dark .help-panel{color:#e0e7eb;background:#242a2e;border-color:#4d5960}.theme-dark .help-panel header p,.theme-dark .help-panel section>p,.theme-dark .help-panel li{color:#c0ccd2}.theme-dark .help-panel h3,.theme-dark .help-panel a{color:#9fd4f1}.theme-dark .help-panel kbd{color:#e0e7eb;background:#303940;border-color:#4d5960}.theme-dark .account-license-panel{color:#e0e7eb;background:#242a2e;border-color:#4d5960}.theme-dark .account-license-panel header p,.theme-dark .account-license-loading,.theme-dark .account-license-details>p{color:#b6c3ca}.theme-dark .account-license-error{color:#ffc5bd}.theme-dark .account-license-details dl,.theme-dark .account-license-details dl>div{border-color:#435058}.theme-dark .account-license-details dt{color:#b6c3ca}.theme-dark .account-license-details dd{color:#e0e7eb}.theme-dark .account-license-section{border-color:#435058}.theme-dark .account-license-section h3{color:#9fd4f1}.theme-dark .account-license-section p,.theme-dark .account-license-section li{color:#c0ccd2}.theme-dark .account-local-test{color:#f0d990;background:#3d341e;border-color:#8c7435}.theme-dark .account-license-section button,.theme-dark .account-license-details footer button,.theme-dark .account-local-test button,.theme-dark .account-auth-tabs button{color:#e0e7eb;background:#303940;border-color:#4d5960}.theme-dark .account-auth-form label{color:#c5d0d6}.theme-dark .account-auth-form input{color:#f1f4f5;background:#1a2024;border-color:#4d5960}.theme-dark .account-auth-form .account-password-recovery{color:#8ec8eb;background:transparent;border-color:transparent}.theme-dark .account-license-message{color:#b8d8e9;background:#223c4d}.theme-dark .studio-section-heading p,.theme-dark .studio-summary p,.theme-dark .studio-live-card span,.theme-dark .studio-member-identity span,.theme-dark .studio-invitation-row span,.theme-dark .studio-muted{color:#9eabb2}.theme-dark .studio-role-badge,.theme-dark .studio-active-indicator{color:#a8e6c3;background:#193c2b;border-color:#33634a}.theme-dark .studio-empty-state,.theme-dark .studio-summary,.theme-dark .studio-invitation-row,.theme-dark .studio-invitation-history>div{color:#c0ccd2;background:#20272b;border-color:#435058}.theme-dark .studio-summary h4,.theme-dark .studio-members-heading h4,.theme-dark .studio-invitations-received h4,.theme-dark .studio-member-identity strong{color:#e0e7eb}.theme-dark .studio-live-card{background:#22343f;border-color:#3d5968}.theme-dark .studio-conflict{background:#473821}.theme-dark .studio-members-heading>span,.theme-dark .studio-member-avatar{color:#b8d8e9;background:#223c4d}.theme-dark .studio-member{background:#20272b;border-color:#435058}.theme-dark .studio-member-menu summary,.theme-dark .studio-management-panel>summary{color:#9fd4f1}.theme-dark .studio-member-menu>div{background:#2a3237;border-color:#4d5960}.theme-dark .studio-member-menu label{color:#c5d0d6}.theme-dark .studio-member-menu select,.theme-dark .studio-management-panel select{color:#f1f4f5;background:#1a2024;border-color:#4d5960}.theme-dark .account-license-section .studio-danger-button{color:#ffc5bd;background:#482925;border-color:#7a4039}.theme-dark .studio-management-panel{border-color:#435058}.theme-dark .account-license-section .studio-text-button{color:#b6c3ca;background:transparent;border-color:transparent}.theme-dark .studio-message{color:#b8d8e9!important;background:#223c4d}.theme-dark .file-menu button,.theme-dark .smart-type button,.theme-dark .ai-popover button,.theme-dark .transition-popover>button{color:#e0e7eb}.theme-dark .transition-popover-heading{color:#b6c3ca}.theme-dark .transition-custom-form input{color:#f1f4f5;background:#1a2024;border-color:#4d5960}.theme-dark .cover-menu h2,.theme-dark .cover-menu h3,.theme-dark .cover-menu label{color:#c7d3d9}.theme-dark .cover-menu h3{border-color:#435058}.theme-dark .cover-menu input{color:#e0e7eb;background:#1a2024;border-color:#4d5960}.theme-dark .cover-menu .cover-visibility-toggle{color:#cbd5da;background:#1f272c;border-color:#435058}.theme-dark .cover-menu .cover-visibility-toggle:hover{background:#263641;border-color:#416e87}.theme-dark .cover-menu .cover-visibility-toggle:has(input:checked){color:#d4ebf7;background:#234358;border-color:#4783a5}.theme-dark .cover-menu .cover-visibility-toggle small{color:#aebdc4}.theme-dark .cover-menu .cover-visibility-toggle input[type=checkbox]{background:#161c20;border-color:#697982}.theme-dark .cover-page{color:#f1f4f5}.theme-dark .file-menu hr,.theme-dark .smart-type-heading,.theme-dark .ai-popover-heading,.theme-dark .transition-popover-heading{background:#303940;border-color:#435058}.theme-dark .smart-type-heading,.theme-dark .smart-type-heading kbd,.theme-dark .file-menu kbd,.theme-dark .ai-popover-heading,.theme-dark .transition-popover-heading,.theme-dark .ai-settings-panel p,.theme-dark .recent-scenarios-heading,.theme-dark .find-replace-panel p{color:#b6c3ca}.theme-dark .smart-type-heading kbd{background:#20262a;border-color:#4d5960}.theme-dark .ai-inline-button{color:#e0e7eb;background:#242a2e;border-color:#4d5960}.theme-dark .ai-inline-button:hover,.theme-dark .ai-inline-button.is-busy{color:#fff;background:#2d628c;border-color:#2d628c}.theme-dark .ai-settings-panel,.theme-dark .text-replacements-panel{color:#e0e7eb}.theme-dark .text-replacements-panel header p,.theme-dark .empty-text-replacements,.theme-dark .text-replacement-columns{color:#b6c3ca}.theme-dark .text-replacement-error{color:#ffc5bd;background:#4a2725;border-color:#914b45}.theme-dark .text-replacement-item{background:#1d2327;border-color:#435058}.theme-dark .text-replacement-item label{color:#c5d0d6}.theme-dark .text-replacement-item input{color:#f1f4f5;background:#1a2024;border-color:#4d5960}.theme-dark .text-replacement-item button,.theme-dark .add-text-replacement,.theme-dark .text-replacements-panel footer button{color:#e0e7eb;background:#303940;border-color:#4d5960}.theme-dark .text-replacement-toolbar input,.theme-dark .text-replacement-item input{color:#f1f4f5;background:#1a2024;border-color:#4d5960}.theme-dark .text-replacement-list{border-color:#435058}.theme-dark .text-replacement-columns{background:#303940;border-color:#435058}.theme-dark .text-replacement-item{border-color:#303940}.theme-dark .text-replacement-item button{color:#ffb4a0;background:transparent;border-color:transparent}.theme-dark .text-replacement-item button:hover{color:#fff;background:#ae452f;border-color:#ae452f}.theme-dark .text-replacements-panel .primary-button{color:#fff;background:#2d628c;border-color:#2d628c}.theme-dark .shortcut-toggle{color:#ffb4a0;background:#3a2925;border-color:#785044}.theme-dark .shortcut-toggle.is-enabled{color:#a7ddb8;background:#20372b;border-color:#487a58}.theme-dark .ai-settings-panel label,.theme-dark .prompt-editor-heading,.theme-dark .find-replace-panel label{color:#c5d0d6}.theme-dark .find-replace-panel input{color:#f1f4f5;background:#1a2024;border-color:#4d5960}.theme-dark .find-replace-panel footer button{color:#e0e7eb;background:#303940;border-color:#4d5960}.theme-dark .find-replace-panel .primary-button{color:#fff;background:#2d628c;border-color:#2d628c}.theme-dark .ai-key-heading button{color:#a9d1e7;border-color:#55798d}.theme-dark .ai-key-help{color:#d2e0e7;background:#1d2b32;border-color:#405d6c}.theme-dark .ai-key-help p{color:#b6cbd6}.theme-dark .ai-key-help a{color:#9fd4f1}.theme-dark .ai-settings-panel input,.theme-dark .ai-settings-panel textarea{color:#f1f4f5;background:#1a2024;border-color:#4d5960}.theme-dark .panel-close-button,.theme-dark .prompt-editor-heading button,.theme-dark .prompt-editor-item button,.theme-dark .ai-settings-panel footer button{color:#e0e7eb;background:#303940;border-color:#4d5960}.theme-dark .prompt-editor-item{background:#1d2327;border-color:#435058}.theme-dark .prompt-instruction-input{color:#f1f4f5;background:#1a2024;border-color:#4d5960}.theme-dark .response-only-ghost{color:#829099}.theme-dark .response-only-toggle{color:#e0e7eb;background:#303940;border-color:#4d5960}.theme-dark .response-only-toggle.is-active{color:#fff;background:#2d628c;border-color:#2d628c}.theme-dark .prompt-editor{border-color:#435058}.theme-dark .prompt-editor-list{background:#1a2024;border-color:#435058}.theme-dark .prompt-editor-list-item{color:#e0e7eb;border-color:#303940}.theme-dark .prompt-editor-list-item span,.theme-dark .prompt-editor-heading small{color:#b6c3ca}.theme-dark .prompt-editor-list-item:hover,.theme-dark .prompt-editor-list-item.is-selected{color:#fff;background:#2d628c}.theme-dark .prompt-editor-list-item:hover span,.theme-dark .prompt-editor-list-item.is-selected span{color:#e6f1f7}.theme-dark .ai-settings-panel .primary-button{color:#fff;background:#2d628c;border-color:#2d628c}@media(max-width:900px){.menu-bar{padding:0 12px}.menu-bar nav{gap:14px}.workspace{padding:20px}.document-canvas{margin:0}.ai-settings-panel{height:calc(100vh - 34px)}.prompt-editor{grid-template-columns:minmax(170px,.7fr) minmax(0,1.3fr)}}@media print{:root{background:#fff}.menu-bar,.smart-type,.paragraph-action-cluster,.ai-inline-button,.ai-popover,.modal-backdrop,.page-sheet span{display:none}.workspace{padding:0;overflow:visible}.page-sheet{border:0;box-shadow:none}.theme-dark .page-sheet{background:#fff}.theme-dark .scenario-editor{color:#111}}@font-face{font-family:Inter;src:url(/fonts/inter-latin.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:Courier Prime;src:url(/fonts/courier-prime-regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Courier Prime;src:url(/fonts/courier-prime-bold.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Courier Prime;src:url(/fonts/courier-prime-italic.ttf) format("truetype");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:Courier Prime;src:url(/fonts/courier-prime-bold-italic.ttf) format("truetype");font-weight:700;font-style:italic;font-display:swap}:root{--bg:#090B0E;--surface-1:#0F141A;--surface-2:#151C24;--surface-3:#1B2430;--surface-hover:#202A36;--surface-pressed:#273544;--surface-selected:#102A45;--text:#F4F7FB;--text-2:#AAB4C1;--text-3:#6F7A88;--text-disabled:#56616F;--accent:#4699F3;--accent-hover:#59A8FF;--accent-pressed:#2A84E2;--accent-selected:#1E5FA5;--amber:#FDC645;--error:#F05B65;--success:#2BCB75;--border:#2A3441;--divider:#202833;--focus:#6EB3FF;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--r-sm:6px;--r-md:10px;--r-lg:14px;--shadow-1:0 2px 8px rgba(0,0,0,.28);--shadow-2:0 12px 32px rgba(0,0,0,.42);--shadow-3:0 24px 80px rgba(0,0,0,.58);--ease:cubic-bezier(.2,0,0,1);--fast:.12s;--menu:.16s;--modal:.18s;--font-ui:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace}:root{--ui-primary:var(--accent);--ui-secondary:var(--accent);--ui-accent:var(--amber);--ui-text:var(--text);--ui-muted:var(--text-2);--ui-background:var(--bg);--ui-panel:var(--surface-1);--ui-floating:var(--surface-3);--ui-hover:var(--surface-hover);--ui-selected:var(--surface-selected);--ui-border:var(--border);--ui-disabled:var(--text-disabled);--ui-success:var(--success);--ui-error:var(--error);--ui-info:var(--accent-hover);--ui-font:var(--font-ui);--ui-screenplay:"Courier Prime","Courier New",monospace}@media screen{:root{color-scheme:dark;background:var(--bg);color:var(--text);font-family:var(--font-ui)}.authentication-gate{width:100%;height:100%;display:grid;place-content:center;justify-items:center;gap:10px;background:var(--bg);color:var(--text);font:14px/1.45 var(--font-ui)}.authentication-gate strong{font-size:17px;font-weight:650}.authentication-gate span{color:var(--text-2);font-size:12px}.app-shell.theme-dark.authentication-required{grid-template-rows:minmax(0,1fr)}.app-shell.theme-dark .modal-backdrop.is-auth-required{background:var(--bg)}.app-shell.theme-dark{width:100%;min-width:0;grid-template-rows:minmax(42px,auto) 42px minmax(0,1fr) 52px;background:var(--bg);color:var(--text);font:14px/1.45 var(--font-ui);-webkit-font-smoothing:antialiased}.app-shell.theme-dark.has-no-workspace-toolbar{grid-template-rows:minmax(42px,auto) 0 minmax(0,1fr) 52px}.app-shell *{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#344252 transparent}.app-shell ::selection{background:#4699f35c;color:var(--text)}.app-shell ::placeholder{color:var(--text-3);opacity:1}.app-shell ::-webkit-scrollbar{width:8px;height:8px}.app-shell ::-webkit-scrollbar-track{background:transparent}.app-shell ::-webkit-scrollbar-thumb{background:#344252;border-radius:999px;border:2px solid transparent;background-clip:content-box}.app-shell ::-webkit-scrollbar-thumb:hover{background:#4b5e73;background-clip:content-box}.app-shell ::-webkit-scrollbar-thumb:active{background:var(--accent)}.app-shell .ui-icon{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.app-shell.theme-dark button{height:32px;min-height:32px;border-radius:var(--r-sm);border:1px solid var(--border);padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:590 12px var(--font-ui);color:var(--text);background:var(--surface-3);cursor:pointer;box-shadow:none;transition:background var(--fast) var(--ease),border-color var(--fast) var(--ease),color var(--fast) var(--ease),transform 70ms ease,box-shadow var(--fast) var(--ease)}.app-shell.theme-dark button:hover:not(:disabled){background:var(--surface-hover);border-color:#394758;color:var(--text)}.app-shell.theme-dark button:active:not(:disabled){background:var(--surface-pressed);transform:translateY(1px)}.app-shell.theme-dark button.primary-button{background:var(--accent);border-color:#5aa5f6;color:#071019}.app-shell.theme-dark button.primary-button:hover:not(:disabled){background:var(--accent-hover)}.app-shell.theme-dark button.primary-button:active:not(:disabled){background:var(--accent-pressed)}.app-shell.theme-dark button:is(.is-selected,.is-active,[aria-pressed=true]){background:var(--surface-selected);border-color:#6eb3ff8c;color:#d9ebff}.app-shell.theme-dark :is(button,input,textarea,select,summary,a):focus-visible{outline:2px solid var(--focus);outline-offset:2px}.app-shell.theme-dark button:disabled{opacity:.38;cursor:not-allowed}.app-shell.theme-dark :is(.panel-close-button,.cloud-project-header>button,.pdf-language-chip button){width:32px;min-width:32px;padding:0;background:transparent;border-color:transparent;color:var(--text-2)}.app-shell.theme-dark :is(.account-password-recovery,.account-auth-switch button,.studio-text-button){background:transparent;border-color:transparent;color:var(--accent-hover);text-decoration:none}.app-shell.theme-dark kbd{font:10px var(--font-mono);padding:2px 5px;border:1px solid #465466;border-bottom-width:2px;border-radius:4px;background:#1b232d;color:var(--text-2)}.app-shell.theme-dark :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,.prompt-instruction-input){height:34px;min-height:34px;width:100%;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface-1);padding:0 10px;color:var(--text);font:12px/1.45 var(--font-ui);outline:none;box-shadow:none;transition:border-color var(--fast) var(--ease),box-shadow var(--fast) var(--ease),background var(--fast) var(--ease)}.app-shell.theme-dark :is(input,textarea,.prompt-instruction-input):hover{border-color:#394758}.app-shell.theme-dark :is(input,textarea,.prompt-instruction-input):focus{border-color:var(--focus);box-shadow:0 0 0 3px #6eb3ff1c}.app-shell.theme-dark :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,.prompt-instruction-input):focus-visible{outline:2px solid var(--focus);outline-offset:2px}.app-shell.theme-dark :is(input,textarea)[aria-invalid=true]{border-color:var(--error);box-shadow:0 0 0 3px #f05b6514}.app-shell.theme-dark :is(input,textarea):disabled{background:#10151b;color:var(--text-disabled);border-color:#202832;cursor:not-allowed}.app-shell.theme-dark textarea.ui-textarea:not([hidden]):not([type]){height:auto;min-height:96px;max-height:260px;padding:10px;resize:vertical;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.app-shell.theme-dark label{font-size:10px;color:var(--text-2);font-weight:600}.app-shell.theme-dark label:has(input,textarea,.ui-select){gap:7px}.ui-select{position:relative;display:inline-block;min-width:0;width:100%}.ui-select-native{display:none}.app-shell.theme-dark .ui-select-trigger{width:100%;justify-content:space-between}.ui-select-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell .ui-select-panel{z-index:500;background:var(--surface-3);border:1px solid #344153;border-radius:var(--r-md);box-shadow:var(--shadow-2);padding:6px;overflow:auto}.app-shell.theme-dark .ui-select-option{height:30px;min-height:30px;border:0;background:transparent;width:100%;border-radius:6px;justify-content:flex-start;padding:0 8px;color:var(--text-2);font-size:12px;text-align:left}.app-shell.theme-dark .ui-select-option:is(:hover,[data-active=true]){background:var(--surface-hover);color:var(--text)}.app-shell.theme-dark .ui-select-option[aria-selected=true]{background:var(--surface-selected);color:#d9ebff}.app-shell.theme-dark :is(.menu-bar,.formatting-toolbar,.whiteboard-mode-toolbar){min-width:0;background:var(--surface-2);border-color:var(--border);gap:4px;padding:0 6px}.app-shell.theme-dark .menu-bar{grid-row:1;justify-content:flex-start;gap:16px;padding:0 12px}.app-brand{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:16px;font-weight:650;letter-spacing:-.25px}.app-brand img{object-fit:contain}.app-shell .menu-bar nav{min-width:0;flex:1;gap:2px;flex-wrap:wrap;padding:4px 0}.app-shell .file-menu-container{height:32px}.menu-version-control{display:flex;align-items:center;height:32px;min-width:0;margin-left:auto;padding:2px 0}.menu-version-control .project-version-control{width:190px;min-width:150px}.app-shell.theme-dark .menu-button{height:32px;min-height:32px;background:transparent;border-color:transparent;color:var(--text-2)}.app-shell.theme-dark .menu-button[aria-expanded=true]{background:var(--surface-selected);color:#d9ebff}.formatting-toolbar,.whiteboard-mode-toolbar{grid-row:2}.app-shell.theme-dark .formatting-toolbar>button{height:28px;min-height:28px;width:32px;padding:0;background:transparent;border-color:transparent;color:var(--text-2)}.app-shell.theme-dark .formatting-toolbar>button.is-active{background:var(--surface-selected);border-color:#6eb3ff8c;color:#d9ebff}.toolbar-divider{height:20px;width:1px;background:var(--divider);margin:0 3px;flex-shrink:0}.document-title{max-width:26vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--text-2);padding:0 6px}.paragraph-type-control{width:160px}.app-shell.theme-dark .paragraph-type-control>button{height:28px;min-height:28px;font-size:11px}.document-status{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto;min-width:0;color:var(--text-3);font-size:11px;white-space:nowrap}.document-save-status{max-width:20vw;overflow:hidden;text-overflow:ellipsis}.app-shell.theme-dark .zoom-reset{height:28px;min-height:28px;width:auto;min-width:54px;padding:0 8px}.app-shell.theme-dark .cloud-menu-status{width:auto;max-width:24vw;overflow:hidden;text-overflow:ellipsis;display:block;padding:0 8px}.whiteboard-mode-toolbar{display:flex;align-items:center;border-bottom:1px solid var(--border);color:var(--text-2)}.whiteboard-mode-toolbar>.ui-icon{width:18px;height:18px;margin-left:4px;color:var(--accent-hover)}.app-shell.theme-dark .whiteboard-add-act{width:auto;height:28px;min-height:28px;padding:0 8px;color:var(--text-2);background:transparent;border-color:var(--border);font-size:10px}.whiteboard-add-act>.ui-icon{width:13px;height:13px;margin-right:5px}.whiteboard-mode-actions{display:flex;align-items:center;gap:5px;margin-left:auto}.app-shell.theme-dark .whiteboard-mode-actions button{width:auto;height:28px;min-height:28px;padding:0 8px;background:transparent;border-color:transparent;color:var(--text-2);font-size:10px}.whiteboard-mode-actions kbd,.whiteboard-mode-toolbar .document-status{margin-left:4px}.workspace-page-stack{position:relative;display:grid;grid-row:3;min-width:0;min-height:0;overflow:hidden}.workspace-page-stack>.workspace,.workspace-page-stack>.whiteboard-workspace,.workspace-page-stack>.breakdown-workspace{grid-area:1/1;min-width:0;min-height:0}.workspace-page-stack>.workspace{height:100%}.app-shell.theme-dark .workspace-page-stack>.workspace.has-scene-timeline.is-workspace-page-hidden{display:none}.app-shell.theme-dark .workspace{background:var(--bg);padding:32px}.app-shell.theme-dark .page-sheet{background:var(--surface-1);border-color:var(--border);box-shadow:var(--shadow-1)}.app-shell.theme-dark :is(.scenario-editor,.cover-page){color:var(--text)}.app-shell :is(.scenario-editor,.cover-page,.page-sheet span,.page-continuation-marker){font-family:var(--ui-screenplay)}.app-shell.theme-dark :is(.page-sheet span,.page-continuation-marker){color:var(--text-3)}.app-shell.theme-dark .scenario-editor p.is-empty:before{color:var(--text-disabled)}.app-shell.theme-dark .scenario-editor p[data-scenario-type=SCENE_HEADING]:before,.app-shell.theme-dark .scenario-editor p[data-scenario-type=SCENE_HEADING]:after{color:var(--text-3)}.editor-stage{position:relative;width:fit-content;margin:0 auto}.editor-stage:has(.margin-note),.editor-stage.has-comment-margin{padding-inline:274px}.app-shell .editor-stage .document-zoom{margin:0}.application-bottom-bar{position:relative;z-index:20;display:grid;grid-row:4;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:stretch;min-width:0;background:var(--surface-2);border-top:1px solid var(--divider);color:var(--text-3)}.bottom-license-status{display:flex;align-items:center;min-width:0;padding:0 12px;font-size:10px;overflow:hidden}.bottom-license-status>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-page-navigation{display:flex;align-items:stretch;height:51px}.app-shell.theme-dark .workspace-page-navigation button{position:relative;display:flex;flex-direction:column;width:92px;height:51px;min-height:51px;gap:2px;padding:5px 10px 4px;color:var(--text-3);background:transparent;border:0;border-radius:0;font-size:9px;font-weight:600}.app-shell.theme-dark .workspace-page-navigation button:hover:not(:disabled){color:var(--text);background:var(--surface-hover);border-color:transparent}.app-shell.theme-dark .workspace-page-navigation button.is-active{color:var(--accent-hover);background:var(--surface-selected);border-color:transparent}.workspace-page-navigation button.is-active:before{position:absolute;top:0;right:12px;left:12px;height:2px;background:var(--accent);border-radius:0 0 2px 2px;content:""}.workspace-page-navigation .ui-icon{width:21px;height:21px;stroke-width:1.6}.application-bottom-bar .editor-statistics{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:14px;min-width:0;min-height:0;padding:0 12px;background:transparent;color:var(--text-3);border:0;font-size:10px;overflow:hidden;white-space:nowrap;z-index:auto}.workspace-bottom-actions:empty{display:none}.editor-statistics strong{color:var(--text-2);font-weight:600}.app-shell.theme-dark .modal-backdrop{background:#030508ad;padding:16px}.app-shell.theme-dark :is(.account-license-panel,.cloud-project-panel,.help-panel,.pdf-export-panel,.ai-settings-panel,.ai-missing-key-panel,.text-replacements-panel,.find-replace-panel,.comment-composer,.comments-panel){color:var(--text);background:var(--surface-2);border:1px solid #344153;border-radius:var(--r-lg);box-shadow:var(--shadow-3);padding:18px;font-family:var(--font-ui);font-size:12px;max-height:calc(100dvh - 32px);overscroll-behavior:contain;overflow-y:auto;animation:ui-modal-in var(--modal) var(--ease)}.app-shell.theme-dark .account-license-panel{width:min(600px,100%)}.app-shell.theme-dark .account-signin-panel{width:min(440px,100%);gap:16px}.app-shell.theme-dark :is(.modal-backdrop,.cover-menu) :is(h2,h3,h4,legend,dt){color:var(--text)}.app-shell.theme-dark :is(.modal-backdrop,.cover-menu) h2{font-size:15px;line-height:1.3;font-weight:650;margin:0 0 7px;letter-spacing:0}.app-shell.theme-dark :is(.modal-backdrop,.cover-menu) h3{font-size:13px;font-weight:620}.app-shell.theme-dark :is(.modal-backdrop,.cover-menu) :where(p,li,small,dd){font-size:12px;line-height:1.55;color:var(--text-2)}.app-shell.theme-dark :is(.modal-backdrop,.cover-menu) a{color:var(--accent-hover)}.app-shell.theme-dark :is(.file-menu,.smart-type,.scenario-context-menu,.ai-popover,.transition-popover,.cover-menu,.studio-member-menu>div){color:var(--text);background:var(--surface-3);border:1px solid #344153;border-radius:var(--r-md);box-shadow:var(--shadow-2);padding:6px}.app-shell.theme-dark .file-menu{top:36px;left:0;overflow:visible}.app-shell.theme-dark .file-submenu{color:var(--text);background:var(--surface-3);border:1px solid #344153;border-radius:var(--r-md);box-shadow:var(--shadow-2)}.app-shell.theme-dark .cover-menu{left:0;right:auto;padding:16px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 100px);overflow:auto}.app-shell.theme-dark :is(.file-menu,.smart-type,.scenario-context-menu,.ai-popover,.transition-popover)>button,.app-shell.theme-dark :is(.file-menu-branch,.file-submenu)>button{height:30px;min-height:30px;display:flex;width:100%;justify-content:flex-start;padding:0 8px;border:0;border-radius:6px;background:transparent;color:var(--text-2);font-size:12px;font-weight:400;text-align:left}.app-shell.theme-dark :is(.file-menu,.smart-type,.scenario-context-menu,.ai-popover,.transition-popover)>button:hover,.app-shell.theme-dark :is(.file-menu-branch,.file-submenu)>button:hover,.app-shell.theme-dark .file-menu-branch>button[aria-expanded=true]{background:var(--surface-hover);color:var(--text)}.app-shell.theme-dark .smart-type button:is(:hover,.is-selected){background:var(--surface-selected);color:#d9ebff}.app-shell.theme-dark :is(.file-menu hr,.smart-type-heading,.ai-popover-heading,.transition-popover-heading){border-color:var(--divider);background:transparent}.app-shell.theme-dark :is(.smart-type-heading,.ai-popover-heading,.transition-popover-heading,.cloud-eyebrow){font:10px var(--font-mono);color:var(--text-3)}.app-shell.theme-dark :is(.file-menu,.smart-type,.scenario-context-menu) kbd{margin-left:auto;background:transparent;border:0;color:var(--text-3)}.app-shell.theme-dark :is(.account-license-section,.account-license-details dl,.cloud-project-detail,.studio-summary,.studio-management-panel,.prompt-editor,.prompt-editor-list,.pdf-export-panel fieldset){background:var(--surface-1);border:1px solid var(--border);border-radius:var(--r-md);padding:16px;box-shadow:var(--shadow-1)}.app-shell.theme-dark :is(.account-license-details dl>div,.studio-member,.studio-invitation-row,.studio-invitation-history>div,.text-replacement-item,.prompt-editor-list-item,.cloud-member,.cloud-version){background:transparent;color:var(--text-2);border-color:var(--divider);border-radius:6px}.app-shell.theme-dark :is(.account-license-details dd,.studio-member-identity strong,.cloud-project-card strong){color:var(--text)}.app-shell.theme-dark :is(.studio-role-badge,.studio-active-indicator,.studio-member-avatar,.pdf-language-chip){color:var(--text-2);background:var(--surface-3);border-color:var(--border);border-radius:6px;font-size:11px}.app-shell.theme-dark :is(.cloud-project-card,.studio-switcher button,.prompt-editor-list-item){height:auto;min-height:34px;background:transparent;border:0;border-radius:6px;padding:8px;color:var(--text-2);text-align:left}.app-shell.theme-dark .cloud-project-list{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-md);padding:5px}.app-shell.theme-dark .cloud-project-card{box-shadow:none;grid-template-columns:20px 1fr auto;gap:8px}.app-shell.theme-dark .cloud-project-card small{font-size:10px;color:var(--text-3)}.app-shell.theme-dark :is(.cloud-project-card.is-selected,.prompt-editor-list-item.is-selected,.studio-switcher button.is-active){background:var(--surface-selected);color:#d9ebff}.app-shell.theme-dark :is(.cloud-notice,.cloud-current,.cloud-help,.account-license-message,.account-local-test,.studio-message,.studio-conflict,.ai-key-help){font-size:11px;line-height:1.6;color:var(--text-3);padding:10px 12px;border:0;border-left:2px solid var(--accent);background:#4699f30d;border-radius:0 6px 6px 0}.app-shell.theme-dark :is(.account-license-error,.text-replacement-error){color:#ff8a92;border-color:var(--error);background:transparent;font-size:10px}.app-shell.theme-dark :is(.cloud-empty,.studio-empty-state){min-height:150px;border:1px dashed #394554;border-radius:var(--r-md);background:var(--surface-2);padding:16px;color:var(--text-3);text-align:center}.app-shell.theme-dark :is(.cloud-empty,.studio-empty-state) h3{font-size:12px;font-weight:600}.app-shell.theme-dark :is(.cloud-empty,.studio-empty-state) p{font-size:11px;color:var(--text-3)}.app-shell.theme-dark :is(.cloud-create-form,.cloud-invitations,.studio-live-card,.cover-visibility-toggle,.pdf-export-panel fieldset label){background:var(--surface-2);color:var(--text-2);border:1px solid var(--border);border-radius:var(--r-md)}.app-shell.theme-dark :is(.cover-visibility-toggle:has(input:checked),.pdf-export-panel fieldset label:has(input:checked)){background:var(--surface-selected);color:#d9ebff;border-color:#6eb3ff8c}.app-shell.theme-dark .cloud-project-card strong{font-size:12px}.app-shell.theme-dark :is(.cloud-project-filters,.account-auth-tabs){display:flex;gap:2px;border-bottom:1px solid var(--divider)}.app-shell.theme-dark :is(.cloud-project-filters,.account-auth-tabs)>button{height:34px;background:transparent;border:0;border-radius:6px 6px 0 0;color:var(--text-3);font-size:12px;font-weight:400;padding:0 10px;position:relative}.app-shell.theme-dark :is(.cloud-project-filters,.account-auth-tabs)>button[aria-pressed=true]{color:var(--text);background:transparent}.app-shell.theme-dark :is(.cloud-project-filters,.account-auth-tabs)>button[aria-pressed=true]:after{content:"";position:absolute;left:8px;right:8px;bottom:-1px;height:2px;background:var(--accent);border-radius:2px 2px 0 0}.account-auth-switch{border-top:1px solid var(--divider);padding-top:16px;text-align:center;color:var(--text-3);font-size:12px}.app-shell.theme-dark .account-password-recovery{justify-self:end}.app-shell.theme-dark .account-auth-form{gap:13px}.app-shell.theme-dark input[type=checkbox]{appearance:none;flex:none;width:16px;height:16px;min-height:16px;padding:0;border:1px solid #536174;border-radius:4px;background:var(--surface-1);display:inline-grid;place-items:center;vertical-align:middle}.app-shell.theme-dark input[type=checkbox]:checked{background:var(--accent);border-color:#5aa5f6}.app-shell.theme-dark input[type=checkbox]:checked:after{content:"";width:12px;height:12px;background:#071019;-webkit-mask:url(/ui-check.svg) center/12px no-repeat;mask:url(/ui-check.svg) center/12px no-repeat}.app-shell.theme-dark input[type=checkbox]:before{display:none}.app-shell.theme-dark :is(.shortcut-toggle,.response-only-toggle){background:transparent;border-color:transparent;color:var(--text-2);font-size:12px}.app-shell.theme-dark :is(.shortcut-toggle-track,.response-only-toggle-track){width:36px;height:20px;flex:none;border-radius:999px;border:1px solid #3b4654;background:#29323d;padding:2px}.app-shell.theme-dark :is(.shortcut-toggle.is-enabled,.response-only-toggle.is-active) :is(.shortcut-toggle-track,.response-only-toggle-track){background:var(--accent);border-color:#5aa5f6}.app-shell.theme-dark :is(.shortcut-toggle-thumb,.response-only-toggle-thumb){width:14px;height:14px;background:#a4afbc;border-radius:50%;box-shadow:0 1px 3px #00000059}.app-shell.theme-dark input[type=range]{appearance:none;height:4px;min-height:4px;background:#303b48;border-radius:999px}.app-shell.theme-dark input[type=range]::-webkit-slider-thumb{appearance:none;width:14px;height:14px;border-radius:50%;background:#def;border:2px solid var(--accent);box-shadow:0 1px 4px #00000080}.comment-rail{position:absolute;width:250px;top:0;left:0}.margin-note{position:absolute;left:0;width:250px;background:var(--surface-3);border:1px solid #344153;border-radius:var(--r-md);box-shadow:var(--shadow-2);padding:0;overflow:hidden;transition:background var(--fast) var(--ease),border-color var(--fast) var(--ease)}.margin-note:has(.margin-note-hitbox:hover){background:var(--surface-hover);border-color:#394758}.margin-note.is-active{background:var(--surface-selected);border-color:#6eb3ff8c}.app-shell.theme-dark .margin-note-hitbox{display:block;width:100%;height:auto;min-height:32px;padding:8px 10px;margin:0;text-align:left;border:0;border-radius:0;background:transparent;font-size:11px;line-height:1.45;font-weight:400;color:var(--text-2);overflow:hidden}.app-shell.theme-dark .margin-note.margin-note button.margin-note-hitbox:hover:not(:disabled){background:transparent;border-color:transparent;color:var(--text-2)}.app-shell.theme-dark .margin-note-hitbox:focus-visible{outline:0}.margin-note:focus-within{border-color:var(--focus)}.margin-note-hitbox>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.margin-note.is-active .margin-note-hitbox{padding-top:10px;padding-bottom:10px;overflow:visible}.margin-note.is-active .margin-note-hitbox>span{overflow:visible;text-overflow:clip;white-space:pre-wrap;overflow-wrap:anywhere}.margin-note-details{padding:0 10px 10px}.margin-note.is-active:has(form) .margin-note-details{padding-top:10px}.margin-note small{display:block;font-size:10px;color:var(--text-3);margin-bottom:6px}.margin-note-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.app-shell.theme-dark .margin-note-actions button{height:28px;min-height:28px;font-size:11px;padding:0 8px}.margin-note-reply{font-size:11px;line-height:1.45;color:var(--text-2);white-space:pre-wrap;overflow-wrap:anywhere}.margin-note textarea{margin-top:0}.margin-note [role=alert]{font-size:11px;color:var(--text-2)}.app-shell.theme-dark .scenario-comment-anchor{background:#fdc6451f;box-shadow:0 0 0 1px #fdc6451f;border-radius:3px}.app-shell.theme-dark .scenario-comment-anchor:is(.is-active,.is-hovered,:hover){background:#fdc64538}.app-shell.theme-dark button.comment-inline-button.comment-inline-button{width:26px;height:26px;min-height:26px;padding:0;background:var(--surface-3);border:1px solid #344153;border-radius:8px;box-shadow:var(--shadow-2);color:var(--text-2)}.app-shell.theme-dark button.ai-inline-button.ai-inline-button{width:32px;height:32px;min-height:32px;padding:0;color:var(--amber);background:var(--surface-3);border-color:#fdc6457a;border-radius:6px}.app-shell.theme-dark button.ai-inline-button.ai-inline-button:hover:not(:disabled),.app-shell.theme-dark button.ai-inline-button.ai-inline-button.is-busy{color:#fff0bf;background:color-mix(in srgb,var(--surface-3) 82%,var(--amber));border-color:var(--amber)}.app-shell.theme-dark .paragraph-action-cluster>button:is(.ai-inline-button,.transition-inline-button):active:not(:disabled){transform:translateY(1px)}.app-shell.theme-dark .ai-paragraph-highlight{background:#4699f314;border-top:1px solid rgba(70,153,243,.16);border-bottom:1px solid rgba(70,153,243,.16)}.app-shell.theme-dark .response-only-ghost{color:var(--text-3)}.app-shell.theme-dark .transition-inline-button{color:var(--text-2);background:var(--surface-3);border-color:var(--border)}.app-shell.theme-dark :is(.shortcut-toggle-track,.response-only-toggle-track,.shortcut-toggle-thumb,.response-only-toggle-thumb){display:block}.app-shell.theme-dark :is(.shortcut-toggle.is-enabled,.response-only-toggle.is-active) :is(.shortcut-toggle-thumb,.response-only-toggle-thumb){transform:translate(16px);background:#071019}.app-shell.theme-dark .prompt-editor-list-item{display:grid;justify-content:stretch;text-align:left;height:auto;min-height:64px;gap:4px;padding:10px}.app-shell.theme-dark .prompt-editor-list-item :is(strong,span){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.app-shell.theme-dark :is(.prompt-editor-item,.text-replacement-list,.text-replacement-columns){background:var(--surface-2);border-color:var(--border);color:var(--text-2)}.app-shell.theme-dark .response-only-ghost{display:block;font-size:11px;line-height:1.45}.app-shell.theme-dark .modal-backdrop footer button{background:var(--surface-3);border:1px solid var(--border);color:var(--text);height:32px;min-height:32px;font-size:12px}.app-shell.theme-dark .modal-backdrop footer button.primary-button{background:var(--accent);border-color:#5aa5f6;color:#071019}.app-shell.theme-dark .modal-backdrop footer button:hover:not(:disabled){background:var(--surface-hover)}.app-shell.theme-dark .modal-backdrop footer button.primary-button:hover:not(:disabled){background:var(--accent-hover)}.app-shell.theme-dark .account-overview-panel{width:min(1080px,calc(100vw - 32px));gap:14px;padding:20px}.app-shell.theme-dark .account-overview-panel>header{padding-bottom:2px}.app-shell.theme-dark .account-overview-panel .account-license-details{display:grid;gap:12px}.account-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.95fr);gap:12px;align-items:stretch}.app-shell.theme-dark .account-overview-grid>.account-license-section,.app-shell.theme-dark .account-overview-grid>.ai-budget-usage{margin:0;min-width:0;background:var(--surface-1);border:1px solid var(--border);border-radius:var(--r-md);box-shadow:var(--shadow-1)}.account-profile-section{display:grid;align-content:start;gap:14px}.account-profile-heading{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center}.account-profile-heading>div{min-width:0}.account-profile-heading h3{margin:0 0 2px;font-size:14px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-profile-heading p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-profile-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface-3);color:var(--text-2)}.account-plan-badge{padding:5px 8px;border:1px solid var(--border);border-radius:999px;background:var(--surface-2);color:var(--text-2);font-size:10px;font-weight:650;white-space:nowrap}.account-plan-badge.is-active{color:var(--success);border-color:#4cc38a61;background:#4cc38a1a}.app-shell.theme-dark .account-profile-section dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}.app-shell.theme-dark .account-profile-section dl>div{display:block;min-width:0;padding:0 10px;border:0;border-left:1px solid var(--divider);background:transparent}.app-shell.theme-dark .account-profile-section dl>div:first-child{padding-left:0;border-left:0}.account-profile-section dt{margin-bottom:3px;font-size:10px;font-weight:500!important}.account-profile-section dd{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-section-heading h3{margin:0}.account-section-heading>span{color:var(--text-3);font-size:10px;white-space:nowrap}.app-shell.theme-dark .account-rights-section{padding:14px}.account-rights-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px!important;margin:0!important;padding:0!important;list-style:none}.app-shell.theme-dark .account-rights-grid li{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:48px;padding:8px 9px;border:1px solid var(--border);border-radius:7px;color:var(--text-2);line-height:1.25}.app-shell.theme-dark .account-rights-grid li.is-enabled{color:var(--text);background:#4cc38a1a;border-color:#4cc38a61}.app-shell.theme-dark .account-rights-grid li.is-disabled{color:var(--text-3);background:var(--surface-2);border-color:var(--border)}.account-right-icon{width:26px;height:26px;display:grid;place-items:center;border-radius:6px;background:var(--surface-3)}.is-enabled .account-right-icon{color:var(--success);background:#4cc38a24}.is-disabled .account-right-icon{color:var(--text-disabled)}.account-rights-grid li>span:nth-child(2){min-width:0;font-size:11px;font-weight:570}.app-shell.theme-dark .account-rights-grid small{color:inherit;font-size:9px;text-transform:uppercase;letter-spacing:.45px}.account-management-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.app-shell.theme-dark .account-management-grid>.account-license-section{align-content:start;gap:9px;min-width:0;padding:13px 14px}.account-device-list,.account-activation-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important;margin:0!important;padding:0!important;list-style:none}.app-shell.theme-dark .account-device-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border:1px solid var(--divider);border-radius:6px;background:var(--surface-2)}.account-device-list li>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-device-list small{color:var(--success)!important;font-size:9px!important;text-transform:uppercase}.account-device-list button{min-height:26px;padding:0 8px;font-size:10px}.app-shell.theme-dark .account-device-help{margin:0;color:var(--text-3);font-size:10px}.account-activation-form{display:grid;gap:5px}.account-activation-form>label{color:var(--text-2);font-size:10px}.account-activation-form>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.account-activation-form input{min-width:0}.account-activation-list li{font-size:10px!important}.account-overview-panel .account-license-details>footer{display:flex;justify-content:flex-end;gap:7px;padding-top:0}.account-session-loading{display:grid;place-items:center;min-height:180px;color:var(--text-2);font-size:12px}@keyframes ui-modal-in{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}@media(max-width:1439px){.app-shell.theme-dark .menu-bar{gap:8px}.app-shell.theme-dark .menu-button{padding:0 8px}}@media(max-width:1099px){.document-save-status{display:none}.app-shell.theme-dark .cloud-project-layout{grid-template-columns:1fr}.account-rights-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:799px){.app-shell.theme-dark .menu-bar{align-items:flex-start;min-width:0;width:100%;padding:8px}.app-shell .menu-bar nav{flex:none;width:calc(100% - 36px)}.app-shell.theme-dark .formatting-toolbar{overflow-x:auto;overflow-y:hidden}.app-brand{padding-top:4px}.app-brand span,.document-title,.document-status>span,.toolbar-divider{display:none}.app-shell.theme-dark .workspace{padding:16px}.paragraph-type-control{width:136px}.application-bottom-bar .editor-statistics{display:none}.app-shell.theme-dark .cover-menu{position:fixed;top:100px;left:16px;right:auto}.cloud-member,.cloud-member>div,.cloud-version{flex-wrap:wrap}.app-shell.theme-dark .account-license-details dl>div{grid-template-columns:1fr;gap:4px}.account-overview-grid,.account-management-grid{grid-template-columns:1fr}.account-rights-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell.theme-dark .account-profile-section dl{grid-template-columns:1fr;gap:8px}.app-shell.theme-dark .account-profile-section dl>div{padding:0;border-left:0}.account-profile-heading{grid-template-columns:36px minmax(0,1fr)}.account-plan-badge{grid-column:2;justify-self:start}}@media(prefers-reduced-motion:reduce){.app-shell *{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}}@media print{.formatting-toolbar,.whiteboard-mode-toolbar,.application-bottom-bar,.comment-rail,.editor-statistics,.comment-inline-button,.scenario-context-menu,.ui-select-panel,.breakdown-workspace{display:none}.editor-stage{padding-left:0;min-height:0!important}.theme-dark .cover-page{color:#111}}.project-version-control{display:inline-grid;grid-template-columns:minmax(0,1fr) 30px;width:222px;min-width:158px;height:28px}.app-shell.theme-dark .project-version-control>button{height:28px;min-height:28px}.app-shell.theme-dark .project-version-control .version-select-trigger{min-width:0;width:100%;justify-content:space-between;border-radius:var(--r-sm) 0 0 var(--r-sm);font-size:11px}.project-version-control .version-select-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.version-trigger-label{display:flex;align-items:center;gap:6px;min-width:0}.version-trigger-label>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-feature-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:18px;padding:0 6px;color:#f3ca69;background:#e5b33e1a;border:1px solid rgba(229,179,62,.32);border-radius:999px;font:8px/1 var(--font-mono);letter-spacing:.05em;text-transform:uppercase}.app-shell.theme-dark .file-submenu>button:disabled{opacity:.72;color:var(--text-3)}.app-shell.theme-dark .project-version-control .version-create-trigger{width:30px;min-width:30px;padding:0;border-left:0;border-radius:0 var(--r-sm) var(--r-sm) 0;color:var(--text-2)}.app-shell.theme-dark .project-version-control .version-create-trigger[aria-expanded=true]{color:#d9ebff;background:var(--surface-selected);border-color:#6eb3ff8c}.app-shell .project-version-list,.app-shell .version-create-menu{animation:ui-menu-in var(--fast) var(--ease);transform-origin:top center}.app-shell .project-version-list{overflow:auto}.project-version-row{display:grid;gap:3px}.project-version-row+.project-version-row{margin-top:2px}.app-shell.theme-dark .project-version-row>.ui-select-option{display:flex;justify-content:space-between;gap:8px}.project-version-row>.ui-select-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-version-row>.ui-select-option .ui-icon{color:var(--accent-hover)}.project-version-context-menu{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:0 4px 5px}.app-shell.theme-dark .project-version-context-menu button,.app-shell.theme-dark .project-version-delete-confirmation button{height:27px;min-height:27px;padding:0 8px;font-size:11px}.app-shell.theme-dark button.is-danger{color:#ffb1b8;border-color:#f05b6561;background:#f05b6514}.app-shell.theme-dark button.is-danger:hover:not(:disabled){color:#ffd6d9;border-color:#f05b6594;background:#f05b6529}.project-version-inline-rename{display:grid;grid-template-columns:minmax(0,1fr) 28px 28px;gap:4px;padding:2px 4px 5px}.app-shell.theme-dark .project-version-inline-rename input{height:28px;min-height:28px;padding:0 7px}.app-shell.theme-dark .project-version-inline-rename button{width:28px;min-width:28px;height:28px;min-height:28px;padding:0}.project-version-delete-confirmation{display:grid;gap:7px;padding:7px 8px 8px;color:var(--text-2);font-size:11px;border:1px solid rgba(240,91,101,.28);border-radius:var(--r-sm);background:#f05b650f}.project-version-delete-confirmation>span{overflow-wrap:anywhere}.project-version-delete-confirmation>div{display:flex;justify-content:flex-end;gap:5px}.app-shell.theme-dark .version-create-menu button{width:100%;height:30px;min-height:30px;justify-content:flex-start;padding:0 8px;border:0;background:transparent;color:var(--text-2);font-size:12px}.app-shell.theme-dark .version-create-menu button:hover{color:var(--text);background:var(--surface-hover)}@keyframes ui-menu-in{0%{opacity:0;transform:translateY(-3px) scale(.99)}to{opacity:1;transform:none}}.version-availability{margin:0;padding:6px 16px;color:var(--text-2);font-size:11px}.account-rights-section h4{margin:8px 0;color:var(--text-2);font-size:11px}@media screen{.app-shell.theme-dark .workspace.has-scene-timeline{display:grid;grid-template-columns:0 minmax(0,1fr);align-items:start;gap:0;padding-inline:32px}.workspace.has-scene-timeline .editor-stage{margin:0;left:50%;transform:translate(-50%)}.scene-timeline{position:sticky;z-index:4;top:0;left:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:240px;max-height:calc(100dvh - 166px);overflow:hidden;color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-1)}.scene-timeline>header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:12px 14px;border-bottom:1px solid var(--divider)}.scene-timeline>header>div{display:grid;gap:2px;min-width:0}.scene-timeline h2{margin:0;color:var(--text);font-size:14px;font-weight:650}.scene-timeline-eyebrow{color:var(--text-3);font:9px/1.2 var(--font-mono);letter-spacing:.1em;text-transform:uppercase}.scene-timeline-count{display:grid;min-width:26px;height:24px;place-items:center;padding:0 7px;color:var(--text-2);background:var(--surface-3);border:1px solid var(--border);border-radius:999px;font-size:10px}.scene-timeline ol{min-height:72px;margin:0;padding:10px;overflow:auto;list-style:none;overscroll-behavior:contain}.scene-timeline li:not(.scene-timeline-tail):not(.scene-timeline-act-separator){position:relative;display:grid;grid-template-columns:18px minmax(0,1fr) 28px;align-items:center;gap:4px;min-height:52px;margin:0 0 6px;background:var(--surface-1);border:1px solid var(--border);border-radius:var(--r-md);cursor:grab;transition:opacity var(--fast) var(--ease),background var(--fast) var(--ease),border-color var(--fast) var(--ease),box-shadow var(--fast) var(--ease)}.scene-timeline li:not(.scene-timeline-tail):not(.scene-timeline-act-separator):hover{background:var(--surface-hover);border-color:#394758}.scene-timeline li:not(.scene-timeline-tail):not(.scene-timeline-act-separator).is-active{background:var(--surface-selected);border-color:#6eb3ff8c;box-shadow:inset 2px 0 0 var(--accent)}.scene-timeline li:not(.scene-timeline-tail):not(.scene-timeline-act-separator).is-dragging{opacity:.36;border-style:dashed;cursor:grabbing}.scene-timeline-act-separator{display:flex;align-items:center;gap:7px;height:22px;margin:2px 0 6px;color:var(--text-3);font:8px/1 var(--font-mono);letter-spacing:.08em;text-transform:uppercase}.scene-timeline-act-separator:before,.scene-timeline-act-separator:after{height:1px;flex:1;background:var(--divider);content:""}.scene-timeline-act-separator>span{flex:none}.scene-timeline li.is-drop-before:before,.scene-timeline-tail.is-drop-target:before{position:absolute;z-index:2;right:3px;left:3px;height:2px;background:var(--accent);border-radius:999px;box-shadow:0 0 0 3px #4699f31f,0 0 12px #4699f357;content:"";animation:scene-drop-in .12s var(--ease)}.scene-timeline li.is-drop-before:before{top:-5px}.scene-timeline li.is-drop-before:after,.scene-timeline-tail.is-drop-target:after{position:absolute;z-index:3;left:0;width:6px;height:6px;background:var(--accent);border-radius:50%;content:""}.scene-timeline li.is-drop-before:after{top:-7px}.scene-timeline-drag{display:grid;width:18px;height:100%;place-items:center;color:var(--text-3)}.scene-timeline-drag .ui-icon{width:13px;height:13px}.app-shell.theme-dark .scene-timeline-jump{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:5px;width:100%;height:auto;min-height:50px;padding:7px 0;overflow:hidden;color:var(--text-2);background:transparent;border:0;border-radius:0;text-align:left}.app-shell.theme-dark .scene-timeline-jump:hover:not(:disabled),.app-shell.theme-dark .scene-timeline-jump:active:not(:disabled){background:transparent;transform:none}.scene-timeline-jump>span{color:var(--text-3);font:9px var(--font-mono)}.scene-timeline-jump strong{display:-webkit-box;overflow:hidden;font-size:11px;font-weight:580;line-height:1.35;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.scene-timeline li.is-active .scene-timeline-jump{color:#d9ebff}.scene-timeline li.is-active .scene-timeline-jump>span{color:var(--accent-hover)}.app-shell.theme-dark .scene-timeline-delete{width:26px;min-width:26px;height:28px;min-height:28px;padding:0;color:var(--text-3);background:transparent;border-color:transparent;opacity:0}.scene-timeline li:hover .scene-timeline-delete,.scene-timeline li:focus-within .scene-timeline-delete{opacity:1}.app-shell.theme-dark .scene-timeline-delete:hover:not(:disabled){color:var(--error);background:#f05b6514;border-color:#f05b6547}.scene-timeline-tail{position:relative;height:12px}.scene-timeline-tail.is-drop-target:before{top:3px}.scene-timeline-tail.is-drop-target:after{top:1px}.scene-timeline-empty{margin:0;padding:20px 16px;color:var(--text-3);font-size:11px;line-height:1.55;text-align:center}.scene-timeline-readonly{margin:0;padding:8px 12px;color:var(--text-3);border-top:1px solid var(--divider);font:9px var(--font-mono);text-align:center;text-transform:uppercase}.scene-timeline-locked{grid-template-rows:auto 1fr}.scene-timeline-lock-message{display:grid;align-content:center;justify-items:center;gap:12px;padding:24px 18px;text-align:center}.scene-timeline-lock-message p{margin:0;color:var(--text-3);font-size:11px;line-height:1.55}.app-shell.theme-dark .scene-timeline-lock-message button{min-height:30px;padding:0 10px;color:var(--text-2);background:var(--surface-3);border-color:var(--border);font-size:11px}.app-shell.theme-dark .scene-timeline-lock-message button:hover{color:var(--text);background:var(--surface-hover);border-color:#394758}@keyframes scene-drop-in{0%{opacity:0;transform:scaleX(.72)}to{opacity:1;transform:scaleX(1)}}}@media screen and (max-width:900px){.app-shell.theme-dark .workspace.has-scene-timeline{grid-template-columns:0 minmax(0,1fr);gap:0;padding-inline:16px}.scene-timeline{width:196px}.scene-timeline>header{padding:10px 12px}.scene-timeline ol{padding:8px}.scene-timeline li:not(.scene-timeline-tail):not(.scene-timeline-act-separator){grid-template-columns:15px minmax(0,1fr) 26px}.app-shell.theme-dark .scene-timeline-delete{opacity:.72}}@media print{.scene-timeline{display:none}.workspace.has-scene-timeline{display:block}}
