:root{color:#111;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#fff;font:18px/145% system-ui,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0}#root{flex-direction:column;min-height:100svh;display:flex}h1{margin:0;font-size:1.6rem}p{margin:0}.app{flex-direction:column;min-height:100vh;display:flex}.script-page{flex-direction:column;flex:1;display:flex}.uploader{cursor:pointer;text-align:center;color:#333;border:2px dashed #999;border-radius:12px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;margin:40px;padding:60px 24px;display:flex}.uploader:hover{background:#fafafa;border-color:#555}.uploader-title{margin:0;font-size:1.3rem;font-weight:600}.uploader-hint{color:#666;max-width:520px;margin:0;font-size:.95rem}.uploader-progress{font-size:1.1rem}.uploader-error{color:#b00020;font-weight:600}.modal-backdrop{z-index:1000;background:#0006;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-dialog{box-sizing:border-box;resize:both;background:#fff;border-radius:12px;width:380px;min-width:280px;max-width:calc(100vw - 48px);min-height:120px;max-height:calc(100dvh - 48px);padding:24px;overflow:auto;box-shadow:0 12px 32px #0003}.modal-dialog-wide{width:480px}.modal-compare-table{border-collapse:collapse;width:100%;margin-bottom:20px;font-size:.9rem}.modal-compare-table th,.modal-compare-table td{text-align:left;border-bottom:1px solid #eee;padding:6px 8px}.modal-compare-table th:not(:first-child),.modal-compare-table td:not(:first-child){text-align:right}.modal-compare-table thead th{color:#888;text-transform:uppercase;letter-spacing:.03em;font-size:.75rem;font-weight:700}.modal-compare-row-diff{color:#a51c1c;font-weight:600}.modal-dialog-recording{box-shadow:none;background:#ffffff0d}.modal-dialog-recording .modal-title,.modal-dialog-recording .modal-recording-item:not(.modal-recording-item-plain),.modal-dialog-recording .modal-cancel{opacity:.05}.modal-recording-label.modal-recording-label-recording{color:#a51c1c;opacity:1}.modal-title{color:#222;cursor:move;-webkit-user-select:none;user-select:none;margin:0 0 8px;font-size:1.1rem;font-weight:700}.modal-body{color:#555;margin:0 0 20px;font-size:.95rem;line-height:1.5}.pin-input{box-sizing:border-box;letter-spacing:.5em;text-align:center;border:1px solid #ccc;border-radius:8px;width:100%;margin-bottom:12px;padding:10px 12px;font-family:inherit;font-size:1.3rem;display:block}.pin-input.email-input{letter-spacing:normal;text-align:left;font-size:.95rem}.pin-error{color:#a51c1c;margin:-6px 0 12px;font-size:.85rem}.api-key-input{letter-spacing:normal;text-align:left;font-size:.9rem}.modal-actions{flex-direction:column;gap:8px;display:flex}.modal-folder-path{color:#333;word-break:break-all;background:#fafafa;border:1px solid #ddd;border-radius:8px;margin:0 0 8px;padding:8px 10px;font-size:.9rem}.modal-folder-note{color:#888;margin:0 0 20px;font-size:.8rem;line-height:1.4}.modal-btn{cursor:pointer;color:#333;background:#fff;border:1px solid #ccc;border-radius:8px;width:100%;padding:10px 14px;font-family:inherit;font-size:.95rem}.modal-btn:hover{background:#f2f2f2}a.modal-btn{box-sizing:border-box;text-align:center;text-decoration:none;display:block}.modal-btn:disabled,.modal-btn:disabled:hover{color:#aaa;cursor:not-allowed;background:#eee;border-color:#ddd}.modal-btn-primary{color:#fff;background:#1a4fa0;border-color:#1a4fa0}.modal-btn-primary:hover{background:#163f82}.modal-btn-primary:disabled{color:#888;cursor:default;background:#ccc;border-color:#ccc}.modal-btn-primary:disabled:hover{color:#888;background:#ccc;border-color:#ccc}.modal-btn-danger{color:#b00020;border-color:#e3a8b0}.modal-btn-danger:hover{background:#fdecea}.modal-cancel{color:#666;cursor:pointer;text-align:center;background:0 0;border:none;width:100%;margin-top:12px;padding:6px;font-family:inherit;font-size:.85rem;display:block}.modal-cancel:hover{text-decoration:underline}.modal-recording-list{flex-direction:column;gap:6px;max-height:260px;margin:0 0 4px;padding:0;list-style:none;display:flex;overflow-y:auto}.modal-recording-item{border:1px solid #ddd;border-radius:8px;align-items:center;gap:6px;padding:6px 10px;display:flex}.modal-recording-item input[type=radio]{flex-shrink:0;margin:0}.modal-recording-radio-slot{flex-shrink:0;justify-content:center;align-items:center;width:30px;display:flex}.modal-recording-item-plain{border-color:#0000}.modal-recording-external-heading{color:#a56c00;text-transform:uppercase;letter-spacing:.03em;margin:10px 0 6px;font-size:.75rem;font-weight:700}.modal-recording-item-external{background:#fff8ea;border-style:dashed;border-color:#d9a441;flex-wrap:wrap}.modal-recording-external-actions{flex-shrink:0;gap:6px;display:flex}.modal-recording-external-actions .modal-btn{padding:3px 8px;font-size:.8rem}.modal-recording-label{text-align:left;color:#333;flex:1;font-size:.9rem}.modal-recording-open-btn{flex-shrink:0;width:auto;padding:4px 10px;font-size:.85rem}.delete-btn{cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex}.delete-btn:hover{background:#fdecea}.delete-icon{width:11px;height:12px;display:block;position:relative}.delete-icon-lid{background:#b00020;border-radius:1px;height:2px;position:absolute;top:0;left:-1px;right:-1px}.delete-icon-lid:before{content:"";border:1.5px solid #b00020;border-bottom:none;border-radius:2px 2px 0 0;width:5px;height:3px;position:absolute;top:-3px;left:3px}.delete-icon-body{border:1.5px solid #b00020;border-top:none;border-radius:0 0 2px 2px;position:absolute;inset:3px 1px 0}.move-btn{cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex}.move-btn:hover{background:#eaf1fb}.move-icon{width:12px;height:8px;display:block;position:relative}.move-icon-shaft{background:#2a6ebb;border-radius:1px;width:7px;height:2px;position:absolute;top:3px;left:0}.move-icon-head{border-top:4px solid #0000;border-bottom:4px solid #0000;border-left:5px solid #2a6ebb;width:0;height:0;position:absolute;top:0;right:0}.viewer{box-sizing:border-box;width:100%;height:calc(100vh - var(--top-bar-height,0px));height:calc(100dvh - var(--top-bar-height,0px));flex-direction:column;margin:0;padding:0;display:flex;overflow:hidden}.script-top-bar{z-index:20;box-sizing:border-box;background:#fff;border-bottom:1px solid #eee;flex-direction:column;gap:6px;width:100%;padding:14px 24px;display:flex;position:sticky;top:0}.script-top-bar-row{align-items:center;gap:16px;display:flex}.top-bar-account{cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;padding:2px;display:flex}.top-bar-account:hover{background:#f2f2f2}.top-bar-avatar{color:#fff;background:#1a4fa0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-size:.75rem;font-weight:700;display:flex}.top-bar-account-label{color:#666;white-space:nowrap;margin-left:auto;font-size:.8rem}.help-btn{color:#666;cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;padding:0;font-family:inherit;font-size:1rem;font-weight:700;display:flex}.help-btn:hover{background:#f2f2f2}.help-btn.active{color:#fff;background:#666;border-color:#666}.help-btn+.help-btn{margin-left:6px}.app-logo-btn{cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;padding:0;display:flex}.app-logo-btn:hover{opacity:.8}.app-logo{width:28px;height:28px}:root[data-theme=dark] .app-logo{box-sizing:border-box;background:#fff;border-radius:50%;padding:1px}.app-info-list{flex-direction:column;gap:6px;margin:0 0 16px;padding:0;list-style:none;display:flex}.app-info-list li{color:#333;justify-content:space-between;gap:12px;font-size:.9rem;display:flex}.app-info-label{color:#777;font-weight:600}.mode-indicator-block{line-height:1.2;font:inherit;cursor:pointer;background:0 0;border:1.5px solid;border-radius:8px;flex-direction:column;flex-shrink:0;align-items:center;margin-left:auto;margin-right:20px;padding:2px 10px;display:flex}.mode-indicator-block:hover{background:#0000000a}.mode-indicator{font-size:.85rem;font-weight:600}.mode-indicator-role{font-size:.7rem;font-weight:400}.mode-indicator-standard{color:#666}.mode-indicator-creative{color:#1a4fa0}.mode-indicator-developer{color:#a51c1c}.mode-indicator-standard .mode-indicator-role{color:#a8a8a8}.mode-indicator-creative .mode-indicator-role{color:#7f9dcc}.mode-indicator-developer .mode-indicator-role{color:#cf8888}.role-picker-menu{width:200px}.block-style-menu.app-info-popover{width:260px}.block-style-menu.link-recording-menu{width:240px}.block-style-menu.move-requirement-menu{width:280px;max-height:320px;overflow-y:auto}.block-style-menu.change-position-menu{width:180px}.block-style-menu.script-name-editor-popover{width:420px}.change-position-input{box-sizing:border-box;width:100%}.role-picker-mode{color:#888;font-size:.7rem;font-weight:400;display:block}.popover-menu-item-current{background:#f0f0f0;font-weight:600}.docs-btn{position:relative}.docs-btn-badge{box-sizing:border-box;color:#fff;text-align:center;background:#d32f2f;border-radius:999px;min-width:16px;height:16px;padding:0 4px;font-size:.65rem;font-weight:700;line-height:16px;position:absolute;top:-4px;right:-4px}.docs-btn-badge-accepted{background:#2e7d32}.suggestion-plus-btn{font-size:1rem;font-weight:700;line-height:1}.suggestion-form{background:#fafafa;border:1px solid #ddd;border-radius:8px;flex-direction:column;flex-shrink:0;gap:8px;margin-bottom:10px;padding:10px;display:flex}.suggestion-form-field{color:#555;flex-direction:column;gap:4px;font-size:.8rem;font-weight:600;display:flex}.suggestion-priority-field{width:140px}.suggestion-textarea{resize:vertical;border:1px solid #ccc;border-radius:6px;padding:6px 8px;font-family:inherit;font-size:.85rem}.suggestion-priority-select{color:#222;background:#fff;border:1px solid #ccc;border-radius:6px;padding:4px 6px;font-family:inherit;font-size:.85rem}.suggestions-sort-field{color:#666;align-items:center;gap:6px;margin-bottom:8px;font-size:.75rem;font-weight:600;display:flex}.suggestions-sort-field select{color:#222;background:#fff;border:1px solid #ccc;border-radius:6px;padding:3px 6px;font-family:inherit;font-size:.8rem}.suggestion-auto-accept{color:#555;align-items:center;gap:6px;font-size:.8rem;font-weight:600;display:flex}.suggestion-form-actions{justify-content:flex-end;gap:8px;display:flex}.suggestion-form-actions .modal-btn{width:auto}.suggestion-saved-note{color:#2e7d32;flex-shrink:0;margin:-4px 0 10px;font-size:.8rem}.apply-info-box{background:#fafafa;border:1px solid #ddd;border-radius:8px;flex-direction:column;flex-shrink:0;gap:8px;margin-bottom:10px;padding:10px;display:flex}.apply-info-text{color:#555;margin:0;font-size:.85rem}.apply-info-box .modal-btn{align-self:flex-end;width:auto}.owner-notice-box{flex-shrink:0;margin-bottom:10px}.owner-notice-btn{text-align:left;color:#7a4b00;cursor:pointer;background:#fff8e1;border:1px solid #f3c14a;border-radius:8px;align-items:center;gap:8px;width:100%;padding:8px 12px;font-family:inherit;font-size:.85rem;font-weight:600;display:flex}.owner-notice-btn:hover{background:#fff1c9}.notice-bang{color:#fff;background:#d32f2f;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;font-size:.75rem;font-weight:700;display:inline-flex}.author-notice-box .owner-notice-btn{color:#164a8a;background:#eaf3ff;border-color:#9fc7f7}.author-notice-accepted .owner-notice-btn{color:#1b5e20;background:#e8f5e9;border-color:#a5d6a7}.author-notice-accepted .notice-bang{background:#2e7d32}.author-notice-box .owner-notice-btn:hover{background:#dcebff}.suggestions-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.suggestions-list-item{background:#fff;border:1px solid #eee;border-radius:6px;padding:6px 8px}.suggestions-list-serial{color:#888;margin-right:6px;font-size:.7rem;font-weight:700;display:inline-block}.suggestion-priority-badge{border-radius:999px;margin-right:6px;padding:1px 6px;font-size:.7rem;font-weight:700;display:inline-block}.suggestion-priority-low{color:#1a4fa0;background:#e8f0fe}.suggestion-priority-medium{color:#b25e00;background:#fff3e0}.suggestion-priority-high{color:#a51c1c;background:#fdecea}.suggestion-priority-immediate{color:#fff;background:#a51c1c}.user-access-status{border-radius:999px;padding:1px 6px;font-size:.7rem;font-weight:700;display:inline-block}.user-access-status-active{color:#1a4fa0;background:#e8f0fe}.user-access-status-suspended{color:#b25e00;background:#fff3e0}.user-access-status-blacklisted{color:#fff;background:#a51c1c}.user-access-table th,.user-access-table td{vertical-align:top}.user-access-dialog{max-height:80vh;overflow-y:auto}.suggestions-list-meta{color:#888;font-size:.75rem}.suggestions-list-text{color:#333;white-space:pre-wrap;margin:4px 0 0;font-size:.85rem}.suggestion-screenshot-preview{align-items:flex-start;gap:8px;margin-top:4px;display:flex}.suggestion-screenshot-preview img{object-fit:contain;border:1px solid #ccc;border-radius:4px;max-width:160px;max-height:120px}.suggestion-screenshot-thumbnail-link{margin-top:6px;display:inline-block}.suggestion-screenshot-thumbnail{object-fit:contain;border:1px solid #ccc;border-radius:4px;max-width:120px;max-height:90px;display:block}.suggestions-list-text-edit{box-sizing:border-box;width:100%;margin:4px 0 0}.suggestion-process-btn{width:auto;margin-top:6px}.suggestions-list-header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.suggestions-list-header-info{flex-wrap:wrap;align-items:center;display:flex}.suggestions-list-edit-btn{flex-shrink:0;width:auto;padding:2px 10px}.suggestion-accepted-edit-fields{flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:6px;display:flex}.suggestions-list-hint{color:#888;margin:4px 0 0;font-size:.75rem;font-style:italic}.suggestion-process-form{flex-direction:column;gap:8px;display:flex}.suggestion-process-outcome{gap:16px;font-size:.85rem;display:flex}.suggestion-process-outcome label{align-items:center;gap:4px;font-weight:400;display:flex}.suggestion-process-fields{gap:10px;display:flex}.suggestion-resolution{margin:4px 0 8px;font-size:.85rem;font-weight:600}.suggestion-resolution-accepted{color:#2e7d32}.suggestion-resolution-declined{color:#a51c1c}.script-title.script-title-guide{margin-left:420px}.middle-area{z-index:10;margin-left:var(--sidebar-width,420px);margin-right:var(--controls-width,260px);box-sizing:border-box;background:#fafafa;border-bottom:2px solid #8c93a0;flex-direction:column;max-height:45vh;display:flex;box-shadow:0 6px 8px -6px #00000059}.help-panel{box-sizing:border-box;background:#fafafa;flex-direction:column;flex:1;min-height:0;padding:12px 24px 0;display:flex;overflow:hidden}.help-panel-body{flex:1;min-height:0;padding-bottom:8px;overflow-y:auto}.middle-area-resizer{cursor:ns-resize;background:#eef0f4;border-top:1px solid #c8ccd4;flex-shrink:0;justify-content:center;align-items:center;height:10px;display:flex}.middle-area-resizer:before{content:"";background:#8c93a0;border-radius:999px;width:64px;height:4px}.middle-area-resizer:hover:before{background:#5f6672}.docs-open .script-top-bar,.docs-open .viewer-sidebar,.docs-open .viewer-controls,.docs-open .script-body{opacity:.5;transition:opacity .15s}.docs-open .script-top-bar:hover,.docs-open .viewer-sidebar:hover,.docs-open .viewer-controls:hover,.docs-open .script-body:hover{opacity:1}.help-panel-bar{flex-shrink:0;align-items:center;gap:6px;margin-bottom:4px;display:flex}.help-panel-bar-actions{gap:6px;margin-left:auto;display:flex}.help-back-btn{cursor:pointer;color:#333;white-space:nowrap;background:#fff;border:1px solid #ccc;border-radius:999px;padding:4px 10px;font-family:inherit;font-size:.75rem}.help-back-btn:hover{background:#f2f2f2}.help-toc{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.help-toc-link{color:#1a4fa0;cursor:pointer;text-align:left;background:0 0;border:none;padding:2px 0;font-family:inherit;font-size:.9rem}.help-toc-link:hover{text-decoration:underline}.brd-content{color:#444;font-size:.85rem;line-height:1.5}.brd-content h1,.brd-content h2,.brd-content h3{cursor:pointer;-webkit-user-select:none;user-select:none}.brd-content h1:before,.brd-content h2:before,.brd-content h3:before{content:"▾ ";color:#999;font-size:.8em;display:inline-block}.brd-content h1.brd-section-collapsed:before,.brd-content h2.brd-section-collapsed:before,.brd-content h3.brd-section-collapsed:before{content:"▸ "}.brd-content h1:hover,.brd-content h2:hover,.brd-content h3:hover{color:#1a4fa0}.brd-content h1{color:#222;font-size:1.2rem}.brd-content h2{color:#222;margin:16px 0 4px;scroll-margin-top:8px;font-size:1rem}.brd-content h3{color:#333;margin:12px 0 4px;scroll-margin-top:8px;font-size:.9rem}.brd-changelog-sort-btn{color:#555;cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:999px;margin:0 0 6px;padding:2px 10px;font-family:inherit;font-size:.75rem;font-weight:600;display:inline-block}.brd-changelog-sort-btn:hover{background:#f2f2f2}.brd-content tr{scroll-margin-top:8px}.brd-content tr:has(td):hover{background:#f2f2f2}.brd-req-link{color:#1a4fa0;text-decoration:none}.brd-req-link:hover{text-decoration:underline}.brd-term-link{all:unset;cursor:pointer;color:#7a4fa0;text-underline-offset:2px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.brd-term-link:hover{text-decoration-style:solid}.brd-term-link-result{all:unset;cursor:pointer;color:#1a4fa0;font-size:.85rem}.brd-term-link-result:hover{text-decoration:underline}.selection-glossary-btn{z-index:1100;color:#fff;cursor:pointer;background:#7a4fa0;border:none;border-radius:999px;padding:5px 10px;font-family:inherit;font-size:.8rem;font-weight:600;transform:translate(-50%,-8px)translateY(-100%);box-shadow:0 4px 12px #00000040}.selection-glossary-btn:hover{background:#653f87}.brd-req-target-flash{animation:1.5s brd-req-flash}@keyframes brd-req-flash{0%{background-color:#fff3c4}to{background-color:#0000}}.brd-content table{border-collapse:collapse;width:100%;margin:6px 0 12px}.brd-content th,.brd-content td{text-align:left;vertical-align:top;border:1px solid #ccc;padding:3px 6px}.brd-fallback{color:#666;margin:0;font-size:.9rem}.brd-fallback-retry{font:inherit;color:#1a4fa0;cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline}.help-panel-btn{color:#666;cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:6px;justify-content:center;align-items:center;width:24px;height:24px;padding:0;font-family:inherit;font-size:.8rem;display:flex}.help-panel-btn:hover{background:#f2f2f2}.active-suggestions-btn{letter-spacing:.02em;color:#444;background:#fff;border:2px solid #666;border-radius:6px;gap:5px;width:auto;height:28px;padding:0 10px;font-size:.75rem;font-weight:700}.active-suggestions-btn:hover{background:#f2f2f2}.active-suggestions-btn-open{color:#1a4fa0;background:#e8effa;border-color:#1a4fa0}.active-suggestions-btn-open:hover{background:#d8e4f7}.active-suggestions-count{color:#fff;background:#666;border-radius:999px;justify-content:center;align-items:center;min-width:16px;height:16px;padding:0 5px;font-size:.65rem;font-weight:700;display:inline-flex}.active-suggestions-panel{overscroll-behavior:contain;max-height:40vh;padding:8px;overflow-y:auto}.active-suggestions-panel .block-style-menu-title{margin:0 0 6px}.suggestions-empty-note{color:#888;margin:0;font-size:.85rem}.help-section{break-inside:avoid;margin-bottom:12px}.help-section h3{letter-spacing:.08em;text-transform:uppercase;color:#888;margin:0 0 4px;font-size:.75rem;font-weight:700}.help-section p{color:#444;margin:0;font-size:.85rem;line-height:1.5}.help-glossary-entry{margin-bottom:10px}.help-glossary-entry dt{color:#333;margin:0 0 2px;font-size:.85rem;font-weight:700}.help-glossary-entry dd{color:#444;margin:0;font-size:.85rem;line-height:1.5}.help-section-heading-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.help-edit-btn{text-transform:none;letter-spacing:normal;color:#1a4fa0;cursor:pointer;text-underline-offset:2px;background:0 0;border:none;flex-shrink:0;padding:0;font-family:inherit;font-size:.7rem;font-weight:700;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.help-edit-btn:hover{text-decoration-style:solid}.viewer-sidebar{top:var(--top-bar-height,0px);width:var(--sidebar-width,420px);height:calc(100vh - var(--top-bar-height,0px));box-sizing:border-box;z-index:10;background:#fff;border-right:2px solid #b4bac6;flex-direction:column;gap:16px;padding:24px;display:flex;position:fixed;left:0;overflow-y:auto;box-shadow:4px 0 8px -6px #0000004d}.viewer-sidebar-resizer{top:var(--top-bar-height,0px);left:var(--sidebar-width,420px);width:10px;height:calc(100vh - var(--top-bar-height,0px));cursor:ew-resize;z-index:11;position:fixed;transform:translate(-50%)}.viewer-sidebar-resizer:hover{background:#0000000a}.viewer-sidebar-collapsed{align-items:center;padding:24px 8px 24px 9px}.character-legend-header{justify-content:space-between;align-items:center;gap:6px;width:100%;display:flex}.viewer-sidebar-collapsed .character-legend-header{justify-content:center}.character-legend-header-left{align-items:center;gap:6px;min-width:0;display:flex}.character-legend-header-left .character-legend-heading{text-align:left;padding-right:0}.character-legend-theater-icon{color:#333;cursor:pointer;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin:0;padding:0;display:flex}.character-legend-theater-icon:hover{color:#000}.character-legend-theater-icon-hidden{color:#1a4fa0}.character-legend-theater-icon-hidden:hover{color:#163f82}.character-legend-collapse-btn{color:#1a4fa0;cursor:pointer;background:#e8effa;border:1px solid #1a4fa0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:flex}.character-legend-collapse-btn:hover{background:#d8e4f7}.viewer-controls{top:var(--top-bar-height,0px);width:var(--controls-width,260px);height:calc(100vh - var(--top-bar-height,0px));box-sizing:border-box;z-index:10;background:#fff;border-left:2px solid #b4bac6;flex-direction:column;gap:16px;padding:24px;display:flex;position:fixed;right:0;overflow-y:auto;box-shadow:-4px 0 8px -6px #0000004d}.viewer-controls-resizer{top:var(--top-bar-height,0px);right:var(--controls-width,260px);width:10px;height:calc(100vh - var(--top-bar-height,0px));cursor:ew-resize;z-index:11;position:fixed;transform:translate(50%)}.viewer-controls-resizer:hover{background:#0000000a}.viewer-controls-collapsed{align-items:center;padding:24px 9px 24px 8px}.viewer-controls-header{justify-content:space-between;align-items:center;gap:6px;width:100%;display:flex}.viewer-controls-collapsed .viewer-controls-header{justify-content:center}.viewer-controls-collapse-btn{color:#1a4fa0;cursor:pointer;background:#e8effa;border:1px solid #1a4fa0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:flex}.viewer-controls-collapse-btn:hover{background:#d8e4f7}.settings-gear-icon{color:#333;cursor:pointer;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin:0;padding:0;display:flex}.settings-gear-icon:hover{color:#000}.settings-gear-icon-hidden{color:#1a4fa0}.settings-gear-icon-hidden:hover{color:#163f82}.viewer-controls-bottom{flex-direction:column;gap:20px;display:flex}.script-actions-btn{cursor:pointer;color:#1a4fa0;background:#e8effa;border:1px solid #1a4fa0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:flex;position:relative}.script-actions-btn:hover{background:#d8e4f7}.script-actions-btn-found{color:#fff;background:#1a4fa0}.script-actions-btn-found:hover{background:#163f82}.script-actions-btn-dot{background:#d32f2f;border:1.5px solid #fff;border-radius:50%;width:8px;height:8px;position:absolute;top:-2px;right:-2px}.popover-menu-item-highlight{color:#1a4fa0;font-weight:600}.popover-menu-item-highlight:hover{background:#e8effa}.external-recordings-btn{font-family:inherit;font-size:calc(var(--direction-font-size,1.15rem) * .7);cursor:pointer;color:#a56c00;background:#fdf1dc;border:1px solid #a56c00;border-radius:8px;flex-shrink:0;align-self:flex-start;align-items:center;gap:5px;padding:4px 10px;display:flex}.external-recordings-btn:hover{background:#fbe4bc}.external-recordings-btn-count{box-sizing:border-box;color:#fff;background:#d32f2f;border-radius:999px;justify-content:center;align-items:center;min-width:16px;height:16px;padding:0 4px;font-size:.65rem;font-weight:700;display:inline-flex}.external-recording-badge{color:#fff;cursor:pointer;background:#d32f2f;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;padding:0;font-size:.8rem;font-weight:700;line-height:1;display:inline-flex}.external-recording-badge:hover{background:#a51c1c}.comment-badge{color:#2a4f9e;cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex}.comment-badge:hover{background:#2a4f9e1f}.comment-card-wrap{margin-bottom:14px}.comment-card-meta{color:#666;margin:0 0 4px;font-size:.8rem}.comment-card-text{box-sizing:border-box;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f5f7;border-radius:8px;max-width:100%;margin:0;padding:8px 10px;font-size:.95rem;line-height:1.4}.comment-visible-toggle{color:#333;cursor:pointer;align-items:center;gap:6px;margin:-4px 0 8px;font-size:.85rem;display:flex}.comment-card-actions{justify-content:flex-end;gap:8px;display:flex}.block-edit-visibility-actions{align-items:center;margin-top:6px}.block-edit-status-badge{color:#666;border:1px solid #ccc;border-radius:999px;margin-right:auto;padding:2px 8px;font-size:.8rem;font-weight:600}.comment-saved-banner{color:#2e7d32;margin:-4px 0 10px;font-size:.85rem;font-weight:600}.comment-card-hint{color:#666;margin:0;font-size:.85rem}.script-edit-toolbar{z-index:5;background:#fafafa;border-bottom:1px solid #e0e0e0;align-items:center;gap:8px;margin:-24px -24px 16px;padding:10px 24px;font-size:.85rem;line-height:1.2;display:flex;position:sticky;top:-24px}.script-edit-toolbar-right{gap:8px;margin-left:auto;display:flex}.script-edit-toolbar-btn{font-family:inherit;font-size:inherit;cursor:pointer;color:#333;background:#fff;border:1px solid #ccc;border-radius:8px;padding:4px 12px}.script-edit-toolbar-btn:hover:not(:disabled){background:#f2f2f2}.script-edit-toolbar-btn:disabled{color:#aaa;cursor:not-allowed;background:#eee;border-color:#ddd}.script-edit-toolbar-btn-primary{color:#fff;background:#1a4fa0;border-color:#1a4fa0}.script-edit-toolbar-btn-primary:hover:not(:disabled){background:#163f82}:root[data-theme=dark] .script-edit-toolbar{background:#1c1c1e;border-bottom-color:#3a3a3d}:root[data-theme=dark] .script-edit-toolbar-btn:not(.script-edit-toolbar-btn-primary){color:#e4e4e6;background:#3a3a3d;border-color:#55555a}:root[data-theme=dark] .script-edit-toolbar-btn:disabled{color:#6a6a6e;background:#2c2c2e;border-color:#3a3a3d}.save-version-summary{box-sizing:border-box;resize:vertical;border:1px solid #ccc;border-radius:8px;width:100%;min-height:70px;margin:8px 0 16px;padding:8px 10px;font-family:inherit;font-size:.9rem;display:block}.save-version-discard{color:#a51c1c;border-color:#a51c1c}.script-history-body{flex-direction:column;gap:12px;display:flex}.sample-script-banner{color:#6b5628;background:#fdf6e3;border-bottom:1px solid #d8c48a;justify-content:space-between;align-items:center;gap:12px;padding:8px 16px;font-size:.85rem;display:flex}.sample-script-banner-dismiss{color:inherit;cursor:pointer;background:0 0;border:none;flex-shrink:0;padding:0 4px;font-size:1.2rem;line-height:1}.my-scripts-table-row.script-history-row-viewing,.my-scripts-table-row.script-history-row-viewing:hover{background:#f0e8fa;box-shadow:inset 3px 0 #6a3fa0}.my-scripts-row-badge.script-history-badge-viewing{color:#fff;background:#6a3fa0;border-color:#6a3fa0;font-weight:600}.my-scripts-row-badge.script-history-badge-latest{color:#2e7d32;background:#e8f5e9;border-color:#2e7d32}:root[data-theme=dark] .my-scripts-table{color:#e4e4e6}:root[data-theme=dark] .my-scripts-table th{color:#a8a8ae;border-bottom-color:#4a4a4d}:root[data-theme=dark] .my-scripts-table td{border-bottom-color:#3a3a3d}:root[data-theme=dark] .my-scripts-table-row:hover{background:#2c2c2f}:root[data-theme=dark] .my-scripts-section-heading{border-top-color:#4a4a4d}:root[data-theme=dark] .my-scripts-open-btn,:root[data-theme=dark] .my-scripts-restore-link{color:#cdbcf5}:root[data-theme=dark] .my-scripts-open-btn:disabled{color:#77777d}.my-scripts-table-row.my-scripts-row-current,.my-scripts-table-row.my-scripts-row-current:hover{background:#e8effa;box-shadow:inset 3px 0 #1a4fa0}:root[data-theme=dark] .my-scripts-table-row.my-scripts-row-current,:root[data-theme=dark] .my-scripts-table-row.my-scripts-row-current:hover{background:#26304a;box-shadow:inset 3px 0 #cdbcf5}.my-scripts-row-note{color:#8a6d1a;margin-top:2px;font-size:.72rem;display:block}:root[data-theme=dark] .my-scripts-row-note{color:#e0c477}:root[data-theme=dark] .my-scripts-row-menu-btn{color:#a8a8ae}:root[data-theme=dark] .my-scripts-row-menu-btn:hover{color:#fff}:root[data-theme=dark] .my-scripts-row-badge{color:#e3d9fa;background:#332a4a;border-color:#cdbcf5}:root[data-theme=dark] .my-scripts-row-badge.script-history-badge-latest{color:#a5e0a9;background:#1f3a22;border-color:#7fc784}:root[data-theme=dark] .my-scripts-row-badge.script-history-badge-viewing{color:#fff;background:#7a55c4;border-color:#a98be0}:root[data-theme=dark] .script-history-version-label{color:#a8a8ae}:root[data-theme=dark] .script-history-row-clickable .script-history-version-label{color:#cdbcf5}:root[data-theme=dark] .script-history-row-clickable:hover{background:#2c2c2f}:root[data-theme=dark] .script-history-row-clickable:focus-visible{outline-color:#cdbcf5}:root[data-theme=dark] .my-scripts-table-row.script-history-row-viewing,:root[data-theme=dark] .my-scripts-table-row.script-history-row-viewing:hover{background:#3a2d57;box-shadow:inset 3px 0 #a98be0}:root[data-theme=dark] .script-history-row-viewing .script-history-version-label{color:#fff}:root[data-theme=dark] .script-history-viewing-banner{color:#e3d9fa;background:#2e2540;border-color:#a98be0}.script-history-version-label{color:#999;font-size:.9rem}.script-history-row-clickable{cursor:pointer}.script-history-row-clickable .script-history-version-label{color:#1a4fa0}.script-history-row-clickable:hover .script-history-version-label{text-decoration:underline}.script-history-row-clickable:focus-visible{outline-offset:-2px;outline:2px solid #1a4fa0}.script-history-row-clickable:hover{background:#f0f4fb}.my-scripts-row-badge.script-history-badge-viewing,.my-scripts-row-badge.script-history-badge-latest{cursor:default}.script-history-viewing-banner.script-history-banner-latest{color:#2e7d32;background:#e8f5e9;border-color:#2e7d32}:root[data-theme=dark] .script-history-viewing-banner.script-history-banner-latest{color:#a5e0a9;background:#1f3a22;border-color:#7fc784}.version-details-dialog{width:820px}.version-details-table td{vertical-align:top}.version-details-date{white-space:nowrap}.script-history-viewing-actions{flex-wrap:wrap;gap:8px;display:flex}.script-history-viewing-actions .modal-btn{width:auto;padding:6px 14px;font-weight:400}.script-history-viewing-banner{z-index:5;color:#6a3fa0;background:#f0e8fa;border:1px solid #6a3fa0;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;font-size:.9rem;font-weight:600;display:flex;position:sticky;top:0}.script-history-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.script-history-row{border:1px solid #e0e0e0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.script-history-row-main{flex-direction:column;gap:2px;min-width:0;display:flex}.script-history-version-number{color:#222;font-size:.9rem;font-weight:600}.script-history-version-meta{color:#777;font-size:.8rem}.script-history-summary{color:#444;margin:4px 0 0;font-size:.85rem}.external-recordings-character-group{flex-direction:column;gap:8px;display:flex}.external-recordings-count-btn{cursor:pointer;color:#a56c00;white-space:nowrap;background:#fff;border:1px solid #a56c00;border-radius:999px;padding:4px 10px;font-family:inherit;font-size:.75rem}.external-recordings-count-btn:hover{background:#fdf1dc}.external-recordings-sublist{border-left:2px solid #f0d9a8;margin-left:16px;padding-left:10px}.external-recordings-matching-status{color:#6b6b6b;margin:0 0 10px;font-size:.8rem}.external-recordings-matching-badge{color:#a56c00;font-size:.7rem;font-style:italic}.external-recordings-transcript-hint{color:#888;text-overflow:ellipsis;white-space:nowrap;max-width:260px;font-size:.75rem;font-style:italic;overflow:hidden}.block-style-menu-character-select{box-sizing:border-box;border:1px solid #ccc;border-radius:6px;width:100%;padding:6px 8px;font-family:inherit;font-size:.9rem;display:block}.my-scripts-btn{color:#1a4fa0;font-size:calc(var(--direction-font-size,1.15rem) * .7);cursor:pointer;white-space:nowrap;background:#e8effa;border:1px solid #1a4fa0;border-radius:8px;flex-shrink:0;align-items:center;gap:5px;padding:4px 10px;font-family:inherit;font-weight:600;display:flex}.my-scripts-btn-aligned{margin-left:var(--sidebar-width,420px)}.my-scripts-btn:hover{background:#d8e4f7}.my-scripts-btn.active{color:#666;background:#e8e8e8;border-color:#666}.my-scripts-btn.active:hover{background:#dcdcdc}.rehearse-btn{color:#fff;cursor:pointer;background:#1a4fa0;border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:10px 18px;font-family:inherit;font-size:1.05rem;font-weight:700;display:flex;box-shadow:0 2px 6px #1a4fa059}.rehearse-btn:hover{background:#163f82}.rehearse-btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.rehearse-btn.active{cursor:default;background:#0d3066;padding-right:10px}.rehearse-btn-label{white-space:nowrap}.rehearse-btn-icon{flex-shrink:0;display:block}.rehearse-btn-icon-play{border:7px solid #0000;border-left:11px solid #fff;border-right-width:0;width:0;height:0}.rehearse-btn-icon-pause{gap:3px;display:flex}.rehearse-btn-icon-pause:before,.rehearse-btn-icon-pause:after{content:"";background:#fff;width:4px;height:14px;display:block}.rehearse-btn-icon-stop{background:#fff;border-radius:2px;width:14px;height:14px}.rehearse-icon-btn{cursor:pointer;background:#ffffff29;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:flex}.rehearse-icon-btn:hover{background:#ffffff4d}.settings-list{flex-direction:column;gap:8px;display:flex}.skip-dialogue-toggle{color:#333;cursor:pointer;align-items:center;gap:6px;font-size:.85rem;display:flex}.character-legend-heading{color:#666;text-transform:uppercase;letter-spacing:.03em;text-align:right;margin:0;padding-right:10px;font-size:.8rem;font-weight:700}.character-legend-heading-highlights{margin-top:14px}.character-legend-hint{font-size:calc(var(--direction-font-size,1.15rem) * .7);color:#888;justify-content:flex-end;align-items:center;gap:4px;margin:2px 0 0;padding-right:10px;font-weight:400;display:flex}.character-legend-hint-arrow{flex-shrink:0;font-size:12px;line-height:1}.character-legend{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.character-legend li{align-items:center;display:flex}.character-row{border:1px solid #0000;border-radius:999px;flex-wrap:nowrap;align-items:center;gap:6px;width:100%;padding:3px 10px 3px 6px;display:flex}.character-row:hover{background:#f2f2f2}.character-row.active{background:#fff;border-width:2px;padding:2px 9px 2px 5px;font-weight:600}.character-select-btn{min-width:0;font:inherit;cursor:pointer;color:inherit;text-align:left;background:0 0;border:none;flex:0 auto;align-items:center;gap:6px;margin-left:auto;padding:0;font-family:inherit;font-size:.9rem;display:flex}.swatch{border:1px solid #00000026;border-radius:50%;flex-shrink:0;width:12px;height:12px;display:inline-block}.character-count-label{color:#888;white-space:nowrap;flex-shrink:0;font-size:.8rem;font-weight:400}.viewer-sidebar-narrow .character-count-label,.viewer-sidebar-narrow .external-recordings-btn,.viewer-sidebar-hide-row-content .character-legend-hint,.viewer-sidebar-hide-row-content .character-legend-heading-highlights,.viewer-sidebar-hide-row-content .character-select-btn{display:none}.character-name{white-space:nowrap}.character-actions{flex-shrink:0;align-items:center;gap:4px;display:flex}.script-body{min-width:0;margin-left:var(--sidebar-width,420px);margin-right:var(--controls-width,260px);box-sizing:border-box;flex:1;min-height:0;padding:24px;font-size:1.15rem;line-height:1.6;overflow-y:auto}.script-title{color:#111;margin:0;font-size:1.4rem;font-weight:700}.script-title-placeholder{cursor:pointer;flex-direction:column;gap:2px;display:flex}.script-title-placeholder-line1{color:#aaa;text-transform:uppercase;letter-spacing:.02em;font-size:1.4rem;font-weight:700}.script-title-placeholder-line2{color:#aaa;font-size:.8rem;font-weight:400}.script-body-title-placeholder{cursor:pointer;flex-direction:column;gap:2px;margin-bottom:24px;display:flex}.script-title-clickable{cursor:pointer}.script-title-chevron{color:#888;vertical-align:middle;margin-left:6px}.script-file-meta-dot{vertical-align:middle;background:#d32f2f;border-radius:50%;width:8px;height:8px;margin-left:6px;display:inline-block}.script-row-text{min-width:0}.block-playback-row{flex-wrap:wrap;align-items:center;gap:4px;margin-left:8px;display:flex}.block-playback-row-dialogue{margin-left:2.5em}.block-playback-row.block-playback-row-selected{margin-left:calc(1.5em + 10px)}@media (width<=720px){.viewer{flex-direction:column;display:flex}.viewer-sidebar,.viewer-controls{border:none;width:100%;height:auto;max-height:none;position:static;overflow-y:visible}.viewer-sidebar-resizer,.viewer-controls-resizer{display:none}.script-body{margin-left:0;margin-right:0}.script-top-bar-row{flex-wrap:wrap}.viewer-controls-bottom,.character-legend{flex-flow:wrap}.character-row{width:auto}}.line{margin:0 0 4px}.line-character{text-transform:uppercase;letter-spacing:.02em;margin-top:22px;margin-bottom:2px;font-weight:700}.line-content{white-space:pre-line;margin-left:8px}.line-dialogue{margin-left:2.5em}.line-gap-before,.block-gap-before{margin-top:1.4em}.block-gap-before-direction{margin-top:2.6em}.line-selected-character{border-radius:6px;margin-left:1.5em;padding:4px 10px}.line-reading{outline-offset:3px;border-radius:4px;outline:2px solid #1a4fa0}.record-control{align-items:center;display:flex}.next-dialog-btn{cursor:pointer;color:#333;white-space:nowrap;background:#fff;border:1px solid #ccc;border-radius:999px;padding:4px 10px;font-family:inherit;font-size:.75rem}.next-dialog-btn:hover{background:#f2f2f2}.recordings-count-btn{cursor:pointer;color:#333;white-space:nowrap;background:#fff;border:1px solid #a51c1c;border-radius:999px;padding:4px 10px;font-family:inherit;font-size:.75rem}.recordings-count-btn:hover{background:#fdecea}.await-user-badge{color:#0d47a1;white-space:nowrap;background:#e3f2fd;border-radius:999px;padding:4px 10px;font-size:.75rem;font-weight:600}.record-btn{cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:flex}.record-btn:disabled{opacity:.4;cursor:not-allowed}.record-btn.recording{background:#fdecea;border-color:#a51c1c}.record-icon{background:#d32f2f;display:block}.record-icon-circle{border-radius:50%;width:14px;height:14px}.record-icon-square{border-radius:2px;width:12px;height:12px}.dialogue-turn-number{line-height:1;font-size:calc(var(--direction-font-size,1.15rem) * .85);margin-right:4px}.run-collapsed-placeholder{color:#888;cursor:pointer;background:#f5f5f7;border:1px dashed #bbb;border-radius:999px;align-items:center;margin:0 2px;padding:2px 8px;font-family:inherit;font-size:.85em;font-style:normal;display:inline-flex}.run-collapsed-placeholder:hover:not(:disabled){background:#ececef}.run-collapsed-placeholder:disabled{cursor:not-allowed;opacity:.7}.run-collapsed-placeholder-deleted{color:#a5686b;border-color:#d8a0a0}.block-collapsed-placeholder{text-align:left;color:#888;cursor:pointer;background:#f5f5f7;border:1px dashed #bbb;border-radius:8px;align-items:center;gap:6px;width:100%;margin:4px 0;padding:6px 12px;font-family:inherit;font-size:.9em;font-style:normal;display:flex}.block-collapsed-placeholder:hover:not(:disabled){background:#ececef}.block-collapsed-placeholder:disabled{cursor:not-allowed;opacity:.7}.block-collapsed-placeholder-deleted{color:#a5686b;border-color:#d8a0a0}.block-playback-row-dialogue .dialogue-turn-number{font-size:calc(var(--dialogue-font-size,1.15rem) * .85)}.playback-btn{border:1px solid var(--playback-color,#ccc);cursor:pointer;vertical-align:middle;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex}.highlight-play-btn{margin-right:4px}.highlight-play-btn:disabled{opacity:.4;cursor:not-allowed}.highlight-play-btn-recording{background:#fdecea;border-color:#a51c1c}.playback-icon-play{border-style:solid;border-width:5px 0 5px 8px;border-color:transparent transparent transparent var(--playback-color,#333);width:0;height:0;margin-left:2px;display:block}.playback-icon-pause{gap:2px;display:flex}.playback-icon-pause:before,.playback-icon-pause:after{content:"";background:var(--playback-color,#333);width:3px;height:10px;display:block}.playback-icon-stop{background:#333;width:9px;height:9px;display:block}.playback-icon-recording{background:#d32f2f;border-radius:2px;width:9px;height:9px;display:block}.download-btn{cursor:pointer;vertical-align:middle;background:#fff;border:1px solid #ccc;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;margin-left:4px;text-decoration:none;display:inline-flex}.download-icon{color:#333;font-size:.75rem;line-height:1}.settings-title{color:#666;text-transform:uppercase;letter-spacing:.03em;margin:0 0 6px;font-size:.8rem;font-weight:700}.settings-title-toggle{font:inherit;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;margin-bottom:6px;padding:0;display:inline-flex}.settings-title-toggle-arrow{flex-shrink:0;transition:transform .15s}.settings-title-toggle-arrow-open{transform:rotate(90deg)}.settings-item{cursor:pointer;color:#333;background:0 0;border:1px solid #ddd;border-radius:6px;justify-content:space-between;align-items:center;width:100%;padding:6px 10px;font-family:inherit;font-size:.9rem;display:flex}.settings-item:hover{background:#f2f2f2}.settings-item-status{color:#666;font-size:.8rem}.run-dialogue{color:var(--dialogue-color,#111);font-size:var(--dialogue-font-size,inherit)}.run-direction{color:var(--direction-color,#666);font-style:italic;font-size:var(--direction-font-size,inherit)}.block-style-menu{z-index:1000;background:#fff;border:1px solid #ddd;border-radius:10px;width:220px;padding:12px;box-shadow:0 8px 24px #00000026}.block-style-menu-title{margin:0 0 8px;font-size:.95rem;font-weight:700}.block-style-menu-label{color:#666;text-transform:uppercase;letter-spacing:.03em;margin:10px 0 6px;font-size:.8rem}.block-style-menu-btn{box-sizing:border-box;text-align:left;color:#333;cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:6px;width:100%;margin-top:8px;padding:6px 8px;font-family:inherit;font-size:.85rem;display:block}.block-style-menu-btn:hover:not(:disabled){background:#f2f2f2}.block-style-menu-btn:disabled{color:#bbb;cursor:default}.block-edit-window{box-sizing:border-box;flex-direction:column;width:fit-content;max-height:calc(100dvh - 48px);display:flex}.block-edit-fields{flex:auto;min-height:0;overflow-y:auto}.block-edit-field{display:block}.block-edit-textarea{box-sizing:border-box;resize:vertical;border:1px solid #ccc;border-radius:8px;width:100%;max-width:100%;max-height:32dvh;margin:4px 0 12px;padding:8px 10px;font-family:inherit;font-size:.95rem;line-height:1.4;display:block}.block-edit-textarea:disabled{opacity:.6;cursor:not-allowed}.requirement-menu,.highlight-name-menu{width:170px}.section-menu{width:220px}.po-element-menu{width:240px;max-height:70vh;overflow-y:auto}.popover-menu-item{box-sizing:border-box;text-align:left;color:#333;cursor:pointer;background:0 0;border:none;border-radius:6px;width:100%;margin:2px 0;padding:6px 8px;font-family:inherit;font-size:.85rem;display:block}.popover-menu-item:hover{background:#f2f2f2}.popover-menu-item:disabled{color:#bbb;cursor:default}.popover-menu-item:disabled:hover{background:0 0}.user-profile-menu-header{border-bottom:1px solid #eee;margin-bottom:6px;padding:2px 8px 10px}.user-profile-menu-name{color:#222;margin:0;font-size:.95rem;font-weight:700}.user-profile-menu-email{color:#666;margin:2px 0 0;font-size:.8rem}.block-actions-menu .block-style-menu-character-select{margin:2px 0}.user-profile-menu-divider{background:#eee;height:1px;margin:8px 0}.color-swatch-picker{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.color-swatch-btn{cursor:pointer;border:1px solid #0003;border-radius:50%;width:24px;height:24px;padding:0}.color-swatch-btn.active{outline-offset:2px;outline:2px solid #333}.color-swatch-custom{cursor:pointer;border:1px dashed #999;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;display:flex;overflow:hidden}.color-swatch-custom input[type=color]{cursor:pointer;background:0 0;border:none;width:32px;height:32px;padding:0}.manage-roles-dialog{width:440px}.project-settings-dialog{flex-direction:column;display:flex;overflow-y:hidden}.project-settings-body{flex:auto;min-height:0;overflow-y:auto}.manage-roles-list{flex-direction:column;gap:8px;max-height:50vh;margin:0 0 16px;padding:0;list-style:none;display:flex;overflow-y:auto}.manage-roles-item{border:1px solid #eee;border-radius:6px;padding:8px 10px}.notification-item-unread{background:#e8effa;border-color:#1a4fa0}.manage-roles-item-main{align-items:center;gap:8px;margin-bottom:4px;display:flex}.manage-roles-badge{border:1px solid;border-radius:999px;padding:1px 8px;font-size:.7rem}.manage-roles-name{color:#222;font-size:.95rem;font-weight:700}.manage-roles-description{color:#555;margin:0 0 8px;font-size:.85rem;line-height:1.4}.manage-roles-item .modal-actions{flex-direction:row;justify-content:flex-end}.manage-roles-form{flex-direction:column;gap:10px;display:flex}.manage-roles-input{box-sizing:border-box;border:1px solid #ccc;border-radius:8px;width:100%;padding:8px 10px;font-family:inherit;font-size:.9rem;display:block}.manage-roles-error{color:#a51c1c;margin:-4px 0 0;font-size:.85rem}.script-name-editor-field{align-items:center;gap:4px;display:flex}.script-name-editor-field .manage-roles-input{flex:auto;width:auto;min-width:0}.script-name-editor-ext{color:#888;white-space:nowrap;flex:none;font-size:.9rem}.manage-roles-script-editing{border:1px solid #ddd;border-radius:8px;flex-direction:column;gap:6px;padding:8px 10px;display:flex}.manage-roles-checkbox{color:#333;cursor:pointer;align-items:center;gap:6px;font-size:.85rem;display:flex}.brd-pi-edit-btn{all:unset;font-family:inherit;font-size:inherit;color:inherit}.brd-tests-link{color:#1a4fa0;cursor:pointer;text-underline-offset:2px;white-space:nowrap;background:0 0;border:none;padding:0;font-family:inherit;font-size:.9em;text-decoration:underline}.brd-tests-dialog{width:min(960px,100vw - 48px)}.brd-tests-sticky{z-index:2;background:#fff;position:sticky}.brd-tests-sticky-top{border-bottom:1px solid #eee;justify-content:space-between;align-items:flex-start;gap:12px;margin:-24px 0 4px;padding:28px 0 8px;display:flex;top:-24px}.brd-tests-sticky-top .modal-title{margin:0}.brd-tests-header-buttons{flex-shrink:0;gap:6px;display:flex}.brd-tests-sticky-bottom{border-top:1px solid #eee;flex-direction:column;gap:8px;margin:8px 0 -24px;padding:10px 0 26px;display:flex;bottom:-24px}.brd-tests-icon-btn{color:#1a4fa0;cursor:pointer;vertical-align:middle;background:#fff;border:1px solid #ccc;border-radius:6px;justify-content:center;align-items:center;width:24px;height:24px;margin-left:4px;padding:0;display:inline-flex}.brd-tests-icon-btn:hover{background:#e8effa}.brd-content .brd-tests-icon-btn{width:20px;height:20px;margin-left:3px}.brd-tests-page .brd-tests-sticky-top{margin:0 0 4px;padding-top:14px;top:0}.brd-tests-page .brd-tests-sticky-bottom{margin:8px 0 0;padding-bottom:12px;bottom:0}.brd-tests-page{box-sizing:border-box;background:#fff;max-width:1100px;height:100vh;margin:0 auto;padding:0 24px;overflow-y:auto}:root[data-theme=dark] .brd-tests-sticky,:root[data-theme=dark] .brd-tests-page{background:#2a2a2c}:root[data-theme=dark] .brd-tests-sticky-top,:root[data-theme=dark] .brd-tests-sticky-bottom{border-color:#4a4a4d}:root[data-theme=dark] .brd-tests-icon-btn{color:#7aa7e0;background:#2c2c2f;border-color:#4a4a4d}.brd-tests-table{border-collapse:collapse;width:100%;margin-bottom:16px;font-size:.88rem}.brd-tests-table th,.brd-tests-table td{text-align:left;vertical-align:top;border:1px solid #ddd;padding:6px 8px}.brd-tests-table th{background:#f3f5f8}.brd-tests-result{min-width:190px}.brd-test-result{border-radius:10px;margin-bottom:4px;padding:1px 8px;font-size:.8rem;font-weight:700;display:inline-block}.brd-test-result-pass{color:#1b5e20;background:#e8f5e9}.brd-test-result-fail{color:#a51c1c;background:#fdecea}.brd-test-result-blocked{color:#8a5a00;background:#fff4e0}.brd-test-result-none{color:#666;background:#eee}.brd-test-note{color:#666;margin-bottom:4px;font-size:.8rem;display:block}.brd-test-note-input{box-sizing:border-box;border:1px solid #ccc;border-radius:6px;width:100%;margin:4px 0;padding:4px 6px;font-family:inherit;font-size:.8rem;display:block}.brd-test-buttons{gap:4px;display:flex}.brd-test-btn{cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:6px;flex:1;padding:3px 6px;font-family:inherit;font-size:.8rem}.brd-test-btn:hover:not(:disabled){background:#f2f2f2}:root[data-theme=dark] .brd-test-result-pass{color:#8fd694;background:#1f3a22}:root[data-theme=dark] .brd-test-result-fail{color:#ff9b9b;background:#4a2323}:root[data-theme=dark] .brd-test-result-blocked{color:#f0c36b;background:#4a3a1a}:root[data-theme=dark] .brd-test-result-none{color:#aaa;background:#333}:root[data-theme=dark] .brd-test-note-input,:root[data-theme=dark] .brd-test-btn{color:#e5e5e7;background:#2c2c2f;border-color:#4a4a4d}.brd-tests-code{white-space:nowrap;font-family:ui-monospace,monospace}:root[data-theme=dark] .brd-tests-link{color:#7aa7e0}:root[data-theme=dark] .brd-tests-table th,:root[data-theme=dark] .brd-tests-table td{border-color:#4a4a4d}:root[data-theme=dark] .brd-tests-table th{background:#2c2c2f}.brd-details-toggle{color:#1a4fa0;cursor:pointer;text-underline-offset:2px;background:0 0;border:none;padding:0;font-family:inherit;font-size:.85em;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.brd-implementation-full{color:#555;border-top:1px dashed #ccc;margin-top:6px;padding-top:6px;font-size:.9em}.brd-content-pi-editable .brd-pi-edit-btn{cursor:pointer;color:#1a4fa0;text-underline-offset:2px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.brd-content-pi-editable .brd-pi-edit-btn:hover{color:#0f3878}:root[data-theme=dark] .brd-content-pi-editable .brd-pi-edit-btn{color:#c8c8cc}:root[data-theme=dark] .brd-content-pi-editable .brd-pi-edit-btn:hover{color:#fff}.brd-pi-editor .block-style-menu-title{cursor:move;-webkit-user-select:none;user-select:none}.brd-pi-editor{resize:both;width:280px;min-width:280px;max-width:calc(100vw - 48px);min-height:160px;max-height:calc(100dvh - 48px);overflow:auto}.brd-pi-status-description{color:#666;margin:-4px 0 4px;font-size:.8rem;line-height:1.4}.brd-pi-save-error{color:#a51c1c}.my-scripts-section-heading{border-top:1px solid #e0e0e0;align-items:center;gap:6px;margin:24px 0 8px;padding-top:12px;font-size:1rem;display:flex}.my-scripts-section-heading:has(.my-scripts-collapse-chevron){cursor:pointer;-webkit-user-select:none;user-select:none}.my-scripts-collapse-chevron{color:#888;font-size:.75rem;transition:transform .15s;display:inline-block}.my-scripts-collapse-chevron.collapsed{transform:rotate(-90deg)}.my-scripts-empty{color:#888;margin:0;font-size:.85rem}.my-scripts-new-btn{font-size:1.2rem;font-weight:700;line-height:1}.my-scripts-project-list{flex-direction:column;gap:4px;margin:0 0 8px;padding:0;list-style:none;display:flex}.my-scripts-project-list-item{border:1px solid #eee;border-radius:6px}.my-scripts-project-list-row{align-items:center;gap:10px;padding:6px 10px;display:flex}.my-scripts-project-toggle{all:unset;cursor:pointer;justify-content:center;width:14px;display:inline-flex}.my-scripts-project-toggle-spacer{width:14px;display:inline-block}.my-scripts-project-table{table-layout:fixed;width:calc(100% - 44px);margin:0 10px 8px 34px}.my-scripts-project-table th:first-child,.my-scripts-project-table th:nth-child(2){width:34%}.my-scripts-project-table th:nth-child(3){width:24%}.my-scripts-project-table th:nth-child(4){width:8%}.my-scripts-project-table td{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.my-scripts-project-row-name{font-size:.9rem;font-weight:600}.my-scripts-project-row-meta{color:#666;font-size:.8rem}.my-scripts-table{border-collapse:collapse;width:100%;font-size:.85rem}.my-scripts-table th{text-align:left;color:#666;border-bottom:1px solid #ddd;padding:4px 8px;font-size:.75rem}.my-scripts-table td{vertical-align:top;border-bottom:1px solid #eee;padding:6px 8px}.my-scripts-table-row:hover{background:#fafafa}.my-scripts-row-badge{color:#1a4fa0;white-space:nowrap;cursor:pointer;background:#e8effa;border:1px solid #1a4fa0;border-radius:999px;width:fit-content;margin:4px 0 0;padding:1px 6px;font-size:.7rem;display:block}.my-scripts-row-menu-btn{all:unset;cursor:pointer;color:#666;padding:2px 8px;font-weight:700}.my-scripts-row-menu-btn:hover{color:#111}.my-scripts-open-btn{all:unset;cursor:pointer;color:#1a4fa0;font-size:.9rem}.my-scripts-open-btn:hover{text-decoration:underline}.my-scripts-open-btn:disabled{color:#999;cursor:default;text-decoration:none}.my-scripts-restore-link{all:unset;cursor:pointer;color:#1a4fa0;font-size:.85rem}.my-scripts-restore-link:hover{text-decoration:underline}.move-copy-dialog{width:620px}.move-copy-dialog .modal-title{white-space:nowrap}.move-copy-script-name{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.move-copy-list{flex-direction:column;gap:4px;margin:0 0 12px;padding:0;list-style:none;display:flex}.move-copy-row{border-bottom:1px solid #eee;align-items:center;gap:8px;padding:4px 0;display:flex}.move-copy-name{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:.9rem;overflow:hidden}.move-copy-btn{color:#fff;cursor:pointer;background:#1a4fa0;border:none;border-radius:6px;flex-shrink:0;align-items:center;gap:4px;padding:3px 10px;font-family:inherit;font-size:.78rem;font-weight:600;display:inline-flex}.move-copy-btn:hover{background:#163f82}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=dark] body,:root[data-theme=dark] .app,:root[data-theme=dark] .uploader{color:#e4e4e6;background:#1c1c1e}:root[data-theme=dark] .uploader-title,:root[data-theme=dark] .uploader-hint{color:#e4e4e6}:root[data-theme=dark] .script-top-bar{background:#242426;border-bottom-color:#3a3a3d}:root[data-theme=dark] .script-title,:root[data-theme=dark] .top-bar-account-label,:root[data-theme=dark] .mode-indicator-role{color:#e4e4e6}:root[data-theme=dark] .top-bar-account:hover{background:#3a3a3d}:root[data-theme=dark] .viewer-sidebar{color:#e4e4e6;background:#242426;border-right-color:#66666b}:root[data-theme=dark] .character-legend-theater-icon,:root[data-theme=dark] .settings-gear-icon{color:#c8c8cc}:root[data-theme=dark] .character-legend-theater-icon:hover,:root[data-theme=dark] .settings-gear-icon:hover{color:#fff}:root[data-theme=dark] .character-legend-heading,:root[data-theme=dark] .character-legend-hint,:root[data-theme=dark] .settings-title{color:#c8c8cc}:root[data-theme=dark] .script-body{background:#1c1c1e}:root[data-theme=dark] .line-selected-character .run-dialogue,:root[data-theme=dark] .line-selected-character .run-direction{color:#1c1c1e}:root[data-theme=dark] .viewer-controls{color:#e4e4e6;background:#1c1c1e;border-left-color:#66666b}:root[data-theme=dark] .settings-item{border-color:#55555a}:root[data-theme=dark] .settings-item:hover{background:#2f2f32}:root[data-theme=dark] .settings-item-status{color:#c8c8cc}:root[data-theme=dark] .help-panel,:root[data-theme=dark] .middle-area-resizer{color:#e4e4e6;background:#242426}:root[data-theme=dark] .middle-area{border-bottom-color:#77777d}:root[data-theme=dark] .middle-area-resizer:before{background:#77777d}:root[data-theme=dark] .help-panel-btn{color:#e4e4e6;background:#2f2f32;border-color:#4a4a4d}:root[data-theme=dark] .help-glossary-entry dt{color:#e4e4e6}:root[data-theme=dark] .help-glossary-entry dd{color:#c8c8cc}:root[data-theme=dark] .help-edit-btn{color:#7f9dcc}:root[data-theme=dark] .modal-backdrop{background:#0009}:root[data-theme=dark] .modal-dialog{color:#e4e4e6;background:#2a2a2c}:root[data-theme=dark] .modal-title{color:#f0f0f2}:root[data-theme=dark] .modal-body{color:#c8c8cc}:root[data-theme=dark] .modal-compare-table th,:root[data-theme=dark] .modal-compare-table td{color:#e4e4e6;border-bottom-color:#4a4a4d}:root[data-theme=dark] .modal-compare-table thead th{color:#999}:root[data-theme=dark] .modal-compare-row-diff td{color:#e08a8a}:root[data-theme=dark] .app-info-list li{color:#c8c8cc}:root[data-theme=dark] .app-info-label{color:#999}:root[data-theme=dark] .modal-btn,:root[data-theme=dark] .modal-cancel{color:#e4e4e6;background:#3a3a3d;border-color:#55555a}:root[data-theme=dark] .modal-btn:hover,:root[data-theme=dark] .modal-cancel:hover{background:#4a4a4d}:root[data-theme=dark] .modal-btn:disabled,:root[data-theme=dark] .modal-btn:disabled:hover{color:#6a6a6e;background:#2c2c2e;border-color:#3a3a3d}:root[data-theme=dark] .modal-btn-primary:disabled,:root[data-theme=dark] .modal-btn-primary:disabled:hover{color:#8a8a8e;background:#4a4a4d;border-color:#4a4a4d}:root[data-theme=dark] .pin-input,:root[data-theme=dark] .save-version-summary,:root[data-theme=dark] .block-edit-textarea,:root[data-theme=dark] .manage-roles-input{color:#e4e4e6;background:#2f2f32;border-color:#55555a}:root[data-theme=dark] .notification-item-unread{background:#1c2a3f;border-color:#3a6bc4}:root[data-theme=dark] .comment-badge{color:#8fb0f0}:root[data-theme=dark] .comment-badge:hover{background:#8fb0f02e}:root[data-theme=dark] .comment-card-text{color:#e4e4e6;background:#2f2f32}:root[data-theme=dark] .comment-card-meta,:root[data-theme=dark] .comment-card-hint,:root[data-theme=dark] .block-edit-status-badge{color:#a8a8ad;border-color:#55555a}:root[data-theme=dark] .run-collapsed-placeholder{color:#a8a8ad;background:#2f2f32;border-color:#55555a}:root[data-theme=dark] .run-collapsed-placeholder:hover:not(:disabled){background:#3a3a3d}:root[data-theme=dark] .run-collapsed-placeholder-deleted{color:#d89a9c;border-color:#8a5457}:root[data-theme=dark] .block-collapsed-placeholder{color:#a8a8ad;background:#2f2f32;border-color:#55555a}:root[data-theme=dark] .block-collapsed-placeholder:hover:not(:disabled){background:#3a3a3d}:root[data-theme=dark] .block-collapsed-placeholder-deleted{color:#d89a9c;border-color:#8a5457}:root[data-theme=dark] .comment-visible-toggle{color:#e4e4e6}:root[data-theme=dark] .block-style-menu-btn{color:#e4e4e6;background:#2f2f32;border-color:#55555a}:root[data-theme=dark] .block-style-menu-btn:hover:not(:disabled){background:#4a4a4d}:root[data-theme=dark] .block-style-menu-character-select{color:#222;background:#e4e4e6;border-color:#55555a}:root[data-theme=dark] .settings-item,:root[data-theme=dark] .skip-dialogue-toggle,:root[data-theme=dark] .manage-roles-checkbox{color:#e4e4e6}:root[data-theme=dark] .manage-roles-script-editing{border-color:#55555a}:root[data-theme=dark] .popover-menu,:root[data-theme=dark] .block-style-menu{color:#e4e4e6;background:#2a2a2c;border-color:#4a4a4d}:root[data-theme=dark] .popover-menu-item{color:#e4e4e6}:root[data-theme=dark] .popover-menu-item:hover{background:#3a3a3d}:root[data-theme=dark] .popover-menu-item:disabled{color:#777}:root[data-theme=dark] .popover-menu-item-current{background:#3f3f42}:root[data-theme=dark] .user-profile-menu-header{border-bottom-color:#4a4a4d}:root[data-theme=dark] .user-profile-menu-name{color:#f0f0f2}:root[data-theme=dark] .user-profile-menu-email{color:#b0b0b4}:root[data-theme=dark] .user-profile-menu-divider{background:#4a4a4d}:root[data-theme=dark] .popover-menu-item-highlight{color:#7f9dcc}:root[data-theme=dark] .popover-menu-item-highlight:hover{background:#22375c}:root[data-theme=dark] .brd-content{color:#e4e4e6}:root[data-theme=dark] .brd-content h1,:root[data-theme=dark] .brd-content h2,:root[data-theme=dark] .brd-content h3{color:#f0f0f2}:root[data-theme=dark] .brd-content th,:root[data-theme=dark] .brd-content td{border-color:#4a4a4d}:root[data-theme=dark] .brd-content tr:has(td):hover{background:#333336}:root[data-theme=dark] .brd-fallback{color:#c8c8cc}:root[data-theme=dark] .brd-req-link{color:#c8c8cc;text-decoration:underline}:root[data-theme=dark] .brd-req-link:hover{color:#fff}:root[data-theme=dark] .help-toc-link{color:#c8c8cc}:root[data-theme=dark] .help-toc-link:hover{color:#fff}:root[data-theme=dark] .brd-term-link{color:#c9a3f0}:root[data-theme=dark] .brd-term-link-result,:root[data-theme=dark] .brd-details-toggle{color:#7aa7e0}:root[data-theme=dark] .brd-implementation-full{color:#b0b0b3;border-top-color:#4a4a4d}:root[data-theme=dark] .brd-changelog-sort-btn{color:#e4e4e6;background:#2f2f32;border-color:#55555a}:root[data-theme=dark] .brd-changelog-sort-btn:hover{background:#3a3a3d}:root[data-theme=dark] .external-recordings-btn{color:#e0b565;background:#3a2f18;border-color:#a56c00}:root[data-theme=dark] .external-recordings-btn:hover{background:#4a3c20}:root[data-theme=dark] .modal-recording-item-external{background:#332c1c;border-color:#a56c00}:root[data-theme=dark] .modal-recording-external-heading{color:#e0b565}:root[data-theme=dark] .external-recordings-count-btn{color:#e0b565;background:#3a2f18;border-color:#a56c00}:root[data-theme=dark] .external-recordings-count-btn:hover{background:#4a3c20}:root[data-theme=dark] .external-recordings-sublist{border-left-color:#6b5527}:root[data-theme=dark] .external-recordings-matching-status{color:#b0b0b3}:root[data-theme=dark] .external-recordings-matching-badge{color:#e0b565}:root[data-theme=dark] .external-recordings-transcript-hint{color:#9a9a9d}:root[data-theme=dark] .suggestion-screenshot-preview img,:root[data-theme=dark] .suggestion-screenshot-thumbnail,:root[data-theme=dark] .script-history-row{border-color:#4a4a4d}:root[data-theme=dark] .script-history-version-number{color:#e4e4e6}:root[data-theme=dark] .script-history-version-meta,:root[data-theme=dark] .script-history-summary{color:#c8c8cc}.my-scripts-remove{flex-shrink:0;align-items:center;gap:6px;display:inline-flex}.my-scripts-remove-option{color:#666;white-space:nowrap;cursor:pointer;align-items:center;gap:4px;font-size:.75rem;display:inline-flex}:root[data-theme=dark] .my-scripts-remove-option{color:#c8c8cc}.script-body-empty-hint{color:#888;flex-direction:column;gap:2px;margin-bottom:24px;display:flex}.script-body-empty-hint-line1{font-size:1.1rem}.script-body-empty-hint-line2{font-size:.85rem}.my-scripts-th-filter{flex-direction:column;align-items:flex-start;gap:3px;display:flex}.my-scripts-th-filter select,.my-scripts-th-filter input{width:auto;min-width:100px;max-width:100%;padding:2px 4px;font-size:.75rem;font-weight:400}.move-copy-has-script{color:#a56a00;font-size:.78rem}.my-scripts-th-filter input{box-sizing:border-box;width:100%}.create-script-mode-select{width:100%;margin-bottom:12px}.create-script-source{flex-direction:column;gap:6px;margin:4px 0 12px;display:flex}.create-script-source-name{text-overflow:ellipsis;white-space:nowrap;color:#6b7280;min-width:0;font-size:.85em;overflow:hidden}.floating-panel-backdrop{z-index:1000;background:#0006;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.floating-panel-window{box-sizing:border-box;resize:both;background:#fafafa;border:2px solid #8c93a0;border-radius:12px;flex-direction:column;width:min(1000px,100vw - 48px);min-width:360px;max-width:calc(100vw - 24px);height:min(640px,100vh - 48px);min-height:240px;max-height:calc(100vh - 24px);display:flex;position:relative;overflow:hidden;box-shadow:0 12px 32px #0000004d}.floating-panel-titlebar{color:#222;cursor:move;-webkit-user-select:none;user-select:none;touch-action:none;background:#eef0f4;border-bottom:1px solid #c8ccd4;flex-shrink:0;padding:8px 16px;font-size:.95rem;font-weight:700}.floating-panel-content{flex-direction:column;flex:1;min-height:0;display:flex}:root[data-theme=dark] .floating-panel-window{background:#242426;border-color:#77777d}:root[data-theme=dark] .floating-panel-titlebar{color:#e4e4e6;background:#2f2f32;border-bottom-color:#4a4a4d}.shared-members-dialog{width:920px}.shared-members-pushed{color:#666;margin-left:16px;font-size:.8rem;font-weight:400}.shared-members-sub{color:#888;font-size:.75rem;display:block}.chat-dialog{width:520px}.chat-messages{background:#fafafa;border:1px solid #ddd;border-radius:8px;flex-direction:column;gap:8px;height:280px;margin-bottom:8px;padding:8px;display:flex;overflow-y:auto}.chat-message{background:#e9e9ee;border-radius:10px;align-self:flex-start;max-width:80%;padding:6px 10px;font-size:.9rem}.chat-message-mine{background:#e8effa;align-self:flex-end}.chat-message-body{white-space:pre-wrap;overflow-wrap:anywhere;display:block}.chat-message-time{color:#888;margin-top:2px;font-size:.7rem;display:block}.chat-input{min-height:56px;margin:0 0 8px}:root[data-theme=dark] .chat-messages{background:#1c1c1e;border-color:#4a4a4d}:root[data-theme=dark] .chat-message{color:#e4e4e6;background:#3a3a3d}:root[data-theme=dark] .chat-message-mine{background:#332a4a}:root[data-theme=dark] .shared-members-pushed,:root[data-theme=dark] .shared-members-sub,:root[data-theme=dark] .chat-message-time{color:#a8a8ae}.notification-delete-btn{color:#a51c1c;cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;margin-left:auto;padding:4px;font-family:inherit;font-size:.72rem;display:inline-flex}.notification-delete-btn:hover{background:#fbeaea}:root[data-theme=dark] .notification-delete-btn{color:#f0a0a0;background:#3a3a3d;border-color:#55555a}:root[data-theme=dark] .notification-delete-btn:hover{background:#4a4a4d}.script-search{flex:auto;align-items:center;gap:6px;min-width:0;max-width:420px;margin-left:8px;display:flex}.script-search-input{min-width:0;font-family:inherit;font-size:inherit;color:#333;background:#fff;border:1px solid #ccc;border-radius:8px;flex:140px;padding:4px 10px}.script-search-count{color:#666;white-space:nowrap;flex-shrink:0;font-size:.8rem}.script-search-step{padding:4px 8px;font-size:.7rem}.line-search-match{background:#ffeb3b47;border-radius:4px}.line-search-current{background:#ffc1078c;border-radius:4px;outline:2px solid #f0a500}:root[data-theme=dark] .script-search-input{color:#e4e4e6;background:#3a3a3d;border-color:#55555a}:root[data-theme=dark] .script-search-count{color:#a8a8ae}:root[data-theme=dark] .line-search-match{background:#ffeb3b38}:root[data-theme=dark] .line-search-current{background:#ffc10766}.search-hit{color:inherit;background:#ffe14d;border-radius:2px;padding:0 1px}.line-search-current .search-hit{background:#ffb300}:root[data-theme=dark] .search-hit{color:#fff;background:#8a6d00}:root[data-theme=dark] .line-search-current .search-hit{background:#c28a00}.modal-dialog.script-info-dialog{width:640px}.script-info-nowrap{white-space:nowrap}.script-info-list{grid-template-columns:max-content 1fr;gap:6px 16px;margin:8px 0 16px;font-size:.95rem;display:grid}.script-info-list dt{color:var(--text-muted,#666)}.script-info-list dd{word-break:break-word;margin:0}.shared-script-note{color:#1f3d6b;background:#eef4fc;border-radius:6px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:0 0 8px;padding:8px 16px;font-size:.9rem;display:flex}.shared-script-note>span{flex:240px}.shared-script-note button{flex:none;width:auto}.shared-script-note-body{flex-direction:column;flex:240px;gap:2px;display:flex}.shared-script-note-close{color:inherit;cursor:pointer;background:0 0;border:none;align-self:flex-start;padding:0 4px;font-size:1.3rem;line-height:1}.brd-workflow-step{background:#eef4fc;border-radius:8px;flex-direction:column;gap:8px;margin:8px 0 12px;padding:12px;display:flex}.brd-estimate-table{border-collapse:collapse;width:100%;font-size:.85rem}.brd-estimate-table th,.brd-estimate-table td{vertical-align:top;text-align:left;border:1px solid #c9d6ea;padding:6px 8px}.brd-estimate-table th{background:#e4edf9;font-weight:600}.brd-estimate-table input,.brd-estimate-table select{width:100%;min-width:70px}.brd-estimate-actions{flex-wrap:wrap;gap:8px;display:flex}.script-structure-hint{color:#6b7280;margin:2px 0 8px;font-size:.8em}.script-structure-preview{border:1px solid #d1d5db;border-radius:6px;max-height:220px;padding:8px 10px;font-size:.8em;line-height:1.4;overflow-y:auto}.tp-line{margin:0 0 4px}.tp-name{color:#1d4ed8;font-weight:700}.tp-direction{color:#6b7280;font-style:italic}.detected-colours{margin-top:10px}.detected-colours-list{margin:0;padding:0;font-size:.8em;list-style:none}.detected-colours-list li{align-items:center;gap:8px;margin-bottom:4px;display:flex}.detected-colour-swatch{border:1px solid #9ca3af;border-radius:3px;flex:none;width:14px;height:14px}.detected-colour-suggestion{color:#6b7280}.colour-entry-btn{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:.5rem;padding:.2rem .3rem;display:flex}.colour-entry-btn:hover{background:#7f7f7f26}.pseudo-colour-menu,.pseudo-character-menu{width:290px}.pseudo-colour-menu .detected-colour-swatch,.pseudo-character-menu .detected-colour-swatch{vertical-align:middle;display:inline-block}.pseudo-member-row{align-items:center;gap:.4rem;padding:.15rem .4rem;display:flex}.pseudo-member-label{flex:1;font-size:.8rem}.pseudo-member-row .popover-menu-item{flex:none;width:auto}.act-btn{color:#15803d;cursor:pointer;vertical-align:middle;background:#dcfce7;border:1px solid #86efac;border-radius:50%;flex:none;justify-content:center;align-items:center;width:20px;height:20px;margin-right:4px;padding:0;display:inline-flex}.act-btn:disabled{opacity:.5;cursor:not-allowed}.act-btn-done{color:#fff;background:#22c55e;border-color:#16a34a}.colour-entry-row{align-items:center;gap:.25rem;display:flex}.colour-goto-btn{width:22px;height:22px;color:inherit;cursor:pointer;background:0 0;border:1px solid #9ca3af;border-radius:50%;flex:none;padding:0;line-height:1}.colour-assignment-panel{box-sizing:border-box;z-index:2000;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:320px;max-height:calc(100vh - 16px);padding:.6rem .75rem .75rem;position:fixed;overflow-y:auto;box-shadow:0 8px 24px #0000002e}.colour-panel-status{color:#6b7280;margin:.15rem 0 .4rem;font-size:.8rem}.colour-panel-option{cursor:pointer;align-items:center;gap:.4rem;padding:.15rem 0;display:flex}.colour-panel-field{align-items:center;gap:.4rem;display:flex}.colour-panel-field .manage-roles-input{flex:1;min-width:0}.colour-panel-icon-btn{color:#15803d;cursor:pointer;background:#f3f4f6;border:1px solid #9ca3af;border-radius:6px;flex:none;width:26px;height:26px;padding:0;font-weight:700}.colour-panel-icon-btn:disabled{opacity:.4;cursor:not-allowed}.colour-panel-footer{align-items:center;gap:.6rem;margin-top:.75rem;display:flex}.colour-panel-onebyone{white-space:nowrap;align-items:center;gap:.3rem;font-size:.85rem;display:inline-flex}.colour-panel-close{margin-left:auto}.run-wrapped:before{content:"("}.run-wrapped:after{content:")"}.effects-hide-all-btn{color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:4px;margin-left:8px;padding:0 6px;font-size:.75rem}.effect-eye-btn{justify-content:center;align-items:center;display:inline-flex}.character-select-group{flex:0 auto;align-items:center;gap:6px;min-width:0;margin-left:auto;font-size:.9rem;display:flex}.viewer-sidebar-hide-row-content .effect-row .character-select-group,.viewer-sidebar-hide-row-content .effect-row .character-actions,.viewer-sidebar-hide-row-content .effect-row .colour-goto-btn{display:none}
