:root{color-scheme:light;--font-ui: "Onest", "Segoe UI", Arial, sans-serif;--color-canvas: #f1f0eb;--color-paper: #ffffff;--color-paper-muted: #f7f5ef;--color-ink: #24272b;--color-ink-muted: #59616b;--color-line: #c8c8c2;--color-line-soft: #deddd7;--color-line-action: #aac7e8;--color-line-coral: #e9b8b0;--color-line-danger: #e7a7a1;--color-line-warning: #e6c590;--color-action: #245f9e;--color-action-strong: #174a82;--color-action-soft: #e9f1fb;--color-on-action: #ffffff;--color-focus: #0b64c0;--color-coral: #c94e3f;--color-coral-ink: #8d2f26;--color-coral-soft: #fbeae6;--color-danger: #b42318;--color-danger-strong: #912018;--color-danger-soft: #fdecea;--color-warning: #7a3e0d;--color-warning-soft: #fff2d8;--color-success: #067647;--color-success-soft: #eaf7ef;--color-backdrop: rgb(36 39 43 / 42%);--radius-small: 5px;--radius-medium: 7px;--radius-large: 8px;--shadow-control: 0 1px 2px rgb(36 39 43 / 4%);--shadow-action: 0 1px 2px rgb(36 39 43 / 12%);--shadow-header: 0 1px 2px rgb(36 39 43 / 4%), 0 4px 12px rgb(36 39 43 / 3%);--shadow-surface: 0 2px 5px rgb(36 39 43 / 3%), 0 8px 20px rgb(36 39 43 / 3%);--shadow-floating: 0 18px 48px rgb(36 39 43 / 16%);--motion-fast: .14s;--scenario-header: #bedce6;--scenario-header-line: #98bac7;--scenario-header-ink: #28394a;--scenario-header-field: #ffffff65;--scenario-header-field-line: #8eafbc;--scenario-header-focus: rgb(17 24 39 / 40%);--scenario-ink-strong: #1e2430;--scenario-ink: #2b313c;--scenario-ink-muted: #596273;--scenario-ink-subtle: #637383;--scenario-control-ink: #344054;--scenario-grid-line: #c4c6c5;--scenario-grid-line-soft: #d8dde1;--scenario-grid-line-muted: #e7ebf1;--scenario-control-line: #d2d8dc;--scenario-draft-line: #bdc7d0;--scenario-resizer: #c4ccd8;--scenario-resizer-active: #7e8ca1;--scenario-native-focus: #8aa4c2;--scenario-selection: #eef4fb;--scenario-selection-field: #f7fbff;--scenario-drop-line: #1769aa;--scenario-order-cell: #faf9f6;--scenario-toolbar-surface: #f6f5f1;--scenario-access-surface: #f7f8fa;--scenario-access-active: #edf4fb;--scenario-access-active-line: #d5e3f2;--scenario-search-match: #fff0a8;--scenario-search-match-line: #c58a00;--scenario-search-active: #ffc66d;--scenario-search-active-line: #8a4b00;--scenario-warning-line: #f3d19b;--scenario-warning-surface: #fffaf0;--scenario-conflict-line: #e7a969;--scenario-conflict-surface: #fffaf3;--scenario-block-zk: #1849a9;--scenario-block-zk-geo: #6941c6;--scenario-block-snh: #067647;--scenario-block-life: #b54708;--scenario-block-podvodka: #475467;--scenario-font-toggle-line: #a4a8ad;--scenario-font-toggle-active-line: #9ebbd8;--scenario-table-shadow: 0 3px 12px rgb(36 39 43 / 3%);--scenario-toggle-shadow: 0 1px 3px rgb(36 39 43 / 9%);--scenario-floating-shadow: 0 20px 60px rgb(16 24 40 / 32%)}@font-face{font-family:Onest;src:url(/fonts/onest/Onest-VariableFont.woff2) format("woff2");font-style:normal;font-weight:100 900;font-display:swap}*{box-sizing:border-box}html{min-width:0;background:var(--color-canvas)}body{min-width:0;margin:0;background:var(--color-canvas);color:var(--color-ink);font-family:var(--font-ui);font-size:15px;line-height:1.45;text-rendering:optimizeLegibility}button,input,select,textarea{font:inherit}h1,h2,h3,h4,p{overflow-wrap:anywhere}h1,h2,h3,h4{color:var(--color-ink);font-weight:650;line-height:1.16}thead th{font-weight:600}a{color:var(--color-action-strong)}::selection{background:var(--color-action-soft);color:var(--color-ink)}.muted{color:var(--color-ink-muted)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.error{margin-top:12px;color:var(--color-danger);font-weight:600}.small{font-size:12px;font-weight:550}.card{width:min(100%,560px);margin-top:12px;padding:20px;border:1px solid var(--color-line);border-radius:var(--radius-large);background:var(--color-paper)}.row{display:flex;gap:12px;align-items:center}.row.wrap{flex-wrap:wrap}:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--color-focus);outline-offset:3px}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.layout{width:min(100%,1120px);margin:0 auto;padding:32px clamp(16px,4vw,56px) 56px}.auth-layout{display:grid;min-height:100vh;padding-bottom:0;grid-template-rows:1fr auto}.auth-layout>main{align-self:center}.auth-identity{display:grid;gap:2px;width:min(100%,560px);margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--color-line)}.auth-identity p,.auth-identity h1,.auth-identity span{margin:0}.auth-identity p,.app-shell-identity p{color:var(--color-coral-ink);font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.auth-identity h1{margin-top:3px;font-size:clamp(28px,5vw,40px)}.auth-identity span{color:var(--color-ink-muted)}.app-shell{min-width:0;min-height:100vh;display:grid;grid-template-rows:auto 1fr auto;background:var(--color-canvas)}.app-shell-header{position:sticky;top:12px;z-index:30;width:min(calc(100% - 72px),1368px);margin:12px auto 0;border:1px solid var(--color-line-soft);border-radius:8px;background:var(--color-paper-muted);box-shadow:var(--shadow-header)}.app-shell-header-inner{width:100%;margin:0 auto;display:grid;grid-template-columns:1fr auto 1fr;min-height:54px;gap:16px;align-items:center;padding:5px 20px}.app-shell-identity{min-width:0;display:flex;align-items:center;gap:8px;color:inherit;text-decoration:none}.app-shell-identity p,.app-shell-identity h1,.app-shell-user-meta strong,.app-shell-user-meta span{margin:0}.app-shell-identity h1{margin:0;font-size:14px;font-weight:700;white-space:nowrap}.app-shell-nav{display:inline-flex;align-items:center;justify-self:center;gap:3px;padding:0}.app-shell-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 12px;border-radius:5px;color:var(--color-ink-muted);font-size:13px;font-weight:550;text-decoration:none;white-space:nowrap}.app-shell-nav a[aria-current=page]{background:var(--color-paper);color:var(--color-action);box-shadow:var(--shadow-control)}.app-shell-tools,.app-shell-user,.app-shell-user-actions{display:flex;align-items:center}.app-shell-tools{min-width:0;justify-content:flex-end;gap:10px}.app-shell-user{min-width:0;justify-content:flex-end;gap:12px}.app-shell-user-meta{min-width:0;display:grid;gap:1px;text-align:left}.app-shell-mark{flex-shrink:0;color:var(--color-action)}.app-shell-profile-toggle.MuiButton-root{gap:12px;padding:2px 0 2px 12px;color:var(--color-ink);max-width:240px;text-transform:none}.app-shell-user-meta strong{font-size:12px;line-height:17px;font-weight:650}.profile-chevron{color:var(--color-ink-muted);font-size:16px}.app-shell-user-meta strong,.app-shell-user-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell-user-meta span{color:var(--color-ink-muted);font-size:10px;line-height:14px}.app-shell-user-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px}.app-shell-content{min-width:0;width:min(100%,1440px);margin:0 auto;padding:16px clamp(16px,3vw,36px) 48px}.app-footer{width:min(100%,1440px);margin:0 auto;padding:12px clamp(16px,3vw,36px) 16px;color:var(--color-ink-muted);font-size:12px;line-height:1.4}.auth-layout .app-footer{width:100%;padding-inline:0}.whats-new-dialog.MuiDialog-paper{max-height:calc(100vh - 48px)}.whats-new-content{display:grid}.whats-new-body.MuiDialogContent-root{display:grid;gap:16px}.whats-new-body p,.whats-new-body ul{margin:0}.whats-new-kicker{color:var(--color-action-strong);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.whats-new-intro{color:var(--color-ink-muted)}.whats-new-body ul{display:grid;gap:10px;padding-left:22px}.whats-new-body li::marker{color:var(--color-action-strong)}.main-workspace{display:grid;gap:14px}.main-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:18px;border:1px solid var(--color-line);border-radius:var(--radius-medium);background:var(--color-paper)}.main-hero h2{margin:2px 0 6px;font-size:26px}.main-hero p{margin:0}@media (max-width: 1050px){.app-shell-header{width:calc(100% - 48px)}.app-shell-content,.app-footer{padding-inline:24px}.app-shell-header-inner{grid-template-columns:1fr auto}.app-shell-nav{grid-column:1 / -1;grid-row:2;justify-self:start}}@media (max-width: 760px){.app-shell-header{width:calc(100% - 32px)}.app-shell-content,.app-footer{padding-inline:16px}.app-shell-header-inner{grid-template-columns:1fr}.app-shell-tools,.app-shell-user{justify-content:flex-start}.app-shell-user-meta{text-align:left}}.auth-form{display:grid;gap:20px;padding:28px;border-color:var(--color-line-soft);box-shadow:var(--shadow-surface)}.auth-form h2,.auth-form p{margin:0}.auth-form h2{font-size:22px}.auth-form>.MuiButton-root{justify-self:start;min-width:104px}.stories-page,.story-page{display:grid;gap:13px}.story-header{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:58px}.story-header h2{margin:0;font-size:24px;line-height:1.3}.story-header p{margin:4px 0 0;font-size:12px}.stories-page-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:end}.story-create-dialog.MuiDialog-paper,.rubric-management-dialog.MuiDialog-paper{max-height:calc(100vh - 32px)}.story-create-form{display:flex;min-height:0;flex-direction:column}.story-create-title-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--color-line-soft)}.story-create-title-row .MuiDialogTitle-root{flex:1}.story-create-content.MuiDialogContent-root{display:grid;gap:16px;padding-top:20px}.rubric-management-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.rubric-management-title .MuiDialogTitle-root{flex:1;padding:16px 20px;font-size:20px;line-height:28px}.rubric-management-title .MuiIconButton-root{width:32px;height:32px;flex:0 0 32px;color:var(--color-action-strong);font-size:20px;margin-right:20px}.rubric-management-content.MuiDialogContent-root{display:grid;gap:16px;padding:18px 20px 20px}.rubric-create-form{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px;align-items:center;padding:0 0 18px;border-bottom:1px solid var(--color-line-soft)}.rubric-create-form .MuiButton-root{min-height:40px}.rubric-management-list{display:grid;gap:10px}.rubric-management-row{display:grid;grid-template-columns:minmax(220px,1fr) auto auto auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--color-line-soft);border-radius:var(--radius-medium);background:var(--color-paper-muted)}.rubric-management-row>.MuiChip-root{justify-self:start;min-width:88px}.rubric-management-row>.MuiButton-root{min-width:104px}.story-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(2,minmax(140px,1fr)) auto;gap:10px;align-items:center}.story-filters .MuiOutlinedInput-root{height:36px;min-height:36px;box-shadow:none}.story-filters .MuiOutlinedInput-input{padding-block:7px;font-size:13px}.story-filters .MuiSelect-select{display:flex;min-height:0;align-items:center}.story-filter-checkbox.MuiFormControlLabel-root{min-height:36px;margin:0;white-space:nowrap}.stories-table-wrap{overflow-x:auto;border:1px solid var(--color-line-soft);border-radius:var(--radius-medium);background:var(--color-paper);box-shadow:var(--shadow-surface)}.stories-table{width:100%;border-collapse:collapse;min-width:1080px}.stories-table.archive-table{min-width:840px}.archive-table th:first-child{width:30%}.archive-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.stories-table th,.stories-table td{padding:8px 11px;border-bottom:1px solid var(--color-line-soft);text-align:left}.stories-table th{height:36px;background:var(--color-paper-muted);color:var(--color-ink-muted);font-size:12px;font-weight:550;white-space:nowrap}.stories-table td{height:56px;font-size:13px;vertical-align:middle}.stories-table td a{color:var(--color-action);font-weight:550;text-decoration:none}.stories-table td a:hover{color:var(--color-action);text-decoration:underline;text-underline-offset:3px}.stories-table tbody tr:hover{background:var(--color-paper-muted)}.stories-table tbody tr:last-child td{border-bottom:0}.stories-table:not(.archive-table) th:first-child,.stories-table:not(.archive-table) td:first-child{width:1%;white-space:nowrap}.story-row-action{margin-top:6px;padding:0}.story-priority{display:inline-block;padding:3px 8px;border:1px solid var(--color-line-soft);border-radius:999px;background:var(--color-action-soft);color:var(--color-ink-muted);font-size:12px;font-weight:550}.story-priority-high{border-color:var(--color-line-coral);background:var(--color-coral-soft);color:var(--color-coral-ink)}.stories-table .story-priority-select.MuiInputBase-root{width:100px;min-width:100px;height:26px;min-height:26px;border-radius:999px;background-color:var(--color-action-soft);box-shadow:none;color:var(--color-ink-muted);font-size:12px;font-weight:550}.stories-table .story-priority-select .MuiOutlinedInput-notchedOutline{border-color:var(--color-line-soft)}.stories-table .story-priority-select .MuiSelect-select{display:flex;box-sizing:border-box;height:26px;min-height:0;align-items:center;padding:0 26px 0 8px;line-height:1}.stories-table .story-priority-select .MuiSelect-icon{right:5px;width:18px;height:18px;font-size:18px}.stories-table .story-priority-select.story-priority-high.MuiInputBase-root{background-color:var(--color-coral-soft);color:var(--color-coral-ink)}.stories-table .story-priority-select.story-priority-high .MuiOutlinedInput-notchedOutline{border-color:var(--color-line-coral)}.story-registry-date{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--color-ink-muted);line-height:1.35}.story-registry-date time{white-space:pre-line}.story-tabs{display:flex;gap:4px;border-bottom:1px solid var(--color-line-soft)}.story-tabs a{padding:10px 14px;color:var(--color-ink-muted);text-decoration:none;font-weight:550;font-size:13px}.story-tabs a[aria-current=page]{color:var(--color-action);border-bottom:2px solid var(--color-action)}.story-tab-panel{padding:16px;border:1px solid var(--color-line);border-radius:var(--radius-medium);background:var(--color-paper)}.stories-toolbar{display:flex;align-items:center;gap:12px}.stories-toolbar .story-filters{flex:1;min-width:0;grid-template-columns:minmax(280px,1fr) 150px 150px auto;gap:10px}.stories-toolbar .stories-page-actions{flex:0 0 auto;flex-wrap:nowrap;align-items:center;padding-left:16px;border-left:1px solid var(--color-line-soft)}.stories-toolbar .story-filter-checkbox{white-space:nowrap;min-height:36px}.stories-toolbar .stories-page-actions .MuiButton-root{min-height:36px}.story-create-icon{margin-right:7px;font-size:18px;font-weight:400;line-height:1}.story-assignees{display:grid;gap:4px;font-size:12px;color:var(--color-ink-muted)}.stories-result-count{margin:0;color:var(--color-ink-muted);font-size:12px}.story-header-actions{display:flex;gap:8px;justify-content:end}@media (max-width: 1150px){.stories-toolbar{flex-wrap:wrap;gap:8px}.stories-toolbar .stories-page-actions{margin-left:auto;padding:0;border-left:0}.stories-toolbar .story-filters{flex-basis:100%}}@media (max-width: 760px){.stories-toolbar .story-filters{grid-template-columns:1fr 1fr}.story-header{flex-wrap:wrap}.story-header-actions{margin-left:auto}.rubric-create-form,.rubric-management-row{grid-template-columns:1fr;align-items:stretch}.rubric-management-row>.MuiChip-root{justify-self:start}}.scenario-editor{display:grid;grid-template-columns:minmax(0,1fr);gap:0;min-width:0}.scenario-editor-heading{min-height:30px;display:flex;align-items:baseline;justify-content:space-between;gap:12px}.scenario-editor-heading h2{margin:0}.scenario-autosave{min-width:190px;color:var(--color-ink-muted);text-align:right}.scenario-autosave-error{color:var(--color-danger);font-weight:650}.scenario-history-controls{display:flex;gap:6px}.scenario-search-highlight{border-radius:2px;background:var(--scenario-search-match);box-shadow:inset 0 -1px 0 var(--scenario-search-match-line);-webkit-box-decoration-break:clone;box-decoration-break:clone}.scenario-search-highlight-active{background:var(--scenario-search-active);box-shadow:inset 0 0 0 2px var(--scenario-search-active-line)}.scenario-lease-notice{margin:0}.workflow-summary{display:grid;gap:10px;padding:14px 16px;border:1px solid var(--color-line);border-radius:var(--radius-medium);background:var(--color-paper)}.workflow-summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}.workflow-summary dl>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center;gap:5px 12px;min-width:0}.workflow-summary dt,.workflow-summary dd{grid-column:1}.workflow-summary dl>div+div{padding-left:16px;border-left:1px solid var(--color-line)}.workflow-summary dt{color:var(--color-ink-muted);font-size:12px}.workflow-summary dd{margin:0;font-size:13px}.workflow-summary .workflow-stage-actions{display:flex;flex-wrap:wrap;gap:6px;grid-column:2;grid-row:1 / span 4;align-self:center;max-width:220px}.workflow-mark-complete{color:var(--color-success);font-weight:650}.workflow-mark-detail{display:block;color:var(--color-ink-muted);font-size:12px}.workflow-changed-warning{color:var(--color-warning);font-weight:650}.workflow-load-error{margin:0}.captionpanels-warning{padding-left:12px;border-left:3px solid var(--color-warning);color:var(--color-warning)}.captionpanels-warning-compact{margin:0;padding:7px 10px;border:1px solid var(--scenario-warning-line);border-left:3px solid var(--color-warning);border-radius:6px;background:var(--scenario-warning-surface);font-size:13px}.editor-script-panel{min-width:0}.editor-table-header-panel{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr) minmax(180px,.7fr);gap:12px;align-items:end;padding:10px 12px;background:var(--scenario-header);border:1px solid var(--scenario-header-line);border-bottom:1px solid var(--scenario-header-line)}.editor-table-header-panel label{display:grid;gap:4px;min-width:0;color:var(--scenario-header-ink);font-size:13px;margin:0;font-weight:600}.editor-table-header-panel input,.editor-table-header-panel textarea,.editor-table-header-panel select{width:100%;min-width:0;min-height:38px;box-sizing:border-box;padding:8px 10px;background:var(--scenario-header-field);color:var(--color-ink);box-shadow:none;border:1px solid var(--scenario-header-field-line);border-radius:5px;font-family:var(--font-ui);font-size:14px;font-weight:400}.editor-table-header-panel input:focus,.editor-table-header-panel textarea:focus,.editor-table-header-panel select:focus{box-shadow:inset 0 0 0 1px var(--scenario-header-focus)}.editor-story-title-input{min-height:38px;overflow:hidden;resize:none;white-space:pre-wrap;overflow-wrap:anywhere}.editor-metadata-error{grid-column:1 / -1;margin:0;color:var(--color-danger)}.editor-table-wrap{overflow-x:auto;background:var(--color-paper);border:1px solid var(--color-line);border-top:0;border-radius:0 0 8px 8px;box-shadow:var(--scenario-table-shadow)}.editor-table{width:100%;min-width:1020px;table-layout:fixed;border-collapse:separate;border-spacing:0;border-radius:0;background:var(--color-paper);overflow:hidden;border:0}.editor-table th,.editor-table td{border:0;text-align:left;vertical-align:top;padding:0;border-right:1px solid var(--color-line-soft);border-bottom:1px solid var(--scenario-grid-line)}.editor-table thead th{position:relative;padding:9px 10px;color:var(--scenario-ink);text-align:center;background:var(--color-paper-muted);font-size:12px;font-weight:600;height:38px}.editor-table tr>:last-child{border-right:0}.editor-table tbody tr:last-child td{border-bottom:0}.editor-table tbody tr{cursor:pointer}.editor-table tbody tr.selected-row td{background:var(--scenario-selection)}.editor-table tbody tr.selected-row .editor-block-shell,.editor-table tbody tr.selected-row .editor-block-cell-shell,.editor-table tbody tr.selected-row .editor-tech-shell,.editor-table tbody tr.selected-row .editor-text-flow,.editor-table tbody tr.selected-row .editor-file-stack,.editor-table tbody tr.selected-row .editor-tech-shell>.editor-cell-textarea{background:var(--scenario-selection-field)}.editor-table tbody tr.scenario-row-dragging{cursor:grabbing}.editor-table tbody tr.scenario-row-dragging>td{opacity:.55}.editor-table tbody tr.scenario-row-drop-before>td{box-shadow:inset 0 3px var(--scenario-drop-line)}.editor-table tbody tr.scenario-row-drop-after>td{box-shadow:inset 0 -3px var(--scenario-drop-line)}.editor-table .editor-order-cell{width:30px;color:var(--scenario-ink-muted);font-weight:500;padding:0;text-align:center;vertical-align:middle;background:var(--scenario-order-cell);font-size:12px}.editor-order-cell>span{display:block;padding:6px 0}.editor-header-cell{display:flex;align-items:center;justify-content:center;gap:6px;min-height:18px}.editor-header-cell>span{flex:1 1 auto;text-align:center}.editor-column-resizer{position:relative;align-self:stretch;flex:0 0 auto;width:12px;padding:0;border:0;border-radius:999px;background:transparent;color:transparent;cursor:col-resize;min-height:0}.editor-column-resizer:before{position:absolute;top:2px;right:5px;bottom:2px;left:5px;border-radius:999px;background:var(--scenario-resizer);content:""}.editor-column-resizer:hover:before,.editor-column-resizer:focus-visible:before{background:var(--scenario-resizer-active)}.editor-block-type-cell,.editor-text-cell,.editor-file-cell,.editor-comment-cell{min-width:0;padding:0}.editor-block-cell-shell{align-content:start;display:grid;min-height:100%;padding:8px;gap:8px;background:transparent}.editor-block-type-select{width:100%;background-position:right 10px center;background-repeat:no-repeat;background-size:10px;color:var(--editor-block-color, var(--scenario-block-podvodka));font-size:12px;line-height:1.2;-moz-appearance:none;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23596273' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");min-height:30px;border:1px solid var(--color-line-soft);border-radius:5px;background-color:var(--color-paper);font-weight:600;padding:4px 24px 4px 7px}.editor-block-type-select-zk,.editor-add-block-button-zk{--editor-block-color: var(--scenario-block-zk)}.editor-block-type-select-zk_geo,.editor-add-block-button-zk_geo{--editor-block-color: var(--scenario-block-zk-geo)}.editor-block-type-select-snh,.editor-add-block-button-snh{--editor-block-color: var(--scenario-block-snh)}.editor-block-type-select-life,.editor-add-block-button-life{--editor-block-color: var(--scenario-block-life)}.editor-block-type-select-podvodka,.editor-add-block-button-podvodka{--editor-block-color: var(--scenario-block-podvodka)}.editor-block-type-select:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px;box-shadow:inset 0 0 0 1px var(--scenario-native-focus)}.editor-block-cell-actions{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px}.editor-row-action.MuiIconButton-root{min-width:24px;padding:0;background:var(--color-paper);font-size:11px;font-weight:700;line-height:1;width:24px;height:26px;min-height:26px;border:1px solid var(--color-line-soft);border-radius:4px;display:inline-flex;align-items:center;justify-content:center;color:var(--color-ink-muted)}.editor-row-drag-handle{cursor:grab;touch-action:none}.editor-row-drag-handle:active{cursor:grabbing}.editor-row-action:hover:not(:disabled),.editor-row-action:focus-visible{border-color:var(--color-line-action);background:var(--color-action-soft);color:var(--color-action)}.editor-row-action:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}.editor-row-action-danger.MuiIconButton-root{color:var(--color-danger)}.editor-block-shell,.editor-tech-shell,.editor-text-flow{display:block;min-height:100%;background:var(--color-paper)}.editor-text-flow,.structured-editor{display:grid;gap:0}.editor-cell-textarea,.structured-editor-line,.structured-editor-text{position:relative;min-height:0;padding:6px 10px;border:0;border-radius:0;background:var(--color-paper)}.structured-editor-line,.structured-editor-text{padding-top:3px;padding-bottom:3px}.structured-editor-line-emphasis{font-size:16px}.structured-editor-line+.structured-editor-line,.structured-editor-line+.structured-editor-text{border-top:1px solid var(--color-line-soft)}.rich-text-field{position:relative;display:block;width:100%;min-width:0;overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap;line-height:1.45;cursor:text;scroll-margin-top:240px}.rich-text-field[data-empty=true]:before{position:absolute;top:0;right:0;bottom:0;left:0;padding:inherit;color:var(--color-ink-muted);content:attr(data-placeholder);pointer-events:none;white-space:pre-wrap}.editor-core-field .editor-core-content,.editor-core-field .ProseMirror{min-height:calc(1.45em + 2px);overflow-wrap:anywhere;outline:none;word-break:break-word;white-space:pre-wrap;cursor:text}.editor-core-field .ProseMirror p{margin:0}.editor-core-field .ProseMirror p+p{margin-top:.2em}.editor-cell-input,.editor-cell-textarea{width:100%;border:0;border-radius:0;background:var(--color-paper);color:var(--scenario-ink-strong);box-shadow:none}.editor-cell-input:focus,.editor-cell-textarea:focus,.editor-cell-textarea:focus-within,.structured-editor:focus-within{outline:none;box-shadow:inset 0 0 0 1px var(--scenario-grid-line)}.editor-cell-textarea{min-height:0;padding:6px 10px;resize:none;overflow:hidden}.editor-file-stack{display:grid;border:0;overflow:hidden;padding:8px;gap:5px;background:transparent}.editor-file-bundle{display:grid;background:transparent;gap:4px;padding:0 0 5px}.editor-file-bundle+.editor-file-bundle{border-top:1px solid var(--scenario-grid-line-soft);padding-top:7px}.editor-file-bundle-fields{display:grid;gap:4px}.editor-file-bundle-row{display:grid;grid-template-columns:1fr;min-height:0;padding:0;align-items:center}.editor-file-bundle-primary-row{position:relative;padding-right:28px}.editor-file-bundle-timecodes-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;padding-right:28px}.editor-file-bundle-input-wrap{display:grid;gap:3px;min-width:0}.editor-file-bundle-row .editor-cell-input{width:100%;font:inherit;line-height:1.45;border:1px solid var(--scenario-control-line);border-radius:4px;padding:4px 7px;min-height:28px;background:var(--color-paper);font-size:12px;font-weight:400}.editor-file-bundle-timecodes-row .editor-cell-input{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-variant-numeric:tabular-nums;font-size:12px;height:26px;min-height:26px;padding:3px 4px;text-align:center}.editor-cell-input.input-invalid{color:var(--color-danger)}.editor-field-error{color:var(--color-danger);font-size:11px;line-height:1.3}.editor-file-bundle-remove.MuiIconButton-root{position:absolute;inset:0 0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:0;padding:0;border:0;color:var(--scenario-ink-muted);width:24px;height:26px;border-radius:4px;background:transparent}.editor-file-bundle-draft .editor-cell-input{border:1px dashed var(--scenario-draft-line);background:transparent;padding:4px 7px;min-height:26px}.editor-toolbar-sticky{position:sticky;top:75px;z-index:25;min-width:0}.editor-toolbar-card{border:1px solid var(--color-line);border-bottom:0;border-radius:8px 8px 0 0;background:var(--color-paper);padding:6px 12px}.editor-toolbar-actions{display:flex;align-items:center;flex-wrap:wrap;min-width:0;gap:10px}.scenario-search-entry-points{display:flex;flex:0 0 auto;gap:6px}.scenario-search-panel{display:grid;grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) auto auto auto auto;gap:8px;align-items:end;margin-top:7px;padding-top:8px;border-top:1px solid var(--scenario-grid-line-muted)}.scenario-search-field{min-width:0}.scenario-search-field .MuiInputBase-root{width:100%;min-width:0;min-height:32px}.scenario-search-field .MuiInputLabel-root{color:var(--scenario-control-ink);font-size:12px;font-weight:650}.scenario-search-navigation,.scenario-search-replace-actions{display:flex;align-items:center;gap:4px}.scenario-search-navigation button,.scenario-search-replace-actions button,.scenario-search-close{min-height:32px;white-space:nowrap}.scenario-search-navigation button,.scenario-search-close{min-width:32px;padding-inline:8px}.scenario-search-count{min-width:52px;color:var(--scenario-control-ink);font-variant-numeric:tabular-nums;text-align:center;white-space:nowrap}.scenario-search-case{display:inline-flex;align-items:center;min-height:32px;gap:6px;color:var(--scenario-control-ink);font-size:12px;font-weight:600;white-space:nowrap}.scenario-search-case .MuiFormControlLabel-label{color:var(--scenario-control-ink);font-size:12px;font-weight:600}.editor-table-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;flex:1 1 auto}.editor-docx-export-button{flex:0 0 auto;min-height:32px;margin-left:auto;white-space:nowrap;width:124px}.editor-docx-export-error{margin:7px 0 0}.editor-add-block-buttons{display:flex;flex-wrap:wrap;gap:4px}.editor-add-block-button.MuiButton-root{min-width:0;font-size:12px;border-radius:5px;min-height:32px;padding:4px 8px;font-weight:400;background:color-mix(in srgb,var(--editor-block-color) 9%,var(--color-paper));color:var(--editor-block-color);border:1px solid color-mix(in srgb,var(--editor-block-color) 25%,var(--color-paper))}.editor-format-toolbar{display:block;border-top:1px solid var(--scenario-grid-line-muted);margin-top:6px;padding-top:6px}.editor-format-toolbar-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin:0 0 0 auto;white-space:nowrap}.editor-format-toolbar-row-inline{display:flex;align-items:center;flex-wrap:nowrap;overflow-x:auto;gap:10px}.editor-format-inline-group,.editor-format-buttons,.editor-color-palette{display:inline-flex;align-items:center;gap:4px}.editor-format-inline-label{color:var(--scenario-control-ink);font-size:12px;font-weight:600}.editor-format-font-select{min-width:148px;min-height:30px;padding:4px 6px;border:1px solid var(--color-line);border-radius:5px;background:var(--color-paper);color:var(--color-ink);font-family:var(--font-ui);font-size:12px}.editor-color-swatch.MuiIconButton-root{padding:0;position:relative;border:1px solid transparent;background:transparent}.editor-color-swatch[aria-pressed=true]{border-color:var(--color-focus);box-shadow:none;background:var(--color-action-soft)}.scenario-conflict{padding:20px;border:1px solid var(--scenario-conflict-line);border-radius:10px;background:var(--scenario-conflict-surface);outline:2px solid transparent}.scenario-conflict:focus-visible{outline-color:var(--color-focus);outline-offset:3px}.scenario-conflict:focus-visible,.scenario-conflict-versions ol:focus-visible{outline:3px solid var(--color-focus);outline-offset:2px}.scenario-conflict h3,.scenario-conflict h4{margin-top:0}.scenario-conflict-versions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.scenario-conflict-versions>section{min-width:0;padding:14px;border:1px solid var(--color-line);border-radius:8px;background:var(--color-paper)}.scenario-conflict-versions ol{max-height:240px;margin-bottom:0;overflow:auto;overflow-wrap:anywhere;overscroll-behavior:contain;scrollbar-gutter:stable}.scenario-conflict-actions{display:flex;flex-wrap:wrap;gap:8px}@media (max-width: 900px){.scenario-editor-heading{align-items:flex-start;flex-direction:column}.scenario-autosave{text-align:left}.workflow-summary dl,.editor-table-header-panel,.scenario-conflict-versions{grid-template-columns:1fr}}@media (max-width: 1050px){.editor-toolbar-sticky{top:12px}}.scenario-default-font-control{display:flex;align-items:center;justify-self:start;margin:0;border-radius:var(--radius-small);padding:0;border:0;background:transparent;font-size:12px;font-weight:400;color:var(--color-ink-muted);gap:7px}.story-scenario-panel.story-tab-panel{padding:0;border:0;background:transparent;box-shadow:none}.scenario-workflow-strip{padding:8px 0 12px}.scenario-access-bar{display:flex;align-items:center;gap:12px;border:1px solid var(--color-line);border-radius:8px;background:var(--scenario-access-surface);min-height:48px;padding:9px 12px}.scenario-access-bar.is-editing{background:var(--scenario-access-active);border-color:var(--scenario-access-active-line)}.scenario-access-description{flex:1;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}.scenario-access-description strong{font-size:13px;font-weight:600;color:var(--color-action-strong)}.scenario-access-description>span{color:var(--color-ink-muted);font-size:12px}.scenario-access-description .scenario-lease-notice{margin:0;padding:0;border:0;background:transparent;flex-basis:100%}.scenario-access-bar .scenario-autosave{min-width:0;flex:0 1 150px;font-size:12px}.scenario-access-bar .scenario-tools-toggle.MuiButton-root{flex:0 0 auto;min-width:0;padding:4px 6px;font-size:12px;white-space:nowrap}.scenario-tools-toggle:before{content:"▸";margin-right:5px}.scenario-tools-toggle[aria-expanded=true]:before{content:"▾"}.scenario-access-bar .MuiFormControlLabel-root{margin:0;flex:0 0 auto;flex-direction:row-reverse}.scenario-access-bar .MuiFormControlLabel-label{font-size:12px}.scenario-access-bar:has(+.editor-toolbar-sticky){border-bottom:0;border-radius:8px 8px 0 0}.scenario-access-bar+.editor-toolbar-sticky .editor-toolbar-card{border-radius:0}.editor-toolbar-actions .MuiButton-root,.editor-format-toolbar .MuiButton-root{min-height:30px;padding:4px 8px;font-size:12px;font-weight:400}.scenario-history-controls .MuiIconButton-root{width:30px;height:30px;padding:0;font-size:22px;line-height:1}.editor-format-buttons .MuiIconButton-root{min-height:30px;min-width:30px;padding:4px 8px;font-size:13px}.editor-delete-selected.MuiButton-root{flex:0 0 auto;white-space:nowrap;border:0;border-left:1px solid var(--color-line-soft);border-radius:0;color:var(--color-ink-muted);display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:4px 8px;background:transparent;font-size:12px;font-weight:400}.editor-add-block-button.MuiButton-root:hover:not(:disabled){filter:brightness(.97)}@media (max-width: 900px){.scenario-access-bar{flex-wrap:wrap}.scenario-access-description{flex-basis:100%}.scenario-access-bar .scenario-autosave{margin-left:auto}.editor-toolbar-actions{gap:8px}.editor-table-toolbar{flex-basis:100%}.scenario-default-font-control{flex-wrap:wrap}}.editor-table td{height:84px}.editor-block-type-cell{background:var(--scenario-order-cell)}.editor-row-action svg{width:13px;height:13px}.editor-file-bundle-input-wrap-left,.editor-file-bundle-input-wrap-right{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px}.editor-timecode-label{font-size:11px;color:var(--scenario-ink-subtle)}.editor-file-bundle-input-wrap .editor-field-error{grid-column:1 / -1}.scenario-history-controls,.scenario-search-entry-points,.editor-add-block-buttons{padding-right:10px;border-right:1px solid var(--color-line-soft)}.scenario-default-font-options{display:flex;padding:2px;gap:2px;border:1px solid var(--color-line-soft);border-radius:5px;background:var(--scenario-toolbar-surface)}.scenario-default-font-options button{border:0;border-radius:3px;min-height:27px;padding:3px 7px;font-size:12px;font-weight:400;white-space:nowrap;background:transparent;color:var(--color-ink-muted)}.scenario-default-font-options button[aria-pressed=true]{background:var(--color-paper);color:var(--color-action);box-shadow:var(--scenario-toggle-shadow);font-weight:600}.editor-color-swatch>span{position:absolute;top:50%;left:50%;width:18px;height:18px;border:1px solid var(--scenario-font-toggle-line);border-radius:50%;transform:translate(-50%,-50%)}.editor-palette-label{color:var(--color-ink-muted);font-size:12px;padding-right:3px}.editor-format-toolbar button[aria-pressed=true]{background:var(--color-action-soft);color:var(--color-action);border-color:var(--scenario-font-toggle-active-line)}.editor-table tbody tr.selected-row .editor-order-cell{background:var(--color-action-soft);box-shadow:inset 3px 0 var(--color-action);color:var(--color-action)}.scenario-icon{flex-shrink:0;vertical-align:middle}.editor-toolbar-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.scenario-access-bar>.scenario-icon{color:var(--color-action);width:20px;height:20px}.editor-quiet-button{min-height:32px;padding:4px 8px;border:1px solid transparent;background:transparent;color:var(--color-ink);font-size:12px;font-weight:400}.scenario-access-bar.is-busy{background:var(--color-warning-soft);border-color:var(--color-line-warning)}.scenario-access-bar.has-error{background:var(--color-danger-soft);border-color:var(--color-line-danger)}.scenario-access-bar.is-busy .scenario-access-description strong,.scenario-access-bar.is-busy>.scenario-icon{color:var(--color-warning)}.scenario-access-bar.has-error .scenario-access-description strong,.scenario-access-bar.has-error>.scenario-icon{color:var(--color-danger)}.history-panel{display:grid;gap:14px;padding:0;border:0;background:transparent}.history-load-error{display:grid;justify-items:start;gap:8px}.history-load-error p,.history-panel-head h3,.history-panel-head p{margin:0}.history-panel-head p{margin-top:4px}.history-timeline{position:relative;display:grid;gap:10px;padding-left:26px}.history-timeline-line{position:absolute;top:12px;bottom:18px;left:8px;width:2px;background:var(--color-line-soft)}.history-session{position:relative;display:grid;gap:10px;padding:14px;border:1px solid var(--color-line-soft);border-radius:var(--radius-medium);background:var(--color-paper);box-shadow:var(--shadow-surface)}.history-session-marker{position:absolute;top:22px;left:-25px;width:14px;height:14px;border:3px solid var(--color-paper);border-radius:50%;background:var(--color-action-strong);box-shadow:0 0 0 1px var(--color-action-strong)}.history-session-head,.history-session-actions,.history-diff-row-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-session-head h3,.history-session-head p,.history-diff h4,.history-diff-text p{margin:0}.history-session-summary{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0;color:var(--color-ink-muted);font-size:12px}.history-event{gap:4px;padding:10px 14px;box-shadow:none}.history-event .history-session-head>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 16px;min-width:0}.history-event .history-session-head h3{font-size:14px;line-height:20px}.history-event .history-session-marker{top:15px;background:var(--color-ink-muted);box-shadow:0 0 0 1px var(--color-line)}.history-event-summary{margin:0;color:var(--color-ink);line-height:1.5;font-size:13px}.history-session-actions{justify-content:flex-start;flex-wrap:wrap}.history-diff{display:grid;gap:10px;padding-top:12px;border-top:1px solid var(--color-line-soft)}.history-diff-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.history-diff-state-range{color:var(--color-ink-muted);font-size:12px;font-weight:600}.history-diff-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.history-diff-row{display:grid;gap:8px;padding:10px 12px;border-left:3px solid var(--color-action);background:var(--color-paper)}.history-diff-row-added{border-left-color:var(--color-success)}.history-diff-row-removed{border-left-color:var(--color-danger)}.history-diff-moved{color:var(--color-ink-muted);font-size:12px}.history-diff-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.history-diff-text{display:grid;gap:3px;min-width:0}.history-diff-field{display:grid;gap:6px}.history-diff-field>strong{font-size:13px}.history-diff-label{color:var(--color-ink-muted);font-size:12px;font-weight:600}.history-diff-text p{min-height:38px;padding:8px;border:1px solid var(--color-line-soft);border-radius:var(--radius-small);white-space:pre-wrap;overflow-wrap:anywhere}.history-load-more{justify-self:start}@media (max-width: 700px){.history-session-head,.history-diff-head,.history-diff-row-heading{align-items:flex-start;flex-direction:column}.history-diff-columns{grid-template-columns:1fr}}.history-diff-legend{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12px}.history-diff-removed-text{color:var(--color-danger);background:var(--color-danger-soft);text-decoration:line-through;text-decoration-thickness:1.5px}.history-diff-added-text{color:var(--color-success);background:var(--color-success-soft);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:2px}.history-format-change{display:grid;gap:4px;padding:8px 10px;border-left:3px solid var(--color-action);background:var(--color-action-soft);color:var(--color-ink);font-size:12px}.history-restore-notice{margin:0;padding:12px;border:1px solid var(--color-line-soft);border-radius:var(--radius-medium);background:var(--color-success-soft);color:var(--color-success)}.production-panel{display:grid;gap:14px;padding:0;border:0;background:transparent}.production-content-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:18px;align-items:start}.production-main-column,.production-side-column{display:grid;gap:12px;min-width:0}.production-section{min-width:0;padding:18px 20px;border:1px solid var(--color-line-soft);border-radius:var(--radius-medium);background:var(--color-paper);box-shadow:var(--shadow-surface)}.production-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.production-section-head h3{font-size:15px;line-height:1.5}.production-section-head h3,.production-section-head p,.production-empty,.production-inline-error,.production-load-error p,.production-scenario-update span{margin:0}.production-section-head .small{margin-top:2px;font-size:11px}.production-stages{padding:14px 20px;border:1px solid var(--color-line-soft);border-radius:var(--radius-medium);background:var(--color-paper)}.production-stage-list{display:flex;margin:0;padding:0;list-style:none}.production-stage{flex:1;min-width:0;display:flex;gap:12px;padding:0 20px;border-left:1px solid var(--color-line-soft)}.production-stage-copy{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;align-items:center;gap:8px 12px}.production-stage-summary{min-width:0;overflow-wrap:anywhere}.production-stage:first-child{padding-left:0;border-left:0}.production-stage:last-child{padding-right:0}.production-stage strong{font-size:13px;font-weight:600}.production-stage p{margin:4px 0 0;font-size:11px;color:var(--color-ink-muted);line-height:1.5}.production-stage-indicator{padding-top:1px;color:var(--color-ink-muted);font-size:18px}.production-stage-ready .production-stage-indicator,.production-stage-approved .production-stage-indicator,.production-stage-accepted .production-stage-indicator{color:var(--color-success)}.production-stage-in_progress .production-stage-indicator,.production-stage-available .production-stage-indicator{color:var(--color-action)}.production-actions{min-width:0;max-width:620px}.production-header-controls,.production-action-buttons{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:end}.production-actions.is-contextual{max-width:190px}.production-actions.is-contextual .production-action-buttons{justify-content:start}.production-action-group{display:flex;align-items:center;min-width:0;max-width:100%}.production-action-group .MuiButton-root{white-space:normal;overflow-wrap:anywhere}.production-material-form{display:grid;gap:14px}.production-assignment-list{display:grid;gap:8px}.production-assignment{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;align-items:center}.production-assignment-label{font-size:12px;color:var(--color-ink-muted)}.production-assignment .MuiInputBase-root{min-height:34px;font-size:12px}.production-assignment .MuiOutlinedInput-root .MuiAutocomplete-input{padding:3px 4px}.production-material-list{display:grid;gap:0;margin:0;padding:0;list-style:none}.production-material-list li{display:grid;gap:5px;padding:12px 0;border-top:1px solid var(--color-line-soft)}.production-material-list li:first-child{padding-top:0;border-top:0}.production-material-list li:last-child{padding-bottom:0}.production-material-copy{display:grid;gap:4px;min-width:0}.production-material-copy strong{font-size:12px;font-weight:600}.production-material-location-value{overflow-wrap:anywhere;color:var(--color-ink-muted);font-size:12px}a.production-material-location-value{color:var(--color-action-strong);text-decoration:underline;text-underline-offset:3px}.production-material-copy-actions{display:flex;align-items:center;flex-wrap:wrap;gap:2px 6px}.production-material-copy-actions>span,.production-material-copy-feedback{color:var(--color-ink-muted);font-size:12px}.production-material-copy-actions .MuiButton-root{min-width:0;min-height:28px;padding:3px 6px;font-size:12px}.production-material-copy-actions .MuiButton-root[aria-disabled=true]{opacity:.6;cursor:progress}.production-material-copy-fallback .MuiAlert-message{display:grid;width:100%;gap:8px}.production-material-list small{color:var(--color-ink-muted);font-size:10px}.production-count,.production-binary-state{flex:0 0 auto;padding:3px 8px;border:1px solid var(--color-line-soft);border-radius:5px;color:var(--color-ink-muted);font-size:11px}.production-empty{font-size:12px;color:var(--color-ink-muted);line-height:1.5}.production-refresh-warning{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--color-line-warning);border-radius:var(--radius-medium);background:var(--color-warning-soft);color:var(--color-warning)}.production-scenario-update{display:flex;gap:8px 14px;align-items:baseline;padding:11px 14px;border-left:3px solid var(--color-warning);background:var(--color-warning-soft);color:var(--color-warning);font-size:12px}.production-load-error{display:grid;justify-items:start;gap:8px}@media (max-width: 760px){.production-content-grid{grid-template-columns:1fr}.production-stage-list{display:grid;gap:14px}.production-stage{padding:0;border:0}.production-scenario-update{align-items:start;flex-direction:column}}.production-voiceover-state{margin-left:10px;font-size:11px;color:var(--color-ink-muted)}.correction-packages{display:grid;gap:12px}.correction-package-create-only{display:flex;align-items:center}.correction-packages-head{margin-bottom:0}.correction-package-list{display:grid;gap:10px}.correction-package-card{display:grid;gap:10px;padding:12px 14px;border:1px solid var(--color-line-soft);border-left:3px solid var(--color-action);border-radius:var(--radius-medium);background:var(--color-paper)}.correction-package-card.is-closed{border-left-color:var(--color-ink-muted);background:var(--color-paper-muted)}.correction-package-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.correction-package-card-head h4,.correction-package-card-head p,.correction-package-closed-meta{margin:0}.correction-package-card-head h4{margin:1px 0 2px;color:var(--color-action-strong);font-size:14px}.correction-package-card-head p,.correction-package-closed-meta,.correction-part-meta{color:var(--color-ink-muted);font-size:12px}.correction-package-source{color:var(--color-action);font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.correction-package-state{flex:0 1 auto;max-width:320px}.correction-package-state .MuiChip-label{overflow:visible;white-space:normal;text-align:center}.correction-part-list{display:grid;gap:0;margin:0;padding:0;list-style:none}.correction-part{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.65fr);gap:12px;padding:8px 0;border-top:1px solid var(--color-line-soft)}.correction-part-copy,.correction-part-meta{display:grid;gap:3px;min-width:0}.correction-part-copy strong{overflow-wrap:anywhere}.correction-part-scope{color:var(--color-action);font-size:12px;font-weight:600}.correction-package-actions,.correction-return-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.correction-return-panel .MuiAlert-message{width:100%}.correction-return-form{display:grid;gap:10px}.correction-load-error .MuiAlert-message{min-width:0;overflow-wrap:anywhere}.correction-dialog-title{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-right:16px}.correction-dialog-title .MuiDialogTitle-root{flex:1 1 auto}.correction-dialog-form{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}.correction-dialog-feedback.MuiAlert-root{flex:0 0 auto;margin:0 24px 8px}.correction-dialog-fields{display:grid;gap:18px}.correction-dialog-fields-top{display:grid;grid-template-columns:minmax(0,200px) minmax(0,1fr);gap:16px}.correction-dialog-hint{margin:7px 0 12px;color:var(--color-ink-muted);font-size:12px}.correction-dialog-parts{display:grid}.correction-dialog-part{position:relative;min-width:0;margin:0;padding:0 0 16px;border:0;border-bottom:1px solid var(--color-line-soft)}.correction-dialog-part+.correction-dialog-part{padding-top:16px}.correction-dialog-part legend{display:block;width:100%;margin-bottom:13px;padding:0;color:var(--color-ink);font-size:14px;font-weight:600}.correction-dialog-part>.correction-dialog-remove.MuiButton-root{position:absolute;top:-7px;right:0}.correction-dialog-part+.correction-dialog-part>.correction-dialog-remove.MuiButton-root{top:9px}.correction-dialog-add.MuiButton-root{margin-top:12px}@media (max-width: 720px){.correction-package-card-head{align-items:stretch;flex-direction:column}.correction-package-state{max-width:none}.correction-part,.correction-dialog-fields-top{grid-template-columns:1fr}}.external-approval-cycles{scroll-margin-top:1rem}.external-approval-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.external-approval-cycle{padding:12px 14px;border:1px solid var(--color-line-soft);border-radius:var(--radius-medium);background:var(--color-paper)}.external-approval-cycle-head,.external-approval-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.external-approval-cycle p{margin:3px 0;color:var(--color-ink-muted);font-size:12px}.external-approval-actions{justify-content:flex-start;margin-top:.75rem}.attention-queue{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;min-height:76px;padding:10px 20px;border:1px solid var(--color-line-soft);border-radius:var(--radius-medium);background:var(--color-paper-muted);box-shadow:var(--shadow-control)}.attention-queue-heading{display:grid;align-content:center;justify-content:start;gap:2px}.attention-queue-heading h3{margin:0;font-size:14px}.attention-queue-controls{display:flex;align-items:center;gap:8px}.attention-queue-controls>span{color:var(--color-ink-muted);font-size:12px}.attention-queue-controls .MuiButton-root{min-height:24px;padding:2px 4px;font-size:13px}.attention-queue-message{margin:0;color:var(--color-ink-muted);font-size:12px}.attention-queue-error{color:var(--color-danger)}.attention-queue ul,.notification-list,.notification-diff ul{margin:0;padding:0;list-style:none}.attention-queue ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.attention-queue li{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:4px 12px;align-items:center;min-height:46px;padding:0 20px;border-left:1px solid var(--color-line-soft);min-width:0}.attention-priority{grid-column:1;color:var(--color-ink-muted);font-size:10px;font-weight:600}.attention-priority-high{color:var(--color-coral-ink)}.attention-copy{grid-column:1;display:grid;gap:1px;min-width:0}.attention-copy strong{font-size:13px;font-weight:550}.attention-copy small{display:-webkit-box;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;color:var(--color-ink-muted);line-height:1.4}.attention-copy strong,.attention-copy small{overflow-wrap:anywhere}.attention-queue a,.notification-actions a,.notification-diff a{color:var(--color-action-strong);font-weight:600}.attention-queue li>a{grid-column:2;grid-row:1 / span 2;align-self:center;text-decoration:none;font-size:13px;overflow-wrap:anywhere}.attention-queue li>a:after{content:"  →"}.notification-tray-wrap{position:relative}.notification-tray-toggle.MuiButton-root{gap:6px;min-height:36px;color:var(--color-ink)}.notification-tray-toggle .MuiBadge-root{display:inline-flex;align-items:center;gap:4px}.notification-tray-toggle .MuiBadge-badge{position:static;min-width:18px;height:18px;padding:0 5px;font-size:11px;line-height:18px;transform:none}.notification-tray-toggle .MuiBadge-badge.MuiBadge-invisible{display:none}.notification-tray-popover.MuiPopover-root{pointer-events:none}.notification-tray.MuiPopover-paper{pointer-events:auto;width:min(460px,calc(100vw - 32px));max-height:calc(100vh - 90px);overflow:auto}.notification-tray>header{display:flex;align-items:center;gap:8px;min-height:56px;padding:10px 16px;border-bottom:1px solid var(--color-line-soft);background:var(--color-paper-muted)}.notification-tray h2{margin:0;font-size:17px}.notification-header-count{padding:3px 7px;border-radius:var(--radius-small);background:var(--color-action-soft);color:var(--color-action-strong);font-size:12px}.notification-close.MuiIconButton-root{width:28px;height:28px;margin-left:auto;font-size:22px}.notification-state,.notification-load-error{margin:0;padding:20px;font-size:13px}.notification-load-error.MuiAlert-root{margin:12px}.notification-story,.notification-diff-meta{color:var(--color-ink-muted);font-size:13px}.notification-diff-meta,.notification-diff-font{margin:0}.notification-list{display:grid}.notification-error.MuiAlert-root{margin:10px 16px}.notification-item{display:grid;grid-template-columns:8px minmax(0,1fr) 32px;gap:10px;padding:12px 16px;border-bottom:1px solid var(--color-line-soft);min-width:0}.notification-item:last-child{border-bottom:0}.notification-unread-dot{width:8px;height:8px;margin-top:5px;border-radius:50%;background:var(--color-action)}.notification-item-main{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}.notification-item-main>strong{font-size:14px;font-weight:600;line-height:1.35}.notification-meta{color:var(--color-ink-muted);font-size:12px}.notification-summary{margin:2px 0 0;color:var(--color-ink-muted);font-size:12px;line-height:1.4}.notification-item>span:last-child{align-self:start}.notification-mark-read.MuiIconButton-root{width:32px;height:32px;font-size:15px}.notification-diff-toggle.MuiButton-root{min-height:24px;padding:0;font-size:13px}.notification-diff-content{display:grid;gap:6px;margin-top:12px}.notification-diff-toggle:before{content:"▸";display:inline-block;margin-right:5px}.notification-diff-toggle[aria-expanded=true]:before{content:"▾"}.notification-diff ul{display:grid;gap:6px;margin:8px 0 10px}.notification-diff-change{display:grid;gap:4px;padding:8px;border-radius:var(--radius-small);background:var(--color-action-soft);font-size:13px}.notification-diff-change>strong{font-size:12px}.notification-diff-field{display:grid;gap:4px;min-width:0}.notification-diff-field-label,.notification-diff-format-detail{color:var(--color-ink-muted);font-size:12px}.notification-diff-format{font-weight:600}.notification-diff-before,.notification-diff-after{padding:5px 8px;border-radius:var(--radius-small);text-decoration:none;overflow-wrap:anywhere}.notification-diff-before{color:var(--color-danger);background:var(--color-danger-soft)}.notification-diff-after{color:var(--color-success);background:var(--color-success-soft)}.notification-actions{display:flex;flex-wrap:wrap;gap:12px;font-size:13px;margin-top:6px}.notification-actions a{text-decoration:none}.notification-diff-content>a{font-size:13px;text-decoration:none}@media (max-width: 900px){.attention-queue,.attention-queue ul{grid-template-columns:1fr}.attention-queue li{border-top:1px solid var(--color-line-soft);border-left:0;padding:8px 0}}.admin-users-manager{display:grid;gap:12px}.admin-users-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-users-table-wrap{overflow-x:auto;border:1px solid var(--color-line-soft);border-radius:var(--radius-medium);background:var(--color-paper);box-shadow:var(--shadow-surface)}.admin-users-table{width:100%;min-width:1040px;border-collapse:collapse}.admin-users-table th,.admin-users-table td{padding:8px 11px;border-bottom:1px solid var(--color-line-soft);text-align:left;vertical-align:top}.admin-users-table th{color:var(--color-ink-muted);font-size:12px;background:var(--color-paper-muted);font-weight:550}.admin-users-table td{font-size:13px}.admin-users-table tr[data-current-user=true] td:first-child{font-weight:650}.admin-user-actions{display:flex;flex-wrap:wrap;gap:2px 10px}.admin-user-actions .MuiButton-root{min-height:30px;padding:3px 6px;min-width:0}.admin-dialog-form{display:contents}.admin-dialog-subtitle{margin:0}.admin-dialog-content{display:grid;gap:16px}.admin-function-options{gap:8px}.admin-function-options-grid.MuiFormGroup-root{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.admin-load-error{display:flex;align-items:center;gap:12px}.admin-page-heading h2{margin:0 0 6px;font-size:22px}.admin-page-heading p{margin:0;font-size:13px}
